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