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