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