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