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