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