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