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