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