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