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