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