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