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