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