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