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