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