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