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