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