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