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