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