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