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