Remove trailing whitespace
[platform/upstream/glib.git] / gio / ChangeLog
1 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2
3         * Makefile.am (gioinclude_HEADERS):
4         Remove trailing whitespace
5         
6 2007-11-26  Alexander Larsson  <alexl@redhat.com>
7
8         Merge gio-standalone into glib
9
10 2007-11-25  Christian Kellner  <gicmo@gnome.org>
11
12         * gio/goutputstream.c:
13         Fix small mistake in the docs.
14
15 2007-11-21  Christian Persch  <chpe@gnome.org>
16
17         * gio/glocalfile.c: (g_local_file_trash):
18         Convert filenames to UTF-8 for GError.
19         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
20         as per xdg base dir spec.
21
22 2007-11-21  Christian Persch  <chpe@gnome.org>
23
24         * gio/gdesktopappinfo.c:
25         Use that g_key_file_to_data cannot fail.
26         Some misc cleanups.
27         Use stock defines for the key file group and key names.
28         Use bitfields.
29
30 2007-11-21  Alexander Larsson  <alexl@redhat.com>
31
32         * gio/gfile.c:
33         (copy_stream_with_progress):
34         Make sure we do a final progress callback with
35         the full total size.
36
37 2007-11-21  Alexander Larsson  <alexl@redhat.com>
38
39         * gio/gfile.[ch]:
40         Export g_file_copy_attributes
41         Remove padding as its not needed for interfaces
42
43 2007-11-20  Alexander Larsson  <alexl@redhat.com>
44
45         * gio/gfile.c:
46         * gio/gioerror.h:
47         * gio/glocalfile.c:
48         Add G_IO_ERROR_WOULD_MERGE for
49         copy/move dir on dir with overwrite.
50
51 2007-11-20  Alexander Larsson  <alexl@redhat.com>
52
53         * gio/gfileinfo.h:
54         * gio/glocalfileinfo.c:
55         Add COPY_NAME (this is an optional
56         non-modified utf8 version of the name) that
57         can roundtrip.
58
59 2007-11-20  Alexander Larsson  <alexl@redhat.com>
60
61         * gio/glocalfileenumerator.c:
62         Report errors as GIOError, not GFileError
63
64 2007-11-16  Alexander Larsson  <alexl@redhat.com>
65
66         * gio/glocalfileoutputstream.c:
67         * gio/gwin32appinfo.c:
68         Fix typos in strings.
69         Patch from Luca Ferretti <elle.uca@libero.it>
70
71 2007-11-15  Alexander Larsson  <alexl@redhat.com>
72
73         * configure.ac:
74         Post release version bump
75
76 === gio-standalone 0.1.2 ===
77
78 2007-11-15  Alexander Larsson  <alexl@redhat.com>
79
80         * docs/reference/gio/Makefile.am:
81         Fix up distcheck by removing weird
82         non-needed stuff
83
84         * NEWS:
85         Update for release
86
87 2007-11-14  Alexander Larsson  <alexl@redhat.com>
88
89         * gio/gdesktopappinfo.c:
90         * gio/glocaldirectorymonitor.c:
91         * gio/glocalfile.c:
92         * gio/glocalfileinfo.c:
93         * gio/inotify/inotify-sub.c:
94         * programs/gio-cat.c:
95         * programs/gio-copy.c:
96         * programs/gio-info.c:
97         * programs/gio-ls.c:
98         * programs/gio-monitor-dir.c:
99         * programs/gio-monitor-file.c:
100         * programs/gio-mount.c:
101         * programs/gio-move.c:
102         * programs/gio-rm.c:
103         * programs/gio-save.c:
104         * programs/gio-trash.c:
105         Leak fixes from Kjartan Maraas
106
107 2007-11-14  Alexander Larsson  <alexl@redhat.com>
108
109         * gio/fam/fam-helper.c:
110         * gio/gdrive.[ch]:
111         * gio/glocalfileinfo.c:
112         * gio/gunixdrive.c:
113         * gio/gvfs.c:
114         * gio/gvolume.[ch]:
115         * gio/inotify/inotify-diag.c:
116         * gio/inotify/inotify-kernel.c:
117         Various code cleanups from Kjartan Maraas
118
119 2007-11-14  Alexander Larsson  <alexl@redhat.com>
120
121         * gio/gioscheduler.c:
122         (init_scheduler):
123         Set up threadpool so that we cache 2 unused
124         idle threads for at 15 secs. This means we
125         will reuse thread-local data (like dbus connections)
126         for them.
127
128 2007-11-14  Alexander Larsson  <alexl@redhat.com>
129
130         * gio/fam/fam-helper.c:
131         * gio/fam/gfamdirectorymonitor.c:
132         * gio/fam/gfamfilemonitor.c:
133         * gio/gappinfo.c:
134         * gio/gcontenttype.c:
135         * gio/gdatainputstream.c:
136         * gio/gdataoutputstream.c:
137         * gio/gdummyfile.c:
138         * gio/gfile.c:
139         * gio/gfile.h:
140         * gio/gfileattribute.h:
141         * gio/gfileenumerator.c:
142         * gio/gfileinfo.c:
143         * gio/ginputstream.c:
144         * gio/gioerror.h:
145         * gio/glocalfile.c:
146         * gio/glocalfileinfo.c:
147         * gio/goutputstream.c:
148         * gio/gpollfilemonitor.c:
149         * gio/gsimpleasyncresult.c:
150         * gio/gunixmounts.c:
151         * gio/gunixmounts.h:
152         * gio/inotify/ginotifydirectorymonitor.c:
153         * gio/inotify/ginotifyfilemonitor.c:
154         * gio/inotify/inotify-diag.c:
155         * gio/inotify/inotify-kernel.c:
156         * gio/inotify/inotify-path.c:
157         * gio/test-gio.c:
158         * gio/test-streams.c:
159         * programs/gio-info.c:
160         * programs/gio-monitor-dir.c:
161         * programs/gio-monitor-file.c:
162         Various code cleanups from Kjartan Maraas
163
164 2007-11-13  Alexander Larsson  <alexl@redhat.com>
165
166         * gio/gdummyfile.c:
167         Handle the uri-scheme calls for dummy files
168
169 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
170
171         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
172         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
173         to avoid clash with the C++ keyword.
174
175 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
176
177         * gio/glocalfileinfo.c: Build fix, added missing semicolon
178         to an ifdef'ed call to getpwuid() in lookup_uid_data().
179
180 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
181
182         * gio/glocaldirectorymonitor.c:
183         * gio/glocalfilemonitor.c:
184         * gio/gunionvolumemonitor.c:
185         Don't use g_once_init_*() for initializations that could fail and
186         could leave the initialization variable set to 0 but use GOnce.
187         This prevents a deadlock on the second call when trying to create
188         a monitor and no monitor type is available. Thanks to Sven Herzberg
189         for reporting.
190
191 2007-11-11  Sven Herzberg  <sven@imendio.com>
192
193         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
194         #ifdef (make it work on MacOS X again)
195
196 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
197         * Changelog:
198         Fixes Changelog for last two commits (sorry guys).
199
200 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
201         * gio/gappinfo.c:
202         * gio/gbufferedinputstream.c:
203         * gio/gdatainputstream.c:
204         * gio/gfile.c:
205         * gio/gfileoutputstream.c:
206         * gio/gfilterinputstream.c:
207         * gio/glocalfileinputstream.c:
208         * gio/gurifuncs.c:
209         * gio/gvfs.c:
210         More consistency fixes in g*stream.c files. 
211         Significant clean of gfile's documentation, filling in of 
212         asynchronous operations documentation.
213
214 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
215         * gio/gappinfo.c:
216         * gio/gasyncresult.c:
217         * gio/gbufferedinputstream.c:
218         * gio/gbufferedoutputstream.c:
219         * gio/gcancellable.c:
220         * gio/gcontenttype.c:
221         * gio/gdatainputstream.c:
222         * gio/gdataoutputstream.c:
223         * gio/gdesktopappinfo.c:
224         * gio/gdrive.c:
225         * gio/gfile.c:
226         * gio/gfileattribute.c:
227         * gio/gio/gfileenumerator.c:
228         * gio/gfileinfo.c:
229         * gio/gfileinputstream.c:
230         * gio/gfilemonitor.c:
231         * gio/gfileoutputstream.c:
232         * gio/ginputstream.c:
233         * gio/giomodule.c:
234         * gio/gioscheduler.c:
235         * gio/gloadableicon.c:
236         * gio/glocalfileoutputstream.c:
237         * gio/gmemoryoutputstream.c:
238         * gio/gmountoperation.c:
239         * gio/goutputstream.c:
240         * gio/gseekable.c:
241         * gio/gsimpleasyncresult.c:
242         * gio/gunionvolumemonitor.c:
243         * gio/gunixmounts.c:
244         * gio/gunixvolume.c:
245         * gio/gurifuncs.c:
246         * gio/gvfs.c:
247         * gio/gvolume.c:
248         * gio/gvolumemonitor.c:
249         Updated documentation stubs, working towards consistency and 
250         completeness.
251
252 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
253
254         * gio/gmemoryoutputstream.c:
255         * gio/gmemoryoutputstream.h:
256         Change g_memory_output_stream_set_free_on_close() to
257         g_memory_output_stream_set_free_data() as this makes more sense and
258         is more consistent with GMemoryInputStream.
259
260 2007-11-07  Alexander Larsson  <alexl@redhat.com>
261
262         * gio/gfile.c:
263         Fix some docs
264         
265         * gio/glocalvfs.c:
266         * gio/gvfs.[ch]:
267         Change how we find the default vfs so that
268         we can handle a gvfs failing to init
269
270 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
271
272         * gio/gbufferedoutputstream.c:
273         * gio/gdatainputstream.c:
274         * gio/gdataoutputstream.c:
275         * gio/gfileinputstream.c:
276         * gio/gfileoutputstream.c:
277         * gio/gfilterinputstream.c:
278         * gio/gfilteroutputstream.c:
279         * gio/ginputstream.c:
280         * gio/gmemoryinputstream.c:
281         * gio/gmemoryoutputstream.c:
282         * gio/goutputstream.c:
283         * gio/gsimpleasyncresult.c:
284         * gio/gsocketinputstream.c:
285         * gio/gsocketoutputstream.c:
286         Add guards to the remaining public functions, add a TODO for
287         an unimplemented function and remove some useless guards.
288
289 2007-11-07  Alexander Larsson  <alexl@redhat.com>
290
291         * configure.ac:
292         Autoconf checks for the various types of
293         getpwuid_r and getgrgid_r
294         
295         * gio/glocalfileinfo.c:
296         Use the autoconf checks from above
297
298 2007-11-07  Alexander Larsson  <alexl@redhat.com>
299
300         * gio/glocalfile.c:
301         (g_local_file_query_filesystem_info):
302         Some fixes for the statvfs case
303         
304 2007-11-07  Alexander Larsson  <alexl@redhat.com>
305
306         * gio/glocalfile.c:
307         (g_local_file_query_filesystem_info):
308         Pick the "best" of statfs / statvfs for the system
309         if both are availible.
310
311 2007-11-07  Alexander Larsson  <alexl@redhat.com>
312
313         Solaris fixes from Halton.Huo@Sun.COM:
314         
315         * gio/gdrive.c:
316         * gio/gfile.c:
317         * gio/gvolume.c:
318         Don't return void
319         
320         * gio/glocalfileinfo.c:
321         Fix for solaris definition of getpwuid_r
322         
323         * gio/test-streams.c:
324         Use G_GNUC_PRETTY_FUNCTION
325
326 2007-11-07  Alexander Larsson  <alexl@redhat.com>
327
328         * gio/gdesktopappinfo.c:
329         (update_default_list):
330         Remove double semicolon.
331         Patch from Jens Granseuer
332
333 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
334
335         * docs/reference/gio/gio-sections.txt:
336         * gio/gbufferedinputstream.c:
337         * gio/gbufferedinputstream.h:
338         * gio/gdatainputstream.c:
339         * gio/gfileenumerator.c:
340         * gio/gioscheduler.c:
341         * gio/gunionvolumemonitor.c:
342         * gio/gvfs.c:
343         * programs/gio-save.c:
344         Fix typo: availible -> available. Unfortuntely this breaks API
345         and ABI as g_buffered_input_stream_get_available() was renamed.
346         
347         * gio/gunixmounts.c:
348         * gio/gbufferedinputstream.c:
349         Add guards for public functions.
350
351 2007-11-06  Ross Burton  <ross@openedhand.com>
352
353         * docs/reference/gio/Makefile.am:
354         Fix invalid += usage which automake 1.10 doesn't like.
355
356 2007-11-06  Alexander Larsson  <alexl@redhat.com>
357
358         * gio/gappinfo.c:
359         (g_app_launch_context_class_init):
360         Fix warning
361
362         Patch from Ross Burton 
363         
364 2007-11-06  Alexander Larsson  <alexl@redhat.com>
365
366         * configure.ac:
367         Post release version bump
368
369 === gio-standalone 0.1.1 ===
370
371 2007-11-06  Alexander Larsson  <alexl@redhat.com>
372
373         * configure.ac:
374         Bump version to 0.1.1
375         
376         * gio/gsimpleasyncresult.c:
377         (g_simple_async_result_set_from_error):
378         Remove bogus g_return_if_fail
379
380 2007-11-06  Alexander Larsson  <alexl@redhat.com>
381
382         * configure.ac:
383         The name is gio-standalone
384         
385         * gio/Makefile.am:
386         Add top src/builddir to includedir
387
388 2007-11-06  Alexander Larsson  <alexl@redhat.com>
389
390         * docs/reference/gio/gio-sections.txt:
391         * gio/gappinfo.c:
392         * gio/gbufferedinputstream.c:
393         * gio/gbufferedoutputstream.c:
394         * gio/gcancellable.c:
395         * gio/gdatainputstream.h:
396         * gio/gdataoutputstream.c:
397         * gio/gdataoutputstream.h:
398         * gio/gdirectorymonitor.c:
399         * gio/gfile.c:
400         * gio/gfileattribute.c:
401         * gio/gfileattribute.h:
402         * gio/gfileenumerator.c:
403         * gio/gfileenumerator.h:
404         * gio/gfileinfo.c:
405         * gio/gfileinfo.h:
406         * gio/gfileinputstream.h:
407         * gio/gfilemonitor.c:
408         * gio/gfileoutputstream.h:
409         * gio/glocalfilemonitor.h:
410         * gio/glocalfileoutputstream.h:
411         * gio/gmemoryinputstream.c:
412         * gio/gmemoryoutputstream.c:
413         * gio/gmountoperation.c:
414         * gio/goutputstream.c:
415         * gio/goutputstream.h:
416         * gio/gseekable.h:
417         * gio/gsimpleasyncresult.c:
418         * gio/gunixmounts.c:
419         * gio/gunixmounts.h:
420         * gio/gurifuncs.h:
421         * gio/inotify/inotify-helper.c:
422         Fix gtk-doc warnings
423
424         Patch from Ross Burton 
425         
426 2007-11-06  Alexander Larsson  <alexl@redhat.com>
427
428         * gio/gfilenamecompleter.c:
429         (g_filename_completer_get_completions):
430         fix warning
431         
432         * gio/gunixvolume.c:
433         Remove unused function
434
435         Patches from Ross Burton 
436
437 2007-11-06  Alexander Larsson  <alexl@redhat.com>
438
439         * gio/gdrive.h:
440         * gio/gseekable.h:
441         * gio/gvolume.h:
442         Padding not needed for interfaces
443
444 2007-11-06  Alexander Larsson  <alexl@redhat.com>
445
446         * gio/gfilemonitor.c:
447         Remove debug spew
448
449         * gio/Makefile.am:
450         Make giotypes.h an internal file
451         
452         * gio/gappinfo.h:
453         * gio/gbufferedinputstream.h:
454         * gio/gbufferedoutputstream.h:
455         * gio/gcancellable.h:
456         * gio/gdatainputstream.h:
457         * gio/gdataoutputstream.h:
458         * gio/gdirectorymonitor.c:
459         * gio/gdirectorymonitor.h:
460         * gio/gdrive.c:
461         * gio/gdrive.h:
462         * gio/gfile.c:
463         * gio/gfile.h:
464         * gio/gfileattribute.h:
465         * gio/gfileenumerator.h:
466         * gio/gfileicon.c:
467         * gio/gfileicon.h:
468         * gio/gfileinfo.c:
469         * gio/gfileinfo.h:
470         * gio/gfilemonitor.c:
471         * gio/gfilemonitor.h:
472         * gio/gfilenamecompleter.c:
473         * gio/gfilenamecompleter.h:
474         * gio/gfilterinputstream.h:
475         * gio/gfilteroutputstream.h:
476         * gio/ginputstream.h:
477         * gio/gmemoryinputstream.h:
478         * gio/gmemoryoutputstream.h:
479         * gio/gmountoperation.c:
480         * gio/gmountoperation.h:
481         * gio/gnativevolumemonitor.c:
482         * gio/goutputstream.h:
483         * gio/gseekable.c:
484         * gio/gseekable.h:
485         * gio/gsimpleasyncresult.c:
486         * gio/gsimpleasyncresult.h:
487         * gio/gsocketinputstream.h:
488         * gio/gsocketoutputstream.h:
489         * gio/gthemedicon.c:
490         * gio/gthemedicon.h:
491         * gio/gvfs.h:
492         * gio/gvolume.c:
493         * gio/gvolume.h:
494         * gio/gvolumemonitor.c:
495         * gio/gvolumemonitor.h:
496         Add padding in classes where it seems useful
497         Don't include giotypes.h from public headers
498         Move in Class definitions into c file where possible
499         
500         * gio/glocalfile.c:
501         Fix warnings
502
503 2007-11-06  Alexander Larsson  <alexl@redhat.com>
504
505         * docs/reference/gio/gio-docs.xml:
506         Better structure for API docs
507
508 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
509
510         * gio/gfileicon.c:
511         * gio/gloadableicon.c:
512         * gio/gsimpleasyncresult.c:
513         * gio/gthemedicon.c:
514         Add some more guards to public functions. Only files missing are now
515         g*stream*.c.
516
517 2007-11-06  Alexander Larsson  <alexl@redhat.com>
518
519         * docs/reference/gio/gio-docs.xml:
520         Remove old files, add missing ones
521
522 2007-11-06  Alexander Larsson  <alexl@redhat.com>
523
524         * docs/reference/gio/gio-sections.txt:
525         Restructure
526         Add missing stuff
527         Hide implementation classes
528         
529         * gio/gdriveprivate.h:
530         * gio/gvolumeprivate.h:
531         Remove non-existing function declarations
532
533 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
534
535         * gio/gappinfo.c:
536         Fix compilation warnings and add guards to the new functions.
537         
538         * gio/gasyncresult.c:
539         * gio/gdummyfile.c:
540         Add guards to the public functions.
541         
542         * gio/gdummyfile.c:
543         Implement get_path().
544
545 2007-11-06  Alexander Larsson  <alexl@redhat.com>
546
547         * gio/gfilenamecompleter.c:
548         Make g_filename_completer_get_completions
549         return char ** instead of GList for
550         typesafety.
551         
552         * docs/reference/gio/gio-docs.xml:
553         * docs/reference/gio/gio-sections.txt:
554         * gio/gappinfo.c:
555         * gio/gasyncresult.c:
556         * gio/gbufferedinputstream.c:
557         * gio/gbufferedoutputstream.c:
558         * gio/gcancellable.c:
559         * gio/gcontenttype.c:
560         * gio/gdatainputstream.c:
561         * gio/gdataoutputstream.c:
562         * gio/gdesktopappinfo.c:
563         * gio/gdirectorymonitor.c:
564         * gio/gdrive.c:
565         * gio/gdummyfile.c:
566         * gio/gfile.c:
567         * gio/gfileattribute.c:
568         * gio/gfileenumerator.c:
569         * gio/gfileicon.c:
570         * gio/gfileinfo.c:
571         * gio/gfileinputstream.c:
572         * gio/gfilemonitor.c:
573         * gio/gfilenamecompleter.c:
574         * gio/gfilenamecompleter.h:
575         * gio/gfileoutputstream.c:
576         * gio/gfilterinputstream.c:
577         * gio/gicon.c:
578         * gio/ginputstream.c:
579         * gio/giomodule.c:
580         * gio/gioscheduler.c:
581         * gio/gloadableicon.c:
582         * gio/glocaldirectorymonitor.c:
583         * gio/glocalfile.c:
584         * gio/glocalfileinputstream.c:
585         * gio/glocalfilemonitor.c:
586         * gio/glocalfileoutputstream.c:
587         * gio/glocalvfs.c:
588         * gio/gmemoryinputstream.c:
589         * gio/gmemoryoutputstream.c:
590         * gio/gmountoperation.c:
591         * gio/goutputstream.c:
592         * gio/gpollfilemonitor.c:
593         * gio/gseekable.c:
594         * gio/gsimpleasyncresult.c:
595         * gio/gsocketinputstream.c:
596         * gio/gsocketoutputstream.c:
597         * gio/gthemedicon.c:
598         * gio/gunionvolumemonitor.c:
599         * gio/gunixdrive.c:
600         * gio/gunixmounts.c:
601         * gio/gunixvolume.c:
602         * gio/gunixvolumemonitor.c:
603         * gio/gurifuncs.c:
604         * gio/gvfs.c:
605         * gio/gvolume.c:
606         * gio/gvolumemonitor.c:
607         * gio/gwin32appinfo.c:
608         Add (mostly stub) doc strings to public functions.
609         Patch from Andrew Walton (awalton@gmail.com)
610
611 2007-11-06  Alexander Larsson  <alexl@redhat.com>
612
613         * gio/gappinfo.[ch]:
614         Added GAppLaunchContext object and pass that to launch.
615         This allows simple implementation of both
616         launch-on-screen and startup notification via a gtk+
617         subclass of GAppLaunchContext
618         
619         * gio/gdesktopappinfo.c:
620         Implement GAppLaunchContext API
621         
622         * gio/gwin32appinfo.c:
623         Update to new APIs
624
625 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
626
627         * gio/gmountoperation.c:
628         Add some guards to GMountOperation's public functions.
629
630 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
631
632
633         * gio/gappinfo.c:
634         * gio/gcancellable.c:
635         * gio/gdirectorymonitor.c:
636         * gio/gdrive.c:
637         * gio/gfileenumerator.c:
638         * gio/gfilemonitor.c:,
639         * gio/gfilenamecompleter.c:
640         * gio/gicon.c:
641         * gio/giomodule.c:
642         * gio/gioscheduler.c:
643         * gio/gseekable.c:
644         * gio/gurifuncs.c:
645         * gio/gvolume.c:
646         * gio/gvolumemonitor.c:
647         Add even more guards to various public functions.
648
649 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
650
651         * gio/gappinfo.c:
652         Add guards to the public functions of GAppInfo.
653
654 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
655
656         * gio/gcontenttype.c:
657         Add some more guards for public functions.
658
659 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
660
661         * gio/fam/fam-module.c:
662         * gio/fam/gfamdirectorymonitor.c:
663         * gio/fam/gfamdirectorymonitor.h:
664         * gio/fam/gfamfilemonitor.c:
665         * gio/fam/gfamfilemonitor.h:
666         * gio/inotify/ginotifydirectorymonitor.c:
667         * gio/inotify/ginotifydirectorymonitor.h:
668         * gio/inotify/ginotifyfilemonitor.c:
669         * gio/inotify/ginotifyfilemonitor.h:
670         Add proper copyright information and remove an unused variable
671         in the GInotifyFileMonitor constructor.
672
673         * gio/gcancellable.c:
674         Add a guard for a public function and an assertion to prevent
675         an undefined program state.
676
677 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
678
679         * gio/gfileattribute.c:
680         Don't run into an assertion if the given attribute value is NULL
681         in g_file_attribute_value_get_*() but instead return a fallback
682         value that makes sense in most situations. Passing them a attribute
683         value with the wrong type will still run into an assertion.
684
685 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
686
687         * gio/gfileattribute.c:
688         * gio/gfileinfo.c:
689         Add even more guards to the public functions. Also fix the refcounting
690         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
691         let g_file_info_list_attributes() filter the attributes by namespace
692         instead of simply ignoring the namespace parameter.
693
694 2007-11-03  Sven Herzberg  <sven@imendio.com>
695
696         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
697         (This makes gio work on MacOS X again)
698
699 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
700
701         * Makefile.am:
702         Build the gio subdirectory before the docs. Otherwise the build will
703         fail.
704
705         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
706         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
707         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
708         Add guards to the public functions.
709
710 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
711
712         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
713         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
714         to prevent a compiler warning.
715
716         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
717         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
718         return something in the non-void function find_topdir_for().
719
720 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
721
722         * configure.ac:
723         * Makefile.am:
724         * docs/:
725         Gtkdocify!
726
727 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
728
729         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
730         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
731         * gwin32appinfo.c (g_win32_app_info_launch):
732         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
733         envp_for_startup_id, g_desktop_app_info_launch,
734         g_desktop_app_info_launch_uris):
735
736         Give an opaque 'startup_id' string instead of 'envp'.
737         Support empty file lists for launching new windows.
738         Fix infinite recursion bug when launching URIs.
739
740 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
741
742         * gio/gfile.c:
743         Add guard to the new g_file_get_uri_scheme() function.
744
745 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
746
747         * gio/gfile.c:
748         Convert a g_return_val_if_fail() to setting the GError instead as
749         otherwise applications have to verify the parameter before otherwise
750         and the parameter might come directly from the user.
751
752 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
753
754         * gio/inotify/ginotify*.[ch]:
755         Add missing copyright information.
756
757 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
758
759         * gio/gfile.c:
760         Add guards in the beginning of public functions to check for valid
761         parameters and fix a bug in copy_stream_with_progress() that could've
762         caused writing less bytes than reading.
763         * gio/glocalfileinfo.c:
764         Check for a NULL parameter and set the GError accordingly then.
765         * gio/goutputstream.c:
766         Fix the same bug as in gfile.c that could've caused writing less bytes
767         than reading in g_output_stream_real_splice().
768
769 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
770
771         * gio/Makefile.am:
772         Use the correct gvolumeprivate.h naming
773
774 2007-11-01  Christian Kellner  <gicmo@gnome.org>
775
776         * gio/Makefile.am:
777         Remove leftover "$(daemon_sources)" entry.
778
779 2007-11-01  Christian Kellner  <gicmo@gnome.org>
780
781         * gio/fam/*.[ch]:
782         * gio/*.[ch]:
783         * programs/*.[ch]:
784         Add copyright information to source files.
785
786 2007-11-01  Alexander Larsson  <alexl@redhat.com>
787
788         * gio/gfile.[ch]:
789         * gio/glocalfile.c:
790         Add g_file_get_uri_scheme
791
792 2007-11-01  Alexander Larsson  <alexl@redhat.com>
793
794         * gio/gappinfo.h:
795         * gio/gdesktopappinfo.c:
796         * gio/gwin32appinfo.c:
797         Add g_app_info_get_default_for_uri_scheme.
798
799 2007-11-01  Alexander Larsson  <alexl@redhat.com>
800
801         * gio/Makefile.am:
802         Correct filename for gdriveprivate.h
803
804 2007-10-31  Alexander Larsson  <alexl@redhat.com>
805
806         * gio/gfileinfo.h:
807         Rename id:value to id:file
808         Add id:fs
809         
810         * gio/glocalfileinfo.c:
811         Implement id:fs
812
813 2007-10-31  Alexander Larsson  <alexl@redhat.com>
814
815         * gio/gunixvolume.c:
816         * gio/gvolume.[ch]:
817         Remove g_volume_get_platform_id, as thats not
818         needed with the simpler union volume monitor
819
820 2007-10-31  Alexander Larsson  <alexl@redhat.com>
821
822         * gio/Makefile.am:
823         * gio/guniondrive.[ch]: Removed.
824         * gio/gunionvolume.[ch]: Removed.
825         Remove GUnionDrive/Volume
826
827         * gio/gunionvolumemonitor.c:
828         Simplify union volume monitor, now we
829         only have one native volume monitor and
830         we use the actual volumes/drives from the
831         child monitors instead of wrapping them
832
833         * gio/gnativevolumemonitor.[ch]:
834         Base class for native volume monitors.
835         Includes priority and get_volume_for_mountpoint
836         
837         * gio/gfile.[ch]:
838         Add g_file_find_enclosing_volume
839
840         * gio/gfileinfo.h:
841         Remove volume name fs attribute
842         Add readonly fs attribute
843         
844         * gio/glocalfile.c:
845         Implement readonly attribute
846         remove volume name attribute
847         Implement find_enclosing volume
848         
849         * gio/gunixmounts.c:
850         Add a volume for "/".
851         
852         * gio/gunixvolume.[ch]:
853         Set better name for /
854         
855         * gio/gunixvolumemonitor.[ch]:
856         Derive from GNativeVolumeMonitor
857         Implement get_volume_for_mountpoint
858         
859         * gio/gvolume.h:
860         GVolume typedef moved to gfile.h
861         
862         * gio/gvolumeprivate.h:
863         Add g_volume_get_for_mount_path
864
865 2007-10-31  Alexander Larsson  <alexl@redhat.com>
866
867         * gio/gunixmounts.[ch]:
868         Add cache info to unix mount listers
869         Make getmntent use threadsafe
870         Add is_system_internal attribute for GUnixMount
871         
872         * gio/gunixvolume.c:
873         (g_unix_volume_new):
874         Use is_system_internal instead of own code
875         
876         * gio/glocaldirectorymonitor.c:
877         * gio/gunixvolumemonitor.c:
878         Update to new gunixmounts API
879         
880         * gio/glocalfile.c:
881         Fix warning
882
883 2007-10-30  Alexander Larsson  <alexl@redhat.com>
884
885         * gio/gfileinfo.h:
886         Add volume name fsinfo attribute
887         
888         * gio/glocalfile.c:
889         Read volume name info
890         
891         * gio/gunionvolumemonitor.c:
892         Fix infinite loops when finalizing a union volume monitor
893
894 2007-10-30  Alexander Larsson  <alexl@redhat.com>
895
896         * gio/goutputstream.[ch]:
897         Add splice() with default implementation
898         
899         * gio/gsocketoutputstream.c:
900         (g_socket_output_stream_write):
901         Return error on cancellation correctly.
902         
903 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
904
905         * gio/glocalfile.c (g_local_file_trash):
906         Do not leak a string.
907
908 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
909
910         * gio/gfile.c (g_file_load_contents):
911         Unref the stream after closing it.
912
913 2007-10-25  Alexander Larsson  <alexl@redhat.com>
914
915         * gio/gioscheduler.h:
916         Fix include
917
918 2007-10-25  Alexander Larsson  <alexl@redhat.com>
919
920         * gio/gfile.[ch]:
921         * gio/glocalfile.c:
922         Add g_file_has_uri_scheme and implement for local files
923
924 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
925
926         * gio/gdesktopappinfo.c: do not leak a string.
927
928 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
929
930         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
931         (g_local_directory_monitor_new):
932         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
933         (g_local_file_monitor_new):
934         Only look for the monitor type that should be used the first time
935         and use g_qsort_with_data() instead of our own bubble sort
936         implementation.
937
938 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
939
940         * gio/Makefile.am:
941         * gio/fam/Makefile.am:
942         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
943         * gio/fam/fam-helper.h:
944         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
945         * gio/fam/gfamdirectorymonitor.c:
946         * gio/fam/gfamdirectorymonitor.h:
947         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
948         * gio/fam/gfamfilemonitor.h:
949         * gio/glocaldirectorymonitor.c:
950         * gio/glocaldirectorymonitor.h:
951         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
952         * gio/glocalfilemonitor.h:
953         * gio/inotify/Makefile.am:
954         * gio/inotify/ginotifydirectorymonitor.c:
955         * gio/inotify/ginotifydirectorymonitor.h:
956         * gio/inotify/ginotifyfilemonitor.c:
957         * gio/inotify/ginotifyfilemonitor.h:
958         Implement the FAM and Inotify monitors as
959         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
960         their own GIO module. GLocal(Directory|File)Monitor will use the
961         monitor with the highest rank that is supported on that machine.
962
963 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
964
965         * gio/Makefile.am:
966         Change GIO module dir to $(libdir)/gio/modules and change
967         the log domain from GVFS to GIO. Also only export symbols starting
968         with g_ in the resulting library.
969         * gio/test-streams.c: (main):
970         Set log handler for the GIO log domain.
971
972 2007-10-22  Alexander Larsson  <alexl@redhat.com>
973
974         * gio/gfilenamecompleter.[ch]:
975         Add g_filename_completer_set_dirs_only
976
977 2007-10-22  Alexander Larsson  <alexl@redhat.com>
978
979         * gio/Makefile.am:
980         * gio/gurifuncs.[ch]:
981         Add some simple URI helpers
982         
983         * gio/gfilenamecompleter.[ch]:
984         Added object for filename (parse name actually) completion
985         
986         * gio/glocalvfs.c:
987         Handle ~ in parse names
988
989 2007-10-17  Alexander Larsson  <alexl@redhat.com>
990
991         * gio/gfileinfo.h:
992         * gio/glocalfileinfo.c:
993         Add and implement id:value attribute
994
995 2007-10-17  Alexander Larsson  <alexl@redhat.com>
996
997         * gio/gdrive.[ch]:
998         * gio/guniondrive.c:
999         * gio/gunixdrive.c:
1000         Add and implement g_drive_has_volumes
1001         
1002 2007-10-17  Alexander Larsson  <alexl@redhat.com>
1003
1004         * gio/gfileinfo.h:
1005         * gio/glocalfileinfo.[ch]:
1006         Add unix:is_mountpoint and implement for local files
1007
1008 2007-10-16  Alexander Larsson  <alexl@redhat.com>
1009
1010         * gio/gunionvolumemonitor.c:
1011         (g_union_volume_monitor_init):
1012         Fix up the unix type getting so that it works with gcc
1013         
1014 2007-10-12  Alexander Larsson  <alexl@redhat.com>
1015
1016         * gio/gfileinfo.h:
1017         * gio/glocalfileinfo.c:
1018         Add thumbnail:failed to file info
1019
1020 2007-10-12  Richard Hult  <richard@imendio.com>
1021
1022         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1023         optimizing away the get_type call (happens with some gcc versions,
1024         like the one shipped with OS X 10.4).
1025
1026 2007-10-12  Alexander Larsson  <alexl@redhat.com>
1027
1028         * gio/glocalfileinfo.c:
1029         (_g_local_file_info_set_attribute):
1030         Fix build if not HAVE_XATTR
1031         Patch from Milosz Derezynski <internalerror@gmail.com>
1032
1033 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
1034
1035         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1036         around for review, otherwise I would have asked you before
1037         committing)
1038
1039 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1040
1041         * gio/gfileinfo.h:
1042         Add thumbnail:path attribute
1043         
1044         * gio/glocalfileinfo.c:
1045         Implement thumbnail:path for local files
1046
1047 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1048
1049         * gio/glocalfileinfo.c:
1050         (_g_local_file_info_get):
1051         Avoid duplicate icon names
1052
1053 2007-10-11  Alexander Larsson  <alexl@redhat.com>
1054
1055         * gio/gthemedicon.[ch]:
1056         Change g_themed_icon_get_names return type to const
1057
1058 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1059
1060         * gio/glocalfileinfo.c:
1061         Don't reference freed memory
1062
1063 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1064
1065         * gio/gfileattribute.c:
1066         Handle objects
1067         
1068         * gio/glocalfileinfo.c:
1069         Return icon info
1070
1071 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1072
1073         * gio/gfileinfo.c:
1074         Check for NULL icons
1075
1076         * gio/gfileattribute.c:
1077         Don't dup when getting objects (same as for string attributes)
1078
1079         * gio/gicon.c (g_icon_equal):
1080         Safely handle NULLs in equal
1081
1082 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1083
1084         * gio/gfileinfo.h:
1085         Fix c++ compilation issues
1086         Patch from Milosz Derezynski <internalerror@gmail.com>
1087
1088 2007-10-10  Alexander Larsson  <alexl@redhat.com>
1089
1090         * programs/gio-monitor-dir.c:
1091         Don't crash if dir monitor not supported.
1092
1093 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1094
1095         * gio/gioerror.h:
1096         Add missing G_END_DECLS
1097
1098 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
1099
1100         * gio/gfile.c: (g_file_set_display_name),
1101         (g_file_query_settable_attributes),
1102         (g_file_query_writable_namespaces):
1103         Return NULL not FALSE on errors as the return type is a pointer.
1104
1105 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
1106
1107         * gio/glocalfile.c: (g_local_file_monitor_file):
1108         Don't call monitor_file on the default interface vtable (which
1109         is NULL) but simply return NULL. The caller, GFile, will create a
1110         polling monitor if NULL is returned.
1111
1112 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1113
1114         * Makefile.am:
1115         * configure.ac:
1116         * gio-unix-2.0.pc.in:
1117         Add gio-unix-2.0.pc if OS_UNIX
1118         
1119         * gio/Makefile.am:
1120         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1121
1122 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1123
1124         * gio/gunixmounts.[ch]:
1125         Make unix mount monitoring API sane.
1126         Now its just a object with mounts_changed
1127         and mountpoints_changed signals.
1128         
1129         * gio/glocaldirectorymonitor.c:
1130         * gio/gunixvolumemonitor.c:
1131         Use new mount monitor api
1132
1133 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1134
1135         * gio/gunixmounts.[ch]:
1136         Move guess type into one call for mounts and one for mountpoints
1137         
1138         * gio/gunixdrive.c:
1139         * gio/gunixvolume.c:
1140         Update
1141
1142 2007-10-09  Alexander Larsson  <alexl@redhat.com>
1143
1144         * gio/gunixmounts.[ch]:
1145         Remove _ prefix in preparation to make this semi-public
1146         Hide implementation of structs
1147         
1148         * gio/glocaldirectorymonitor.c:
1149         * gio/gunixdrive.c:
1150         * gio/gunixvolume.c:
1151         * gio/gunixvolumemonitor.c:
1152         Update for above API changes
1153
1154 2007-10-08  Alexander Larsson  <alexl@redhat.com>
1155
1156         * gio/gfile.c:
1157         Better polling fallback. This also handles the case where we have
1158         a monitor_file implementation, but it fails.
1159
1160 2007-10-08  Alexander Larsson  <alexl@redhat.com>
1161
1162         * gio/gfile.[ch]:
1163         * gio/glocalfile.c:
1164         * gio/gunixmounts.c:
1165         * programs/gio-monitor-dir.c:
1166         * programs/gio-monitor-file.c:
1167         Added cancellable to file monitoring calls.
1168         These are really sync calls and need this.
1169
1170 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
1171
1172         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1173         (g_local_vfs_class_init):
1174         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1175         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1176
1177 2007-10-05  Alexander Larsson  <alexl@redhat.com>
1178
1179         * gio/gdirectorymonitorprivate.h: 
1180         * gio/gfilemonitorprivate.h: 
1181         * gio/gdirectorymonitor.h:
1182         * gio/gfilemonitor.h:
1183         Remove *private.h and move to the public API, so that
1184         we can do implementations outside gio (such as in gvfs)
1185         
1186         * gio/gdirectorymonitor.c:
1187         * gio/gfilemonitor.c:
1188         * gio/glocaldirectorymonitor.c:
1189         * gio/gpollfilemonitor.c:
1190         * gio/inotify/inotify-helper.c:
1191         * gio/fam/fam-helper.c:
1192         Update to the new header names
1193
1194 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
1195
1196         * gio/gdirectorymonitor.c:
1197         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1198         GTypes as abstract.
1199
1200 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1201
1202         * gio/glocalfileinfo.c (get_access_rights):
1203         Set CAN_TRASH when we can move the file.
1204         We should really also check for a parent trash dir.
1205
1206 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1207
1208         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1209         Add can_trash access attribute
1210
1211 2007-10-04  Alexander Larsson  <alexl@redhat.com>
1212
1213         * gio/glocalfile.c:
1214         (g_local_file_trash):
1215         Create info file first. This is per-spec and allows
1216         us to actually trash directories.
1217
1218 2007-10-02  Alexander Larsson  <alexl@redhat.com>
1219
1220         * gio/gdesktopappinfo.c:
1221         Implement the new mime support code.
1222         Always set app as handling mimetype when being set as default for it
1223
1224 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1225
1226         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1227         Fix up check for xattrs:
1228
1229 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1230
1231         * gio/gappinfo.c:
1232         (g_app_info_set_as_default_for_extension):
1233         (g_app_info_add_supports_type):
1234         (g_app_info_can_remove_supports_type):
1235         (g_app_info_remove_supports_type):
1236         Make these fail nicely if not implemented
1237
1238 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
1239
1240         * gio/glocalfileoutputstream.c:
1241         * gio/glocalfileoutputstream.h:
1242         * gio/test-gio.c:
1243         * gio/gfile.c:
1244         * gio/gfile.h:
1245         * gio/glocalfile.c:
1246         * programs/gio-save.c: 
1247         Add a GFileCreateFlags argument to operations that can create
1248         a new file.
1249
1250 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1251
1252         * gio/gappinfo.[ch]:
1253         * gio/gdesktopappinfo.c:
1254         Add more (stubbed out) mime API needed for nautilus
1255
1256 2007-10-01  Alexander Larsson  <alexl@redhat.com>
1257
1258         * gio/gappinfo.h:
1259         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1260         Add g_app_info_set_as_default_for_extension.
1261         
1262         * gio/gdesktopappinfo.c:
1263         Dummy for g_app_info_set_as_default_for_extension
1264         Support flags in g_app_info_create_from_commandline
1265
1266         * gio/gwin32appinfo.c:
1267         * gio/test-gio.c:
1268         Update for API changes
1269         
1270         * gio/gthemedicon.c:
1271         Properly NULL-terminate list of icon names
1272
1273 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1274
1275         * gio/gloadableicon.h:
1276         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1277
1278 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1279
1280         * gio/Makefile.am:
1281         Install headers in $includedir/gio-standalone/
1282         
1283         * gio-2.0.pc.in: Added.
1284         * gio-standalone.pc.in: Removed.
1285         * configure.ac:
1286         * Makefile.am:
1287         Renamed pkg-config file to match glib (for future move)
1288         Update to the new include dir
1289         
1290         * gio/gappinfo.h:
1291         Add more TODO comments
1292
1293 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1294
1295         * gio/gdesktopappinfo.[ch]:
1296         Expose new_from_filename
1297         Add getter for is_hidden and handle it better
1298
1299 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1300
1301         * gio/gfileinfo.[ch]:
1302         Rename g_file_size_format_for_display to
1303         g_format_file_size_for_display.
1304         Now it doesn't have the g_file prefix, so we
1305         can later move it to glib.
1306
1307 2007-09-28  Alexander Larsson  <alexl@redhat.com>
1308
1309         * gio/gappinfo.[ch]:
1310         Add g_app_info_get_id and g_app_info_get_executable.
1311         Make all getters non-reffing
1312         Make g_app_info_launch take GFile arguments.
1313         Add must_support_uris argument to g_app_info_get_default_for_type.
1314         
1315         * gio/gwin32appinfo.c:
1316         Update to GAppInfo api changes
1317         
1318         * gio/gdesktopappinfo.c:
1319         Update to GAppInfo api changes
1320         Implement supports_xdg_startup_notify
1321         
1322         * gio/gfileicon.c (g_file_icon_get_file):
1323         Make getter non-reffing.
1324         
1325         * gio/test-gio.c:
1326         Update to new API
1327
1328 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1329
1330         * gio/gfileinfo.[ch]: 
1331         Add g_file_size_format_for_display helper
1332         
1333 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1334
1335         * gio/glocalfileinfo.c:
1336         Set UNIX_GID from gid, not from uid
1337
1338 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1339
1340         * gio/gfile.[ch]:
1341         Add g_file_set_attributes_async
1342
1343 2007-09-27  Alexander Larsson  <alexl@redhat.com>
1344
1345         * gio/glocalfile.c (g_local_file_set_display_name):
1346         Fix set_display_name to actually rename to the right place.
1347         Use lstat to look for existing files so we don't overwrite
1348         broken links.
1349
1350 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1351
1352         * gio/gfile.[ch]:
1353         Add g_file_set_display_name_async()
1354
1355 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1356
1357         * gio/gfile.[ch]:
1358         Add load_partial_contents async calls
1359         
1360         * gio/glocalfile.c:
1361         Make internal function static
1362
1363 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1364
1365         * gio/glocalfileinfo.c:
1366         Correctly detect broken symlinks
1367
1368 2007-09-26  Alexander Larsson  <alexl@redhat.com>
1369
1370         * gio/gcancellable.c (g_cancellable_cancel):
1371         Allow cancel on NULL cancellable
1372
1373 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1374
1375         * gio/gsimpleasyncresult.c:
1376         Don't allocate g_error manually.
1377         Fixes g_slice/g_new mixup crash
1378
1379 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1380
1381         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1382         Actually set active_backend.
1383         This means the monitor will be cancelled correctly.
1384
1385 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1386
1387         * gio/gdirectorymonitor.c:
1388         Set timeout to NULL when destroying
1389
1390 2007-09-25  Alexander Larsson  <alexl@redhat.com>
1391
1392         * gio/gioerror.h:
1393         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1394         that is a better description of the error.
1395
1396 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
1397
1398         * gio/gvfs.c: (g_vfs_get_local):
1399         Make the local vfs variable static. The same instance should
1400         always be returned.
1401
1402 2007-09-24  Alexander Larsson  <alexl@redhat.com>
1403
1404         * gio/glocalfileinfo.c:
1405         Pass in actual length read into sniffer, not the length
1406         we tried to read.
1407
1408 2007-09-21  Alexander Larsson  <alexl@redhat.com>
1409
1410         * gio/gfileenumerator.c:
1411         * gio/gfileinfo.c:
1412         * gio/gfileinfo.h:
1413         * gio/gfileinputstream.c:
1414         * gio/gfileoutputstream.c:
1415         * gio/ginputstream.c:
1416         * gio/goutputstream.c:
1417         Don't crash if async callbacks are NULL
1418
1419 2007-09-20  Alexander Larsson  <alexl@redhat.com>
1420
1421         * gio/gfile.[ch]:
1422         Add async enumerate_children method and default
1423         implementation
1424
1425 2007-09-20  Alexander Larsson  <alexl@redhat.com>
1426
1427         * gio/gfile.[ch]
1428         Add g_file_contains_file & g_file_get_relative_path, since they
1429         were needed for nautilus.
1430         Renamed g_file_resolve_relative to g_file_resolve_relative_path
1431         to make it clearer.
1432         
1433         * gio/gdummyfile.c:
1434         * gio/glocalfile.c:
1435         Implement new methods
1436
1437 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1438
1439         * gio/gfile.[ch]:
1440         * gio/gfileinputstream.[ch]:
1441         * gio/gfileoutputstream.[ch]:
1442         * gio/glocalfile.c:
1443         * gio/glocalfileenumerator.[ch]:
1444         * gio/glocalfileinfo.[ch]:
1445         * gio/glocalfileinputstream.c:
1446         * gio/glocalfileoutputstream.c:
1447         * gio/gpollfilemonitor.c:
1448         * programs/gio-copy.c:
1449         * programs/gio-info.c:
1450         * programs/gio-move.c:
1451         Rename get_file_info to query_info() to make it clearer
1452         that these are not simple getters, but do i/o.
1453
1454 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1455
1456         * gio/gdatainputstream.[ch]:
1457         * gio/test-streams.c:
1458         Use _read_XXX instead of _get_XXX for the i/o calls
1459         in GDataInputStream
1460
1461 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1462
1463         * gio/gappinfo.h:
1464         Added needed stuff to TODO comment
1465
1466 2007-09-17  Alexander Larsson  <alexl@redhat.com>
1467
1468         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1469         Don't error out removing the backup copy if it doesn't
1470         already exist.
1471
1472 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1473
1474         * programs/Makefile.am:
1475         * programs/gvfs-*.c: 
1476         * programs/gio-*.c:
1477         Renamed apps from gvfs-xxx to gio-xxx.
1478
1479 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1480
1481         * gio/gfile.c:
1482         * gio/gfileoutputstream.[ch]:
1483         * gio/glocalfileoutputstream.c:
1484         * programs/gvfs-save.c:
1485         g_file_output_stream_get_etag doesn't do i/o, so remove
1486         cancellation and error.
1487
1488 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1489
1490         * gio/gfile.[ch]:
1491         Add new_etag output to replace_contents functions
1492
1493 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1494
1495         * gio/gfileoutputstream.[ch]:
1496         Add async get_file_info and default implementation
1497
1498 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1499
1500         * gio/gfileinputstream.c:
1501         Implement fallback wrapper for async get_file_info
1502
1503 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1504
1505         * gio/gfile.[ch]:
1506         Add etag out argument to load_contents
1507         
1508         * gio/test-gio.c:
1509         Update to new API
1510
1511 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1512
1513         * gio/gcontenttype.c (looks_like_text):
1514         Whitespace like tab, cr and lf do not make the
1515         file binary.
1516
1517 2007-09-14  Alexander Larsson  <alexl@redhat.com>
1518
1519         * gio/gfileinputstream.[ch]:
1520         Add async get_file_info.
1521
1522 2007-09-13  Alexander Larsson  <alexl@redhat.com>
1523
1524         * gio/goutputstream.c (g_output_stream_write_all):
1525         Allow NULL for bytes_written
1526
1527 2007-09-13  Alexander Larsson  <alexl@redhat.com>
1528
1529         * gio/gmemoryinputstream.[ch]:
1530         Add accessors for data
1531
1532 2007-09-13  Alexander Larsson  <alexl@redhat.com>
1533
1534         * gio/gdatainputstream.c (g_data_input_stream_get_until):
1535         Don't crash if length is NULL
1536