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