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