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