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