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