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