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