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