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