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