94a9db6ab1783e60aeb9487e89e600475bb63a78
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2
3         * glocalfileinfo.c:
4         Check for HAVE_LCHOWN (#505887)
5         
6 2008-01-03  Alexander Larsson  <alexl@redhat.com>
7
8         * gfileinfo.h:
9         * glocalfileinfo.c:
10         Add define for selinux context attribute.
11         Fix missing : -> :: namespace separator change
12         Fix missing _ -> - name change for xattr-sys.
13         (#505058)
14
15 2008-01-03  Alexander Larsson  <alexl@redhat.com>
16
17         * fam/Makefile.am:
18         Link to libglib and libgobject directly (#504879)
19         Patch from Sebastien Bacher
20
21 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
22
23         * gfile.c: Expanded the g_file_new_for_commandline_arg
24         description a bit, based on the code and the docs of the
25         other g_file_new_for_* functions.
26
27 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
28
29         * gfilemonitor.h: Fixed typo in docs.
30
31 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
32
33         Updates to GIO documentation. (#506395, Mikael Hermansson)
34
35         * gcontenttype.c: Describe memory management for return value of
36         g_content_types_get_registered(). Missing piece from #505815.
37         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
38         GVolume, GDrive, GMounts, which hopefully gives the user less
39         confusions when using this API. Following explainations from
40         Alexander Larsson on gtk-devel-list.
41
42 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
43
44         * gfileinfo.c: Expand the long description.
45
46 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
47
48         * fam/Makefile.am:
49         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
50         fix builds with --disable-visibility.  (#500273, Christian Persch)
51
52 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
53
54         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
55         in the list of returned app infos.
56
57 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
58
59         * gappinfo.c: Fix a cross-reference
60
61 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
62
63         * gfileinputstream.c:
64         * gfileoutputstream.c:
65         * gloadableicon.h:
66         * gunixmounts.c:
67         * gmount.h:
68         * gdesktopappinfo.c:
69         * gvolumemonitor.c: 
70         * gfileinfo.c: Documentation updates.
71
72 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
73
74         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
75         Tommi Komulainen)
76
77 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
78
79         * gcontenttype.c (g_content_types_get_registered): Don't return
80         freed memory (#505815, Mikael Hermansson)
81
82 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
83
84         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
85         used to detect statbuf->st_blocks. (#505042)
86
87 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
88
89         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
90         environment handling.  (#504829, Cosimo Cecchi)
91
92 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
93
94         * gappinfo.c: Doc improvements
95         
96         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
97         not ids.
98
99 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
100
101         * === Released 2.15.0 ===
102
103 2007-12-20  Hans Breuer  <hans@breuer.org>
104
105         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
106         with symbols gwin32appinfo.obj, added gmount.obj
107         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
108
109 2007-12-20  Alexander Larsson  <alexl@redhat.com>
110
111         * gfile.c:
112         * gfileattribute.c:
113         * gfileinfo.c:
114         * gfileinfo.h:
115         * gfilenamecompleter.c:
116         * glocalfile.c:
117         * glocalfileinfo.c:
118         * gpollfilemonitor.c:
119         File attribute renames:
120         std:: -> standard::
121         fs:: -> filesystem::
122         id::fs -> id::filesystem
123         
124 2007-12-20  Alexander Larsson  <alexl@redhat.com>
125
126         * gfile.[ch]:
127         * gdrive.[ch]:
128         * gmount.[ch]:
129         * gvolume.[ch]:
130         * gunixmount.c:
131         * gunixvolume.c:
132         * gio.symbols:
133         Add GMountUnmountFlags to all unmount and
134         eject calls.
135         Add g_mount_remount() call.
136
137 2007-12-20  Alexander Larsson  <alexl@redhat.com>
138
139         * gvfs.c (get_default_vfs):
140         Fix unused variable warning
141
142 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
143
144         * pltcheck.sh: Update
145
146 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
147
148         * gunionvolumemonitor.c:
149         * gunixmount.c: Remove C99 comments
150
151 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
152
153         * gio.symbols: Add some missing symbols
154
155 2007-12-19  Alexander Larsson  <alexl@redhat.com>
156
157         * giomodule.c:
158         Make g_io_modules_load_all_in_directory not unuse
159         loaded modules so that users of it can do stuff
160         before unloading.
161         Init internal "module" types.
162         Initialize static prio and name for types so that
163         we don't have to load modules to get it.
164         
165         * gnativevolumemonitor.h:
166         * gvolumemonitor.h:
167         Move is_supported to parent class so that
168         non-native monitors can avoid being initialized
169         too. (For instance GDaemonVolumeMonitor if we're
170         not using GDaemonVfs.)
171         
172         * glocaldirectorymonitor.[ch]:
173         * glocalfilemonitor.[ch]:
174         * gunionvolumemonitor.c:
175         * gunixvolumemonitor.c:
176         * gvfs.c:
177         Find plugins using the static prio+name to
178         avoid unnecessarily loading the modules.
179
180 2007-12-19  Alexander Larsson  <alexl@redhat.com>
181
182         * giomodule.c:
183         Remove warnings
184
185 2007-12-19  Alexander Larsson  <alexl@redhat.com>
186
187         * gunionvolumemonitor.c:
188         Store the native type as GType, not class so that
189         we can unload it. But still avoid unnecessarily
190         unload modules.
191
192 2007-12-19  David Zeuthen  <davidz@redhat.com>
193
194         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
195         add signals 'disconnected' and 'eject-button' on GDrive. Add
196         signal 'removed' on GVolume and 'unmounted' on GMount.
197
198         * gdrive.c: (g_drive_base_init):
199         * gdrive.h:
200         * gfile.c: (g_file_mount_mountable),
201         (g_file_mount_enclosing_volume):
202         * gio.symbols:
203         * gioerror.h:
204         * gmount.c: (g_mount_base_init):
205         * gmount.h:
206         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
207         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
208         * gvolume.c: (g_volume_base_init), (g_volume_mount):
209         * gvolume.h:
210         * gvolumemonitor.h:
211
212 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
213
214         * *.c: Fix up includes in the section docs.
215
216 2007-12-17  Alexander Larsson  <alexl@redhat.com>
217
218         * gnativevolumemonitor.h:
219         * gunionvolumemonitor.c:
220         * gunixvolumemonitor.c:
221         Add is_supported() to GNativeVolumeMonitorClass so
222         that we can avoid having to create an object to see
223         if the backend is supported at runtime.
224         Also add name member and an env var to pick a specific
225         volume monitor backend.
226         
227         * gmountprivate.h:
228         * glocalfile.c:
229         Add cancellable to _g_mount_get_for_mount_path()
230         
231         * glocaldirectorymonitor.c:
232         * glocalfilemonitor.c:
233         Avoid loading and unloading modules while sorting.
234
235 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
236
237         * gio.symbols:
238         * gunixmounts.[hc]: Namespace waste reduction, move some
239         g_get_unix_mount functions to the g_unix_mount namespace.
240
241         * gunixmounts.c:
242         * gunixvolumemonitor.c:
243         * glocalfile.c:
244         * glocaldirectorymonitor.c: Update all callers.
245
246         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
247
248 2007-12-17  Alexander Larsson  <alexl@redhat.com>
249
250         * gfile.c:
251         Add doc comments about what GFile operations are
252         guaranteed to not block.
253
254 2007-12-17  Alexander Larsson  <alexl@redhat.com>
255
256         * gunixmounts.c:
257         Add missing #ifdef fixing OSX build.
258         (#503334, patch from Richard Hult)
259
260 2007-12-14  David Zeuthen  <davidz@redhat.com>
261
262         * Makefile.am:
263         * gio.symbols:
264         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
265         (g_mount_eject), (g_mount_eject_finish):
266         * gmount.h:
267         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
268         (get_volume_for_uuid), (get_mount_for_uuid),
269         (g_union_volume_monitor_class_init),
270         (get_default_native_type_with_exclude), (get_default_native_type),
271         (get_native_type), (update_native_type),
272         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
273         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
274         (g_unix_mount_can_eject), (eject_unmount_cb),
275         (eject_unmount_read_error), (eject_unmount_do),
276         (g_unix_mount_unmount), (g_unix_mount_eject),
277         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
278         * gunixmounts.c: (g_unix_mount_guess_can_eject),
279         (g_unix_mount_point_guess_can_eject):
280         * gunixmounts.h:
281         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
282         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
283         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
284         (g_unix_volume_mount), (g_unix_volume_eject),
285         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
286         * gunixvolumemonitor.c: (get_volume_for_uuid),
287         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
288         (update_mounts):
289         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
290         (g_volume_eject), (g_volume_eject_finish):
291         * gvolume.h:
292         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
293         (g_volume_monitor_get_mount_for_uuid):
294         * gvolumemonitor.h:
295
296         Provide eject() on both GMount and GVolume and utility functions
297         to guess whether a GUnixMountPoint or GUnixMountEntry should be
298         ejected. Introduce the concept of UUID's and wire it into GVolume
299         and GMount and provide API on GVolumeMonitor to find such
300         instances. Also handle the case where an external
301         GNativeVolumeMonitor fails to initialize. Lock around the
302         _g_get_mount_for_mount_path() function such that volume monitor
303         implementations won't have to do locking themselves.
304
305 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
306
307         * gdesktopappinfo.c:
308         * gunixmounts.c:
309         * gfileinfo.c:
310         * gvolumemonitor.c:
311         * gfile.h:
312         * gioscheduler.c:
313         * gvolume.h: Documentation updates
314
315 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
316
317         * gunixmounts.c:
318         * gfile.h: Doc updates
319
320 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
321
322         * gcontenttype.c:
323         * gdesktopappinfo.c: Use hash table iterators.
324
325 2007-12-14  Alexander Larsson  <alexl@redhat.com>
326
327         * Makefile.am:
328         * gfileattribute.[ch]:
329         * gfileattribute-priv.h:
330         Move GFileAttributeValue to a private header, as
331         its sort of ugly.
332         
333         * gfile.[ch]:
334         Make set_attribute take a type + a pointer instead
335         of a GFileAttributeValue.
336         
337         * gfileinfo.[ch]:
338         Fix up for above changes.
339         Add g_file_info_get_attribute_data to get
340         all info in one call, g_file_info_get_attribute_status
341         to get the status and g_file_info_get_attribute_as_string.
342         
343         * gio.symbols:
344         * glocalfile.c:
345         * glocalfileinfo.[ch]:
346         Update for changes
347         
348         * gunixmounts.c:
349         Make _guess_type static.
350
351 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
352
353         * Makefile.am:
354         * inotify/Makefile.am: Fixed build when srcdir != builddir,
355         made mkenums and friends use temporary files to avoid leaving
356         empty generated files on failure (#503470).
357
358 2007-12-14  Alexander Larsson  <alexl@redhat.com>
359
360         * gmountoperation.h:
361         Fix AKS -> ASK typo
362
363 2007-12-14  Alexander Larsson  <alexl@redhat.com>
364
365         * gappinfo.h:
366         * gfile.[ch]:
367         * gfileattribute.[ch]:
368         * gio.symbols:
369         * glocalfile.c:
370         * glocalfileoutputstream.c:
371         * gmountoperation.[ch]:
372         * goutputstream.[ch]:
373         Clean up all flags enums to not have _FLAGS in them
374         Make the names of some of the enums better.
375
376         * glocalfileinfo.c:
377         Fix warning
378         
379 2007-12-14  Michael Natterer  <mitch@imendio.com>
380
381         * gio.symbols: fix g_io_scheduler symbol names.
382
383 2007-12-14  Alexander Larsson  <alexl@redhat.com>
384
385         * Makefile.am:
386         * fam/Makefile.am:
387         * gappinfo.h:
388         * gasyncresult.h:
389         * gbufferedinputstream.h:
390         * gbufferedoutputstream.h:
391         * gcancellable.h:
392         * gcontenttype.h:
393         * gdatainputstream.h:
394         * gdataoutputstream.h:
395         * gdesktopappinfo.h:
396         * gdirectorymonitor.h:
397         * gdrive.h:
398         * gfile.h:
399         * gfileattribute.h:
400         * gfileenumerator.h:
401         * gfileicon.h:
402         * gfileinfo.h:
403         * gfileinputstream.h:
404         * gfilemonitor.h:
405         * gfilenamecompleter.h:
406         * gfileoutputstream.h:
407         * gfilterinputstream.h:
408         * gfilteroutputstream.h:
409         * gicon.h:
410         * ginputstream.h:
411         * gio.h:
412         * gioerror.h:
413         * giomodule.h:
414         * gioscheduler.h:
415         * gloadableicon.h:
416         * gmemoryinputstream.h:
417         * gmemoryoutputstream.h:
418         * gmount.h:
419         * gmountoperation.h:
420         * goutputstream.h:
421         * gseekable.h:
422         * gsimpleasyncresult.h:
423         * gthemedicon.h:
424         * gunixinputstream.h:
425         * gunixmounts.h:
426         * gunixoutputstream.h:
427         * gvfs.h:
428         * gvolume.h:
429         * gvolumemonitor.h:
430         * inotify/Makefile.am:
431         Only allow including <gio/gio.h> from apps
432
433 2007-12-14  Alexander Larsson  <alexl@redhat.com>
434
435         * gioscheduler.[ch]:
436         * gsimpleasyncresult.c:
437         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
438         Split out the send_to_mainloop call into two versions instead
439         of having the block argument.
440
441 2007-12-13  Alexander Larsson  <alexl@redhat.com>
442
443         * gcancellable.[ch]:
444         * gio.symbols:
445         * gbufferedinputstream.c:
446         * gfileenumerator.c:
447         * gfileinputstream.c:
448         * gfileoutputstream.c:
449         * ginputstream.c:
450         * gioscheduler.c:
451         * goutputstream.c:
452         g_push/pop_current_cancellable ->
453         g_cancellable_push/pop_current
454
455 2007-12-13  Alexander Larsson  <alexl@redhat.com>
456
457         * gfile.[ch]:
458         * gio.symbols:
459         Rename g_mount_for_location to g_file_mount_enclosing_volume.
460
461 2007-12-13  Alexander Larsson  <alexl@redhat.com>
462
463         * gmountoperation.h:
464         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
465
466 2007-12-12  Alexander Larsson  <alexl@redhat.com>
467
468         * gioscheduler.c:
469         Fix race condition when freeing proxy in
470         g_io_job_send_to_mainloop().
471
472 2007-12-12  Alexander Larsson  <alexl@redhat.com>
473
474         * gfileattribute.c:
475         * gfileinfo.[ch]:
476         * glocalfile.c:
477         * glocalfileinfo.c:
478         Make attribute namespace separator "::" instead of ":".
479         Use - instead of _ as separator in attribute names.
480
481 2007-12-12  Alexander Larsson  <alexl@redhat.com>
482
483         * gbufferedinputstream.h:
484         * gbufferedoutputstream.h:
485         * gdatainputstream.h:
486         * gdataoutputstream.h:
487         * gdirectorymonitor.h:
488         * gfileenumerator.h:
489         * gfileinputstream.h:
490         * gfilemonitor.h:
491         * gfileoutputstream.h:
492         * gfilterinputstream.h:
493         * gfilteroutputstream.h:
494         * ginputstream.h:
495         * glocalfileinputstream.h:
496         * glocalfileoutputstream.h:
497         * gmemoryinputstream.h:
498         * gmemoryoutputstream.h:
499         * gnativevolumemonitor.h:
500         * goutputstream.h:
501         * gunixinputstream.h:
502         * gunixoutputstream.h:
503         * gvfs.h:
504         * gvolumemonitor.h:
505         s/parent/parent_instance/ in GObjects
506
507 2007-12-12  Alexander Larsson  <alexl@redhat.com>
508
509         * gdrive.h:
510         * gmount.h:
511         * gvolume.h:
512         No need for padding for interfaces
513         
514 2007-12-12  Alexander Larsson  <alexl@redhat.com>
515
516         * gappinfo.[ch]:
517         * gasyncresult.c:
518         * gbufferedinputstream.c:
519         * gbufferedoutputstream.c:
520         * gcancellable.c:
521         * gcontenttype.c:
522         * gdatainputstream.[ch]:
523         * gdesktopappinfo.c:
524         * gdirectorymonitor.c:
525         * gfile.[ch]:
526         * gfileattribute.[ch]:
527         * gfileicon.[ch]:
528         * gfileinfo.h:
529         * gfileinputstream.h:
530         * gfilemonitor.[ch]:
531         * gfileoutputstream.[ch]:
532         * gfilterinputstream.h:
533         * gfilteroutputstream.h:
534         * gicon.h:
535         * gioscheduler.c:
536         * gloadableicon.[ch]:
537         * gmemoryinputstream.c:
538         * gmountoperation.c:
539         * gthemedicon.c:
540         Fix up a bunch of details in the docs.
541
542         * glocalfileinfo.c:
543         CR/LF -> LF fixups
544         
545 2007-12-11  David Zeuthen  <davidz@redhat.com>
546
547         Rework how volumes, drives and volume monitoring is
548         done. Previosly the model was
549
550          GDrive <1-1> GVolume
551
552         where a GDrive instance represented a mount point and a GVolume
553         instance represented a mounted file system. This patch changes it
554         the model to
555
556                 GDrive <1-N> GVolume <1-1> GMount
557
558         where GMount now serves the purpose of the old GVolume and the new
559         GVolume serves the purpose of the old GDrive. In addition the new
560         GDrive interface is used to represent a collection of GVolume
561         instances (typically partitions) and also contains utility to query
562         the state of the physical drive the GDrive object represents (such
563         as checking for media, polling the drive, ejecting the media etc.).
564
565         Also implement mounting and unmounting in the Unix volume monitor
566         backend. A subquent patch will introduce GDrive support for ejection
567         of media.
568
569         * Makefile.am:
570         * gdrive.c: (g_drive_is_media_check_automatic),
571         (g_drive_is_media_removable), (g_drive_has_media),
572         (g_drive_can_poll_for_media), (g_drive_eject),
573         (g_drive_eject_finish), (g_drive_poll_for_media),
574         (g_drive_poll_for_media_finish):
575         * gdrive.h:
576         * gfile.c: (g_file_find_enclosing_mount):
577         * gfile.h:
578         * gio.symbols:
579         * glocaldirectorymonitor.c:
580         (g_local_directory_monitor_constructor), (mounts_changed):
581         * glocalfile.c: (get_mount_info),
582         (g_local_file_find_enclosing_mount),
583         (g_local_file_file_iface_init):
584         * gnativevolumemonitor.h:
585         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
586         (get_connected_drives), (g_union_volume_monitor_class_init),
587         (child_volume_added), (child_volume_removed),
588         (child_volume_changed), (child_mount_added), (child_mount_removed),
589         (child_mount_pre_unmount), (child_mount_changed),
590         (child_drive_changed), (g_union_volume_monitor_add_monitor),
591         (g_union_volume_monitor_remove_monitor),
592         (_g_mount_get_for_mount_path):
593         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
594         (guess_system_internal), (_g_get_unix_mounts),
595         (_g_get_unix_mount_points), (g_get_unix_mount_at),
596         (g_unix_mount_free), (g_unix_mount_compare),
597         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
598         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
599         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
600         (type_to_icon), (g_unix_mount_guess_name),
601         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
602         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
603         (_resolve_symlink), (_resolve_dev_root):
604         * gunixmounts.h:
605         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
606         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
607         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
608         (g_unix_volume_get_name), (g_unix_volume_can_mount),
609         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
610         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
611         (g_unix_volume_mount), (g_unix_volume_mount_finish),
612         (g_unix_volume_volume_iface_init):
613         * gunixvolume.h:
614         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
615         (get_mounts), (get_volumes), (get_connected_drives),
616         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
617         (mountpoints_changed), (mounts_changed),
618         (g_unix_volume_monitor_init),
619         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
620         (find_mount_by_mountpath), (update_volumes), (update_mounts):
621         * gunixvolumemonitor.h:
622         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
623         (g_volume_mount), (g_volume_mount_finish):
624         * gvolume.h:
625         * gvolumemonitor.c: (g_volume_monitor_class_init),
626         (g_volume_monitor_get_connected_drives),
627         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
628         * gvolumemonitor.h:
629
630 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
631
632         * gmountoperation.h (GPasswordFlags): Close the gap
633
634 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
635
636         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
637         * gio.symbols:
638         * gdesktopappinfo.[hc]: Remove _-prefixes
639
640 2007-12-10  Tor Lillqvist  <tml@novell.com>
641
642         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
643         gcc warnings.
644
645 2007-12-10  Alexander Larsson  <alexl@redhat.com>
646
647         * gfile.c (g_file_set_display_name):
648         Don't hardcode '/' (#502727)
649
650 2007-12-09  Hans Breuer  <hans@breuer.org>
651
652         * makefile.msc : follow lib naming convention
653         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
654         for user and group name, tested with ../tests/gio-ls
655
656 2007-12-09  A. Walton  <awalton@svn.gnome.org>
657
658         * gdesktopappinfo.c:
659         * gdrive.c:
660         * gdrive.h:
661         * gfile.c:
662         * gfile.h:
663         * gfileattribute.c:
664         * gfileenumerator.c:
665         * gioerror.c:
666         * gioscheduler.c:
667         * gioscheduler.h:
668         * gloadableicon.c:
669         * gmemoryinputstream.c:
670         * gmemoryoutputstream.c:
671         * goutputstream.h:
672         * gsimpleasyncresult.c:
673         More documentation cleanup and filling in missing information, bringing
674         GIO to 99% symbol coverage.
675
676 2007-12-08  Hans Breuer  <hans@breuer.org>
677
678         [gio compiles and links on win32, not sure how much already works]
679         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
680         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
681         base on win32 API; prefer g_lstat() over lstat(); instead of 
682         localtime_r() use an all GLib implementation on win32;
683         get_mount_info() still needs a win32 specifc implementation
684         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
685         win32_get_file_user_info to get owner/group info without uid/gid
686         * glocalfileinputstream.c : include <io.h> on win32
687         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
688         definition, use g_win32_ftruncate() for G_OS_WIN32
689         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
690         it is available with mingw/w32api but a mess with the M$ Platform SDKs
691         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
692         * makefile.msc : updated
693
694 2007-12-07  Alexander Larsson  <alexl@redhat.com>
695
696         * glocalfileenumerator.c (_g_local_file_enumerator_new):
697         Avoid warning spew if error == NULL
698         
699 2007-12-07  Alexander Larsson  <alexl@redhat.com>
700
701         * gfile.c:
702         Update docs wrt etags
703
704 2007-12-06  Alexander Larsson  <alexl@redhat.com>
705
706         * glocalfileinfo.h:
707         Include sys/types.h for dev_t (#501919)
708
709 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
710
711         * gio.symbols:
712         * pltcheck.sh:
713         Make abicheck and pltcheck pass.
714
715 2007-12-05  Alexander Larsson  <alexl@redhat.com>
716
717         * Makefile.am:
718         * giomodule-priv.h: Added.
719         * glocaldirectorymonitor.c:
720         * glocalfilemonitor.c:
721         * gunionvolumemonitor.c:
722         * gvfs.c:
723         Actually add the declaration of _g_io_modules_ensure_loaded
724
725 2007-12-05  Alexander Larsson  <alexl@redhat.com>
726
727         * gdatainputstream.c:
728         Fix warnings
729         
730         * gio.symbols:
731         * giomodule.[ch]
732         * glocaldirectorymonitor.c:
733         * glocalfilemonitor.c:
734         * gunionvolumemonitor.c:
735         * gvfs.c:
736         Make g_io_modules_ensure_loaded a private function and
737         don't pass in the dirname. This means we can do magic
738         directory finding in the win32 version.
739         Export the actual load-modules-in-directory code so that
740         gvfs can reuse that.
741
742 2007-12-05  Alexander Larsson  <alexl@redhat.com>
743
744         * gbufferedinputstream.c:
745         * gbufferedoutputstream.c:
746         * gdrive.[ch]:
747         * gfile.[ch]:
748         * gfileenumerator.[ch]:
749         * gfileinputstream.c:
750         * gfileoutputstream.[ch]:
751         * gfilterinputstream.c:
752         * gfilteroutputstream.c:
753         * ginputstream.[ch]:
754         * glocalfile.c:
755         * glocalfileenumerator.c:
756         * glocalfileinputstream.c:
757         * glocalfileoutputstream.c:
758         * gmemoryinputstream.c:
759         * gmemoryoutputstream.c:
760         * goutputstream.[ch]:
761         * gseekable.[ch]:
762         * gunixdrive.c:
763         * gunixinputstream.c:
764         * gunixoutputstream.c:
765         Rename all struct members named:
766         read, write, close, truncate, or mount
767         to foo_fn, as these are reserved names
768         and could be defined as macros in libc.
769         (#501645)
770
771 2007-12-04  Alexander Larsson  <alexl@redhat.com>
772
773         * goutputstream.c:
774         (g_output_stream_close):
775         Only call flush if non-null.
776
777 2007-11-30  Dan Winship  <danw@gnome.org>
778
779         * ginputstream.c (g_input_stream_set_pending): Make this take a
780         GError and return a gboolean, and do the "outstanding operation"
781         check (and the "stream is already closed" check) itself.
782         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
783
784         * goutputstream.c (g_output_stream_set_pending)
785         (g_output_stream_clear_pending): Likewise
786
787         * gbufferedinputstream.c: 
788         * gfileinputstream.c: 
789         * gfileoutputstream.c: Update for that
790
791         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
792         Like g_simple_async_report_error_in_idle, but takes a GError
793         rather than building one.
794
795 2007-11-30  Dan Winship  <danw@gnome.org>
796
797         * goutputstream.c: Don't cheat and unset the "pending" flag around
798         inner calls. Instead, call the class method directly rather than
799         the wrapper function that checks "pending"
800
801 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
802
803         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
804
805 2007-12-03  Hans Breuer  <hans@breuer.org>
806
807         [start of port to win32/msvc]
808         * gcancellable.c : HAVE_UNIST_H and _pipe()
809         * gcontenttype.c : only include <dirent.h> in the UNIX branch
810         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
811         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
812         HAVE_UNIST_H
813         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
814         * glocalvfs.c : use HAVE_PWD_H
815         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
816         * makefile.msc : new file (maybe later converted to makefile.msc.in)
817         * Makefile.am : added to EXTRA_DIST
818
819 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
820
821         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
822         (#499783)
823
824 2007-12-03  Alexander Larsson  <alexl@redhat.com>
825
826         * glocalfileinfo.c:
827         Handle OSX style xattrs API (#500506)
828
829 2007-12-03  Alexander Larsson  <alexl@redhat.com>
830
831         * gfile.[ch]:
832         * glocalfile.c:
833         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
834
835 2007-12-02  A. Walton  <awalton@svn.gnome.org>
836
837         * gfile.c:
838         * gfileattribute.c:
839         Documentation accuracy fixes.
840
841 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
842
843         * gioenumtypes.c.template: Fix typo.
844
845 2007-12-01  Matthias Clasen <mclasen@redhat.com>
846
847         * gioenumtypes.c.template: Make threadsafe get_type() functions.
848
849 2007-12-01  Matthias Clasen <mclasen@redhat.com>
850
851         * gdirectorymonitor.c:
852         * gfilemonitor.c: Add properties
853
854         * gbufferedoutputstream.c: Don't mark buffer-size property 
855         as construct-only.
856
857 2007-12-01  Matthias Clasen <mclasen@redhat.com>
858
859         * gbufferedoutputstream.c: Add auto-grow property.
860
861 2007-11-30  Matthias Clasen <mclasen@redhat.com>
862
863         * *.c: Unify the capitalization of section headings.
864
865 2007-11-30  Matthias Clasen <mclasen@redhat.com>
866
867         * gmountoperation.c: Add properties
868         
869         * gdatainputstream.c: Turn byte-order and newline-type into
870         properties.
871
872 2007-11-30  Matthias Clasen <mclasen@redhat.com>
873
874         * gioenumtypes.[hc].template: Templates for enum registration
875
876         * Makefile.am: Generate gioenumtypes.[hc]
877
878         * gio.h: Include gioenumtypes.h
879         * gappinfo.h:
880         * gfile.h: Add some explicit nicks.
881
882         * gio.symbols: Add new symbols
883
884         * pltcheck.sh: Adjust
885
886 2007-11-30  Matthias Clasen <mclasen@redhat.com>
887
888         * *.c: Explain etags and link to the explanation
889
890 2007-11-29  Matthias Clasen <mclasen@redhat.com>
891
892         * *.c: Explain I/O priority.
893
894         * *.c: More coding style fixes.
895
896 2007-11-29  Matthias Clasen <mclasen@redhat.com>
897
898         * gasyncresult.c: Add another paragraph to the intro,
899         adjust coding style of example.
900
901 2007-11-29  A. Walton <awalton@svn.gnome.org>
902
903         * gappinfo.c:
904           Fixes unknown meaning in GAppLaunchContext docs.
905         * gfile.c:
906           Clarify asynchronous ops.
907         * gfileattribute.c:
908           Fix entity tag docs.
909         * gicon.c:
910         * gthemedicon.c:
911           Provides missing gtk-doc section, fixes API docs slighly.
912         * gsimpleasyncresult.c:
913           Fill in missing info in docs.
914         * gunixinputstream.c:
915         * gunixoutputstream.c:
916           Be more expressive in short description.
917         * gunixvolume.c:
918           Remove gtk-doc stubs for non-public API.
919
920 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
921
922         * *.c: Coding style fixups
923
924 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
925
926         * inotify/inotify-helper.c: Don't export the lock from libgio.
927
928 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
929
930         * Makefile.am:
931         * abicheck.sh: Fix copy-and-paste leftovers 
932
933 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
934
935         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
936
937 2007-11-28  Alexander Larsson  <alexl@redhat.com>
938
939         * Makefile.am:
940         * gdriveprivate.h:
941         Removed unnecessary file
942         
943         * gdesktopappinfo.[ch]:
944         * gdummyfile.[ch]:
945         * gfile.c:
946         * glocaldirectorymonitor.[ch]:
947         * glocalfile.[ch]:
948         * glocalfileenumerator.[ch]:
949         * glocalfileinputstream.[ch]:
950         * glocalfilemonitor.[ch]:
951         * glocalfileoutputstream.[ch]:
952         * glocalvfs.[ch]:
953         * gnativevolumemonitor.c:
954         * gpollfilemonitor.[ch]:
955         * gunionvolumemonitor.[ch]:
956         * gunixdrive.[ch]:
957         * gunixvolume.[ch]:
958         * gunixvolumemonitor.[ch]:
959         * gvfs.c:
960         * gvolumeprivate.h:
961         * inotify/ginotifydirectorymonitor.[ch]:
962         * inotify/ginotifyfilemonitor.[ch]:
963         * inotify/inotify-helper.c:
964         Append _ to all internal functions
965         
966         * gio.symbols:
967         Add missing symbols
968         Export symbols needed for modules
969
970 2007-11-28  Alexander Larsson  <alexl@redhat.com>
971
972         * Makefile.am:
973         * abicheck.sh: Added.
974         * makegioalias.pl: Added.
975         * pltcheck.sh: Added.
976         * gio.symbols: Added.
977         * *.c:
978         * inotify/*.c
979         Initial work on adding symbol handling.
980
981         * gvfs.h:
982         Correct ifdef guard name
983
984         * fam/Makefile.am:
985         * inotify/Makefile.am:
986         * xdgmime/Makefile.am:
987         Include toplevel Makefile.decl
988
989 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
990
991         * gcontenttype.c: Move doc comments to the unix section.
992
993         * *.[hc]: More trivial doc corrections.
994
995 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
996
997         * gpollfilemonitor.c:
998         * gunixmounts.c:
999         * gvfs.c:
1000         * gfile.c:
1001         * gdesktopappinfo.c:
1002         * gwin32appinfo.c:
1003         * gvolume.c:
1004         * glocalvfs.c:
1005         * gvolumemonitor.c:
1006         * gdatainputstream.c:
1007         * gdatainputstream.h:
1008         * gdataoutputstream.c:
1009         * gdataoutputstream.h:
1010         * gfileinfo.h: Doc cleanups
1011
1012 2007-11-28  Andre Klapper  <a9016009@gmx.de>
1013
1014         * gdesktopappinfo.c: Fix a typo.
1015
1016 2007-11-27  Andre Klapper  <a9016009@gmx.de>
1017
1018         * glocalfileoutputstream.c: Fix a typo.
1019
1020 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1021
1022         * gio.h:
1023         Don't include removed headers
1024
1025 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1026
1027         * Makefile.am:
1028         * gsocketinputstream.[ch]: Removed.
1029         * gsocketoutputstream.[ch]: Removed.
1030         * gunixinputstream.[ch]: Added.
1031         * gunixoutputstream.[ch]: Added.
1032         Renamed GSocket*Stream to GUnix*Stream and made
1033         it unix-only, since its not really only for sockets
1034         and it only works on unix (but is highly useful there).
1035
1036 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
1037         * gappinfo.c:
1038         * gappinfo.h:
1039         * gasynchelper.c:
1040         * gasyncresult.c:
1041         * gasyncresult.h:
1042         * gbufferedinputstream.c:
1043         * gbufferedinputstream.h:
1044         * gbufferedoutputstream.c:
1045         * gbufferedoutputstream.h:
1046         * gcancellable.c: 
1047         * gcancellable.h:
1048         * gcontenttype.c:
1049         * gdatainputstream.c:
1050         * gdatainputstream.h:
1051         * gdataoutputstream.c:
1052         * gdataoutputstream.h:
1053         * gdirectorymonitor.c:
1054         * gdirectorymonitor.h:
1055         * gdrive.c: 
1056         * gdrive.h:
1057         * gfile.c:
1058         * gfile.h:
1059         * gfileattribute.c:
1060         * gfileattribute.h:
1061         * gfileenumerator.c:
1062         * gfileenumerator.h:
1063         * gfileicon.c:
1064         * gfileicon.h:
1065         * gfileinfo.c:
1066         * gfileinfo.h:
1067         * gfileinputstream.c:
1068         * gfileinputstream.h:
1069         * gfilemonitor.c:
1070         * gfilemonitor.h:
1071         * gfilenamecompleter.c:
1072         * gfilenamecompleter.h:
1073         * gfileoutputstream.c:
1074         * gfileoutputstream.h:
1075         * gfilterinputstream.c:
1076         * gfilterinputstream.h:
1077         * gfilteroutputstream.c:
1078         * gfilteroutputstream.h:
1079         * gicon.c:
1080         * gicon.h:
1081         * ginputstream.c:
1082         * ginputstream.h:
1083         * gioerror.c:
1084         * gioerror.h:
1085         * giomodule.c:
1086         * giomodule.h:
1087         * gioscheduler.c:
1088         * gioscheduler.h:
1089         * gloadableicon.c:
1090         * gloadableicon.h:
1091         * glocalfileoutputstream.c:
1092         * gmemoryinputstream.c:
1093         * gmemoryinputstream.h:
1094         * gmemoryoutputstream.c:
1095         * gmemoryoutputstream.h:
1096         * gmountoperation.c: 
1097         * gmountoperation.h:
1098         * goutputstream.c:
1099         * goutputstream.h:
1100         * gpollfilemonitor.c:
1101         * gseekable.c:
1102         * gseekable.h:
1103         * gsimpleasyncresult.c:
1104         * gsimpleasyncresult.h:
1105         * gsocketinputstream.c:
1106         * gsocketinputstream.h:
1107         * gsocketoutputstream.c:
1108         * gsocketoutputstream.h:
1109         * gthemedicon.c:
1110         * gthemedicon.h:
1111         * gunixdrive.c:
1112         * gunixmounts.c: 
1113         * gunixmounts.h:
1114         * gunixvolume.c:
1115         * gunixvolumemonitor.c:
1116         * gurifuncs.c:
1117         * gurifuncs.h:
1118         * gvfs.c:
1119         * gvfs.h:
1120         * gvolume.c:
1121         * gvolume.h:
1122         * gvolumemonitor.c: 
1123         * gvolumemonitor.h:
1124         Bumps documentation to 93% symbol coverage, touching most 
1125         of the public files. Fixes broken function documentation prototypes. 
1126         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
1127         gtk-doc headers in private files.
1128
1129 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
1130
1131         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1132         (g_buffered_input_stream_read_byte):
1133         * gbufferedinputstream.h:
1134         New functions for efficient access to buffer and simple single byte
1135         reads.
1136
1137         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1138         (g_data_input_stream_read_until):
1139         * gdatainputstream.h:
1140         Use peek_buffer to avoid memcpy in scan_for_newline, implement
1141         read_until with multiple stop chars.
1142
1143 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1144
1145         * Makefile.am:
1146         * fam/Makefile.am:
1147         * inotify/Makefile.am:
1148         Use the user-specified giomoduledir
1149
1150 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1151
1152         * Makefile.am
1153         * gio.h:
1154         Add catch-all gio.h header
1155         Don't install gdummyfile.h
1156
1157 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1158
1159         * Makefile.am (gioinclude_HEADERS):
1160         Remove trailing whitespace
1161         
1162 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1163
1164         Merge gio-standalone into glib
1165
1166 2007-11-25  Christian Kellner  <gicmo@gnome.org>
1167
1168         * gio/goutputstream.c:
1169         Fix small mistake in the docs.
1170
1171 2007-11-21  Christian Persch  <chpe@gnome.org>
1172
1173         * gio/glocalfile.c: (g_local_file_trash):
1174         Convert filenames to UTF-8 for GError.
1175         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1176         as per xdg base dir spec.
1177
1178 2007-11-21  Christian Persch  <chpe@gnome.org>
1179
1180         * gio/gdesktopappinfo.c:
1181         Use that g_key_file_to_data cannot fail.
1182         Some misc cleanups.
1183         Use stock defines for the key file group and key names.
1184         Use bitfields.
1185
1186 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1187
1188         * gio/gfile.c:
1189         (copy_stream_with_progress):
1190         Make sure we do a final progress callback with
1191         the full total size.
1192
1193 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1194
1195         * gio/gfile.[ch]:
1196         Export g_file_copy_attributes
1197         Remove padding as its not needed for interfaces
1198
1199 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1200
1201         * gio/gfile.c:
1202         * gio/gioerror.h:
1203         * gio/glocalfile.c:
1204         Add G_IO_ERROR_WOULD_MERGE for
1205         copy/move dir on dir with overwrite.
1206
1207 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1208
1209         * gio/gfileinfo.h:
1210         * gio/glocalfileinfo.c:
1211         Add COPY_NAME (this is an optional
1212         non-modified utf8 version of the name) that
1213         can roundtrip.
1214
1215 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1216
1217         * gio/glocalfileenumerator.c:
1218         Report errors as GIOError, not GFileError
1219
1220 2007-11-16  Alexander Larsson  <alexl@redhat.com>
1221
1222         * gio/glocalfileoutputstream.c:
1223         * gio/gwin32appinfo.c:
1224         Fix typos in strings.
1225         Patch from Luca Ferretti <elle.uca@libero.it>
1226
1227 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1228
1229         * configure.ac:
1230         Post release version bump
1231
1232 === gio-standalone 0.1.2 ===
1233
1234 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1235
1236         * docs/reference/gio/Makefile.am:
1237         Fix up distcheck by removing weird
1238         non-needed stuff
1239
1240         * NEWS:
1241         Update for release
1242
1243 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1244
1245         * gio/gdesktopappinfo.c:
1246         * gio/glocaldirectorymonitor.c:
1247         * gio/glocalfile.c:
1248         * gio/glocalfileinfo.c:
1249         * gio/inotify/inotify-sub.c:
1250         * programs/gio-cat.c:
1251         * programs/gio-copy.c:
1252         * programs/gio-info.c:
1253         * programs/gio-ls.c:
1254         * programs/gio-monitor-dir.c:
1255         * programs/gio-monitor-file.c:
1256         * programs/gio-mount.c:
1257         * programs/gio-move.c:
1258         * programs/gio-rm.c:
1259         * programs/gio-save.c:
1260         * programs/gio-trash.c:
1261         Leak fixes from Kjartan Maraas
1262
1263 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1264
1265         * gio/fam/fam-helper.c:
1266         * gio/gdrive.[ch]:
1267         * gio/glocalfileinfo.c:
1268         * gio/gunixdrive.c:
1269         * gio/gvfs.c:
1270         * gio/gvolume.[ch]:
1271         * gio/inotify/inotify-diag.c:
1272         * gio/inotify/inotify-kernel.c:
1273         Various code cleanups from Kjartan Maraas
1274
1275 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1276
1277         * gio/gioscheduler.c:
1278         (init_scheduler):
1279         Set up threadpool so that we cache 2 unused
1280         idle threads for at 15 secs. This means we
1281         will reuse thread-local data (like dbus connections)
1282         for them.
1283
1284 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1285
1286         * gio/fam/fam-helper.c:
1287         * gio/fam/gfamdirectorymonitor.c:
1288         * gio/fam/gfamfilemonitor.c:
1289         * gio/gappinfo.c:
1290         * gio/gcontenttype.c:
1291         * gio/gdatainputstream.c:
1292         * gio/gdataoutputstream.c:
1293         * gio/gdummyfile.c:
1294         * gio/gfile.c:
1295         * gio/gfile.h:
1296         * gio/gfileattribute.h:
1297         * gio/gfileenumerator.c:
1298         * gio/gfileinfo.c:
1299         * gio/ginputstream.c:
1300         * gio/gioerror.h:
1301         * gio/glocalfile.c:
1302         * gio/glocalfileinfo.c:
1303         * gio/goutputstream.c:
1304         * gio/gpollfilemonitor.c:
1305         * gio/gsimpleasyncresult.c:
1306         * gio/gunixmounts.c:
1307         * gio/gunixmounts.h:
1308         * gio/inotify/ginotifydirectorymonitor.c:
1309         * gio/inotify/ginotifyfilemonitor.c:
1310         * gio/inotify/inotify-diag.c:
1311         * gio/inotify/inotify-kernel.c:
1312         * gio/inotify/inotify-path.c:
1313         * gio/test-gio.c:
1314         * gio/test-streams.c:
1315         * programs/gio-info.c:
1316         * programs/gio-monitor-dir.c:
1317         * programs/gio-monitor-file.c:
1318         Various code cleanups from Kjartan Maraas
1319
1320 2007-11-13  Alexander Larsson  <alexl@redhat.com>
1321
1322         * gio/gdummyfile.c:
1323         Handle the uri-scheme calls for dummy files
1324
1325 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1326
1327         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1328         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1329         to avoid clash with the C++ keyword.
1330
1331 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1332
1333         * gio/glocalfileinfo.c: Build fix, added missing semicolon
1334         to an ifdef'ed call to getpwuid() in lookup_uid_data().
1335
1336 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
1337
1338         * gio/glocaldirectorymonitor.c:
1339         * gio/glocalfilemonitor.c:
1340         * gio/gunionvolumemonitor.c:
1341         Don't use g_once_init_*() for initializations that could fail and
1342         could leave the initialization variable set to 0 but use GOnce.
1343         This prevents a deadlock on the second call when trying to create
1344         a monitor and no monitor type is available. Thanks to Sven Herzberg
1345         for reporting.
1346
1347 2007-11-11  Sven Herzberg  <sven@imendio.com>
1348
1349         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1350         #ifdef (make it work on MacOS X again)
1351
1352 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
1353         * Changelog:
1354         Fixes Changelog for last two commits (sorry guys).
1355
1356 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1357         * gio/gappinfo.c:
1358         * gio/gbufferedinputstream.c:
1359         * gio/gdatainputstream.c:
1360         * gio/gfile.c:
1361         * gio/gfileoutputstream.c:
1362         * gio/gfilterinputstream.c:
1363         * gio/glocalfileinputstream.c:
1364         * gio/gurifuncs.c:
1365         * gio/gvfs.c:
1366         More consistency fixes in g*stream.c files. 
1367         Significant clean of gfile's documentation, filling in of 
1368         asynchronous operations documentation.
1369
1370 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1371         * gio/gappinfo.c:
1372         * gio/gasyncresult.c:
1373         * gio/gbufferedinputstream.c:
1374         * gio/gbufferedoutputstream.c:
1375         * gio/gcancellable.c:
1376         * gio/gcontenttype.c:
1377         * gio/gdatainputstream.c:
1378         * gio/gdataoutputstream.c:
1379         * gio/gdesktopappinfo.c:
1380         * gio/gdrive.c:
1381         * gio/gfile.c:
1382         * gio/gfileattribute.c:
1383         * gio/gio/gfileenumerator.c:
1384         * gio/gfileinfo.c:
1385         * gio/gfileinputstream.c:
1386         * gio/gfilemonitor.c:
1387         * gio/gfileoutputstream.c:
1388         * gio/ginputstream.c:
1389         * gio/giomodule.c:
1390         * gio/gioscheduler.c:
1391         * gio/gloadableicon.c:
1392         * gio/glocalfileoutputstream.c:
1393         * gio/gmemoryoutputstream.c:
1394         * gio/gmountoperation.c:
1395         * gio/goutputstream.c:
1396         * gio/gseekable.c:
1397         * gio/gsimpleasyncresult.c:
1398         * gio/gunionvolumemonitor.c:
1399         * gio/gunixmounts.c:
1400         * gio/gunixvolume.c:
1401         * gio/gurifuncs.c:
1402         * gio/gvfs.c:
1403         * gio/gvolume.c:
1404         * gio/gvolumemonitor.c:
1405         Updated documentation stubs, working towards consistency and 
1406         completeness.
1407
1408 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1409
1410         * gio/gmemoryoutputstream.c:
1411         * gio/gmemoryoutputstream.h:
1412         Change g_memory_output_stream_set_free_on_close() to
1413         g_memory_output_stream_set_free_data() as this makes more sense and
1414         is more consistent with GMemoryInputStream.
1415
1416 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1417
1418         * gio/gfile.c:
1419         Fix some docs
1420         
1421         * gio/glocalvfs.c:
1422         * gio/gvfs.[ch]:
1423         Change how we find the default vfs so that
1424         we can handle a gvfs failing to init
1425
1426 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1427
1428         * gio/gbufferedoutputstream.c:
1429         * gio/gdatainputstream.c:
1430         * gio/gdataoutputstream.c:
1431         * gio/gfileinputstream.c:
1432         * gio/gfileoutputstream.c:
1433         * gio/gfilterinputstream.c:
1434         * gio/gfilteroutputstream.c:
1435         * gio/ginputstream.c:
1436         * gio/gmemoryinputstream.c:
1437         * gio/gmemoryoutputstream.c:
1438         * gio/goutputstream.c:
1439         * gio/gsimpleasyncresult.c:
1440         * gio/gsocketinputstream.c:
1441         * gio/gsocketoutputstream.c:
1442         Add guards to the remaining public functions, add a TODO for
1443         an unimplemented function and remove some useless guards.
1444
1445 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1446
1447         * configure.ac:
1448         Autoconf checks for the various types of
1449         getpwuid_r and getgrgid_r
1450         
1451         * gio/glocalfileinfo.c:
1452         Use the autoconf checks from above
1453
1454 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1455
1456         * gio/glocalfile.c:
1457         (g_local_file_query_filesystem_info):
1458         Some fixes for the statvfs case
1459         
1460 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1461
1462         * gio/glocalfile.c:
1463         (g_local_file_query_filesystem_info):
1464         Pick the "best" of statfs / statvfs for the system
1465         if both are availible.
1466
1467 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1468
1469         Solaris fixes from Halton.Huo@Sun.COM:
1470         
1471         * gio/gdrive.c:
1472         * gio/gfile.c:
1473         * gio/gvolume.c:
1474         Don't return void
1475         
1476         * gio/glocalfileinfo.c:
1477         Fix for solaris definition of getpwuid_r
1478         
1479         * gio/test-streams.c:
1480         Use G_GNUC_PRETTY_FUNCTION
1481
1482 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1483
1484         * gio/gdesktopappinfo.c:
1485         (update_default_list):
1486         Remove double semicolon.
1487         Patch from Jens Granseuer
1488
1489 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1490
1491         * docs/reference/gio/gio-sections.txt:
1492         * gio/gbufferedinputstream.c:
1493         * gio/gbufferedinputstream.h:
1494         * gio/gdatainputstream.c:
1495         * gio/gfileenumerator.c:
1496         * gio/gioscheduler.c:
1497         * gio/gunionvolumemonitor.c:
1498         * gio/gvfs.c:
1499         * programs/gio-save.c:
1500         Fix typo: availible -> available. Unfortuntely this breaks API
1501         and ABI as g_buffered_input_stream_get_available() was renamed.
1502         
1503         * gio/gunixmounts.c:
1504         * gio/gbufferedinputstream.c:
1505         Add guards for public functions.
1506
1507 2007-11-06  Ross Burton  <ross@openedhand.com>
1508
1509         * docs/reference/gio/Makefile.am:
1510         Fix invalid += usage which automake 1.10 doesn't like.
1511
1512 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1513
1514         * gio/gappinfo.c:
1515         (g_app_launch_context_class_init):
1516         Fix warning
1517
1518         Patch from Ross Burton 
1519         
1520 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1521
1522         * configure.ac:
1523         Post release version bump
1524
1525 === gio-standalone 0.1.1 ===
1526
1527 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1528
1529         * configure.ac:
1530         Bump version to 0.1.1
1531         
1532         * gio/gsimpleasyncresult.c:
1533         (g_simple_async_result_set_from_error):
1534         Remove bogus g_return_if_fail
1535
1536 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1537
1538         * configure.ac:
1539         The name is gio-standalone
1540         
1541         * gio/Makefile.am:
1542         Add top src/builddir to includedir
1543
1544 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1545
1546         * docs/reference/gio/gio-sections.txt:
1547         * gio/gappinfo.c:
1548         * gio/gbufferedinputstream.c:
1549         * gio/gbufferedoutputstream.c:
1550         * gio/gcancellable.c:
1551         * gio/gdatainputstream.h:
1552         * gio/gdataoutputstream.c:
1553         * gio/gdataoutputstream.h:
1554         * gio/gdirectorymonitor.c:
1555         * gio/gfile.c:
1556         * gio/gfileattribute.c:
1557         * gio/gfileattribute.h:
1558         * gio/gfileenumerator.c:
1559         * gio/gfileenumerator.h:
1560         * gio/gfileinfo.c:
1561         * gio/gfileinfo.h:
1562         * gio/gfileinputstream.h:
1563         * gio/gfilemonitor.c:
1564         * gio/gfileoutputstream.h:
1565         * gio/glocalfilemonitor.h:
1566         * gio/glocalfileoutputstream.h:
1567         * gio/gmemoryinputstream.c:
1568         * gio/gmemoryoutputstream.c:
1569         * gio/gmountoperation.c:
1570         * gio/goutputstream.c:
1571         * gio/goutputstream.h:
1572         * gio/gseekable.h:
1573         * gio/gsimpleasyncresult.c:
1574         * gio/gunixmounts.c:
1575         * gio/gunixmounts.h:
1576         * gio/gurifuncs.h:
1577         * gio/inotify/inotify-helper.c:
1578         Fix gtk-doc warnings
1579
1580         Patch from Ross Burton 
1581         
1582 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1583
1584         * gio/gfilenamecompleter.c:
1585         (g_filename_completer_get_completions):
1586         fix warning
1587         
1588         * gio/gunixvolume.c:
1589         Remove unused function
1590
1591         Patches from Ross Burton 
1592
1593 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1594
1595         * gio/gdrive.h:
1596         * gio/gseekable.h:
1597         * gio/gvolume.h:
1598         Padding not needed for interfaces
1599
1600 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1601
1602         * gio/gfilemonitor.c:
1603         Remove debug spew
1604
1605         * gio/Makefile.am:
1606         Make giotypes.h an internal file
1607         
1608         * gio/gappinfo.h:
1609         * gio/gbufferedinputstream.h:
1610         * gio/gbufferedoutputstream.h:
1611         * gio/gcancellable.h:
1612         * gio/gdatainputstream.h:
1613         * gio/gdataoutputstream.h:
1614         * gio/gdirectorymonitor.c:
1615         * gio/gdirectorymonitor.h:
1616         * gio/gdrive.c:
1617         * gio/gdrive.h:
1618         * gio/gfile.c:
1619         * gio/gfile.h:
1620         * gio/gfileattribute.h:
1621         * gio/gfileenumerator.h:
1622         * gio/gfileicon.c:
1623         * gio/gfileicon.h:
1624         * gio/gfileinfo.c:
1625         * gio/gfileinfo.h:
1626         * gio/gfilemonitor.c:
1627         * gio/gfilemonitor.h:
1628         * gio/gfilenamecompleter.c:
1629         * gio/gfilenamecompleter.h:
1630         * gio/gfilterinputstream.h:
1631         * gio/gfilteroutputstream.h:
1632         * gio/ginputstream.h:
1633         * gio/gmemoryinputstream.h:
1634         * gio/gmemoryoutputstream.h:
1635         * gio/gmountoperation.c:
1636         * gio/gmountoperation.h:
1637         * gio/gnativevolumemonitor.c:
1638         * gio/goutputstream.h:
1639         * gio/gseekable.c:
1640         * gio/gseekable.h:
1641         * gio/gsimpleasyncresult.c:
1642         * gio/gsimpleasyncresult.h:
1643         * gio/gsocketinputstream.h:
1644         * gio/gsocketoutputstream.h:
1645         * gio/gthemedicon.c:
1646         * gio/gthemedicon.h:
1647         * gio/gvfs.h:
1648         * gio/gvolume.c:
1649         * gio/gvolume.h:
1650         * gio/gvolumemonitor.c:
1651         * gio/gvolumemonitor.h:
1652         Add padding in classes where it seems useful
1653         Don't include giotypes.h from public headers
1654         Move in Class definitions into c file where possible
1655         
1656         * gio/glocalfile.c:
1657         Fix warnings
1658
1659 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1660
1661         * docs/reference/gio/gio-docs.xml:
1662         Better structure for API docs
1663
1664 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1665
1666         * gio/gfileicon.c:
1667         * gio/gloadableicon.c:
1668         * gio/gsimpleasyncresult.c:
1669         * gio/gthemedicon.c:
1670         Add some more guards to public functions. Only files missing are now
1671         g*stream*.c.
1672
1673 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1674
1675         * docs/reference/gio/gio-docs.xml:
1676         Remove old files, add missing ones
1677
1678 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1679
1680         * docs/reference/gio/gio-sections.txt:
1681         Restructure
1682         Add missing stuff
1683         Hide implementation classes
1684         
1685         * gio/gdriveprivate.h:
1686         * gio/gvolumeprivate.h:
1687         Remove non-existing function declarations
1688
1689 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1690
1691         * gio/gappinfo.c:
1692         Fix compilation warnings and add guards to the new functions.
1693         
1694         * gio/gasyncresult.c:
1695         * gio/gdummyfile.c:
1696         Add guards to the public functions.
1697         
1698         * gio/gdummyfile.c:
1699         Implement get_path().
1700
1701 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1702
1703         * gio/gfilenamecompleter.c:
1704         Make g_filename_completer_get_completions
1705         return char ** instead of GList for
1706         typesafety.
1707         
1708         * docs/reference/gio/gio-docs.xml:
1709         * docs/reference/gio/gio-sections.txt:
1710         * gio/gappinfo.c:
1711         * gio/gasyncresult.c:
1712         * gio/gbufferedinputstream.c:
1713         * gio/gbufferedoutputstream.c:
1714         * gio/gcancellable.c:
1715         * gio/gcontenttype.c:
1716         * gio/gdatainputstream.c:
1717         * gio/gdataoutputstream.c:
1718         * gio/gdesktopappinfo.c:
1719         * gio/gdirectorymonitor.c:
1720         * gio/gdrive.c:
1721         * gio/gdummyfile.c:
1722         * gio/gfile.c:
1723         * gio/gfileattribute.c:
1724         * gio/gfileenumerator.c:
1725         * gio/gfileicon.c:
1726         * gio/gfileinfo.c:
1727         * gio/gfileinputstream.c:
1728         * gio/gfilemonitor.c:
1729         * gio/gfilenamecompleter.c:
1730         * gio/gfilenamecompleter.h:
1731         * gio/gfileoutputstream.c:
1732         * gio/gfilterinputstream.c:
1733         * gio/gicon.c:
1734         * gio/ginputstream.c:
1735         * gio/giomodule.c:
1736         * gio/gioscheduler.c:
1737         * gio/gloadableicon.c:
1738         * gio/glocaldirectorymonitor.c:
1739         * gio/glocalfile.c:
1740         * gio/glocalfileinputstream.c:
1741         * gio/glocalfilemonitor.c:
1742         * gio/glocalfileoutputstream.c:
1743         * gio/glocalvfs.c:
1744         * gio/gmemoryinputstream.c:
1745         * gio/gmemoryoutputstream.c:
1746         * gio/gmountoperation.c:
1747         * gio/goutputstream.c:
1748         * gio/gpollfilemonitor.c:
1749         * gio/gseekable.c:
1750         * gio/gsimpleasyncresult.c:
1751         * gio/gsocketinputstream.c:
1752         * gio/gsocketoutputstream.c:
1753         * gio/gthemedicon.c:
1754         * gio/gunionvolumemonitor.c:
1755         * gio/gunixdrive.c:
1756         * gio/gunixmounts.c:
1757         * gio/gunixvolume.c:
1758         * gio/gunixvolumemonitor.c:
1759         * gio/gurifuncs.c:
1760         * gio/gvfs.c:
1761         * gio/gvolume.c:
1762         * gio/gvolumemonitor.c:
1763         * gio/gwin32appinfo.c:
1764         Add (mostly stub) doc strings to public functions.
1765         Patch from Andrew Walton (awalton@gmail.com)
1766
1767 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1768
1769         * gio/gappinfo.[ch]:
1770         Added GAppLaunchContext object and pass that to launch.
1771         This allows simple implementation of both
1772         launch-on-screen and startup notification via a gtk+
1773         subclass of GAppLaunchContext
1774         
1775         * gio/gdesktopappinfo.c:
1776         Implement GAppLaunchContext API
1777         
1778         * gio/gwin32appinfo.c:
1779         Update to new APIs
1780
1781 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1782
1783         * gio/gmountoperation.c:
1784         Add some guards to GMountOperation's public functions.
1785
1786 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1787
1788
1789         * gio/gappinfo.c:
1790         * gio/gcancellable.c:
1791         * gio/gdirectorymonitor.c:
1792         * gio/gdrive.c:
1793         * gio/gfileenumerator.c:
1794         * gio/gfilemonitor.c:,
1795         * gio/gfilenamecompleter.c:
1796         * gio/gicon.c:
1797         * gio/giomodule.c:
1798         * gio/gioscheduler.c:
1799         * gio/gseekable.c:
1800         * gio/gurifuncs.c:
1801         * gio/gvolume.c:
1802         * gio/gvolumemonitor.c:
1803         Add even more guards to various public functions.
1804
1805 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1806
1807         * gio/gappinfo.c:
1808         Add guards to the public functions of GAppInfo.
1809
1810 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1811
1812         * gio/gcontenttype.c:
1813         Add some more guards for public functions.
1814
1815 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1816
1817         * gio/fam/fam-module.c:
1818         * gio/fam/gfamdirectorymonitor.c:
1819         * gio/fam/gfamdirectorymonitor.h:
1820         * gio/fam/gfamfilemonitor.c:
1821         * gio/fam/gfamfilemonitor.h:
1822         * gio/inotify/ginotifydirectorymonitor.c:
1823         * gio/inotify/ginotifydirectorymonitor.h:
1824         * gio/inotify/ginotifyfilemonitor.c:
1825         * gio/inotify/ginotifyfilemonitor.h:
1826         Add proper copyright information and remove an unused variable
1827         in the GInotifyFileMonitor constructor.
1828
1829         * gio/gcancellable.c:
1830         Add a guard for a public function and an assertion to prevent
1831         an undefined program state.
1832
1833 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1834
1835         * gio/gfileattribute.c:
1836         Don't run into an assertion if the given attribute value is NULL
1837         in g_file_attribute_value_get_*() but instead return a fallback
1838         value that makes sense in most situations. Passing them a attribute
1839         value with the wrong type will still run into an assertion.
1840
1841 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1842
1843         * gio/gfileattribute.c:
1844         * gio/gfileinfo.c:
1845         Add even more guards to the public functions. Also fix the refcounting
1846         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1847         let g_file_info_list_attributes() filter the attributes by namespace
1848         instead of simply ignoring the namespace parameter.
1849
1850 2007-11-03  Sven Herzberg  <sven@imendio.com>
1851
1852         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1853         (This makes gio work on MacOS X again)
1854
1855 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1856
1857         * Makefile.am:
1858         Build the gio subdirectory before the docs. Otherwise the build will
1859         fail.
1860
1861         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1862         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1863         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1864         Add guards to the public functions.
1865
1866 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1867
1868         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1869         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1870         to prevent a compiler warning.
1871
1872         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1873         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1874         return something in the non-void function find_topdir_for().
1875
1876 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
1877
1878         * configure.ac:
1879         * Makefile.am:
1880         * docs/:
1881         Gtkdocify!
1882
1883 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
1884
1885         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1886         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1887         * gwin32appinfo.c (g_win32_app_info_launch):
1888         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1889         envp_for_startup_id, g_desktop_app_info_launch,
1890         g_desktop_app_info_launch_uris):
1891
1892         Give an opaque 'startup_id' string instead of 'envp'.
1893         Support empty file lists for launching new windows.
1894         Fix infinite recursion bug when launching URIs.
1895
1896 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1897
1898         * gio/gfile.c:
1899         Add guard to the new g_file_get_uri_scheme() function.
1900
1901 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1902
1903         * gio/gfile.c:
1904         Convert a g_return_val_if_fail() to setting the GError instead as
1905         otherwise applications have to verify the parameter before otherwise
1906         and the parameter might come directly from the user.
1907
1908 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1909
1910         * gio/inotify/ginotify*.[ch]:
1911         Add missing copyright information.
1912
1913 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1914
1915         * gio/gfile.c:
1916         Add guards in the beginning of public functions to check for valid
1917         parameters and fix a bug in copy_stream_with_progress() that could've
1918         caused writing less bytes than reading.
1919         * gio/glocalfileinfo.c:
1920         Check for a NULL parameter and set the GError accordingly then.
1921         * gio/goutputstream.c:
1922         Fix the same bug as in gfile.c that could've caused writing less bytes
1923         than reading in g_output_stream_real_splice().
1924
1925 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
1926
1927         * gio/Makefile.am:
1928         Use the correct gvolumeprivate.h naming
1929
1930 2007-11-01  Christian Kellner  <gicmo@gnome.org>
1931
1932         * gio/Makefile.am:
1933         Remove leftover "$(daemon_sources)" entry.
1934
1935 2007-11-01  Christian Kellner  <gicmo@gnome.org>
1936
1937         * gio/fam/*.[ch]:
1938         * gio/*.[ch]:
1939         * programs/*.[ch]:
1940         Add copyright information to source files.
1941
1942 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1943
1944         * gio/gfile.[ch]:
1945         * gio/glocalfile.c:
1946         Add g_file_get_uri_scheme
1947
1948 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1949
1950         * gio/gappinfo.h:
1951         * gio/gdesktopappinfo.c:
1952         * gio/gwin32appinfo.c:
1953         Add g_app_info_get_default_for_uri_scheme.
1954
1955 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1956
1957         * gio/Makefile.am:
1958         Correct filename for gdriveprivate.h
1959
1960 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1961
1962         * gio/gfileinfo.h:
1963         Rename id:value to id:file
1964         Add id:fs
1965         
1966         * gio/glocalfileinfo.c:
1967         Implement id:fs
1968
1969 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1970
1971         * gio/gunixvolume.c:
1972         * gio/gvolume.[ch]:
1973         Remove g_volume_get_platform_id, as thats not
1974         needed with the simpler union volume monitor
1975
1976 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1977
1978         * gio/Makefile.am:
1979         * gio/guniondrive.[ch]: Removed.
1980         * gio/gunionvolume.[ch]: Removed.
1981         Remove GUnionDrive/Volume
1982
1983         * gio/gunionvolumemonitor.c:
1984         Simplify union volume monitor, now we
1985         only have one native volume monitor and
1986         we use the actual volumes/drives from the
1987         child monitors instead of wrapping them
1988
1989         * gio/gnativevolumemonitor.[ch]:
1990         Base class for native volume monitors.
1991         Includes priority and get_volume_for_mountpoint
1992         
1993         * gio/gfile.[ch]:
1994         Add g_file_find_enclosing_volume
1995
1996         * gio/gfileinfo.h:
1997         Remove volume name fs attribute
1998         Add readonly fs attribute
1999         
2000         * gio/glocalfile.c:
2001         Implement readonly attribute
2002         remove volume name attribute
2003         Implement find_enclosing volume
2004         
2005         * gio/gunixmounts.c:
2006         Add a volume for "/".
2007         
2008         * gio/gunixvolume.[ch]:
2009         Set better name for /
2010         
2011         * gio/gunixvolumemonitor.[ch]:
2012         Derive from GNativeVolumeMonitor
2013         Implement get_volume_for_mountpoint
2014         
2015         * gio/gvolume.h:
2016         GVolume typedef moved to gfile.h
2017         
2018         * gio/gvolumeprivate.h:
2019         Add g_volume_get_for_mount_path
2020
2021 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2022
2023         * gio/gunixmounts.[ch]:
2024         Add cache info to unix mount listers
2025         Make getmntent use threadsafe
2026         Add is_system_internal attribute for GUnixMount
2027         
2028         * gio/gunixvolume.c:
2029         (g_unix_volume_new):
2030         Use is_system_internal instead of own code
2031         
2032         * gio/glocaldirectorymonitor.c:
2033         * gio/gunixvolumemonitor.c:
2034         Update to new gunixmounts API
2035         
2036         * gio/glocalfile.c:
2037         Fix warning
2038
2039 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2040
2041         * gio/gfileinfo.h:
2042         Add volume name fsinfo attribute
2043         
2044         * gio/glocalfile.c:
2045         Read volume name info
2046         
2047         * gio/gunionvolumemonitor.c:
2048         Fix infinite loops when finalizing a union volume monitor
2049
2050 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2051
2052         * gio/goutputstream.[ch]:
2053         Add splice() with default implementation
2054         
2055         * gio/gsocketoutputstream.c:
2056         (g_socket_output_stream_write):
2057         Return error on cancellation correctly.
2058         
2059 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2060
2061         * gio/glocalfile.c (g_local_file_trash):
2062         Do not leak a string.
2063
2064 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2065
2066         * gio/gfile.c (g_file_load_contents):
2067         Unref the stream after closing it.
2068
2069 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2070
2071         * gio/gioscheduler.h:
2072         Fix include
2073
2074 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2075
2076         * gio/gfile.[ch]:
2077         * gio/glocalfile.c:
2078         Add g_file_has_uri_scheme and implement for local files
2079
2080 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
2081
2082         * gio/gdesktopappinfo.c: do not leak a string.
2083
2084 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2085
2086         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2087         (g_local_directory_monitor_new):
2088         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2089         (g_local_file_monitor_new):
2090         Only look for the monitor type that should be used the first time
2091         and use g_qsort_with_data() instead of our own bubble sort
2092         implementation.
2093
2094 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2095
2096         * gio/Makefile.am:
2097         * gio/fam/Makefile.am:
2098         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2099         * gio/fam/fam-helper.h:
2100         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2101         * gio/fam/gfamdirectorymonitor.c:
2102         * gio/fam/gfamdirectorymonitor.h:
2103         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2104         * gio/fam/gfamfilemonitor.h:
2105         * gio/glocaldirectorymonitor.c:
2106         * gio/glocaldirectorymonitor.h:
2107         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2108         * gio/glocalfilemonitor.h:
2109         * gio/inotify/Makefile.am:
2110         * gio/inotify/ginotifydirectorymonitor.c:
2111         * gio/inotify/ginotifydirectorymonitor.h:
2112         * gio/inotify/ginotifyfilemonitor.c:
2113         * gio/inotify/ginotifyfilemonitor.h:
2114         Implement the FAM and Inotify monitors as
2115         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2116         their own GIO module. GLocal(Directory|File)Monitor will use the
2117         monitor with the highest rank that is supported on that machine.
2118
2119 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
2120
2121         * gio/Makefile.am:
2122         Change GIO module dir to $(libdir)/gio/modules and change
2123         the log domain from GVFS to GIO. Also only export symbols starting
2124         with g_ in the resulting library.
2125         * gio/test-streams.c: (main):
2126         Set log handler for the GIO log domain.
2127
2128 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2129
2130         * gio/gfilenamecompleter.[ch]:
2131         Add g_filename_completer_set_dirs_only
2132
2133 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2134
2135         * gio/Makefile.am:
2136         * gio/gurifuncs.[ch]:
2137         Add some simple URI helpers
2138         
2139         * gio/gfilenamecompleter.[ch]:
2140         Added object for filename (parse name actually) completion
2141         
2142         * gio/glocalvfs.c:
2143         Handle ~ in parse names
2144
2145 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2146
2147         * gio/gfileinfo.h:
2148         * gio/glocalfileinfo.c:
2149         Add and implement id:value attribute
2150
2151 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2152
2153         * gio/gdrive.[ch]:
2154         * gio/guniondrive.c:
2155         * gio/gunixdrive.c:
2156         Add and implement g_drive_has_volumes
2157         
2158 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2159
2160         * gio/gfileinfo.h:
2161         * gio/glocalfileinfo.[ch]:
2162         Add unix:is_mountpoint and implement for local files
2163
2164 2007-10-16  Alexander Larsson  <alexl@redhat.com>
2165
2166         * gio/gunionvolumemonitor.c:
2167         (g_union_volume_monitor_init):
2168         Fix up the unix type getting so that it works with gcc
2169         
2170 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2171
2172         * gio/gfileinfo.h:
2173         * gio/glocalfileinfo.c:
2174         Add thumbnail:failed to file info
2175
2176 2007-10-12  Richard Hult  <richard@imendio.com>
2177
2178         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2179         optimizing away the get_type call (happens with some gcc versions,
2180         like the one shipped with OS X 10.4).
2181
2182 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2183
2184         * gio/glocalfileinfo.c:
2185         (_g_local_file_info_set_attribute):
2186         Fix build if not HAVE_XATTR
2187         Patch from Milosz Derezynski <internalerror@gmail.com>
2188
2189 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
2190
2191         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2192         around for review, otherwise I would have asked you before
2193         committing)
2194
2195 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2196
2197         * gio/gfileinfo.h:
2198         Add thumbnail:path attribute
2199         
2200         * gio/glocalfileinfo.c:
2201         Implement thumbnail:path for local files
2202
2203 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2204
2205         * gio/glocalfileinfo.c:
2206         (_g_local_file_info_get):
2207         Avoid duplicate icon names
2208
2209 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2210
2211         * gio/gthemedicon.[ch]:
2212         Change g_themed_icon_get_names return type to const
2213
2214 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2215
2216         * gio/glocalfileinfo.c:
2217         Don't reference freed memory
2218
2219 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2220
2221         * gio/gfileattribute.c:
2222         Handle objects
2223         
2224         * gio/glocalfileinfo.c:
2225         Return icon info
2226
2227 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2228
2229         * gio/gfileinfo.c:
2230         Check for NULL icons
2231
2232         * gio/gfileattribute.c:
2233         Don't dup when getting objects (same as for string attributes)
2234
2235         * gio/gicon.c (g_icon_equal):
2236         Safely handle NULLs in equal
2237
2238 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2239
2240         * gio/gfileinfo.h:
2241         Fix c++ compilation issues
2242         Patch from Milosz Derezynski <internalerror@gmail.com>
2243
2244 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2245
2246         * programs/gio-monitor-dir.c:
2247         Don't crash if dir monitor not supported.
2248
2249 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2250
2251         * gio/gioerror.h:
2252         Add missing G_END_DECLS
2253
2254 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2255
2256         * gio/gfile.c: (g_file_set_display_name),
2257         (g_file_query_settable_attributes),
2258         (g_file_query_writable_namespaces):
2259         Return NULL not FALSE on errors as the return type is a pointer.
2260
2261 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2262
2263         * gio/glocalfile.c: (g_local_file_monitor_file):
2264         Don't call monitor_file on the default interface vtable (which
2265         is NULL) but simply return NULL. The caller, GFile, will create a
2266         polling monitor if NULL is returned.
2267
2268 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2269
2270         * Makefile.am:
2271         * configure.ac:
2272         * gio-unix-2.0.pc.in:
2273         Add gio-unix-2.0.pc if OS_UNIX
2274         
2275         * gio/Makefile.am:
2276         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2277
2278 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2279
2280         * gio/gunixmounts.[ch]:
2281         Make unix mount monitoring API sane.
2282         Now its just a object with mounts_changed
2283         and mountpoints_changed signals.
2284         
2285         * gio/glocaldirectorymonitor.c:
2286         * gio/gunixvolumemonitor.c:
2287         Use new mount monitor api
2288
2289 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2290
2291         * gio/gunixmounts.[ch]:
2292         Move guess type into one call for mounts and one for mountpoints
2293         
2294         * gio/gunixdrive.c:
2295         * gio/gunixvolume.c:
2296         Update
2297
2298 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2299
2300         * gio/gunixmounts.[ch]:
2301         Remove _ prefix in preparation to make this semi-public
2302         Hide implementation of structs
2303         
2304         * gio/glocaldirectorymonitor.c:
2305         * gio/gunixdrive.c:
2306         * gio/gunixvolume.c:
2307         * gio/gunixvolumemonitor.c:
2308         Update for above API changes
2309
2310 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2311
2312         * gio/gfile.c:
2313         Better polling fallback. This also handles the case where we have
2314         a monitor_file implementation, but it fails.
2315
2316 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2317
2318         * gio/gfile.[ch]:
2319         * gio/glocalfile.c:
2320         * gio/gunixmounts.c:
2321         * programs/gio-monitor-dir.c:
2322         * programs/gio-monitor-file.c:
2323         Added cancellable to file monitoring calls.
2324         These are really sync calls and need this.
2325
2326 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
2327
2328         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2329         (g_local_vfs_class_init):
2330         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2331         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2332
2333 2007-10-05  Alexander Larsson  <alexl@redhat.com>
2334
2335         * gio/gdirectorymonitorprivate.h: 
2336         * gio/gfilemonitorprivate.h: 
2337         * gio/gdirectorymonitor.h:
2338         * gio/gfilemonitor.h:
2339         Remove *private.h and move to the public API, so that
2340         we can do implementations outside gio (such as in gvfs)
2341         
2342         * gio/gdirectorymonitor.c:
2343         * gio/gfilemonitor.c:
2344         * gio/glocaldirectorymonitor.c:
2345         * gio/gpollfilemonitor.c:
2346         * gio/inotify/inotify-helper.c:
2347         * gio/fam/fam-helper.c:
2348         Update to the new header names
2349
2350 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
2351
2352         * gio/gdirectorymonitor.c:
2353         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2354         GTypes as abstract.
2355
2356 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2357
2358         * gio/glocalfileinfo.c (get_access_rights):
2359         Set CAN_TRASH when we can move the file.
2360         We should really also check for a parent trash dir.
2361
2362 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2363
2364         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2365         Add can_trash access attribute
2366
2367 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2368
2369         * gio/glocalfile.c:
2370         (g_local_file_trash):
2371         Create info file first. This is per-spec and allows
2372         us to actually trash directories.
2373
2374 2007-10-02  Alexander Larsson  <alexl@redhat.com>
2375
2376         * gio/gdesktopappinfo.c:
2377         Implement the new mime support code.
2378         Always set app as handling mimetype when being set as default for it
2379
2380 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2381
2382         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2383         Fix up check for xattrs:
2384
2385 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2386
2387         * gio/gappinfo.c:
2388         (g_app_info_set_as_default_for_extension):
2389         (g_app_info_add_supports_type):
2390         (g_app_info_can_remove_supports_type):
2391         (g_app_info_remove_supports_type):
2392         Make these fail nicely if not implemented
2393
2394 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
2395
2396         * gio/glocalfileoutputstream.c:
2397         * gio/glocalfileoutputstream.h:
2398         * gio/test-gio.c:
2399         * gio/gfile.c:
2400         * gio/gfile.h:
2401         * gio/glocalfile.c:
2402         * programs/gio-save.c: 
2403         Add a GFileCreateFlags argument to operations that can create
2404         a new file.
2405
2406 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2407
2408         * gio/gappinfo.[ch]:
2409         * gio/gdesktopappinfo.c:
2410         Add more (stubbed out) mime API needed for nautilus
2411
2412 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2413
2414         * gio/gappinfo.h:
2415         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2416         Add g_app_info_set_as_default_for_extension.
2417         
2418         * gio/gdesktopappinfo.c:
2419         Dummy for g_app_info_set_as_default_for_extension
2420         Support flags in g_app_info_create_from_commandline
2421
2422         * gio/gwin32appinfo.c:
2423         * gio/test-gio.c:
2424         Update for API changes
2425         
2426         * gio/gthemedicon.c:
2427         Properly NULL-terminate list of icon names
2428
2429 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2430
2431         * gio/gloadableicon.h:
2432         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2433
2434 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2435
2436         * gio/Makefile.am:
2437         Install headers in $includedir/gio-standalone/
2438         
2439         * gio-2.0.pc.in: Added.
2440         * gio-standalone.pc.in: Removed.
2441         * configure.ac:
2442         * Makefile.am:
2443         Renamed pkg-config file to match glib (for future move)
2444         Update to the new include dir
2445         
2446         * gio/gappinfo.h:
2447         Add more TODO comments
2448
2449 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2450
2451         * gio/gdesktopappinfo.[ch]:
2452         Expose new_from_filename
2453         Add getter for is_hidden and handle it better
2454
2455 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2456
2457         * gio/gfileinfo.[ch]:
2458         Rename g_file_size_format_for_display to
2459         g_format_file_size_for_display.
2460         Now it doesn't have the g_file prefix, so we
2461         can later move it to glib.
2462
2463 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2464
2465         * gio/gappinfo.[ch]:
2466         Add g_app_info_get_id and g_app_info_get_executable.
2467         Make all getters non-reffing
2468         Make g_app_info_launch take GFile arguments.
2469         Add must_support_uris argument to g_app_info_get_default_for_type.
2470         
2471         * gio/gwin32appinfo.c:
2472         Update to GAppInfo api changes
2473         
2474         * gio/gdesktopappinfo.c:
2475         Update to GAppInfo api changes
2476         Implement supports_xdg_startup_notify
2477         
2478         * gio/gfileicon.c (g_file_icon_get_file):
2479         Make getter non-reffing.
2480         
2481         * gio/test-gio.c:
2482         Update to new API
2483
2484 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2485
2486         * gio/gfileinfo.[ch]: 
2487         Add g_file_size_format_for_display helper
2488         
2489 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2490
2491         * gio/glocalfileinfo.c:
2492         Set UNIX_GID from gid, not from uid
2493
2494 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2495
2496         * gio/gfile.[ch]:
2497         Add g_file_set_attributes_async
2498
2499 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2500
2501         * gio/glocalfile.c (g_local_file_set_display_name):
2502         Fix set_display_name to actually rename to the right place.
2503         Use lstat to look for existing files so we don't overwrite
2504         broken links.
2505
2506 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2507
2508         * gio/gfile.[ch]:
2509         Add g_file_set_display_name_async()
2510
2511 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2512
2513         * gio/gfile.[ch]:
2514         Add load_partial_contents async calls
2515         
2516         * gio/glocalfile.c:
2517         Make internal function static
2518
2519 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2520
2521         * gio/glocalfileinfo.c:
2522         Correctly detect broken symlinks
2523
2524 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2525
2526         * gio/gcancellable.c (g_cancellable_cancel):
2527         Allow cancel on NULL cancellable
2528
2529 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2530
2531         * gio/gsimpleasyncresult.c:
2532         Don't allocate g_error manually.
2533         Fixes g_slice/g_new mixup crash
2534
2535 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2536
2537         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2538         Actually set active_backend.
2539         This means the monitor will be cancelled correctly.
2540
2541 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2542
2543         * gio/gdirectorymonitor.c:
2544         Set timeout to NULL when destroying
2545
2546 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2547
2548         * gio/gioerror.h:
2549         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2550         that is a better description of the error.
2551
2552 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
2553
2554         * gio/gvfs.c: (g_vfs_get_local):
2555         Make the local vfs variable static. The same instance should
2556         always be returned.
2557
2558 2007-09-24  Alexander Larsson  <alexl@redhat.com>
2559
2560         * gio/glocalfileinfo.c:
2561         Pass in actual length read into sniffer, not the length
2562         we tried to read.
2563
2564 2007-09-21  Alexander Larsson  <alexl@redhat.com>
2565
2566         * gio/gfileenumerator.c:
2567         * gio/gfileinfo.c:
2568         * gio/gfileinfo.h:
2569         * gio/gfileinputstream.c:
2570         * gio/gfileoutputstream.c:
2571         * gio/ginputstream.c:
2572         * gio/goutputstream.c:
2573         Don't crash if async callbacks are NULL
2574
2575 2007-09-20  Alexander Larsson  <alexl@redhat.com>
2576
2577         * gio/gfile.[ch]:
2578         Add async enumerate_children method and default
2579         implementation
2580
2581 2007-09-20  Alexander Larsson  <alexl@redhat.com>
2582
2583         * gio/gfile.[ch]
2584         Add g_file_contains_file & g_file_get_relative_path, since they
2585         were needed for nautilus.
2586         Renamed g_file_resolve_relative to g_file_resolve_relative_path
2587         to make it clearer.
2588         
2589         * gio/gdummyfile.c:
2590         * gio/glocalfile.c:
2591         Implement new methods
2592
2593 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2594
2595         * gio/gfile.[ch]:
2596         * gio/gfileinputstream.[ch]:
2597         * gio/gfileoutputstream.[ch]:
2598         * gio/glocalfile.c:
2599         * gio/glocalfileenumerator.[ch]:
2600         * gio/glocalfileinfo.[ch]:
2601         * gio/glocalfileinputstream.c:
2602         * gio/glocalfileoutputstream.c:
2603         * gio/gpollfilemonitor.c:
2604         * programs/gio-copy.c:
2605         * programs/gio-info.c:
2606         * programs/gio-move.c:
2607         Rename get_file_info to query_info() to make it clearer
2608         that these are not simple getters, but do i/o.
2609
2610 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2611
2612         * gio/gdatainputstream.[ch]:
2613         * gio/test-streams.c:
2614         Use _read_XXX instead of _get_XXX for the i/o calls
2615         in GDataInputStream
2616
2617 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2618
2619         * gio/gappinfo.h:
2620         Added needed stuff to TODO comment
2621
2622 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2623
2624         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2625         Don't error out removing the backup copy if it doesn't
2626         already exist.
2627
2628 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2629
2630         * programs/Makefile.am:
2631         * programs/gvfs-*.c: 
2632         * programs/gio-*.c:
2633         Renamed apps from gvfs-xxx to gio-xxx.
2634
2635 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2636
2637         * gio/gfile.c:
2638         * gio/gfileoutputstream.[ch]:
2639         * gio/glocalfileoutputstream.c:
2640         * programs/gvfs-save.c:
2641         g_file_output_stream_get_etag doesn't do i/o, so remove
2642         cancellation and error.
2643
2644 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2645
2646         * gio/gfile.[ch]:
2647         Add new_etag output to replace_contents functions
2648
2649 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2650
2651         * gio/gfileoutputstream.[ch]:
2652         Add async get_file_info and default implementation
2653
2654 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2655
2656         * gio/gfileinputstream.c:
2657         Implement fallback wrapper for async get_file_info
2658
2659 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2660
2661         * gio/gfile.[ch]:
2662         Add etag out argument to load_contents
2663         
2664         * gio/test-gio.c:
2665         Update to new API
2666
2667 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2668
2669         * gio/gcontenttype.c (looks_like_text):
2670         Whitespace like tab, cr and lf do not make the
2671         file binary.
2672
2673 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2674
2675         * gio/gfileinputstream.[ch]:
2676         Add async get_file_info.
2677
2678 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2679
2680         * gio/goutputstream.c (g_output_stream_write_all):
2681         Allow NULL for bytes_written
2682
2683 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2684
2685         * gio/gmemoryinputstream.[ch]:
2686         Add accessors for data
2687
2688 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2689
2690         * gio/gdatainputstream.c (g_data_input_stream_get_until):
2691         Don't crash if length is NULL
2692