From daniel at daniel.com.uy Fri Jun 20 03:20:16 2008 From: daniel at daniel.com.uy (Daniel Morales) Date: Thu, 19 Jun 2008 22:20:16 -0300 Subject: [Thunar-dev] Thunar plugins improvement Message-ID: <485B05D0.9010706@daniel.com.uy> Hello Thunar people. :) I'm working in a thunar plugin, and one thing i found it would be nice to have at the plugins API is the possibility to add & remove emblems to folders/files. There is some plans to add it in the future? I was looking across thunar code, and i found all metadata related to emblems at thunar/ (not vfs or thunarx), so is pretty difficult to implement, right? Regards, Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://foo-projects.org/pipermail/thunar-dev/attachments/20080619/56301add/signature.bin From benny at xfce.org Fri Jun 20 09:16:29 2008 From: benny at xfce.org (Benedikt Meurer) Date: Fri, 20 Jun 2008 09:16:29 +0200 Subject: [Thunar-dev] Thunar plugins improvement In-Reply-To: <485B05D0.9010706@daniel.com.uy> References: <485B05D0.9010706@daniel.com.uy> Message-ID: <485B594D.3020307@xfce.org> Daniel Morales wrote: > Hello Thunar people. :) > > I'm working in a thunar plugin, and one thing i found it would be nice > to have at the plugins API is the possibility to add & remove emblems to > folders/files. > > There is some plans to add it in the future? > > I was looking across thunar code, and i found all metadata related to > emblems at thunar/ (not vfs or thunarx), so is pretty difficult to > implement, right? Not possible currently; but could be added to thunarx. > Regards, > Daniel Benedikt -- Xfce -- small, stable, fast -- http://www.xfce.org/ (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"... From E.R.M.Davidson at sms.ed.ac.uk Fri Jun 20 10:52:41 2008 From: E.R.M.Davidson at sms.ed.ac.uk (Erlend Davidson) Date: Fri, 20 Jun 2008 09:52:41 +0100 Subject: [Thunar-dev] GVfs In-Reply-To: <485B594D.3020307@xfce.org> References: <485B05D0.9010706@daniel.com.uy> <485B594D.3020307@xfce.org> Message-ID: <485B6FD9.1000306@sms.ed.ac.uk> Are there any plans to implement GVfs in Thunar? From nickschermer at gmail.com Fri Jun 20 13:52:43 2008 From: nickschermer at gmail.com (Nick Schermer) Date: Fri, 20 Jun 2008 13:52:43 +0200 Subject: [Thunar-dev] GVfs In-Reply-To: <485B6FD9.1000306@sms.ed.ac.uk> References: <485B05D0.9010706@daniel.com.uy> <485B594D.3020307@xfce.org> <485B6FD9.1000306@sms.ed.ac.uk> Message-ID: <4abe35490806200452w67fd6946jad7ff783d34b3bf6@mail.gmail.com> Benny said in the gsoc discussion on xfce4-dev: > Thunar will use GIO/GVfs, as everything else simply doesn't make sense, > and would be useless duplication of efforts. Of course this is a lot of work, but I guess if someone really wants to work on this, a branch could be created to start with this... Nick 2008/6/20 Erlend Davidson : > Are there any plans to implement GVfs in Thunar? > _______________________________________________ > Thunar-dev mailing list > Thunar-dev at xfce.org > http://foo-projects.org/mailman/listinfo/thunar-dev > From benedikt.meurer at unix-ag.uni-siegen.de Sat Jun 21 14:42:34 2008 From: benedikt.meurer at unix-ag.uni-siegen.de (Benedikt Meurer) Date: Sat, 21 Jun 2008 14:42:34 +0200 Subject: [Thunar-dev] GVfs In-Reply-To: <485B6FD9.1000306@sms.ed.ac.uk> References: <485B05D0.9010706@daniel.com.uy> <485B594D.3020307@xfce.org> <485B6FD9.1000306@sms.ed.ac.uk> Message-ID: <485CF73A.9060408@unix-ag.uni-siegen.de> Erlend Davidson wrote: > Are there any plans to implement GVfs in Thunar? Yes. But that will require quite a lot of rewrites and time is always against us. Benedikt From stephan at xfce.org Sat Jun 21 14:47:26 2008 From: stephan at xfce.org (Stephan Arts) Date: Sat, 21 Jun 2008 14:47:26 +0200 Subject: [Thunar-dev] GVfs In-Reply-To: <485CF73A.9060408@unix-ag.uni-siegen.de> References: <485B05D0.9010706@daniel.com.uy> <485B594D.3020307@xfce.org> <485B6FD9.1000306@sms.ed.ac.uk> <485CF73A.9060408@unix-ag.uni-siegen.de> Message-ID: <74b8614e0806210547r6766ba21ybbe362b61d9b135e@mail.gmail.com> On Sat, Jun 21, 2008 at 2:42 PM, Benedikt Meurer wrote: > Erlend Davidson wrote: >> Are there any plans to implement GVfs in Thunar? > > Yes. But that will require quite a lot of rewrites and time is always > against us. Can't you fix that first? - Here is the bugreport: http://bugzilla.xfce.org/show_bug.cgi?id=3645 - Stephan From ward.romp at gmail.com Tue Jun 24 15:37:30 2008 From: ward.romp at gmail.com (Ward) Date: Tue, 24 Jun 2008 15:37:30 +0200 Subject: [Thunar-dev] Tree_Model and Bugs 2502, 2902, 3602 and 4051 Message-ID: <4860F89A.2030703@gmail.com> Hi, Working with Xfce/Thunar I soon noticed bug 2502 (freezes when hiding switched on). This bug seems to be related to bug 4051, 3602, and 2902. Since I'm pretty new to Thunar and have only limited experience in C, I would like to know whether my understanding of these bugs is correct. As far as I can see browsing through the source code and enabling all debug logs the following goes wrong. All misery starts in 'thunar/thunar_tree_model.c'. It's the model of the model-view combination for the GTK_Tree_View widget that shows the directory tree. When the user activates a node in the tree, the node opens and shows all subnodes within the node. However, each subnode wants to know whether it has at least one subnode itself, because of the nice little triangle it then needs to show. The TreeView widget asks thunar_tree_model whether a node has a subnode. At this moment thunar_tree_model queries the node and creates an iterator for every subnode it finds. However, every iterator contains a file/directory object that wants to be notified of any changes - not only _of_ the directory, but also _in_ the directory. This does cause some problems for a directory like /proc and /dev. Problems worsen because of caching within thunar_tree_model. I'm not sure about this (bit complicated due to the filter on top of the model and the ref_node mechanism that allows caching), but it seems that the file/directory objects are kept alive as long as the thunar_tree_model exists. This also implies that the directory/file objects want to be informed of all changes within each directory (if /proc is shown, a directory object exists for every subdir in /proc and every subdir wants to be informed about every change _within_ that subdir. This add up!!) Unfortunately, we're not there yet. Thunar uses FAM/GAMIN for monitoring the filesystem. FAM/GAMIN uses efficient kernel monitoring to monitor changes to normal mounts (ext2/ext3/reiserfs etc). However, FAM/Gamin falls back to polling on special mount points like /proc, /dev (and SD cards, Fuse mounts etc...) So now Thunar wants be informed about changes to /proc and subdirs and FAM/Gamin polls everything. This is pretty time consuming (many, many files, and even more notifications since many files in /proc change every millisecond). This causes the crashes mentioned in the bug reports. This explains the problems in bug 2502/3602 (crashes/freezes hiding/unhiding) because hiding/unhiding simply involves requerying all nodes. Especially hiding is tricky because all nodes are polled (is it suddenly a hidden file/dir??) It also explains bug 2902 (Thunar slows down browsing larger subdirs). As mentioned there by Jan Rathmann, this behaviour is specific for newer versions of GTK (maybe the new TreeView is more aggressive in obtaining information)? A solution would consists of two steps: 1) Prevent caching too many nodes within thunar_tree_model, preferably prevent creation of these nodes. 2) If possible, prevent poll notifications. This does imply that information might be outdated, but there is a speed/accuracy trade-off. Regards, From benedikt.meurer at unix-ag.uni-siegen.de Tue Jun 24 16:43:15 2008 From: benedikt.meurer at unix-ag.uni-siegen.de (Benedikt Meurer) Date: Tue, 24 Jun 2008 16:43:15 +0200 Subject: [Thunar-dev] Tree_Model and Bugs 2502, 2902, 3602 and 4051 In-Reply-To: <4860F89A.2030703@gmail.com> References: <4860F89A.2030703@gmail.com> Message-ID: <48610803.4010407@unix-ag.uni-siegen.de> Ward wrote: > Hi, > > Working with Xfce/Thunar I soon noticed bug 2502 (freezes when hiding > switched on). This bug seems to be related to bug 4051, 3602, and 2902. > Since I'm pretty new to Thunar and have only limited experience in C, I > would like to know whether my understanding of these bugs is correct. As > far as I can see browsing through the source code and enabling all debug > logs the following goes wrong. > > All misery starts in 'thunar/thunar_tree_model.c'. It's the model of the > model-view combination for the GTK_Tree_View widget that shows the > directory tree. When the user activates a node in the tree, the node > opens and shows all subnodes within the node. However, each subnode > wants to know whether it has at least one subnode itself, because of the > nice little triangle it then needs to show. The TreeView widget asks > thunar_tree_model whether a node has a subnode. At this moment > thunar_tree_model queries the node and creates an iterator for every > subnode it finds. However, every iterator contains a file/directory > object that wants to be notified of any changes - not only _of_ the > directory, but also _in_ the directory. This does cause some problems > for a directory like /proc and /dev. > > Problems worsen because of caching within thunar_tree_model. I'm not > sure about this (bit complicated due to the filter on top of the model > and the ref_node mechanism that allows caching), but it seems that the > file/directory objects are kept alive as long as the thunar_tree_model > exists. This also implies that the directory/file objects want to be > informed of all changes within each directory (if /proc is shown, a > directory object exists for every subdir in /proc and every subdir wants > to be informed about every change _within_ that subdir. This add up!!) > > Unfortunately, we're not there yet. Thunar uses FAM/GAMIN for monitoring > the filesystem. FAM/GAMIN uses efficient kernel monitoring to monitor > changes to normal mounts (ext2/ext3/reiserfs etc). However, FAM/Gamin > falls back to polling on special mount points like /proc, /dev (and SD > cards, Fuse mounts etc...) So now Thunar wants be informed about changes > to /proc and subdirs and FAM/Gamin polls everything. This is pretty time > consuming (many, many files, and even more notifications since many > files in /proc change every millisecond). This causes the crashes > mentioned in the bug reports. > > This explains the problems in bug 2502/3602 (crashes/freezes > hiding/unhiding) because hiding/unhiding simply involves requerying all > nodes. Especially hiding is tricky because all nodes are polled (is it > suddenly a hidden file/dir??) It also explains bug 2902 (Thunar slows > down browsing larger subdirs). As mentioned there by Jan Rathmann, this > behaviour is specific for newer versions of GTK (maybe the new TreeView > is more aggressive in obtaining information)? > > A solution would consists of two steps: > 1) Prevent caching too many nodes within thunar_tree_model, preferably > prevent creation of these nodes. > 2) If possible, prevent poll notifications. This does imply that > information might be outdated, but there is a speed/accuracy trade-off. I'm aware of most of these issues. My preferred solution would be to 'svn remove thunar-tree-*.[ch]' all together, but there are a few people that would complain. So feel free to send patches to address these issues. Looking back... the best solution would probably be to completely disable that "smart on-demand loading", always display triangles in front of folders and trigger on the tree view "expanded" events explicitly. Benedikt From fnd at gmx.net Wed Jun 25 17:07:01 2008 From: fnd at gmx.net (Michael Goth) Date: Wed, 25 Jun 2008 17:07:01 +0200 Subject: [Thunar-dev] Mounting CD-ROMs Message-ID: <48625F15.4020805@gmx.net> Hi! When I plug in a USB drive, I get this icon in the Thunar side pane that lets me mount the drive. This used to work with CD-ROMs also. But since some time now, no icon appears when i put in a CD into the drive. I can still mount it manually on the command line and it still gets detected and mounted in the xfce places plugin. Any ideas what could be wrong here (Thunar, HAL, dbus, ...)? I'm using Thunar from Debian Sid (Thunar 0.9.0) with volume management disabled. Thanks, Michael From benedikt.meurer at unix-ag.uni-siegen.de Wed Jun 25 17:41:08 2008 From: benedikt.meurer at unix-ag.uni-siegen.de (Benedikt Meurer) Date: Wed, 25 Jun 2008 17:41:08 +0200 Subject: [Thunar-dev] Mounting CD-ROMs In-Reply-To: <48625F15.4020805@gmx.net> References: <48625F15.4020805@gmx.net> Message-ID: <48626714.8030907@unix-ag.uni-siegen.de> Michael Goth wrote: > Hi! > > When I plug in a USB drive, I get this icon in the Thunar side pane that > lets me mount the drive. This used to work with CD-ROMs also. But since > some time now, no icon appears when i put in a CD into the drive. I can > still mount it manually on the command line and it still gets detected > and mounted in the xfce places plugin. > > Any ideas what could be wrong here (Thunar, HAL, dbus, ...)? I'm using > Thunar from Debian Sid (Thunar 0.9.0) with volume management disabled. I guess you disabled the hal-addon-storage handling for the device. > Thanks, > Michael Benedikt From fnd at gmx.net Wed Jun 25 17:55:12 2008 From: fnd at gmx.net (Michael Goth) Date: Wed, 25 Jun 2008 17:55:12 +0200 Subject: [Thunar-dev] Mounting CD-ROMs In-Reply-To: <48626714.8030907@unix-ag.uni-siegen.de> References: <48625F15.4020805@gmx.net> <48626714.8030907@unix-ag.uni-siegen.de> Message-ID: <48626A60.8030209@gmx.net> Benedikt Meurer wrote: > Michael Goth wrote: >> Hi! >> >> When I plug in a USB drive, I get this icon in the Thunar side pane that >> lets me mount the drive. This used to work with CD-ROMs also. But since >> some time now, no icon appears when i put in a CD into the drive. I can >> still mount it manually on the command line and it still gets detected >> and mounted in the xfce places plugin. >> >> Any ideas what could be wrong here (Thunar, HAL, dbus, ...)? I'm using >> Thunar from Debian Sid (Thunar 0.9.0) with volume management disabled. > > I guess you disabled the hal-addon-storage handling for the device. But powertop told me to do it! ;) Reenabling it (hal-disable-polling --enable-polling --device /dev/hda) did the trick. I think in this case I'll trade battery runtime for convenience. Thanks! Michael From somebaldguy at gmail.com Thu Jun 26 06:23:04 2008 From: somebaldguy at gmail.com (Adam Norton) Date: Wed, 25 Jun 2008 23:23:04 -0500 Subject: [Thunar-dev] Subversion Message-ID: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> Anyone know if there is or plans for a Thunar plug in that is a subversion client? I am thinking like TortoiseSVN. If fact I am hoping it would be compatible. So that it could be access on both Windows/Linux If one does not exist is there any reason why this would be a bad idea? If its not a bad idea. are there any example plugins I could work with? Also is there a preferred IDE for the xfce/thunar development? Thanks, some bald guy From bjt23 at cornell.edu Thu Jun 26 06:36:47 2008 From: bjt23 at cornell.edu (Brian J. Tarricone) Date: Wed, 25 Jun 2008 21:36:47 -0700 Subject: [Thunar-dev] Subversion In-Reply-To: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> References: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> Message-ID: <20080625213647.4ac055d9@kepler> On Wed, 25 Jun 2008 23:23:04 -0500 Adam Norton wrote: > Anyone know if there is or plans for a Thunar plug in that is a > subversion client? Really? http://www.google.com/search?q=thunar+svn C'mon, at least spend 20 seconds doing your own homework... -b From somebaldguy at gmail.com Thu Jun 26 15:39:11 2008 From: somebaldguy at gmail.com (Adam Norton) Date: Thu, 26 Jun 2008 08:39:11 -0500 Subject: [Thunar-dev] Subversion In-Reply-To: <20080625213647.4ac055d9@kepler> References: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> <20080625213647.4ac055d9@kepler> Message-ID: <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> Yeah really. I searched and I didn't see anything. I did. I searched. I dunno why I didn't find anything. I am not the type of person who doesn't read the manual, read the how tos and try everything first. I did search. Want me to send screen shots on of my browser history? You know being rude isn't a great way to greet someone on thier first post, or any post for that matter. Geez nice to me you too. But thanks for the info. On 6/25/08, Brian J. Tarricone wrote: > On Wed, 25 Jun 2008 23:23:04 -0500 Adam Norton wrote: > > > Anyone know if there is or plans for a Thunar plug in that is a > > subversion client? > > Really? > http://www.google.com/search?q=thunar+svn > > C'mon, at least spend 20 seconds doing your own homework... > > -b > _______________________________________________ > Thunar-dev mailing list > Thunar-dev at xfce.org > http://foo-projects.org/mailman/listinfo/thunar-dev > From E.R.M.Davidson at sms.ed.ac.uk Thu Jun 26 15:50:02 2008 From: E.R.M.Davidson at sms.ed.ac.uk (Erlend Davidson) Date: Thu, 26 Jun 2008 14:50:02 +0100 Subject: [Thunar-dev] Subversion In-Reply-To: <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> References: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> <20080625213647.4ac055d9@kepler> <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> Message-ID: <34D868CD-6AC1-452F-B4EB-5F8D922AAA81@sms.ed.ac.uk> On 26 Jun 2008, at 14:39, Adam Norton wrote: > Yeah really. > I searched and I didn't see anything. > I did. I searched. I dunno why I didn't find anything. > I am not the type of person who doesn't read the manual, > read the how tos and try everything first. I did search. > Want me to send screen shots on of my browser history? > > You know being rude isn't a great way to greet someone on thier first > post, or any post for that matter. Geez nice to me you too. > > But thanks for the info. > What did you search for? I'm asking because perhaps the more important issue here is whether the SVN (subversion) client is easy enough to find that people will realise that it exists. -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. From somebaldguy at gmail.com Thu Jun 26 16:01:44 2008 From: somebaldguy at gmail.com (Adam Norton) Date: Thu, 26 Jun 2008 09:01:44 -0500 Subject: [Thunar-dev] Subversion In-Reply-To: <34D868CD-6AC1-452F-B4EB-5F8D922AAA81@sms.ed.ac.uk> References: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> <20080625213647.4ac055d9@kepler> <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> <34D868CD-6AC1-452F-B4EB-5F8D922AAA81@sms.ed.ac.uk> Message-ID: <47b312710806260701r5017969cxe0810e27dc15f9d1@mail.gmail.com> Looking at the google drop down window.... "SVN" Linux tortoisesvn Linux thunar tortoisesvn xfce svn ... :( geez I searched on everything but what would have worked. -Adam On 6/26/08, Erlend Davidson wrote: > > What did you search for? I'm asking because perhaps the more > important issue here is whether the SVN (subversion) client is easy > enough to find that people will realise that it exists. > From bjt23 at cornell.edu Thu Jun 26 20:06:01 2008 From: bjt23 at cornell.edu (Brian J. Tarricone) Date: Thu, 26 Jun 2008 11:06:01 -0700 Subject: [Thunar-dev] OT: stupid crap (was: Re: Subversion) In-Reply-To: <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> References: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> <20080625213647.4ac055d9@kepler> <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> Message-ID: <4863DA89.6040805@cornell.edu> Adam Norton wrote: > Yeah really. > I searched and I didn't see anything. > I did. I searched. Clearly not. > I dunno why I didn't find anything. Because you did a poor job, and figured that you'd just bother a bunch of other people with a question you could easily figure out yourself. > I am not the type of person who doesn't read the manual, > read the how tos and try everything first. I did search. > Want me to send screen shots on of my browser history? No need to be sarcastic. If you really did all these things, you would have answered your question in less than a minute. Given that, you'll have to forgive me if I'm a little skeptical. > You know being rude isn't a great way to greet someone on thier first > post, or any post for that matter. Geez nice to me you too. I wasn't being rude. Finding the information you wanted was pretty trivial, even considering the fact that I already knew where it was. The fact that it was or wasn't your first post is irrelevant (I'm on quite a few mailing lists; I certainly don't care to remember who I have and haven't seen post to various lists already). In fact, I'd be *more* forgiving to someone who was a regular positive contributor to the list if they made a mistake. I don't know you, and you ask a question you could easily answer yourself, so my only initial impression is that you're a time-sink. You could either a) realise you made a silly mistake, gracefully take the slap on the wrist, and move on, or b) flame and call even greater attention to your ignorance. Oops, bad choice. > But thanks for the info. You're welcome. I hope thunar-svn-plugin works out for you. -brian > > > On 6/25/08, Brian J. Tarricone wrote: >> On Wed, 25 Jun 2008 23:23:04 -0500 Adam Norton wrote: >> >>> Anyone know if there is or plans for a Thunar plug in that is a >>> subversion client? >> Really? >> http://www.google.com/search?q=thunar+svn >> >> C'mon, at least spend 20 seconds doing your own homework... >> >> -b >> _______________________________________________ >> Thunar-dev mailing list >> Thunar-dev at xfce.org >> http://foo-projects.org/mailman/listinfo/thunar-dev >> > _______________________________________________ > Thunar-dev mailing list > Thunar-dev at xfce.org > http://foo-projects.org/mailman/listinfo/thunar-dev > From ben at kalifornia.com Thu Jun 26 20:16:41 2008 From: ben at kalifornia.com (Ben Ford) Date: Thu, 26 Jun 2008 11:16:41 -0700 Subject: [Thunar-dev] Subversion In-Reply-To: <47b312710806260701r5017969cxe0810e27dc15f9d1@mail.gmail.com> References: <47b312710806252123t6fcfbaa9h654ff8ec7388fdeb@mail.gmail.com> <20080625213647.4ac055d9@kepler> <47b312710806260639o48ded336kbff5c6b8e8ea2d5b@mail.gmail.com> <34D868CD-6AC1-452F-B4EB-5F8D922AAA81@sms.ed.ac.uk> <47b312710806260701r5017969cxe0810e27dc15f9d1@mail.gmail.com> Message-ID: On Jun 26, 2008, at 7:01 AM, Adam Norton wrote: > Looking at the google drop down window.... > "SVN" Linux > tortoisesvn Linux > thunar tortoisesvn http://www.google.com/search?q=thunar+tortoisesvn Top hit: http://www.nabble.com/Thunar-plugin-for-Subversion---doable--td14383043.html Top post: thunar-svn-plugin -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2581 bytes Desc: not available Url : http://foo-projects.org/pipermail/thunar-dev/attachments/20080626/6aafb7cf/smime-0001.bin