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