-
Notifications
You must be signed in to change notification settings - Fork 62
/
ChangeLog.gio-migration
1990 lines (1541 loc) · 82 KB
/
ChangeLog.gio-migration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit abe57845eb7620894a2e4c09769857d16b63d2f1
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 16:32:43 2009 +0200
Fix crash in the URI completion of the path entry. Patch by Nick.
commit 62ad9ea08c84849d6e4384e03f58ec29295c2b5a
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 16:19:02 2009 +0200
Properly support startup notify when opening files or the bulk renamer.
When calling thunar from the command line, it now uses the
DESKTOP_STARTUP_ID environment variable and passes it to the functions
responsible to open/execute files and to open the bulk renamer.
An additional startup id paremeter is added to the functions
thunar_application_bulk_rename()
thunar_application_open_window()
thunar_application_process_filenames()
thunar_file_launch()
thunar_show_renamer_dialog()
thunar_dbus_client_launch_files()
thunar_dbus_service_launch_files()
as well as to the following D-Bus methods:
org.xfce.FileManager.Launch()
org.xfce.Thunar.BulkRename()
org.xfce.Thunar.LaunchFiles()
This was made possible by Nick who provided the entire patch.
commit 91a9e1cb861d4331164a886c032a83efc8862644
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 16:09:26 2009 +0200
Fetch po-doc/*.po files from master. Drop po-doc/LINGUAS.
commit f466f34d6eaec7d40e709364da006f97e048e53d
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 05:55:49 2009 +0200
Fetch translations from master.
commit 56708e9e6a73d063357be717d12e19de21899e00
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 05:53:34 2009 +0200
Really minor changes.
commit fa99ba46e9bd63cd2ba5e9dfbfcd4282f3d330d0
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 05:31:14 2009 +0200
Prefix g_file* functions with thunar_ to avoid conflicts.
commit 9412b3e8d8f6193b503aea6d0464d5da8e7a1ccb
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 05:30:51 2009 +0200
Depend on GLib/GIO 2.18.
commit 3f90607afcc272eb021aa00f3ef8e36544aa07aa
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 05:06:51 2009 +0200
In the open action, resolve them one after another, then open/execute.
This is similar as the ThunarApplication code dealing with opening
multiple files (usually at startup). Files are poked/resolved
asynchronously one after another until there's nothing left to resolve.
Then the old open/execute code kicks in.
commit d2dd00573f2900af759f312d9d963d2b975d2839
Author: Jannis Pohlmann <[email protected]>
Date: Fri Aug 21 05:05:22 2009 +0200
Use new xdt-autogen features. Drop the LINGUAS file and THUNAR_VERINFO.
commit c8af60f515e4b293d47f5a5ccd0ebe3b916f9cfd
Author: Jannis Pohlmann <[email protected]>
Date: Wed Aug 19 03:32:37 2009 +0200
Tweak and add the .gitignore file.
commit 6ae73a21b90d35dd024ea248997ba5760f704de2
Author: Jannis Pohlmann <[email protected]>
Date: Mon Aug 17 00:46:29 2009 +0200
Add GIO >= 2.18 functions to thunar-gio-extensions.{c,h}.
This includes: g_file_monitor(), g_file_query_file_type() and
g_file_make_directory_with_parents(). Needs testing.
commit 179bced1e1dce8fb4de08462b15630ec6f9f3e40
Author: Jannis Pohlmann <[email protected]>
Date: Mon Aug 17 00:44:20 2009 +0200
Really get rid of the INSTALL file.
commit ad654af892d44b6393655face8ed88859e6f2706
Author: Jannis Pohlmann <[email protected]>
Date: Mon Aug 17 00:02:18 2009 +0200
Avoid GIO 2.20 symbols. Avoid INSTALL file being tracked.
commit 0f916f1581462526c0cbc84ab7f08ced4b9a2c0f
Author: Jannis Pohlmann <[email protected]>
Date: Sun Aug 16 00:04:37 2009 +0200
Same as before. Forgot to add these files.
commit 4234139ddc3fe3ab20ec9b08540bd2389869f71c
Author: Jannis Pohlmann <[email protected]>
Date: Sun Aug 16 00:01:36 2009 +0200
Drop g_file_size_humanize(), use g_format_size_for_display() instead.
commit 577080d1d35de25942d2ec3cf6b4b24cf6a0c129
Author: Jannis Pohlmann <[email protected]>
Date: Thu Aug 13 16:02:26 2009 +0200
Drop exo_gtk_object_ref_sink and exo_gtk_radio_action_set_current_value.
Use g_object_ref_sink() and gtk_radio_action_set_current_value()
instead.
Conflicts:
thunar/thunar-templates-action.c
commit 621c0f4b44e7536d0a1f12a804eab332f596b0a3
Author: Jannis Pohlmann <[email protected]>
Date: Thu Aug 13 02:42:30 2009 +0200
Don't depend on an SVN revision of exo-1. Compiles, installs and runs.
commit f337590df872cad44fbe5f335f0696a07b7d02de
Author: Jannis Pohlmann <[email protected]>
Date: Thu Aug 13 02:35:25 2009 +0200
Depend on exo-1 instead of exo-0.3.
commit 278f8cefedd7a95d7185fe18c67d3a9d6871b077
Author: Jannis Pohlmann <[email protected]>
Date: Thu Aug 13 02:19:53 2009 +0200
Add module.xml.
commit 04d5a929771b0cef6f7cdcdc0001adf5f366647c
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jul 22 15:58:17 2009 +0000
* thunar/thunar-file.c: Fix typo in thunar_file_info_has_mime_type()
which caused a lot of problems. Patch by Nick.
(Old svn revision: 30378)
commit b94863fd31010cf74795d080210a433a68afb446
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jul 18 17:28:56 2009 +0000
* thunar/thunar-file.c: Only return true from
thunar_file_is_executable() if the file is either a desktop file or
is an application/x-executable or application/x-shellscript. On
Windows we use g_content_type_can_be_executable() directly instead
of checking for these two content types. Patch by Nick.
(Old svn revision: 30347)
commit 42f81cc9f1dbb0f2db1cd654fb30266f43f7faff
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jul 18 16:55:47 2009 +0000
* thunar/thunar-file.{c,h}: Introduce new function
thunar_file_same_filesystem() which uses
G_FILE_ATTRIBUTE_ID_FILESYSTEM to check whether two files reside on
the same device/filesystem. Use this to fix the copy/move decision
in thunar_file_accepts_drop().
* thunarx/thunarx-file-info.h: Add the "id" namespace to
THUNARX_FILE_INFO_NAMESPACE.
(Old svn revision: 30346)
commit b98c69ce99f209a96a6cdf90247044773429f94a
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jul 18 14:24:27 2009 +0000
* thunar/thunar-launcher.c: Make executing files work again. Note that
this only works for one selected file right now. Poking/launching
multiple files/directories still have to be worked on anyway.
(Old svn revision: 30344)
commit 3557a2c333764691943a38e70b389c84a1586ff2
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 03:07:01 2009 +0000
* po/POTFILES.in: Add thunar-settings.desktop.in.
(Old svn revision: 30066)
commit d358ea500b1788fddc3af37b90c7e7a386c0612b
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 03:01:00 2009 +0000
* po/POTFILES.in: Remove thunar-vfs source files, update those of
Thunar itself.
(Old svn revision: 30065)
commit 449e5e755d3495b7e0b12799419de1003d09c62a
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 02:53:37 2009 +0000
* docs/reference/thunarx/Makefile.am: Use THUNARX_VERSION_API instead
of THUNAR_VERSION_API.
(Old svn revision: 30064)
commit c7b32b79ccc3ea8294e9bfd23de1e9e1542cdf37
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 02:44:21 2009 +0000
* configure.in.in, Makefile.am, tests/: Remove test folder which only
tests thunar-vfs anyway.
* docs/reference/thunar-vfs/, thunar-vfs/: Remove empty folders.
(Old svn revision: 30063)
commit 4e928968f6f0639b0bec668ea470ffb28c16ad12
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 02:36:55 2009 +0000
* configure.in.in: Add header and function checks required for tdb.
(Old svn revision: 30062)
commit d3f714b7305318b3a6ab11d74381caabb689c4f3
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 02:26:54 2009 +0000
* Remove thunar-vfs. There might be some pieces left which will be
cleaned up next. Update the list of functions and headers the
configure script checks because a lot of them were only required for
thunar-vfs.
(Old svn revision: 30061)
commit a0a5032b288117c956ca2f5770b7a24783c77072
Author: Jannis Pohlmann <[email protected]>
Date: Sat Jun 20 01:07:08 2009 +0000
* Makefile.am, configure.in.in, plugins/, thunarx/, thunar/:
thunarx-1 is dead, long live thunarx-2. thunarx-2 introduces three
new functions: thunarx_file_info_get_file_info() which returns the
GFileInfo of a ThunarxFileInfo,
thunarx_file_info_get_filesystem_info() which returns a GFileInfo
with filesystem information for a ThunarxFileInfo and
thunarx_file_info_get_location() which returns the GFile the
ThunarxFileInfo refers to. thunarx-2 doesn't have
thunarx_file_info_get_vfs_info() anymore. Port all plugins shipped
with Thunar from thunarx-1 to thunarx-2. Especially thunar-uca and
thunar-sendto-email need testing due to non-trivial changes. Don't
link Thunar against ThunarVFS anymore - ALL REFERENCES ARE GONE!
(Old svn revision: 30057)
commit bc0e7621123b1ae676526dc83767a387b1e62fbf
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 19:45:24 2009 +0000
* thunar/thunar-file.c: Nothing really.
* thunar/thunar-window.c: Derive from ThunarBrowser and use
thunar_browser_poke_file() to resolve/mount files when the location
dialog is activated.
(Old svn revision: 30056)
commit bdc323b56932aadb79b9bac68713ae00c6065043
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 17:05:11 2009 +0000
* thunar/thunar-list-model.c: Fix thunar_list_model_get_value() and
thunar_list_model_get_statusbar_text() for files without content
type. Use special statusbar texts for mountables and shortcuts.
(Old svn revision: 30055)
commit 6562e9e61259aabfec6f68606306b2203b02fb24
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 17:05:07 2009 +0000
* thunar/thunar-file.c: Assume the file is read- and writable if it
has no G_FILE_ATTRIBUTE_ACCESS_CAN_READ or
G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE attribute. This usually is the
case with shortcuts and mountables. This change removes all those
irritating emblems when browsing computer://, network:// and smb://.
Only show the "drive-harddisk" icon for local root directories (this
should only be the filesystem root, not media or anything).
(Old svn revision: 30054)
commit 6cff9ccf227728ba6287fccc4124745abf6ac015
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 17:05:02 2009 +0000
* thunar/Makefile.am: Add missing entries for thunar-browser.{c,h}.
(Old svn revision: 30053)
commit 6e08fa408a7741fd2433e61334b51f8b11f03bd5
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:30 2009 +0000
* thunar/thunar-launcher.c: Derive from ThunarBrowser and use the poke
file function to resolve/mount/open the selected file, if there is
only one selected. Still need to work on selections of more files.
(Old svn revision: 30052)
commit 206199a89cf785266190716cba852befb9eaff3d
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:25 2009 +0000
* thunar/thunar-path-entry.c: Unescape URIs before displaying them.
This is to make sure we don't see things like "%20" in the location
bar/dialog.
(Old svn revision: 30051)
commit 0f8696dd6b0d3afbd44ca0f51b669ff722f60899
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:20 2009 +0000
* thunar/thunar-location-entry.c: Simplify the activate code by
deriving from ThunarBrowser and using the poke functions to mount
volumes or resolve files asynchronously and on demand.
(Old svn revision: 30050)
commit 072496c5401629bd487db3dfe266ce0d40b76ef5
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:16 2009 +0000
* thunar/thunar-shortcuts-view.c: Dramatically simplify the way
directories and volumes are mounted and opened by deriving from
ThunarBrowser and calling thunar_browser_poke_file() and
thunar_browser_poke_volume() to resolve directories and volumes
before opening them.
(Old svn revision: 30049)
commit 6ff479527e3d0fe8b7aef23326cda238522d4f19
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:11 2009 +0000
* thunar/thunar-browser.{c,h}: Add a new interface with two
convenience functions for browsing (possibly not yet mounted or
resolved) volumes and files. thunar_browser_poke_file() can be used
to asynchronously resolve shortcuts, mount mountables or enclosing
volumes. When finished, the ThunarBrowserPokeFileFunc callback is
called with the source and target file. thunar_browser_poke_volume()
mounts volumes on demand and resolves the mount point and passes it
to the ThunarBrowsePokeVolumeFunc callback. Both functions are
possibly asynchronous.
(Old svn revision: 30048)
commit 21a791b00eed0850edfaef76aecc33b32038878c
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:06 2009 +0000
* thunar/thunar-file.{c,h}: Add "mountable::*" namespace to the file
info attributes we request from the GFileInfo. In
thunar_file_load(), check for type G_FILE_TYPE_MOUNTABLE and set
is_mounted to FALSE if its G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT is
TRUE. Add function thunar_file_get_target_location() which returns
a GFile for the target location of a file of type
G_FILE_TYPE_SHORTCUT or G_FILE_TYPE_MOUNTABLE and otherwise returns
NULL. Don't assume all files have a content type - shortcuts and
mountables don't. Work around this in thunar_file_is_desktop_file()
and thunar_file_list_get_applications(). Check if we have a
GFileInfo before querying the original path in
thunar_file_get_original_path().
(Old svn revision: 30047)
commit 14a8f43e77dd7f90484f45ffe5e0f330a5b63ec7
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 19 15:34:00 2009 +0000
* thunar/thunar-file.c: Use special icon names for root folders other
than trash://: "disk-harddrive" for the local root and
"folder-remote" for root folders on other machines.
* thunar/thunar-location-button.c: Show a label even for the local
root, just to be more consistent.
(Old svn revision: 30046)
commit dc389f4e4e667bd98d735a788c26c869e638492a
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 17:57:51 2009 +0000
* thunar/thunar-shortcuts-view.c: Rework mounting and mounting + open.
Also make opening items other than volumes work asynchronously. To
do that, first check if the file to be opened is mounted already. If
that's the case, open it directly. If not, mount the enclosing
volume asynchronously and open the file in the mount callback. This
works for opening in the same or a new window.
(Old svn revision: 30045)
commit 01a7cabd0aa3544530abbd4d45bc77a205db4676
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 17:57:46 2009 +0000
* thunar/thunar-shortcuts-model.c: Minor code reorganization.
(Old svn revision: 30044)
commit 98603b95049c25b990befde368a66f35ee8db739
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 17:57:41 2009 +0000
* thunar/thunar-window.c: Split thunar_window_start_open_location()
up into three functions and load unmounted files asynchronously.
(Old svn revision: 30043)
commit d3d850ea657a35bac7c878a16364e27be0f2d9a2
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 17:57:37 2009 +0000
* thunar/thunar-location-entry.c: Check if files are mounted before
mounting their volumes asynchronously. If they are, just open them
directly. Rework the code a bit, add a new private method
thunar_location_entry_open_or_launch().
(Old svn revision: 30042)
commit 92ae8573323125744390723483818b9867261186
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 17:57:30 2009 +0000
* thunar/thunar-file.{c,h}: Add new boolean is_mounted member to
ThunarFile. It is FALSE iff the GFileInfo of the file couldn't be
loaded due to G_IO_ERROR_NO_MOUNTED. Return TRUE from
thunar_file_load() only when the file info could be loaded or the
file is not mounted yet. Use the path instead of the file:// URI for
the display name of local files. Add new method
thunar_file_is_mounted(). Add support for GFileIcons in
thunar_file_get_icon_name() by returning the path to the icon
filename if the file has a GFileIcon. Call thunar_file_reload()
instead of thunar_file_destroy() on G_FILE_MONITOR_EVENT_DELETED and
G_FILE_MONITOR_EVEN_PRE_UNMOUNT. The reload function will then
destroy the file if it doesn't exist anymore. Not mounted files will
not be destroyed though.
(Old svn revision: 30041)
commit 1f08f689e31e59b9ddb793ab013863ba669d20a9
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 00:27:48 2009 +0000
* thunar/thunar-thumbnailer.c: Make all D-Bus related code only
available when D-Bus is installed at compile time.
(Old svn revision: 30040)
commit 1dfc7e19e41ae0cbf5ddb4224edc049e55f3629a
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 00:13:13 2009 +0000
* thunar/thunar-shortcuts-view.c: Don't request context menu items
from Thunarx for files which don't exist. Reported by Nick.
(Old svn revision: 30039)
commit c42b5af8c52b9b66e2fde6e89626470241a8a936
Author: Jannis Pohlmann <[email protected]>
Date: Wed Jun 17 00:13:08 2009 +0000
* thunar/thunar-file.c: Refactor thunar_file_load() and
thunar_file_get() a bit. For now, thunar_file_load() will always
return successful, even if the GFileInfo cannot be loaded. This is
because we want ThunarFiles for remote URIs that are not yet
mounted. To compensate for that, there's a new method
thunar_file_exists() which returns TRUE iff the ThunarFile exists.
(Old svn revision: 30038)
commit a5195f410289a5d5391dd955f01687c8e43683de
Author: Jannis Pohlmann <[email protected]>
Date: Tue Jun 16 23:28:53 2009 +0000
* thunar/main.c, thunar/thunar-application.{c,h}:
thunar_application_process_filenames() now works asynchronously
because it might have to mount the enclosing volumes of one of the
filenames first (which is only possible asynchronously). Add new
method thunar_application_is_processing() which returns whether
ThunarApplication is still busy processing filenames or not. In
main(), always enter the main loop but schedule an idle source to
repeatedly check whether ThunarApplication has finished processing
the command line arguments. Once this is the case, exit if there are
no open Thunar windows. All in all, this gives us about the same
behaviour main() had before, except that it the application might
exit with a short delay. The result: Calling "thunar <remote URI>"
from the shell works now!
(Old svn revision: 30037)
commit 2758d7001d03b4381b92e3f76f32d1407c87d771
Author: Jannis Pohlmann <[email protected]>
Date: Tue Jun 16 17:50:46 2009 +0000
* thunar/thunar-location-entry.c: Split
thunar_location_entry_activate() up into two functions,
thunar_location_entry_activate() an
thunar_location_entry_activate_finished(). Use
g_file_mount_enclosing_volume() to make sure the volume is mounted
before we switch to the new directory or launch the file. Remote
machine browsing, here we come!
(Old svn revision: 30034)
commit 9e76adf70cf20caca5a1d41d833f7086d873bbcc
Author: Jannis Pohlmann <[email protected]>
Date: Tue Jun 16 17:50:39 2009 +0000
* thunar/thunar-file.c: In thunar_file_reload(), always reload the
file first, before checking if it still exists and needs to be
destroyed.
(Old svn revision: 30033)
commit d0e64d3d05f827d6cff710256e82dbf4fa0e3dcd
Author: Jannis Pohlmann <[email protected]>
Date: Tue Jun 16 10:15:06 2009 +0000
* thunar/thunar-path-entry.c: Display the local path only for native
files. If there is no path, use the URI. Always use the URI for
non-native files.
(Old svn revision: 30032)
commit f7c49838718c4a517ee1a248ed467229b20b3a0b
Author: Jannis Pohlmann <[email protected]>
Date: Mon Jun 15 23:38:26 2009 +0000
* thunar/thunar-renamer-model.c: Remove the ThunarVfsInfo member of
ThunarRenamerModelItem. Always invalidate and update the item/row
when the ThunarFile changes (unless the model is frozen of course).
ThunarRenamerModel is now ThunarVFS-free.
(Old svn revision: 30029)
commit 0c92b59eeb87c757002e0c9ba9b104bbd9354afe
Author: Jannis Pohlmann <[email protected]>
Date: Mon Jun 15 23:38:03 2009 +0000
* thunar/thunar-file.c: Use S_ISCHR, S_ISSOCK, S_ISFIFO and S_ISBLK to
generate the first character of mode strings for special/unknown
file types because we don't have THUNAR_VFS_FILE_TYPE_SOCKET etc.
anymore. There will be no replacements for THUNAR_VFS_FILE_TYPE_PORT
and THUNAR_VFS_FILE_TYPE_DOOR for now.
(Old svn revision: 30028)
commit eced573a73da912eaa920c7519f175dd6d3a7662
Author: Jannis Pohlmann <[email protected]>
Date: Mon Jun 15 23:37:41 2009 +0000
* thunar/thunar-icon-factory.c: Remove commented code.
(Old svn revision: 30027)
commit 38bd8e46728ad8481a794d9b5f8d0e582131b51d
Author: Jannis Pohlmann <[email protected]>
Date: Mon Jun 15 20:06:54 2009 +0000
* thunar/thunar-thumbnailer.c: Don't queue files that are part of an
already queued thumbnailer request or a ready idle struct. This
dramatically reduces the amount of D-Bus messages being sent.
(Old svn revision: 30026)
commit b658734d31447bbef8e536231e67f7aa2644607a
Author: Jannis Pohlmann <[email protected]>
Date: Mon Jun 15 20:06:36 2009 +0000
* thunar/thunar-icon-factory.c: Drop the ThunarVfsThumbFactory
reference. Don't cache SVGs. The number of SVGs we need to load that
are not ThunarFiles is relatively small, I don't think we need to
cache them. ThunarThumbnailer takes care of the ThunarFiles that are
SVGs. Always try to load thumbnails for files, even though their
thumbnail state is not ready. Don't use the loading icon. Together,
this reduces flicker when switching folders. ThunarIconFactory is
now ThunarVFS-free.
(Old svn revision: 30025)
commit f6c0fb741acbd09d728378b9b26bfa6e2db24c4f
Author: Jannis Pohlmann <[email protected]>
Date: Mon Jun 15 20:06:18 2009 +0000
* thunar/thunar-file.{c,h}: Add new boolean method
thunar_file_is_thumbnail() which returns TRUE if, and only if
a file resides in $HOME/.thumbnails/.
(Old svn revision: 30024)
commit 45b22dae9f2dae88d35a2f631635476664b419fc
Author: Jannis Pohlmann <[email protected]>
Date: Sun Jun 14 22:58:18 2009 +0000
* thunar/thunar-icon-factory.c: Rewrite the file icon loading process
once again, this time based on the also rewritten ThunarThumbnailer.
We first assume no thumbnail exists and use the default icon for the
MIME type. At the same time we request a thumbnail. Once the
thumbnailer has started processing the request, we change to a
loading icon. Once thumbnailer has the thumbnail ready, we change
to the thumbnail. If there's an error with the thumbnail, we
fall back to the default icon.
* thunar/thunar-image.c: Simplify this one. It now always requests the
icon from the icon factory and uses ThunarFileMonitor to watch the
file for changes. After each change it requests the icon from the
factory again. It's probably a good idea to use the thumbnailer
directly, so this will change in the future.
* thunar/thunar-list-model.c: Don't request thumbnails for the entire
content of new folders. Instead, just let the icon renderers do
their job. In the future, the model should at least unqueue all
requests for the old folder when the folder changes.
* thunar/thunar-thumbnailer.{c,h}: Rewrite the class entirely. It does
asynchronous D-Bus calls now and uses idle sources for updating the
thumbnail state of the ThunarFiles for which it requests the
thumbnails. It doesn't emit any signals anymore. In the future,
there should be a method to cancel all requests made by a component
for a certain base URI, so that we can cancel all pending requests
when leaving a folder.
(Old svn revision: 30018)
commit 7e42b87d40571721183f85e709a93585b503215f
Author: Jannis Pohlmann <[email protected]>
Date: Sun Jun 14 22:58:11 2009 +0000
* thunar/thunar-file.{c,h}: Emit a ThunarFileMonitor "file-changed"
signal whenever the thumbnail state of a ThunarFile is changed. This
helps all components in refreshing their file information and
possibly update the file icon.
(Old svn revision: 30017)
commit 436f408ead26fa33b7a5609f24372c18750d4f28
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 12 01:09:47 2009 +0000
* thunar/Makefile.am, thunar/thunar-thumbnailer-manager-dbus.xml: Add
XML D-Bus information for the org.freedesktop.thumbnails.Manager
interface.
* thunar/thunar-thumbnailer.{c,h}: Start implementing the client side
of the org.freedesktop.thumbnails.Manager interface. Add new method
thunar_thumbnailer_file_is_supported() which requests the supported
content types from the thumbnailer manager on demand and checks if
the content type of a ThunarFile is a subtype of any of these. Use
this in thunar_thumbnailer_queue_files() and
thunar_thumbnailer_queue_file() to filter out files which
are not supported by the thumbnailer anyway. Make queue requests
fail when there are no supported files in the request.
(Old svn revision: 30002)
commit b1508ea84c8717590f144248cfc236ec48560740
Author: Jannis Pohlmann <[email protected]>
Date: Fri Jun 12 00:21:23 2009 +0000
* Makefile.am, thunar/thunar-image.{c,h},
thunar/thunar-thumbnailer-dbus.xml, thunar/thunar-thumbnailer.{c,h}:
Add two new classes ThunarImage and ThunarThumbnailer. ThunarImage
is a subclass of GtkImage which takes a ThunarFile and
asynchronously loads a thumbnail for the file using the
org.freedesktop.thumbnails.Thumbnailer D-Bus service.
ThunarThumbnailer is essentially a proxy client for this service
which adds a few convenience methods around the DBusGProxy API. It
can be used by other classes to request thumbnails over D-Bus.
* thunar/thunar-file.{c,h}: Add a new method
thunar_file_get_thumbnail_path(), which returns the thumbnail path
for a ThunarFile. GFileInfo has something similar but unfortunately
it's only set if the thumbnail exists, which means you have to
reload the GFileInfo whenever a new thumbnail has been generated ...
and unfortunately that requires a thunar_file_reload() which causes
a lot of flicker. Another new method is
thunar_file_get_preview_icon() which returns a preview GIcon that
can act as a thumbnail replacement if there is any.
* thunar/thunar-folder.c: Make sure never to emit the "files-added"
signal with an empty list.
* thunar/thunar-icon-factory.c: Use thunar_file_get_preview_icon() and
thunar_file_get_thumbnail_path() to load ThunarFile icons. Drop the
reference on ThunarThumbnailGenerator. Thumbnails are now requested
by ThunarListModel and ThunarImage instead of the icon factory.
* thunar/thunar-list-model.c: Request thumbnails from
ThunarThumbnailer whenever the "files-added" signal is emitted.
Unqueue all pending requests when the folder changes or the list
model is destroyed. Still missing: thumbnail requests after file
change events.
* thunar/thunar-marshal.list: Add another marshaller:
VOID:UINT,POINTER,UINT,STRING.
* thunar/thunar-private.h: Remove ifdefs for GLib <= 2.14.
* thunar/thunar-properties-dialog.c: Use ThunarImage for the file
icon instead of a regular GtkImage.
* thunar/thunar-thumbnail-generator.{c,h}: Remove the
ThunarThumbnailerGenerator class. We no longer need it.
(Old svn revision: 30001)
commit 038b0ce314ea485a0518699ff117ac3d998da721
Author: Jannis Pohlmann <[email protected]>
Date: Mon May 11 23:23:08 2009 +0000
* configure.in.in: Depend on libexo-0.3.101svn-r29948 for
exo_job_send_to_mainloop().
* thunar/thunar-dialogs.{c,h}, thunar/thunar-io-jobs.{c,h},
thunar/thunar-dialogs.{c,h}, thunar/thunar-properties-dialog.c,
thunar/thunar-standard-view.c, thunar/thunar-tree-view.c: Add new
simple job thunar_io_jobs_rename_file() which renames a ThunarFile
asynchronously. Make us of it in thunar_dialogs_show_rename_file()
which now launches and returns the rename job instead of calling
thunar_file_rename() directly. Update ThunarPropertiesDialog,
ThunarStandardView and ThunarTreeView to handle the error/finished
signals and destroy the job when it's finished.
* thunar/thunar-file.{c,h}: Add a GCancellable parameter and a boolean
parameter called "called_from_job". The latter is used to disable
the thunarx_file_info_renamed() and thunar_file_changed() calls. The
rename job is responsible to call these in the mainloop of the
application after the rename has succeeded.
* thunar/thunar-simple-job.{c,h}: Add new function
thunar_simple_job_get_param_values() which returns the GValueArray
created from the parameters passed to thunar_simple_job_launch().
(Old svn revision: 29949)
commit 551ba5c889690870ead0ea931187a4fc2ee02cf9
Author: Jannis Pohlmann <[email protected]>
Date: Mon May 11 01:37:08 2009 +0000
* thunar/Makefile.am, thunar/thunar-exec.{c,h}: Import thunar_exec_*()
functions from ThunarVFS. A part of that can probably be replaced
with calls to libxfce4ui.
* thunar/thunar-dialogs.{c,h}: Rename left-out THUNAR_VFS_JOB_RESPONSE*
defines to THUNAR_JOB_RESPONSE*. Remove thunar-vfs.h include.
* thunar/thunar-file.{c,h}: Remove the ThunarVfsInfo struct member of
ThunarFile. In all function calls, make sure that we don't crash if
we can't load the GFileInfo for the file. Cache the basename and
display name of the file in thunar_file_load(). If no GFileInfo is
available, try to guess them from the GFile. Use the new methods for
querying a GKeyFile for a GFile to determine the custom icon name,
if available. Cache that one, too. Remove thunar_file_get_for_info(),
thunar_file_get_for_path(), rewrite thunar_file_get_for_uri(),
rewrite thunar_file_get_parent(), thunar_file_execute() (based on
thunar_exec_*() functions), thunar_file_rename() (based on
g_file_set_display_name()), replace/disable ThunarVfsFileType
references in thunar_file_get_mode_string(), return TRUE from
thunar_file_is_executable() for .desktop files, rewrite
thunar_file_is_renamable(), thunar_file_get_custom_icon(),
thunar_file_set_custom_icon(), thunar_file_reload(), remove
thunar_file_cache_lookup_path(), thunar_file_list_to_path_list(),
thunar_file_get_path() and thunar_file_get_mime_info(). Make
thunar_file_get_info() return the GFileInfo. Rewrite
thunarx_file_info_get_vfs_info() which for now creates a new
ThunarVfsInfo and returns it. Callers now have to release the
ThunarVfsInfo later. Add GMount member to ThunarFile.
* thunar/thunar-folder.c: Make sure to set the job to NULL after
unref'ing it. Otherwise thunar_folder_get_loading() will always
return TRUE and the watch cursor won't disappear.
* thunar/thunar-gio-extensions.{c,h}: Add new functions
g_file_query_key_file() and g_file_write_key_file(). Also add
g_file_get_location() which returns a path for local files and an
URI for the rest, and g_mount_is_same_drive() which checks whether
two GMounts belong to the same GDrive.
* thunar/thunar-icon-factory.c, thunar/thunar-renamer-model.c,
thunar/thunar-thumbnail-generator.{c,h}: Migrate to the new
thunarx_file_info_get_vfs_info() function.
* thunar/thunar-list-model.c: Make sure not to crash when trying to
compare two ThunarFile of which at least one has no GFileInfo.
* thunar/thunar-metafile.{c,h}: Remove thunar-vfs.h include.
* thunar/thunar-progress-dialog.{c,h}: Use ThunarJob instead of ExoJob
whenever it is appropriate. Remove thunar-vfs.h include.
* thunar/thunar-window.c: Rewrite
thunar_window_current_directory_destroy() so that it simply searches
for the first parent directory that still exists and falls back to
$HOME otherwise.
(Old svn revision: 29935)
commit 3dea16cea8a78594885f71ea90ed042c0ee08d83
Author: Jannis Pohlmann <[email protected]>
Date: Thu May 7 16:42:51 2009 +0000
* Makefile.am, thunar/thunar-misc-jobs.{c,h}: Add new file for
miscellaneous jobs. Add new job
thunar_misc_jobs_load_template_files() which recursively loads all
template files/directories as ThunarFile objects from
G_USER_DIRECTORY_TEMPLATES.
* thunar/thunar-gio-extensions.{c,h}: Add new method
g_file_new_for_user_special_dir() which creates a GFile for a
GUserDirectory and falls back to $HOME (so it's ignored later) if
the special dir is not set.
* thunar/thunar-create-dialog.h, thunar/thunar-standard-view.c,
thunar/thunar-templates-action.c: Migrate ThunarTemplatesAction away
from ThunarVFS. Use ThunarFile instead of ThunarVfsInfo for the
"create-template" signal. Load the templates menu using
thunar_misc_jobs_load_template_files().
(Old svn revision: 29929)
commit e204e358983bf9eaa52c08833ee74376f1220654
Author: Jannis Pohlmann <[email protected]>
Date: Tue May 5 22:12:08 2009 +0000
* configure.in.in: Depend on exo-0.3.101svn-r29926 for ExoJob.
* thunar/thunar-application.c, thunar/thunar-deep-count-job.{c,h},
thunar/thunar-folder.c, thunar/thunar-io-jobs-util.c,
thunar/thunar-io-jobs.c, thunar/thunar-io-scan-directory.{c,h},
thunar/thunar-job.{c,h}, thunar/thunar-permissions-chooser.c,
thunar/thunar-progress-dialog.{c,h}, thunar/thunar-simple-job.{c,h},
thunar/thunar-size-label.c, thunar/thunar-transfer-job.c: Implement
ThunarJob based on ExoJob. Update a lot of classes to use the
equivalent ExoJob functions instead the ones from ThunarJob which
have been removed.
(Old svn revision: 29928)
commit e724285f602d64b9320019c7921aaead179bfed6
Author: Jannis Pohlmann <[email protected]>
Date: Fri May 1 00:20:23 2009 +0000
Erm, yeah. Remove duplicate ChangeLog entry.
(Old svn revision: 29923)
commit 5b136d802fdf1e5d3a2784d01a86f24a456c5496
Author: Jannis Pohlmann <[email protected]>
Date: Fri May 1 00:14:51 2009 +0000
* thunar/thunar-file.{c,h}, thnuar/thunar-standard-view.c,
thunar/thunar-util.{c,h}: Do it right this time by using guint64 and
GFileInfo instead of the ThunarVfsMimeInfo to determine the
access/changed/modified time. Update
thunar_util_humanize_file_time() to reflect this.
* thunar/thunar-standard-view.c: Rewrite tsv_reload_directory()
based on GFileMonitor.
* thunar/thunar-launcher.c: Use GVolumeMonitor/GVolume for the volume
send-to actions. Another class free of ThunarVFS.
* thunar/thunar-file.{c,h}, thunar/thunar-util.{c,h}: Do it right this
time by using guint64 and GFileInfo instead of the ThunarVfsMimeInfo
to determine the access/changed/modified time.
(Old svn revision: 29922)
commit 47028e572cd2c628bc3540d455f414cee65f2291
Author: Jannis Pohlmann <[email protected]>
Date: Thu Apr 30 13:52:42 2009 +0000
* thunar/*.c: Remove all occurances of GLIB_CHECK_VERSION() and
GTK_CHECK_VERSION() because we depend on much more recent GLib/GTK+
versions now anyway.
* thunar/thnuar-file.{c,h}, thunar/thunar-util.{c,h}: Actually, time_t
instead of guint64 is the correct type to use (fixes the previous
commit).
* thunar/thunar-window.c: Implement thunar_window_directory_destroy()
around g_file_find_enclosing_mount(). I'm not 100% happy with this
implementation but it'll do for now. Open the home directory if the
new directory cannot be determined.
(Old svn revision: 29921)
commit af96af940b198f97b441e44a2e169e41496bc695
Author: Jannis Pohlmann <[email protected]>
Date: Thu Apr 30 13:07:11 2009 +0000
* thunar/thunar-util.{c,h}: Replace ThunarVfsFileTime with guint64.
(Old svn revision: 29920)
commit 128dd5cf35dd046f1051833b7d620960f307c2e4
Author: Jannis Pohlmann <[email protected]>
Date: Thu Apr 30 13:04:36 2009 +0000
* thunar/thunar-file.{c,h}, thunar/thunar-properties-dialog.c:
Re-implement thunar_file_get_volume() around
g_file_find_enclosing_mount(). Ideally this would be asynchronous
but for now it'll stay the old way. Remove the
ThunarVfsVolumeManager member from the properties dialog. We only
need thunar_file_get_volume() here now.
(Old svn revision: 29919)
commit 4654651f01da331a4f3deaccef37298fca1f788f
Author: Jannis Pohlmann <[email protected]>
Date: Thu Apr 30 01:11:53 2009 +0000
* thunar/thunar-application.c: Replace "hal-udi" with
G_VOLUME_IDENTIFIER_KIND_HAL_UDI.
* thunar/thunar-gio-extensions.c: Change g_volume_is_removable() so
that it returns TRUE for almost all volumes. I feel that something is
very wrong in GHalVolumeManager ...
* thunar/thunar-location-entry.c: Replace ThunarVfsVolume with
GVolume. Mount+open launcher entry items asynchronously when
activated.
(Old svn revision: 29917)
commit 4763e862f282c47b9be912a351f0d3dce05be973
Author: Jannis Pohlmann <[email protected]>
Date: Wed Apr 29 16:28:31 2009 +0000
* thunar/thunar-tree-model.c, thunar/thunar-tree-view.c: Rewrite the
volume management code based on GVolumeMonitor/GVolume. This code
still has quite a few problems with trying to mount several times in
a row and mount+open doesn't seem to work.
(Old svn revision: 29916)
commit cd04fc317d3059f5086ec48deafba5df53a015b8
Author: Jannis Pohlmann <[email protected]>
Date: Wed Apr 29 16:28:21 2009 +0000
* thunar/thunar-shortcuts-view.c: Avoid segfaults due to an invalid
GtkTreeSelection being used in thunar_shortcuts_view_open_selection()
and thunar_shortcuts_view_open_selection_in_new_window(). This can
happen when the shortcuts view is essentially being destroyed but a
reference to it is still being kept for the mount/unmount/eject
handler. Increase the reference counter before passing the view to
asynchronous mount/unmount/eject functions and release the reference
in the handler.
(Old svn revision: 29915)
commit 376e32262784dd0b135f6909669926827ea3a17a
Author: Jannis Pohlmann <[email protected]>
Date: Wed Apr 29 16:24:19 2009 +0000
* thunar/thunar-shortcuts-model.c: In thunar_shortcuts_model_init()
don't increase the reference counter on the volumes, otherwise we'd
leak them here.
(Old svn revision: 29914)
commit 33f4d77acb26844548479b4942a5acb41289b2d0
Author: Jannis Pohlmann <[email protected]>
Date: Wed Apr 29 07:42:23 2009 +0000
* thunar/thunar-gio-extensions.{c,h}: Add new function
g_volume_is_present() which checks whether the GDrive of a volume
has media or not.
* thunar/thunar-shortcuts-icon-renderer.c: Use GVolume instead of
ThunarVfsVolume and create the icon by loading a GtkIconInfo based
on the volume GIcon in thunar_shortcuts_renderer_render().
* thunar/thunar-shortcuts-model.{c,h}: Use GVolumeMonitor and
GVolume/GMount instead of ThunarVfsVolumeManager/ThunarVfsVolume
everywhere.
* thunar/thunar-shortcuts-view.c: Rewrite the mount/eject/unmount code
to use GVolume/GMount. Need to review this again to make sure it
works.
* thunar/thunar-window.c: Re-implement the mount-pre-unmount signal
handler by using GVolumeMonitor/GMount.
error handling. Use thunar_file_list_free() instead of iterating over
(Old svn revision: 29913)
commit c0707c83273430b5025fd1af7cc0b13d892bf3f5
Author: Jannis Pohlmann <[email protected]>
Date: Tue Apr 28 19:55:34 2009 +0000
* thunar/thunar-io-jobs.c, thunar/thunar-io-scan-directory.c: Improve
error handling. Use thunar_file_list_free() instead of iterating over
the ThunarFile list manually. Make sure to release the
GFileEnumerator in thunar_io_scan_directory(), otherwise unmounting
volumes fails due to open file descriptors.
* thunar/thunar-job.c: Cancel jobs in thunar_job_finalize() before
destroying the GCancellable.
(Old svn revision: 29912)
commit f828793040c3e83bbb1dc3ada8677d1c8b10dac1
Author: Jannis Pohlmann <[email protected]>
Date: Tue Apr 28 16:45:32 2009 +0000
* thunar/thunar-file.{c,h}: Make the ThunarFile cache somewhat
thread-safe.
* thunar/thunar-gio-extensions.{c,h}: Add new functions
g_volume_is_removable() and g_volume_is_mounted().
(Old svn revision: 29911)
commit 2a24b4ad8f05dbfd586c0738f970e06ce88e327c
Author: Jannis Pohlmann <[email protected]>