Doc update
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
2
3         * gfile.c: (g_file_replace):
4         Doc update
5
6 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
7
8         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
9
10         * gfile.c (file_copy_fallback): Fix the argument order. Patch
11         by Christian Kellner.
12
13 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
14
15         * gunixmounts.c: (g_unix_mount_guess_should_display):
16         Don't list the user directory as a mount, fix potential issue
17         when other users have a similar naming and don't special case the
18         gvfs mounts there since that's not required (#525866)
19
20 2008-03-31  Alexander Larsson  <alexl@redhat.com>
21
22         * glocalfile.c (get_parent):
23         Don't leak parent.
24         
25 2008-03-31  A. Walton  <awalton@svn.gnome.org>
26
27         * gfile.c (g_file_query_file_type):
28         Always return a GFileType enum value (#520715).
29
30 2008-03-31  Alexander Larsson  <alexl@redhat.com>
31
32         * glocalfileenumerator.c:
33         Read readdir() info in chunks (of 1000) and sort
34         the chunks by inode before stat:ing.
35         This is a 20% performance increase in testing
36         gvfs-ls on /usr/bin with cold cache.
37
38 2008-03-31  Alexander Larsson  <alexl@redhat.com>
39
40         * gmemoryoutputstream.c:
41         Clarify docs for g_memory_output_stream_get_size.
42         Add g_memory_output_stream_get_data_size.
43
44 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
45
46         * gio.symbols:
47         * gfile.c:
48         * gfile.h: Add g_file_query_file_type convenience function
49         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
50
51 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
52
53         * gfileenumerator.c:
54         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
55
56 2008-03-28  A. Walton  <awalton@svn.gnome.org>
57
58         * giomodule.c (_g_io_modules_ensure_loaded):
59         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
60         #523039.
61
62 2008-03-28  Alexander Larsson  <alexl@redhat.com>
63
64         * gfile.c:
65         (copy_stream_with_progress):
66         Fix up last commit.
67         
68 2008-03-28  Alexander Larsson  <alexl@redhat.com>
69
70         * gfile.c:
71         (copy_stream_with_progress):
72         (file_copy_fallback):
73         Fallback to g_file_query_info for source size
74         if g_file_input_stream_query_info fails. (#524579)
75
76 2008-03-28  Alexander Larsson  <alexl@redhat.com>
77
78         * glocalfile.c (g_local_file_move):
79         Reuse old string instead of adding new one.
80
81 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
82
83         * fen/*.[hc]: still copyright issue. I hate copyright.
84
85 2008-03-27  Alexander Larsson  <alexl@redhat.com>
86
87         * glocalfile.c (g_local_file_move):
88         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
89         file over directory. This is according to the docs and what the move via
90         copy+remove fallback does.
91
92 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
93
94         * fen/*.[hc]: Updated copyright.
95
96 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
97
98         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
99
100 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
101
102         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
103         not emit attribute changed events when optimizing changed events.
104         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
105         warning messages.
106
107 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
108
109         * gmountoperation.[hc]: Small documentation additions
110
111 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
112
113         * gunixmounts.c: (guess_mount_type): 
114         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
115
116 2008-03-19  Alexander Larsson  <alexl@redhat.com>
117
118         * gfile.c:
119         (copy_stream_with_progress):
120         Bump block side for copy to 64k to minimize
121         overhead for low latency links. (#523015)
122
123 2008-03-16  Tor Lillqvist  <tml@novell.com>
124
125         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
126         depend on gio.def on Windows.
127
128 2008-03-12  David Zeuthen  <davidz@redhat.com>
129
130         * gio.symbols:
131         * gunixmounts.[ch]:
132         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
133
134 2008-03-14  Alexander Larsson  <alexl@redhat.com>
135
136         * gunixmounts.c:
137         (guess_mount_type):
138         Avoid redudant tests (#521851)
139         Patch from Josselin Mouette
140
141 2008-03-14  Alexander Larsson  <alexl@redhat.com>
142
143         * gfilemonitor.c:
144         (g_file_monitor_is_cancelled):
145         Fix C89 issue (#521672)
146         Patch from Jens Granseuer
147
148 2008-03-14  Alexander Larsson  <alexl@redhat.com>
149
150         * fam/fam-helper.[ch]:
151         * fam/fam-module.c:
152         Shut down fam (including removing fam GSource) when
153         module is unloaded (#521513)
154         Patch from Joe Marcus Clarke   
155
156 2008-03-14  Alexander Larsson  <alexl@redhat.com>
157
158         * giomodule.c:
159         (_g_io_modules_ensure_loaded):
160         Fix up FEN ifdefs
161
162 2008-03-14  Alexander Larsson  <alexl@redhat.com>
163
164         * glocalfile.c:
165         (g_local_file_query_filesystem_info):
166         Use right define name for f_fstypename member check
167
168 2008-03-14  Alexander Larsson  <alexl@redhat.com>
169
170         * Makefile.am:
171         * fen/Makefile.am: Added.
172         * fen/fen-data.[ch]: Added.
173         * fen/fen-dump.[ch]: Added.
174         * fen/fen-helper.[ch]: Added.
175         * fen/fen-kernel.[ch]: Added.
176         * fen/fen-missing.[ch]: Added.
177         * fen/fen-node.[ch]: Added.
178         * fen/fen-sub.[ch]: Added.
179         * fen/gfendirectorymonitor.[ch]: Added.
180         * fen/gfenfilemonitor.[ch]: Added.
181         * giomodule.c:
182         Added Solaris FEN file notification backend.
183         Patch from Lin Ma <Lin.Ma@Sun.COM>
184
185 2008-03-13  Tor Lillqvist  <tml@novell.com>
186
187         * Makefile.am: Actually use the gio.def file when linking the
188         library on Windows. Produce .lib library for Microsoft's toolchain
189         when possible. Install the .lib and .def file like for the other
190         libraries of GLib.
191
192 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
193
194         * tests/live-g-file.c:
195         Include live-g-file in standard set of tests, making a temporary
196         directory in source structure.
197         
198         Clean target directory before the tests (write mode only)
199
200 2008-03-12  Tor Lillqvist  <tml@novell.com>
201
202         Bug 517419 - gio win32 directory monitor
203         Implementation by Vlad Grecescu.
204         
205         * win32/Makefile.am
206         * win32/gwin32directorymonitor.h
207         * win32/gwin32directorymonitor.c: New files.
208
209         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
210
211         * Makefile.am: Add the win32 subdirectory.
212
213 2008-03-12  Tor Lillqvist  <tml@novell.com>
214
215         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
216         normal struct stat on Unix but struct _stati64 on Windows to have
217         access to 64-bit file size information. Use that instead of struct
218         stat in the functions declared here in this private header.
219
220         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
221         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
222         warnings about unused functions and variables. Don't set
223         meaningless attributes like inode numbers on Windows.
224
225 2008-03-12  Benjamin Otte  <otte@gnome.org>
226
227         * gvfs.h:
228         trim whitespace so gtk-doc groks the function name
229
230 2008-03-12  Tor Lillqvist  <tml@novell.com>
231
232         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
233         returning FALSE, on Win32.
234
235 2008-03-11  Alexander Larsson  <alexl@redhat.com>
236
237         * glocalfile.c:
238         * glocalfileinfo.[ch]:
239         Correctly implement can_trash by actually
240         looking for a trash dir, not just assuming
241         one exists.
242
243 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
244         
245         * === Released 2.16.1 ===
246
247 2008-03-11  Alexander Larsson  <alexl@redhat.com>
248
249         * gthemedicon.c:
250         Fix crashes in new constructor and properties code
251
252 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
253
254         * gfile.c: Minor spelling correction in documentation:
255         existance -> existence.
256
257 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
258
259         * === Released 2.16.0 ===
260
261 2008-03-10  Matthias Clasen <mclasen@redhat.com>
262
263         * gio.symbols: Remove g_file_contains_file here, too.
264
265 2008-03-10  Matthias Clasen <mclasen@redhat.com>
266
267         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
268         Samuel Cormier-Iijima)
269
270 2008-03-08  Tor Lillqvist  <tml@novell.com>
271
272         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
273         winnt.h. (#521145)
274
275 2008-03-07  Alexander Larsson  <alexl@redhat.com>
276
277         * glocalfile.c:
278         (g_local_file_query_filesystem_info):
279         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
280         Patch from Jasper Lievisse Adriaanse
281
282 2008-03-06  Tor Lillqvist  <tml@novell.com>
283
284         * gfileinfo.h: Correct milliseconds to microseconds in the doc
285         comments for the *_USEC attributes.
286
287 2008-03-06  Alexander Larsson  <alexl@redhat.com>
288
289         * gfile.c (g_file_query_exists):
290         Add g_return_val_if_fail check (#520700)
291
292 2008-03-06  Alexander Larsson  <alexl@redhat.com>
293
294         * gdesktopappinfo.c:
295         * gfilemonitor.c:
296         * gthemedicon.c:
297         * gunionvolumemonitor.c:
298         * gunixmounts.c:
299         * tests/g-file.c:
300         * tests/live-g-file.c:
301         * xdgmime/xdgmimecache.c:
302         Fix sparse warnings (#519489)
303
304 2008-03-05  Alexander Larsson  <alexl@redhat.com>
305
306         * gfilemonitor.c:
307         Make cancellation threadsafe (i.e.
308         guarantee its only done once, and always
309         done)
310         
311         * glocaldirectorymonitor.c:
312         Make sure we the monitor lives while the
313         mounts_changed callback is being called (#520484)
314
315 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
316
317         * gbufferedinputstream.c: Fix typo in parameter
318         documentation.
319
320 2008-03-04  Alexander Larsson  <alexl@redhat.com>
321
322         * gfile.c:
323         Remove deprecated symbols we kept for one release.
324
325 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
326
327         * ginputstream.c:
328         * goutputstream.c: Tiny documentation corrections.
329
330 2008-03-03  Alexander Larsson  <alexl@redhat.com>
331
332         * gunionvolumemonitor.c:
333         * gvolumemonitor.h:
334         Fix the adopt_orphan_mount vfunc to take a
335         volume_monitor reference in an ABI compat way.
336         This change is not API compat, but the added
337         arg is not used in the only user of this vfunc, so
338         all we get is a harmless warning in gvfs (#520169)
339         
340 2008-03-01  Benjamin Otte  <otte@gnome.org>
341
342         * gfile.c:
343         clarify docs for g_file_delete().
344
345 2008-02-29  Alexander Larsson  <alexl@redhat.com>
346
347         * glocalfileinfo.c:
348         (get_content_type):
349         Make sure empty files get text/plain type (#518720)
350
351 2008-02-27  Alexander Larsson  <alexl@redhat.com>
352
353         * gcontenttype.c:
354         Fix type warnings
355         
356         * gunixvolume.c:
357         (g_unix_volume_mount):
358         Add missing GMountMountFlags argument
359
360 2008-02-26  Alexander Larsson  <alexl@redhat.com>
361
362         * glocalfile.c:
363         (g_local_file_delete):
364         Handle filesystems (like ntfs-3g) that return EEXIST instead
365         of ENOTEMPTY (#518816)
366
367 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
368
369         * === Released 2.15.6 ===
370
371 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
372
373         * gfile.c (g_file_find_enclosing_mount):
374         * ginputstream.c (g_input_stream_set_pending):
375         * glocalfile.c (g_local_file_find_enclosing_mount):
376         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
377         * goutputstream.c (g_output_stream_set_pending):
378
379         Fixup translator comments (#518578).
380
381 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
382
383         * gfile.c (g_file_find_enclosing_mount):
384         * giomodule.c:
385         * glocalfile.c (g_local_file_find_enclosing_mount):
386         * goutputstream.c:
387
388         Fix a few typos in translator comments and documentation.
389
390 2008-02-25  Alexander Larsson  <alexl@redhat.com>
391
392         * gfile.c:
393         * ginputstream.c:
394         * glocalfile.c:
395         * gmount.c:
396         * goutputstream.c:
397         Add translator comments (#518578)
398
399 2008-02-25  Alexander Larsson  <alexl@redhat.com>
400
401         * gfile.c:      
402         Reintroduce g_file_contains_file, keep around for one
403         unstable release cycle to avoid crashing to many apps.
404         Make sure to delete after release.
405
406 2008-02-25  Alexander Larsson  <alexl@redhat.com>
407
408         * gfile.[ch]:
409         Remove deprecated g_file_contains_file.
410
411 2008-02-25  Alexander Larsson  <alexl@redhat.com>
412
413         * gfilemonitor.c:
414         Emit actual change signals in an idle handler.
415         This avoids reentrance and locking problems in
416         the file notification backends.
417         
418 2008-02-25  Alexander Larsson  <alexl@redhat.com>
419
420         * gunixmounts.c:
421         (g_unix_mount_guess_should_display):
422         Remove type guessing, instead just display
423         mounts in /media and in ~/.
424
425 2008-02-25  Alexander Larsson  <alexl@redhat.com>
426
427         * glocalfile.c:
428         Make new strings reuse old ones.
429         
430 2008-02-25  Alexander Larsson  <alexl@redhat.com>
431
432         * glocalfile.c:
433         Implement trashing and filesystem::readonly for win32 (#517235)
434         Patch from Yevgen Muntyan
435
436 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
437
438         * gfileinfo.h: Documentation fixes.
439
440 2008-02-22  Alexander Larsson  <alexl@redhat.com>
441
442         * gcontenttype.c (g_content_type_get_icon):
443         Look at old-style gnome mime icon names too, as many
444         have not moved to the new style.
445
446 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
447
448         * *.c: Correct the @include in for section docs.
449
450 2008-02-21  David Zeuthen  <davidz@redhat.com>
451
452         * glocalfileinfo.c: (_g_local_file_info_get):
453         * gcontenttype.c:
454         (g_content_type_get_icon): Implement this function by
455         moving bits from glocalfileinfo.c
456         (g_content_type_get_description): Unalias before getting
457         description (#517687)
458
459         * gfile.c: (g_file_class_init),
460         (g_file_query_filesystem_info_async),
461         (g_file_query_filesystem_info_finish),
462         (query_filesystem_info_data_free),
463         (query_filesystem_info_async_thread),
464         (g_file_real_query_filesystem_info_async),
465         (g_file_real_query_filesystem_info_finish):
466         * gfile.h: Implement async version of
467         g_file_query_filesystem_info()
468
469         * gfileinfo.h: Add new attributes for filesystem::use-preview
470
471         * gio.symbols: Update
472
473         * gthemedicon.c: (g_themed_icon_append_name):
474         * gthemedicon.h: Add new new convenience function.
475
476         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
477         (get_mounts), (get_volumes), (get_connected_drives),
478         (get_volume_for_uuid), (get_mount_for_uuid),
479         (g_union_volume_monitor_init), (populate_union_monitor),
480         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
481         (g_volume_monitor_adopt_orphan_mount):
482         * gvolumemonitor.c:
483         * gvolumemonitor.h: Use recursive locks so it's safe for volume
484         monitor implementations to call into the main volume monitor. Also
485         separate object initialization and volume monitor initialization
486         such that non-native volume monitors can properly adopt their
487         mounts away.
488
489 2008-02-21  Alexander Larsson  <alexl@redhat.com>
490
491         * gfile.c:
492         Fix doc typo
493         
494 2008-02-21  Alexander Larsson  <alexl@redhat.com>
495
496         * gfile.c:
497         Add more documentation about how GFiles work (from #517086)
498
499 2008-02-21  Alexander Larsson  <alexl@redhat.com>
500
501         * gfile.[ch]:
502         * gio.symbols:
503         Add new g_file_has_prefix that does the same as g_file_contains_file.
504         Deprecate g_file_contains_file and add a macro that converts
505         it to g_file_has_prefix.
506         The reason for this change is that the contains_file() name seems to
507         imply that this does more work than what it does, but its really only
508         a name match (from #517086)
509         
510         * gdummyfile.c:
511         * glocalfile.c:
512         * tests/g-file.c:
513         Update to match the above change.
514
515 2008-02-20  Benjamin Otte  <otte@gnome.org>
516
517         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
518         (g_file_eject_mountable):
519         even more cases of not returning in error path
520
521 2008-02-20  Benjamin Otte  <otte@gnome.org>
522
523         * gfile.c: (g_file_mount_mountable): 
524         return from function in error path.
525
526 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
527
528         * gfile.h:
529          Remove trailing coma in GMountMountFlags struct
530
531 2008-02-18  Alexander Larsson  <alexl@redhat.com>
532
533         * glocalfile.c:
534         * glocalfileinfo.c:
535         * glocalfileoutputstream.c:
536         Use g_unlink/g_rename instead of unlink/rename;
537         do not pass raw filenames to g_set_error. (#517239)
538         Patch from Yevgen Muntyan.
539
540 2008-02-18  Alexander Larsson  <alexl@redhat.com>
541
542         * glocalfile.c:
543         * glocalfileoutputstream.c:
544         Open files with O_BINARY on windows. (#517140)
545
546 2008-02-14  Alexander Larsson  <alexl@redhat.com>
547
548         * glocalfileoutputstream.c:
549         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
550
551 2008-02-14  Alexander Larsson  <alexl@redhat.com>
552
553         * glocalfile.c:
554         Copy permissions with file on copy (#514084)
555         This is what cp does and makes sure e.g. the
556         exec permissions are kept.
557         Its kinda weird in that it keeps the permission bits
558         the same while the uid and gid are different. However
559         the new uid is the user so its not a security issue,
560         and I've heard no complaints about cp on this issue.
561
562 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
563
564         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
565
566 2008-02-13  Alexander Larsson  <alexl@redhat.com>
567
568         * inotify/inotify-path.c:
569         Define IN_ONLYDIR if not in header (#515346)
570
571 2008-02-12  Alexander Larsson  <alexl@redhat.com>
572
573         * tests/live-g-file.c:
574         C89 fixes (#515892)
575
576 2008-02-11  Matthias Clasen <mclasen@redhat.com>
577
578         * === Released 2.15.5 ===
579
580 2008-02-11  Matthias Clasen <mclasen@redhat.com>
581
582         * gio.symbols: Add g_mount_mount_flags_get_type.
583
584 2008-02-11  Alexander Larsson  <alexl@redhat.com>
585
586         * gfileinfo.c:
587         (g_file_info_set_attribute_mask):
588         (g_file_attribute_matcher_matches_id):
589         Correctly handle NULL GAttributeMatcher meaning
590         matches nothing. (Fixes #513492)
591
592 2008-02-11  Alexander Larsson  <alexl@redhat.com>
593
594         * gfile.[ch]:
595         * gmount.[ch]:
596         * gvolume.[ch]:
597         Added GMountMountFlags enum and added a flags
598         argument to all mount calls.
599         
600         This is an API/ABI change for future extensibility,
601         as I think we will need at least an
602         inhibit-autorun flag (the panel needs this).
603         There are no flags defined yet though.
604
605 2008-02-11  Alexander Larsson  <alexl@redhat.com>
606
607         * gfileinfo.h:
608         Added new standard::description attribute.
609         Requested by Vincent, and useful for both
610         panel and nautilus
611
612 2008-02-11  Alexander Larsson  <alexl@redhat.com>
613
614         * gdesktopappinfo.c:
615         Minor docs cleanup
616
617 2008-02-11  Matthias Clasen <mclasen@redhat.com>
618
619         * *.c: Documentation additions
620
621 2008-02-10  Matthias Clasen <mclasen@redhat.com>
622
623         * gappinfo.h: Formatting cleanup
624         * gappinfo.c: Fix up docs.
625
626 2008-02-09  Matthias Clasen <mclasen@redhat.com>
627
628         * gunixmounts.c: Consistently use getmntent_r() and fall
629         back to getmntent().  (#515492)
630
631 2008-02-09  Matthias Clasen <mclasen@redhat.com>
632
633         * gbufferedinputstream.c:
634         * ginputstream.c:
635         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
636
637         * tests/data-input-stream.c:
638         * tests/data-output-stream.c: Portability fixes.
639
640 2008-02-08  Alexander Larsson  <alexl@redhat.com>
641
642         * gio.symbols: 
643         * gunixvolume.c:
644         * gvolume.[ch]:
645         Add g_volume_should_automount.
646         Docs needed.
647
648 2008-02-07  Tor Lillqvist  <tml@novell.com>
649
650         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
651         Win32, too Unix-specific.
652
653 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
654
655         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
656         a local plt if the compiler doesn't support what we want.  Bug #514702
657
658 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
659
660         reviewed by: <delete if not using a buddy>
661
662         * gfile.c:
663         * gunixinputstream.c:
664         * gunixoutputstream.c:
665
666 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
667
668         * tests/Makefile.am:
669         * tests/live-g-file.c:
670         * tests/live-g-file.txt:
671         New GIO testing module working over real data
672
673 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
674
675         * glocalfileoutputstream.c (g_local_file_output_stream_close):
676         Fallback to rename() if link() is not available
677         (when no support on target filesystem)
678
679 2008-02-06  Michael Natterer  <mitch@imendio.com>
680
681         * gfileinfo.c (g_file_info_get_icon): replace
682         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
683
684 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
685
686         * gfile.c (g_file_create):
687         Documentation update of error codes
688
689 2008-02-06  Alexander Larsson  <alexl@redhat.com>
690
691         * gdesktopappinfo.c:
692         Update to use both mimeapps.list and
693         defaults.list as discussed on xdg list.
694
695 2008-02-06  Benjamin Otte  <otte@gnome.org>
696
697         * gasyncresult.c:
698         * gfilenamecompleter.c:
699         Fix some typos in the documentation.
700
701 2008-02-06  Alexander Larsson  <alexl@redhat.com>
702
703         * glocalfile.c (g_local_file_trash):
704         Don't succeed with trash if newly created
705         trash dir has the wrong owner. (#514696)
706
707 2008-02-05  Alexander Larsson  <alexl@redhat.com>
708
709         * glocalfile.c (g_local_file_move):
710         Don't spew warnings when destination is not
711         a GLocalFile.
712
713 2008-02-03  Hans Breuer  <hans@breuer.org>
714
715         * makefile.msc : update
716
717 2008-02-01  Michael Natterer  <mitch@imendio.com>
718
719         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
720         return value of xdg_mime_list_mime_parents() to a variable of the
721         correct type.
722
723 2008-02-01  Alexander Larsson  <alexl@redhat.com>
724
725         * gappinfo.c (g_app_info_launch_uris):
726         Actually call the launch_uris method, not
727         launch.
728
729 2008-02-01  Alexander Larsson  <alexl@redhat.com>
730
731         * gdesktopappinfo.c (g_desktop_app_info_equal):
732         Ensure appinfos with no id but same pointer value
733         compare equal
734
735 2008-02-01  Alexander Larsson  <alexl@redhat.com>
736
737         * gappinfo.c (g_app_info_launch_default_for_uri): 
738         Don't leak appinfo.
739         
740 2008-02-01  Alexander Larsson  <alexl@redhat.com>
741
742         * gappinfo.[ch]:
743         * gio.symbols:
744         Add g_app_info_launch_default_for_uri utility
745         function. (#513256)
746
747 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
748
749         * gdesktopappinfo.c:
750         Doc fix for g_app_info_get_default_for_uri_scheme ()
751         Bug #513483.
752
753 2008-01-30  Alexander Larsson  <alexl@redhat.com>
754
755         * gappinfo.c:
756         Add doc comment about uris vs GFiles to
757         g_app_info_launch()
758         
759         * gdesktopappinfo.c:
760         Ensure uris passed to g_app_info_launch_uris()
761         are not roundtriped through GFile (as that
762         may be slightly destructive for e.g. mailto: links)
763
764 2008-01-30  Alexander Larsson  <alexl@redhat.com>
765
766         * tests/data-input-stream.c:
767         * tests/data-output-stream.c:
768         C89 fixes from Jens Granseuer (#512849)
769
770 2008-01-30  Alexander Larsson  <alexl@redhat.com>
771
772         * fam/fam-helper.c:
773         Fix gamin/fam difference build issue. (#509419)
774
775 2008-01-29  Alexander Larsson  <alexl@redhat.com>
776
777         * gappinfo.h:
778         * gdesktopappinfo.c:
779         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
780
781 2008-01-29  Alexander Larsson  <alexl@redhat.com>
782
783         * gdesktopappinfo.c:
784         * gdesktopappinfo.h:
785         giomodule-priv.h include moved to .c file.
786
787 2008-01-29  Alexander Larsson  <alexl@redhat.com>
788
789         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
790         Remove unused prio/name fields.
791
792 2008-01-29  Alexander Larsson  <alexl@redhat.com>
793
794         * gcontenttype.c (looks_like_text):
795         Don't treat whitespace as control chars.
796
797 2008-01-29  Alexander Larsson  <alexl@redhat.com>
798
799         * gdesktopappinfo.c:
800         Lazily create the desktop files for appinfos created
801         by g_app_info_create_from_commandline() when needed
802         for mime associations. This allows run-time use
803         of GAppInfo object without creating unnecessary
804         files on disk.
805
806 2008-01-29  Alexander Larsson  <alexl@redhat.com>
807
808         * gio.symbols:
809         Added new symbols to gio.symbols
810
811 2008-01-29  Alexander Larsson  <alexl@redhat.com>
812
813         * gfile.[ch]:
814         Add g_file_query_default_handler utility to easily look up
815         the GAppInfo that handles a file.
816         
817         * gdesktopappinfo.[ch]:
818         * giomodule.c:
819         Set up an extension point for g_app_info_get_default_for_uri_scheme()
820         
821         * gvfs.c:
822         Remove unused function
823
824 2008-01-29  Alexander Larsson  <alexl@redhat.com>
825
826         * gfileenumerator.c:
827         Mention need to free returned value in
828         g_file_enumerator_next_files_finish docs.
829         Fix leak if g_file_enumerator_next_files_finish()
830         not called.
831
832 2008-01-29  Alexander Larsson  <alexl@redhat.com>
833
834         * gcontenttype.c:
835         (_g_unix_content_type_get_parents):
836         Use list_parents, not get_parents from xdgmime, because
837         the later doesn't use the cache.
838         
839         * xdgmime/xdgmimecache.c:
840         (_xdg_mime_cache_list_mime_parents):
841         Don't list the same type as parent multiple times.
842
843 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
844
845         * === Released 2.15.4 ===
846
847 2008-01-28  Alexander Larsson  <alexl@redhat.com>
848
849         * glocalvfs.c:
850         Register local vfs with prio 0.
851         
852         * gvfs.h:
853         Remove old name and prio class members
854
855 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
856
857         * tests/g-file.c: Disable some tests that are failing in
858         the absence of a http backend.
859
860 2008-01-28  Alexander Larsson  <alexl@redhat.com>
861
862         * giomodule.[ch]:
863         * gio.symbols:
864         Add registration hooks for extension points.
865         Register the gio extension points.
866         
867         * fam/gfamdirectorymonitor.c:
868         * fam/gfamfilemonitor.c:
869         * glocaldirectorymonitor.[ch]:
870         * glocalfilemonitor.[ch]:
871         * gnativevolumemonitor.h:
872         * gunionvolumemonitor.c:
873         * gunixvolumemonitor.c:
874         * gvfs.[ch]:
875         * gvolumemonitor.h:
876         * inotify/ginotifydirectorymonitor.c:
877         * inotify/ginotifyfilemonitor.c:
878         Use the extension points registration instead
879         of g_type_children().
880
881 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
882         
883         * gdrive.[hc]: 
884         * gvolume.[hc]: Document new API. 
885
886         * gfile.c (g_file_copy_async): Fix docs
887
888 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
889
890         * gbufferedinputstream.c:
891         * ginputstream.c:
892         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
893         __FUNCTION__.
894         
895 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
896
897         * glocalfile.c: Avoid trivial differences in translatable strings.
898
899 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
900
901         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
902         build with gcc 3.4  (#509419)
903
904 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
905
906         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
907         (#509994, Murray Cumming)
908
909 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
910
911         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
912         * gioscheduler.c: Keep calling io jobs until they return FALSE;
913         this allows big jobs to be executed in chunks, instead of blocking
914         the main loop for a long time.
915
916         * gsimpleasyncresult.c:
917         * giofile.c: Adapt callers.
918
919 2008-01-25  Alexander Larsson  <alexl@redhat.com>
920
921         * gdesktopappinfo.c:
922         Implement changes discussed on xdg list.
923         Now we can add supported mimetypes by just using defaults.list
924         We can also remove associations in defaults.list.
925
926 2008-01-25  Alexander Larsson  <alexl@redhat.com>
927
928         * gdesktopappinfo.c:
929         Don't make local copy of desktop file
930         for mimetype changes if the file already
931         supports the new mimetype.
932
933 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
934
935         * ginputstream.c:
936         * goutputstream.c:
937         * gbufferedinputstream.c:
938         * glocalfile.c: String improvements.  (#511966, 
939          Theppitak Karoonboonyanan)
940
941 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
942
943         * gioscheduler.h: Expand docs a bit.
944
945 2008-01-24  Alexander Larsson  <alexl@redhat.com>
946
947         * gdrive.[ch]:
948         Add g_drive_get_identifier and
949         g_drive_enumerate_identifiers
950
951         * gvolume.[ch]:
952         Add g_volume_get_identifier and
953         g_volume_enumerate_identifiers
954         
955         * gio.symbols:
956         Add symbols
957         
958         * gunixvolume.c:
959         Implement identifiers for unix backend
960
961 2008-01-24  Alexander Larsson  <alexl@redhat.com>
962
963         * gfile.[ch]:
964         * gfile.h:
965         * gio.symbols:
966         Add g_file_copy_async() (#511580)
967         Based on patch from Carlos Garcia Campos
968
969 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
970
971         * gioscheduler.c: Some documentation additions.
972
973 2008-01-22  Alexander Larsson  <alexl@redhat.com>
974
975         * gdesktopappinfo.c:
976         (g_desktop_app_info_new):
977         Don't leak basename.
978         
979 2008-01-22  Alexander Larsson  <alexl@redhat.com>
980
981         * gdesktopappinfo.c:
982         (g_desktop_app_info_new_from_filename):
983         Don't leak GKeyFile
984
985 2008-01-22  Alexander Larsson  <alexl@redhat.com>
986
987         * glocalfileinfo.c (get_thumbnail_attributes):
988         Fix leak of uri
989
990 2008-01-22  Alexander Larsson  <alexl@redhat.com>
991
992         * glocalfile.c:
993         (canonicalize_filename):
994         Canonicalize paths that start with more than
995         two slashes.
996         
997         * tests/g-file.c:
998         (compare_two_files):
999         (test_g_file_new_for_path):
1000         Test the above
1001
1002 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1003
1004         * glocalfile.c:
1005         Allow UTF-8 in file:// parse names.
1006         
1007         * tests/Makefile.am:
1008         * tests/data-input-stream.c:
1009         * tests/data-output-stream.c:
1010         * tests/g-file-info.c:
1011         * tests/g-file.c:
1012         Added a bunch of tests from Tomas Bzatek
1013
1014 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1015
1016         * === Released 2.15.3 ===
1017
1018 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1019
1020         * gfileinputstream.[ch]:
1021         * gfileoutputstream.[ch]:
1022         * gio.symbols:
1023         Remove duplicated GSeekable functions. (#509990)
1024         Just use the g_seekable_xxx() calls instead.
1025
1026 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1027
1028         * glocal*.c:
1029         * gvolumemanager.c: Whitespace cleanups.
1030
1031         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1032         Use the right mode when creating the file.
1033
1034 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
1035
1036         * gfileenumerator.c:
1037         * gfileinputstream.c:
1038         * ginputstream.c:
1039         * goutputstream.c: Documentation: Fixed minor typos 
1040         and added more mentions of specific _finish() functions.
1041
1042 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1043
1044         * inotify/Makefile.am:
1045         * inotify/inotify-helper.c:
1046         * inotify/inotify-kernel.c:
1047         * inotify/inotify-path.c:
1048         * inotify/local_inotify.h: Removed.
1049         * inotify/local_inotify_syscalls.h: Removed.
1050         Removed the included copies of the inotify
1051         headers. We now only use the <sys/inotify.h>
1052         header which exists on modern systems.
1053         This fixes problems on ARM and SH5 (#510448)
1054         but is also generally much cleaner and future
1055         safe. For instance, if other OSes add support
1056         for inotify it should "just work".
1057
1058 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1059
1060         * inotify/*.c: Coding style fixes.
1061         * inotify/inotify-missing.c: Use g_timeout_add_seconds
1062         for the 1/4 Hz timer.
1063
1064 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1065
1066         * gfile.c:
1067         * gfilemonitor.[hc]:
1068         * gmemoryinputstream.c:
1069         * gmemoryoutputstream.c:
1070         * gmountoperation.c:
1071         * gthemedicon.c: Documentation updates
1072
1073 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
1074
1075         * gfile.c: documentation: Fixed more minor 
1076         typos.
1077
1078 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1079
1080         * gmount.c: (g_mount_remount): documentation: 
1081         Mention g_mount_remount_finish() instead of 
1082         g_mount_unmount_finish().
1083
1084 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1085
1086         * gappinfo.c:
1087         * gcancellable.c:
1088         * gfile.c: Fixed some minor typos in the 
1089         documentation. 
1090
1091 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1092
1093         * gio/gvolumemonitor.c: 
1094         (g_volume_monitor_get_connected_drives): 
1095         (g_volume_monitor_get_volumes): 
1096         (g_volume_monitor_get_mounts): Documentation: 
1097         Clarify the ownership of the regurn GLists.
1098
1099 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1100
1101         * gfile.h:
1102         Add the async find_enclosing_mount version
1103         to the header file too.
1104
1105 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1106
1107         * gfile.c:
1108         Add async version of find_enclosing_mount
1109         with default implementation.
1110
1111 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1112
1113         * gfile.c:
1114         (g_file_copy):
1115         (g_file_move):
1116         Allow calls to implementation of copy and write
1117         even if the type of the file implementations is
1118         different. This can be used to implement native
1119         upload and download calls in a vfs.
1120         
1121         * glocalfile.c:
1122         (g_local_file_move):
1123         Protect against the case where move is called
1124         with one file not being local.
1125         
1126         Make sure we call the progress callback once
1127         in the native move operation so that the caller
1128         knows how many bytes were copied.
1129
1130 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
1131
1132         * gappinfo.c:
1133         * gdatainputstream.c:
1134         * gfile.c:
1135         * gfileoutputstream.c:
1136         * ginputstream.c:
1137         * gmount.c:
1138         * goutputstream.c:
1139         * gseekable.c:
1140         * gunixmounts.c: Corrected some typos in the documentation:
1141         occured -> occurred.
1142         its -> it's (where appropriate).
1143
1144 2008-01-16  Alexander Larsson  <alexl@redhat.com>
1145
1146         * gfile.[ch]:
1147         * gio.symbols:
1148         Add g_file_query_exists (#508771)
1149
1150 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
1151
1152         * gdrive.c:
1153         * gfile.c:
1154         * gmount.c:
1155         * gvolume.c: For async functions that have no non-async 
1156         version, document that the GAsyncReadyCallback may be NULL.
1157         Bug #509626.
1158
1159 2008-01-15  Alexander Larsson  <alexl@redhat.com>
1160
1161         * gmemoryinputstream.c:
1162         * gmemoryoutputstream.c:
1163         Don't do pointer arithmetic on void * (#508602)
1164         Patch from Kazuki IWAMOTO
1165
1166 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
1167
1168         * === Released 2.15.2 ===
1169
1170 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1171
1172         * gfile.c (g_file_monitor_file):
1173         Don't set error here, since we fallback to polling monitor.
1174
1175 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1176
1177         * gfile.[ch]:
1178         (g_file_monitor_directory):
1179         (g_file_monitor_file):
1180         Add GError to file monitor calls
1181         
1182         * glocaldirectorymonitor.c:
1183         * glocaldirectorymonitor.h:
1184         * glocalfile.c:
1185         * glocalfilemonitor.c:
1186         * glocalfilemonitor.h:
1187         * gunixmounts.c:
1188         Update for above change
1189
1190 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1191
1192         * glocalfile.c:
1193         (match_prefix):
1194         Handle root correctly in g_file_get_relative_path (#508719)
1195
1196 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1197
1198         * gasyncresult.c:
1199         Clean up docs and example for GAsyncResult (#508074)
1200
1201 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
1202
1203         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
1204         and correct some spelling mistakes. Bug #508108.
1205
1206 2008-01-11  Matthias Clasen <mclasen@redhat.com>
1207
1208         * glocalfileinfo.c: Add a comment.
1209
1210 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
1211
1212         * gfileinfo.c: GFileInfo description: Mention 
1213         how to actually set attributes in a GFile and how to discover 
1214         which attributes are settable. Bug #508378.
1215
1216 2008-01-10  A. Walton  <awalton@svn.gnome.org>
1217
1218         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1219         (g_app_info_get_default_for_type):
1220         Check for NULL content types.
1221
1222 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
1223
1224         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1225
1226 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
1227
1228         * gfile.c: *_async() functions: Several small corrections 
1229         to the documentation, mostly correcting copy/paste errors 
1230         and improving some sentences.
1231
1232 2008-01-09  Dan Winship  <danw@gnome.org>
1233
1234         * glocalfile.c (get_unique_filename): x86_64 fix
1235
1236 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1237
1238         * gio.symbols:
1239         * gunixmount.c:
1240         * gunixmounts.[ch]:
1241         Add g_unix_mount_guess_should_display and use
1242         for unix volume monitor backend.
1243         This means we more or less show what the
1244         gnome-vfs backend did.
1245         Based on patch from Padraig O'Briain
1246
1247 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1248
1249         * gio.symbols:
1250         * gthemedicon.[ch]:
1251         Add g_themed_icon_new_with_default_fallbacks
1252         
1253         * gunixmounts.c:
1254         Use default fallbacks for icons
1255
1256 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1257
1258         * gio-marshal.list:
1259         * gmountoperation.[ch]:
1260         Change the API a bit so that unhandled methods
1261         get reported via the reply, rather than by
1262         the signal emission return value. This is because
1263         some handlers can't know this immediately without
1264         doing I/O, and this is an async operation that
1265         should not block.
1266
1267 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1268
1269         * fam/fam-helper.c:
1270         * fam/gfamdirectorymonitor.c:
1271         * fam/gfamfilemonitor.c:
1272         Fix double free crash (#508224)
1273         Patch from Joe Marcus Clarke
1274
1275 008-01-07  Matthias Clasen  <mclasen@redhat.com>
1276
1277         * === Released 2.15.1 ===
1278
1279 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1280
1281         * gunixinputstream.c (g_unix_input_stream_skip_finish):
1282         Fix warning (#507835)
1283
1284 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1285
1286         * Makefile.am:
1287         Pass --internal to glib-genmarshal
1288         
1289         * gfilemonitor.c:
1290         * gmountoperation.c:
1291         * gio-marshal.list:
1292         Use better types for signal arguments (#507822)
1293
1294 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1295
1296         * Makefile.am:
1297         Build test subdir after .
1298         Remove gdirectorymonitor.[ch]
1299         
1300         * gdirectorymonitor.[ch]:
1301         * gfilemonitor.c:
1302         * gfile.[ch]:
1303         * gio.h:
1304         Remove GDirectoryMonitor and make
1305         GFileMonitor the baseclass for both file and
1306         directory monitors. Lift the more generic
1307         rate limiting code from GDirectoryMonitor
1308         into GFileMonitor.
1309         
1310         * fam/fam-helper.c:
1311         * fam/gfamdirectorymonitor.[ch]:
1312         * inotify/ginotifydirectorymonitor.[ch]:
1313         * inotify/inotify-helper.c:
1314         * glocaldirectorymonitor.[ch]:
1315         * glocalfile.c:
1316         * gvolumemonitor.c:
1317         Update for the removed GDirectoryMonitor.
1318         
1319         * gmemoryoutputstream.c:
1320         Remove ununsed variable
1321
1322 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1323
1324         * gmemoryinputstream.c:
1325         Translate error strings
1326         
1327         * gio.symbols:
1328         * gmemoryoutputstream.[ch]:
1329         New implementation that avoids using GByteArray
1330         in implementation and API. (#506377)
1331
1332 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1333
1334         * tests/*: Add a test for memory input streams.
1335         
1336         * Makefile.am: Add tests to SUBDIRS.
1337
1338 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1339
1340         * glocalfilemonitor.c:
1341         * glocaldirectorymonitor.c: Mark property nicks and blurbs
1342         for translation.
1343
1344 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1345
1346         * gdesktopappinfo.c: Fix a docs typo.
1347
1348         * gfileattribute.c: Add information about extended attributes
1349         to the documentation.  (#505058)
1350
1351 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1352
1353         * gio-marshal.list:
1354         * gmountoperation.c:
1355         Use the right type (uint) for the ask_password signal.
1356
1357 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1358
1359         * gappinfo.[ch]:
1360         * gwin32appinfo.c:
1361         * gio.symbols:
1362         Add g_app_info_supports_files() 
1363         Remove desktop arg from g_app_info_should_show().
1364         
1365         * gdesktopappinfo.[ch]:
1366         Implement g_app_info_supports_files() and new should_show()
1367         Add g_desktop_app_info_set_desktop_env() to set the desktop
1368         for should_show(). (This will be set by gtk+ later)
1369
1370 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1371
1372         * gio.symbols:
1373         * gmemoryinputstream.[ch]:
1374         Improve API so that you can use multiple chunks
1375         of memory and custom destroy functions. (#506374)
1376
1377 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1378
1379         * gfileinfo.c:
1380         Handle NULL attribute matchers safely, as we return this
1381         for empty attribute matcher strings.
1382
1383 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1384
1385         * gunixmounts.c (g_unix_is_mount_path_system_internal):
1386         Add /usr/local to list of internal mountpoints
1387
1388 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1389
1390         * glocalfileinfo.c:
1391         Check for HAVE_LCHOWN (#505887)
1392         
1393 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1394
1395         * gfileinfo.h:
1396         * glocalfileinfo.c:
1397         Add define for selinux context attribute.
1398         Fix missing : -> :: namespace separator change
1399         Fix missing _ -> - name change for xattr-sys.
1400         (#505058)
1401
1402 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1403
1404         * fam/Makefile.am:
1405         Link to libglib and libgobject directly (#504879)
1406         Patch from Sebastien Bacher
1407
1408 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1409
1410         * gfile.c: Expanded the g_file_new_for_commandline_arg
1411         description a bit, based on the code and the docs of the
1412         other g_file_new_for_* functions.
1413
1414 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1415
1416         * gfilemonitor.h: Fixed typo in docs.
1417
1418 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
1419
1420         Updates to GIO documentation. (#506395, Mikael Hermansson)
1421
1422         * gcontenttype.c: Describe memory management for return value of
1423         g_content_types_get_registered(). Missing piece from #505815.
1424         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1425         GVolume, GDrive, GMounts, which hopefully gives the user less
1426         confusions when using this API. Following explainations from
1427         Alexander Larsson on gtk-devel-list.
1428
1429 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1430
1431         * gfileinfo.c: Expand the long description.
1432
1433 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1434
1435         * fam/Makefile.am:
1436         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1437         fix builds with --disable-visibility.  (#500273, Christian Persch)
1438
1439 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1440
1441         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1442         in the list of returned app infos.
1443
1444 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1445
1446         * gappinfo.c: Fix a cross-reference
1447
1448 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1449
1450         * gfileinputstream.c:
1451         * gfileoutputstream.c:
1452         * gloadableicon.h:
1453         * gunixmounts.c:
1454         * gmount.h:
1455         * gdesktopappinfo.c:
1456         * gvolumemonitor.c: 
1457         * gfileinfo.c: Documentation updates.
1458
1459 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1460
1461         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
1462         Tommi Komulainen)
1463
1464 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1465
1466         * gcontenttype.c (g_content_types_get_registered): Don't return
1467         freed memory (#505815, Mikael Hermansson)
1468
1469 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
1470
1471         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1472         used to detect statbuf->st_blocks. (#505042)
1473
1474 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1475
1476         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1477         environment handling.  (#504829, Cosimo Cecchi)
1478
1479 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1480
1481         * gappinfo.c: Doc improvements
1482         
1483         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1484         not ids.
1485
1486 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
1487
1488         * === Released 2.15.0 ===
1489
1490 2007-12-20  Hans Breuer  <hans@breuer.org>
1491
1492         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
1493         with symbols gwin32appinfo.obj, added gmount.obj
1494         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1495
1496 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1497
1498         * gfile.c:
1499         * gfileattribute.c:
1500         * gfileinfo.c:
1501         * gfileinfo.h:
1502         * gfilenamecompleter.c:
1503         * glocalfile.c:
1504         * glocalfileinfo.c:
1505         * gpollfilemonitor.c:
1506         File attribute renames:
1507         std:: -> standard::
1508         fs:: -> filesystem::
1509         id::fs -> id::filesystem
1510         
1511 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1512
1513         * gfile.[ch]:
1514         * gdrive.[ch]:
1515         * gmount.[ch]:
1516         * gvolume.[ch]:
1517         * gunixmount.c:
1518         * gunixvolume.c:
1519         * gio.symbols:
1520         Add GMountUnmountFlags to all unmount and
1521         eject calls.
1522         Add g_mount_remount() call.
1523
1524 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1525
1526         * gvfs.c (get_default_vfs):
1527         Fix unused variable warning
1528
1529 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1530
1531         * pltcheck.sh: Update
1532
1533 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1534
1535         * gunionvolumemonitor.c:
1536         * gunixmount.c: Remove C99 comments
1537
1538 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1539
1540         * gio.symbols: Add some missing symbols
1541
1542 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1543
1544         * giomodule.c:
1545         Make g_io_modules_load_all_in_directory not unuse
1546         loaded modules so that users of it can do stuff
1547         before unloading.
1548         Init internal "module" types.
1549         Initialize static prio and name for types so that
1550         we don't have to load modules to get it.
1551         
1552         * gnativevolumemonitor.h:
1553         * gvolumemonitor.h:
1554         Move is_supported to parent class so that
1555         non-native monitors can avoid being initialized
1556         too. (For instance GDaemonVolumeMonitor if we're
1557         not using GDaemonVfs.)
1558         
1559         * glocaldirectorymonitor.[ch]:
1560         * glocalfilemonitor.[ch]:
1561         * gunionvolumemonitor.c:
1562         * gunixvolumemonitor.c:
1563         * gvfs.c:
1564         Find plugins using the static prio+name to
1565         avoid unnecessarily loading the modules.
1566
1567 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1568
1569         * giomodule.c:
1570         Remove warnings
1571
1572 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1573
1574         * gunionvolumemonitor.c:
1575         Store the native type as GType, not class so that
1576         we can unload it. But still avoid unnecessarily
1577         unload modules.
1578
1579 2007-12-19  David Zeuthen  <davidz@redhat.com>
1580
1581         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1582         add signals 'disconnected' and 'eject-button' on GDrive. Add
1583         signal 'removed' on GVolume and 'unmounted' on GMount.
1584
1585         * gdrive.c: (g_drive_base_init):
1586         * gdrive.h:
1587         * gfile.c: (g_file_mount_mountable),
1588         (g_file_mount_enclosing_volume):
1589         * gio.symbols:
1590         * gioerror.h:
1591         * gmount.c: (g_mount_base_init):
1592         * gmount.h:
1593         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1594         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1595         * gvolume.c: (g_volume_base_init), (g_volume_mount):
1596         * gvolume.h:
1597         * gvolumemonitor.h:
1598
1599 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1600
1601         * *.c: Fix up includes in the section docs.
1602
1603 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1604
1605         * gnativevolumemonitor.h:
1606         * gunionvolumemonitor.c:
1607         * gunixvolumemonitor.c:
1608         Add is_supported() to GNativeVolumeMonitorClass so
1609         that we can avoid having to create an object to see
1610         if the backend is supported at runtime.
1611         Also add name member and an env var to pick a specific
1612         volume monitor backend.
1613         
1614         * gmountprivate.h:
1615         * glocalfile.c:
1616         Add cancellable to _g_mount_get_for_mount_path()
1617         
1618         * glocaldirectorymonitor.c:
1619         * glocalfilemonitor.c:
1620         Avoid loading and unloading modules while sorting.
1621
1622 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1623
1624         * gio.symbols:
1625         * gunixmounts.[hc]: Namespace waste reduction, move some
1626         g_get_unix_mount functions to the g_unix_mount namespace.
1627
1628         * gunixmounts.c:
1629         * gunixvolumemonitor.c:
1630         * glocalfile.c:
1631         * glocaldirectorymonitor.c: Update all callers.
1632
1633         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1634
1635 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1636
1637         * gfile.c:
1638         Add doc comments about what GFile operations are
1639         guaranteed to not block.
1640
1641 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1642
1643         * gunixmounts.c:
1644         Add missing #ifdef fixing OSX build.
1645         (#503334, patch from Richard Hult)
1646
1647 2007-12-14  David Zeuthen  <davidz@redhat.com>
1648
1649         * Makefile.am:
1650         * gio.symbols:
1651         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1652         (g_mount_eject), (g_mount_eject_finish):
1653         * gmount.h:
1654         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1655         (get_volume_for_uuid), (get_mount_for_uuid),
1656         (g_union_volume_monitor_class_init),
1657         (get_default_native_type_with_exclude), (get_default_native_type),
1658         (get_native_type), (update_native_type),
1659         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1660         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1661         (g_unix_mount_can_eject), (eject_unmount_cb),
1662         (eject_unmount_read_error), (eject_unmount_do),
1663         (g_unix_mount_unmount), (g_unix_mount_eject),
1664         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1665         * gunixmounts.c: (g_unix_mount_guess_can_eject),
1666         (g_unix_mount_point_guess_can_eject):
1667         * gunixmounts.h:
1668         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1669         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1670         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1671         (g_unix_volume_mount), (g_unix_volume_eject),
1672         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1673         * gunixvolumemonitor.c: (get_volume_for_uuid),
1674         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1675         (update_mounts):
1676         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1677         (g_volume_eject), (g_volume_eject_finish):
1678         * gvolume.h:
1679         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1680         (g_volume_monitor_get_mount_for_uuid):
1681         * gvolumemonitor.h:
1682
1683         Provide eject() on both GMount and GVolume and utility functions
1684         to guess whether a GUnixMountPoint or GUnixMountEntry should be
1685         ejected. Introduce the concept of UUID's and wire it into GVolume
1686         and GMount and provide API on GVolumeMonitor to find such
1687         instances. Also handle the case where an external
1688         GNativeVolumeMonitor fails to initialize. Lock around the
1689         _g_get_mount_for_mount_path() function such that volume monitor
1690         implementations won't have to do locking themselves.
1691
1692 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1693
1694         * gdesktopappinfo.c:
1695         * gunixmounts.c:
1696         * gfileinfo.c:
1697         * gvolumemonitor.c:
1698         * gfile.h:
1699         * gioscheduler.c:
1700         * gvolume.h: Documentation updates
1701
1702 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1703
1704         * gunixmounts.c:
1705         * gfile.h: Doc updates
1706
1707 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1708
1709         * gcontenttype.c:
1710         * gdesktopappinfo.c: Use hash table iterators.
1711
1712 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1713
1714         * Makefile.am:
1715         * gfileattribute.[ch]:
1716         * gfileattribute-priv.h:
1717         Move GFileAttributeValue to a private header, as
1718         its sort of ugly.
1719         
1720         * gfile.[ch]:
1721         Make set_attribute take a type + a pointer instead
1722         of a GFileAttributeValue.
1723         
1724         * gfileinfo.[ch]:
1725         Fix up for above changes.
1726         Add g_file_info_get_attribute_data to get
1727         all info in one call, g_file_info_get_attribute_status
1728         to get the status and g_file_info_get_attribute_as_string.
1729         
1730         * gio.symbols:
1731         * glocalfile.c:
1732         * glocalfileinfo.[ch]:
1733         Update for changes
1734         
1735         * gunixmounts.c:
1736         Make _guess_type static.
1737
1738 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
1739
1740         * Makefile.am:
1741         * inotify/Makefile.am: Fixed build when srcdir != builddir,
1742         made mkenums and friends use temporary files to avoid leaving
1743         empty generated files on failure (#503470).
1744
1745 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1746
1747         * gmountoperation.h:
1748         Fix AKS -> ASK typo
1749
1750 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1751
1752         * gappinfo.h:
1753         * gfile.[ch]:
1754         * gfileattribute.[ch]:
1755         * gio.symbols:
1756         * glocalfile.c:
1757         * glocalfileoutputstream.c:
1758         * gmountoperation.[ch]:
1759         * goutputstream.[ch]:
1760         Clean up all flags enums to not have _FLAGS in them
1761         Make the names of some of the enums better.
1762
1763         * glocalfileinfo.c:
1764         Fix warning
1765         
1766 2007-12-14  Michael Natterer  <mitch@imendio.com>
1767
1768         * gio.symbols: fix g_io_scheduler symbol names.
1769
1770 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1771
1772         * Makefile.am:
1773         * fam/Makefile.am:
1774         * gappinfo.h:
1775         * gasyncresult.h:
1776         * gbufferedinputstream.h:
1777         * gbufferedoutputstream.h:
1778         * gcancellable.h:
1779         * gcontenttype.h:
1780         * gdatainputstream.h:
1781         * gdataoutputstream.h:
1782         * gdesktopappinfo.h:
1783         * gdirectorymonitor.h:
1784         * gdrive.h:
1785         * gfile.h:
1786         * gfileattribute.h:
1787         * gfileenumerator.h:
1788         * gfileicon.h:
1789         * gfileinfo.h:
1790         * gfileinputstream.h:
1791         * gfilemonitor.h:
1792         * gfilenamecompleter.h:
1793         * gfileoutputstream.h:
1794         * gfilterinputstream.h:
1795         * gfilteroutputstream.h:
1796         * gicon.h:
1797         * ginputstream.h:
1798         * gio.h:
1799         * gioerror.h:
1800         * giomodule.h:
1801         * gioscheduler.h:
1802         * gloadableicon.h:
1803         * gmemoryinputstream.h:
1804         * gmemoryoutputstream.h:
1805         * gmount.h:
1806         * gmountoperation.h:
1807         * goutputstream.h:
1808         * gseekable.h:
1809         * gsimpleasyncresult.h:
1810         * gthemedicon.h:
1811         * gunixinputstream.h:
1812         * gunixmounts.h:
1813         * gunixoutputstream.h:
1814         * gvfs.h:
1815         * gvolume.h:
1816         * gvolumemonitor.h:
1817         * inotify/Makefile.am:
1818         Only allow including <gio/gio.h> from apps
1819
1820 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1821
1822         * gioscheduler.[ch]:
1823         * gsimpleasyncresult.c:
1824         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1825         Split out the send_to_mainloop call into two versions instead
1826         of having the block argument.
1827
1828 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1829
1830         * gcancellable.[ch]:
1831         * gio.symbols:
1832         * gbufferedinputstream.c:
1833         * gfileenumerator.c:
1834         * gfileinputstream.c:
1835         * gfileoutputstream.c:
1836         * ginputstream.c:
1837         * gioscheduler.c:
1838         * goutputstream.c:
1839         g_push/pop_current_cancellable ->
1840         g_cancellable_push/pop_current
1841
1842 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1843
1844         * gfile.[ch]:
1845         * gio.symbols:
1846         Rename g_mount_for_location to g_file_mount_enclosing_volume.
1847
1848 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1849
1850         * gmountoperation.h:
1851         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1852
1853 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1854
1855         * gioscheduler.c:
1856         Fix race condition when freeing proxy in
1857         g_io_job_send_to_mainloop().
1858
1859 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1860
1861         * gfileattribute.c:
1862         * gfileinfo.[ch]:
1863         * glocalfile.c:
1864         * glocalfileinfo.c:
1865         Make attribute namespace separator "::" instead of ":".
1866         Use - instead of _ as separator in attribute names.
1867
1868 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1869
1870         * gbufferedinputstream.h:
1871         * gbufferedoutputstream.h:
1872         * gdatainputstream.h:
1873         * gdataoutputstream.h:
1874         * gdirectorymonitor.h:
1875         * gfileenumerator.h:
1876         * gfileinputstream.h:
1877         * gfilemonitor.h:
1878         * gfileoutputstream.h:
1879         * gfilterinputstream.h:
1880         * gfilteroutputstream.h:
1881         * ginputstream.h:
1882         * glocalfileinputstream.h:
1883         * glocalfileoutputstream.h:
1884         * gmemoryinputstream.h:
1885         * gmemoryoutputstream.h:
1886         * gnativevolumemonitor.h:
1887         * goutputstream.h:
1888         * gunixinputstream.h:
1889         * gunixoutputstream.h:
1890         * gvfs.h:
1891         * gvolumemonitor.h:
1892         s/parent/parent_instance/ in GObjects
1893
1894 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1895
1896         * gdrive.h:
1897         * gmount.h:
1898         * gvolume.h:
1899         No need for padding for interfaces
1900         
1901 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1902
1903         * gappinfo.[ch]:
1904         * gasyncresult.c:
1905         * gbufferedinputstream.c:
1906         * gbufferedoutputstream.c:
1907         * gcancellable.c:
1908         * gcontenttype.c:
1909         * gdatainputstream.[ch]:
1910         * gdesktopappinfo.c:
1911         * gdirectorymonitor.c:
1912         * gfile.[ch]:
1913         * gfileattribute.[ch]:
1914         * gfileicon.[ch]:
1915         * gfileinfo.h:
1916         * gfileinputstream.h:
1917         * gfilemonitor.[ch]:
1918         * gfileoutputstream.[ch]:
1919         * gfilterinputstream.h:
1920         * gfilteroutputstream.h:
1921         * gicon.h:
1922         * gioscheduler.c:
1923         * gloadableicon.[ch]:
1924         * gmemoryinputstream.c:
1925         * gmountoperation.c:
1926         * gthemedicon.c:
1927         Fix up a bunch of details in the docs.
1928
1929         * glocalfileinfo.c:
1930         CR/LF -> LF fixups
1931         
1932 2007-12-11  David Zeuthen  <davidz@redhat.com>
1933
1934         Rework how volumes, drives and volume monitoring is
1935         done. Previosly the model was
1936
1937          GDrive <1-1> GVolume
1938
1939         where a GDrive instance represented a mount point and a GVolume
1940         instance represented a mounted file system. This patch changes it
1941         the model to
1942
1943                 GDrive <1-N> GVolume <1-1> GMount
1944
1945         where GMount now serves the purpose of the old GVolume and the new
1946         GVolume serves the purpose of the old GDrive. In addition the new
1947         GDrive interface is used to represent a collection of GVolume
1948         instances (typically partitions) and also contains utility to query
1949         the state of the physical drive the GDrive object represents (such
1950         as checking for media, polling the drive, ejecting the media etc.).
1951
1952         Also implement mounting and unmounting in the Unix volume monitor
1953         backend. A subquent patch will introduce GDrive support for ejection
1954         of media.
1955
1956         * Makefile.am:
1957         * gdrive.c: (g_drive_is_media_check_automatic),
1958         (g_drive_is_media_removable), (g_drive_has_media),
1959         (g_drive_can_poll_for_media), (g_drive_eject),
1960         (g_drive_eject_finish), (g_drive_poll_for_media),
1961         (g_drive_poll_for_media_finish):
1962         * gdrive.h:
1963         * gfile.c: (g_file_find_enclosing_mount):
1964         * gfile.h:
1965         * gio.symbols:
1966         * glocaldirectorymonitor.c:
1967         (g_local_directory_monitor_constructor), (mounts_changed):
1968         * glocalfile.c: (get_mount_info),
1969         (g_local_file_find_enclosing_mount),
1970         (g_local_file_file_iface_init):
1971         * gnativevolumemonitor.h:
1972         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1973         (get_connected_drives), (g_union_volume_monitor_class_init),
1974         (child_volume_added), (child_volume_removed),
1975         (child_volume_changed), (child_mount_added), (child_mount_removed),
1976         (child_mount_pre_unmount), (child_mount_changed),
1977         (child_drive_changed), (g_union_volume_monitor_add_monitor),
1978         (g_union_volume_monitor_remove_monitor),
1979         (_g_mount_get_for_mount_path):
1980         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1981         (guess_system_internal), (_g_get_unix_mounts),
1982         (_g_get_unix_mount_points), (g_get_unix_mount_at),
1983         (g_unix_mount_free), (g_unix_mount_compare),
1984         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1985         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1986         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1987         (type_to_icon), (g_unix_mount_guess_name),
1988         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1989         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1990         (_resolve_symlink), (_resolve_dev_root):
1991         * gunixmounts.h:
1992         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1993         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1994         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1995         (g_unix_volume_get_name), (g_unix_volume_can_mount),
1996         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1997         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1998         (g_unix_volume_mount), (g_unix_volume_mount_finish),
1999         (g_unix_volume_volume_iface_init):
2000         * gunixvolume.h:
2001         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2002         (get_mounts), (get_volumes), (get_connected_drives),
2003         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2004         (mountpoints_changed), (mounts_changed),
2005         (g_unix_volume_monitor_init),
2006         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2007         (find_mount_by_mountpath), (update_volumes), (update_mounts):
2008         * gunixvolumemonitor.h:
2009         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2010         (g_volume_mount), (g_volume_mount_finish):
2011         * gvolume.h:
2012         * gvolumemonitor.c: (g_volume_monitor_class_init),
2013         (g_volume_monitor_get_connected_drives),
2014         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2015         * gvolumemonitor.h:
2016
2017 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2018
2019         * gmountoperation.h (GPasswordFlags): Close the gap
2020
2021 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2022
2023         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2024         * gio.symbols:
2025         * gdesktopappinfo.[hc]: Remove _-prefixes
2026
2027 2007-12-10  Tor Lillqvist  <tml@novell.com>
2028
2029         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2030         gcc warnings.
2031
2032 2007-12-10  Alexander Larsson  <alexl@redhat.com>
2033
2034         * gfile.c (g_file_set_display_name):
2035         Don't hardcode '/' (#502727)
2036
2037 2007-12-09  Hans Breuer  <hans@breuer.org>
2038
2039         * makefile.msc : follow lib naming convention
2040         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2041         for user and group name, tested with ../tests/gio-ls
2042
2043 2007-12-09  A. Walton  <awalton@svn.gnome.org>
2044
2045         * gdesktopappinfo.c:
2046         * gdrive.c:
2047         * gdrive.h:
2048         * gfile.c:
2049         * gfile.h:
2050         * gfileattribute.c:
2051         * gfileenumerator.c:
2052         * gioerror.c:
2053         * gioscheduler.c:
2054         * gioscheduler.h:
2055         * gloadableicon.c:
2056         * gmemoryinputstream.c:
2057         * gmemoryoutputstream.c:
2058         * goutputstream.h:
2059         * gsimpleasyncresult.c:
2060         More documentation cleanup and filling in missing information, bringing
2061         GIO to 99% symbol coverage.
2062
2063 2007-12-08  Hans Breuer  <hans@breuer.org>
2064
2065         [gio compiles and links on win32, not sure how much already works]
2066         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2067         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
2068         base on win32 API; prefer g_lstat() over lstat(); instead of 
2069         localtime_r() use an all GLib implementation on win32;
2070         get_mount_info() still needs a win32 specifc implementation
2071         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
2072         win32_get_file_user_info to get owner/group info without uid/gid
2073         * glocalfileinputstream.c : include <io.h> on win32
2074         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2075         definition, use g_win32_ftruncate() for G_OS_WIN32
2076         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2077         it is available with mingw/w32api but a mess with the M$ Platform SDKs
2078         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2079         * makefile.msc : updated
2080
2081 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2082
2083         * glocalfileenumerator.c (_g_local_file_enumerator_new):
2084         Avoid warning spew if error == NULL
2085         
2086 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2087
2088         * gfile.c:
2089         Update docs wrt etags
2090
2091 2007-12-06  Alexander Larsson  <alexl@redhat.com>
2092
2093         * glocalfileinfo.h:
2094         Include sys/types.h for dev_t (#501919)
2095
2096 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
2097
2098         * gio.symbols:
2099         * pltcheck.sh:
2100         Make abicheck and pltcheck pass.
2101
2102 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2103
2104         * Makefile.am:
2105         * giomodule-priv.h: Added.
2106         * glocaldirectorymonitor.c:
2107         * glocalfilemonitor.c:
2108         * gunionvolumemonitor.c:
2109         * gvfs.c:
2110         Actually add the declaration of _g_io_modules_ensure_loaded
2111
2112 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2113
2114         * gdatainputstream.c:
2115         Fix warnings
2116         
2117         * gio.symbols:
2118         * giomodule.[ch]
2119         * glocaldirectorymonitor.c:
2120         * glocalfilemonitor.c:
2121         * gunionvolumemonitor.c:
2122         * gvfs.c:
2123         Make g_io_modules_ensure_loaded a private function and
2124         don't pass in the dirname. This means we can do magic
2125         directory finding in the win32 version.
2126         Export the actual load-modules-in-directory code so that
2127         gvfs can reuse that.
2128
2129 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2130
2131         * gbufferedinputstream.c:
2132         * gbufferedoutputstream.c:
2133         * gdrive.[ch]:
2134         * gfile.[ch]:
2135         * gfileenumerator.[ch]:
2136         * gfileinputstream.c:
2137         * gfileoutputstream.[ch]:
2138         * gfilterinputstream.c:
2139         * gfilteroutputstream.c:
2140         * ginputstream.[ch]:
2141         * glocalfile.c:
2142         * glocalfileenumerator.c:
2143         * glocalfileinputstream.c:
2144         * glocalfileoutputstream.c:
2145         * gmemoryinputstream.c:
2146         * gmemoryoutputstream.c:
2147         * goutputstream.[ch]:
2148         * gseekable.[ch]:
2149         * gunixdrive.c:
2150         * gunixinputstream.c:
2151         * gunixoutputstream.c:
2152         Rename all struct members named:
2153         read, write, close, truncate, or mount
2154         to foo_fn, as these are reserved names
2155         and could be defined as macros in libc.
2156         (#501645)
2157
2158 2007-12-04  Alexander Larsson  <alexl@redhat.com>
2159
2160         * goutputstream.c:
2161         (g_output_stream_close):
2162         Only call flush if non-null.
2163
2164 2007-11-30  Dan Winship  <danw@gnome.org>
2165
2166         * ginputstream.c (g_input_stream_set_pending): Make this take a
2167         GError and return a gboolean, and do the "outstanding operation"
2168         check (and the "stream is already closed" check) itself.
2169         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2170
2171         * goutputstream.c (g_output_stream_set_pending)
2172         (g_output_stream_clear_pending): Likewise
2173
2174         * gbufferedinputstream.c: 
2175         * gfileinputstream.c: 
2176         * gfileoutputstream.c: Update for that
2177
2178         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2179         Like g_simple_async_report_error_in_idle, but takes a GError
2180         rather than building one.
2181
2182 2007-11-30  Dan Winship  <danw@gnome.org>
2183
2184         * goutputstream.c: Don't cheat and unset the "pending" flag around
2185         inner calls. Instead, call the class method directly rather than
2186         the wrapper function that checks "pending"
2187
2188 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
2189
2190         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2191
2192 2007-12-03  Hans Breuer  <hans@breuer.org>
2193
2194         [start of port to win32/msvc]
2195         * gcancellable.c : HAVE_UNIST_H and _pipe()
2196         * gcontenttype.c : only include <dirent.h> in the UNIX branch
2197         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2198         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
2199         HAVE_UNIST_H
2200         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2201         * glocalvfs.c : use HAVE_PWD_H
2202         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2203         * makefile.msc : new file (maybe later converted to makefile.msc.in)
2204         * Makefile.am : added to EXTRA_DIST
2205
2206 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2207
2208         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2209         (#499783)
2210
2211 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2212
2213         * glocalfileinfo.c:
2214         Handle OSX style xattrs API (#500506)
2215
2216 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2217
2218         * gfile.[ch]:
2219         * glocalfile.c:
2220         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2221
2222 2007-12-02  A. Walton  <awalton@svn.gnome.org>
2223
2224         * gfile.c:
2225         * gfileattribute.c:
2226         Documentation accuracy fixes.
2227
2228 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
2229
2230         * gioenumtypes.c.template: Fix typo.
2231
2232 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2233
2234         * gioenumtypes.c.template: Make threadsafe get_type() functions.
2235
2236 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2237
2238         * gdirectorymonitor.c:
2239         * gfilemonitor.c: Add properties
2240
2241         * gbufferedoutputstream.c: Don't mark buffer-size property 
2242         as construct-only.
2243
2244 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2245
2246         * gbufferedoutputstream.c: Add auto-grow property.
2247
2248 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2249
2250         * *.c: Unify the capitalization of section headings.
2251
2252 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2253
2254         * gmountoperation.c: Add properties
2255         
2256         * gdatainputstream.c: Turn byte-order and newline-type into
2257         properties.
2258
2259 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2260
2261         * gioenumtypes.[hc].template: Templates for enum registration
2262
2263         * Makefile.am: Generate gioenumtypes.[hc]
2264
2265         * gio.h: Include gioenumtypes.h
2266         * gappinfo.h:
2267         * gfile.h: Add some explicit nicks.
2268
2269         * gio.symbols: Add new symbols
2270
2271         * pltcheck.sh: Adjust
2272
2273 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2274
2275         * *.c: Explain etags and link to the explanation
2276
2277 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2278
2279         * *.c: Explain I/O priority.
2280
2281         * *.c: More coding style fixes.
2282
2283 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2284
2285         * gasyncresult.c: Add another paragraph to the intro,
2286         adjust coding style of example.
2287
2288 2007-11-29  A. Walton <awalton@svn.gnome.org>
2289
2290         * gappinfo.c:
2291           Fixes unknown meaning in GAppLaunchContext docs.
2292         * gfile.c:
2293           Clarify asynchronous ops.
2294         * gfileattribute.c:
2295           Fix entity tag docs.
2296         * gicon.c:
2297         * gthemedicon.c:
2298           Provides missing gtk-doc section, fixes API docs slighly.
2299         * gsimpleasyncresult.c:
2300           Fill in missing info in docs.
2301         * gunixinputstream.c:
2302         * gunixoutputstream.c:
2303           Be more expressive in short description.
2304         * gunixvolume.c:
2305           Remove gtk-doc stubs for non-public API.
2306
2307 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2308
2309         * *.c: Coding style fixups
2310
2311 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2312
2313         * inotify/inotify-helper.c: Don't export the lock from libgio.
2314
2315 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2316
2317         * Makefile.am:
2318         * abicheck.sh: Fix copy-and-paste leftovers 
2319
2320 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2321
2322         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2323
2324 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2325
2326         * Makefile.am:
2327         * gdriveprivate.h:
2328         Removed unnecessary file
2329         
2330         * gdesktopappinfo.[ch]:
2331         * gdummyfile.[ch]:
2332         * gfile.c:
2333         * glocaldirectorymonitor.[ch]:
2334         * glocalfile.[ch]:
2335         * glocalfileenumerator.[ch]:
2336         * glocalfileinputstream.[ch]:
2337         * glocalfilemonitor.[ch]:
2338         * glocalfileoutputstream.[ch]:
2339         * glocalvfs.[ch]:
2340         * gnativevolumemonitor.c:
2341         * gpollfilemonitor.[ch]:
2342         * gunionvolumemonitor.[ch]:
2343         * gunixdrive.[ch]:
2344         * gunixvolume.[ch]:
2345         * gunixvolumemonitor.[ch]:
2346         * gvfs.c:
2347         * gvolumeprivate.h:
2348         * inotify/ginotifydirectorymonitor.[ch]:
2349         * inotify/ginotifyfilemonitor.[ch]:
2350         * inotify/inotify-helper.c:
2351         Append _ to all internal functions
2352         
2353         * gio.symbols:
2354         Add missing symbols
2355         Export symbols needed for modules
2356
2357 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2358
2359         * Makefile.am:
2360         * abicheck.sh: Added.
2361         * makegioalias.pl: Added.
2362         * pltcheck.sh: Added.
2363         * gio.symbols: Added.
2364         * *.c:
2365         * inotify/*.c
2366         Initial work on adding symbol handling.
2367
2368         * gvfs.h:
2369         Correct ifdef guard name
2370
2371         * fam/Makefile.am:
2372         * inotify/Makefile.am:
2373         * xdgmime/Makefile.am:
2374         Include toplevel Makefile.decl
2375
2376 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2377
2378         * gcontenttype.c: Move doc comments to the unix section.
2379
2380         * *.[hc]: More trivial doc corrections.
2381
2382 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2383
2384         * gpollfilemonitor.c:
2385         * gunixmounts.c:
2386         * gvfs.c:
2387         * gfile.c:
2388         * gdesktopappinfo.c:
2389         * gwin32appinfo.c:
2390         * gvolume.c:
2391         * glocalvfs.c:
2392         * gvolumemonitor.c:
2393         * gdatainputstream.c:
2394         * gdatainputstream.h:
2395         * gdataoutputstream.c:
2396         * gdataoutputstream.h:
2397         * gfileinfo.h: Doc cleanups
2398
2399 2007-11-28  Andre Klapper  <a9016009@gmx.de>
2400
2401         * gdesktopappinfo.c: Fix a typo.
2402
2403 2007-11-27  Andre Klapper  <a9016009@gmx.de>
2404
2405         * glocalfileoutputstream.c: Fix a typo.
2406
2407 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2408
2409         * gio.h:
2410         Don't include removed headers
2411
2412 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2413
2414         * Makefile.am:
2415         * gsocketinputstream.[ch]: Removed.
2416         * gsocketoutputstream.[ch]: Removed.
2417         * gunixinputstream.[ch]: Added.
2418         * gunixoutputstream.[ch]: Added.
2419         Renamed GSocket*Stream to GUnix*Stream and made
2420         it unix-only, since its not really only for sockets
2421         and it only works on unix (but is highly useful there).
2422
2423 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
2424         * gappinfo.c:
2425         * gappinfo.h:
2426         * gasynchelper.c:
2427         * gasyncresult.c:
2428         * gasyncresult.h:
2429         * gbufferedinputstream.c:
2430         * gbufferedinputstream.h:
2431         * gbufferedoutputstream.c:
2432         * gbufferedoutputstream.h:
2433         * gcancellable.c: 
2434         * gcancellable.h:
2435         * gcontenttype.c:
2436         * gdatainputstream.c:
2437         * gdatainputstream.h:
2438         * gdataoutputstream.c:
2439         * gdataoutputstream.h:
2440         * gdirectorymonitor.c:
2441         * gdirectorymonitor.h:
2442         * gdrive.c: 
2443         * gdrive.h:
2444         * gfile.c:
2445         * gfile.h:
2446         * gfileattribute.c:
2447         * gfileattribute.h:
2448         * gfileenumerator.c:
2449         * gfileenumerator.h:
2450         * gfileicon.c:
2451         * gfileicon.h:
2452         * gfileinfo.c:
2453         * gfileinfo.h:
2454         * gfileinputstream.c:
2455         * gfileinputstream.h:
2456         * gfilemonitor.c:
2457         * gfilemonitor.h:
2458         * gfilenamecompleter.c:
2459         * gfilenamecompleter.h:
2460         * gfileoutputstream.c:
2461         * gfileoutputstream.h:
2462         * gfilterinputstream.c:
2463         * gfilterinputstream.h:
2464         * gfilteroutputstream.c:
2465         * gfilteroutputstream.h:
2466         * gicon.c:
2467         * gicon.h:
2468         * ginputstream.c:
2469         * ginputstream.h:
2470         * gioerror.c:
2471         * gioerror.h:
2472         * giomodule.c:
2473         * giomodule.h:
2474         * gioscheduler.c:
2475         * gioscheduler.h:
2476         * gloadableicon.c:
2477         * gloadableicon.h:
2478         * glocalfileoutputstream.c:
2479         * gmemoryinputstream.c:
2480         * gmemoryinputstream.h:
2481         * gmemoryoutputstream.c:
2482         * gmemoryoutputstream.h:
2483         * gmountoperation.c: 
2484         * gmountoperation.h:
2485         * goutputstream.c:
2486         * goutputstream.h:
2487         * gpollfilemonitor.c:
2488         * gseekable.c:
2489         * gseekable.h:
2490         * gsimpleasyncresult.c:
2491         * gsimpleasyncresult.h:
2492         * gsocketinputstream.c:
2493         * gsocketinputstream.h:
2494         * gsocketoutputstream.c:
2495         * gsocketoutputstream.h:
2496         * gthemedicon.c:
2497         * gthemedicon.h:
2498         * gunixdrive.c:
2499         * gunixmounts.c: 
2500         * gunixmounts.h:
2501         * gunixvolume.c:
2502         * gunixvolumemonitor.c:
2503         * gurifuncs.c:
2504         * gurifuncs.h:
2505         * gvfs.c:
2506         * gvfs.h:
2507         * gvolume.c:
2508         * gvolume.h:
2509         * gvolumemonitor.c: 
2510         * gvolumemonitor.h:
2511         Bumps documentation to 93% symbol coverage, touching most 
2512         of the public files. Fixes broken function documentation prototypes. 
2513         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
2514         gtk-doc headers in private files.
2515
2516 2007-11-27  Jürg Billeter  <j@bitron.ch>
2517
2518         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2519         (g_buffered_input_stream_read_byte):
2520         * gbufferedinputstream.h:
2521         New functions for efficient access to buffer and simple single byte
2522         reads.
2523
2524         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2525         (g_data_input_stream_read_until):
2526         * gdatainputstream.h:
2527         Use peek_buffer to avoid memcpy in scan_for_newline, implement
2528         read_until with multiple stop chars.
2529
2530 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2531
2532         * Makefile.am:
2533         * fam/Makefile.am:
2534         * inotify/Makefile.am:
2535         Use the user-specified giomoduledir
2536
2537 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2538
2539         * Makefile.am
2540         * gio.h:
2541         Add catch-all gio.h header
2542         Don't install gdummyfile.h
2543
2544 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2545
2546         * Makefile.am (gioinclude_HEADERS):
2547         Remove trailing whitespace
2548         
2549 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2550
2551         Merge gio-standalone into glib
2552
2553 2007-11-25  Christian Kellner  <gicmo@gnome.org>
2554
2555         * gio/goutputstream.c:
2556         Fix small mistake in the docs.
2557
2558 2007-11-21  Christian Persch  <chpe@gnome.org>
2559
2560         * gio/glocalfile.c: (g_local_file_trash):
2561         Convert filenames to UTF-8 for GError.
2562         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2563         as per xdg base dir spec.
2564
2565 2007-11-21  Christian Persch  <chpe@gnome.org>
2566
2567         * gio/gdesktopappinfo.c:
2568         Use that g_key_file_to_data cannot fail.
2569         Some misc cleanups.
2570         Use stock defines for the key file group and key names.
2571         Use bitfields.
2572
2573 2007-11-21  Alexander Larsson  <alexl@redhat.com>
2574
2575         * gio/gfile.c:
2576         (copy_stream_with_progress):
2577         Make sure we do a final progress callback with
2578         the full total size.
2579
2580 2007-11-21  Alexander Larsson  <alexl@redhat.com>
2581
2582         * gio/gfile.[ch]:
2583         Export g_file_copy_attributes
2584         Remove padding as its not needed for interfaces
2585
2586 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2587
2588         * gio/gfile.c:
2589         * gio/gioerror.h:
2590         * gio/glocalfile.c:
2591         Add G_IO_ERROR_WOULD_MERGE for
2592         copy/move dir on dir with overwrite.
2593
2594 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2595
2596         * gio/gfileinfo.h:
2597         * gio/glocalfileinfo.c:
2598         Add COPY_NAME (this is an optional
2599         non-modified utf8 version of the name) that
2600         can roundtrip.
2601
2602 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2603
2604         * gio/glocalfileenumerator.c:
2605         Report errors as GIOError, not GFileError
2606
2607 2007-11-16  Alexander Larsson  <alexl@redhat.com>
2608
2609         * gio/glocalfileoutputstream.c:
2610         * gio/gwin32appinfo.c:
2611         Fix typos in strings.
2612         Patch from Luca Ferretti <elle.uca@libero.it>
2613
2614 2007-11-15  Alexander Larsson  <alexl@redhat.com>
2615
2616         * configure.ac:
2617         Post release version bump
2618
2619 === gio-standalone 0.1.2 ===
2620
2621 2007-11-15  Alexander Larsson  <alexl@redhat.com>
2622
2623         * docs/reference/gio/Makefile.am:
2624         Fix up distcheck by removing weird
2625         non-needed stuff
2626
2627         * NEWS:
2628         Update for release
2629
2630 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2631
2632         * gio/gdesktopappinfo.c:
2633         * gio/glocaldirectorymonitor.c:
2634         * gio/glocalfile.c:
2635         * gio/glocalfileinfo.c:
2636         * gio/inotify/inotify-sub.c:
2637         * programs/gio-cat.c:
2638         * programs/gio-copy.c:
2639         * programs/gio-info.c:
2640         * programs/gio-ls.c:
2641         * programs/gio-monitor-dir.c:
2642         * programs/gio-monitor-file.c:
2643         * programs/gio-mount.c:
2644         * programs/gio-move.c:
2645         * programs/gio-rm.c:
2646         * programs/gio-save.c:
2647         * programs/gio-trash.c:
2648         Leak fixes from Kjartan Maraas
2649
2650 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2651
2652         * gio/fam/fam-helper.c:
2653         * gio/gdrive.[ch]:
2654         * gio/glocalfileinfo.c:
2655         * gio/gunixdrive.c:
2656         * gio/gvfs.c:
2657         * gio/gvolume.[ch]:
2658         * gio/inotify/inotify-diag.c:
2659         * gio/inotify/inotify-kernel.c:
2660         Various code cleanups from Kjartan Maraas
2661
2662 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2663
2664         * gio/gioscheduler.c:
2665         (init_scheduler):
2666         Set up threadpool so that we cache 2 unused
2667         idle threads for at 15 secs. This means we
2668         will reuse thread-local data (like dbus connections)
2669         for them.
2670
2671 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2672
2673         * gio/fam/fam-helper.c:
2674         * gio/fam/gfamdirectorymonitor.c:
2675         * gio/fam/gfamfilemonitor.c:
2676         * gio/gappinfo.c:
2677         * gio/gcontenttype.c:
2678         * gio/gdatainputstream.c:
2679         * gio/gdataoutputstream.c:
2680         * gio/gdummyfile.c:
2681         * gio/gfile.c:
2682         * gio/gfile.h:
2683         * gio/gfileattribute.h:
2684         * gio/gfileenumerator.c:
2685         * gio/gfileinfo.c:
2686         * gio/ginputstream.c:
2687         * gio/gioerror.h:
2688         * gio/glocalfile.c:
2689         * gio/glocalfileinfo.c:
2690         * gio/goutputstream.c:
2691         * gio/gpollfilemonitor.c:
2692         * gio/gsimpleasyncresult.c:
2693         * gio/gunixmounts.c:
2694         * gio/gunixmounts.h:
2695         * gio/inotify/ginotifydirectorymonitor.c:
2696         * gio/inotify/ginotifyfilemonitor.c:
2697         * gio/inotify/inotify-diag.c:
2698         * gio/inotify/inotify-kernel.c:
2699         * gio/inotify/inotify-path.c:
2700         * gio/test-gio.c:
2701         * gio/test-streams.c:
2702         * programs/gio-info.c:
2703         * programs/gio-monitor-dir.c:
2704         * programs/gio-monitor-file.c:
2705         Various code cleanups from Kjartan Maraas
2706
2707 2007-11-13  Alexander Larsson  <alexl@redhat.com>
2708
2709         * gio/gdummyfile.c:
2710         Handle the uri-scheme calls for dummy files
2711
2712 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
2713
2714         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2715         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2716         to avoid clash with the C++ keyword.
2717
2718 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
2719
2720         * gio/glocalfileinfo.c: Build fix, added missing semicolon
2721         to an ifdef'ed call to getpwuid() in lookup_uid_data().
2722
2723 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
2724
2725         * gio/glocaldirectorymonitor.c:
2726         * gio/glocalfilemonitor.c:
2727         * gio/gunionvolumemonitor.c:
2728         Don't use g_once_init_*() for initializations that could fail and
2729         could leave the initialization variable set to 0 but use GOnce.
2730         This prevents a deadlock on the second call when trying to create
2731         a monitor and no monitor type is available. Thanks to Sven Herzberg
2732         for reporting.
2733
2734 2007-11-11  Sven Herzberg  <sven@imendio.com>
2735
2736         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2737         #ifdef (make it work on MacOS X again)
2738
2739 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
2740         * Changelog:
2741         Fixes Changelog for last two commits (sorry guys).
2742
2743 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
2744         * gio/gappinfo.c:
2745         * gio/gbufferedinputstream.c:
2746         * gio/gdatainputstream.c:
2747         * gio/gfile.c:
2748         * gio/gfileoutputstream.c:
2749         * gio/gfilterinputstream.c:
2750         * gio/glocalfileinputstream.c:
2751         * gio/gurifuncs.c:
2752         * gio/gvfs.c:
2753         More consistency fixes in g*stream.c files. 
2754         Significant clean of gfile's documentation, filling in of 
2755         asynchronous operations documentation.
2756
2757 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
2758         * gio/gappinfo.c:
2759         * gio/gasyncresult.c:
2760         * gio/gbufferedinputstream.c:
2761         * gio/gbufferedoutputstream.c:
2762         * gio/gcancellable.c:
2763         * gio/gcontenttype.c:
2764         * gio/gdatainputstream.c:
2765         * gio/gdataoutputstream.c:
2766         * gio/gdesktopappinfo.c:
2767         * gio/gdrive.c:
2768         * gio/gfile.c:
2769         * gio/gfileattribute.c:
2770         * gio/gio/gfileenumerator.c:
2771         * gio/gfileinfo.c:
2772         * gio/gfileinputstream.c:
2773         * gio/gfilemonitor.c:
2774         * gio/gfileoutputstream.c:
2775         * gio/ginputstream.c:
2776         * gio/giomodule.c:
2777         * gio/gioscheduler.c:
2778         * gio/gloadableicon.c:
2779         * gio/glocalfileoutputstream.c:
2780         * gio/gmemoryoutputstream.c:
2781         * gio/gmountoperation.c:
2782         * gio/goutputstream.c:
2783         * gio/gseekable.c:
2784         * gio/gsimpleasyncresult.c:
2785         * gio/gunionvolumemonitor.c:
2786         * gio/gunixmounts.c:
2787         * gio/gunixvolume.c:
2788         * gio/gurifuncs.c:
2789         * gio/gvfs.c:
2790         * gio/gvolume.c:
2791         * gio/gvolumemonitor.c:
2792         Updated documentation stubs, working towards consistency and 
2793         completeness.
2794
2795 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2796
2797         * gio/gmemoryoutputstream.c:
2798         * gio/gmemoryoutputstream.h:
2799         Change g_memory_output_stream_set_free_on_close() to
2800         g_memory_output_stream_set_free_data() as this makes more sense and
2801         is more consistent with GMemoryInputStream.
2802
2803 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2804
2805         * gio/gfile.c:
2806         Fix some docs
2807         
2808         * gio/glocalvfs.c:
2809         * gio/gvfs.[ch]:
2810         Change how we find the default vfs so that
2811         we can handle a gvfs failing to init
2812
2813 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2814
2815         * gio/gbufferedoutputstream.c:
2816         * gio/gdatainputstream.c:
2817         * gio/gdataoutputstream.c:
2818         * gio/gfileinputstream.c:
2819         * gio/gfileoutputstream.c:
2820         * gio/gfilterinputstream.c:
2821         * gio/gfilteroutputstream.c:
2822         * gio/ginputstream.c:
2823         * gio/gmemoryinputstream.c:
2824         * gio/gmemoryoutputstream.c:
2825         * gio/goutputstream.c:
2826         * gio/gsimpleasyncresult.c:
2827         * gio/gsocketinputstream.c:
2828         * gio/gsocketoutputstream.c:
2829         Add guards to the remaining public functions, add a TODO for
2830         an unimplemented function and remove some useless guards.
2831
2832 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2833
2834         * configure.ac:
2835         Autoconf checks for the various types of
2836         getpwuid_r and getgrgid_r
2837         
2838         * gio/glocalfileinfo.c:
2839         Use the autoconf checks from above
2840
2841 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2842
2843         * gio/glocalfile.c:
2844         (g_local_file_query_filesystem_info):
2845         Some fixes for the statvfs case
2846         
2847 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2848
2849         * gio/glocalfile.c:
2850         (g_local_file_query_filesystem_info):
2851         Pick the "best" of statfs / statvfs for the system
2852         if both are availible.
2853
2854 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2855
2856         Solaris fixes from Halton.Huo@Sun.COM:
2857         
2858         * gio/gdrive.c:
2859         * gio/gfile.c:
2860         * gio/gvolume.c:
2861         Don't return void
2862         
2863         * gio/glocalfileinfo.c:
2864         Fix for solaris definition of getpwuid_r
2865         
2866         * gio/test-streams.c:
2867         Use G_GNUC_PRETTY_FUNCTION
2868
2869 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2870
2871         * gio/gdesktopappinfo.c:
2872         (update_default_list):
2873         Remove double semicolon.
2874         Patch from Jens Granseuer
2875
2876 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2877
2878         * docs/reference/gio/gio-sections.txt:
2879         * gio/gbufferedinputstream.c:
2880         * gio/gbufferedinputstream.h:
2881         * gio/gdatainputstream.c:
2882         * gio/gfileenumerator.c:
2883         * gio/gioscheduler.c:
2884         * gio/gunionvolumemonitor.c:
2885         * gio/gvfs.c:
2886         * programs/gio-save.c:
2887         Fix typo: availible -> available. Unfortuntely this breaks API
2888         and ABI as g_buffered_input_stream_get_available() was renamed.
2889         
2890         * gio/gunixmounts.c:
2891         * gio/gbufferedinputstream.c:
2892         Add guards for public functions.
2893
2894 2007-11-06  Ross Burton  <ross@openedhand.com>
2895
2896         * docs/reference/gio/Makefile.am:
2897         Fix invalid += usage which automake 1.10 doesn't like.
2898
2899 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2900
2901         * gio/gappinfo.c:
2902         (g_app_launch_context_class_init):
2903         Fix warning
2904
2905         Patch from Ross Burton 
2906         
2907 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2908
2909         * configure.ac:
2910         Post release version bump
2911
2912 === gio-standalone 0.1.1 ===
2913
2914 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2915
2916         * configure.ac:
2917         Bump version to 0.1.1
2918         
2919         * gio/gsimpleasyncresult.c:
2920         (g_simple_async_result_set_from_error):
2921         Remove bogus g_return_if_fail
2922
2923 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2924
2925         * configure.ac:
2926         The name is gio-standalone
2927         
2928         * gio/Makefile.am:
2929         Add top src/builddir to includedir
2930
2931 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2932
2933         * docs/reference/gio/gio-sections.txt:
2934         * gio/gappinfo.c:
2935         * gio/gbufferedinputstream.c:
2936         * gio/gbufferedoutputstream.c:
2937         * gio/gcancellable.c:
2938         * gio/gdatainputstream.h:
2939         * gio/gdataoutputstream.c:
2940         * gio/gdataoutputstream.h:
2941         * gio/gdirectorymonitor.c:
2942         * gio/gfile.c:
2943         * gio/gfileattribute.c:
2944         * gio/gfileattribute.h:
2945         * gio/gfileenumerator.c:
2946         * gio/gfileenumerator.h:
2947         * gio/gfileinfo.c:
2948         * gio/gfileinfo.h:
2949         * gio/gfileinputstream.h:
2950         * gio/gfilemonitor.c:
2951         * gio/gfileoutputstream.h:
2952         * gio/glocalfilemonitor.h:
2953         * gio/glocalfileoutputstream.h:
2954         * gio/gmemoryinputstream.c:
2955         * gio/gmemoryoutputstream.c:
2956         * gio/gmountoperation.c:
2957         * gio/goutputstream.c:
2958         * gio/goutputstream.h:
2959         * gio/gseekable.h:
2960         * gio/gsimpleasyncresult.c:
2961         * gio/gunixmounts.c:
2962         * gio/gunixmounts.h:
2963         * gio/gurifuncs.h:
2964         * gio/inotify/inotify-helper.c:
2965         Fix gtk-doc warnings
2966
2967         Patch from Ross Burton 
2968         
2969 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2970
2971         * gio/gfilenamecompleter.c:
2972         (g_filename_completer_get_completions):
2973         fix warning
2974         
2975         * gio/gunixvolume.c:
2976         Remove unused function
2977
2978         Patches from Ross Burton 
2979
2980 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2981
2982         * gio/gdrive.h:
2983         * gio/gseekable.h:
2984         * gio/gvolume.h:
2985         Padding not needed for interfaces
2986
2987 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2988
2989         * gio/gfilemonitor.c:
2990         Remove debug spew
2991
2992         * gio/Makefile.am:
2993         Make giotypes.h an internal file
2994         
2995         * gio/gappinfo.h:
2996         * gio/gbufferedinputstream.h:
2997         * gio/gbufferedoutputstream.h:
2998         * gio/gcancellable.h:
2999         * gio/gdatainputstream.h:
3000         * gio/gdataoutputstream.h:
3001         * gio/gdirectorymonitor.c:
3002         * gio/gdirectorymonitor.h:
3003         * gio/gdrive.c:
3004         * gio/gdrive.h:
3005         * gio/gfile.c:
3006         * gio/gfile.h:
3007         * gio/gfileattribute.h:
3008         * gio/gfileenumerator.h:
3009         * gio/gfileicon.c:
3010         * gio/gfileicon.h:
3011         * gio/gfileinfo.c:
3012         * gio/gfileinfo.h:
3013         * gio/gfilemonitor.c:
3014         * gio/gfilemonitor.h:
3015         * gio/gfilenamecompleter.c:
3016         * gio/gfilenamecompleter.h:
3017         * gio/gfilterinputstream.h:
3018         * gio/gfilteroutputstream.h:
3019         * gio/ginputstream.h:
3020         * gio/gmemoryinputstream.h:
3021         * gio/gmemoryoutputstream.h:
3022         * gio/gmountoperation.c:
3023         * gio/gmountoperation.h:
3024         * gio/gnativevolumemonitor.c:
3025         * gio/goutputstream.h:
3026         * gio/gseekable.c:
3027         * gio/gseekable.h:
3028         * gio/gsimpleasyncresult.c:
3029         * gio/gsimpleasyncresult.h:
3030         * gio/gsocketinputstream.h:
3031         * gio/gsocketoutputstream.h:
3032         * gio/gthemedicon.c:
3033         * gio/gthemedicon.h:
3034         * gio/gvfs.h:
3035         * gio/gvolume.c:
3036         * gio/gvolume.h:
3037         * gio/gvolumemonitor.c:
3038         * gio/gvolumemonitor.h:
3039         Add padding in classes where it seems useful
3040         Don't include giotypes.h from public headers
3041         Move in Class definitions into c file where possible
3042         
3043         * gio/glocalfile.c:
3044         Fix warnings
3045
3046 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3047
3048         * docs/reference/gio/gio-docs.xml:
3049         Better structure for API docs
3050
3051 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3052
3053         * gio/gfileicon.c:
3054         * gio/gloadableicon.c:
3055         * gio/gsimpleasyncresult.c:
3056         * gio/gthemedicon.c:
3057         Add some more guards to public functions. Only files missing are now
3058         g*stream*.c.
3059
3060 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3061
3062         * docs/reference/gio/gio-docs.xml:
3063         Remove old files, add missing ones
3064
3065 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3066
3067         * docs/reference/gio/gio-sections.txt:
3068         Restructure
3069         Add missing stuff
3070         Hide implementation classes
3071         
3072         * gio/gdriveprivate.h:
3073         * gio/gvolumeprivate.h:
3074         Remove non-existing function declarations
3075
3076 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3077
3078         * gio/gappinfo.c:
3079         Fix compilation warnings and add guards to the new functions.
3080         
3081         * gio/gasyncresult.c:
3082         * gio/gdummyfile.c:
3083         Add guards to the public functions.
3084         
3085         * gio/gdummyfile.c:
3086         Implement get_path().
3087
3088 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3089
3090         * gio/gfilenamecompleter.c:
3091         Make g_filename_completer_get_completions
3092         return char ** instead of GList for
3093         typesafety.
3094         
3095         * docs/reference/gio/gio-docs.xml:
3096         * docs/reference/gio/gio-sections.txt:
3097         * gio/gappinfo.c:
3098         * gio/gasyncresult.c:
3099         * gio/gbufferedinputstream.c:
3100         * gio/gbufferedoutputstream.c:
3101         * gio/gcancellable.c:
3102         * gio/gcontenttype.c:
3103         * gio/gdatainputstream.c:
3104         * gio/gdataoutputstream.c:
3105         * gio/gdesktopappinfo.c:
3106         * gio/gdirectorymonitor.c:
3107         * gio/gdrive.c:
3108         * gio/gdummyfile.c:
3109         * gio/gfile.c:
3110         * gio/gfileattribute.c:
3111         * gio/gfileenumerator.c:
3112         * gio/gfileicon.c:
3113         * gio/gfileinfo.c:
3114         * gio/gfileinputstream.c:
3115         * gio/gfilemonitor.c:
3116         * gio/gfilenamecompleter.c:
3117         * gio/gfilenamecompleter.h:
3118         * gio/gfileoutputstream.c:
3119         * gio/gfilterinputstream.c:
3120         * gio/gicon.c:
3121         * gio/ginputstream.c:
3122         * gio/giomodule.c:
3123         * gio/gioscheduler.c:
3124         * gio/gloadableicon.c:
3125         * gio/glocaldirectorymonitor.c:
3126         * gio/glocalfile.c:
3127         * gio/glocalfileinputstream.c:
3128         * gio/glocalfilemonitor.c:
3129         * gio/glocalfileoutputstream.c:
3130         * gio/glocalvfs.c:
3131         * gio/gmemoryinputstream.c:
3132         * gio/gmemoryoutputstream.c:
3133         * gio/gmountoperation.c:
3134         * gio/goutputstream.c:
3135         * gio/gpollfilemonitor.c:
3136         * gio/gseekable.c:
3137         * gio/gsimpleasyncresult.c:
3138         * gio/gsocketinputstream.c:
3139         * gio/gsocketoutputstream.c:
3140         * gio/gthemedicon.c:
3141         * gio/gunionvolumemonitor.c:
3142         * gio/gunixdrive.c:
3143         * gio/gunixmounts.c:
3144         * gio/gunixvolume.c:
3145         * gio/gunixvolumemonitor.c:
3146         * gio/gurifuncs.c:
3147         * gio/gvfs.c:
3148         * gio/gvolume.c:
3149         * gio/gvolumemonitor.c:
3150         * gio/gwin32appinfo.c:
3151         Add (mostly stub) doc strings to public functions.
3152         Patch from Andrew Walton (awalton@gmail.com)
3153
3154 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3155
3156         * gio/gappinfo.[ch]:
3157         Added GAppLaunchContext object and pass that to launch.
3158         This allows simple implementation of both
3159         launch-on-screen and startup notification via a gtk+
3160         subclass of GAppLaunchContext
3161         
3162         * gio/gdesktopappinfo.c:
3163         Implement GAppLaunchContext API
3164         
3165         * gio/gwin32appinfo.c:
3166         Update to new APIs
3167
3168 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3169
3170         * gio/gmountoperation.c:
3171         Add some guards to GMountOperation's public functions.
3172
3173 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3174
3175
3176         * gio/gappinfo.c:
3177         * gio/gcancellable.c:
3178         * gio/gdirectorymonitor.c:
3179         * gio/gdrive.c:
3180         * gio/gfileenumerator.c:
3181         * gio/gfilemonitor.c:,
3182         * gio/gfilenamecompleter.c:
3183         * gio/gicon.c:
3184         * gio/giomodule.c:
3185         * gio/gioscheduler.c:
3186         * gio/gseekable.c:
3187         * gio/gurifuncs.c:
3188         * gio/gvolume.c:
3189         * gio/gvolumemonitor.c:
3190         Add even more guards to various public functions.
3191
3192 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3193
3194         * gio/gappinfo.c:
3195         Add guards to the public functions of GAppInfo.
3196
3197 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * gio/gcontenttype.c:
3200         Add some more guards for public functions.
3201
3202 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3203
3204         * gio/fam/fam-module.c:
3205         * gio/fam/gfamdirectorymonitor.c:
3206         * gio/fam/gfamdirectorymonitor.h:
3207         * gio/fam/gfamfilemonitor.c:
3208         * gio/fam/gfamfilemonitor.h:
3209         * gio/inotify/ginotifydirectorymonitor.c:
3210         * gio/inotify/ginotifydirectorymonitor.h:
3211         * gio/inotify/ginotifyfilemonitor.c:
3212         * gio/inotify/ginotifyfilemonitor.h:
3213         Add proper copyright information and remove an unused variable
3214         in the GInotifyFileMonitor constructor.
3215
3216         * gio/gcancellable.c:
3217         Add a guard for a public function and an assertion to prevent
3218         an undefined program state.
3219
3220 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3221
3222         * gio/gfileattribute.c:
3223         Don't run into an assertion if the given attribute value is NULL
3224         in g_file_attribute_value_get_*() but instead return a fallback
3225         value that makes sense in most situations. Passing them a attribute
3226         value with the wrong type will still run into an assertion.
3227
3228 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3229
3230         * gio/gfileattribute.c:
3231         * gio/gfileinfo.c:
3232         Add even more guards to the public functions. Also fix the refcounting
3233         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3234         let g_file_info_list_attributes() filter the attributes by namespace
3235         instead of simply ignoring the namespace parameter.
3236
3237 2007-11-03  Sven Herzberg  <sven@imendio.com>
3238
3239         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3240         (This makes gio work on MacOS X again)
3241
3242 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3243
3244         * Makefile.am:
3245         Build the gio subdirectory before the docs. Otherwise the build will
3246         fail.
3247
3248         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3249         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3250         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3251         Add guards to the public functions.
3252
3253 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3254
3255         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3256         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3257         to prevent a compiler warning.
3258
3259         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3260         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3261         return something in the non-void function find_topdir_for().
3262
3263 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
3264
3265         * configure.ac:
3266         * Makefile.am:
3267         * docs/:
3268         Gtkdocify!
3269
3270 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
3271
3272         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3273         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3274         * gwin32appinfo.c (g_win32_app_info_launch):
3275         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3276         envp_for_startup_id, g_desktop_app_info_launch,
3277         g_desktop_app_info_launch_uris):
3278
3279         Give an opaque 'startup_id' string instead of 'envp'.
3280         Support empty file lists for launching new windows.
3281         Fix infinite recursion bug when launching URIs.
3282
3283 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3284
3285         * gio/gfile.c:
3286         Add guard to the new g_file_get_uri_scheme() function.
3287
3288 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3289
3290         * gio/gfile.c:
3291         Convert a g_return_val_if_fail() to setting the GError instead as
3292         otherwise applications have to verify the parameter before otherwise
3293         and the parameter might come directly from the user.
3294
3295 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3296
3297         * gio/inotify/ginotify*.[ch]:
3298         Add missing copyright information.
3299
3300 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3301
3302         * gio/gfile.c:
3303         Add guards in the beginning of public functions to check for valid
3304         parameters and fix a bug in copy_stream_with_progress() that could've
3305         caused writing less bytes than reading.
3306         * gio/glocalfileinfo.c:
3307         Check for a NULL parameter and set the GError accordingly then.
3308         * gio/goutputstream.c:
3309         Fix the same bug as in gfile.c that could've caused writing less bytes
3310         than reading in g_output_stream_real_splice().
3311
3312 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
3313
3314         * gio/Makefile.am:
3315         Use the correct gvolumeprivate.h naming
3316
3317 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3318
3319         * gio/Makefile.am:
3320         Remove leftover "$(daemon_sources)" entry.
3321
3322 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3323
3324         * gio/fam/*.[ch]:
3325         * gio/*.[ch]:
3326         * programs/*.[ch]:
3327         Add copyright information to source files.
3328
3329 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3330
3331         * gio/gfile.[ch]:
3332         * gio/glocalfile.c:
3333         Add g_file_get_uri_scheme
3334
3335 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3336
3337         * gio/gappinfo.h:
3338         * gio/gdesktopappinfo.c:
3339         * gio/gwin32appinfo.c:
3340         Add g_app_info_get_default_for_uri_scheme.
3341
3342 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3343
3344         * gio/Makefile.am:
3345         Correct filename for gdriveprivate.h
3346
3347 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3348
3349         * gio/gfileinfo.h:
3350         Rename id:value to id:file
3351         Add id:fs
3352         
3353         * gio/glocalfileinfo.c:
3354         Implement id:fs
3355
3356 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3357
3358         * gio/gunixvolume.c:
3359         * gio/gvolume.[ch]:
3360         Remove g_volume_get_platform_id, as thats not
3361         needed with the simpler union volume monitor
3362
3363 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3364
3365         * gio/Makefile.am:
3366         * gio/guniondrive.[ch]: Removed.
3367         * gio/gunionvolume.[ch]: Removed.
3368         Remove GUnionDrive/Volume
3369
3370         * gio/gunionvolumemonitor.c:
3371         Simplify union volume monitor, now we
3372         only have one native volume monitor and
3373         we use the actual volumes/drives from the
3374         child monitors instead of wrapping them
3375
3376         * gio/gnativevolumemonitor.[ch]:
3377         Base class for native volume monitors.
3378         Includes priority and get_volume_for_mountpoint
3379         
3380         * gio/gfile.[ch]:
3381         Add g_file_find_enclosing_volume
3382
3383         * gio/gfileinfo.h:
3384         Remove volume name fs attribute
3385         Add readonly fs attribute
3386         
3387         * gio/glocalfile.c:
3388         Implement readonly attribute
3389         remove volume name attribute
3390         Implement find_enclosing volume
3391         
3392         * gio/gunixmounts.c:
3393         Add a volume for "/".
3394         
3395         * gio/gunixvolume.[ch]:
3396         Set better name for /
3397         
3398         * gio/gunixvolumemonitor.[ch]:
3399         Derive from GNativeVolumeMonitor
3400         Implement get_volume_for_mountpoint
3401         
3402         * gio/gvolume.h:
3403         GVolume typedef moved to gfile.h
3404         
3405         * gio/gvolumeprivate.h:
3406         Add g_volume_get_for_mount_path
3407
3408 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3409
3410         * gio/gunixmounts.[ch]:
3411         Add cache info to unix mount listers
3412         Make getmntent use threadsafe
3413         Add is_system_internal attribute for GUnixMount
3414         
3415         * gio/gunixvolume.c:
3416         (g_unix_volume_new):
3417         Use is_system_internal instead of own code
3418         
3419         * gio/glocaldirectorymonitor.c:
3420         * gio/gunixvolumemonitor.c:
3421         Update to new gunixmounts API
3422         
3423         * gio/glocalfile.c:
3424         Fix warning
3425
3426 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3427
3428         * gio/gfileinfo.h:
3429         Add volume name fsinfo attribute
3430         
3431         * gio/glocalfile.c:
3432         Read volume name info
3433         
3434         * gio/gunionvolumemonitor.c:
3435         Fix infinite loops when finalizing a union volume monitor
3436
3437 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3438
3439         * gio/goutputstream.[ch]:
3440         Add splice() with default implementation
3441         
3442         * gio/gsocketoutputstream.c:
3443         (g_socket_output_stream_write):
3444         Return error on cancellation correctly.
3445         
3446 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3447
3448         * gio/glocalfile.c (g_local_file_trash):
3449         Do not leak a string.
3450
3451 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3452
3453         * gio/gfile.c (g_file_load_contents):
3454         Unref the stream after closing it.
3455
3456 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3457
3458         * gio/gioscheduler.h:
3459         Fix include
3460
3461 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3462
3463         * gio/gfile.[ch]:
3464         * gio/glocalfile.c:
3465         Add g_file_has_uri_scheme and implement for local files
3466
3467 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
3468
3469         * gio/gdesktopappinfo.c: do not leak a string.
3470
3471 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3472
3473         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3474         (g_local_directory_monitor_new):
3475         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3476         (g_local_file_monitor_new):
3477         Only look for the monitor type that should be used the first time
3478         and use g_qsort_with_data() instead of our own bubble sort
3479         implementation.
3480
3481 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3482
3483         * gio/Makefile.am:
3484         * gio/fam/Makefile.am:
3485         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3486         * gio/fam/fam-helper.h:
3487         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3488         * gio/fam/gfamdirectorymonitor.c:
3489         * gio/fam/gfamdirectorymonitor.h:
3490         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3491         * gio/fam/gfamfilemonitor.h:
3492         * gio/glocaldirectorymonitor.c:
3493         * gio/glocaldirectorymonitor.h:
3494         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3495         * gio/glocalfilemonitor.h:
3496         * gio/inotify/Makefile.am:
3497         * gio/inotify/ginotifydirectorymonitor.c:
3498         * gio/inotify/ginotifydirectorymonitor.h:
3499         * gio/inotify/ginotifyfilemonitor.c:
3500         * gio/inotify/ginotifyfilemonitor.h:
3501         Implement the FAM and Inotify monitors as
3502         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3503         their own GIO module. GLocal(Directory|File)Monitor will use the
3504         monitor with the highest rank that is supported on that machine.
3505
3506 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
3507
3508         * gio/Makefile.am:
3509         Change GIO module dir to $(libdir)/gio/modules and change
3510         the log domain from GVFS to GIO. Also only export symbols starting
3511         with g_ in the resulting library.
3512         * gio/test-streams.c: (main):
3513         Set log handler for the GIO log domain.
3514
3515 2007-10-22  Alexander Larsson  <alexl@redhat.com>
3516
3517         * gio/gfilenamecompleter.[ch]:
3518         Add g_filename_completer_set_dirs_only
3519
3520 2007-10-22  Alexander Larsson  <alexl@redhat.com>
3521
3522         * gio/Makefile.am:
3523         * gio/gurifuncs.[ch]:
3524         Add some simple URI helpers
3525         
3526         * gio/gfilenamecompleter.[ch]:
3527         Added object for filename (parse name actually) completion
3528         
3529         * gio/glocalvfs.c:
3530         Handle ~ in parse names
3531
3532 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3533
3534         * gio/gfileinfo.h:
3535         * gio/glocalfileinfo.c:
3536         Add and implement id:value attribute
3537
3538 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3539
3540         * gio/gdrive.[ch]:
3541         * gio/guniondrive.c:
3542         * gio/gunixdrive.c:
3543         Add and implement g_drive_has_volumes
3544         
3545 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3546
3547         * gio/gfileinfo.h:
3548         * gio/glocalfileinfo.[ch]:
3549         Add unix:is_mountpoint and implement for local files
3550
3551 2007-10-16  Alexander Larsson  <alexl@redhat.com>
3552
3553         * gio/gunionvolumemonitor.c:
3554         (g_union_volume_monitor_init):
3555         Fix up the unix type getting so that it works with gcc
3556         
3557 2007-10-12  Alexander Larsson  <alexl@redhat.com>
3558
3559         * gio/gfileinfo.h:
3560         * gio/glocalfileinfo.c:
3561         Add thumbnail:failed to file info
3562
3563 2007-10-12  Richard Hult  <richard@imendio.com>
3564
3565         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3566         optimizing away the get_type call (happens with some gcc versions,
3567         like the one shipped with OS X 10.4).
3568
3569 2007-10-12  Alexander Larsson  <alexl@redhat.com>
3570
3571         * gio/glocalfileinfo.c:
3572         (_g_local_file_info_set_attribute):
3573         Fix build if not HAVE_XATTR
3574         Patch from Milosz Derezynski <internalerror@gmail.com>
3575
3576 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
3577
3578         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3579         around for review, otherwise I would have asked you before
3580         committing)
3581
3582 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3583
3584         * gio/gfileinfo.h:
3585         Add thumbnail:path attribute
3586         
3587         * gio/glocalfileinfo.c:
3588         Implement thumbnail:path for local files
3589
3590 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3591
3592         * gio/glocalfileinfo.c:
3593         (_g_local_file_info_get):
3594         Avoid duplicate icon names
3595
3596 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3597
3598         * gio/gthemedicon.[ch]:
3599         Change g_themed_icon_get_names return type to const
3600
3601 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3602
3603         * gio/glocalfileinfo.c:
3604         Don't reference freed memory
3605
3606 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3607
3608         * gio/gfileattribute.c:
3609         Handle objects
3610         
3611         * gio/glocalfileinfo.c:
3612         Return icon info
3613
3614 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3615
3616         * gio/gfileinfo.c:
3617         Check for NULL icons
3618
3619         * gio/gfileattribute.c:
3620         Don't dup when getting objects (same as for string attributes)
3621
3622         * gio/gicon.c (g_icon_equal):
3623         Safely handle NULLs in equal
3624
3625 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3626
3627         * gio/gfileinfo.h:
3628         Fix c++ compilation issues
3629         Patch from Milosz Derezynski <internalerror@gmail.com>
3630
3631 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3632
3633         * programs/gio-monitor-dir.c:
3634         Don't crash if dir monitor not supported.
3635
3636 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3637
3638         * gio/gioerror.h:
3639         Add missing G_END_DECLS
3640
3641 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
3642
3643         * gio/gfile.c: (g_file_set_display_name),
3644         (g_file_query_settable_attributes),
3645         (g_file_query_writable_namespaces):
3646         Return NULL not FALSE on errors as the return type is a pointer.
3647
3648 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
3649
3650         * gio/glocalfile.c: (g_local_file_monitor_file):
3651         Don't call monitor_file on the default interface vtable (which
3652         is NULL) but simply return NULL. The caller, GFile, will create a
3653         polling monitor if NULL is returned.
3654
3655 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3656
3657         * Makefile.am:
3658         * configure.ac:
3659         * gio-unix-2.0.pc.in:
3660         Add gio-unix-2.0.pc if OS_UNIX
3661         
3662         * gio/Makefile.am:
3663         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3664
3665 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3666
3667         * gio/gunixmounts.[ch]:
3668         Make unix mount monitoring API sane.
3669         Now its just a object with mounts_changed
3670         and mountpoints_changed signals.
3671         
3672         * gio/glocaldirectorymonitor.c:
3673         * gio/gunixvolumemonitor.c:
3674         Use new mount monitor api
3675
3676 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3677
3678         * gio/gunixmounts.[ch]:
3679         Move guess type into one call for mounts and one for mountpoints
3680         
3681         * gio/gunixdrive.c:
3682         * gio/gunixvolume.c:
3683         Update
3684
3685 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3686
3687         * gio/gunixmounts.[ch]:
3688         Remove _ prefix in preparation to make this semi-public
3689         Hide implementation of structs
3690         
3691         * gio/glocaldirectorymonitor.c:
3692         * gio/gunixdrive.c:
3693         * gio/gunixvolume.c:
3694         * gio/gunixvolumemonitor.c:
3695         Update for above API changes
3696
3697 2007-10-08  Alexander Larsson  <alexl@redhat.com>
3698
3699         * gio/gfile.c:
3700         Better polling fallback. This also handles the case where we have
3701         a monitor_file implementation, but it fails.
3702
3703 2007-10-08  Alexander Larsson  <alexl@redhat.com>
3704
3705         * gio/gfile.[ch]:
3706         * gio/glocalfile.c:
3707         * gio/gunixmounts.c:
3708         * programs/gio-monitor-dir.c:
3709         * programs/gio-monitor-file.c:
3710         Added cancellable to file monitoring calls.
3711         These are really sync calls and need this.
3712
3713 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
3714
3715         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3716         (g_local_vfs_class_init):
3717         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3718         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3719
3720 2007-10-05  Alexander Larsson  <alexl@redhat.com>
3721
3722         * gio/gdirectorymonitorprivate.h: 
3723         * gio/gfilemonitorprivate.h: 
3724         * gio/gdirectorymonitor.h:
3725         * gio/gfilemonitor.h:
3726         Remove *private.h and move to the public API, so that
3727         we can do implementations outside gio (such as in gvfs)
3728         
3729         * gio/gdirectorymonitor.c:
3730         * gio/gfilemonitor.c:
3731         * gio/glocaldirectorymonitor.c:
3732         * gio/gpollfilemonitor.c:
3733         * gio/inotify/inotify-helper.c:
3734         * gio/fam/fam-helper.c:
3735         Update to the new header names
3736
3737 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
3738
3739         * gio/gdirectorymonitor.c:
3740         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3741         GTypes as abstract.
3742
3743 2007-10-04  Alexander Larsson  <alexl@redhat.com>
3744
3745         * gio/glocalfileinfo.c (get_access_rights):
3746         Set CAN_TRASH when we can move the file.
3747         We should really also check for a parent trash dir.
3748
3749 2007-10-04  Alexander Larsson  <alexl@redhat.com>
3750
3751         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3752         Add can_trash access attribute
3753
3754 2007-10-04  Alexander Larsson  <alexl@redhat.com>
3755
3756         * gio/glocalfile.c:
3757         (g_local_file_trash):
3758         Create info file first. This is per-spec and allows
3759         us to actually trash directories.
3760
3761 2007-10-02  Alexander Larsson  <alexl@redhat.com>
3762
3763         * gio/gdesktopappinfo.c:
3764         Implement the new mime support code.
3765         Always set app as handling mimetype when being set as default for it
3766
3767 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3768
3769         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3770         Fix up check for xattrs:
3771
3772 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3773
3774         * gio/gappinfo.c:
3775         (g_app_info_set_as_default_for_extension):
3776         (g_app_info_add_supports_type):
3777         (g_app_info_can_remove_supports_type):
3778         (g_app_info_remove_supports_type):
3779         Make these fail nicely if not implemented
3780
3781 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
3782
3783         * gio/glocalfileoutputstream.c:
3784         * gio/glocalfileoutputstream.h:
3785         * gio/test-gio.c:
3786         * gio/gfile.c:
3787         * gio/gfile.h:
3788         * gio/glocalfile.c:
3789         * programs/gio-save.c: 
3790         Add a GFileCreateFlags argument to operations that can create
3791         a new file.
3792
3793 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3794
3795         * gio/gappinfo.[ch]:
3796         * gio/gdesktopappinfo.c:
3797         Add more (stubbed out) mime API needed for nautilus
3798
3799 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3800
3801         * gio/gappinfo.h:
3802         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3803         Add g_app_info_set_as_default_for_extension.
3804         
3805         * gio/gdesktopappinfo.c:
3806         Dummy for g_app_info_set_as_default_for_extension
3807         Support flags in g_app_info_create_from_commandline
3808
3809         * gio/gwin32appinfo.c:
3810         * gio/test-gio.c:
3811         Update for API changes
3812         
3813         * gio/gthemedicon.c:
3814         Properly NULL-terminate list of icon names
3815
3816 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3817
3818         * gio/gloadableicon.h:
3819         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3820
3821 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3822
3823         * gio/Makefile.am:
3824         Install headers in $includedir/gio-standalone/
3825         
3826         * gio-2.0.pc.in: Added.
3827         * gio-standalone.pc.in: Removed.
3828         * configure.ac:
3829         * Makefile.am:
3830         Renamed pkg-config file to match glib (for future move)
3831         Update to the new include dir
3832         
3833         * gio/gappinfo.h:
3834         Add more TODO comments
3835
3836 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3837
3838         * gio/gdesktopappinfo.[ch]:
3839         Expose new_from_filename
3840         Add getter for is_hidden and handle it better
3841
3842 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3843
3844         * gio/gfileinfo.[ch]:
3845         Rename g_file_size_format_for_display to
3846         g_format_file_size_for_display.
3847         Now it doesn't have the g_file prefix, so we
3848         can later move it to glib.
3849
3850 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3851
3852         * gio/gappinfo.[ch]:
3853         Add g_app_info_get_id and g_app_info_get_executable.
3854         Make all getters non-reffing
3855         Make g_app_info_launch take GFile arguments.
3856         Add must_support_uris argument to g_app_info_get_default_for_type.
3857         
3858         * gio/gwin32appinfo.c:
3859         Update to GAppInfo api changes
3860         
3861         * gio/gdesktopappinfo.c:
3862         Update to GAppInfo api changes
3863         Implement supports_xdg_startup_notify
3864         
3865         * gio/gfileicon.c (g_file_icon_get_file):
3866         Make getter non-reffing.
3867         
3868         * gio/test-gio.c:
3869         Update to new API
3870
3871 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3872
3873         * gio/gfileinfo.[ch]: 
3874         Add g_file_size_format_for_display helper
3875         
3876 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3877
3878         * gio/glocalfileinfo.c:
3879         Set UNIX_GID from gid, not from uid
3880
3881 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3882
3883         * gio/gfile.[ch]:
3884         Add g_file_set_attributes_async
3885
3886 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3887
3888         * gio/glocalfile.c (g_local_file_set_display_name):
3889         Fix set_display_name to actually rename to the right place.
3890         Use lstat to look for existing files so we don't overwrite
3891         broken links.
3892
3893 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3894
3895         * gio/gfile.[ch]:
3896         Add g_file_set_display_name_async()
3897
3898 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3899
3900         * gio/gfile.[ch]:
3901         Add load_partial_contents async calls
3902         
3903         * gio/glocalfile.c:
3904         Make internal function static
3905
3906 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3907
3908         * gio/glocalfileinfo.c:
3909         Correctly detect broken symlinks
3910
3911 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3912
3913         * gio/gcancellable.c (g_cancellable_cancel):
3914         Allow cancel on NULL cancellable
3915
3916 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3917
3918         * gio/gsimpleasyncresult.c:
3919         Don't allocate g_error manually.
3920         Fixes g_slice/g_new mixup crash
3921
3922 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3923
3924         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3925         Actually set active_backend.
3926         This means the monitor will be cancelled correctly.
3927
3928 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3929
3930         * gio/gdirectorymonitor.c:
3931         Set timeout to NULL when destroying
3932
3933 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3934
3935         * gio/gioerror.h:
3936         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3937         that is a better description of the error.
3938
3939 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
3940
3941         * gio/gvfs.c: (g_vfs_get_local):
3942         Make the local vfs variable static. The same instance should
3943         always be returned.
3944
3945 2007-09-24  Alexander Larsson  <alexl@redhat.com>
3946
3947         * gio/glocalfileinfo.c:
3948         Pass in actual length read into sniffer, not the length
3949         we tried to read.
3950
3951 2007-09-21  Alexander Larsson  <alexl@redhat.com>
3952
3953         * gio/gfileenumerator.c:
3954         * gio/gfileinfo.c:
3955         * gio/gfileinfo.h:
3956         * gio/gfileinputstream.c:
3957         * gio/gfileoutputstream.c:
3958         * gio/ginputstream.c:
3959         * gio/goutputstream.c:
3960         Don't crash if async callbacks are NULL
3961
3962 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3963
3964         * gio/gfile.[ch]:
3965         Add async enumerate_children method and default
3966         implementation
3967
3968 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3969
3970         * gio/gfile.[ch]
3971         Add g_file_contains_file & g_file_get_relative_path, since they
3972         were needed for nautilus.
3973         Renamed g_file_resolve_relative to g_file_resolve_relative_path
3974         to make it clearer.
3975         
3976         * gio/gdummyfile.c:
3977         * gio/glocalfile.c:
3978         Implement new methods
3979
3980 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3981
3982         * gio/gfile.[ch]:
3983         * gio/gfileinputstream.[ch]:
3984         * gio/gfileoutputstream.[ch]:
3985         * gio/glocalfile.c:
3986         * gio/glocalfileenumerator.[ch]:
3987         * gio/glocalfileinfo.[ch]:
3988         * gio/glocalfileinputstream.c:
3989         * gio/glocalfileoutputstream.c:
3990         * gio/gpollfilemonitor.c:
3991         * programs/gio-copy.c:
3992         * programs/gio-info.c:
3993         * programs/gio-move.c:
3994         Rename get_file_info to query_info() to make it clearer
3995         that these are not simple getters, but do i/o.
3996
3997 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3998
3999         * gio/gdatainputstream.[ch]:
4000         * gio/test-streams.c:
4001         Use _read_XXX instead of _get_XXX for the i/o calls
4002         in GDataInputStream
4003
4004 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4005
4006         * gio/gappinfo.h:
4007         Added needed stuff to TODO comment
4008
4009 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4010
4011         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4012         Don't error out removing the backup copy if it doesn't
4013         already exist.
4014
4015 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4016
4017         * programs/Makefile.am:
4018         * programs/gvfs-*.c: 
4019         * programs/gio-*.c:
4020         Renamed apps from gvfs-xxx to gio-xxx.
4021
4022 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4023
4024         * gio/gfile.c:
4025         * gio/gfileoutputstream.[ch]:
4026         * gio/glocalfileoutputstream.c:
4027         * programs/gvfs-save.c:
4028         g_file_output_stream_get_etag doesn't do i/o, so remove
4029         cancellation and error.
4030
4031 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4032
4033         * gio/gfile.[ch]:
4034         Add new_etag output to replace_contents functions
4035
4036 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4037
4038         * gio/gfileoutputstream.[ch]:
4039         Add async get_file_info and default implementation
4040
4041 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4042
4043         * gio/gfileinputstream.c:
4044         Implement fallback wrapper for async get_file_info
4045
4046 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4047
4048         * gio/gfile.[ch]:
4049         Add etag out argument to load_contents
4050         
4051         * gio/test-gio.c:
4052         Update to new API
4053
4054 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4055
4056         * gio/gcontenttype.c (looks_like_text):
4057         Whitespace like tab, cr and lf do not make the
4058         file binary.
4059
4060 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4061
4062         * gio/gfileinputstream.[ch]:
4063         Add async get_file_info.
4064
4065 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4066
4067         * gio/goutputstream.c (g_output_stream_write_all):
4068         Allow NULL for bytes_written
4069
4070 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4071
4072         * gio/gmemoryinputstream.[ch]:
4073         Add accessors for data
4074
4075 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4076
4077         * gio/gdatainputstream.c (g_data_input_stream_get_until):
4078         Don't crash if length is NULL
4079