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