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