Rework how volumes, drives and volume monitoring is done. Previosly the
[platform/upstream/glib.git] / gio / ChangeLog
1 2007-12-11  David Zeuthen  <davidz@redhat.com>
2
3         Rework how volumes, drives and volume monitoring is
4         done. Previosly the model was
5
6          GDrive <1-1> GVolume
7
8         where a GDrive instance represented a mount point and a GVolume
9         instance represented a mounted file system. This patch changes it
10         the model to
11
12                 GDrive <1-N> GVolume <1-1> GMount
13
14         where GMount now serves the purpose of the old GVolume and the new
15         GVolume serves the purpose of the old GDrive. In addition the new
16         GDrive interface is used to represent a collection of GVolume
17         instances (typically partitions) and also contains utility to query
18         the state of the physical drive the GDrive object represents (such
19         as checking for media, polling the drive, ejecting the media etc.).
20
21         Also implement mounting and unmounting in the Unix volume monitor
22         backend. A subquent patch will introduce GDrive support for ejection
23         of media.
24
25         * Makefile.am:
26         * gdrive.c: (g_drive_is_media_check_automatic),
27         (g_drive_is_media_removable), (g_drive_has_media),
28         (g_drive_can_poll_for_media), (g_drive_eject),
29         (g_drive_eject_finish), (g_drive_poll_for_media),
30         (g_drive_poll_for_media_finish):
31         * gdrive.h:
32         * gfile.c: (g_file_find_enclosing_mount):
33         * gfile.h:
34         * gio.symbols:
35         * glocaldirectorymonitor.c:
36         (g_local_directory_monitor_constructor), (mounts_changed):
37         * glocalfile.c: (get_mount_info),
38         (g_local_file_find_enclosing_mount),
39         (g_local_file_file_iface_init):
40         * gnativevolumemonitor.h:
41         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
42         (get_connected_drives), (g_union_volume_monitor_class_init),
43         (child_volume_added), (child_volume_removed),
44         (child_volume_changed), (child_mount_added), (child_mount_removed),
45         (child_mount_pre_unmount), (child_mount_changed),
46         (child_drive_changed), (g_union_volume_monitor_add_monitor),
47         (g_union_volume_monitor_remove_monitor),
48         (_g_mount_get_for_mount_path):
49         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
50         (guess_system_internal), (_g_get_unix_mounts),
51         (_g_get_unix_mount_points), (g_get_unix_mount_at),
52         (g_unix_mount_free), (g_unix_mount_compare),
53         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
54         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
55         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
56         (type_to_icon), (g_unix_mount_guess_name),
57         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
58         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
59         (_resolve_symlink), (_resolve_dev_root):
60         * gunixmounts.h:
61         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
62         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
63         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
64         (g_unix_volume_get_name), (g_unix_volume_can_mount),
65         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
66         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
67         (g_unix_volume_mount), (g_unix_volume_mount_finish),
68         (g_unix_volume_volume_iface_init):
69         * gunixvolume.h:
70         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
71         (get_mounts), (get_volumes), (get_connected_drives),
72         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
73         (mountpoints_changed), (mounts_changed),
74         (g_unix_volume_monitor_init),
75         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
76         (find_mount_by_mountpath), (update_volumes), (update_mounts):
77         * gunixvolumemonitor.h:
78         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
79         (g_volume_mount), (g_volume_mount_finish):
80         * gvolume.h:
81         * gvolumemonitor.c: (g_volume_monitor_class_init),
82         (g_volume_monitor_get_connected_drives),
83         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
84         * gvolumemonitor.h:
85
86 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
87
88         * gmountoperation.h (GPasswordFlags): Close the gap
89
90 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
91
92         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
93         * gio.symbols:
94         * gdesktopappinfo.[hc]: Remove _-prefixes
95
96 2007-12-10  Tor Lillqvist  <tml@novell.com>
97
98         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
99         gcc warnings.
100
101 2007-12-10  Alexander Larsson  <alexl@redhat.com>
102
103         * gfile.c (g_file_set_display_name):
104         Don't hardcode '/' (#502727)
105
106 2007-12-09  Hans Breuer  <hans@breuer.org>
107
108         * makefile.msc : follow lib naming convention
109         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
110         for user and group name, tested with ../tests/gio-ls
111
112 2007-12-09  A. Walton  <awalton@svn.gnome.org>
113
114         * gdesktopappinfo.c:
115         * gdrive.c:
116         * gdrive.h:
117         * gfile.c:
118         * gfile.h:
119         * gfileattribute.c:
120         * gfileenumerator.c:
121         * gioerror.c:
122         * gioscheduler.c:
123         * gioscheduler.h:
124         * gloadableicon.c:
125         * gmemoryinputstream.c:
126         * gmemoryoutputstream.c:
127         * goutputstream.h:
128         * gsimpleasyncresult.c:
129         More documentation cleanup and filling in missing information, bringing
130         GIO to 99% symbol coverage.
131
132 2007-12-08  Hans Breuer  <hans@breuer.org>
133
134         [gio compiles and links on win32, not sure how much already works]
135         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
136         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
137         base on win32 API; prefer g_lstat() over lstat(); instead of 
138         localtime_r() use an all GLib implementation on win32;
139         get_mount_info() still needs a win32 specifc implementation
140         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
141         win32_get_file_user_info to get owner/group info without uid/gid
142         * glocalfileinputstream.c : include <io.h> on win32
143         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
144         definition, use g_win32_ftruncate() for G_OS_WIN32
145         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
146         it is available with mingw/w32api but a mess with the M$ Platform SDKs
147         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
148         * makefile.msc : updated
149
150 2007-12-07  Alexander Larsson  <alexl@redhat.com>
151
152         * glocalfileenumerator.c (_g_local_file_enumerator_new):
153         Avoid warning spew if error == NULL
154         
155 2007-12-07  Alexander Larsson  <alexl@redhat.com>
156
157         * gfile.c:
158         Update docs wrt etags
159
160 2007-12-06  Alexander Larsson  <alexl@redhat.com>
161
162         * glocalfileinfo.h:
163         Include sys/types.h for dev_t (#501919)
164
165 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
166
167         * gio.symbols:
168         * pltcheck.sh:
169         Make abicheck and pltcheck pass.
170
171 2007-12-05  Alexander Larsson  <alexl@redhat.com>
172
173         * Makefile.am:
174         * giomodule-priv.h: Added.
175         * glocaldirectorymonitor.c:
176         * glocalfilemonitor.c:
177         * gunionvolumemonitor.c:
178         * gvfs.c:
179         Actually add the declaration of _g_io_modules_ensure_loaded
180
181 2007-12-05  Alexander Larsson  <alexl@redhat.com>
182
183         * gdatainputstream.c:
184         Fix warnings
185         
186         * gio.symbols:
187         * giomodule.[ch]
188         * glocaldirectorymonitor.c:
189         * glocalfilemonitor.c:
190         * gunionvolumemonitor.c:
191         * gvfs.c:
192         Make g_io_modules_ensure_loaded a private function and
193         don't pass in the dirname. This means we can do magic
194         directory finding in the win32 version.
195         Export the actual load-modules-in-directory code so that
196         gvfs can reuse that.
197
198 2007-12-05  Alexander Larsson  <alexl@redhat.com>
199
200         * gbufferedinputstream.c:
201         * gbufferedoutputstream.c:
202         * gdrive.[ch]:
203         * gfile.[ch]:
204         * gfileenumerator.[ch]:
205         * gfileinputstream.c:
206         * gfileoutputstream.[ch]:
207         * gfilterinputstream.c:
208         * gfilteroutputstream.c:
209         * ginputstream.[ch]:
210         * glocalfile.c:
211         * glocalfileenumerator.c:
212         * glocalfileinputstream.c:
213         * glocalfileoutputstream.c:
214         * gmemoryinputstream.c:
215         * gmemoryoutputstream.c:
216         * goutputstream.[ch]:
217         * gseekable.[ch]:
218         * gunixdrive.c:
219         * gunixinputstream.c:
220         * gunixoutputstream.c:
221         Rename all struct members named:
222         read, write, close, truncate, or mount
223         to foo_fn, as these are reserved names
224         and could be defined as macros in libc.
225         (#501645)
226
227 2007-12-04  Alexander Larsson  <alexl@redhat.com>
228
229         * goutputstream.c:
230         (g_output_stream_close):
231         Only call flush if non-null.
232
233 2007-11-30  Dan Winship  <danw@gnome.org>
234
235         * ginputstream.c (g_input_stream_set_pending): Make this take a
236         GError and return a gboolean, and do the "outstanding operation"
237         check (and the "stream is already closed" check) itself.
238         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
239
240         * goutputstream.c (g_output_stream_set_pending)
241         (g_output_stream_clear_pending): Likewise
242
243         * gbufferedinputstream.c: 
244         * gfileinputstream.c: 
245         * gfileoutputstream.c: Update for that
246
247         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
248         Like g_simple_async_report_error_in_idle, but takes a GError
249         rather than building one.
250
251 2007-11-30  Dan Winship  <danw@gnome.org>
252
253         * goutputstream.c: Don't cheat and unset the "pending" flag around
254         inner calls. Instead, call the class method directly rather than
255         the wrapper function that checks "pending"
256
257 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
258
259         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
260
261 2007-12-03  Hans Breuer  <hans@breuer.org>
262
263         [start of port to win32/msvc]
264         * gcancellable.c : HAVE_UNIST_H and _pipe()
265         * gcontenttype.c : only include <dirent.h> in the UNIX branch
266         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
267         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
268         HAVE_UNIST_H
269         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
270         * glocalvfs.c : use HAVE_PWD_H
271         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
272         * makefile.msc : new file (maybe later converted to makefile.msc.in)
273         * Makefile.am : added to EXTRA_DIST
274
275 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
276
277         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
278         (#499783)
279
280 2007-12-03  Alexander Larsson  <alexl@redhat.com>
281
282         * glocalfileinfo.c:
283         Handle OSX style xattrs API (#500506)
284
285 2007-12-03  Alexander Larsson  <alexl@redhat.com>
286
287         * gfile.[ch]:
288         * glocalfile.c:
289         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
290
291 2007-12-02  A. Walton  <awalton@svn.gnome.org>
292
293         * gfile.c:
294         * gfileattribute.c:
295         Documentation accuracy fixes.
296
297 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
298
299         * gioenumtypes.c.template: Fix typo.
300
301 2007-12-01  Matthias Clasen <mclasen@redhat.com>
302
303         * gioenumtypes.c.template: Make threadsafe get_type() functions.
304
305 2007-12-01  Matthias Clasen <mclasen@redhat.com>
306
307         * gdirectorymonitor.c:
308         * gfilemonitor.c: Add properties
309
310         * gbufferedoutputstream.c: Don't mark buffer-size property 
311         as construct-only.
312
313 2007-12-01  Matthias Clasen <mclasen@redhat.com>
314
315         * gbufferedoutputstream.c: Add auto-grow property.
316
317 2007-11-30  Matthias Clasen <mclasen@redhat.com>
318
319         * *.c: Unify the capitalization of section headings.
320
321 2007-11-30  Matthias Clasen <mclasen@redhat.com>
322
323         * gmountoperation.c: Add properties
324         
325         * gdatainputstream.c: Turn byte-order and newline-type into
326         properties.
327
328 2007-11-30  Matthias Clasen <mclasen@redhat.com>
329
330         * gioenumtypes.[hc].template: Templates for enum registration
331
332         * Makefile.am: Generate gioenumtypes.[hc]
333
334         * gio.h: Include gioenumtypes.h
335         * gappinfo.h:
336         * gfile.h: Add some explicit nicks.
337
338         * gio.symbols: Add new symbols
339
340         * pltcheck.sh: Adjust
341
342 2007-11-30  Matthias Clasen <mclasen@redhat.com>
343
344         * *.c: Explain etags and link to the explanation
345
346 2007-11-29  Matthias Clasen <mclasen@redhat.com>
347
348         * *.c: Explain I/O priority.
349
350         * *.c: More coding style fixes.
351
352 2007-11-29  Matthias Clasen <mclasen@redhat.com>
353
354         * gasyncresult.c: Add another paragraph to the intro,
355         adjust coding style of example.
356
357 2007-11-29  A. Walton <awalton@svn.gnome.org>
358
359         * gappinfo.c:
360           Fixes unknown meaning in GAppLaunchContext docs.
361         * gfile.c:
362           Clarify asynchronous ops.
363         * gfileattribute.c:
364           Fix entity tag docs.
365         * gicon.c:
366         * gthemedicon.c:
367           Provides missing gtk-doc section, fixes API docs slighly.
368         * gsimpleasyncresult.c:
369           Fill in missing info in docs.
370         * gunixinputstream.c:
371         * gunixoutputstream.c:
372           Be more expressive in short description.
373         * gunixvolume.c:
374           Remove gtk-doc stubs for non-public API.
375
376 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
377
378         * *.c: Coding style fixups
379
380 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
381
382         * inotify/inotify-helper.c: Don't export the lock from libgio.
383
384 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
385
386         * Makefile.am:
387         * abicheck.sh: Fix copy-and-paste leftovers 
388
389 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
390
391         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
392
393 2007-11-28  Alexander Larsson  <alexl@redhat.com>
394
395         * Makefile.am:
396         * gdriveprivate.h:
397         Removed unnecessary file
398         
399         * gdesktopappinfo.[ch]:
400         * gdummyfile.[ch]:
401         * gfile.c:
402         * glocaldirectorymonitor.[ch]:
403         * glocalfile.[ch]:
404         * glocalfileenumerator.[ch]:
405         * glocalfileinputstream.[ch]:
406         * glocalfilemonitor.[ch]:
407         * glocalfileoutputstream.[ch]:
408         * glocalvfs.[ch]:
409         * gnativevolumemonitor.c:
410         * gpollfilemonitor.[ch]:
411         * gunionvolumemonitor.[ch]:
412         * gunixdrive.[ch]:
413         * gunixvolume.[ch]:
414         * gunixvolumemonitor.[ch]:
415         * gvfs.c:
416         * gvolumeprivate.h:
417         * inotify/ginotifydirectorymonitor.[ch]:
418         * inotify/ginotifyfilemonitor.[ch]:
419         * inotify/inotify-helper.c:
420         Append _ to all internal functions
421         
422         * gio.symbols:
423         Add missing symbols
424         Export symbols needed for modules
425
426 2007-11-28  Alexander Larsson  <alexl@redhat.com>
427
428         * Makefile.am:
429         * abicheck.sh: Added.
430         * makegioalias.pl: Added.
431         * pltcheck.sh: Added.
432         * gio.symbols: Added.
433         * *.c:
434         * inotify/*.c
435         Initial work on adding symbol handling.
436
437         * gvfs.h:
438         Correct ifdef guard name
439
440         * fam/Makefile.am:
441         * inotify/Makefile.am:
442         * xdgmime/Makefile.am:
443         Include toplevel Makefile.decl
444
445 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
446
447         * gcontenttype.c: Move doc comments to the unix section.
448
449         * *.[hc]: More trivial doc corrections.
450
451 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
452
453         * gpollfilemonitor.c:
454         * gunixmounts.c:
455         * gvfs.c:
456         * gfile.c:
457         * gdesktopappinfo.c:
458         * gwin32appinfo.c:
459         * gvolume.c:
460         * glocalvfs.c:
461         * gvolumemonitor.c:
462         * gdatainputstream.c:
463         * gdatainputstream.h:
464         * gdataoutputstream.c:
465         * gdataoutputstream.h:
466         * gfileinfo.h: Doc cleanups
467
468 2007-11-28  Andre Klapper  <a9016009@gmx.de>
469
470         * gdesktopappinfo.c: Fix a typo.
471
472 2007-11-27  Andre Klapper  <a9016009@gmx.de>
473
474         * glocalfileoutputstream.c: Fix a typo.
475
476 2007-11-27  Alexander Larsson  <alexl@redhat.com>
477
478         * gio.h:
479         Don't include removed headers
480
481 2007-11-27  Alexander Larsson  <alexl@redhat.com>
482
483         * Makefile.am:
484         * gsocketinputstream.[ch]: Removed.
485         * gsocketoutputstream.[ch]: Removed.
486         * gunixinputstream.[ch]: Added.
487         * gunixoutputstream.[ch]: Added.
488         Renamed GSocket*Stream to GUnix*Stream and made
489         it unix-only, since its not really only for sockets
490         and it only works on unix (but is highly useful there).
491
492 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
493         * gappinfo.c:
494         * gappinfo.h:
495         * gasynchelper.c:
496         * gasyncresult.c:
497         * gasyncresult.h:
498         * gbufferedinputstream.c:
499         * gbufferedinputstream.h:
500         * gbufferedoutputstream.c:
501         * gbufferedoutputstream.h:
502         * gcancellable.c: 
503         * gcancellable.h:
504         * gcontenttype.c:
505         * gdatainputstream.c:
506         * gdatainputstream.h:
507         * gdataoutputstream.c:
508         * gdataoutputstream.h:
509         * gdirectorymonitor.c:
510         * gdirectorymonitor.h:
511         * gdrive.c: 
512         * gdrive.h:
513         * gfile.c:
514         * gfile.h:
515         * gfileattribute.c:
516         * gfileattribute.h:
517         * gfileenumerator.c:
518         * gfileenumerator.h:
519         * gfileicon.c:
520         * gfileicon.h:
521         * gfileinfo.c:
522         * gfileinfo.h:
523         * gfileinputstream.c:
524         * gfileinputstream.h:
525         * gfilemonitor.c:
526         * gfilemonitor.h:
527         * gfilenamecompleter.c:
528         * gfilenamecompleter.h:
529         * gfileoutputstream.c:
530         * gfileoutputstream.h:
531         * gfilterinputstream.c:
532         * gfilterinputstream.h:
533         * gfilteroutputstream.c:
534         * gfilteroutputstream.h:
535         * gicon.c:
536         * gicon.h:
537         * ginputstream.c:
538         * ginputstream.h:
539         * gioerror.c:
540         * gioerror.h:
541         * giomodule.c:
542         * giomodule.h:
543         * gioscheduler.c:
544         * gioscheduler.h:
545         * gloadableicon.c:
546         * gloadableicon.h:
547         * glocalfileoutputstream.c:
548         * gmemoryinputstream.c:
549         * gmemoryinputstream.h:
550         * gmemoryoutputstream.c:
551         * gmemoryoutputstream.h:
552         * gmountoperation.c: 
553         * gmountoperation.h:
554         * goutputstream.c:
555         * goutputstream.h:
556         * gpollfilemonitor.c:
557         * gseekable.c:
558         * gseekable.h:
559         * gsimpleasyncresult.c:
560         * gsimpleasyncresult.h:
561         * gsocketinputstream.c:
562         * gsocketinputstream.h:
563         * gsocketoutputstream.c:
564         * gsocketoutputstream.h:
565         * gthemedicon.c:
566         * gthemedicon.h:
567         * gunixdrive.c:
568         * gunixmounts.c: 
569         * gunixmounts.h:
570         * gunixvolume.c:
571         * gunixvolumemonitor.c:
572         * gurifuncs.c:
573         * gurifuncs.h:
574         * gvfs.c:
575         * gvfs.h:
576         * gvolume.c:
577         * gvolume.h:
578         * gvolumemonitor.c: 
579         * gvolumemonitor.h:
580         Bumps documentation to 93% symbol coverage, touching most 
581         of the public files. Fixes broken function documentation prototypes. 
582         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
583         gtk-doc headers in private files.
584
585 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
586
587         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
588         (g_buffered_input_stream_read_byte):
589         * gbufferedinputstream.h:
590         New functions for efficient access to buffer and simple single byte
591         reads.
592
593         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
594         (g_data_input_stream_read_until):
595         * gdatainputstream.h:
596         Use peek_buffer to avoid memcpy in scan_for_newline, implement
597         read_until with multiple stop chars.
598
599 2007-11-27  Alexander Larsson  <alexl@redhat.com>
600
601         * Makefile.am:
602         * fam/Makefile.am:
603         * inotify/Makefile.am:
604         Use the user-specified giomoduledir
605
606 2007-11-27  Alexander Larsson  <alexl@redhat.com>
607
608         * Makefile.am
609         * gio.h:
610         Add catch-all gio.h header
611         Don't install gdummyfile.h
612
613 2007-11-26  Alexander Larsson  <alexl@redhat.com>
614
615         * Makefile.am (gioinclude_HEADERS):
616         Remove trailing whitespace
617         
618 2007-11-26  Alexander Larsson  <alexl@redhat.com>
619
620         Merge gio-standalone into glib
621
622 2007-11-25  Christian Kellner  <gicmo@gnome.org>
623
624         * gio/goutputstream.c:
625         Fix small mistake in the docs.
626
627 2007-11-21  Christian Persch  <chpe@gnome.org>
628
629         * gio/glocalfile.c: (g_local_file_trash):
630         Convert filenames to UTF-8 for GError.
631         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
632         as per xdg base dir spec.
633
634 2007-11-21  Christian Persch  <chpe@gnome.org>
635
636         * gio/gdesktopappinfo.c:
637         Use that g_key_file_to_data cannot fail.
638         Some misc cleanups.
639         Use stock defines for the key file group and key names.
640         Use bitfields.
641
642 2007-11-21  Alexander Larsson  <alexl@redhat.com>
643
644         * gio/gfile.c:
645         (copy_stream_with_progress):
646         Make sure we do a final progress callback with
647         the full total size.
648
649 2007-11-21  Alexander Larsson  <alexl@redhat.com>
650
651         * gio/gfile.[ch]:
652         Export g_file_copy_attributes
653         Remove padding as its not needed for interfaces
654
655 2007-11-20  Alexander Larsson  <alexl@redhat.com>
656
657         * gio/gfile.c:
658         * gio/gioerror.h:
659         * gio/glocalfile.c:
660         Add G_IO_ERROR_WOULD_MERGE for
661         copy/move dir on dir with overwrite.
662
663 2007-11-20  Alexander Larsson  <alexl@redhat.com>
664
665         * gio/gfileinfo.h:
666         * gio/glocalfileinfo.c:
667         Add COPY_NAME (this is an optional
668         non-modified utf8 version of the name) that
669         can roundtrip.
670
671 2007-11-20  Alexander Larsson  <alexl@redhat.com>
672
673         * gio/glocalfileenumerator.c:
674         Report errors as GIOError, not GFileError
675
676 2007-11-16  Alexander Larsson  <alexl@redhat.com>
677
678         * gio/glocalfileoutputstream.c:
679         * gio/gwin32appinfo.c:
680         Fix typos in strings.
681         Patch from Luca Ferretti <elle.uca@libero.it>
682
683 2007-11-15  Alexander Larsson  <alexl@redhat.com>
684
685         * configure.ac:
686         Post release version bump
687
688 === gio-standalone 0.1.2 ===
689
690 2007-11-15  Alexander Larsson  <alexl@redhat.com>
691
692         * docs/reference/gio/Makefile.am:
693         Fix up distcheck by removing weird
694         non-needed stuff
695
696         * NEWS:
697         Update for release
698
699 2007-11-14  Alexander Larsson  <alexl@redhat.com>
700
701         * gio/gdesktopappinfo.c:
702         * gio/glocaldirectorymonitor.c:
703         * gio/glocalfile.c:
704         * gio/glocalfileinfo.c:
705         * gio/inotify/inotify-sub.c:
706         * programs/gio-cat.c:
707         * programs/gio-copy.c:
708         * programs/gio-info.c:
709         * programs/gio-ls.c:
710         * programs/gio-monitor-dir.c:
711         * programs/gio-monitor-file.c:
712         * programs/gio-mount.c:
713         * programs/gio-move.c:
714         * programs/gio-rm.c:
715         * programs/gio-save.c:
716         * programs/gio-trash.c:
717         Leak fixes from Kjartan Maraas
718
719 2007-11-14  Alexander Larsson  <alexl@redhat.com>
720
721         * gio/fam/fam-helper.c:
722         * gio/gdrive.[ch]:
723         * gio/glocalfileinfo.c:
724         * gio/gunixdrive.c:
725         * gio/gvfs.c:
726         * gio/gvolume.[ch]:
727         * gio/inotify/inotify-diag.c:
728         * gio/inotify/inotify-kernel.c:
729         Various code cleanups from Kjartan Maraas
730
731 2007-11-14  Alexander Larsson  <alexl@redhat.com>
732
733         * gio/gioscheduler.c:
734         (init_scheduler):
735         Set up threadpool so that we cache 2 unused
736         idle threads for at 15 secs. This means we
737         will reuse thread-local data (like dbus connections)
738         for them.
739
740 2007-11-14  Alexander Larsson  <alexl@redhat.com>
741
742         * gio/fam/fam-helper.c:
743         * gio/fam/gfamdirectorymonitor.c:
744         * gio/fam/gfamfilemonitor.c:
745         * gio/gappinfo.c:
746         * gio/gcontenttype.c:
747         * gio/gdatainputstream.c:
748         * gio/gdataoutputstream.c:
749         * gio/gdummyfile.c:
750         * gio/gfile.c:
751         * gio/gfile.h:
752         * gio/gfileattribute.h:
753         * gio/gfileenumerator.c:
754         * gio/gfileinfo.c:
755         * gio/ginputstream.c:
756         * gio/gioerror.h:
757         * gio/glocalfile.c:
758         * gio/glocalfileinfo.c:
759         * gio/goutputstream.c:
760         * gio/gpollfilemonitor.c:
761         * gio/gsimpleasyncresult.c:
762         * gio/gunixmounts.c:
763         * gio/gunixmounts.h:
764         * gio/inotify/ginotifydirectorymonitor.c:
765         * gio/inotify/ginotifyfilemonitor.c:
766         * gio/inotify/inotify-diag.c:
767         * gio/inotify/inotify-kernel.c:
768         * gio/inotify/inotify-path.c:
769         * gio/test-gio.c:
770         * gio/test-streams.c:
771         * programs/gio-info.c:
772         * programs/gio-monitor-dir.c:
773         * programs/gio-monitor-file.c:
774         Various code cleanups from Kjartan Maraas
775
776 2007-11-13  Alexander Larsson  <alexl@redhat.com>
777
778         * gio/gdummyfile.c:
779         Handle the uri-scheme calls for dummy files
780
781 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
782
783         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
784         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
785         to avoid clash with the C++ keyword.
786
787 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
788
789         * gio/glocalfileinfo.c: Build fix, added missing semicolon
790         to an ifdef'ed call to getpwuid() in lookup_uid_data().
791
792 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
793
794         * gio/glocaldirectorymonitor.c:
795         * gio/glocalfilemonitor.c:
796         * gio/gunionvolumemonitor.c:
797         Don't use g_once_init_*() for initializations that could fail and
798         could leave the initialization variable set to 0 but use GOnce.
799         This prevents a deadlock on the second call when trying to create
800         a monitor and no monitor type is available. Thanks to Sven Herzberg
801         for reporting.
802
803 2007-11-11  Sven Herzberg  <sven@imendio.com>
804
805         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
806         #ifdef (make it work on MacOS X again)
807
808 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
809         * Changelog:
810         Fixes Changelog for last two commits (sorry guys).
811
812 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
813         * gio/gappinfo.c:
814         * gio/gbufferedinputstream.c:
815         * gio/gdatainputstream.c:
816         * gio/gfile.c:
817         * gio/gfileoutputstream.c:
818         * gio/gfilterinputstream.c:
819         * gio/glocalfileinputstream.c:
820         * gio/gurifuncs.c:
821         * gio/gvfs.c:
822         More consistency fixes in g*stream.c files. 
823         Significant clean of gfile's documentation, filling in of 
824         asynchronous operations documentation.
825
826 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
827         * gio/gappinfo.c:
828         * gio/gasyncresult.c:
829         * gio/gbufferedinputstream.c:
830         * gio/gbufferedoutputstream.c:
831         * gio/gcancellable.c:
832         * gio/gcontenttype.c:
833         * gio/gdatainputstream.c:
834         * gio/gdataoutputstream.c:
835         * gio/gdesktopappinfo.c:
836         * gio/gdrive.c:
837         * gio/gfile.c:
838         * gio/gfileattribute.c:
839         * gio/gio/gfileenumerator.c:
840         * gio/gfileinfo.c:
841         * gio/gfileinputstream.c:
842         * gio/gfilemonitor.c:
843         * gio/gfileoutputstream.c:
844         * gio/ginputstream.c:
845         * gio/giomodule.c:
846         * gio/gioscheduler.c:
847         * gio/gloadableicon.c:
848         * gio/glocalfileoutputstream.c:
849         * gio/gmemoryoutputstream.c:
850         * gio/gmountoperation.c:
851         * gio/goutputstream.c:
852         * gio/gseekable.c:
853         * gio/gsimpleasyncresult.c:
854         * gio/gunionvolumemonitor.c:
855         * gio/gunixmounts.c:
856         * gio/gunixvolume.c:
857         * gio/gurifuncs.c:
858         * gio/gvfs.c:
859         * gio/gvolume.c:
860         * gio/gvolumemonitor.c:
861         Updated documentation stubs, working towards consistency and 
862         completeness.
863
864 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
865
866         * gio/gmemoryoutputstream.c:
867         * gio/gmemoryoutputstream.h:
868         Change g_memory_output_stream_set_free_on_close() to
869         g_memory_output_stream_set_free_data() as this makes more sense and
870         is more consistent with GMemoryInputStream.
871
872 2007-11-07  Alexander Larsson  <alexl@redhat.com>
873
874         * gio/gfile.c:
875         Fix some docs
876         
877         * gio/glocalvfs.c:
878         * gio/gvfs.[ch]:
879         Change how we find the default vfs so that
880         we can handle a gvfs failing to init
881
882 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
883
884         * gio/gbufferedoutputstream.c:
885         * gio/gdatainputstream.c:
886         * gio/gdataoutputstream.c:
887         * gio/gfileinputstream.c:
888         * gio/gfileoutputstream.c:
889         * gio/gfilterinputstream.c:
890         * gio/gfilteroutputstream.c:
891         * gio/ginputstream.c:
892         * gio/gmemoryinputstream.c:
893         * gio/gmemoryoutputstream.c:
894         * gio/goutputstream.c:
895         * gio/gsimpleasyncresult.c:
896         * gio/gsocketinputstream.c:
897         * gio/gsocketoutputstream.c:
898         Add guards to the remaining public functions, add a TODO for
899         an unimplemented function and remove some useless guards.
900
901 2007-11-07  Alexander Larsson  <alexl@redhat.com>
902
903         * configure.ac:
904         Autoconf checks for the various types of
905         getpwuid_r and getgrgid_r
906         
907         * gio/glocalfileinfo.c:
908         Use the autoconf checks from above
909
910 2007-11-07  Alexander Larsson  <alexl@redhat.com>
911
912         * gio/glocalfile.c:
913         (g_local_file_query_filesystem_info):
914         Some fixes for the statvfs case
915         
916 2007-11-07  Alexander Larsson  <alexl@redhat.com>
917
918         * gio/glocalfile.c:
919         (g_local_file_query_filesystem_info):
920         Pick the "best" of statfs / statvfs for the system
921         if both are availible.
922
923 2007-11-07  Alexander Larsson  <alexl@redhat.com>
924
925         Solaris fixes from Halton.Huo@Sun.COM:
926         
927         * gio/gdrive.c:
928         * gio/gfile.c:
929         * gio/gvolume.c:
930         Don't return void
931         
932         * gio/glocalfileinfo.c:
933         Fix for solaris definition of getpwuid_r
934         
935         * gio/test-streams.c:
936         Use G_GNUC_PRETTY_FUNCTION
937
938 2007-11-07  Alexander Larsson  <alexl@redhat.com>
939
940         * gio/gdesktopappinfo.c:
941         (update_default_list):
942         Remove double semicolon.
943         Patch from Jens Granseuer
944
945 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
946
947         * docs/reference/gio/gio-sections.txt:
948         * gio/gbufferedinputstream.c:
949         * gio/gbufferedinputstream.h:
950         * gio/gdatainputstream.c:
951         * gio/gfileenumerator.c:
952         * gio/gioscheduler.c:
953         * gio/gunionvolumemonitor.c:
954         * gio/gvfs.c:
955         * programs/gio-save.c:
956         Fix typo: availible -> available. Unfortuntely this breaks API
957         and ABI as g_buffered_input_stream_get_available() was renamed.
958         
959         * gio/gunixmounts.c:
960         * gio/gbufferedinputstream.c:
961         Add guards for public functions.
962
963 2007-11-06  Ross Burton  <ross@openedhand.com>
964
965         * docs/reference/gio/Makefile.am:
966         Fix invalid += usage which automake 1.10 doesn't like.
967
968 2007-11-06  Alexander Larsson  <alexl@redhat.com>
969
970         * gio/gappinfo.c:
971         (g_app_launch_context_class_init):
972         Fix warning
973
974         Patch from Ross Burton 
975         
976 2007-11-06  Alexander Larsson  <alexl@redhat.com>
977
978         * configure.ac:
979         Post release version bump
980
981 === gio-standalone 0.1.1 ===
982
983 2007-11-06  Alexander Larsson  <alexl@redhat.com>
984
985         * configure.ac:
986         Bump version to 0.1.1
987         
988         * gio/gsimpleasyncresult.c:
989         (g_simple_async_result_set_from_error):
990         Remove bogus g_return_if_fail
991
992 2007-11-06  Alexander Larsson  <alexl@redhat.com>
993
994         * configure.ac:
995         The name is gio-standalone
996         
997         * gio/Makefile.am:
998         Add top src/builddir to includedir
999
1000 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1001
1002         * docs/reference/gio/gio-sections.txt:
1003         * gio/gappinfo.c:
1004         * gio/gbufferedinputstream.c:
1005         * gio/gbufferedoutputstream.c:
1006         * gio/gcancellable.c:
1007         * gio/gdatainputstream.h:
1008         * gio/gdataoutputstream.c:
1009         * gio/gdataoutputstream.h:
1010         * gio/gdirectorymonitor.c:
1011         * gio/gfile.c:
1012         * gio/gfileattribute.c:
1013         * gio/gfileattribute.h:
1014         * gio/gfileenumerator.c:
1015         * gio/gfileenumerator.h:
1016         * gio/gfileinfo.c:
1017         * gio/gfileinfo.h:
1018         * gio/gfileinputstream.h:
1019         * gio/gfilemonitor.c:
1020         * gio/gfileoutputstream.h:
1021         * gio/glocalfilemonitor.h:
1022         * gio/glocalfileoutputstream.h:
1023         * gio/gmemoryinputstream.c:
1024         * gio/gmemoryoutputstream.c:
1025         * gio/gmountoperation.c:
1026         * gio/goutputstream.c:
1027         * gio/goutputstream.h:
1028         * gio/gseekable.h:
1029         * gio/gsimpleasyncresult.c:
1030         * gio/gunixmounts.c:
1031         * gio/gunixmounts.h:
1032         * gio/gurifuncs.h:
1033         * gio/inotify/inotify-helper.c:
1034         Fix gtk-doc warnings
1035
1036         Patch from Ross Burton 
1037         
1038 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1039
1040         * gio/gfilenamecompleter.c:
1041         (g_filename_completer_get_completions):
1042         fix warning
1043         
1044         * gio/gunixvolume.c:
1045         Remove unused function
1046
1047         Patches from Ross Burton 
1048
1049 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1050
1051         * gio/gdrive.h:
1052         * gio/gseekable.h:
1053         * gio/gvolume.h:
1054         Padding not needed for interfaces
1055
1056 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1057
1058         * gio/gfilemonitor.c:
1059         Remove debug spew
1060
1061         * gio/Makefile.am:
1062         Make giotypes.h an internal file
1063         
1064         * gio/gappinfo.h:
1065         * gio/gbufferedinputstream.h:
1066         * gio/gbufferedoutputstream.h:
1067         * gio/gcancellable.h:
1068         * gio/gdatainputstream.h:
1069         * gio/gdataoutputstream.h:
1070         * gio/gdirectorymonitor.c:
1071         * gio/gdirectorymonitor.h:
1072         * gio/gdrive.c:
1073         * gio/gdrive.h:
1074         * gio/gfile.c:
1075         * gio/gfile.h:
1076         * gio/gfileattribute.h:
1077         * gio/gfileenumerator.h:
1078         * gio/gfileicon.c:
1079         * gio/gfileicon.h:
1080         * gio/gfileinfo.c:
1081         * gio/gfileinfo.h:
1082         * gio/gfilemonitor.c:
1083         * gio/gfilemonitor.h:
1084         * gio/gfilenamecompleter.c:
1085         * gio/gfilenamecompleter.h:
1086         * gio/gfilterinputstream.h:
1087         * gio/gfilteroutputstream.h:
1088         * gio/ginputstream.h:
1089         * gio/gmemoryinputstream.h:
1090         * gio/gmemoryoutputstream.h:
1091         * gio/gmountoperation.c:
1092         * gio/gmountoperation.h:
1093         * gio/gnativevolumemonitor.c:
1094         * gio/goutputstream.h:
1095         * gio/gseekable.c:
1096         * gio/gseekable.h:
1097         * gio/gsimpleasyncresult.c:
1098         * gio/gsimpleasyncresult.h:
1099         * gio/gsocketinputstream.h:
1100         * gio/gsocketoutputstream.h:
1101         * gio/gthemedicon.c:
1102         * gio/gthemedicon.h:
1103         * gio/gvfs.h:
1104         * gio/gvolume.c:
1105         * gio/gvolume.h:
1106         * gio/gvolumemonitor.c:
1107         * gio/gvolumemonitor.h:
1108         Add padding in classes where it seems useful
1109         Don't include giotypes.h from public headers
1110         Move in Class definitions into c file where possible
1111         
1112         * gio/glocalfile.c:
1113         Fix warnings
1114
1115 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1116
1117         * docs/reference/gio/gio-docs.xml:
1118         Better structure for API docs
1119
1120 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1121
1122         * gio/gfileicon.c:
1123         * gio/gloadableicon.c:
1124         * gio/gsimpleasyncresult.c:
1125         * gio/gthemedicon.c:
1126         Add some more guards to public functions. Only files missing are now
1127         g*stream*.c.
1128
1129 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1130
1131         * docs/reference/gio/gio-docs.xml:
1132         Remove old files, add missing ones
1133
1134 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1135
1136         * docs/reference/gio/gio-sections.txt:
1137         Restructure
1138         Add missing stuff
1139         Hide implementation classes
1140         
1141         * gio/gdriveprivate.h:
1142         * gio/gvolumeprivate.h:
1143         Remove non-existing function declarations
1144
1145 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1146
1147         * gio/gappinfo.c:
1148         Fix compilation warnings and add guards to the new functions.
1149         
1150         * gio/gasyncresult.c:
1151         * gio/gdummyfile.c:
1152         Add guards to the public functions.
1153         
1154         * gio/gdummyfile.c:
1155         Implement get_path().
1156
1157 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1158
1159         * gio/gfilenamecompleter.c:
1160         Make g_filename_completer_get_completions
1161         return char ** instead of GList for
1162         typesafety.
1163         
1164         * docs/reference/gio/gio-docs.xml:
1165         * docs/reference/gio/gio-sections.txt:
1166         * gio/gappinfo.c:
1167         * gio/gasyncresult.c:
1168         * gio/gbufferedinputstream.c:
1169         * gio/gbufferedoutputstream.c:
1170         * gio/gcancellable.c:
1171         * gio/gcontenttype.c:
1172         * gio/gdatainputstream.c:
1173         * gio/gdataoutputstream.c:
1174         * gio/gdesktopappinfo.c:
1175         * gio/gdirectorymonitor.c:
1176         * gio/gdrive.c:
1177         * gio/gdummyfile.c:
1178         * gio/gfile.c:
1179         * gio/gfileattribute.c:
1180         * gio/gfileenumerator.c:
1181         * gio/gfileicon.c:
1182         * gio/gfileinfo.c:
1183         * gio/gfileinputstream.c:
1184         * gio/gfilemonitor.c:
1185         * gio/gfilenamecompleter.c:
1186         * gio/gfilenamecompleter.h:
1187         * gio/gfileoutputstream.c:
1188         * gio/gfilterinputstream.c:
1189         * gio/gicon.c:
1190         * gio/ginputstream.c:
1191         * gio/giomodule.c:
1192         * gio/gioscheduler.c:
1193         * gio/gloadableicon.c:
1194         * gio/glocaldirectorymonitor.c:
1195         * gio/glocalfile.c:
1196         * gio/glocalfileinputstream.c:
1197         * gio/glocalfilemonitor.c:
1198         * gio/glocalfileoutputstream.c:
1199         * gio/glocalvfs.c:
1200         * gio/gmemoryinputstream.c:
1201         * gio/gmemoryoutputstream.c:
1202         * gio/gmountoperation.c:
1203         * gio/goutputstream.c:
1204         * gio/gpollfilemonitor.c:
1205         * gio/gseekable.c:
1206         * gio/gsimpleasyncresult.c:
1207         * gio/gsocketinputstream.c:
1208         * gio/gsocketoutputstream.c:
1209         * gio/gthemedicon.c:
1210         * gio/gunionvolumemonitor.c:
1211         * gio/gunixdrive.c:
1212         * gio/gunixmounts.c:
1213         * gio/gunixvolume.c:
1214         * gio/gunixvolumemonitor.c:
1215         * gio/gurifuncs.c:
1216         * gio/gvfs.c:
1217         * gio/gvolume.c:
1218         * gio/gvolumemonitor.c:
1219         * gio/gwin32appinfo.c:
1220         Add (mostly stub) doc strings to public functions.
1221         Patch from Andrew Walton (awalton@gmail.com)
1222
1223 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1224
1225         * gio/gappinfo.[ch]:
1226         Added GAppLaunchContext object and pass that to launch.
1227         This allows simple implementation of both
1228         launch-on-screen and startup notification via a gtk+
1229         subclass of GAppLaunchContext
1230         
1231         * gio/gdesktopappinfo.c:
1232         Implement GAppLaunchContext API
1233         
1234         * gio/gwin32appinfo.c:
1235         Update to new APIs
1236
1237 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1238
1239         * gio/gmountoperation.c:
1240         Add some guards to GMountOperation's public functions.
1241
1242 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1243
1244
1245         * gio/gappinfo.c:
1246         * gio/gcancellable.c:
1247         * gio/gdirectorymonitor.c:
1248         * gio/gdrive.c:
1249         * gio/gfileenumerator.c:
1250         * gio/gfilemonitor.c:,
1251         * gio/gfilenamecompleter.c:
1252         * gio/gicon.c:
1253         * gio/giomodule.c:
1254         * gio/gioscheduler.c:
1255         * gio/gseekable.c:
1256         * gio/gurifuncs.c:
1257         * gio/gvolume.c:
1258         * gio/gvolumemonitor.c:
1259         Add even more guards to various public functions.
1260
1261 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1262
1263         * gio/gappinfo.c:
1264         Add guards to the public functions of GAppInfo.
1265
1266 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1267
1268         * gio/gcontenttype.c:
1269         Add some more guards for public functions.
1270
1271 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1272
1273         * gio/fam/fam-module.c:
1274         * gio/fam/gfamdirectorymonitor.c:
1275         * gio/fam/gfamdirectorymonitor.h:
1276         * gio/fam/gfamfilemonitor.c:
1277         * gio/fam/gfamfilemonitor.h:
1278         * gio/inotify/ginotifydirectorymonitor.c:
1279         * gio/inotify/ginotifydirectorymonitor.h:
1280         * gio/inotify/ginotifyfilemonitor.c:
1281         * gio/inotify/ginotifyfilemonitor.h:
1282         Add proper copyright information and remove an unused variable
1283         in the GInotifyFileMonitor constructor.
1284
1285         * gio/gcancellable.c:
1286         Add a guard for a public function and an assertion to prevent
1287         an undefined program state.
1288
1289 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
1290
1291         * gio/gfileattribute.c:
1292         Don't run into an assertion if the given attribute value is NULL
1293         in g_file_attribute_value_get_*() but instead return a fallback
1294         value that makes sense in most situations. Passing them a attribute
1295         value with the wrong type will still run into an assertion.
1296
1297 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1298
1299         * gio/gfileattribute.c:
1300         * gio/gfileinfo.c:
1301         Add even more guards to the public functions. Also fix the refcounting
1302         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1303         let g_file_info_list_attributes() filter the attributes by namespace
1304         instead of simply ignoring the namespace parameter.
1305
1306 2007-11-03  Sven Herzberg  <sven@imendio.com>
1307
1308         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1309         (This makes gio work on MacOS X again)
1310
1311 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1312
1313         * Makefile.am:
1314         Build the gio subdirectory before the docs. Otherwise the build will
1315         fail.
1316
1317         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1318         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1319         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1320         Add guards to the public functions.
1321
1322 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
1323
1324         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1325         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1326         to prevent a compiler warning.
1327
1328         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1329         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1330         return something in the non-void function find_topdir_for().
1331
1332 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
1333
1334         * configure.ac:
1335         * Makefile.am:
1336         * docs/:
1337         Gtkdocify!
1338
1339 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
1340
1341         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1342         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1343         * gwin32appinfo.c (g_win32_app_info_launch):
1344         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1345         envp_for_startup_id, g_desktop_app_info_launch,
1346         g_desktop_app_info_launch_uris):
1347
1348         Give an opaque 'startup_id' string instead of 'envp'.
1349         Support empty file lists for launching new windows.
1350         Fix infinite recursion bug when launching URIs.
1351
1352 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1353
1354         * gio/gfile.c:
1355         Add guard to the new g_file_get_uri_scheme() function.
1356
1357 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1358
1359         * gio/gfile.c:
1360         Convert a g_return_val_if_fail() to setting the GError instead as
1361         otherwise applications have to verify the parameter before otherwise
1362         and the parameter might come directly from the user.
1363
1364 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1365
1366         * gio/inotify/ginotify*.[ch]:
1367         Add missing copyright information.
1368
1369 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
1370
1371         * gio/gfile.c:
1372         Add guards in the beginning of public functions to check for valid
1373         parameters and fix a bug in copy_stream_with_progress() that could've
1374         caused writing less bytes than reading.
1375         * gio/glocalfileinfo.c:
1376         Check for a NULL parameter and set the GError accordingly then.
1377         * gio/goutputstream.c:
1378         Fix the same bug as in gfile.c that could've caused writing less bytes
1379         than reading in g_output_stream_real_splice().
1380
1381 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
1382
1383         * gio/Makefile.am:
1384         Use the correct gvolumeprivate.h naming
1385
1386 2007-11-01  Christian Kellner  <gicmo@gnome.org>
1387
1388         * gio/Makefile.am:
1389         Remove leftover "$(daemon_sources)" entry.
1390
1391 2007-11-01  Christian Kellner  <gicmo@gnome.org>
1392
1393         * gio/fam/*.[ch]:
1394         * gio/*.[ch]:
1395         * programs/*.[ch]:
1396         Add copyright information to source files.
1397
1398 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1399
1400         * gio/gfile.[ch]:
1401         * gio/glocalfile.c:
1402         Add g_file_get_uri_scheme
1403
1404 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1405
1406         * gio/gappinfo.h:
1407         * gio/gdesktopappinfo.c:
1408         * gio/gwin32appinfo.c:
1409         Add g_app_info_get_default_for_uri_scheme.
1410
1411 2007-11-01  Alexander Larsson  <alexl@redhat.com>
1412
1413         * gio/Makefile.am:
1414         Correct filename for gdriveprivate.h
1415
1416 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1417
1418         * gio/gfileinfo.h:
1419         Rename id:value to id:file
1420         Add id:fs
1421         
1422         * gio/glocalfileinfo.c:
1423         Implement id:fs
1424
1425 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1426
1427         * gio/gunixvolume.c:
1428         * gio/gvolume.[ch]:
1429         Remove g_volume_get_platform_id, as thats not
1430         needed with the simpler union volume monitor
1431
1432 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1433
1434         * gio/Makefile.am:
1435         * gio/guniondrive.[ch]: Removed.
1436         * gio/gunionvolume.[ch]: Removed.
1437         Remove GUnionDrive/Volume
1438
1439         * gio/gunionvolumemonitor.c:
1440         Simplify union volume monitor, now we
1441         only have one native volume monitor and
1442         we use the actual volumes/drives from the
1443         child monitors instead of wrapping them
1444
1445         * gio/gnativevolumemonitor.[ch]:
1446         Base class for native volume monitors.
1447         Includes priority and get_volume_for_mountpoint
1448         
1449         * gio/gfile.[ch]:
1450         Add g_file_find_enclosing_volume
1451
1452         * gio/gfileinfo.h:
1453         Remove volume name fs attribute
1454         Add readonly fs attribute
1455         
1456         * gio/glocalfile.c:
1457         Implement readonly attribute
1458         remove volume name attribute
1459         Implement find_enclosing volume
1460         
1461         * gio/gunixmounts.c:
1462         Add a volume for "/".
1463         
1464         * gio/gunixvolume.[ch]:
1465         Set better name for /
1466         
1467         * gio/gunixvolumemonitor.[ch]:
1468         Derive from GNativeVolumeMonitor
1469         Implement get_volume_for_mountpoint
1470         
1471         * gio/gvolume.h:
1472         GVolume typedef moved to gfile.h
1473         
1474         * gio/gvolumeprivate.h:
1475         Add g_volume_get_for_mount_path
1476
1477 2007-10-31  Alexander Larsson  <alexl@redhat.com>
1478
1479         * gio/gunixmounts.[ch]:
1480         Add cache info to unix mount listers
1481         Make getmntent use threadsafe
1482         Add is_system_internal attribute for GUnixMount
1483         
1484         * gio/gunixvolume.c:
1485         (g_unix_volume_new):
1486         Use is_system_internal instead of own code
1487         
1488         * gio/glocaldirectorymonitor.c:
1489         * gio/gunixvolumemonitor.c:
1490         Update to new gunixmounts API
1491         
1492         * gio/glocalfile.c:
1493         Fix warning
1494
1495 2007-10-30  Alexander Larsson  <alexl@redhat.com>
1496
1497         * gio/gfileinfo.h:
1498         Add volume name fsinfo attribute
1499         
1500         * gio/glocalfile.c:
1501         Read volume name info
1502         
1503         * gio/gunionvolumemonitor.c:
1504         Fix infinite loops when finalizing a union volume monitor
1505
1506 2007-10-30  Alexander Larsson  <alexl@redhat.com>
1507
1508         * gio/goutputstream.[ch]:
1509         Add splice() with default implementation
1510         
1511         * gio/gsocketoutputstream.c:
1512         (g_socket_output_stream_write):
1513         Return error on cancellation correctly.
1514         
1515 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
1516
1517         * gio/glocalfile.c (g_local_file_trash):
1518         Do not leak a string.
1519
1520 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
1521
1522         * gio/gfile.c (g_file_load_contents):
1523         Unref the stream after closing it.
1524
1525 2007-10-25  Alexander Larsson  <alexl@redhat.com>
1526
1527         * gio/gioscheduler.h:
1528         Fix include
1529
1530 2007-10-25  Alexander Larsson  <alexl@redhat.com>
1531
1532         * gio/gfile.[ch]:
1533         * gio/glocalfile.c:
1534         Add g_file_has_uri_scheme and implement for local files
1535
1536 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
1537
1538         * gio/gdesktopappinfo.c: do not leak a string.
1539
1540 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
1541
1542         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1543         (g_local_directory_monitor_new):
1544         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1545         (g_local_file_monitor_new):
1546         Only look for the monitor type that should be used the first time
1547         and use g_qsort_with_data() instead of our own bubble sort
1548         implementation.
1549
1550 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
1551
1552         * gio/Makefile.am:
1553         * gio/fam/Makefile.am:
1554         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1555         * gio/fam/fam-helper.h:
1556         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1557         * gio/fam/gfamdirectorymonitor.c:
1558         * gio/fam/gfamdirectorymonitor.h:
1559         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1560         * gio/fam/gfamfilemonitor.h:
1561         * gio/glocaldirectorymonitor.c:
1562         * gio/glocaldirectorymonitor.h:
1563         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1564         * gio/glocalfilemonitor.h:
1565         * gio/inotify/Makefile.am:
1566         * gio/inotify/ginotifydirectorymonitor.c:
1567         * gio/inotify/ginotifydirectorymonitor.h:
1568         * gio/inotify/ginotifyfilemonitor.c:
1569         * gio/inotify/ginotifyfilemonitor.h:
1570         Implement the FAM and Inotify monitors as
1571         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1572         their own GIO module. GLocal(Directory|File)Monitor will use the
1573         monitor with the highest rank that is supported on that machine.
1574
1575 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
1576
1577         * gio/Makefile.am:
1578         Change GIO module dir to $(libdir)/gio/modules and change
1579         the log domain from GVFS to GIO. Also only export symbols starting
1580         with g_ in the resulting library.
1581         * gio/test-streams.c: (main):
1582         Set log handler for the GIO log domain.
1583
1584 2007-10-22  Alexander Larsson  <alexl@redhat.com>
1585
1586         * gio/gfilenamecompleter.[ch]:
1587         Add g_filename_completer_set_dirs_only
1588
1589 2007-10-22  Alexander Larsson  <alexl@redhat.com>
1590
1591         * gio/Makefile.am:
1592         * gio/gurifuncs.[ch]:
1593         Add some simple URI helpers
1594         
1595         * gio/gfilenamecompleter.[ch]:
1596         Added object for filename (parse name actually) completion
1597         
1598         * gio/glocalvfs.c:
1599         Handle ~ in parse names
1600
1601 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1602
1603         * gio/gfileinfo.h:
1604         * gio/glocalfileinfo.c:
1605         Add and implement id:value attribute
1606
1607 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1608
1609         * gio/gdrive.[ch]:
1610         * gio/guniondrive.c:
1611         * gio/gunixdrive.c:
1612         Add and implement g_drive_has_volumes
1613         
1614 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1615
1616         * gio/gfileinfo.h:
1617         * gio/glocalfileinfo.[ch]:
1618         Add unix:is_mountpoint and implement for local files
1619
1620 2007-10-16  Alexander Larsson  <alexl@redhat.com>
1621
1622         * gio/gunionvolumemonitor.c:
1623         (g_union_volume_monitor_init):
1624         Fix up the unix type getting so that it works with gcc
1625         
1626 2007-10-12  Alexander Larsson  <alexl@redhat.com>
1627
1628         * gio/gfileinfo.h:
1629         * gio/glocalfileinfo.c:
1630         Add thumbnail:failed to file info
1631
1632 2007-10-12  Richard Hult  <richard@imendio.com>
1633
1634         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1635         optimizing away the get_type call (happens with some gcc versions,
1636         like the one shipped with OS X 10.4).
1637
1638 2007-10-12  Alexander Larsson  <alexl@redhat.com>
1639
1640         * gio/glocalfileinfo.c:
1641         (_g_local_file_info_set_attribute):
1642         Fix build if not HAVE_XATTR
1643         Patch from Milosz Derezynski <internalerror@gmail.com>
1644
1645 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
1646
1647         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1648         around for review, otherwise I would have asked you before
1649         committing)
1650
1651 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1652
1653         * gio/gfileinfo.h:
1654         Add thumbnail:path attribute
1655         
1656         * gio/glocalfileinfo.c:
1657         Implement thumbnail:path for local files
1658
1659 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1660
1661         * gio/glocalfileinfo.c:
1662         (_g_local_file_info_get):
1663         Avoid duplicate icon names
1664
1665 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1666
1667         * gio/gthemedicon.[ch]:
1668         Change g_themed_icon_get_names return type to const
1669
1670 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1671
1672         * gio/glocalfileinfo.c:
1673         Don't reference freed memory
1674
1675 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1676
1677         * gio/gfileattribute.c:
1678         Handle objects
1679         
1680         * gio/glocalfileinfo.c:
1681         Return icon info
1682
1683 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1684
1685         * gio/gfileinfo.c:
1686         Check for NULL icons
1687
1688         * gio/gfileattribute.c:
1689         Don't dup when getting objects (same as for string attributes)
1690
1691         * gio/gicon.c (g_icon_equal):
1692         Safely handle NULLs in equal
1693
1694 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1695
1696         * gio/gfileinfo.h:
1697         Fix c++ compilation issues
1698         Patch from Milosz Derezynski <internalerror@gmail.com>
1699
1700 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1701
1702         * programs/gio-monitor-dir.c:
1703         Don't crash if dir monitor not supported.
1704
1705 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1706
1707         * gio/gioerror.h:
1708         Add missing G_END_DECLS
1709
1710 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
1711
1712         * gio/gfile.c: (g_file_set_display_name),
1713         (g_file_query_settable_attributes),
1714         (g_file_query_writable_namespaces):
1715         Return NULL not FALSE on errors as the return type is a pointer.
1716
1717 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
1718
1719         * gio/glocalfile.c: (g_local_file_monitor_file):
1720         Don't call monitor_file on the default interface vtable (which
1721         is NULL) but simply return NULL. The caller, GFile, will create a
1722         polling monitor if NULL is returned.
1723
1724 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1725
1726         * Makefile.am:
1727         * configure.ac:
1728         * gio-unix-2.0.pc.in:
1729         Add gio-unix-2.0.pc if OS_UNIX
1730         
1731         * gio/Makefile.am:
1732         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1733
1734 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1735
1736         * gio/gunixmounts.[ch]:
1737         Make unix mount monitoring API sane.
1738         Now its just a object with mounts_changed
1739         and mountpoints_changed signals.
1740         
1741         * gio/glocaldirectorymonitor.c:
1742         * gio/gunixvolumemonitor.c:
1743         Use new mount monitor api
1744
1745 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1746
1747         * gio/gunixmounts.[ch]:
1748         Move guess type into one call for mounts and one for mountpoints
1749         
1750         * gio/gunixdrive.c:
1751         * gio/gunixvolume.c:
1752         Update
1753
1754 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1755
1756         * gio/gunixmounts.[ch]:
1757         Remove _ prefix in preparation to make this semi-public
1758         Hide implementation of structs
1759         
1760         * gio/glocaldirectorymonitor.c:
1761         * gio/gunixdrive.c:
1762         * gio/gunixvolume.c:
1763         * gio/gunixvolumemonitor.c:
1764         Update for above API changes
1765
1766 2007-10-08  Alexander Larsson  <alexl@redhat.com>
1767
1768         * gio/gfile.c:
1769         Better polling fallback. This also handles the case where we have
1770         a monitor_file implementation, but it fails.
1771
1772 2007-10-08  Alexander Larsson  <alexl@redhat.com>
1773
1774         * gio/gfile.[ch]:
1775         * gio/glocalfile.c:
1776         * gio/gunixmounts.c:
1777         * programs/gio-monitor-dir.c:
1778         * programs/gio-monitor-file.c:
1779         Added cancellable to file monitoring calls.
1780         These are really sync calls and need this.
1781
1782 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
1783
1784         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1785         (g_local_vfs_class_init):
1786         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1787         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1788
1789 2007-10-05  Alexander Larsson  <alexl@redhat.com>
1790
1791         * gio/gdirectorymonitorprivate.h: 
1792         * gio/gfilemonitorprivate.h: 
1793         * gio/gdirectorymonitor.h:
1794         * gio/gfilemonitor.h:
1795         Remove *private.h and move to the public API, so that
1796         we can do implementations outside gio (such as in gvfs)
1797         
1798         * gio/gdirectorymonitor.c:
1799         * gio/gfilemonitor.c:
1800         * gio/glocaldirectorymonitor.c:
1801         * gio/gpollfilemonitor.c:
1802         * gio/inotify/inotify-helper.c:
1803         * gio/fam/fam-helper.c:
1804         Update to the new header names
1805
1806 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
1807
1808         * gio/gdirectorymonitor.c:
1809         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1810         GTypes as abstract.
1811
1812 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1813
1814         * gio/glocalfileinfo.c (get_access_rights):
1815         Set CAN_TRASH when we can move the file.
1816         We should really also check for a parent trash dir.
1817
1818 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1819
1820         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1821         Add can_trash access attribute
1822
1823 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1824
1825         * gio/glocalfile.c:
1826         (g_local_file_trash):
1827         Create info file first. This is per-spec and allows
1828         us to actually trash directories.
1829
1830 2007-10-02  Alexander Larsson  <alexl@redhat.com>
1831
1832         * gio/gdesktopappinfo.c:
1833         Implement the new mime support code.
1834         Always set app as handling mimetype when being set as default for it
1835
1836 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1837
1838         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1839         Fix up check for xattrs:
1840
1841 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1842
1843         * gio/gappinfo.c:
1844         (g_app_info_set_as_default_for_extension):
1845         (g_app_info_add_supports_type):
1846         (g_app_info_can_remove_supports_type):
1847         (g_app_info_remove_supports_type):
1848         Make these fail nicely if not implemented
1849
1850 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
1851
1852         * gio/glocalfileoutputstream.c:
1853         * gio/glocalfileoutputstream.h:
1854         * gio/test-gio.c:
1855         * gio/gfile.c:
1856         * gio/gfile.h:
1857         * gio/glocalfile.c:
1858         * programs/gio-save.c: 
1859         Add a GFileCreateFlags argument to operations that can create
1860         a new file.
1861
1862 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1863
1864         * gio/gappinfo.[ch]:
1865         * gio/gdesktopappinfo.c:
1866         Add more (stubbed out) mime API needed for nautilus
1867
1868 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1869
1870         * gio/gappinfo.h:
1871         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1872         Add g_app_info_set_as_default_for_extension.
1873         
1874         * gio/gdesktopappinfo.c:
1875         Dummy for g_app_info_set_as_default_for_extension
1876         Support flags in g_app_info_create_from_commandline
1877
1878         * gio/gwin32appinfo.c:
1879         * gio/test-gio.c:
1880         Update for API changes
1881         
1882         * gio/gthemedicon.c:
1883         Properly NULL-terminate list of icon names
1884
1885 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1886
1887         * gio/gloadableicon.h:
1888         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1889
1890 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1891
1892         * gio/Makefile.am:
1893         Install headers in $includedir/gio-standalone/
1894         
1895         * gio-2.0.pc.in: Added.
1896         * gio-standalone.pc.in: Removed.
1897         * configure.ac:
1898         * Makefile.am:
1899         Renamed pkg-config file to match glib (for future move)
1900         Update to the new include dir
1901         
1902         * gio/gappinfo.h:
1903         Add more TODO comments
1904
1905 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1906
1907         * gio/gdesktopappinfo.[ch]:
1908         Expose new_from_filename
1909         Add getter for is_hidden and handle it better
1910
1911 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1912
1913         * gio/gfileinfo.[ch]:
1914         Rename g_file_size_format_for_display to
1915         g_format_file_size_for_display.
1916         Now it doesn't have the g_file prefix, so we
1917         can later move it to glib.
1918
1919 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1920
1921         * gio/gappinfo.[ch]:
1922         Add g_app_info_get_id and g_app_info_get_executable.
1923         Make all getters non-reffing
1924         Make g_app_info_launch take GFile arguments.
1925         Add must_support_uris argument to g_app_info_get_default_for_type.
1926         
1927         * gio/gwin32appinfo.c:
1928         Update to GAppInfo api changes
1929         
1930         * gio/gdesktopappinfo.c:
1931         Update to GAppInfo api changes
1932         Implement supports_xdg_startup_notify
1933         
1934         * gio/gfileicon.c (g_file_icon_get_file):
1935         Make getter non-reffing.
1936         
1937         * gio/test-gio.c:
1938         Update to new API
1939
1940 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1941
1942         * gio/gfileinfo.[ch]: 
1943         Add g_file_size_format_for_display helper
1944         
1945 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1946
1947         * gio/glocalfileinfo.c:
1948         Set UNIX_GID from gid, not from uid
1949
1950 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1951
1952         * gio/gfile.[ch]:
1953         Add g_file_set_attributes_async
1954
1955 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1956
1957         * gio/glocalfile.c (g_local_file_set_display_name):
1958         Fix set_display_name to actually rename to the right place.
1959         Use lstat to look for existing files so we don't overwrite
1960         broken links.
1961
1962 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1963
1964         * gio/gfile.[ch]:
1965         Add g_file_set_display_name_async()
1966
1967 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1968
1969         * gio/gfile.[ch]:
1970         Add load_partial_contents async calls
1971         
1972         * gio/glocalfile.c:
1973         Make internal function static
1974
1975 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1976
1977         * gio/glocalfileinfo.c:
1978         Correctly detect broken symlinks
1979
1980 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1981
1982         * gio/gcancellable.c (g_cancellable_cancel):
1983         Allow cancel on NULL cancellable
1984
1985 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1986
1987         * gio/gsimpleasyncresult.c:
1988         Don't allocate g_error manually.
1989         Fixes g_slice/g_new mixup crash
1990
1991 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1992
1993         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1994         Actually set active_backend.
1995         This means the monitor will be cancelled correctly.
1996
1997 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1998
1999         * gio/gdirectorymonitor.c:
2000         Set timeout to NULL when destroying
2001
2002 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2003
2004         * gio/gioerror.h:
2005         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2006         that is a better description of the error.
2007
2008 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
2009
2010         * gio/gvfs.c: (g_vfs_get_local):
2011         Make the local vfs variable static. The same instance should
2012         always be returned.
2013
2014 2007-09-24  Alexander Larsson  <alexl@redhat.com>
2015
2016         * gio/glocalfileinfo.c:
2017         Pass in actual length read into sniffer, not the length
2018         we tried to read.
2019
2020 2007-09-21  Alexander Larsson  <alexl@redhat.com>
2021
2022         * gio/gfileenumerator.c:
2023         * gio/gfileinfo.c:
2024         * gio/gfileinfo.h:
2025         * gio/gfileinputstream.c:
2026         * gio/gfileoutputstream.c:
2027         * gio/ginputstream.c:
2028         * gio/goutputstream.c:
2029         Don't crash if async callbacks are NULL
2030
2031 2007-09-20  Alexander Larsson  <alexl@redhat.com>
2032
2033         * gio/gfile.[ch]:
2034         Add async enumerate_children method and default
2035         implementation
2036
2037 2007-09-20  Alexander Larsson  <alexl@redhat.com>
2038
2039         * gio/gfile.[ch]
2040         Add g_file_contains_file & g_file_get_relative_path, since they
2041         were needed for nautilus.
2042         Renamed g_file_resolve_relative to g_file_resolve_relative_path
2043         to make it clearer.
2044         
2045         * gio/gdummyfile.c:
2046         * gio/glocalfile.c:
2047         Implement new methods
2048
2049 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2050
2051         * gio/gfile.[ch]:
2052         * gio/gfileinputstream.[ch]:
2053         * gio/gfileoutputstream.[ch]:
2054         * gio/glocalfile.c:
2055         * gio/glocalfileenumerator.[ch]:
2056         * gio/glocalfileinfo.[ch]:
2057         * gio/glocalfileinputstream.c:
2058         * gio/glocalfileoutputstream.c:
2059         * gio/gpollfilemonitor.c:
2060         * programs/gio-copy.c:
2061         * programs/gio-info.c:
2062         * programs/gio-move.c:
2063         Rename get_file_info to query_info() to make it clearer
2064         that these are not simple getters, but do i/o.
2065
2066 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2067
2068         * gio/gdatainputstream.[ch]:
2069         * gio/test-streams.c:
2070         Use _read_XXX instead of _get_XXX for the i/o calls
2071         in GDataInputStream
2072
2073 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2074
2075         * gio/gappinfo.h:
2076         Added needed stuff to TODO comment
2077
2078 2007-09-17  Alexander Larsson  <alexl@redhat.com>
2079
2080         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2081         Don't error out removing the backup copy if it doesn't
2082         already exist.
2083
2084 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2085
2086         * programs/Makefile.am:
2087         * programs/gvfs-*.c: 
2088         * programs/gio-*.c:
2089         Renamed apps from gvfs-xxx to gio-xxx.
2090
2091 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2092
2093         * gio/gfile.c:
2094         * gio/gfileoutputstream.[ch]:
2095         * gio/glocalfileoutputstream.c:
2096         * programs/gvfs-save.c:
2097         g_file_output_stream_get_etag doesn't do i/o, so remove
2098         cancellation and error.
2099
2100 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2101
2102         * gio/gfile.[ch]:
2103         Add new_etag output to replace_contents functions
2104
2105 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2106
2107         * gio/gfileoutputstream.[ch]:
2108         Add async get_file_info and default implementation
2109
2110 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2111
2112         * gio/gfileinputstream.c:
2113         Implement fallback wrapper for async get_file_info
2114
2115 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2116
2117         * gio/gfile.[ch]:
2118         Add etag out argument to load_contents
2119         
2120         * gio/test-gio.c:
2121         Update to new API
2122
2123 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2124
2125         * gio/gcontenttype.c (looks_like_text):
2126         Whitespace like tab, cr and lf do not make the
2127         file binary.
2128
2129 2007-09-14  Alexander Larsson  <alexl@redhat.com>
2130
2131         * gio/gfileinputstream.[ch]:
2132         Add async get_file_info.
2133
2134 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2135
2136         * gio/goutputstream.c (g_output_stream_write_all):
2137         Allow NULL for bytes_written
2138
2139 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2140
2141         * gio/gmemoryinputstream.[ch]:
2142         Add accessors for data
2143
2144 2007-09-13  Alexander Larsson  <alexl@redhat.com>
2145
2146         * gio/gdatainputstream.c (g_data_input_stream_get_until):
2147         Don't crash if length is NULL
2148