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