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