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