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