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