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