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