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