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