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