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