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