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