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