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