Add g_file_query_default_handler utility to easily look up the GAppInfo
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2
3         * gfile.[ch]:
4         Add g_file_query_default_handler utility to easily look up
5         the GAppInfo that handles a file.
6         
7         * gdesktopappinfo.[ch]:
8         * giomodule.c:
9         Set up an extension point for g_app_info_get_default_for_uri_scheme()
10         
11         * gvfs.c:
12         Remove unused function
13
14 2008-01-29  Alexander Larsson  <alexl@redhat.com>
15
16         * gfileenumerator.c:
17         Mention need to free returned value in
18         g_file_enumerator_next_files_finish docs.
19         Fix leak if g_file_enumerator_next_files_finish()
20         not called.
21
22 2008-01-29  Alexander Larsson  <alexl@redhat.com>
23
24         * gcontenttype.c:
25         (_g_unix_content_type_get_parents):
26         Use list_parents, not get_parents from xdgmime, because
27         the later doesn't use the cache.
28         
29         * xdgmime/xdgmimecache.c:
30         (_xdg_mime_cache_list_mime_parents):
31         Don't list the same type as parent multiple times.
32
33 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
34
35         * === Released 2.15.4 ===
36
37 2008-01-28  Alexander Larsson  <alexl@redhat.com>
38
39         * glocalvfs.c:
40         Register local vfs with prio 0.
41         
42         * gvfs.h:
43         Remove old name and prio class members
44
45 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
46
47         * tests/g-file.c: Disable some tests that are failing in
48         the absence of a http backend.
49
50 2008-01-28  Alexander Larsson  <alexl@redhat.com>
51
52         * giomodule.[ch]:
53         * gio.symbols:
54         Add registration hooks for extension points.
55         Register the gio extension points.
56         
57         * fam/gfamdirectorymonitor.c:
58         * fam/gfamfilemonitor.c:
59         * glocaldirectorymonitor.[ch]:
60         * glocalfilemonitor.[ch]:
61         * gnativevolumemonitor.h:
62         * gunionvolumemonitor.c:
63         * gunixvolumemonitor.c:
64         * gvfs.[ch]:
65         * gvolumemonitor.h:
66         * inotify/ginotifydirectorymonitor.c:
67         * inotify/ginotifyfilemonitor.c:
68         Use the extension points registration instead
69         of g_type_children().
70
71 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
72         
73         * gdrive.[hc]: 
74         * gvolume.[hc]: Document new API. 
75
76         * gfile.c (g_file_copy_async): Fix docs
77
78 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
79
80         * gbufferedinputstream.c:
81         * ginputstream.c:
82         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
83         __FUNCTION__.
84         
85 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
86
87         * glocalfile.c: Avoid trivial differences in translatable strings.
88
89 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
90
91         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
92         build with gcc 3.4  (#509419)
93
94 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
95
96         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
97         (#509994, Murray Cumming)
98
99 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
100
101         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
102         * gioscheduler.c: Keep calling io jobs until they return FALSE;
103         this allows big jobs to be executed in chunks, instead of blocking
104         the main loop for a long time.
105
106         * gsimpleasyncresult.c:
107         * giofile.c: Adapt callers.
108
109 2008-01-25  Alexander Larsson  <alexl@redhat.com>
110
111         * gdesktopappinfo.c:
112         Implement changes discussed on xdg list.
113         Now we can add supported mimetypes by just using defaults.list
114         We can also remove associations in defaults.list.
115
116 2008-01-25  Alexander Larsson  <alexl@redhat.com>
117
118         * gdesktopappinfo.c:
119         Don't make local copy of desktop file
120         for mimetype changes if the file already
121         supports the new mimetype.
122
123 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
124
125         * ginputstream.c:
126         * goutputstream.c:
127         * gbufferedinputstream.c:
128         * glocalfile.c: String improvements.  (#511966, 
129          Theppitak Karoonboonyanan)
130
131 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
132
133         * gioscheduler.h: Expand docs a bit.
134
135 2008-01-24  Alexander Larsson  <alexl@redhat.com>
136
137         * gdrive.[ch]:
138         Add g_drive_get_identifier and
139         g_drive_enumerate_identifiers
140
141         * gvolume.[ch]:
142         Add g_volume_get_identifier and
143         g_volume_enumerate_identifiers
144         
145         * gio.symbols:
146         Add symbols
147         
148         * gunixvolume.c:
149         Implement identifiers for unix backend
150
151 2008-01-24  Alexander Larsson  <alexl@redhat.com>
152
153         * gfile.[ch]:
154         * gfile.h:
155         * gio.symbols:
156         Add g_file_copy_async() (#511580)
157         Based on patch from Carlos Garcia Campos
158
159 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
160
161         * gioscheduler.c: Some documentation additions.
162
163 2008-01-22  Alexander Larsson  <alexl@redhat.com>
164
165         * gdesktopappinfo.c:
166         (g_desktop_app_info_new):
167         Don't leak basename.
168         
169 2008-01-22  Alexander Larsson  <alexl@redhat.com>
170
171         * gdesktopappinfo.c:
172         (g_desktop_app_info_new_from_filename):
173         Don't leak GKeyFile
174
175 2008-01-22  Alexander Larsson  <alexl@redhat.com>
176
177         * glocalfileinfo.c (get_thumbnail_attributes):
178         Fix leak of uri
179
180 2008-01-22  Alexander Larsson  <alexl@redhat.com>
181
182         * glocalfile.c:
183         (canonicalize_filename):
184         Canonicalize paths that start with more than
185         two slashes.
186         
187         * tests/g-file.c:
188         (compare_two_files):
189         (test_g_file_new_for_path):
190         Test the above
191
192 2008-01-22  Alexander Larsson  <alexl@redhat.com>
193
194         * glocalfile.c:
195         Allow UTF-8 in file:// parse names.
196         
197         * tests/Makefile.am:
198         * tests/data-input-stream.c:
199         * tests/data-output-stream.c:
200         * tests/g-file-info.c:
201         * tests/g-file.c:
202         Added a bunch of tests from Tomas Bzatek
203
204 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
205
206         * === Released 2.15.3 ===
207
208 2008-01-21  Alexander Larsson  <alexl@redhat.com>
209
210         * gfileinputstream.[ch]:
211         * gfileoutputstream.[ch]:
212         * gio.symbols:
213         Remove duplicated GSeekable functions. (#509990)
214         Just use the g_seekable_xxx() calls instead.
215
216 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
217
218         * glocal*.c:
219         * gvolumemanager.c: Whitespace cleanups.
220
221         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
222         Use the right mode when creating the file.
223
224 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
225
226         * gfileenumerator.c:
227         * gfileinputstream.c:
228         * ginputstream.c:
229         * goutputstream.c: Documentation: Fixed minor typos 
230         and added more mentions of specific _finish() functions.
231
232 2008-01-21  Alexander Larsson  <alexl@redhat.com>
233
234         * inotify/Makefile.am:
235         * inotify/inotify-helper.c:
236         * inotify/inotify-kernel.c:
237         * inotify/inotify-path.c:
238         * inotify/local_inotify.h: Removed.
239         * inotify/local_inotify_syscalls.h: Removed.
240         Removed the included copies of the inotify
241         headers. We now only use the <sys/inotify.h>
242         header which exists on modern systems.
243         This fixes problems on ARM and SH5 (#510448)
244         but is also generally much cleaner and future
245         safe. For instance, if other OSes add support
246         for inotify it should "just work".
247
248 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
249
250         * inotify/*.c: Coding style fixes.
251         * inotify/inotify-missing.c: Use g_timeout_add_seconds
252         for the 1/4 Hz timer.
253
254 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
255
256         * gfile.c:
257         * gfilemonitor.[hc]:
258         * gmemoryinputstream.c:
259         * gmemoryoutputstream.c:
260         * gmountoperation.c:
261         * gthemedicon.c: Documentation updates
262
263 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
264
265         * gfile.c: documentation: Fixed more minor 
266         typos.
267
268 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
269
270         * gmount.c: (g_mount_remount): documentation: 
271         Mention g_mount_remount_finish() instead of 
272         g_mount_unmount_finish().
273
274 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
275
276         * gappinfo.c:
277         * gcancellable.c:
278         * gfile.c: Fixed some minor typos in the 
279         documentation. 
280
281 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
282
283         * gio/gvolumemonitor.c: 
284         (g_volume_monitor_get_connected_drives): 
285         (g_volume_monitor_get_volumes): 
286         (g_volume_monitor_get_mounts): Documentation: 
287         Clarify the ownership of the regurn GLists.
288
289 2008-01-17  Alexander Larsson  <alexl@redhat.com>
290
291         * gfile.h:
292         Add the async find_enclosing_mount version
293         to the header file too.
294
295 2008-01-17  Alexander Larsson  <alexl@redhat.com>
296
297         * gfile.c:
298         Add async version of find_enclosing_mount
299         with default implementation.
300
301 2008-01-17  Alexander Larsson  <alexl@redhat.com>
302
303         * gfile.c:
304         (g_file_copy):
305         (g_file_move):
306         Allow calls to implementation of copy and write
307         even if the type of the file implementations is
308         different. This can be used to implement native
309         upload and download calls in a vfs.
310         
311         * glocalfile.c:
312         (g_local_file_move):
313         Protect against the case where move is called
314         with one file not being local.
315         
316         Make sure we call the progress callback once
317         in the native move operation so that the caller
318         knows how many bytes were copied.
319
320 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
321
322         * gappinfo.c:
323         * gdatainputstream.c:
324         * gfile.c:
325         * gfileoutputstream.c:
326         * ginputstream.c:
327         * gmount.c:
328         * goutputstream.c:
329         * gseekable.c:
330         * gunixmounts.c: Corrected some typos in the documentation:
331         occured -> occurred.
332         its -> it's (where appropriate).
333
334 2008-01-16  Alexander Larsson  <alexl@redhat.com>
335
336         * gfile.[ch]:
337         * gio.symbols:
338         Add g_file_query_exists (#508771)
339
340 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
341
342         * gdrive.c:
343         * gfile.c:
344         * gmount.c:
345         * gvolume.c: For async functions that have no non-async 
346         version, document that the GAsyncReadyCallback may be NULL.
347         Bug #509626.
348
349 2008-01-15  Alexander Larsson  <alexl@redhat.com>
350
351         * gmemoryinputstream.c:
352         * gmemoryoutputstream.c:
353         Don't do pointer arithmetic on void * (#508602)
354         Patch from Kazuki IWAMOTO
355
356 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
357
358         * === Released 2.15.2 ===
359
360 2008-01-14  Alexander Larsson  <alexl@redhat.com>
361
362         * gfile.c (g_file_monitor_file):
363         Don't set error here, since we fallback to polling monitor.
364
365 2008-01-14  Alexander Larsson  <alexl@redhat.com>
366
367         * gfile.[ch]:
368         (g_file_monitor_directory):
369         (g_file_monitor_file):
370         Add GError to file monitor calls
371         
372         * glocaldirectorymonitor.c:
373         * glocaldirectorymonitor.h:
374         * glocalfile.c:
375         * glocalfilemonitor.c:
376         * glocalfilemonitor.h:
377         * gunixmounts.c:
378         Update for above change
379
380 2008-01-14  Alexander Larsson  <alexl@redhat.com>
381
382         * glocalfile.c:
383         (match_prefix):
384         Handle root correctly in g_file_get_relative_path (#508719)
385
386 2008-01-14  Alexander Larsson  <alexl@redhat.com>
387
388         * gasyncresult.c:
389         Clean up docs and example for GAsyncResult (#508074)
390
391 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
392
393         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
394         and correct some spelling mistakes. Bug #508108.
395
396 2008-01-11  Matthias Clasen <mclasen@redhat.com>
397
398         * glocalfileinfo.c: Add a comment.
399
400 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
401
402         * gfileinfo.c: GFileInfo description: Mention 
403         how to actually set attributes in a GFile and how to discover 
404         which attributes are settable. Bug #508378.
405
406 2008-01-10  A. Walton  <awalton@svn.gnome.org>
407
408         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
409         (g_app_info_get_default_for_type):
410         Check for NULL content types.
411
412 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
413
414         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
415
416 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
417
418         * gfile.c: *_async() functions: Several small corrections 
419         to the documentation, mostly correcting copy/paste errors 
420         and improving some sentences.
421
422 2008-01-09  Dan Winship  <danw@gnome.org>
423
424         * glocalfile.c (get_unique_filename): x86_64 fix
425
426 2008-01-09  Alexander Larsson  <alexl@redhat.com>
427
428         * gio.symbols:
429         * gunixmount.c:
430         * gunixmounts.[ch]:
431         Add g_unix_mount_guess_should_display and use
432         for unix volume monitor backend.
433         This means we more or less show what the
434         gnome-vfs backend did.
435         Based on patch from Padraig O'Briain
436
437 2008-01-09  Alexander Larsson  <alexl@redhat.com>
438
439         * gio.symbols:
440         * gthemedicon.[ch]:
441         Add g_themed_icon_new_with_default_fallbacks
442         
443         * gunixmounts.c:
444         Use default fallbacks for icons
445
446 2008-01-09  Alexander Larsson  <alexl@redhat.com>
447
448         * gio-marshal.list:
449         * gmountoperation.[ch]:
450         Change the API a bit so that unhandled methods
451         get reported via the reply, rather than by
452         the signal emission return value. This is because
453         some handlers can't know this immediately without
454         doing I/O, and this is an async operation that
455         should not block.
456
457 2008-01-09  Alexander Larsson  <alexl@redhat.com>
458
459         * fam/fam-helper.c:
460         * fam/gfamdirectorymonitor.c:
461         * fam/gfamfilemonitor.c:
462         Fix double free crash (#508224)
463         Patch from Joe Marcus Clarke
464
465 008-01-07  Matthias Clasen  <mclasen@redhat.com>
466
467         * === Released 2.15.1 ===
468
469 2008-01-07  Alexander Larsson  <alexl@redhat.com>
470
471         * gunixinputstream.c (g_unix_input_stream_skip_finish):
472         Fix warning (#507835)
473
474 2008-01-07  Alexander Larsson  <alexl@redhat.com>
475
476         * Makefile.am:
477         Pass --internal to glib-genmarshal
478         
479         * gfilemonitor.c:
480         * gmountoperation.c:
481         * gio-marshal.list:
482         Use better types for signal arguments (#507822)
483
484 2008-01-07  Alexander Larsson  <alexl@redhat.com>
485
486         * Makefile.am:
487         Build test subdir after .
488         Remove gdirectorymonitor.[ch]
489         
490         * gdirectorymonitor.[ch]:
491         * gfilemonitor.c:
492         * gfile.[ch]:
493         * gio.h:
494         Remove GDirectoryMonitor and make
495         GFileMonitor the baseclass for both file and
496         directory monitors. Lift the more generic
497         rate limiting code from GDirectoryMonitor
498         into GFileMonitor.
499         
500         * fam/fam-helper.c:
501         * fam/gfamdirectorymonitor.[ch]:
502         * inotify/ginotifydirectorymonitor.[ch]:
503         * inotify/inotify-helper.c:
504         * glocaldirectorymonitor.[ch]:
505         * glocalfile.c:
506         * gvolumemonitor.c:
507         Update for the removed GDirectoryMonitor.
508         
509         * gmemoryoutputstream.c:
510         Remove ununsed variable
511
512 2008-01-07  Alexander Larsson  <alexl@redhat.com>
513
514         * gmemoryinputstream.c:
515         Translate error strings
516         
517         * gio.symbols:
518         * gmemoryoutputstream.[ch]:
519         New implementation that avoids using GByteArray
520         in implementation and API. (#506377)
521
522 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
523
524         * tests/*: Add a test for memory input streams.
525         
526         * Makefile.am: Add tests to SUBDIRS.
527
528 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
529
530         * glocalfilemonitor.c:
531         * glocaldirectorymonitor.c: Mark property nicks and blurbs
532         for translation.
533
534 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
535
536         * gdesktopappinfo.c: Fix a docs typo.
537
538         * gfileattribute.c: Add information about extended attributes
539         to the documentation.  (#505058)
540
541 2008-01-04  Alexander Larsson  <alexl@redhat.com>
542
543         * gio-marshal.list:
544         * gmountoperation.c:
545         Use the right type (uint) for the ask_password signal.
546
547 2008-01-04  Alexander Larsson  <alexl@redhat.com>
548
549         * gappinfo.[ch]:
550         * gwin32appinfo.c:
551         * gio.symbols:
552         Add g_app_info_supports_files() 
553         Remove desktop arg from g_app_info_should_show().
554         
555         * gdesktopappinfo.[ch]:
556         Implement g_app_info_supports_files() and new should_show()
557         Add g_desktop_app_info_set_desktop_env() to set the desktop
558         for should_show(). (This will be set by gtk+ later)
559
560 2008-01-04  Alexander Larsson  <alexl@redhat.com>
561
562         * gio.symbols:
563         * gmemoryinputstream.[ch]:
564         Improve API so that you can use multiple chunks
565         of memory and custom destroy functions. (#506374)
566
567 2008-01-03  Alexander Larsson  <alexl@redhat.com>
568
569         * gfileinfo.c:
570         Handle NULL attribute matchers safely, as we return this
571         for empty attribute matcher strings.
572
573 2008-01-03  Alexander Larsson  <alexl@redhat.com>
574
575         * gunixmounts.c (g_unix_is_mount_path_system_internal):
576         Add /usr/local to list of internal mountpoints
577
578 2008-01-03  Alexander Larsson  <alexl@redhat.com>
579
580         * glocalfileinfo.c:
581         Check for HAVE_LCHOWN (#505887)
582         
583 2008-01-03  Alexander Larsson  <alexl@redhat.com>
584
585         * gfileinfo.h:
586         * glocalfileinfo.c:
587         Add define for selinux context attribute.
588         Fix missing : -> :: namespace separator change
589         Fix missing _ -> - name change for xattr-sys.
590         (#505058)
591
592 2008-01-03  Alexander Larsson  <alexl@redhat.com>
593
594         * fam/Makefile.am:
595         Link to libglib and libgobject directly (#504879)
596         Patch from Sebastien Bacher
597
598 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
599
600         * gfile.c: Expanded the g_file_new_for_commandline_arg
601         description a bit, based on the code and the docs of the
602         other g_file_new_for_* functions.
603
604 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
605
606         * gfilemonitor.h: Fixed typo in docs.
607
608 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
609
610         Updates to GIO documentation. (#506395, Mikael Hermansson)
611
612         * gcontenttype.c: Describe memory management for return value of
613         g_content_types_get_registered(). Missing piece from #505815.
614         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
615         GVolume, GDrive, GMounts, which hopefully gives the user less
616         confusions when using this API. Following explainations from
617         Alexander Larsson on gtk-devel-list.
618
619 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
620
621         * gfileinfo.c: Expand the long description.
622
623 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
624
625         * fam/Makefile.am:
626         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
627         fix builds with --disable-visibility.  (#500273, Christian Persch)
628
629 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
630
631         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
632         in the list of returned app infos.
633
634 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
635
636         * gappinfo.c: Fix a cross-reference
637
638 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
639
640         * gfileinputstream.c:
641         * gfileoutputstream.c:
642         * gloadableicon.h:
643         * gunixmounts.c:
644         * gmount.h:
645         * gdesktopappinfo.c:
646         * gvolumemonitor.c: 
647         * gfileinfo.c: Documentation updates.
648
649 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
650
651         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
652         Tommi Komulainen)
653
654 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
655
656         * gcontenttype.c (g_content_types_get_registered): Don't return
657         freed memory (#505815, Mikael Hermansson)
658
659 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
660
661         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
662         used to detect statbuf->st_blocks. (#505042)
663
664 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
665
666         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
667         environment handling.  (#504829, Cosimo Cecchi)
668
669 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
670
671         * gappinfo.c: Doc improvements
672         
673         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
674         not ids.
675
676 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
677
678         * === Released 2.15.0 ===
679
680 2007-12-20  Hans Breuer  <hans@breuer.org>
681
682         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
683         with symbols gwin32appinfo.obj, added gmount.obj
684         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
685
686 2007-12-20  Alexander Larsson  <alexl@redhat.com>
687
688         * gfile.c:
689         * gfileattribute.c:
690         * gfileinfo.c:
691         * gfileinfo.h:
692         * gfilenamecompleter.c:
693         * glocalfile.c:
694         * glocalfileinfo.c:
695         * gpollfilemonitor.c:
696         File attribute renames:
697         std:: -> standard::
698         fs:: -> filesystem::
699         id::fs -> id::filesystem
700         
701 2007-12-20  Alexander Larsson  <alexl@redhat.com>
702
703         * gfile.[ch]:
704         * gdrive.[ch]:
705         * gmount.[ch]:
706         * gvolume.[ch]:
707         * gunixmount.c:
708         * gunixvolume.c:
709         * gio.symbols:
710         Add GMountUnmountFlags to all unmount and
711         eject calls.
712         Add g_mount_remount() call.
713
714 2007-12-20  Alexander Larsson  <alexl@redhat.com>
715
716         * gvfs.c (get_default_vfs):
717         Fix unused variable warning
718
719 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
720
721         * pltcheck.sh: Update
722
723 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
724
725         * gunionvolumemonitor.c:
726         * gunixmount.c: Remove C99 comments
727
728 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
729
730         * gio.symbols: Add some missing symbols
731
732 2007-12-19  Alexander Larsson  <alexl@redhat.com>
733
734         * giomodule.c:
735         Make g_io_modules_load_all_in_directory not unuse
736         loaded modules so that users of it can do stuff
737         before unloading.
738         Init internal "module" types.
739         Initialize static prio and name for types so that
740         we don't have to load modules to get it.
741         
742         * gnativevolumemonitor.h:
743         * gvolumemonitor.h:
744         Move is_supported to parent class so that
745         non-native monitors can avoid being initialized
746         too. (For instance GDaemonVolumeMonitor if we're
747         not using GDaemonVfs.)
748         
749         * glocaldirectorymonitor.[ch]:
750         * glocalfilemonitor.[ch]:
751         * gunionvolumemonitor.c:
752         * gunixvolumemonitor.c:
753         * gvfs.c:
754         Find plugins using the static prio+name to
755         avoid unnecessarily loading the modules.
756
757 2007-12-19  Alexander Larsson  <alexl@redhat.com>
758
759         * giomodule.c:
760         Remove warnings
761
762 2007-12-19  Alexander Larsson  <alexl@redhat.com>
763
764         * gunionvolumemonitor.c:
765         Store the native type as GType, not class so that
766         we can unload it. But still avoid unnecessarily
767         unload modules.
768
769 2007-12-19  David Zeuthen  <davidz@redhat.com>
770
771         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
772         add signals 'disconnected' and 'eject-button' on GDrive. Add
773         signal 'removed' on GVolume and 'unmounted' on GMount.
774
775         * gdrive.c: (g_drive_base_init):
776         * gdrive.h:
777         * gfile.c: (g_file_mount_mountable),
778         (g_file_mount_enclosing_volume):
779         * gio.symbols:
780         * gioerror.h:
781         * gmount.c: (g_mount_base_init):
782         * gmount.h:
783         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
784         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
785         * gvolume.c: (g_volume_base_init), (g_volume_mount):
786         * gvolume.h:
787         * gvolumemonitor.h:
788
789 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
790
791         * *.c: Fix up includes in the section docs.
792
793 2007-12-17  Alexander Larsson  <alexl@redhat.com>
794
795         * gnativevolumemonitor.h:
796         * gunionvolumemonitor.c:
797         * gunixvolumemonitor.c:
798         Add is_supported() to GNativeVolumeMonitorClass so
799         that we can avoid having to create an object to see
800         if the backend is supported at runtime.
801         Also add name member and an env var to pick a specific
802         volume monitor backend.
803         
804         * gmountprivate.h:
805         * glocalfile.c:
806         Add cancellable to _g_mount_get_for_mount_path()
807         
808         * glocaldirectorymonitor.c:
809         * glocalfilemonitor.c:
810         Avoid loading and unloading modules while sorting.
811
812 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
813
814         * gio.symbols:
815         * gunixmounts.[hc]: Namespace waste reduction, move some
816         g_get_unix_mount functions to the g_unix_mount namespace.
817
818         * gunixmounts.c:
819         * gunixvolumemonitor.c:
820         * glocalfile.c:
821         * glocaldirectorymonitor.c: Update all callers.
822
823         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
824
825 2007-12-17  Alexander Larsson  <alexl@redhat.com>
826
827         * gfile.c:
828         Add doc comments about what GFile operations are
829         guaranteed to not block.
830
831 2007-12-17  Alexander Larsson  <alexl@redhat.com>
832
833         * gunixmounts.c:
834         Add missing #ifdef fixing OSX build.
835         (#503334, patch from Richard Hult)
836
837 2007-12-14  David Zeuthen  <davidz@redhat.com>
838
839         * Makefile.am:
840         * gio.symbols:
841         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
842         (g_mount_eject), (g_mount_eject_finish):
843         * gmount.h:
844         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
845         (get_volume_for_uuid), (get_mount_for_uuid),
846         (g_union_volume_monitor_class_init),
847         (get_default_native_type_with_exclude), (get_default_native_type),
848         (get_native_type), (update_native_type),
849         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
850         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
851         (g_unix_mount_can_eject), (eject_unmount_cb),
852         (eject_unmount_read_error), (eject_unmount_do),
853         (g_unix_mount_unmount), (g_unix_mount_eject),
854         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
855         * gunixmounts.c: (g_unix_mount_guess_can_eject),
856         (g_unix_mount_point_guess_can_eject):
857         * gunixmounts.h:
858         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
859         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
860         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
861         (g_unix_volume_mount), (g_unix_volume_eject),
862         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
863         * gunixvolumemonitor.c: (get_volume_for_uuid),
864         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
865         (update_mounts):
866         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
867         (g_volume_eject), (g_volume_eject_finish):
868         * gvolume.h:
869         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
870         (g_volume_monitor_get_mount_for_uuid):
871         * gvolumemonitor.h:
872
873         Provide eject() on both GMount and GVolume and utility functions
874         to guess whether a GUnixMountPoint or GUnixMountEntry should be
875         ejected. Introduce the concept of UUID's and wire it into GVolume
876         and GMount and provide API on GVolumeMonitor to find such
877         instances. Also handle the case where an external
878         GNativeVolumeMonitor fails to initialize. Lock around the
879         _g_get_mount_for_mount_path() function such that volume monitor
880         implementations won't have to do locking themselves.
881
882 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
883
884         * gdesktopappinfo.c:
885         * gunixmounts.c:
886         * gfileinfo.c:
887         * gvolumemonitor.c:
888         * gfile.h:
889         * gioscheduler.c:
890         * gvolume.h: Documentation updates
891
892 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
893
894         * gunixmounts.c:
895         * gfile.h: Doc updates
896
897 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
898
899         * gcontenttype.c:
900         * gdesktopappinfo.c: Use hash table iterators.
901
902 2007-12-14  Alexander Larsson  <alexl@redhat.com>
903
904         * Makefile.am:
905         * gfileattribute.[ch]:
906         * gfileattribute-priv.h:
907         Move GFileAttributeValue to a private header, as
908         its sort of ugly.
909         
910         * gfile.[ch]:
911         Make set_attribute take a type + a pointer instead
912         of a GFileAttributeValue.
913         
914         * gfileinfo.[ch]:
915         Fix up for above changes.
916         Add g_file_info_get_attribute_data to get
917         all info in one call, g_file_info_get_attribute_status
918         to get the status and g_file_info_get_attribute_as_string.
919         
920         * gio.symbols:
921         * glocalfile.c:
922         * glocalfileinfo.[ch]:
923         Update for changes
924         
925         * gunixmounts.c:
926         Make _guess_type static.
927
928 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
929
930         * Makefile.am:
931         * inotify/Makefile.am: Fixed build when srcdir != builddir,
932         made mkenums and friends use temporary files to avoid leaving
933         empty generated files on failure (#503470).
934
935 2007-12-14  Alexander Larsson  <alexl@redhat.com>
936
937         * gmountoperation.h:
938         Fix AKS -> ASK typo
939
940 2007-12-14  Alexander Larsson  <alexl@redhat.com>
941
942         * gappinfo.h:
943         * gfile.[ch]:
944         * gfileattribute.[ch]:
945         * gio.symbols:
946         * glocalfile.c:
947         * glocalfileoutputstream.c:
948         * gmountoperation.[ch]:
949         * goutputstream.[ch]:
950         Clean up all flags enums to not have _FLAGS in them
951         Make the names of some of the enums better.
952
953         * glocalfileinfo.c:
954         Fix warning
955         
956 2007-12-14  Michael Natterer  <mitch@imendio.com>
957
958         * gio.symbols: fix g_io_scheduler symbol names.
959
960 2007-12-14  Alexander Larsson  <alexl@redhat.com>
961
962         * Makefile.am:
963         * fam/Makefile.am:
964         * gappinfo.h:
965         * gasyncresult.h:
966         * gbufferedinputstream.h:
967         * gbufferedoutputstream.h:
968         * gcancellable.h:
969         * gcontenttype.h:
970         * gdatainputstream.h:
971         * gdataoutputstream.h:
972         * gdesktopappinfo.h:
973         * gdirectorymonitor.h:
974         * gdrive.h:
975         * gfile.h:
976         * gfileattribute.h:
977         * gfileenumerator.h:
978         * gfileicon.h:
979         * gfileinfo.h:
980         * gfileinputstream.h:
981         * gfilemonitor.h:
982         * gfilenamecompleter.h:
983         * gfileoutputstream.h:
984         * gfilterinputstream.h:
985         * gfilteroutputstream.h:
986         * gicon.h:
987         * ginputstream.h:
988         * gio.h:
989         * gioerror.h:
990         * giomodule.h:
991         * gioscheduler.h:
992         * gloadableicon.h:
993         * gmemoryinputstream.h:
994         * gmemoryoutputstream.h:
995         * gmount.h:
996         * gmountoperation.h:
997         * goutputstream.h:
998         * gseekable.h:
999         * gsimpleasyncresult.h:
1000         * gthemedicon.h:
1001         * gunixinputstream.h:
1002         * gunixmounts.h:
1003         * gunixoutputstream.h:
1004         * gvfs.h:
1005         * gvolume.h:
1006         * gvolumemonitor.h:
1007         * inotify/Makefile.am:
1008         Only allow including <gio/gio.h> from apps
1009
1010 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1011
1012         * gioscheduler.[ch]:
1013         * gsimpleasyncresult.c:
1014         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1015         Split out the send_to_mainloop call into two versions instead
1016         of having the block argument.
1017
1018 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1019
1020         * gcancellable.[ch]:
1021         * gio.symbols:
1022         * gbufferedinputstream.c:
1023         * gfileenumerator.c:
1024         * gfileinputstream.c:
1025         * gfileoutputstream.c:
1026         * ginputstream.c:
1027         * gioscheduler.c:
1028         * goutputstream.c:
1029         g_push/pop_current_cancellable ->
1030         g_cancellable_push/pop_current
1031
1032 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1033
1034         * gfile.[ch]:
1035         * gio.symbols:
1036         Rename g_mount_for_location to g_file_mount_enclosing_volume.
1037
1038 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1039
1040         * gmountoperation.h:
1041         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1042
1043 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1044
1045         * gioscheduler.c:
1046         Fix race condition when freeing proxy in
1047         g_io_job_send_to_mainloop().
1048
1049 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1050
1051         * gfileattribute.c:
1052         * gfileinfo.[ch]:
1053         * glocalfile.c:
1054         * glocalfileinfo.c:
1055         Make attribute namespace separator "::" instead of ":".
1056         Use - instead of _ as separator in attribute names.
1057
1058 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1059
1060         * gbufferedinputstream.h:
1061         * gbufferedoutputstream.h:
1062         * gdatainputstream.h:
1063         * gdataoutputstream.h:
1064         * gdirectorymonitor.h:
1065         * gfileenumerator.h:
1066         * gfileinputstream.h:
1067         * gfilemonitor.h:
1068         * gfileoutputstream.h:
1069         * gfilterinputstream.h:
1070         * gfilteroutputstream.h:
1071         * ginputstream.h:
1072         * glocalfileinputstream.h:
1073         * glocalfileoutputstream.h:
1074         * gmemoryinputstream.h:
1075         * gmemoryoutputstream.h:
1076         * gnativevolumemonitor.h:
1077         * goutputstream.h:
1078         * gunixinputstream.h:
1079         * gunixoutputstream.h:
1080         * gvfs.h:
1081         * gvolumemonitor.h:
1082         s/parent/parent_instance/ in GObjects
1083
1084 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1085
1086         * gdrive.h:
1087         * gmount.h:
1088         * gvolume.h:
1089         No need for padding for interfaces
1090         
1091 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1092
1093         * gappinfo.[ch]:
1094         * gasyncresult.c:
1095         * gbufferedinputstream.c:
1096         * gbufferedoutputstream.c:
1097         * gcancellable.c:
1098         * gcontenttype.c:
1099         * gdatainputstream.[ch]:
1100         * gdesktopappinfo.c:
1101         * gdirectorymonitor.c:
1102         * gfile.[ch]:
1103         * gfileattribute.[ch]:
1104         * gfileicon.[ch]:
1105         * gfileinfo.h:
1106         * gfileinputstream.h:
1107         * gfilemonitor.[ch]:
1108         * gfileoutputstream.[ch]:
1109         * gfilterinputstream.h:
1110         * gfilteroutputstream.h:
1111         * gicon.h:
1112         * gioscheduler.c:
1113         * gloadableicon.[ch]:
1114         * gmemoryinputstream.c:
1115         * gmountoperation.c:
1116         * gthemedicon.c:
1117         Fix up a bunch of details in the docs.
1118
1119         * glocalfileinfo.c:
1120         CR/LF -> LF fixups
1121         
1122 2007-12-11  David Zeuthen  <davidz@redhat.com>
1123
1124         Rework how volumes, drives and volume monitoring is
1125         done. Previosly the model was
1126
1127          GDrive <1-1> GVolume
1128
1129         where a GDrive instance represented a mount point and a GVolume
1130         instance represented a mounted file system. This patch changes it
1131         the model to
1132
1133                 GDrive <1-N> GVolume <1-1> GMount
1134
1135         where GMount now serves the purpose of the old GVolume and the new
1136         GVolume serves the purpose of the old GDrive. In addition the new
1137         GDrive interface is used to represent a collection of GVolume
1138         instances (typically partitions) and also contains utility to query
1139         the state of the physical drive the GDrive object represents (such
1140         as checking for media, polling the drive, ejecting the media etc.).
1141
1142         Also implement mounting and unmounting in the Unix volume monitor
1143         backend. A subquent patch will introduce GDrive support for ejection
1144         of media.
1145
1146         * Makefile.am:
1147         * gdrive.c: (g_drive_is_media_check_automatic),
1148         (g_drive_is_media_removable), (g_drive_has_media),
1149         (g_drive_can_poll_for_media), (g_drive_eject),
1150         (g_drive_eject_finish), (g_drive_poll_for_media),
1151         (g_drive_poll_for_media_finish):
1152         * gdrive.h:
1153         * gfile.c: (g_file_find_enclosing_mount):
1154         * gfile.h:
1155         * gio.symbols:
1156         * glocaldirectorymonitor.c:
1157         (g_local_directory_monitor_constructor), (mounts_changed):
1158         * glocalfile.c: (get_mount_info),
1159         (g_local_file_find_enclosing_mount),
1160         (g_local_file_file_iface_init):
1161         * gnativevolumemonitor.h:
1162         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1163         (get_connected_drives), (g_union_volume_monitor_class_init),
1164         (child_volume_added), (child_volume_removed),
1165         (child_volume_changed), (child_mount_added), (child_mount_removed),
1166         (child_mount_pre_unmount), (child_mount_changed),
1167         (child_drive_changed), (g_union_volume_monitor_add_monitor),
1168         (g_union_volume_monitor_remove_monitor),
1169         (_g_mount_get_for_mount_path):
1170         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1171         (guess_system_internal), (_g_get_unix_mounts),
1172         (_g_get_unix_mount_points), (g_get_unix_mount_at),
1173         (g_unix_mount_free), (g_unix_mount_compare),
1174         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1175         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1176         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1177         (type_to_icon), (g_unix_mount_guess_name),
1178         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1179         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1180         (_resolve_symlink), (_resolve_dev_root):
1181         * gunixmounts.h:
1182         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1183         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1184         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1185         (g_unix_volume_get_name), (g_unix_volume_can_mount),
1186         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1187         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1188         (g_unix_volume_mount), (g_unix_volume_mount_finish),
1189         (g_unix_volume_volume_iface_init):
1190         * gunixvolume.h:
1191         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1192         (get_mounts), (get_volumes), (get_connected_drives),
1193         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1194         (mountpoints_changed), (mounts_changed),
1195         (g_unix_volume_monitor_init),
1196         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1197         (find_mount_by_mountpath), (update_volumes), (update_mounts):
1198         * gunixvolumemonitor.h:
1199         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1200         (g_volume_mount), (g_volume_mount_finish):
1201         * gvolume.h:
1202         * gvolumemonitor.c: (g_volume_monitor_class_init),
1203         (g_volume_monitor_get_connected_drives),
1204         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1205         * gvolumemonitor.h:
1206
1207 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1208
1209         * gmountoperation.h (GPasswordFlags): Close the gap
1210
1211 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1212
1213         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1214         * gio.symbols:
1215         * gdesktopappinfo.[hc]: Remove _-prefixes
1216
1217 2007-12-10  Tor Lillqvist  <tml@novell.com>
1218
1219         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1220         gcc warnings.
1221
1222 2007-12-10  Alexander Larsson  <alexl@redhat.com>
1223
1224         * gfile.c (g_file_set_display_name):
1225         Don't hardcode '/' (#502727)
1226
1227 2007-12-09  Hans Breuer  <hans@breuer.org>
1228
1229         * makefile.msc : follow lib naming convention
1230         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1231         for user and group name, tested with ../tests/gio-ls
1232
1233 2007-12-09  A. Walton  <awalton@svn.gnome.org>
1234
1235         * gdesktopappinfo.c:
1236         * gdrive.c:
1237         * gdrive.h:
1238         * gfile.c:
1239         * gfile.h:
1240         * gfileattribute.c:
1241         * gfileenumerator.c:
1242         * gioerror.c:
1243         * gioscheduler.c:
1244         * gioscheduler.h:
1245         * gloadableicon.c:
1246         * gmemoryinputstream.c:
1247         * gmemoryoutputstream.c:
1248         * goutputstream.h:
1249         * gsimpleasyncresult.c:
1250         More documentation cleanup and filling in missing information, bringing
1251         GIO to 99% symbol coverage.
1252
1253 2007-12-08  Hans Breuer  <hans@breuer.org>
1254
1255         [gio compiles and links on win32, not sure how much already works]
1256         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1257         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
1258         base on win32 API; prefer g_lstat() over lstat(); instead of 
1259         localtime_r() use an all GLib implementation on win32;
1260         get_mount_info() still needs a win32 specifc implementation
1261         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
1262         win32_get_file_user_info to get owner/group info without uid/gid
1263         * glocalfileinputstream.c : include <io.h> on win32
1264         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1265         definition, use g_win32_ftruncate() for G_OS_WIN32
1266         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1267         it is available with mingw/w32api but a mess with the M$ Platform SDKs
1268         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1269         * makefile.msc : updated
1270
1271 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1272
1273         * glocalfileenumerator.c (_g_local_file_enumerator_new):
1274         Avoid warning spew if error == NULL
1275         
1276 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1277
1278         * gfile.c:
1279         Update docs wrt etags
1280
1281 2007-12-06  Alexander Larsson  <alexl@redhat.com>
1282
1283         * glocalfileinfo.h:
1284         Include sys/types.h for dev_t (#501919)
1285
1286 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
1287
1288         * gio.symbols:
1289         * pltcheck.sh:
1290         Make abicheck and pltcheck pass.
1291
1292 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1293
1294         * Makefile.am:
1295         * giomodule-priv.h: Added.
1296         * glocaldirectorymonitor.c:
1297         * glocalfilemonitor.c:
1298         * gunionvolumemonitor.c:
1299         * gvfs.c:
1300         Actually add the declaration of _g_io_modules_ensure_loaded
1301
1302 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1303
1304         * gdatainputstream.c:
1305         Fix warnings
1306         
1307         * gio.symbols:
1308         * giomodule.[ch]
1309         * glocaldirectorymonitor.c:
1310         * glocalfilemonitor.c:
1311         * gunionvolumemonitor.c:
1312         * gvfs.c:
1313         Make g_io_modules_ensure_loaded a private function and
1314         don't pass in the dirname. This means we can do magic
1315         directory finding in the win32 version.
1316         Export the actual load-modules-in-directory code so that
1317         gvfs can reuse that.
1318
1319 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1320
1321         * gbufferedinputstream.c:
1322         * gbufferedoutputstream.c:
1323         * gdrive.[ch]:
1324         * gfile.[ch]:
1325         * gfileenumerator.[ch]:
1326         * gfileinputstream.c:
1327         * gfileoutputstream.[ch]:
1328         * gfilterinputstream.c:
1329         * gfilteroutputstream.c:
1330         * ginputstream.[ch]:
1331         * glocalfile.c:
1332         * glocalfileenumerator.c:
1333         * glocalfileinputstream.c:
1334         * glocalfileoutputstream.c:
1335         * gmemoryinputstream.c:
1336         * gmemoryoutputstream.c:
1337         * goutputstream.[ch]:
1338         * gseekable.[ch]:
1339         * gunixdrive.c:
1340         * gunixinputstream.c:
1341         * gunixoutputstream.c:
1342         Rename all struct members named:
1343         read, write, close, truncate, or mount
1344         to foo_fn, as these are reserved names
1345         and could be defined as macros in libc.
1346         (#501645)
1347
1348 2007-12-04  Alexander Larsson  <alexl@redhat.com>
1349
1350         * goutputstream.c:
1351         (g_output_stream_close):
1352         Only call flush if non-null.
1353
1354 2007-11-30  Dan Winship  <danw@gnome.org>
1355
1356         * ginputstream.c (g_input_stream_set_pending): Make this take a
1357         GError and return a gboolean, and do the "outstanding operation"
1358         check (and the "stream is already closed" check) itself.
1359         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1360
1361         * goutputstream.c (g_output_stream_set_pending)
1362         (g_output_stream_clear_pending): Likewise
1363
1364         * gbufferedinputstream.c: 
1365         * gfileinputstream.c: 
1366         * gfileoutputstream.c: Update for that
1367
1368         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1369         Like g_simple_async_report_error_in_idle, but takes a GError
1370         rather than building one.
1371
1372 2007-11-30  Dan Winship  <danw@gnome.org>
1373
1374         * goutputstream.c: Don't cheat and unset the "pending" flag around
1375         inner calls. Instead, call the class method directly rather than
1376         the wrapper function that checks "pending"
1377
1378 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
1379
1380         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1381
1382 2007-12-03  Hans Breuer  <hans@breuer.org>
1383
1384         [start of port to win32/msvc]
1385         * gcancellable.c : HAVE_UNIST_H and _pipe()
1386         * gcontenttype.c : only include <dirent.h> in the UNIX branch
1387         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1388         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
1389         HAVE_UNIST_H
1390         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1391         * glocalvfs.c : use HAVE_PWD_H
1392         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1393         * makefile.msc : new file (maybe later converted to makefile.msc.in)
1394         * Makefile.am : added to EXTRA_DIST
1395
1396 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1397
1398         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1399         (#499783)
1400
1401 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1402
1403         * glocalfileinfo.c:
1404         Handle OSX style xattrs API (#500506)
1405
1406 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1407
1408         * gfile.[ch]:
1409         * glocalfile.c:
1410         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1411
1412 2007-12-02  A. Walton  <awalton@svn.gnome.org>
1413
1414         * gfile.c:
1415         * gfileattribute.c:
1416         Documentation accuracy fixes.
1417
1418 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
1419
1420         * gioenumtypes.c.template: Fix typo.
1421
1422 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1423
1424         * gioenumtypes.c.template: Make threadsafe get_type() functions.
1425
1426 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1427
1428         * gdirectorymonitor.c:
1429         * gfilemonitor.c: Add properties
1430
1431         * gbufferedoutputstream.c: Don't mark buffer-size property 
1432         as construct-only.
1433
1434 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1435
1436         * gbufferedoutputstream.c: Add auto-grow property.
1437
1438 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1439
1440         * *.c: Unify the capitalization of section headings.
1441
1442 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1443
1444         * gmountoperation.c: Add properties
1445         
1446         * gdatainputstream.c: Turn byte-order and newline-type into
1447         properties.
1448
1449 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1450
1451         * gioenumtypes.[hc].template: Templates for enum registration
1452
1453         * Makefile.am: Generate gioenumtypes.[hc]
1454
1455         * gio.h: Include gioenumtypes.h
1456         * gappinfo.h:
1457         * gfile.h: Add some explicit nicks.
1458
1459         * gio.symbols: Add new symbols
1460
1461         * pltcheck.sh: Adjust
1462
1463 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1464
1465         * *.c: Explain etags and link to the explanation
1466
1467 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1468
1469         * *.c: Explain I/O priority.
1470
1471         * *.c: More coding style fixes.
1472
1473 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1474
1475         * gasyncresult.c: Add another paragraph to the intro,
1476         adjust coding style of example.
1477
1478 2007-11-29  A. Walton <awalton@svn.gnome.org>
1479
1480         * gappinfo.c:
1481           Fixes unknown meaning in GAppLaunchContext docs.
1482         * gfile.c:
1483           Clarify asynchronous ops.
1484         * gfileattribute.c:
1485           Fix entity tag docs.
1486         * gicon.c:
1487         * gthemedicon.c:
1488           Provides missing gtk-doc section, fixes API docs slighly.
1489         * gsimpleasyncresult.c:
1490           Fill in missing info in docs.
1491         * gunixinputstream.c:
1492         * gunixoutputstream.c:
1493           Be more expressive in short description.
1494         * gunixvolume.c:
1495           Remove gtk-doc stubs for non-public API.
1496
1497 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1498
1499         * *.c: Coding style fixups
1500
1501 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1502
1503         * inotify/inotify-helper.c: Don't export the lock from libgio.
1504
1505 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1506
1507         * Makefile.am:
1508         * abicheck.sh: Fix copy-and-paste leftovers 
1509
1510 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1511
1512         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1513
1514 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1515
1516         * Makefile.am:
1517         * gdriveprivate.h:
1518         Removed unnecessary file
1519         
1520         * gdesktopappinfo.[ch]:
1521         * gdummyfile.[ch]:
1522         * gfile.c:
1523         * glocaldirectorymonitor.[ch]:
1524         * glocalfile.[ch]:
1525         * glocalfileenumerator.[ch]:
1526         * glocalfileinputstream.[ch]:
1527         * glocalfilemonitor.[ch]:
1528         * glocalfileoutputstream.[ch]:
1529         * glocalvfs.[ch]:
1530         * gnativevolumemonitor.c:
1531         * gpollfilemonitor.[ch]:
1532         * gunionvolumemonitor.[ch]:
1533         * gunixdrive.[ch]:
1534         * gunixvolume.[ch]:
1535         * gunixvolumemonitor.[ch]:
1536         * gvfs.c:
1537         * gvolumeprivate.h:
1538         * inotify/ginotifydirectorymonitor.[ch]:
1539         * inotify/ginotifyfilemonitor.[ch]:
1540         * inotify/inotify-helper.c:
1541         Append _ to all internal functions
1542         
1543         * gio.symbols:
1544         Add missing symbols
1545         Export symbols needed for modules
1546
1547 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1548
1549         * Makefile.am:
1550         * abicheck.sh: Added.
1551         * makegioalias.pl: Added.
1552         * pltcheck.sh: Added.
1553         * gio.symbols: Added.
1554         * *.c:
1555         * inotify/*.c
1556         Initial work on adding symbol handling.
1557
1558         * gvfs.h:
1559         Correct ifdef guard name
1560
1561         * fam/Makefile.am:
1562         * inotify/Makefile.am:
1563         * xdgmime/Makefile.am:
1564         Include toplevel Makefile.decl
1565
1566 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1567
1568         * gcontenttype.c: Move doc comments to the unix section.
1569
1570         * *.[hc]: More trivial doc corrections.
1571
1572 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1573
1574         * gpollfilemonitor.c:
1575         * gunixmounts.c:
1576         * gvfs.c:
1577         * gfile.c:
1578         * gdesktopappinfo.c:
1579         * gwin32appinfo.c:
1580         * gvolume.c:
1581         * glocalvfs.c:
1582         * gvolumemonitor.c:
1583         * gdatainputstream.c:
1584         * gdatainputstream.h:
1585         * gdataoutputstream.c:
1586         * gdataoutputstream.h:
1587         * gfileinfo.h: Doc cleanups
1588
1589 2007-11-28  Andre Klapper  <a9016009@gmx.de>
1590
1591         * gdesktopappinfo.c: Fix a typo.
1592
1593 2007-11-27  Andre Klapper  <a9016009@gmx.de>
1594
1595         * glocalfileoutputstream.c: Fix a typo.
1596
1597 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1598
1599         * gio.h:
1600         Don't include removed headers
1601
1602 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1603
1604         * Makefile.am:
1605         * gsocketinputstream.[ch]: Removed.
1606         * gsocketoutputstream.[ch]: Removed.
1607         * gunixinputstream.[ch]: Added.
1608         * gunixoutputstream.[ch]: Added.
1609         Renamed GSocket*Stream to GUnix*Stream and made
1610         it unix-only, since its not really only for sockets
1611         and it only works on unix (but is highly useful there).
1612
1613 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
1614         * gappinfo.c:
1615         * gappinfo.h:
1616         * gasynchelper.c:
1617         * gasyncresult.c:
1618         * gasyncresult.h:
1619         * gbufferedinputstream.c:
1620         * gbufferedinputstream.h:
1621         * gbufferedoutputstream.c:
1622         * gbufferedoutputstream.h:
1623         * gcancellable.c: 
1624         * gcancellable.h:
1625         * gcontenttype.c:
1626         * gdatainputstream.c:
1627         * gdatainputstream.h:
1628         * gdataoutputstream.c:
1629         * gdataoutputstream.h:
1630         * gdirectorymonitor.c:
1631         * gdirectorymonitor.h:
1632         * gdrive.c: 
1633         * gdrive.h:
1634         * gfile.c:
1635         * gfile.h:
1636         * gfileattribute.c:
1637         * gfileattribute.h:
1638         * gfileenumerator.c:
1639         * gfileenumerator.h:
1640         * gfileicon.c:
1641         * gfileicon.h:
1642         * gfileinfo.c:
1643         * gfileinfo.h:
1644         * gfileinputstream.c:
1645         * gfileinputstream.h:
1646         * gfilemonitor.c:
1647         * gfilemonitor.h:
1648         * gfilenamecompleter.c:
1649         * gfilenamecompleter.h:
1650         * gfileoutputstream.c:
1651         * gfileoutputstream.h:
1652         * gfilterinputstream.c:
1653         * gfilterinputstream.h:
1654         * gfilteroutputstream.c:
1655         * gfilteroutputstream.h:
1656         * gicon.c:
1657         * gicon.h:
1658         * ginputstream.c:
1659         * ginputstream.h:
1660         * gioerror.c:
1661         * gioerror.h:
1662         * giomodule.c:
1663         * giomodule.h:
1664         * gioscheduler.c:
1665         * gioscheduler.h:
1666         * gloadableicon.c:
1667         * gloadableicon.h:
1668         * glocalfileoutputstream.c:
1669         * gmemoryinputstream.c:
1670         * gmemoryinputstream.h:
1671         * gmemoryoutputstream.c:
1672         * gmemoryoutputstream.h:
1673         * gmountoperation.c: 
1674         * gmountoperation.h:
1675         * goutputstream.c:
1676         * goutputstream.h:
1677         * gpollfilemonitor.c:
1678         * gseekable.c:
1679         * gseekable.h:
1680         * gsimpleasyncresult.c:
1681         * gsimpleasyncresult.h:
1682         * gsocketinputstream.c:
1683         * gsocketinputstream.h:
1684         * gsocketoutputstream.c:
1685         * gsocketoutputstream.h:
1686         * gthemedicon.c:
1687         * gthemedicon.h:
1688         * gunixdrive.c:
1689         * gunixmounts.c: 
1690         * gunixmounts.h:
1691         * gunixvolume.c:
1692         * gunixvolumemonitor.c:
1693         * gurifuncs.c:
1694         * gurifuncs.h:
1695         * gvfs.c:
1696         * gvfs.h:
1697         * gvolume.c:
1698         * gvolume.h:
1699         * gvolumemonitor.c: 
1700         * gvolumemonitor.h:
1701         Bumps documentation to 93% symbol coverage, touching most 
1702         of the public files. Fixes broken function documentation prototypes. 
1703         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
1704         gtk-doc headers in private files.
1705
1706 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
1707
1708         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1709         (g_buffered_input_stream_read_byte):
1710         * gbufferedinputstream.h:
1711         New functions for efficient access to buffer and simple single byte
1712         reads.
1713
1714         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1715         (g_data_input_stream_read_until):
1716         * gdatainputstream.h:
1717         Use peek_buffer to avoid memcpy in scan_for_newline, implement
1718         read_until with multiple stop chars.
1719
1720 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1721
1722         * Makefile.am:
1723         * fam/Makefile.am:
1724         * inotify/Makefile.am:
1725         Use the user-specified giomoduledir
1726
1727 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1728
1729         * Makefile.am
1730         * gio.h:
1731         Add catch-all gio.h header
1732         Don't install gdummyfile.h
1733
1734 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1735
1736         * Makefile.am (gioinclude_HEADERS):
1737         Remove trailing whitespace
1738         
1739 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1740
1741         Merge gio-standalone into glib
1742
1743 2007-11-25  Christian Kellner  <gicmo@gnome.org>
1744
1745         * gio/goutputstream.c:
1746         Fix small mistake in the docs.
1747
1748 2007-11-21  Christian Persch  <chpe@gnome.org>
1749
1750         * gio/glocalfile.c: (g_local_file_trash):
1751         Convert filenames to UTF-8 for GError.
1752         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1753         as per xdg base dir spec.
1754
1755 2007-11-21  Christian Persch  <chpe@gnome.org>
1756
1757         * gio/gdesktopappinfo.c:
1758         Use that g_key_file_to_data cannot fail.
1759         Some misc cleanups.
1760         Use stock defines for the key file group and key names.
1761         Use bitfields.
1762
1763 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1764
1765         * gio/gfile.c:
1766         (copy_stream_with_progress):
1767         Make sure we do a final progress callback with
1768         the full total size.
1769
1770 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1771
1772         * gio/gfile.[ch]:
1773         Export g_file_copy_attributes
1774         Remove padding as its not needed for interfaces
1775
1776 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1777
1778         * gio/gfile.c:
1779         * gio/gioerror.h:
1780         * gio/glocalfile.c:
1781         Add G_IO_ERROR_WOULD_MERGE for
1782         copy/move dir on dir with overwrite.
1783
1784 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1785
1786         * gio/gfileinfo.h:
1787         * gio/glocalfileinfo.c:
1788         Add COPY_NAME (this is an optional
1789         non-modified utf8 version of the name) that
1790         can roundtrip.
1791
1792 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1793
1794         * gio/glocalfileenumerator.c:
1795         Report errors as GIOError, not GFileError
1796
1797 2007-11-16  Alexander Larsson  <alexl@redhat.com>
1798
1799         * gio/glocalfileoutputstream.c:
1800         * gio/gwin32appinfo.c:
1801         Fix typos in strings.
1802         Patch from Luca Ferretti <elle.uca@libero.it>
1803
1804 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1805
1806         * configure.ac:
1807         Post release version bump
1808
1809 === gio-standalone 0.1.2 ===
1810
1811 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1812
1813         * docs/reference/gio/Makefile.am:
1814         Fix up distcheck by removing weird
1815         non-needed stuff
1816
1817         * NEWS:
1818         Update for release
1819
1820 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1821
1822         * gio/gdesktopappinfo.c:
1823         * gio/glocaldirectorymonitor.c:
1824         * gio/glocalfile.c:
1825         * gio/glocalfileinfo.c:
1826         * gio/inotify/inotify-sub.c:
1827         * programs/gio-cat.c:
1828         * programs/gio-copy.c:
1829         * programs/gio-info.c:
1830         * programs/gio-ls.c:
1831         * programs/gio-monitor-dir.c:
1832         * programs/gio-monitor-file.c:
1833         * programs/gio-mount.c:
1834         * programs/gio-move.c:
1835         * programs/gio-rm.c:
1836         * programs/gio-save.c:
1837         * programs/gio-trash.c:
1838         Leak fixes from Kjartan Maraas
1839
1840 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1841
1842         * gio/fam/fam-helper.c:
1843         * gio/gdrive.[ch]:
1844         * gio/glocalfileinfo.c:
1845         * gio/gunixdrive.c:
1846         * gio/gvfs.c:
1847         * gio/gvolume.[ch]:
1848         * gio/inotify/inotify-diag.c:
1849         * gio/inotify/inotify-kernel.c:
1850         Various code cleanups from Kjartan Maraas
1851
1852 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1853
1854         * gio/gioscheduler.c:
1855         (init_scheduler):
1856         Set up threadpool so that we cache 2 unused
1857         idle threads for at 15 secs. This means we
1858         will reuse thread-local data (like dbus connections)
1859         for them.
1860
1861 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1862
1863         * gio/fam/fam-helper.c:
1864         * gio/fam/gfamdirectorymonitor.c:
1865         * gio/fam/gfamfilemonitor.c:
1866         * gio/gappinfo.c:
1867         * gio/gcontenttype.c:
1868         * gio/gdatainputstream.c:
1869         * gio/gdataoutputstream.c:
1870         * gio/gdummyfile.c:
1871         * gio/gfile.c:
1872         * gio/gfile.h:
1873         * gio/gfileattribute.h:
1874         * gio/gfileenumerator.c:
1875         * gio/gfileinfo.c:
1876         * gio/ginputstream.c:
1877         * gio/gioerror.h:
1878         * gio/glocalfile.c:
1879         * gio/glocalfileinfo.c:
1880         * gio/goutputstream.c:
1881         * gio/gpollfilemonitor.c:
1882         * gio/gsimpleasyncresult.c:
1883         * gio/gunixmounts.c:
1884         * gio/gunixmounts.h:
1885         * gio/inotify/ginotifydirectorymonitor.c:
1886         * gio/inotify/ginotifyfilemonitor.c:
1887         * gio/inotify/inotify-diag.c:
1888         * gio/inotify/inotify-kernel.c:
1889         * gio/inotify/inotify-path.c:
1890         * gio/test-gio.c:
1891         * gio/test-streams.c:
1892         * programs/gio-info.c:
1893         * programs/gio-monitor-dir.c:
1894         * programs/gio-monitor-file.c:
1895         Various code cleanups from Kjartan Maraas
1896
1897 2007-11-13  Alexander Larsson  <alexl@redhat.com>
1898
1899         * gio/gdummyfile.c:
1900         Handle the uri-scheme calls for dummy files
1901
1902 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1903
1904         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1905         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1906         to avoid clash with the C++ keyword.
1907
1908 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1909
1910         * gio/glocalfileinfo.c: Build fix, added missing semicolon
1911         to an ifdef'ed call to getpwuid() in lookup_uid_data().
1912
1913 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
1914
1915         * gio/glocaldirectorymonitor.c:
1916         * gio/glocalfilemonitor.c:
1917         * gio/gunionvolumemonitor.c:
1918         Don't use g_once_init_*() for initializations that could fail and
1919         could leave the initialization variable set to 0 but use GOnce.
1920         This prevents a deadlock on the second call when trying to create
1921         a monitor and no monitor type is available. Thanks to Sven Herzberg
1922         for reporting.
1923
1924 2007-11-11  Sven Herzberg  <sven@imendio.com>
1925
1926         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1927         #ifdef (make it work on MacOS X again)
1928
1929 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
1930         * Changelog:
1931         Fixes Changelog for last two commits (sorry guys).
1932
1933 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1934         * gio/gappinfo.c:
1935         * gio/gbufferedinputstream.c:
1936         * gio/gdatainputstream.c:
1937         * gio/gfile.c:
1938         * gio/gfileoutputstream.c:
1939         * gio/gfilterinputstream.c:
1940         * gio/glocalfileinputstream.c:
1941         * gio/gurifuncs.c:
1942         * gio/gvfs.c:
1943         More consistency fixes in g*stream.c files. 
1944         Significant clean of gfile's documentation, filling in of 
1945         asynchronous operations documentation.
1946
1947 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1948         * gio/gappinfo.c:
1949         * gio/gasyncresult.c:
1950         * gio/gbufferedinputstream.c:
1951         * gio/gbufferedoutputstream.c:
1952         * gio/gcancellable.c:
1953         * gio/gcontenttype.c:
1954         * gio/gdatainputstream.c:
1955         * gio/gdataoutputstream.c:
1956         * gio/gdesktopappinfo.c:
1957         * gio/gdrive.c:
1958         * gio/gfile.c:
1959         * gio/gfileattribute.c:
1960         * gio/gio/gfileenumerator.c:
1961         * gio/gfileinfo.c:
1962         * gio/gfileinputstream.c:
1963         * gio/gfilemonitor.c:
1964         * gio/gfileoutputstream.c:
1965         * gio/ginputstream.c:
1966         * gio/giomodule.c:
1967         * gio/gioscheduler.c:
1968         * gio/gloadableicon.c:
1969         * gio/glocalfileoutputstream.c:
1970         * gio/gmemoryoutputstream.c:
1971         * gio/gmountoperation.c:
1972         * gio/goutputstream.c:
1973         * gio/gseekable.c:
1974         * gio/gsimpleasyncresult.c:
1975         * gio/gunionvolumemonitor.c:
1976         * gio/gunixmounts.c:
1977         * gio/gunixvolume.c:
1978         * gio/gurifuncs.c:
1979         * gio/gvfs.c:
1980         * gio/gvolume.c:
1981         * gio/gvolumemonitor.c:
1982         Updated documentation stubs, working towards consistency and 
1983         completeness.
1984
1985 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1986
1987         * gio/gmemoryoutputstream.c:
1988         * gio/gmemoryoutputstream.h:
1989         Change g_memory_output_stream_set_free_on_close() to
1990         g_memory_output_stream_set_free_data() as this makes more sense and
1991         is more consistent with GMemoryInputStream.
1992
1993 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1994
1995         * gio/gfile.c:
1996         Fix some docs
1997         
1998         * gio/glocalvfs.c:
1999         * gio/gvfs.[ch]:
2000         Change how we find the default vfs so that
2001         we can handle a gvfs failing to init
2002
2003 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2004
2005         * gio/gbufferedoutputstream.c:
2006         * gio/gdatainputstream.c:
2007         * gio/gdataoutputstream.c:
2008         * gio/gfileinputstream.c:
2009         * gio/gfileoutputstream.c:
2010         * gio/gfilterinputstream.c:
2011         * gio/gfilteroutputstream.c:
2012         * gio/ginputstream.c:
2013         * gio/gmemoryinputstream.c:
2014         * gio/gmemoryoutputstream.c:
2015         * gio/goutputstream.c:
2016         * gio/gsimpleasyncresult.c:
2017         * gio/gsocketinputstream.c:
2018         * gio/gsocketoutputstream.c:
2019         Add guards to the remaining public functions, add a TODO for
2020         an unimplemented function and remove some useless guards.
2021
2022 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2023
2024         * configure.ac:
2025         Autoconf checks for the various types of
2026         getpwuid_r and getgrgid_r
2027         
2028         * gio/glocalfileinfo.c:
2029         Use the autoconf checks from above
2030
2031 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2032
2033         * gio/glocalfile.c:
2034         (g_local_file_query_filesystem_info):
2035         Some fixes for the statvfs case
2036         
2037 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2038
2039         * gio/glocalfile.c:
2040         (g_local_file_query_filesystem_info):
2041         Pick the "best" of statfs / statvfs for the system
2042         if both are availible.
2043
2044 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2045
2046         Solaris fixes from Halton.Huo@Sun.COM:
2047         
2048         * gio/gdrive.c:
2049         * gio/gfile.c:
2050         * gio/gvolume.c:
2051         Don't return void
2052         
2053         * gio/glocalfileinfo.c:
2054         Fix for solaris definition of getpwuid_r
2055         
2056         * gio/test-streams.c:
2057         Use G_GNUC_PRETTY_FUNCTION
2058
2059 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2060
2061         * gio/gdesktopappinfo.c:
2062         (update_default_list):
2063         Remove double semicolon.
2064         Patch from Jens Granseuer
2065
2066 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2067
2068         * docs/reference/gio/gio-sections.txt:
2069         * gio/gbufferedinputstream.c:
2070         * gio/gbufferedinputstream.h:
2071         * gio/gdatainputstream.c:
2072         * gio/gfileenumerator.c:
2073         * gio/gioscheduler.c:
2074         * gio/gunionvolumemonitor.c:
2075         * gio/gvfs.c:
2076         * programs/gio-save.c:
2077         Fix typo: availible -> available. Unfortuntely this breaks API
2078         and ABI as g_buffered_input_stream_get_available() was renamed.
2079         
2080         * gio/gunixmounts.c:
2081         * gio/gbufferedinputstream.c:
2082         Add guards for public functions.
2083
2084 2007-11-06  Ross Burton  <ross@openedhand.com>
2085
2086         * docs/reference/gio/Makefile.am:
2087         Fix invalid += usage which automake 1.10 doesn't like.
2088
2089 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2090
2091         * gio/gappinfo.c:
2092         (g_app_launch_context_class_init):
2093         Fix warning
2094
2095         Patch from Ross Burton 
2096         
2097 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2098
2099         * configure.ac:
2100         Post release version bump
2101
2102 === gio-standalone 0.1.1 ===
2103
2104 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2105
2106         * configure.ac:
2107         Bump version to 0.1.1
2108         
2109         * gio/gsimpleasyncresult.c:
2110         (g_simple_async_result_set_from_error):
2111         Remove bogus g_return_if_fail
2112
2113 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2114
2115         * configure.ac:
2116         The name is gio-standalone
2117         
2118         * gio/Makefile.am:
2119         Add top src/builddir to includedir
2120
2121 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2122
2123         * docs/reference/gio/gio-sections.txt:
2124         * gio/gappinfo.c:
2125         * gio/gbufferedinputstream.c:
2126         * gio/gbufferedoutputstream.c:
2127         * gio/gcancellable.c:
2128         * gio/gdatainputstream.h:
2129         * gio/gdataoutputstream.c:
2130         * gio/gdataoutputstream.h:
2131         * gio/gdirectorymonitor.c:
2132         * gio/gfile.c:
2133         * gio/gfileattribute.c:
2134         * gio/gfileattribute.h:
2135         * gio/gfileenumerator.c:
2136         * gio/gfileenumerator.h:
2137         * gio/gfileinfo.c:
2138         * gio/gfileinfo.h:
2139         * gio/gfileinputstream.h:
2140         * gio/gfilemonitor.c:
2141         * gio/gfileoutputstream.h:
2142         * gio/glocalfilemonitor.h:
2143         * gio/glocalfileoutputstream.h:
2144         * gio/gmemoryinputstream.c:
2145         * gio/gmemoryoutputstream.c:
2146         * gio/gmountoperation.c:
2147         * gio/goutputstream.c:
2148         * gio/goutputstream.h:
2149         * gio/gseekable.h:
2150         * gio/gsimpleasyncresult.c:
2151         * gio/gunixmounts.c:
2152         * gio/gunixmounts.h:
2153         * gio/gurifuncs.h:
2154         * gio/inotify/inotify-helper.c:
2155         Fix gtk-doc warnings
2156
2157         Patch from Ross Burton 
2158         
2159 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2160
2161         * gio/gfilenamecompleter.c:
2162         (g_filename_completer_get_completions):
2163         fix warning
2164         
2165         * gio/gunixvolume.c:
2166         Remove unused function
2167
2168         Patches from Ross Burton 
2169
2170 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2171
2172         * gio/gdrive.h:
2173         * gio/gseekable.h:
2174         * gio/gvolume.h:
2175         Padding not needed for interfaces
2176
2177 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2178
2179         * gio/gfilemonitor.c:
2180         Remove debug spew
2181
2182         * gio/Makefile.am:
2183         Make giotypes.h an internal file
2184         
2185         * gio/gappinfo.h:
2186         * gio/gbufferedinputstream.h:
2187         * gio/gbufferedoutputstream.h:
2188         * gio/gcancellable.h:
2189         * gio/gdatainputstream.h:
2190         * gio/gdataoutputstream.h:
2191         * gio/gdirectorymonitor.c:
2192         * gio/gdirectorymonitor.h:
2193         * gio/gdrive.c:
2194         * gio/gdrive.h:
2195         * gio/gfile.c:
2196         * gio/gfile.h:
2197         * gio/gfileattribute.h:
2198         * gio/gfileenumerator.h:
2199         * gio/gfileicon.c:
2200         * gio/gfileicon.h:
2201         * gio/gfileinfo.c:
2202         * gio/gfileinfo.h:
2203         * gio/gfilemonitor.c:
2204         * gio/gfilemonitor.h:
2205         * gio/gfilenamecompleter.c:
2206         * gio/gfilenamecompleter.h:
2207         * gio/gfilterinputstream.h:
2208         * gio/gfilteroutputstream.h:
2209         * gio/ginputstream.h:
2210         * gio/gmemoryinputstream.h:
2211         * gio/gmemoryoutputstream.h:
2212         * gio/gmountoperation.c:
2213         * gio/gmountoperation.h:
2214         * gio/gnativevolumemonitor.c:
2215         * gio/goutputstream.h:
2216         * gio/gseekable.c:
2217         * gio/gseekable.h:
2218         * gio/gsimpleasyncresult.c:
2219         * gio/gsimpleasyncresult.h:
2220         * gio/gsocketinputstream.h:
2221         * gio/gsocketoutputstream.h:
2222         * gio/gthemedicon.c:
2223         * gio/gthemedicon.h:
2224         * gio/gvfs.h:
2225         * gio/gvolume.c:
2226         * gio/gvolume.h:
2227         * gio/gvolumemonitor.c:
2228         * gio/gvolumemonitor.h:
2229         Add padding in classes where it seems useful
2230         Don't include giotypes.h from public headers
2231         Move in Class definitions into c file where possible
2232         
2233         * gio/glocalfile.c:
2234         Fix warnings
2235
2236 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2237
2238         * docs/reference/gio/gio-docs.xml:
2239         Better structure for API docs
2240
2241 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2242
2243         * gio/gfileicon.c:
2244         * gio/gloadableicon.c:
2245         * gio/gsimpleasyncresult.c:
2246         * gio/gthemedicon.c:
2247         Add some more guards to public functions. Only files missing are now
2248         g*stream*.c.
2249
2250 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2251
2252         * docs/reference/gio/gio-docs.xml:
2253         Remove old files, add missing ones
2254
2255 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2256
2257         * docs/reference/gio/gio-sections.txt:
2258         Restructure
2259         Add missing stuff
2260         Hide implementation classes
2261         
2262         * gio/gdriveprivate.h:
2263         * gio/gvolumeprivate.h:
2264         Remove non-existing function declarations
2265
2266 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2267
2268         * gio/gappinfo.c:
2269         Fix compilation warnings and add guards to the new functions.
2270         
2271         * gio/gasyncresult.c:
2272         * gio/gdummyfile.c:
2273         Add guards to the public functions.
2274         
2275         * gio/gdummyfile.c:
2276         Implement get_path().
2277
2278 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2279
2280         * gio/gfilenamecompleter.c:
2281         Make g_filename_completer_get_completions
2282         return char ** instead of GList for
2283         typesafety.
2284         
2285         * docs/reference/gio/gio-docs.xml:
2286         * docs/reference/gio/gio-sections.txt:
2287         * gio/gappinfo.c:
2288         * gio/gasyncresult.c:
2289         * gio/gbufferedinputstream.c:
2290         * gio/gbufferedoutputstream.c:
2291         * gio/gcancellable.c:
2292         * gio/gcontenttype.c:
2293         * gio/gdatainputstream.c:
2294         * gio/gdataoutputstream.c:
2295         * gio/gdesktopappinfo.c:
2296         * gio/gdirectorymonitor.c:
2297         * gio/gdrive.c:
2298         * gio/gdummyfile.c:
2299         * gio/gfile.c:
2300         * gio/gfileattribute.c:
2301         * gio/gfileenumerator.c:
2302         * gio/gfileicon.c:
2303         * gio/gfileinfo.c:
2304         * gio/gfileinputstream.c:
2305         * gio/gfilemonitor.c:
2306         * gio/gfilenamecompleter.c:
2307         * gio/gfilenamecompleter.h:
2308         * gio/gfileoutputstream.c:
2309         * gio/gfilterinputstream.c:
2310         * gio/gicon.c:
2311         * gio/ginputstream.c:
2312         * gio/giomodule.c:
2313         * gio/gioscheduler.c:
2314         * gio/gloadableicon.c:
2315         * gio/glocaldirectorymonitor.c:
2316         * gio/glocalfile.c:
2317         * gio/glocalfileinputstream.c:
2318         * gio/glocalfilemonitor.c:
2319         * gio/glocalfileoutputstream.c:
2320         * gio/glocalvfs.c:
2321         * gio/gmemoryinputstream.c:
2322         * gio/gmemoryoutputstream.c:
2323         * gio/gmountoperation.c:
2324         * gio/goutputstream.c:
2325         * gio/gpollfilemonitor.c:
2326         * gio/gseekable.c:
2327         * gio/gsimpleasyncresult.c:
2328         * gio/gsocketinputstream.c:
2329         * gio/gsocketoutputstream.c:
2330         * gio/gthemedicon.c:
2331         * gio/gunionvolumemonitor.c:
2332         * gio/gunixdrive.c:
2333         * gio/gunixmounts.c:
2334         * gio/gunixvolume.c:
2335         * gio/gunixvolumemonitor.c:
2336         * gio/gurifuncs.c:
2337         * gio/gvfs.c:
2338         * gio/gvolume.c:
2339         * gio/gvolumemonitor.c:
2340         * gio/gwin32appinfo.c:
2341         Add (mostly stub) doc strings to public functions.
2342         Patch from Andrew Walton (awalton@gmail.com)
2343
2344 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2345
2346         * gio/gappinfo.[ch]:
2347         Added GAppLaunchContext object and pass that to launch.
2348         This allows simple implementation of both
2349         launch-on-screen and startup notification via a gtk+
2350         subclass of GAppLaunchContext
2351         
2352         * gio/gdesktopappinfo.c:
2353         Implement GAppLaunchContext API
2354         
2355         * gio/gwin32appinfo.c:
2356         Update to new APIs
2357
2358 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2359
2360         * gio/gmountoperation.c:
2361         Add some guards to GMountOperation's public functions.
2362
2363 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2364
2365
2366         * gio/gappinfo.c:
2367         * gio/gcancellable.c:
2368         * gio/gdirectorymonitor.c:
2369         * gio/gdrive.c:
2370         * gio/gfileenumerator.c:
2371         * gio/gfilemonitor.c:,
2372         * gio/gfilenamecompleter.c:
2373         * gio/gicon.c:
2374         * gio/giomodule.c:
2375         * gio/gioscheduler.c:
2376         * gio/gseekable.c:
2377         * gio/gurifuncs.c:
2378         * gio/gvolume.c:
2379         * gio/gvolumemonitor.c:
2380         Add even more guards to various public functions.
2381
2382 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2383
2384         * gio/gappinfo.c:
2385         Add guards to the public functions of GAppInfo.
2386
2387 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2388
2389         * gio/gcontenttype.c:
2390         Add some more guards for public functions.
2391
2392 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2393
2394         * gio/fam/fam-module.c:
2395         * gio/fam/gfamdirectorymonitor.c:
2396         * gio/fam/gfamdirectorymonitor.h:
2397         * gio/fam/gfamfilemonitor.c:
2398         * gio/fam/gfamfilemonitor.h:
2399         * gio/inotify/ginotifydirectorymonitor.c:
2400         * gio/inotify/ginotifydirectorymonitor.h:
2401         * gio/inotify/ginotifyfilemonitor.c:
2402         * gio/inotify/ginotifyfilemonitor.h:
2403         Add proper copyright information and remove an unused variable
2404         in the GInotifyFileMonitor constructor.
2405
2406         * gio/gcancellable.c:
2407         Add a guard for a public function and an assertion to prevent
2408         an undefined program state.
2409
2410 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2411
2412         * gio/gfileattribute.c:
2413         Don't run into an assertion if the given attribute value is NULL
2414         in g_file_attribute_value_get_*() but instead return a fallback
2415         value that makes sense in most situations. Passing them a attribute
2416         value with the wrong type will still run into an assertion.
2417
2418 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2419
2420         * gio/gfileattribute.c:
2421         * gio/gfileinfo.c:
2422         Add even more guards to the public functions. Also fix the refcounting
2423         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2424         let g_file_info_list_attributes() filter the attributes by namespace
2425         instead of simply ignoring the namespace parameter.
2426
2427 2007-11-03  Sven Herzberg  <sven@imendio.com>
2428
2429         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2430         (This makes gio work on MacOS X again)
2431
2432 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2433
2434         * Makefile.am:
2435         Build the gio subdirectory before the docs. Otherwise the build will
2436         fail.
2437
2438         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2439         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2440         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2441         Add guards to the public functions.
2442
2443 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2444
2445         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2446         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2447         to prevent a compiler warning.
2448
2449         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2450         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2451         return something in the non-void function find_topdir_for().
2452
2453 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
2454
2455         * configure.ac:
2456         * Makefile.am:
2457         * docs/:
2458         Gtkdocify!
2459
2460 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
2461
2462         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2463         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2464         * gwin32appinfo.c (g_win32_app_info_launch):
2465         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2466         envp_for_startup_id, g_desktop_app_info_launch,
2467         g_desktop_app_info_launch_uris):
2468
2469         Give an opaque 'startup_id' string instead of 'envp'.
2470         Support empty file lists for launching new windows.
2471         Fix infinite recursion bug when launching URIs.
2472
2473 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2474
2475         * gio/gfile.c:
2476         Add guard to the new g_file_get_uri_scheme() function.
2477
2478 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2479
2480         * gio/gfile.c:
2481         Convert a g_return_val_if_fail() to setting the GError instead as
2482         otherwise applications have to verify the parameter before otherwise
2483         and the parameter might come directly from the user.
2484
2485 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2486
2487         * gio/inotify/ginotify*.[ch]:
2488         Add missing copyright information.
2489
2490 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2491
2492         * gio/gfile.c:
2493         Add guards in the beginning of public functions to check for valid
2494         parameters and fix a bug in copy_stream_with_progress() that could've
2495         caused writing less bytes than reading.
2496         * gio/glocalfileinfo.c:
2497         Check for a NULL parameter and set the GError accordingly then.
2498         * gio/goutputstream.c:
2499         Fix the same bug as in gfile.c that could've caused writing less bytes
2500         than reading in g_output_stream_real_splice().
2501
2502 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
2503
2504         * gio/Makefile.am:
2505         Use the correct gvolumeprivate.h naming
2506
2507 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2508
2509         * gio/Makefile.am:
2510         Remove leftover "$(daemon_sources)" entry.
2511
2512 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2513
2514         * gio/fam/*.[ch]:
2515         * gio/*.[ch]:
2516         * programs/*.[ch]:
2517         Add copyright information to source files.
2518
2519 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2520
2521         * gio/gfile.[ch]:
2522         * gio/glocalfile.c:
2523         Add g_file_get_uri_scheme
2524
2525 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2526
2527         * gio/gappinfo.h:
2528         * gio/gdesktopappinfo.c:
2529         * gio/gwin32appinfo.c:
2530         Add g_app_info_get_default_for_uri_scheme.
2531
2532 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2533
2534         * gio/Makefile.am:
2535         Correct filename for gdriveprivate.h
2536
2537 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2538
2539         * gio/gfileinfo.h:
2540         Rename id:value to id:file
2541         Add id:fs
2542         
2543         * gio/glocalfileinfo.c:
2544         Implement id:fs
2545
2546 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2547
2548         * gio/gunixvolume.c:
2549         * gio/gvolume.[ch]:
2550         Remove g_volume_get_platform_id, as thats not
2551         needed with the simpler union volume monitor
2552
2553 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2554
2555         * gio/Makefile.am:
2556         * gio/guniondrive.[ch]: Removed.
2557         * gio/gunionvolume.[ch]: Removed.
2558         Remove GUnionDrive/Volume
2559
2560         * gio/gunionvolumemonitor.c:
2561         Simplify union volume monitor, now we
2562         only have one native volume monitor and
2563         we use the actual volumes/drives from the
2564         child monitors instead of wrapping them
2565
2566         * gio/gnativevolumemonitor.[ch]:
2567         Base class for native volume monitors.
2568         Includes priority and get_volume_for_mountpoint
2569         
2570         * gio/gfile.[ch]:
2571         Add g_file_find_enclosing_volume
2572
2573         * gio/gfileinfo.h:
2574         Remove volume name fs attribute
2575         Add readonly fs attribute
2576         
2577         * gio/glocalfile.c:
2578         Implement readonly attribute
2579         remove volume name attribute
2580         Implement find_enclosing volume
2581         
2582         * gio/gunixmounts.c:
2583         Add a volume for "/".
2584         
2585         * gio/gunixvolume.[ch]:
2586         Set better name for /
2587         
2588         * gio/gunixvolumemonitor.[ch]:
2589         Derive from GNativeVolumeMonitor
2590         Implement get_volume_for_mountpoint
2591         
2592         * gio/gvolume.h:
2593         GVolume typedef moved to gfile.h
2594         
2595         * gio/gvolumeprivate.h:
2596         Add g_volume_get_for_mount_path
2597
2598 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2599
2600         * gio/gunixmounts.[ch]:
2601         Add cache info to unix mount listers
2602         Make getmntent use threadsafe
2603         Add is_system_internal attribute for GUnixMount
2604         
2605         * gio/gunixvolume.c:
2606         (g_unix_volume_new):
2607         Use is_system_internal instead of own code
2608         
2609         * gio/glocaldirectorymonitor.c:
2610         * gio/gunixvolumemonitor.c:
2611         Update to new gunixmounts API
2612         
2613         * gio/glocalfile.c:
2614         Fix warning
2615
2616 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2617
2618         * gio/gfileinfo.h:
2619         Add volume name fsinfo attribute
2620         
2621         * gio/glocalfile.c:
2622         Read volume name info
2623         
2624         * gio/gunionvolumemonitor.c:
2625         Fix infinite loops when finalizing a union volume monitor
2626
2627 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2628
2629         * gio/goutputstream.[ch]:
2630         Add splice() with default implementation
2631         
2632         * gio/gsocketoutputstream.c:
2633         (g_socket_output_stream_write):
2634         Return error on cancellation correctly.
2635         
2636 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2637
2638         * gio/glocalfile.c (g_local_file_trash):
2639         Do not leak a string.
2640
2641 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2642
2643         * gio/gfile.c (g_file_load_contents):
2644         Unref the stream after closing it.
2645
2646 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2647
2648         * gio/gioscheduler.h:
2649         Fix include
2650
2651 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2652
2653         * gio/gfile.[ch]:
2654         * gio/glocalfile.c:
2655         Add g_file_has_uri_scheme and implement for local files
2656
2657 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
2658
2659         * gio/gdesktopappinfo.c: do not leak a string.
2660
2661 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2662
2663         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2664         (g_local_directory_monitor_new):
2665         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2666         (g_local_file_monitor_new):
2667         Only look for the monitor type that should be used the first time
2668         and use g_qsort_with_data() instead of our own bubble sort
2669         implementation.
2670
2671 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2672
2673         * gio/Makefile.am:
2674         * gio/fam/Makefile.am:
2675         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2676         * gio/fam/fam-helper.h:
2677         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2678         * gio/fam/gfamdirectorymonitor.c:
2679         * gio/fam/gfamdirectorymonitor.h:
2680         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2681         * gio/fam/gfamfilemonitor.h:
2682         * gio/glocaldirectorymonitor.c:
2683         * gio/glocaldirectorymonitor.h:
2684         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2685         * gio/glocalfilemonitor.h:
2686         * gio/inotify/Makefile.am:
2687         * gio/inotify/ginotifydirectorymonitor.c:
2688         * gio/inotify/ginotifydirectorymonitor.h:
2689         * gio/inotify/ginotifyfilemonitor.c:
2690         * gio/inotify/ginotifyfilemonitor.h:
2691         Implement the FAM and Inotify monitors as
2692         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2693         their own GIO module. GLocal(Directory|File)Monitor will use the
2694         monitor with the highest rank that is supported on that machine.
2695
2696 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
2697
2698         * gio/Makefile.am:
2699         Change GIO module dir to $(libdir)/gio/modules and change
2700         the log domain from GVFS to GIO. Also only export symbols starting
2701         with g_ in the resulting library.
2702         * gio/test-streams.c: (main):
2703         Set log handler for the GIO log domain.
2704
2705 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2706
2707         * gio/gfilenamecompleter.[ch]:
2708         Add g_filename_completer_set_dirs_only
2709
2710 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2711
2712         * gio/Makefile.am:
2713         * gio/gurifuncs.[ch]:
2714         Add some simple URI helpers
2715         
2716         * gio/gfilenamecompleter.[ch]:
2717         Added object for filename (parse name actually) completion
2718         
2719         * gio/glocalvfs.c:
2720         Handle ~ in parse names
2721
2722 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2723
2724         * gio/gfileinfo.h:
2725         * gio/glocalfileinfo.c:
2726         Add and implement id:value attribute
2727
2728 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2729
2730         * gio/gdrive.[ch]:
2731         * gio/guniondrive.c:
2732         * gio/gunixdrive.c:
2733         Add and implement g_drive_has_volumes
2734         
2735 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2736
2737         * gio/gfileinfo.h:
2738         * gio/glocalfileinfo.[ch]:
2739         Add unix:is_mountpoint and implement for local files
2740
2741 2007-10-16  Alexander Larsson  <alexl@redhat.com>
2742
2743         * gio/gunionvolumemonitor.c:
2744         (g_union_volume_monitor_init):
2745         Fix up the unix type getting so that it works with gcc
2746         
2747 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2748
2749         * gio/gfileinfo.h:
2750         * gio/glocalfileinfo.c:
2751         Add thumbnail:failed to file info
2752
2753 2007-10-12  Richard Hult  <richard@imendio.com>
2754
2755         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2756         optimizing away the get_type call (happens with some gcc versions,
2757         like the one shipped with OS X 10.4).
2758
2759 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2760
2761         * gio/glocalfileinfo.c:
2762         (_g_local_file_info_set_attribute):
2763         Fix build if not HAVE_XATTR
2764         Patch from Milosz Derezynski <internalerror@gmail.com>
2765
2766 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
2767
2768         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2769         around for review, otherwise I would have asked you before
2770         committing)
2771
2772 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2773
2774         * gio/gfileinfo.h:
2775         Add thumbnail:path attribute
2776         
2777         * gio/glocalfileinfo.c:
2778         Implement thumbnail:path for local files
2779
2780 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2781
2782         * gio/glocalfileinfo.c:
2783         (_g_local_file_info_get):
2784         Avoid duplicate icon names
2785
2786 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2787
2788         * gio/gthemedicon.[ch]:
2789         Change g_themed_icon_get_names return type to const
2790
2791 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2792
2793         * gio/glocalfileinfo.c:
2794         Don't reference freed memory
2795
2796 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2797
2798         * gio/gfileattribute.c:
2799         Handle objects
2800         
2801         * gio/glocalfileinfo.c:
2802         Return icon info
2803
2804 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2805
2806         * gio/gfileinfo.c:
2807         Check for NULL icons
2808
2809         * gio/gfileattribute.c:
2810         Don't dup when getting objects (same as for string attributes)
2811
2812         * gio/gicon.c (g_icon_equal):
2813         Safely handle NULLs in equal
2814
2815 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2816
2817         * gio/gfileinfo.h:
2818         Fix c++ compilation issues
2819         Patch from Milosz Derezynski <internalerror@gmail.com>
2820
2821 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2822
2823         * programs/gio-monitor-dir.c:
2824         Don't crash if dir monitor not supported.
2825
2826 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2827
2828         * gio/gioerror.h:
2829         Add missing G_END_DECLS
2830
2831 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2832
2833         * gio/gfile.c: (g_file_set_display_name),
2834         (g_file_query_settable_attributes),
2835         (g_file_query_writable_namespaces):
2836         Return NULL not FALSE on errors as the return type is a pointer.
2837
2838 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2839
2840         * gio/glocalfile.c: (g_local_file_monitor_file):
2841         Don't call monitor_file on the default interface vtable (which
2842         is NULL) but simply return NULL. The caller, GFile, will create a
2843         polling monitor if NULL is returned.
2844
2845 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2846
2847         * Makefile.am:
2848         * configure.ac:
2849         * gio-unix-2.0.pc.in:
2850         Add gio-unix-2.0.pc if OS_UNIX
2851         
2852         * gio/Makefile.am:
2853         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2854
2855 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2856
2857         * gio/gunixmounts.[ch]:
2858         Make unix mount monitoring API sane.
2859         Now its just a object with mounts_changed
2860         and mountpoints_changed signals.
2861         
2862         * gio/glocaldirectorymonitor.c:
2863         * gio/gunixvolumemonitor.c:
2864         Use new mount monitor api
2865
2866 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2867
2868         * gio/gunixmounts.[ch]:
2869         Move guess type into one call for mounts and one for mountpoints
2870         
2871         * gio/gunixdrive.c:
2872         * gio/gunixvolume.c:
2873         Update
2874
2875 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2876
2877         * gio/gunixmounts.[ch]:
2878         Remove _ prefix in preparation to make this semi-public
2879         Hide implementation of structs
2880         
2881         * gio/glocaldirectorymonitor.c:
2882         * gio/gunixdrive.c:
2883         * gio/gunixvolume.c:
2884         * gio/gunixvolumemonitor.c:
2885         Update for above API changes
2886
2887 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2888
2889         * gio/gfile.c:
2890         Better polling fallback. This also handles the case where we have
2891         a monitor_file implementation, but it fails.
2892
2893 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2894
2895         * gio/gfile.[ch]:
2896         * gio/glocalfile.c:
2897         * gio/gunixmounts.c:
2898         * programs/gio-monitor-dir.c:
2899         * programs/gio-monitor-file.c:
2900         Added cancellable to file monitoring calls.
2901         These are really sync calls and need this.
2902
2903 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
2904
2905         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2906         (g_local_vfs_class_init):
2907         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2908         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2909
2910 2007-10-05  Alexander Larsson  <alexl@redhat.com>
2911
2912         * gio/gdirectorymonitorprivate.h: 
2913         * gio/gfilemonitorprivate.h: 
2914         * gio/gdirectorymonitor.h:
2915         * gio/gfilemonitor.h:
2916         Remove *private.h and move to the public API, so that
2917         we can do implementations outside gio (such as in gvfs)
2918         
2919         * gio/gdirectorymonitor.c:
2920         * gio/gfilemonitor.c:
2921         * gio/glocaldirectorymonitor.c:
2922         * gio/gpollfilemonitor.c:
2923         * gio/inotify/inotify-helper.c:
2924         * gio/fam/fam-helper.c:
2925         Update to the new header names
2926
2927 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
2928
2929         * gio/gdirectorymonitor.c:
2930         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2931         GTypes as abstract.
2932
2933 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2934
2935         * gio/glocalfileinfo.c (get_access_rights):
2936         Set CAN_TRASH when we can move the file.
2937         We should really also check for a parent trash dir.
2938
2939 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2940
2941         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2942         Add can_trash access attribute
2943
2944 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2945
2946         * gio/glocalfile.c:
2947         (g_local_file_trash):
2948         Create info file first. This is per-spec and allows
2949         us to actually trash directories.
2950
2951 2007-10-02  Alexander Larsson  <alexl@redhat.com>
2952
2953         * gio/gdesktopappinfo.c:
2954         Implement the new mime support code.
2955         Always set app as handling mimetype when being set as default for it
2956
2957 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2958
2959         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2960         Fix up check for xattrs:
2961
2962 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2963
2964         * gio/gappinfo.c:
2965         (g_app_info_set_as_default_for_extension):
2966         (g_app_info_add_supports_type):
2967         (g_app_info_can_remove_supports_type):
2968         (g_app_info_remove_supports_type):
2969         Make these fail nicely if not implemented
2970
2971 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
2972
2973         * gio/glocalfileoutputstream.c:
2974         * gio/glocalfileoutputstream.h:
2975         * gio/test-gio.c:
2976         * gio/gfile.c:
2977         * gio/gfile.h:
2978         * gio/glocalfile.c:
2979         * programs/gio-save.c: 
2980         Add a GFileCreateFlags argument to operations that can create
2981         a new file.
2982
2983 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2984
2985         * gio/gappinfo.[ch]:
2986         * gio/gdesktopappinfo.c:
2987         Add more (stubbed out) mime API needed for nautilus
2988
2989 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2990
2991         * gio/gappinfo.h:
2992         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2993         Add g_app_info_set_as_default_for_extension.
2994         
2995         * gio/gdesktopappinfo.c:
2996         Dummy for g_app_info_set_as_default_for_extension
2997         Support flags in g_app_info_create_from_commandline
2998
2999         * gio/gwin32appinfo.c:
3000         * gio/test-gio.c:
3001         Update for API changes
3002         
3003         * gio/gthemedicon.c:
3004         Properly NULL-terminate list of icon names
3005
3006 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3007
3008         * gio/gloadableicon.h:
3009         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3010
3011 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3012
3013         * gio/Makefile.am:
3014         Install headers in $includedir/gio-standalone/
3015         
3016         * gio-2.0.pc.in: Added.
3017         * gio-standalone.pc.in: Removed.
3018         * configure.ac:
3019         * Makefile.am:
3020         Renamed pkg-config file to match glib (for future move)
3021         Update to the new include dir
3022         
3023         * gio/gappinfo.h:
3024         Add more TODO comments
3025
3026 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3027
3028         * gio/gdesktopappinfo.[ch]:
3029         Expose new_from_filename
3030         Add getter for is_hidden and handle it better
3031
3032 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3033
3034         * gio/gfileinfo.[ch]:
3035         Rename g_file_size_format_for_display to
3036         g_format_file_size_for_display.
3037         Now it doesn't have the g_file prefix, so we
3038         can later move it to glib.
3039
3040 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3041
3042         * gio/gappinfo.[ch]:
3043         Add g_app_info_get_id and g_app_info_get_executable.
3044         Make all getters non-reffing
3045         Make g_app_info_launch take GFile arguments.
3046         Add must_support_uris argument to g_app_info_get_default_for_type.
3047         
3048         * gio/gwin32appinfo.c:
3049         Update to GAppInfo api changes
3050         
3051         * gio/gdesktopappinfo.c:
3052         Update to GAppInfo api changes
3053         Implement supports_xdg_startup_notify
3054         
3055         * gio/gfileicon.c (g_file_icon_get_file):
3056         Make getter non-reffing.
3057         
3058         * gio/test-gio.c:
3059         Update to new API
3060
3061 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3062
3063         * gio/gfileinfo.[ch]: 
3064         Add g_file_size_format_for_display helper
3065         
3066 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3067
3068         * gio/glocalfileinfo.c:
3069         Set UNIX_GID from gid, not from uid
3070
3071 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3072
3073         * gio/gfile.[ch]:
3074         Add g_file_set_attributes_async
3075
3076 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3077
3078         * gio/glocalfile.c (g_local_file_set_display_name):
3079         Fix set_display_name to actually rename to the right place.
3080         Use lstat to look for existing files so we don't overwrite
3081         broken links.
3082
3083 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3084
3085         * gio/gfile.[ch]:
3086         Add g_file_set_display_name_async()
3087
3088 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3089
3090         * gio/gfile.[ch]:
3091         Add load_partial_contents async calls
3092         
3093         * gio/glocalfile.c:
3094         Make internal function static
3095
3096 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3097
3098         * gio/glocalfileinfo.c:
3099         Correctly detect broken symlinks
3100
3101 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3102
3103         * gio/gcancellable.c (g_cancellable_cancel):
3104         Allow cancel on NULL cancellable
3105
3106 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3107
3108         * gio/gsimpleasyncresult.c:
3109         Don't allocate g_error manually.
3110         Fixes g_slice/g_new mixup crash
3111
3112 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3113
3114         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3115         Actually set active_backend.
3116         This means the monitor will be cancelled correctly.
3117
3118 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3119
3120         * gio/gdirectorymonitor.c:
3121         Set timeout to NULL when destroying
3122
3123 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3124
3125         * gio/gioerror.h:
3126         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3127         that is a better description of the error.
3128
3129 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
3130
3131         * gio/gvfs.c: (g_vfs_get_local):
3132         Make the local vfs variable static. The same instance should
3133         always be returned.
3134
3135 2007-09-24  Alexander Larsson  <alexl@redhat.com>
3136
3137         * gio/glocalfileinfo.c:
3138         Pass in actual length read into sniffer, not the length
3139         we tried to read.
3140
3141 2007-09-21  Alexander Larsson  <alexl@redhat.com>
3142
3143         * gio/gfileenumerator.c:
3144         * gio/gfileinfo.c:
3145         * gio/gfileinfo.h:
3146         * gio/gfileinputstream.c:
3147         * gio/gfileoutputstream.c:
3148         * gio/ginputstream.c:
3149         * gio/goutputstream.c:
3150         Don't crash if async callbacks are NULL
3151
3152 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3153
3154         * gio/gfile.[ch]:
3155         Add async enumerate_children method and default
3156         implementation
3157
3158 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3159
3160         * gio/gfile.[ch]
3161         Add g_file_contains_file & g_file_get_relative_path, since they
3162         were needed for nautilus.
3163         Renamed g_file_resolve_relative to g_file_resolve_relative_path
3164         to make it clearer.
3165         
3166         * gio/gdummyfile.c:
3167         * gio/glocalfile.c:
3168         Implement new methods
3169
3170 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3171
3172         * gio/gfile.[ch]:
3173         * gio/gfileinputstream.[ch]:
3174         * gio/gfileoutputstream.[ch]:
3175         * gio/glocalfile.c:
3176         * gio/glocalfileenumerator.[ch]:
3177         * gio/glocalfileinfo.[ch]:
3178         * gio/glocalfileinputstream.c:
3179         * gio/glocalfileoutputstream.c:
3180         * gio/gpollfilemonitor.c:
3181         * programs/gio-copy.c:
3182         * programs/gio-info.c:
3183         * programs/gio-move.c:
3184         Rename get_file_info to query_info() to make it clearer
3185         that these are not simple getters, but do i/o.
3186
3187 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3188
3189         * gio/gdatainputstream.[ch]:
3190         * gio/test-streams.c:
3191         Use _read_XXX instead of _get_XXX for the i/o calls
3192         in GDataInputStream
3193
3194 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3195
3196         * gio/gappinfo.h:
3197         Added needed stuff to TODO comment
3198
3199 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3200
3201         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3202         Don't error out removing the backup copy if it doesn't
3203         already exist.
3204
3205 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3206
3207         * programs/Makefile.am:
3208         * programs/gvfs-*.c: 
3209         * programs/gio-*.c:
3210         Renamed apps from gvfs-xxx to gio-xxx.
3211
3212 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3213
3214         * gio/gfile.c:
3215         * gio/gfileoutputstream.[ch]:
3216         * gio/glocalfileoutputstream.c:
3217         * programs/gvfs-save.c:
3218         g_file_output_stream_get_etag doesn't do i/o, so remove
3219         cancellation and error.
3220
3221 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3222
3223         * gio/gfile.[ch]:
3224         Add new_etag output to replace_contents functions
3225
3226 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3227
3228         * gio/gfileoutputstream.[ch]:
3229         Add async get_file_info and default implementation
3230
3231 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3232
3233         * gio/gfileinputstream.c:
3234         Implement fallback wrapper for async get_file_info
3235
3236 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3237
3238         * gio/gfile.[ch]:
3239         Add etag out argument to load_contents
3240         
3241         * gio/test-gio.c:
3242         Update to new API
3243
3244 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3245
3246         * gio/gcontenttype.c (looks_like_text):
3247         Whitespace like tab, cr and lf do not make the
3248         file binary.
3249
3250 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3251
3252         * gio/gfileinputstream.[ch]:
3253         Add async get_file_info.
3254
3255 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3256
3257         * gio/goutputstream.c (g_output_stream_write_all):
3258         Allow NULL for bytes_written
3259
3260 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3261
3262         * gio/gmemoryinputstream.[ch]:
3263         Add accessors for data
3264
3265 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3266
3267         * gio/gdatainputstream.c (g_data_input_stream_get_until):
3268         Don't crash if length is NULL
3269