1 commit abe57845eb7620894a2e4c09769857d16b63d2f1
2 Author: Jannis Pohlmann <jannis@xfce.org>
3 Date: Fri Aug 21 16:32:43 2009 +0200
5 Fix crash in the URI completion of the path entry. Patch by Nick.
7 commit 62ad9ea08c84849d6e4384e03f58ec29295c2b5a
8 Author: Jannis Pohlmann <jannis@xfce.org>
9 Date: Fri Aug 21 16:19:02 2009 +0200
11 Properly support startup notify when opening files or the bulk renamer.
13 When calling thunar from the command line, it now uses the
14 DESKTOP_STARTUP_ID environment variable and passes it to the functions
15 responsible to open/execute files and to open the bulk renamer.
17 An additional startup id paremeter is added to the functions
19 thunar_application_bulk_rename()
20 thunar_application_open_window()
21 thunar_application_process_filenames()
23 thunar_show_renamer_dialog()
24 thunar_dbus_client_launch_files()
25 thunar_dbus_service_launch_files()
27 as well as to the following D-Bus methods:
29 org.xfce.FileManager.Launch()
30 org.xfce.Thunar.BulkRename()
31 org.xfce.Thunar.LaunchFiles()
33 This was made possible by Nick who provided the entire patch.
35 commit 91a9e1cb861d4331164a886c032a83efc8862644
36 Author: Jannis Pohlmann <jannis@xfce.org>
37 Date: Fri Aug 21 16:09:26 2009 +0200
39 Fetch po-doc/*.po files from master. Drop po-doc/LINGUAS.
41 commit f466f34d6eaec7d40e709364da006f97e048e53d
42 Author: Jannis Pohlmann <jannis@xfce.org>
43 Date: Fri Aug 21 05:55:49 2009 +0200
45 Fetch translations from master.
47 commit 56708e9e6a73d063357be717d12e19de21899e00
48 Author: Jannis Pohlmann <jannis@xfce.org>
49 Date: Fri Aug 21 05:53:34 2009 +0200
53 commit fa99ba46e9bd63cd2ba5e9dfbfcd4282f3d330d0
54 Author: Jannis Pohlmann <jannis@xfce.org>
55 Date: Fri Aug 21 05:31:14 2009 +0200
57 Prefix g_file* functions with thunar_ to avoid conflicts.
59 commit 9412b3e8d8f6193b503aea6d0464d5da8e7a1ccb
60 Author: Jannis Pohlmann <jannis@xfce.org>
61 Date: Fri Aug 21 05:30:51 2009 +0200
63 Depend on GLib/GIO 2.18.
65 commit 3f90607afcc272eb021aa00f3ef8e36544aa07aa
66 Author: Jannis Pohlmann <jannis@xfce.org>
67 Date: Fri Aug 21 05:06:51 2009 +0200
69 In the open action, resolve them one after another, then open/execute.
71 This is similar as the ThunarApplication code dealing with opening
72 multiple files (usually at startup). Files are poked/resolved
73 asynchronously one after another until there's nothing left to resolve.
74 Then the old open/execute code kicks in.
76 commit d2dd00573f2900af759f312d9d963d2b975d2839
77 Author: Jannis Pohlmann <jannis@xfce.org>
78 Date: Fri Aug 21 05:05:22 2009 +0200
80 Use new xdt-autogen features. Drop the LINGUAS file and THUNAR_VERINFO.
82 commit c8af60f515e4b293d47f5a5ccd0ebe3b916f9cfd
83 Author: Jannis Pohlmann <jannis@xfce.org>
84 Date: Wed Aug 19 03:32:37 2009 +0200
86 Tweak and add the .gitignore file.
88 commit 6ae73a21b90d35dd024ea248997ba5760f704de2
89 Author: Jannis Pohlmann <jannis@xfce.org>
90 Date: Mon Aug 17 00:46:29 2009 +0200
92 Add GIO >= 2.18 functions to thunar-gio-extensions.{c,h}.
94 This includes: g_file_monitor(), g_file_query_file_type() and
95 g_file_make_directory_with_parents(). Needs testing.
97 commit 179bced1e1dce8fb4de08462b15630ec6f9f3e40
98 Author: Jannis Pohlmann <jannis@xfce.org>
99 Date: Mon Aug 17 00:44:20 2009 +0200
101 Really get rid of the INSTALL file.
103 commit ad654af892d44b6393655face8ed88859e6f2706
104 Author: Jannis Pohlmann <jannis@xfce.org>
105 Date: Mon Aug 17 00:02:18 2009 +0200
107 Avoid GIO 2.20 symbols. Avoid INSTALL file being tracked.
109 commit 0f916f1581462526c0cbc84ab7f08ced4b9a2c0f
110 Author: Jannis Pohlmann <jannis@xfce.org>
111 Date: Sun Aug 16 00:04:37 2009 +0200
113 Same as before. Forgot to add these files.
115 commit 4234139ddc3fe3ab20ec9b08540bd2389869f71c
116 Author: Jannis Pohlmann <jannis@xfce.org>
117 Date: Sun Aug 16 00:01:36 2009 +0200
119 Drop g_file_size_humanize(), use g_format_size_for_display() instead.
121 commit 577080d1d35de25942d2ec3cf6b4b24cf6a0c129
122 Author: Jannis Pohlmann <jannis@xfce.org>
123 Date: Thu Aug 13 16:02:26 2009 +0200
125 Drop exo_gtk_object_ref_sink and exo_gtk_radio_action_set_current_value.
127 Use g_object_ref_sink() and gtk_radio_action_set_current_value()
132 thunar/thunar-templates-action.c
134 commit 621c0f4b44e7536d0a1f12a804eab332f596b0a3
135 Author: Jannis Pohlmann <jannis@xfce.org>
136 Date: Thu Aug 13 02:42:30 2009 +0200
138 Don't depend on an SVN revision of exo-1. Compiles, installs and runs.
140 commit f337590df872cad44fbe5f335f0696a07b7d02de
141 Author: Jannis Pohlmann <jannis@xfce.org>
142 Date: Thu Aug 13 02:35:25 2009 +0200
144 Depend on exo-1 instead of exo-0.3.
146 commit 278f8cefedd7a95d7185fe18c67d3a9d6871b077
147 Author: Jannis Pohlmann <jannis@xfce.org>
148 Date: Thu Aug 13 02:19:53 2009 +0200
152 commit 04d5a929771b0cef6f7cdcdc0001adf5f366647c
153 Author: Jannis Pohlmann <jannis@xfce.org>
154 Date: Wed Jul 22 15:58:17 2009 +0000
156 * thunar/thunar-file.c: Fix typo in thunar_file_info_has_mime_type()
157 which caused a lot of problems. Patch by Nick.
159 (Old svn revision: 30378)
161 commit b94863fd31010cf74795d080210a433a68afb446
162 Author: Jannis Pohlmann <jannis@xfce.org>
163 Date: Sat Jul 18 17:28:56 2009 +0000
165 * thunar/thunar-file.c: Only return true from
166 thunar_file_is_executable() if the file is either a desktop file or
167 is an application/x-executable or application/x-shellscript. On
168 Windows we use g_content_type_can_be_executable() directly instead
169 of checking for these two content types. Patch by Nick.
171 (Old svn revision: 30347)
173 commit 42f81cc9f1dbb0f2db1cd654fb30266f43f7faff
174 Author: Jannis Pohlmann <jannis@xfce.org>
175 Date: Sat Jul 18 16:55:47 2009 +0000
177 * thunar/thunar-file.{c,h}: Introduce new function
178 thunar_file_same_filesystem() which uses
179 G_FILE_ATTRIBUTE_ID_FILESYSTEM to check whether two files reside on
180 the same device/filesystem. Use this to fix the copy/move decision
181 in thunar_file_accepts_drop().
182 * thunarx/thunarx-file-info.h: Add the "id" namespace to
183 THUNARX_FILE_INFO_NAMESPACE.
185 (Old svn revision: 30346)
187 commit b98c69ce99f209a96a6cdf90247044773429f94a
188 Author: Jannis Pohlmann <jannis@xfce.org>
189 Date: Sat Jul 18 14:24:27 2009 +0000
191 * thunar/thunar-launcher.c: Make executing files work again. Note that
192 this only works for one selected file right now. Poking/launching
193 multiple files/directories still have to be worked on anyway.
195 (Old svn revision: 30344)
197 commit 3557a2c333764691943a38e70b389c84a1586ff2
198 Author: Jannis Pohlmann <jannis@xfce.org>
199 Date: Sat Jun 20 03:07:01 2009 +0000
201 * po/POTFILES.in: Add thunar-settings.desktop.in.
203 (Old svn revision: 30066)
205 commit d358ea500b1788fddc3af37b90c7e7a386c0612b
206 Author: Jannis Pohlmann <jannis@xfce.org>
207 Date: Sat Jun 20 03:01:00 2009 +0000
209 * po/POTFILES.in: Remove thunar-vfs source files, update those of
212 (Old svn revision: 30065)
214 commit 449e5e755d3495b7e0b12799419de1003d09c62a
215 Author: Jannis Pohlmann <jannis@xfce.org>
216 Date: Sat Jun 20 02:53:37 2009 +0000
218 * docs/reference/thunarx/Makefile.am: Use THUNARX_VERSION_API instead
219 of THUNAR_VERSION_API.
221 (Old svn revision: 30064)
223 commit c7b32b79ccc3ea8294e9bfd23de1e9e1542cdf37
224 Author: Jannis Pohlmann <jannis@xfce.org>
225 Date: Sat Jun 20 02:44:21 2009 +0000
227 * configure.in.in, Makefile.am, tests/: Remove test folder which only
228 tests thunar-vfs anyway.
229 * docs/reference/thunar-vfs/, thunar-vfs/: Remove empty folders.
231 (Old svn revision: 30063)
233 commit 4e928968f6f0639b0bec668ea470ffb28c16ad12
234 Author: Jannis Pohlmann <jannis@xfce.org>
235 Date: Sat Jun 20 02:36:55 2009 +0000
237 * configure.in.in: Add header and function checks required for tdb.
239 (Old svn revision: 30062)
241 commit d3f714b7305318b3a6ab11d74381caabb689c4f3
242 Author: Jannis Pohlmann <jannis@xfce.org>
243 Date: Sat Jun 20 02:26:54 2009 +0000
245 * Remove thunar-vfs. There might be some pieces left which will be
246 cleaned up next. Update the list of functions and headers the
247 configure script checks because a lot of them were only required for
250 (Old svn revision: 30061)
252 commit a0a5032b288117c956ca2f5770b7a24783c77072
253 Author: Jannis Pohlmann <jannis@xfce.org>
254 Date: Sat Jun 20 01:07:08 2009 +0000
256 * Makefile.am, configure.in.in, plugins/, thunarx/, thunar/:
257 thunarx-1 is dead, long live thunarx-2. thunarx-2 introduces three
258 new functions: thunarx_file_info_get_file_info() which returns the
259 GFileInfo of a ThunarxFileInfo,
260 thunarx_file_info_get_filesystem_info() which returns a GFileInfo
261 with filesystem information for a ThunarxFileInfo and
262 thunarx_file_info_get_location() which returns the GFile the
263 ThunarxFileInfo refers to. thunarx-2 doesn't have
264 thunarx_file_info_get_vfs_info() anymore. Port all plugins shipped
265 with Thunar from thunarx-1 to thunarx-2. Especially thunar-uca and
266 thunar-sendto-email need testing due to non-trivial changes. Don't
267 link Thunar against ThunarVFS anymore - ALL REFERENCES ARE GONE!
269 (Old svn revision: 30057)
271 commit bc0e7621123b1ae676526dc83767a387b1e62fbf
272 Author: Jannis Pohlmann <jannis@xfce.org>
273 Date: Fri Jun 19 19:45:24 2009 +0000
275 * thunar/thunar-file.c: Nothing really.
276 * thunar/thunar-window.c: Derive from ThunarBrowser and use
277 thunar_browser_poke_file() to resolve/mount files when the location
280 (Old svn revision: 30056)
282 commit bdc323b56932aadb79b9bac68713ae00c6065043
283 Author: Jannis Pohlmann <jannis@xfce.org>
284 Date: Fri Jun 19 17:05:11 2009 +0000
286 * thunar/thunar-list-model.c: Fix thunar_list_model_get_value() and
287 thunar_list_model_get_statusbar_text() for files without content
288 type. Use special statusbar texts for mountables and shortcuts.
290 (Old svn revision: 30055)
292 commit 6562e9e61259aabfec6f68606306b2203b02fb24
293 Author: Jannis Pohlmann <jannis@xfce.org>
294 Date: Fri Jun 19 17:05:07 2009 +0000
296 * thunar/thunar-file.c: Assume the file is read- and writable if it
297 has no G_FILE_ATTRIBUTE_ACCESS_CAN_READ or
298 G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE attribute. This usually is the
299 case with shortcuts and mountables. This change removes all those
300 irritating emblems when browsing computer://, network:// and smb://.
301 Only show the "drive-harddisk" icon for local root directories (this
302 should only be the filesystem root, not media or anything).
304 (Old svn revision: 30054)
306 commit 6cff9ccf227728ba6287fccc4124745abf6ac015
307 Author: Jannis Pohlmann <jannis@xfce.org>
308 Date: Fri Jun 19 17:05:02 2009 +0000
310 * thunar/Makefile.am: Add missing entries for thunar-browser.{c,h}.
312 (Old svn revision: 30053)
314 commit 6e08fa408a7741fd2433e61334b51f8b11f03bd5
315 Author: Jannis Pohlmann <jannis@xfce.org>
316 Date: Fri Jun 19 15:34:30 2009 +0000
318 * thunar/thunar-launcher.c: Derive from ThunarBrowser and use the poke
319 file function to resolve/mount/open the selected file, if there is
320 only one selected. Still need to work on selections of more files.
322 (Old svn revision: 30052)
324 commit 206199a89cf785266190716cba852befb9eaff3d
325 Author: Jannis Pohlmann <jannis@xfce.org>
326 Date: Fri Jun 19 15:34:25 2009 +0000
328 * thunar/thunar-path-entry.c: Unescape URIs before displaying them.
329 This is to make sure we don't see things like "%20" in the location
332 (Old svn revision: 30051)
334 commit 0f8696dd6b0d3afbd44ca0f51b669ff722f60899
335 Author: Jannis Pohlmann <jannis@xfce.org>
336 Date: Fri Jun 19 15:34:20 2009 +0000
338 * thunar/thunar-location-entry.c: Simplify the activate code by
339 deriving from ThunarBrowser and using the poke functions to mount
340 volumes or resolve files asynchronously and on demand.
342 (Old svn revision: 30050)
344 commit 072496c5401629bd487db3dfe266ce0d40b76ef5
345 Author: Jannis Pohlmann <jannis@xfce.org>
346 Date: Fri Jun 19 15:34:16 2009 +0000
348 * thunar/thunar-shortcuts-view.c: Dramatically simplify the way
349 directories and volumes are mounted and opened by deriving from
350 ThunarBrowser and calling thunar_browser_poke_file() and
351 thunar_browser_poke_volume() to resolve directories and volumes
354 (Old svn revision: 30049)
356 commit 6ff479527e3d0fe8b7aef23326cda238522d4f19
357 Author: Jannis Pohlmann <jannis@xfce.org>
358 Date: Fri Jun 19 15:34:11 2009 +0000
360 * thunar/thunar-browser.{c,h}: Add a new interface with two
361 convenience functions for browsing (possibly not yet mounted or
362 resolved) volumes and files. thunar_browser_poke_file() can be used
363 to asynchronously resolve shortcuts, mount mountables or enclosing
364 volumes. When finished, the ThunarBrowserPokeFileFunc callback is
365 called with the source and target file. thunar_browser_poke_volume()
366 mounts volumes on demand and resolves the mount point and passes it
367 to the ThunarBrowsePokeVolumeFunc callback. Both functions are
368 possibly asynchronous.
370 (Old svn revision: 30048)
372 commit 21a791b00eed0850edfaef76aecc33b32038878c
373 Author: Jannis Pohlmann <jannis@xfce.org>
374 Date: Fri Jun 19 15:34:06 2009 +0000
376 * thunar/thunar-file.{c,h}: Add "mountable::*" namespace to the file
377 info attributes we request from the GFileInfo. In
378 thunar_file_load(), check for type G_FILE_TYPE_MOUNTABLE and set
379 is_mounted to FALSE if its G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT is
380 TRUE. Add function thunar_file_get_target_location() which returns
381 a GFile for the target location of a file of type
382 G_FILE_TYPE_SHORTCUT or G_FILE_TYPE_MOUNTABLE and otherwise returns
383 NULL. Don't assume all files have a content type - shortcuts and
384 mountables don't. Work around this in thunar_file_is_desktop_file()
385 and thunar_file_list_get_applications(). Check if we have a
386 GFileInfo before querying the original path in
387 thunar_file_get_original_path().
389 (Old svn revision: 30047)
391 commit 14a8f43e77dd7f90484f45ffe5e0f330a5b63ec7
392 Author: Jannis Pohlmann <jannis@xfce.org>
393 Date: Fri Jun 19 15:34:00 2009 +0000
395 * thunar/thunar-file.c: Use special icon names for root folders other
396 than trash://: "disk-harddrive" for the local root and
397 "folder-remote" for root folders on other machines.
398 * thunar/thunar-location-button.c: Show a label even for the local
399 root, just to be more consistent.
401 (Old svn revision: 30046)
403 commit dc389f4e4e667bd98d735a788c26c869e638492a
404 Author: Jannis Pohlmann <jannis@xfce.org>
405 Date: Wed Jun 17 17:57:51 2009 +0000
407 * thunar/thunar-shortcuts-view.c: Rework mounting and mounting + open.
408 Also make opening items other than volumes work asynchronously. To
409 do that, first check if the file to be opened is mounted already. If
410 that's the case, open it directly. If not, mount the enclosing
411 volume asynchronously and open the file in the mount callback. This
412 works for opening in the same or a new window.
414 (Old svn revision: 30045)
416 commit 01a7cabd0aa3544530abbd4d45bc77a205db4676
417 Author: Jannis Pohlmann <jannis@xfce.org>
418 Date: Wed Jun 17 17:57:46 2009 +0000
420 * thunar/thunar-shortcuts-model.c: Minor code reorganization.
422 (Old svn revision: 30044)
424 commit 98603b95049c25b990befde368a66f35ee8db739
425 Author: Jannis Pohlmann <jannis@xfce.org>
426 Date: Wed Jun 17 17:57:41 2009 +0000
428 * thunar/thunar-window.c: Split thunar_window_start_open_location()
429 up into three functions and load unmounted files asynchronously.
431 (Old svn revision: 30043)
433 commit d3d850ea657a35bac7c878a16364e27be0f2d9a2
434 Author: Jannis Pohlmann <jannis@xfce.org>
435 Date: Wed Jun 17 17:57:37 2009 +0000
437 * thunar/thunar-location-entry.c: Check if files are mounted before
438 mounting their volumes asynchronously. If they are, just open them
439 directly. Rework the code a bit, add a new private method
440 thunar_location_entry_open_or_launch().
442 (Old svn revision: 30042)
444 commit 92ae8573323125744390723483818b9867261186
445 Author: Jannis Pohlmann <jannis@xfce.org>
446 Date: Wed Jun 17 17:57:30 2009 +0000
448 * thunar/thunar-file.{c,h}: Add new boolean is_mounted member to
449 ThunarFile. It is FALSE iff the GFileInfo of the file couldn't be
450 loaded due to G_IO_ERROR_NO_MOUNTED. Return TRUE from
451 thunar_file_load() only when the file info could be loaded or the
452 file is not mounted yet. Use the path instead of the file:// URI for
453 the display name of local files. Add new method
454 thunar_file_is_mounted(). Add support for GFileIcons in
455 thunar_file_get_icon_name() by returning the path to the icon
456 filename if the file has a GFileIcon. Call thunar_file_reload()
457 instead of thunar_file_destroy() on G_FILE_MONITOR_EVENT_DELETED and
458 G_FILE_MONITOR_EVEN_PRE_UNMOUNT. The reload function will then
459 destroy the file if it doesn't exist anymore. Not mounted files will
460 not be destroyed though.
462 (Old svn revision: 30041)
464 commit 1f08f689e31e59b9ddb793ab013863ba669d20a9
465 Author: Jannis Pohlmann <jannis@xfce.org>
466 Date: Wed Jun 17 00:27:48 2009 +0000
468 * thunar/thunar-thumbnailer.c: Make all D-Bus related code only
469 available when D-Bus is installed at compile time.
471 (Old svn revision: 30040)
473 commit 1dfc7e19e41ae0cbf5ddb4224edc049e55f3629a
474 Author: Jannis Pohlmann <jannis@xfce.org>
475 Date: Wed Jun 17 00:13:13 2009 +0000
477 * thunar/thunar-shortcuts-view.c: Don't request context menu items
478 from Thunarx for files which don't exist. Reported by Nick.
480 (Old svn revision: 30039)
482 commit c42b5af8c52b9b66e2fde6e89626470241a8a936
483 Author: Jannis Pohlmann <jannis@xfce.org>
484 Date: Wed Jun 17 00:13:08 2009 +0000
486 * thunar/thunar-file.c: Refactor thunar_file_load() and
487 thunar_file_get() a bit. For now, thunar_file_load() will always
488 return successful, even if the GFileInfo cannot be loaded. This is
489 because we want ThunarFiles for remote URIs that are not yet
490 mounted. To compensate for that, there's a new method
491 thunar_file_exists() which returns TRUE iff the ThunarFile exists.
493 (Old svn revision: 30038)
495 commit a5195f410289a5d5391dd955f01687c8e43683de
496 Author: Jannis Pohlmann <jannis@xfce.org>
497 Date: Tue Jun 16 23:28:53 2009 +0000
499 * thunar/main.c, thunar/thunar-application.{c,h}:
500 thunar_application_process_filenames() now works asynchronously
501 because it might have to mount the enclosing volumes of one of the
502 filenames first (which is only possible asynchronously). Add new
503 method thunar_application_is_processing() which returns whether
504 ThunarApplication is still busy processing filenames or not. In
505 main(), always enter the main loop but schedule an idle source to
506 repeatedly check whether ThunarApplication has finished processing
507 the command line arguments. Once this is the case, exit if there are
508 no open Thunar windows. All in all, this gives us about the same
509 behaviour main() had before, except that it the application might
510 exit with a short delay. The result: Calling "thunar <remote URI>"
511 from the shell works now!
513 (Old svn revision: 30037)
515 commit 2758d7001d03b4381b92e3f76f32d1407c87d771
516 Author: Jannis Pohlmann <jannis@xfce.org>
517 Date: Tue Jun 16 17:50:46 2009 +0000
519 * thunar/thunar-location-entry.c: Split
520 thunar_location_entry_activate() up into two functions,
521 thunar_location_entry_activate() an
522 thunar_location_entry_activate_finished(). Use
523 g_file_mount_enclosing_volume() to make sure the volume is mounted
524 before we switch to the new directory or launch the file. Remote
525 machine browsing, here we come!
527 (Old svn revision: 30034)
529 commit 9e76adf70cf20caca5a1d41d833f7086d873bbcc
530 Author: Jannis Pohlmann <jannis@xfce.org>
531 Date: Tue Jun 16 17:50:39 2009 +0000
533 * thunar/thunar-file.c: In thunar_file_reload(), always reload the
534 file first, before checking if it still exists and needs to be
537 (Old svn revision: 30033)
539 commit d0e64d3d05f827d6cff710256e82dbf4fa0e3dcd
540 Author: Jannis Pohlmann <jannis@xfce.org>
541 Date: Tue Jun 16 10:15:06 2009 +0000
543 * thunar/thunar-path-entry.c: Display the local path only for native
544 files. If there is no path, use the URI. Always use the URI for
547 (Old svn revision: 30032)
549 commit f7c49838718c4a517ee1a248ed467229b20b3a0b
550 Author: Jannis Pohlmann <jannis@xfce.org>
551 Date: Mon Jun 15 23:38:26 2009 +0000
553 * thunar/thunar-renamer-model.c: Remove the ThunarVfsInfo member of
554 ThunarRenamerModelItem. Always invalidate and update the item/row
555 when the ThunarFile changes (unless the model is frozen of course).
556 ThunarRenamerModel is now ThunarVFS-free.
558 (Old svn revision: 30029)
560 commit 0c92b59eeb87c757002e0c9ba9b104bbd9354afe
561 Author: Jannis Pohlmann <jannis@xfce.org>
562 Date: Mon Jun 15 23:38:03 2009 +0000
564 * thunar/thunar-file.c: Use S_ISCHR, S_ISSOCK, S_ISFIFO and S_ISBLK to
565 generate the first character of mode strings for special/unknown
566 file types because we don't have THUNAR_VFS_FILE_TYPE_SOCKET etc.
567 anymore. There will be no replacements for THUNAR_VFS_FILE_TYPE_PORT
568 and THUNAR_VFS_FILE_TYPE_DOOR for now.
570 (Old svn revision: 30028)
572 commit eced573a73da912eaa920c7519f175dd6d3a7662
573 Author: Jannis Pohlmann <jannis@xfce.org>
574 Date: Mon Jun 15 23:37:41 2009 +0000
576 * thunar/thunar-icon-factory.c: Remove commented code.
578 (Old svn revision: 30027)
580 commit 38bd8e46728ad8481a794d9b5f8d0e582131b51d
581 Author: Jannis Pohlmann <jannis@xfce.org>
582 Date: Mon Jun 15 20:06:54 2009 +0000
584 * thunar/thunar-thumbnailer.c: Don't queue files that are part of an
585 already queued thumbnailer request or a ready idle struct. This
586 dramatically reduces the amount of D-Bus messages being sent.
588 (Old svn revision: 30026)
590 commit b658734d31447bbef8e536231e67f7aa2644607a
591 Author: Jannis Pohlmann <jannis@xfce.org>
592 Date: Mon Jun 15 20:06:36 2009 +0000
594 * thunar/thunar-icon-factory.c: Drop the ThunarVfsThumbFactory
595 reference. Don't cache SVGs. The number of SVGs we need to load that
596 are not ThunarFiles is relatively small, I don't think we need to
597 cache them. ThunarThumbnailer takes care of the ThunarFiles that are
598 SVGs. Always try to load thumbnails for files, even though their
599 thumbnail state is not ready. Don't use the loading icon. Together,
600 this reduces flicker when switching folders. ThunarIconFactory is
603 (Old svn revision: 30025)
605 commit f6c0fb741acbd09d728378b9b26bfa6e2db24c4f
606 Author: Jannis Pohlmann <jannis@xfce.org>
607 Date: Mon Jun 15 20:06:18 2009 +0000
609 * thunar/thunar-file.{c,h}: Add new boolean method
610 thunar_file_is_thumbnail() which returns TRUE if, and only if
611 a file resides in $HOME/.thumbnails/.
613 (Old svn revision: 30024)
615 commit 45b22dae9f2dae88d35a2f631635476664b419fc
616 Author: Jannis Pohlmann <jannis@xfce.org>
617 Date: Sun Jun 14 22:58:18 2009 +0000
619 * thunar/thunar-icon-factory.c: Rewrite the file icon loading process
620 once again, this time based on the also rewritten ThunarThumbnailer.
621 We first assume no thumbnail exists and use the default icon for the
622 MIME type. At the same time we request a thumbnail. Once the
623 thumbnailer has started processing the request, we change to a
624 loading icon. Once thumbnailer has the thumbnail ready, we change
625 to the thumbnail. If there's an error with the thumbnail, we
626 fall back to the default icon.
627 * thunar/thunar-image.c: Simplify this one. It now always requests the
628 icon from the icon factory and uses ThunarFileMonitor to watch the
629 file for changes. After each change it requests the icon from the
630 factory again. It's probably a good idea to use the thumbnailer
631 directly, so this will change in the future.
632 * thunar/thunar-list-model.c: Don't request thumbnails for the entire
633 content of new folders. Instead, just let the icon renderers do
634 their job. In the future, the model should at least unqueue all
635 requests for the old folder when the folder changes.
636 * thunar/thunar-thumbnailer.{c,h}: Rewrite the class entirely. It does
637 asynchronous D-Bus calls now and uses idle sources for updating the
638 thumbnail state of the ThunarFiles for which it requests the
639 thumbnails. It doesn't emit any signals anymore. In the future,
640 there should be a method to cancel all requests made by a component
641 for a certain base URI, so that we can cancel all pending requests
642 when leaving a folder.
644 (Old svn revision: 30018)
646 commit 7e42b87d40571721183f85e709a93585b503215f
647 Author: Jannis Pohlmann <jannis@xfce.org>
648 Date: Sun Jun 14 22:58:11 2009 +0000
650 * thunar/thunar-file.{c,h}: Emit a ThunarFileMonitor "file-changed"
651 signal whenever the thumbnail state of a ThunarFile is changed. This
652 helps all components in refreshing their file information and
653 possibly update the file icon.
655 (Old svn revision: 30017)
657 commit 436f408ead26fa33b7a5609f24372c18750d4f28
658 Author: Jannis Pohlmann <jannis@xfce.org>
659 Date: Fri Jun 12 01:09:47 2009 +0000
661 * thunar/Makefile.am, thunar/thunar-thumbnailer-manager-dbus.xml: Add
662 XML D-Bus information for the org.freedesktop.thumbnails.Manager
664 * thunar/thunar-thumbnailer.{c,h}: Start implementing the client side
665 of the org.freedesktop.thumbnails.Manager interface. Add new method
666 thunar_thumbnailer_file_is_supported() which requests the supported
667 content types from the thumbnailer manager on demand and checks if
668 the content type of a ThunarFile is a subtype of any of these. Use
669 this in thunar_thumbnailer_queue_files() and
670 thunar_thumbnailer_queue_file() to filter out files which
671 are not supported by the thumbnailer anyway. Make queue requests
672 fail when there are no supported files in the request.
674 (Old svn revision: 30002)
676 commit b1508ea84c8717590f144248cfc236ec48560740
677 Author: Jannis Pohlmann <jannis@xfce.org>
678 Date: Fri Jun 12 00:21:23 2009 +0000
680 * Makefile.am, thunar/thunar-image.{c,h},
681 thunar/thunar-thumbnailer-dbus.xml, thunar/thunar-thumbnailer.{c,h}:
682 Add two new classes ThunarImage and ThunarThumbnailer. ThunarImage
683 is a subclass of GtkImage which takes a ThunarFile and
684 asynchronously loads a thumbnail for the file using the
685 org.freedesktop.thumbnails.Thumbnailer D-Bus service.
686 ThunarThumbnailer is essentially a proxy client for this service
687 which adds a few convenience methods around the DBusGProxy API. It
688 can be used by other classes to request thumbnails over D-Bus.
689 * thunar/thunar-file.{c,h}: Add a new method
690 thunar_file_get_thumbnail_path(), which returns the thumbnail path
691 for a ThunarFile. GFileInfo has something similar but unfortunately
692 it's only set if the thumbnail exists, which means you have to
693 reload the GFileInfo whenever a new thumbnail has been generated ...
694 and unfortunately that requires a thunar_file_reload() which causes
695 a lot of flicker. Another new method is
696 thunar_file_get_preview_icon() which returns a preview GIcon that
697 can act as a thumbnail replacement if there is any.
698 * thunar/thunar-folder.c: Make sure never to emit the "files-added"
699 signal with an empty list.
700 * thunar/thunar-icon-factory.c: Use thunar_file_get_preview_icon() and
701 thunar_file_get_thumbnail_path() to load ThunarFile icons. Drop the
702 reference on ThunarThumbnailGenerator. Thumbnails are now requested
703 by ThunarListModel and ThunarImage instead of the icon factory.
704 * thunar/thunar-list-model.c: Request thumbnails from
705 ThunarThumbnailer whenever the "files-added" signal is emitted.
706 Unqueue all pending requests when the folder changes or the list
707 model is destroyed. Still missing: thumbnail requests after file
709 * thunar/thunar-marshal.list: Add another marshaller:
710 VOID:UINT,POINTER,UINT,STRING.
711 * thunar/thunar-private.h: Remove ifdefs for GLib <= 2.14.
712 * thunar/thunar-properties-dialog.c: Use ThunarImage for the file
713 icon instead of a regular GtkImage.
714 * thunar/thunar-thumbnail-generator.{c,h}: Remove the
715 ThunarThumbnailerGenerator class. We no longer need it.
717 (Old svn revision: 30001)
719 commit 038b0ce314ea485a0518699ff117ac3d998da721
720 Author: Jannis Pohlmann <jannis@xfce.org>
721 Date: Mon May 11 23:23:08 2009 +0000
723 * configure.in.in: Depend on libexo-0.3.101svn-r29948 for
724 exo_job_send_to_mainloop().
725 * thunar/thunar-dialogs.{c,h}, thunar/thunar-io-jobs.{c,h},
726 thunar/thunar-dialogs.{c,h}, thunar/thunar-properties-dialog.c,
727 thunar/thunar-standard-view.c, thunar/thunar-tree-view.c: Add new
728 simple job thunar_io_jobs_rename_file() which renames a ThunarFile
729 asynchronously. Make us of it in thunar_dialogs_show_rename_file()
730 which now launches and returns the rename job instead of calling
731 thunar_file_rename() directly. Update ThunarPropertiesDialog,
732 ThunarStandardView and ThunarTreeView to handle the error/finished
733 signals and destroy the job when it's finished.
734 * thunar/thunar-file.{c,h}: Add a GCancellable parameter and a boolean
735 parameter called "called_from_job". The latter is used to disable
736 the thunarx_file_info_renamed() and thunar_file_changed() calls. The
737 rename job is responsible to call these in the mainloop of the
738 application after the rename has succeeded.
739 * thunar/thunar-simple-job.{c,h}: Add new function
740 thunar_simple_job_get_param_values() which returns the GValueArray
741 created from the parameters passed to thunar_simple_job_launch().
743 (Old svn revision: 29949)
745 commit 551ba5c889690870ead0ea931187a4fc2ee02cf9
746 Author: Jannis Pohlmann <jannis@xfce.org>
747 Date: Mon May 11 01:37:08 2009 +0000
749 * thunar/Makefile.am, thunar/thunar-exec.{c,h}: Import thunar_exec_*()
750 functions from ThunarVFS. A part of that can probably be replaced
751 with calls to libxfce4ui.
752 * thunar/thunar-dialogs.{c,h}: Rename left-out THUNAR_VFS_JOB_RESPONSE*
753 defines to THUNAR_JOB_RESPONSE*. Remove thunar-vfs.h include.
754 * thunar/thunar-file.{c,h}: Remove the ThunarVfsInfo struct member of
755 ThunarFile. In all function calls, make sure that we don't crash if
756 we can't load the GFileInfo for the file. Cache the basename and
757 display name of the file in thunar_file_load(). If no GFileInfo is
758 available, try to guess them from the GFile. Use the new methods for
759 querying a GKeyFile for a GFile to determine the custom icon name,
760 if available. Cache that one, too. Remove thunar_file_get_for_info(),
761 thunar_file_get_for_path(), rewrite thunar_file_get_for_uri(),
762 rewrite thunar_file_get_parent(), thunar_file_execute() (based on
763 thunar_exec_*() functions), thunar_file_rename() (based on
764 g_file_set_display_name()), replace/disable ThunarVfsFileType
765 references in thunar_file_get_mode_string(), return TRUE from
766 thunar_file_is_executable() for .desktop files, rewrite
767 thunar_file_is_renamable(), thunar_file_get_custom_icon(),
768 thunar_file_set_custom_icon(), thunar_file_reload(), remove
769 thunar_file_cache_lookup_path(), thunar_file_list_to_path_list(),
770 thunar_file_get_path() and thunar_file_get_mime_info(). Make
771 thunar_file_get_info() return the GFileInfo. Rewrite
772 thunarx_file_info_get_vfs_info() which for now creates a new
773 ThunarVfsInfo and returns it. Callers now have to release the
774 ThunarVfsInfo later. Add GMount member to ThunarFile.
775 * thunar/thunar-folder.c: Make sure to set the job to NULL after
776 unref'ing it. Otherwise thunar_folder_get_loading() will always
777 return TRUE and the watch cursor won't disappear.
778 * thunar/thunar-gio-extensions.{c,h}: Add new functions
779 g_file_query_key_file() and g_file_write_key_file(). Also add
780 g_file_get_location() which returns a path for local files and an
781 URI for the rest, and g_mount_is_same_drive() which checks whether
782 two GMounts belong to the same GDrive.
783 * thunar/thunar-icon-factory.c, thunar/thunar-renamer-model.c,
784 thunar/thunar-thumbnail-generator.{c,h}: Migrate to the new
785 thunarx_file_info_get_vfs_info() function.
786 * thunar/thunar-list-model.c: Make sure not to crash when trying to
787 compare two ThunarFile of which at least one has no GFileInfo.
788 * thunar/thunar-metafile.{c,h}: Remove thunar-vfs.h include.
789 * thunar/thunar-progress-dialog.{c,h}: Use ThunarJob instead of ExoJob
790 whenever it is appropriate. Remove thunar-vfs.h include.
791 * thunar/thunar-window.c: Rewrite
792 thunar_window_current_directory_destroy() so that it simply searches
793 for the first parent directory that still exists and falls back to
796 (Old svn revision: 29935)
798 commit 3dea16cea8a78594885f71ea90ed042c0ee08d83
799 Author: Jannis Pohlmann <jannis@xfce.org>
800 Date: Thu May 7 16:42:51 2009 +0000
802 * Makefile.am, thunar/thunar-misc-jobs.{c,h}: Add new file for
803 miscellaneous jobs. Add new job
804 thunar_misc_jobs_load_template_files() which recursively loads all
805 template files/directories as ThunarFile objects from
806 G_USER_DIRECTORY_TEMPLATES.
807 * thunar/thunar-gio-extensions.{c,h}: Add new method
808 g_file_new_for_user_special_dir() which creates a GFile for a
809 GUserDirectory and falls back to $HOME (so it's ignored later) if
810 the special dir is not set.
811 * thunar/thunar-create-dialog.h, thunar/thunar-standard-view.c,
812 thunar/thunar-templates-action.c: Migrate ThunarTemplatesAction away
813 from ThunarVFS. Use ThunarFile instead of ThunarVfsInfo for the
814 "create-template" signal. Load the templates menu using
815 thunar_misc_jobs_load_template_files().
817 (Old svn revision: 29929)
819 commit e204e358983bf9eaa52c08833ee74376f1220654
820 Author: Jannis Pohlmann <jannis@xfce.org>
821 Date: Tue May 5 22:12:08 2009 +0000
823 * configure.in.in: Depend on exo-0.3.101svn-r29926 for ExoJob.
824 * thunar/thunar-application.c, thunar/thunar-deep-count-job.{c,h},
825 thunar/thunar-folder.c, thunar/thunar-io-jobs-util.c,
826 thunar/thunar-io-jobs.c, thunar/thunar-io-scan-directory.{c,h},
827 thunar/thunar-job.{c,h}, thunar/thunar-permissions-chooser.c,
828 thunar/thunar-progress-dialog.{c,h}, thunar/thunar-simple-job.{c,h},
829 thunar/thunar-size-label.c, thunar/thunar-transfer-job.c: Implement
830 ThunarJob based on ExoJob. Update a lot of classes to use the
831 equivalent ExoJob functions instead the ones from ThunarJob which
834 (Old svn revision: 29928)
836 commit e724285f602d64b9320019c7921aaead179bfed6
837 Author: Jannis Pohlmann <jannis@xfce.org>
838 Date: Fri May 1 00:20:23 2009 +0000
840 Erm, yeah. Remove duplicate ChangeLog entry.
842 (Old svn revision: 29923)
844 commit 5b136d802fdf1e5d3a2784d01a86f24a456c5496
845 Author: Jannis Pohlmann <jannis@xfce.org>
846 Date: Fri May 1 00:14:51 2009 +0000
848 * thunar/thunar-file.{c,h}, thnuar/thunar-standard-view.c,
849 thunar/thunar-util.{c,h}: Do it right this time by using guint64 and
850 GFileInfo instead of the ThunarVfsMimeInfo to determine the
851 access/changed/modified time. Update
852 thunar_util_humanize_file_time() to reflect this.
853 * thunar/thunar-standard-view.c: Rewrite tsv_reload_directory()
854 based on GFileMonitor.
855 * thunar/thunar-launcher.c: Use GVolumeMonitor/GVolume for the volume
856 send-to actions. Another class free of ThunarVFS.
857 * thunar/thunar-file.{c,h}, thunar/thunar-util.{c,h}: Do it right this
858 time by using guint64 and GFileInfo instead of the ThunarVfsMimeInfo
859 to determine the access/changed/modified time.
861 (Old svn revision: 29922)
863 commit 47028e572cd2c628bc3540d455f414cee65f2291
864 Author: Jannis Pohlmann <jannis@xfce.org>
865 Date: Thu Apr 30 13:52:42 2009 +0000
867 * thunar/*.c: Remove all occurances of GLIB_CHECK_VERSION() and
868 GTK_CHECK_VERSION() because we depend on much more recent GLib/GTK+
870 * thunar/thnuar-file.{c,h}, thunar/thunar-util.{c,h}: Actually, time_t
871 instead of guint64 is the correct type to use (fixes the previous
873 * thunar/thunar-window.c: Implement thunar_window_directory_destroy()
874 around g_file_find_enclosing_mount(). I'm not 100% happy with this
875 implementation but it'll do for now. Open the home directory if the
876 new directory cannot be determined.
878 (Old svn revision: 29921)
880 commit af96af940b198f97b441e44a2e169e41496bc695
881 Author: Jannis Pohlmann <jannis@xfce.org>
882 Date: Thu Apr 30 13:07:11 2009 +0000
884 * thunar/thunar-util.{c,h}: Replace ThunarVfsFileTime with guint64.
886 (Old svn revision: 29920)
888 commit 128dd5cf35dd046f1051833b7d620960f307c2e4
889 Author: Jannis Pohlmann <jannis@xfce.org>
890 Date: Thu Apr 30 13:04:36 2009 +0000
892 * thunar/thunar-file.{c,h}, thunar/thunar-properties-dialog.c:
893 Re-implement thunar_file_get_volume() around
894 g_file_find_enclosing_mount(). Ideally this would be asynchronous
895 but for now it'll stay the old way. Remove the
896 ThunarVfsVolumeManager member from the properties dialog. We only
897 need thunar_file_get_volume() here now.
899 (Old svn revision: 29919)
901 commit 4654651f01da331a4f3deaccef37298fca1f788f
902 Author: Jannis Pohlmann <jannis@xfce.org>
903 Date: Thu Apr 30 01:11:53 2009 +0000
905 * thunar/thunar-application.c: Replace "hal-udi" with
906 G_VOLUME_IDENTIFIER_KIND_HAL_UDI.
907 * thunar/thunar-gio-extensions.c: Change g_volume_is_removable() so
908 that it returns TRUE for almost all volumes. I feel that something is
909 very wrong in GHalVolumeManager ...
910 * thunar/thunar-location-entry.c: Replace ThunarVfsVolume with
911 GVolume. Mount+open launcher entry items asynchronously when
914 (Old svn revision: 29917)
916 commit 4763e862f282c47b9be912a351f0d3dce05be973
917 Author: Jannis Pohlmann <jannis@xfce.org>
918 Date: Wed Apr 29 16:28:31 2009 +0000
920 * thunar/thunar-tree-model.c, thunar/thunar-tree-view.c: Rewrite the
921 volume management code based on GVolumeMonitor/GVolume. This code
922 still has quite a few problems with trying to mount several times in
923 a row and mount+open doesn't seem to work.
925 (Old svn revision: 29916)
927 commit cd04fc317d3059f5086ec48deafba5df53a015b8
928 Author: Jannis Pohlmann <jannis@xfce.org>
929 Date: Wed Apr 29 16:28:21 2009 +0000
931 * thunar/thunar-shortcuts-view.c: Avoid segfaults due to an invalid
932 GtkTreeSelection being used in thunar_shortcuts_view_open_selection()
933 and thunar_shortcuts_view_open_selection_in_new_window(). This can
934 happen when the shortcuts view is essentially being destroyed but a
935 reference to it is still being kept for the mount/unmount/eject
936 handler. Increase the reference counter before passing the view to
937 asynchronous mount/unmount/eject functions and release the reference
940 (Old svn revision: 29915)
942 commit 376e32262784dd0b135f6909669926827ea3a17a
943 Author: Jannis Pohlmann <jannis@xfce.org>
944 Date: Wed Apr 29 16:24:19 2009 +0000
946 * thunar/thunar-shortcuts-model.c: In thunar_shortcuts_model_init()
947 don't increase the reference counter on the volumes, otherwise we'd
950 (Old svn revision: 29914)
952 commit 33f4d77acb26844548479b4942a5acb41289b2d0
953 Author: Jannis Pohlmann <jannis@xfce.org>
954 Date: Wed Apr 29 07:42:23 2009 +0000
956 * thunar/thunar-gio-extensions.{c,h}: Add new function
957 g_volume_is_present() which checks whether the GDrive of a volume
959 * thunar/thunar-shortcuts-icon-renderer.c: Use GVolume instead of
960 ThunarVfsVolume and create the icon by loading a GtkIconInfo based
961 on the volume GIcon in thunar_shortcuts_renderer_render().
962 * thunar/thunar-shortcuts-model.{c,h}: Use GVolumeMonitor and
963 GVolume/GMount instead of ThunarVfsVolumeManager/ThunarVfsVolume
965 * thunar/thunar-shortcuts-view.c: Rewrite the mount/eject/unmount code
966 to use GVolume/GMount. Need to review this again to make sure it
968 * thunar/thunar-window.c: Re-implement the mount-pre-unmount signal
969 handler by using GVolumeMonitor/GMount.
970 error handling. Use thunar_file_list_free() instead of iterating over
972 (Old svn revision: 29913)
974 commit c0707c83273430b5025fd1af7cc0b13d892bf3f5
975 Author: Jannis Pohlmann <jannis@xfce.org>
976 Date: Tue Apr 28 19:55:34 2009 +0000
978 * thunar/thunar-io-jobs.c, thunar/thunar-io-scan-directory.c: Improve
979 error handling. Use thunar_file_list_free() instead of iterating over
980 the ThunarFile list manually. Make sure to release the
981 GFileEnumerator in thunar_io_scan_directory(), otherwise unmounting
982 volumes fails due to open file descriptors.
983 * thunar/thunar-job.c: Cancel jobs in thunar_job_finalize() before
984 destroying the GCancellable.
986 (Old svn revision: 29912)
988 commit f828793040c3e83bbb1dc3ada8677d1c8b10dac1
989 Author: Jannis Pohlmann <jannis@xfce.org>
990 Date: Tue Apr 28 16:45:32 2009 +0000
992 * thunar/thunar-file.{c,h}: Make the ThunarFile cache somewhat
994 * thunar/thunar-gio-extensions.{c,h}: Add new functions
995 g_volume_is_removable() and g_volume_is_mounted().
997 (Old svn revision: 29911)
999 commit 2a24b4ad8f05dbfd586c0738f970e06ce88e327c
1000 Author: Jannis Pohlmann <jannis@xfce.org>
1001 Date: Mon Apr 27 14:41:42 2009 +0000
1003 * thunar/thunar-io-jobs-util.{c,h}: Add missing files.
1005 (Old svn revision: 29910)
1007 commit bbdaff3c188db42ce3f8aed9ccb2be39891ec7d3
1008 Author: Jannis Pohlmann <jannis@xfce.org>
1009 Date: Mon Apr 27 14:34:41 2009 +0000
1011 * thunar/thunar-preferences-dialog.c: Always assume we have volume
1012 management. Remove the ThunarVfsVolumeManager reference here.
1014 (Old svn revision: 29909)
1016 commit af2a421d4acbfbe26a432f514201cb8c59dbd264
1017 Author: Jannis Pohlmann <jannis@xfce.org>
1018 Date: Mon Apr 27 14:17:51 2009 +0000
1020 * thunar/thunar-application.c: Use GVolumeMonitor instead of
1021 ThunarVfsVolumeManager. Connect to the "drive-connected",
1022 "drive-disconnected" and "drive-eject-button" signals and determine
1023 the device UDIs using g_drive_get_identifier(). Rename
1024 thunar_application_volman_device_added(),
1025 thunar_application_volman_device_removed(),
1026 thunar_application_volman_device_eject() to
1027 thunar_application_drive_connected(),
1028 thunar_application_drive_disconnected() and
1029 thunar_application_drive_eject(). ThunarApplication is now
1031 * thunar/thunar-io-scan-directory.c: Avoid segfault when cancelling the
1032 job and trying to free the error.
1034 (Old svn revision: 29908)
1036 commit a74572292bb7229abf7e3df9ed9539ac1c3c86c4
1037 Author: Jannis Pohlmann <jannis@xfce.org>
1038 Date: Fri Apr 24 19:06:04 2009 +0000
1040 * thunar/thunar-tree-view.c: Add missing include statement for
1043 (Old svn revision: 29906)
1045 commit 6a904d846bb0becdb4271aebc894b8f38d13707c
1046 Author: Jannis Pohlmann <jannis@xfce.org>
1047 Date: Fri Apr 24 19:03:45 2009 +0000
1049 * thunar/thunar-dialogs.c, thunar/thunar-progress-dialog.{c,h},
1050 thunar/thunar-standard-view.c thunar/thunar-tree-view.c: Remove
1051 all references to ThunarVfsJob/ThunarVfsJobResponse from comments and
1053 * thunar/thunar-io-jobs.c: Fix overwriting of a GError when cancelling
1054 the list_directory job.
1056 (Old svn revision: 29905)
1058 commit 7ae69bd189926f98ec81672f73becb4761cd4556
1059 Author: Jannis Pohlmann <jannis@xfce.org>
1060 Date: Fri Apr 24 18:48:54 2009 +0000
1062 * thunar/thunar-file.c: Implement thunar_file_get_group(),
1063 thunar_file_get_user() and thunar_file_get_emblem_names() based on
1065 * thunar/thunar-folder.c, thunar/thunar-io-jobs.{c,h},
1066 thunar/thunar-job.{c,h}: Add new "files-ready" signal to ThunarJob
1067 which is emitted when a list of ThunarFiles is ready. Also add a new
1068 function called thunar_job_files_ready() which emits the signal.
1069 Implement a new job thunar_io_jobs_list_directory() as an equivalent
1070 to thunar_vfs_listdir(), using the new "files-ready" signal. Update
1071 ThunarJob to use "files-ready" instead of "infos-ready". For the
1072 first time in a while you can open the trash again without crashing
1075 (Old svn revision: 29904)
1077 commit 1ab753a4c21081b6d50ef7b7ec4f67884e5835f8
1078 Author: Jannis Pohlmann <jannis@xfce.org>
1079 Date: Fri Apr 24 16:36:08 2009 +0000
1081 * thunar/thunar-folder.c: Add "corresponding-file" property for the
1082 ThunarFile member of ThunarFolder. Monitor folders using
1083 GFileMonitor instead of ThunarVfsMonitor.
1085 (Old svn revision: 29903)
1087 commit 378e79bef2bc5596451a35c3026565f2b5833ae3
1088 Author: Jannis Pohlmann <jannis@xfce.org>
1089 Date: Fri Apr 24 15:26:31 2009 +0000
1091 * thunar/thunar-enum-types.{c,h}, thunar/thunar-file.h: Move
1092 ThunarFileMode into the enum types file. Add THUNAR_TYPE_FILE_MODE
1093 macro and thunar_file_mode_get_type() function which registers a
1094 flags type for file modes.
1095 * thunar/thunar-io-jobs.{c,h}: Add new jobs
1096 thunar_io_jobs_change_group() and thunar_io_jobs_change_mode().
1097 * thunar/thunar-permissions-chooser.c: Migrate the permissions chooser
1100 (Old svn revision: 29902)
1102 commit 4d6fd3c78f0f3e8c608fead53f5187d64b023d70
1103 Author: Jannis Pohlmann <jannis@xfce.org>
1104 Date: Thu Apr 23 23:04:58 2009 +0000
1106 * thunar/thunar-application, thunar/thunar-io-jobs.{c,h},
1107 thunar/thunar-job.{c,h}, thunar/thunar-transfer-job.c: Re-implement
1108 thunar_application_restore_files() based on a new job called
1109 thunar_io_jobs_restore_files(). Modify ThunarTransferJob so that it
1110 checks whether the parent directory of the original path exists and
1111 otherwise tries to create it (with user interaction). Add new
1112 function thunar_job_ask_create() to ThunarJob. ThunarApplication is
1113 now almost ThunarVFS free.
1115 (Old svn revision: 29899)
1117 commit f005d7bbac1b90fbc3da480eab4e4afec590d6d5
1118 Author: Jannis Pohlmann <jannis@xfce.org>
1119 Date: Thu Apr 23 20:39:59 2009 +0000
1121 * thunar/thunar-dialogs.c: Use more fine-grained labels for files,
1122 directories and links in thunar_dialogs_show_job_ask_replace().
1124 (Old svn revision: 29898)
1126 commit 0b2031bf4d8ddf47908e058cb52eb4f17db6ae1e
1127 Author: Jannis Pohlmann <jannis@xfce.org>
1128 Date: Thu Apr 23 20:31:23 2009 +0000
1130 * thunar/thunar-application.c, thunar/thunar-job.{c,h},
1131 thunar/thunar-io-jobs.c, thunar/thunar-transfer-job.c,
1132 thunar/thunar-standard-view.c, thunar/thunar-tree-view.c: Implement
1133 and connect to the "new-files" signal again. Update
1134 ThunarStandardView and ThunarTreeView to use a GFile list for the
1137 (Old svn revision: 29897)
1139 commit a6ccd17834e4a5590e070e94cf3d236f5c910d26
1140 Author: Jannis Pohlmann <jannis@xfce.org>
1141 Date: Thu Apr 23 20:00:34 2009 +0000
1143 * thunar/thunar-application.{c,h}, thunar/thunar-dbus-service.c,
1144 thunar/thunar-io-jobs.{c,h},: Add new job
1145 thunar_io_jobs_trash_files() and a new function
1146 thunar_application_trash() which are used in
1147 thunar_dbus_service_move_to_trash(), thunar_application_move_into()
1148 and thunar_application_unlink() to move files into the trash.
1149 * thunar/thunar-standard-view.c: Use GFiles for the drag file list.
1151 (Old svn revision: 29896)
1153 commit 0c701627d8084870d5cb814430cc2c3cf38f7f65
1154 Author: Jannis Pohlmann <jannis@xfce.org>
1155 Date: Thu Apr 23 19:10:14 2009 +0000
1157 * thunar/thunar-application.h: Fix thunar_appliation_link_into()
1158 declaration and rename a few parameters.
1160 (Old svn revision: 29895)
1162 commit 51c6fa1bcc6ea4fedf67e1ed9576ee90791fb562
1163 Author: Jannis Pohlmann <jannis@xfce.org>
1164 Date: Thu Apr 23 18:57:21 2009 +0000
1166 * thunar/Makefile.am, thunar/thunar-io-jobs-util.{c,h}: Add new files
1167 for I/O job utility functions. Right now there's only one new
1168 function called thunar_io_jobs_util_next_duplicate_file() which
1169 generates alternative "copy of X", "another copy of X",
1170 "third copy of X" and "nth copy of X" #GFiles for an input #GFile.
1171 It also works for symbolic links.
1172 * thunar/thunar-application.{c,h}, thunar/thunar-dnd.c,
1173 thunar/thunar-io-jobs.{c,h}, thunar/thunar-launcher.c,
1174 thunar-standard-view.c: Add new
1175 job thunar_io_jobs_link_files() and use it in
1176 thunar_application_link_into(). Disable
1177 thunar_application_restore_files() for now so that we can replace
1178 thunar_application_collect_and_launch() and
1179 thunar_application_launch() with the implementations based on GIO.
1180 Enable creating links in thunar-dnd.c again. Update ThunarLauncher
1181 and ThunarStandardView to reflect the API changes in
1183 * thunar/thunar-dialogs.c: In thunar_dialogs_show_job_ask_replace(),
1184 use different labels for target symlinks than for normal files to
1185 make clear that we're only replacing the symlinks, not the files
1187 * thunar/thunar-permissions-chooser.c: Make sure the array index
1188 is never out of bounds when iterating over the combos.
1189 * thunar/thunar-transfer-job.{c,h}: Improve the copy/move algorithm so
1190 that it resembles the old behaviour, creates "copy of X" files when
1191 copying/linking files into the same directory, handles directory
1192 merges properly and is more readable.
1194 (Old svn revision: 29894)
1196 commit 6841b29cb9f21247c4fd1c1c4bfc42074d77ca0a
1197 Author: Jannis Pohlmann <jannis@xfce.org>
1198 Date: Thu Apr 23 18:57:14 2009 +0000
1200 Revert " * thunar/Makefile.am, thunar/thunar-io-jobs-util.{c,h}: Add new files"
1202 This reverts commit 236c1464283640f8e37ba267cc5e92843ac4c997.
1204 (Old svn revision: 29893)
1206 commit 0477573e346a228c26a878772b414e3d564f46ab
1207 Author: Jannis Pohlmann <jannis@xfce.org>
1208 Date: Thu Apr 23 18:57:05 2009 +0000
1210 * thunar/Makefile.am, thunar/thunar-io-jobs-util.{c,h}: Add new files
1211 for I/O job utility functions. Right now there's only one new
1212 function called thunar_io_jobs_util_next_duplicate_file() which
1213 generates alternative "copy of X", "another copy of X",
1214 "third copy of X" and "nth copy of X" #GFiles for an input #GFile.
1215 It also works for symbolic links.
1216 * thunar/thunar-application.{c,h}, thunar/thunar-dnd.c,
1217 thunar/thunar-io-jobs.{c,h}, thunar/thunar-launcher.c,
1218 thunar-standard-view.c: Add new
1219 job thunar_io_jobs_link_files() and use it in
1220 thunar_application_link_into(). Disable
1221 thunar_application_restore_files() for now so that we can replace
1222 thunar_application_collect_and_launch() and
1223 thunar_application_launch() with the implementations based on GIO.
1224 Enable creating links in thunar-dnd.c again. Update ThunarLauncher
1225 and ThunarStandardView to reflect the API changes in
1227 * thunar/thunar-dialogs.c: In thunar_dialogs_show_job_ask_replace(),
1228 use different labels for target symlinks than for normal files to
1229 make clear that we're only replacing the symlinks, not the files
1231 * thunar/thunar-permissions-chooser.c: Make sure the array index
1232 is never out of bounds when iterating over the combos.
1233 * thunar/thunar-transfer-job.{c,h}: Improve the copy/move algorithm so
1234 that it resembles the old behaviour, creates "copy of X" files when
1235 copying/linking files into the same directory, handles directory
1236 merges properly and is more readable.
1238 (Old svn revision: 29892)
1240 commit 0047e28451d4f48e0b53726aedf9efc6da2cdb1c
1241 Author: Jannis Pohlmann <jannis@xfce.org>
1242 Date: Thu Apr 23 00:56:37 2009 +0000
1244 * thunar/Makefile.am, thunar/thunar-transfer-job.{c,h}: Implement
1245 ThunarTransferJob as an equivalent to ThunarVfsTransferJob. The code
1246 is very similar except that the error handling is a bit different
1247 and all basic operations (non-recursive copy/move) is done based on
1248 GFile and GFileInfo. Copying a file into the same directory
1249 currently does not work the way it did before (new file 'copy of
1250 "%s"' was created). This will be fixed soon.
1251 * thunar/thunar-application.{c,h}: Add new function
1252 thunar_application_collect_and_launch_job() as an alternative to
1253 thunar_application_collect_and_launch() but based on GFile and
1254 JobLauncher. Implement thunar_application_move_into(),
1255 thunar_application_copy_into() and thunar_application_copy_to()
1256 based on ThunarTransferJob and GFile instead of ThunarVfsTransferJob.
1257 * thunar/thunar-clipboard-manager.{c,h}, thunar/thunar-dialogs.{c,h},
1258 thunar/thunar-dnd.c, thunar/thunar-dbus-service.c,
1259 thunar/thunar-launcher.c, thunar/thunar-location-button.c,
1260 thunar/thunar-location-buttons.c, thunar/thunar-progress-dialog.c,
1261 thunar/thunar-shortcuts-view.c, thunar/thunar-standard-view.c,
1262 thunar/thunar-tree-view.c: Update to new API of
1263 ThunarClipboardManager, ThunarApplication and ThunarJob. Replace
1264 *a lot* of ThunarVFS references with code based on GIO.
1265 * thunar/thunar-file.{c,h}: Re-implement thunar_file_accepts_drop()
1266 based on a GFile input list. Add new function
1267 thunar_file_can_be_trashed().
1268 * thunar/thunar-io-jobs.{c,h}: Add new jobs
1269 thunar_io_jobs_move_files() and thunar_io_jobs_copy_files().
1270 * thunar/thunar-job.{c,h}: Add "ask-replace" signal and public
1271 function thunar_job_ask_replace(), mainly for ThunarTransferJob.
1272 * thunar/thunar-marshal.list: Add new marshal function
1273 _thunar_marshal_FLAGS__OBJECT_OBJECT().
1275 (Old svn revision: 29891)
1277 commit 2b650ad845ab1944eb0974192780c7e8efd38129
1278 Author: Jannis Pohlmann <jannis@xfce.org>
1279 Date: Wed Apr 22 00:49:04 2009 +0000
1281 * thunar/Makefile.am, thunar/thunar-io-scan-directory.{c,h}: Port
1282 _thunar_vfs_info_scan_directory() to GIO and rename it to
1283 thunar_io_scan_directory().
1284 * thunar/thunar-application.c, thunar/thunar-io-jobs.{c,h}: Implement
1285 thunar_io_jobs_unlink_files() as an equivalent to
1286 thunar_vfs_jobs_unlink_files(). Use it in unlink_stub() and modify
1287 thunar_application_unlink_files() and
1288 hunar_application_empty_trash() to use
1289 thunar_application_job_launch() and GFile lists.
1290 * thunar/thunar-gio-extensions.{c,h}: Add g_file_list_prepend().
1291 * thunar/thunar-job.c: Don't treat cancellation as an error for now.
1292 * thunar/thunar-simple-job.c: Use g_clear_error() instead of
1293 g_error_free() in thunar_simple_job_execute().
1295 (Old svn revision: 29883)
1297 commit 0f7b6133ec183e26e4214f6f6af144ea9482a24b
1298 Author: Jannis Pohlmann <jannis@xfce.org>
1299 Date: Tue Apr 21 13:33:08 2009 +0000
1301 * thunar/thunar-application.c, thunar/thunar-io-jobs.{c,h},
1302 thunar/thunar-location-buttons.c, thunar/thunar-standard-view.c,
1303 thunar/thunar-tree-view.c: Add new simple job
1304 thunar_io_jobs_make_directories(). Rename all I/O job functions from
1305 thunar_io_job_*() to thunar_io_jobs*(). Use the make directories job
1306 in thunar_application_mkdir() and modify mkdir_stub() according to
1307 this. Pass a GFile list to thunar_application_mkdir() in
1308 ThunarLocationButtons, ThunarStandardView and ThunarTreeView.
1310 (Old svn revision: 29878)
1312 commit f89c2e5333f4f9d43b2cd61d7cee3909eba37290
1313 Author: Jannis Pohlmann <jannis@xfce.org>
1314 Date: Tue Apr 21 12:28:17 2009 +0000
1316 * thunar/Makefile.am, thunar/thunar-io-jobs.{c,h},
1317 thunar/thunar-simple.job.{c,h}: Add ThunarSimpleJob class which is
1318 equivalent to ThunarVfsSimpleJob. Add the first simple job by
1319 implementing thunar_io_job_create_files() as an equivalent to
1320 thunar_vfs_create_files(). The "new-files" signal is not implemented
1321 yet because it would break the new_files_closure.
1322 * thunar/thunar-application.c: Add JobLauncher function pointer type
1323 as an equivalent to Launcher. Add thunar_application_launch_job() as
1324 an equivalent to thunar_application_launch() based on ThunarJob
1325 instead of ThunarVfsJob. Modify creat_stub() according to this. Use
1326 thunar_application_launch_job() in thunar_application_creat().
1327 * thunar/thunar-job.{c,h}: Implement thunar_job_ask_skip().
1328 * thunar/thunar-standard-view.c: Pass a GFile list instaed of a
1329 ThunarVfsPath list to thunar_application_creat().
1331 (Old svn revision: 29877)
1333 commit d579fa09e042a63047ec88dab4706df06547258c
1334 Author: Jannis Pohlmann <jannis@xfce.org>
1335 Date: Tue Apr 21 11:23:09 2009 +0000
1337 Add thunar-enum-types.c which I forgot in the last commit.
1339 (Old svn revision: 29876)
1341 commit b7bddece2461120aab10e061ff66f200a23c53e9
1342 Author: Jannis Pohlmann <jannis@xfce.org>
1343 Date: Tue Apr 21 11:22:26 2009 +0000
1345 * thunar/thunar-enum-types.c: Remove vfs_ from
1346 thunar_vfs_job_response_get_type().
1347 * thunar/thunar-gio-extensions.c: Include exo.h for the I_() macro.
1348 * thunar/thunar-job.{c,h}: Add functions thunar_job_ask_overwrite(),
1349 thunar_job_info_message(), thunar_job_percent(),
1350 thunar_job_set_total_files() and thunar_job_processing_file(). Add
1351 signals "ask", "info-message" and "percent".
1352 * thunar/thunar-progress-dialog.{c,h}: Make ThunarProgressDialog work
1353 with both, ThunarVfsJob and ThunarJob by using a G_TYPE_OBJECT
1354 property and gpointer parameters.
1356 (Old svn revision: 29875)
1358 commit 283be80f7b7c381f5a4f829b14386e5f7f3fc2c6
1359 Author: Jannis Pohlmann <jannis@xfce.org>
1360 Date: Tue Apr 21 10:08:08 2009 +0000
1362 * thunar/thunar-deep-count-job.c: Improve the error handling code in
1363 thunar_deep_count_job_execute().
1364 * thunar/thunar-gio-extensions.{c,h}: Add G_TYPE_FILE_LIST macro and
1365 g_file_list_get_type() for a boxed GFile list type. Fix
1366 g_file_list_copy() to actually return the list copy and not the
1367 original. Don't set the original to NULL before iterating over it.
1369 (Old svn revision: 29874)
1371 commit d21517cceab85cfa00bf00621444ec90666952a3
1372 Author: Jannis Pohlmann <jannis@xfce.org>
1373 Date: Mon Apr 20 18:07:26 2009 +0000
1375 * thunar/thunar-window.c: Fix runtime error due to an NULL path being
1376 passed to g_file_new_for_path() in
1377 thunar_window_setup_user_dir_menu_entries().
1379 (Old svn revision: 29869)
1381 commit 976108c14939f159432a7b53826971748e3b9677
1382 Author: Jannis Pohlmann <jannis@xfce.org>
1383 Date: Mon Apr 20 17:52:41 2009 +0000
1385 * thunar/thunar-chooser-dialog.c, thunar/thunar-deep-count-job.c,
1386 thunar/thunar-job.c, thunar/thunar-preferences.c,
1387 thunar/thunar-shortcuts-model.c, thunar/thunar-size-label.c: Fix
1388 compiler warnings and errors.
1390 (Old svn revision: 29868)
1392 commit df475abaf389fd03ca839826c8ac5e4ee1077ee8
1393 Author: Jannis Pohlmann <jannis@xfce.org>
1394 Date: Mon Apr 20 16:28:52 2009 +0000
1396 * thunar/Makefile.am, thunar/thunar-deep-count-job.{c,h}: Add new class
1397 for computing the total size of a file/directory recursively while
1398 also counting the total number of files and directories. This
1399 implementation is almost equivalent to ThunarVfsDeepCountJob except
1400 that it is an implementation of ThunarJob and uses GIOScheduler for
1401 the asynchronous operation.
1402 * thunar/thunar-enum-types.h: Add missing public declaration of
1403 thunar_job_response_get_type().
1404 * thunar/thunar-job.{c,h}: Add new functions
1405 thunar_job_get_cancellable() and thunar_job_set_error_if_cancelled().
1406 Make thunar_job_emit() public so that it can be used in subclasses.
1407 Don't try to emit signals in thunar_job_finished() and
1408 thunar_job_error() using GIOScheduler because they are only emitted
1409 in thunar_job_async_ready() which is called from the GUI thread.
1410 * thunar/thunar-size-label.c: Drop all ThunarVFS references by
1411 replacing ThunarVfsDeepCountJob with ThunarDeepCountJob. Yay, it
1414 (Old svn revision: 29867)
1416 commit 803463e84c0c93e452cccad9c65009c1ee8dedfe
1417 Author: Jannis Pohlmann <jannis@xfce.org>
1418 Date: Mon Apr 20 01:02:32 2009 +0000
1420 * thunar/Makefile.am, thunar/thunar-enum-types.{c,h},
1421 thunar/thunar-job.{c,h}, thunar/thunar-marshal.list: Add abstract
1422 class ThunarJob which is going to be an equivalent to ThunarVfsJob.
1423 The main difference is that ThunarJob uses GIOScheduler to handle
1424 the asynchronous execution of the job instead of managing worker
1425 threads on its own. It's not finished yet though. Add
1426 ThunarJobResponse enum type and new marshal functions for job
1429 (Old svn revision: 29853)
1431 commit 25e46597fc649ef2a42f3f0d540b5f38dccb5283
1432 Author: Jannis Pohlmann <jannis@xfce.org>
1433 Date: Sun Apr 19 20:48:31 2009 +0000
1435 Merge branch 'master' into migration-to-gio
1440 (Old svn revision: 29850)
1442 commit fbaaa140477caa3c3ecb207906dc76a35335edcd
1443 Author: Jannis Pohlmann <jannis@xfce.org>
1444 Date: Sun Apr 19 20:45:15 2009 +0000
1446 * thunar/thunar-location-button.c: Use g_file_list_to_string() instead
1447 of thunar_vfs_path_list_to_string() in
1448 thunar_location_button_drag_data_get().
1450 (Old svn revision: 29849)
1452 commit dfae489817f7e1b2db38bbd82c97b6236e1f9aa7
1453 Author: Jannis Pohlmann <jannis@xfce.org>
1454 Date: Thu Apr 16 22:23:12 2009 +0000
1456 * thunar/thunar-clipboard-manager.c: Remove GTK+ 2.6 check.
1457 * thunar/thunar-dbus-service.c: Replace ThunarVfsPath with GFile in
1458 thunar_dbus_service_connect_trash_bin() and
1459 thunar_dbus_service_display_folder_and_select().
1461 (Old svn revision: 29825)
1463 commit e19f41f686c5b09b8bd1a3b3828e51578e4cd7ac
1464 Author: Jannis Pohlmann <jannis@xfce.org>
1465 Date: Thu Apr 16 22:23:08 2009 +0000
1467 * thunar/thunar-clipboard-manager.c: Remove GTK+ 2.6 check.
1468 * thunar/thunar-dbus-service.c: Replace ThunarVfsPath with GFile in
1469 thunar_dbus_service_connect_trash_bin() and
1470 thunar_dbus_service_display_folder_and_select().
1472 (Old svn revision: 29824)
1474 commit 57989502ec92679538d3c32211ad038786c7ac13
1475 Author: Jannis Pohlmann <jannis@xfce.org>
1476 Date: Tue Apr 14 22:45:20 2009 +0000
1478 * thunar/thunar-standard-view.c: Use GFile instead of ThunarVfsPath in
1479 thunar_standard_view_drag_drop().
1481 (Old svn revision: 29816)
1483 commit 7ad9ffbb25e3cb0fca690b860408182c172ca9ef
1484 Author: Jannis Pohlmann <jannis@xfce.org>
1485 Date: Tue Apr 14 22:32:29 2009 +0000
1487 * thunar/thunar-preferences.c, thunar/thunar-sendto-model.c,
1488 thunar/thunar-shortcuts-model.c: Check whether the created file
1489 monitor is != NULL before connecting to its "changed" signal.
1491 (Old svn revision: 29815)
1493 commit d9c02640e57298a9531fffa72dab0ee6e82b152a
1494 Author: Jannis Pohlmann <jannis@xfce.org>
1495 Date: Tue Apr 14 22:25:39 2009 +0000
1497 * thunar/thunar-gio-extensions.c: Add new functions
1498 g_file_new_for_desktop() and g_file_is_desktop().
1499 * thunar/thunar-shortcuts-model.c: Monitor ~/.gtk-bookmarks using
1500 GFileMOnitor instead of ThunarVfsMonitor. Replace all ThunarVfsPath
1501 references with equivalent code based on GFile.
1503 (Old svn revision: 29814)
1505 commit f087b78e20a01a36265041bbb75fc38510686c22
1506 Author: Jannis Pohlmann <jannis@xfce.org>
1507 Date: Tue Apr 14 16:00:38 2009 +0000
1509 * thunar/thunar-preferences.c: Monitor thunarrc with GFileMonitor
1510 instead of ThunarVfsMonitor. All ThunarVFS references removed from
1513 (Old svn revision: 29798)
1515 commit 6ba9f96db7e8fc67fa94abf60007d61ffd7a0489
1516 Author: Jannis Pohlmann <jannis@xfce.org>
1517 Date: Mon Apr 13 19:45:33 2009 +0000
1519 * thunar/thunar-sendto-model.c: Monitor sendto/ directories with
1520 GFileMonitor instead of ThunarVfsMonitor.
1522 (Old svn revision: 29797)
1524 commit 03451f3505ef1e90702f658cfbde5f3a4f88346a
1525 Author: Jannis Pohlmann <jannis@xfce.org>
1526 Date: Mon Apr 13 15:00:58 2009 +0000
1528 * thunar/thunar-icon-factory.c: Replace ThunarVfsFileTime with
1530 * thunar/thunar-path-entry.c, thunar/thunar-util.{c,h}: Replace
1531 thunar_vfs_expand_filename() with thunar_util_expand_filename().
1532 * thunar/thunar-renamer-model.c: Use GFile instead of ThunarVfsPath in
1533 trm_same_directory().
1535 (Old svn revision: 29795)
1537 commit 44db6cfd1566c1133ade8acb96f73abab9f94f56
1538 Author: Jannis Pohlmann <jannis@xfce.org>
1539 Date: Mon Apr 13 11:37:18 2009 +0000
1541 * thunar/thunar-permissions-chooser.c: Rename all occurances of
1542 ThunarVfsFileMode to ThunarFileMode.
1544 (Old svn revision: 29794)
1546 commit c81f1fae9a8c34745be7332a3bbae6d1f0a6c362
1547 Author: Jannis Pohlmann <jannis@xfce.org>
1548 Date: Mon Apr 13 11:30:35 2009 +0000
1550 * thunar/thunar-renamer-dialog.c: Use a GFile instead of a
1551 ThunarVfsPath list in thunar_renamer_dialog_drag_data_received().
1553 (Old svn revision: 29793)
1555 commit 9c10f796f1f98217d05bf08d14c0772caa6826d1
1556 Author: Jannis Pohlmann <jannis@xfce.org>
1557 Date: Mon Apr 13 11:22:23 2009 +0000
1559 * thunar/thunar-list-model.c: Remove all ThunarVFS references left.
1561 (Old svn revision: 29792)
1563 commit 31bbf10286b658cb7d3e5d9ebb138717daef02aa
1564 Author: Jannis Pohlmann <jannis@xfce.org>
1565 Date: Mon Apr 13 11:10:50 2009 +0000
1567 * thunar/thunar-chooser-dialog.c: Expand the recommended/other rows
1568 properly after initializing the ThunarChooserModel.
1570 (Old svn revision: 29791)
1572 commit ab565658a66212304bdb961c1ea0d1a8bdf99a94
1573 Author: Jannis Pohlmann <jannis@xfce.org>
1574 Date: Mon Apr 13 02:59:04 2009 +0000
1576 * configure.in.in: Bump exo dependency for the "gicon" property of
1577 ExoCellRendererIcon.
1578 * thunar/main.c: Set the desktop environment for GDesktopAppInfo if
1579 gio-unix is available.
1580 * thunar/thunar-chooser-dialog.c, thunar-chooser-model.{c,h}: Replace
1581 all ThunarVfsMime* references with code based on GAppInfo. Use the
1582 new "gicon" property of ExoCellRendererIcon. Only regression is that
1583 there is no way to check whether a GAppInfo was created by the user
1586 (Old svn revision: 29790)
1588 commit 9af7ecc485a9d2d6aa39c497df96c3cbbc556125
1589 Author: Jannis Pohlmann <jannis@xfce.org>
1590 Date: Sun Apr 12 23:59:06 2009 +0000
1592 * thunar/thunar-properties-dialog.c: Remove ThunarVfsMimeInfo and use
1593 a content type string in thunar_properties_dialog_update().
1595 (Old svn revision: 29788)
1597 commit c9fbf9d27f119c1a5236b50ffcd33c5aee51831f
1598 Author: Jannis Pohlmann <jannis@xfce.org>
1599 Date: Sun Apr 12 23:44:41 2009 +0000
1601 * thunar/thunar-create-dialog.{c,h}: Replace the ThunarVfsMimeInfo
1602 member/property of ThunarCreateDialog with a content type string
1603 member/property. Rename thunar_create_dialog_{get,set}_mime_info()
1604 to thunar_create_dialog_{get,set}_content_type().
1605 * thunar/thunar-location-buttons.c, thunar/thunar-standard-view.c,
1606 thunar/thunar-tree-view.c: Update calls to
1607 thunar_show_create_dialog() to use a content type string rather than
1610 (Old svn revision: 29787)
1612 commit cb9b7fddab33abacea39e8df12f350fe90a9eca1
1613 Author: Jannis Pohlmann <jannis@xfce.org>
1614 Date: Sun Apr 12 18:07:32 2009 +0000
1616 * thunar/thunar-chooser-button.c: Don't leak GAppInfos in
1617 thunar_chooser_button_pressed().
1619 (Old svn revision: 29783)
1621 commit c42d3cf427845e3647d87ac4f296e61728a830e0
1622 Author: Jannis Pohlmann <jannis@xfce.org>
1623 Date: Sun Apr 12 16:37:06 2009 +0000
1625 * thunar/thunar-chooser-button.c: Migrate ThunarChooserButton from
1626 ThunarVFS to GIO, using GAppInfo instead if ThunarVfsMime* classes.
1628 (Old svn revision: 29782)
1630 commit 20404ab67d887082de76aa826df11c7bde8e2f56
1631 Author: Jannis Pohlmann <jannis@xfce.org>
1632 Date: Sun Apr 12 14:00:11 2009 +0000
1634 * thunar/thunar-file.{c,h}: Use GFileMonitor instead of
1635 ThunarVfsMonitor for monitoring a ThunarFile. Rewrite
1636 thunar_file_monitor(), remove thunar_file_watch_handle_quark and
1637 thunar_file_watch_free(). Add GFileMonitor member to ThunarFile.
1638 Make thunar_file_info_get_name() use thunar_file_get_basename().
1639 * thunar/thunar-gio-extensions.c: Don't escape URIs when appending
1640 them to the string in g_file_list_to_string(). This seems to break
1643 (Old svn revision: 29781)
1645 commit 9c1dc5e841e5cbe048401b824ed504c0d008e518
1646 Author: Jannis Pohlmann <jannis@xfce.org>
1647 Date: Sun Apr 12 12:44:31 2009 +0000
1649 * thunar/thunar-application.c, thunar/thunar-file.{c,h},
1650 thunar/thunar-list-model.c, thunar/thunar-properties-dialog.c:
1651 Make thunar_file_get_original_path() and
1652 thunar_file_get_symlink_target() to return const strings. Update
1653 ThunarApplication, ThunarListModel and ThunarPropertiesDialog to
1654 reflect these changes. Implement thunar_file_is_trashed(),
1655 thunar_file_is_desktop_file() and thunar_file_get_display_name()
1656 based on GIO. Remove thunar_file_read_link().
1658 (Old svn revision: 29780)
1660 commit 61f4342c1d2b6956103f7abc03fccf18c6dcd242
1661 Author: Jannis Pohlmann <jannis@xfce.org>
1662 Date: Sun Apr 12 01:02:59 2009 +0000
1664 * thunar/thunar-file.{c,h}: Re-implement thunar_file_is_local(),
1665 thunar_file_is_ancestor(), thunar_file_is_executable(),
1666 thunar_file_is_readable(), thunar_file_is_writable(),
1667 thunar_file_is_hidden(), thunar_file_is_home(),
1668 thunar_file_is_regular() and thunar_file_dup_uri() based on GIO.
1670 (Old svn revision: 29775)
1672 commit e7784e8a578d134abfa713af269676e0ff8dfb67
1673 Author: Jannis Pohlmann <jannis@xfce.org>
1674 Date: Sun Apr 12 00:33:36 2009 +0000
1676 * thunar/thunar-file.{c,h}: Add GFileInfo filesystem info member to
1677 ThunarFile. Initialize it in thunar_file_load(), otherwise make sure
1678 it's set to NULL. Make thunar_file_get_default_handler(),
1679 thunar_file_get_kind(), thunar_file_get_mode(),
1680 thunar_file_get_free_space(), thunar_file_is_directory() real
1681 functions and make them use GFile/GFileInfo.
1682 * thunar/thunar-list-model.c, thunar/thunar-properties-dialog.c: Use
1683 guint64 instead of ThunarVfsFileSize. Use g_file_size_humanize()
1684 instead of thunar_vfs_humanize_size().
1686 (Old svn revision: 29774)
1688 commit 48747413bd71424be0bac641b0fa1939d8669ad8
1689 Author: Jannis Pohlmann <jannis@xfce.org>
1690 Date: Sat Apr 11 23:31:23 2009 +0000
1692 * thunar/thunar-clipboard-manager.c: Use a GFile list and
1693 thunar_file_list_to_g_file_list() instead of the ThunarVFS
1694 equivalents in thunar_clipboard_manager_get_callback().
1696 (Old svn revision: 29773)
1698 commit 899117959b11fb3f629dba56a4b63388dd5e9cd2
1699 Author: Jannis Pohlmann <jannis@xfce.org>
1700 Date: Sat Apr 11 23:04:06 2009 +0000
1702 * thunar/thunar-file.{c,h}: Add new or re-implement the functions or
1703 macros thunar_file_get_content_type(),
1704 thunar_file_get_symlink_target(), thunar_file_get_basename(),
1705 thunar_file_is_symlink(), thunar_file_get_size() based on GIO.
1706 * thunar/thunar-list-model.c: Re-implement
1707 thunar_list_model_get_value() based on the new/changed functions.
1708 Same goes for sort_by_file_name(), sort_by_mime_type(),
1709 sort_by_type() and thunar_list_model_get_statusbar_text() which are
1710 almost ThunarVFS-free now.
1712 (Old svn revision: 29772)
1714 commit 8f019912a7b8d12da5c67e12a989e7aa5763afbc
1715 Author: Jannis Pohlmann <jannis@xfce.org>
1716 Date: Sat Apr 11 22:04:43 2009 +0000
1718 * thunar/thunar-path-entry.c: Re-implement
1719 thunar_path_entry_drag_data_get(), thunar_path_entry_changed() and
1720 thunar_path_entry_set_current_file() with GFile. file:// URI
1721 completion doesn't work yet.
1723 (Old svn revision: 29771)
1725 commit e32404588460e2d1bf9a8ec6b0c03927e3a09401
1726 Author: Jannis Pohlmann <jannis@xfce.org>
1727 Date: Sat Apr 11 21:42:51 2009 +0000
1729 * thunar/thunar-file.c, thunar/thunar-metafile.{c,h}: Migrate
1730 ThunarMetadata to GIO. Update ThunarFile to pass the GFile instead
1731 of ThunarVfsPath to thunar_metafile_fetch() and
1732 thunar_metafile_store().
1733 * thunar/thunar-tree-model.c: Re-implement thunar_tree_model_init()
1734 based on GFile. Unfortunately this breaks the trash (again) and thus
1735 the whole tree view.
1737 (Old svn revision: 29770)
1739 commit c6ed49a26ffdd0bb8d0dd8fd3ad508f37e40890b
1740 Author: Jannis Pohlmann <jannis@xfce.org>
1741 Date: Sat Apr 11 21:07:38 2009 +0000
1743 * thunar/thunar-trash-action.c: Replace all ThunarVfsPath references
1746 (Old svn revision: 29769)
1748 commit 68405b0aadf49a56ab735eaf764f0be21591254d
1749 Author: Jannis Pohlmann <jannis@xfce.org>
1750 Date: Sat Apr 11 19:56:14 2009 +0000
1752 * thunar/thunar-file.c: Add assertion to thunar_file_load() to see for
1753 which files it fails rather than to see that in some random function
1755 * thunar/thunar-window.c: Re-implement thunar_window_open_trash()
1757 * thunar/thunar-file.c: Fix segfault in thunar_file_get().
1759 (Old svn revision: 29768)
1761 commit d2deb320ee648fcff44d0e43598de0a48986ee53
1762 Author: Jannis Pohlmann <jannis@xfce.org>
1763 Date: Sat Apr 11 19:45:00 2009 +0000
1765 * thunar/thunar-file.c: Fix segfault in thunar_file_get().
1766 * thunar/thunar-window.c: Re-implement
1767 thunar_window_open_user_folder() based on GFile.
1769 (Old svn revision: 29767)
1771 commit 40e32768214dc42bf803c28b8b91766b22fb7405
1772 Author: Jannis Pohlmann <jannis@xfce.org>
1773 Date: Sat Apr 11 19:10:11 2009 +0000
1775 * thunar/thunar-file.{c,h}: Add new function thunar_file_get(GFile*).
1776 Internally this still uses thunar_file_load() and can thus block the
1777 UI. For the sake of a smoother transition, asynchronous loading will
1778 be implemented at a later stage.
1779 * thunar/thunar-window.c: Re-implement thunar_window_open_home() based
1780 on thunar_file_get().
1782 (Old svn revision: 29766)
1784 commit 81521de0364c1e7331f22ce69b058457cbec2ed9
1785 Author: Jannis Pohlmann <jannis@xfce.org>
1786 Date: Sat Apr 11 18:51:09 2009 +0000
1788 * thunar/thunar-file.c: Tweak thunar_file_is_desktop() a little bit.
1789 * thunar/thunar-window.c: Re-implement
1790 thunar_window_setup_user_dir_menu_entries() based on GFile. Remove
1791 the special code for GLib < 2.14.
1793 (Old svn revision: 29765)
1795 commit df3ee89bcf60f0b528d59f28d36582f650c106d9
1796 Author: Jannis Pohlmann <jannis@xfce.org>
1797 Date: Sat Apr 11 16:33:07 2009 +0000
1799 * thunar/thunar-file.{c,h}: Change thunar_file_get_custom_icon() to
1800 return a newly allocated string instead of a const one. Re-implement
1801 thunar_file_get_icon_name() based on GFileInfo and GThemedIcon. It
1802 now returns a string that has to be freed.
1803 * thunar/thunar-icon-factory.c, thunar/thunar-location-button.c,
1804 thunar/thunar-properties-dialog.c: Avoid leaks by freeing the
1805 strings returned by thunar_file_get_custom_icon() and
1806 thunar_file_get_icon_name().
1807 * thunar/thunar-launcher.c, thunar/thunar-sendto-model.c: Remove debug
1810 (Old svn revision: 29764)
1812 commit d892663ba804c9bf7c87379cb51d4568faea0b15
1813 Author: Jannis Pohlmann <jannis@xfce.org>
1814 Date: Sat Apr 11 15:36:06 2009 +0000
1816 * configure.in.in, thunar/Makefile.am: Add optional dependency on
1818 * thunar/thunar-launcher.c, thunar/thunar-sendto-model.c: Load sendto
1819 handlers using GDesktopAppInfo (only supported on UNIX for whatever
1820 reason). Update ThunarLauncher to use GAppInfo for handlers
1821 retrieved from ThunarSendtoModel. Unfortunately, GIO doesn't support
1822 checking whether a GAppInfo supports more than one file argument.
1823 There's also no way to find out what MIME types a GAppInfo supports
1824 which forces us to drop a few nice sanity checks in
1825 thunar_sendto_model_get_matching().
1827 (Old svn revision: 29763)
1829 commit 8f5c684d809c454521d822147de8efee70896511
1830 Author: Jannis Pohlmann <jannis@xfce.org>
1831 Date: Sat Apr 11 14:45:15 2009 +0000
1833 * thunar/thunar-file.{c,h}: Add new macro
1834 thunar_file_get_default_handler() for querying the default GAppInfo
1835 to handle a ThunarFile. Use it in thunar_file_launch(). Fix pointer
1836 corruption issue thunar_file_reload(). Re-implement
1837 thunar_file_list_get_applications() based on GFileInfo/GAppInfo. Add
1838 new method thunar_file_list_to_g_file_list() as the GFile equivalent
1839 to thunar_file_list_to_path_list(). Add new macro
1840 thunar_file_get_file() to get the GFile for a ThunarFile.
1841 * thunar/thunar-gio-extensions.{c,h}: Add new function
1842 g_file_list_append() to append a GFile to a GFile list.
1843 * thunar/thunar-launcher.c: Replace most occurances of
1844 ThunarVfsMimeHandler with GAppInfo based on the changes made to
1845 ThunarFile. This currently breaks ThunarSendtoModel which will be
1848 (Old svn revision: 29762)
1850 commit 42b0bbd32d3db03f294fecb33f3cf82ed5718461
1851 Author: Jannis Pohlmann <jannis@xfce.org>
1852 Date: Fri Apr 10 23:51:35 2009 +0000
1854 * thunar/thunar-file.{c,h}: Re-implement thunar_file_get_size_string()
1855 based on GFileInfo and the new function g_file_size_humanize().
1856 Re-implement thunar_file_get_deletion_date(),
1857 thunar_file_get_original_path() as well. They currently fail because
1858 there are no GFileInfos for objects in the Thunar trash at the
1859 moment. Also rewrite thunar_file_is_desktop() and make sure to
1860 reload the GFileInfo in thunar_file_reload().
1861 * thunar/thunar-gio-extensions.{c,h}: Add new method
1862 g_file_size_humanize() to create nice file size labels.
1864 (Old svn revision: 29761)
1866 commit 4b710bcb1fc82a79bc6521eebbfc9e3ab78630f3
1867 Author: Jannis Pohlmann <jannis@xfce.org>
1868 Date: Fri Apr 10 23:14:49 2009 +0000
1870 * thunar/thunar-file.{c,h}: Re-implement thunar_file_get_parent(),
1871 thunar_file_launch(), thunar_file_is_root() and
1872 thunar_file_has_parent() based on GFile/GFileInfo/GAppInfo.
1873 * thunar/thunar-gio-extensions.c: Fix problem in g_file_is_root().
1875 (Old svn revision: 29760)
1877 commit ffe9d1a1e3e3ec40d753ce1c33e0db0fdee3eda1
1878 Author: Jannis Pohlmann <jannis@xfce.org>
1879 Date: Fri Apr 10 22:31:19 2009 +0000
1881 * thunar/thunar-file.{c,h}: Replace all occurances of
1882 ThunarVfsFileMode with ThunarFileMode, which is the same, just moved
1883 from ThunarVFS into thunar-file.h. Re-implement
1884 thunar_file_info_get_name(), thunar_file_info_get_uri(),
1885 thunar_file_info_get_parent(), thunar_file_info_get_uri_scheme(),
1886 thunar_file_info_get_mime_type() and
1887 thunar_file_info_has_mime_type() based on GFile/GFileInfo.
1889 (Old svn revision: 29759)
1891 commit a27ecf7448921e07e64efe6ea5cce7be57630ede
1892 Author: Jannis Pohlmann <jannis@xfce.org>
1893 Date: Fri Apr 10 22:00:47 2009 +0000
1895 * thunar/Makefile.am, thunar/thunar-file.{c,h},
1896 thunar/thunar-list-model.c, thunar/thunar-permissions-chooser.c,
1897 thunar/thunar-user.{c,h}: Move ThunarVfsUserManager, ThunarVfsUser
1898 and ThunarVfsGroup into Thunar, renaming them to ThunarUserManager,
1899 ThunarUser and ThunarGroup. Update the Thunar code to reflect this
1902 (Old svn revision: 29758)
1904 commit b889fee30a083e56c33ce82d13964f559f022ce5
1905 Author: Jannis Pohlmann <jannis@xfce.org>
1906 Date: Fri Apr 10 21:14:07 2009 +0000
1908 * thunar/thunar-file.{c,h}: Use GFile in thunar_file_atexit_foreach().
1909 When finalizing, creating or loading a ThunarFile, check whether the
1910 GFileInfo is NULL before unref'ing it. Use the GFile member instead
1911 of the ThunarVfsPath in thunar_file_rename(). Tweak
1912 thunar_file_accepts_drop() so that it converts the ThunarVfsPath
1913 elements of the path list into GFile objects for everything. This
1914 will make the transition away from ThunarVfsPath easier later.
1915 Rewrite thunar_file_is_trashed() so that it uses
1916 g_file_is_trashed().
1917 * thunar/thunar-gio-extensions.{c,h}: Add new function
1918 g_file_is_trashed() which checks whether a GFile resides in the
1920 * thunar/thunar-launcher.c, thunar/thunar-location-buttons.c,
1921 thunar/thunar-properties-dialog.c, thunar/thunar-shortcuts-view.c,
1922 thunar/thunar-standard-view.c, thunar/thunar-tree-model.c,
1923 thunar/thunar-tree-view.c, thunar/thunar-window.c: Include
1924 thunar-gio-extensions.h to compile with thunar_file_is_trashed().
1926 (Old svn revision: 29757)
1928 commit bdf7cb149ec8541b67da5a6ded6a4cf86d6e907e
1929 Author: Jannis Pohlmann <jannis@xfce.org>
1930 Date: Fri Apr 10 20:32:31 2009 +0000
1932 * thunar/thunar-dnd.c, thunar/thunar-standard-view.c,
1933 thunar/thunar-tree-view.c, thunar/thunar-window.c: Use
1934 thunar_file_cache_lookup_path() instead of
1935 thunar_file_cache_lookup().
1936 * thunar/thunar-file.{c,h}: Add new function thunar_file_load() for
1937 loading the GFileInfo of a ThunarFile synchronously. Use it in
1938 thunar_file_get_for_info() to load GIO data for a ThunarFile in
1939 addition to ThunarVFS information. Use GFile for the keys of the
1940 file cache and change the function signature of
1941 thunar_file_cache_lookup(). Add thunar_file_cache_lookup_path() for
1942 a smoother transition.
1944 (Old svn revision: 29756)
1946 commit 3b6b9a37d140fc7ef5a9b6e5adc74212f30d0414
1947 Author: Jannis Pohlmann <jannis@xfce.org>
1948 Date: Fri Apr 10 19:42:52 2009 +0000
1950 * thunar/thunar-gio-extensions.c: Remove unused variable in
1951 g_file_list_new_from_string().
1953 (Old svn revision: 29755)
1955 commit 90e6364192d4b37ddd6133d1acca4a24c1c8eae4
1956 Author: Jannis Pohlmann <jannis@xfce.org>
1957 Date: Fri Apr 10 19:42:47 2009 +0000
1959 * thunar/Makefile.am, thunar/thunar-gio-extensions.{c,h}: Add a set of
1960 functions extending the GIO API, like g_file_new_for_home(),
1961 g_file_list_new_from_string(), g_file_list_to_string() and more.
1963 (Old svn revision: 29754)
1965 commit bb915fe25b700d2ff9d2c7aec2c5652c0e84da65
1966 Author: Jannis Pohlmann <jannis@xfce.org>
1967 Date: Fri Apr 10 19:42:40 2009 +0000
1969 * AUTHORS: Put my name in. Yeah, yeah ...
1970 * configure.in.in, thunar/Makefile.am, thunarx/Makefile.am: Add
1971 dependency on GIO. Bump required GTK+/GLib version to 2.14/2.16.
1973 (Old svn revision: 29753)
1975 commit 762433ead3396bdbdff8d7b6b7aad634bada9d11
1976 Author: Jannis Pohlmann <jannis@xfce.org>
1977 Date: Thu Apr 9 21:49:51 2009 +0000
1979 * README: Add information about the purpose of this branch and
1982 (Old svn revision: 29746)
1984 commit 7891db503e2772d7329cd845995809623faab480
1985 Author: Jannis Pohlmann <jannis@xfce.org>
1986 Date: Thu Apr 9 21:43:36 2009 +0000
1988 Create branch migration-to-gio
1990 (Old svn revision: 29745)