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