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