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