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