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