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