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