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