1 2007-11-27 Andre Klapper <a9016009@gmx.de>
3 * glocalfileoutputstream.c: Fix a typo.
5 2007-11-27 Alexander Larsson <alexl@redhat.com>
8 Don't include removed headers
10 2007-11-27 Alexander Larsson <alexl@redhat.com>
13 * gsocketinputstream.[ch]: Removed.
14 * gsocketoutputstream.[ch]: Removed.
15 * gunixinputstream.[ch]: Added.
16 * gunixoutputstream.[ch]: Added.
17 Renamed GSocket*Stream to GUnix*Stream and made
18 it unix-only, since its not really only for sockets
19 and it only works on unix (but is highly useful there).
21 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
27 * gbufferedinputstream.c:
28 * gbufferedinputstream.h:
29 * gbufferedoutputstream.c:
30 * gbufferedoutputstream.h:
36 * gdataoutputstream.c:
37 * gdataoutputstream.h:
38 * gdirectorymonitor.c:
39 * gdirectorymonitor.h:
56 * gfilenamecompleter.c:
57 * gfilenamecompleter.h:
58 * gfileoutputstream.c:
59 * gfileoutputstream.h:
60 * gfilterinputstream.c:
61 * gfilterinputstream.h:
62 * gfilteroutputstream.c:
63 * gfilteroutputstream.h:
76 * glocalfileoutputstream.c:
77 * gmemoryinputstream.c:
78 * gmemoryinputstream.h:
79 * gmemoryoutputstream.c:
80 * gmemoryoutputstream.h:
88 * gsimpleasyncresult.c:
89 * gsimpleasyncresult.h:
90 * gsocketinputstream.c:
91 * gsocketinputstream.h:
92 * gsocketoutputstream.c:
93 * gsocketoutputstream.h:
100 * gunixvolumemonitor.c:
109 Bumps documentation to 93% symbol coverage, touching most
110 of the public files. Fixes broken function documentation prototypes.
111 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
112 gtk-doc headers in private files.
114 2007-11-27 Jürg Billeter <j@bitron.ch>
116 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
117 (g_buffered_input_stream_read_byte):
118 * gbufferedinputstream.h:
119 New functions for efficient access to buffer and simple single byte
122 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
123 (g_data_input_stream_read_until):
124 * gdatainputstream.h:
125 Use peek_buffer to avoid memcpy in scan_for_newline, implement
126 read_until with multiple stop chars.
128 2007-11-27 Alexander Larsson <alexl@redhat.com>
132 * inotify/Makefile.am:
133 Use the user-specified giomoduledir
135 2007-11-27 Alexander Larsson <alexl@redhat.com>
139 Add catch-all gio.h header
140 Don't install gdummyfile.h
142 2007-11-26 Alexander Larsson <alexl@redhat.com>
144 * Makefile.am (gioinclude_HEADERS):
145 Remove trailing whitespace
147 2007-11-26 Alexander Larsson <alexl@redhat.com>
149 Merge gio-standalone into glib
151 2007-11-25 Christian Kellner <gicmo@gnome.org>
153 * gio/goutputstream.c:
154 Fix small mistake in the docs.
156 2007-11-21 Christian Persch <chpe@gnome.org>
158 * gio/glocalfile.c: (g_local_file_trash):
159 Convert filenames to UTF-8 for GError.
160 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
161 as per xdg base dir spec.
163 2007-11-21 Christian Persch <chpe@gnome.org>
165 * gio/gdesktopappinfo.c:
166 Use that g_key_file_to_data cannot fail.
168 Use stock defines for the key file group and key names.
171 2007-11-21 Alexander Larsson <alexl@redhat.com>
174 (copy_stream_with_progress):
175 Make sure we do a final progress callback with
178 2007-11-21 Alexander Larsson <alexl@redhat.com>
181 Export g_file_copy_attributes
182 Remove padding as its not needed for interfaces
184 2007-11-20 Alexander Larsson <alexl@redhat.com>
189 Add G_IO_ERROR_WOULD_MERGE for
190 copy/move dir on dir with overwrite.
192 2007-11-20 Alexander Larsson <alexl@redhat.com>
195 * gio/glocalfileinfo.c:
196 Add COPY_NAME (this is an optional
197 non-modified utf8 version of the name) that
200 2007-11-20 Alexander Larsson <alexl@redhat.com>
202 * gio/glocalfileenumerator.c:
203 Report errors as GIOError, not GFileError
205 2007-11-16 Alexander Larsson <alexl@redhat.com>
207 * gio/glocalfileoutputstream.c:
208 * gio/gwin32appinfo.c:
209 Fix typos in strings.
210 Patch from Luca Ferretti <elle.uca@libero.it>
212 2007-11-15 Alexander Larsson <alexl@redhat.com>
215 Post release version bump
217 === gio-standalone 0.1.2 ===
219 2007-11-15 Alexander Larsson <alexl@redhat.com>
221 * docs/reference/gio/Makefile.am:
222 Fix up distcheck by removing weird
228 2007-11-14 Alexander Larsson <alexl@redhat.com>
230 * gio/gdesktopappinfo.c:
231 * gio/glocaldirectorymonitor.c:
233 * gio/glocalfileinfo.c:
234 * gio/inotify/inotify-sub.c:
235 * programs/gio-cat.c:
236 * programs/gio-copy.c:
237 * programs/gio-info.c:
239 * programs/gio-monitor-dir.c:
240 * programs/gio-monitor-file.c:
241 * programs/gio-mount.c:
242 * programs/gio-move.c:
244 * programs/gio-save.c:
245 * programs/gio-trash.c:
246 Leak fixes from Kjartan Maraas
248 2007-11-14 Alexander Larsson <alexl@redhat.com>
250 * gio/fam/fam-helper.c:
252 * gio/glocalfileinfo.c:
256 * gio/inotify/inotify-diag.c:
257 * gio/inotify/inotify-kernel.c:
258 Various code cleanups from Kjartan Maraas
260 2007-11-14 Alexander Larsson <alexl@redhat.com>
262 * gio/gioscheduler.c:
264 Set up threadpool so that we cache 2 unused
265 idle threads for at 15 secs. This means we
266 will reuse thread-local data (like dbus connections)
269 2007-11-14 Alexander Larsson <alexl@redhat.com>
271 * gio/fam/fam-helper.c:
272 * gio/fam/gfamdirectorymonitor.c:
273 * gio/fam/gfamfilemonitor.c:
275 * gio/gcontenttype.c:
276 * gio/gdatainputstream.c:
277 * gio/gdataoutputstream.c:
281 * gio/gfileattribute.h:
282 * gio/gfileenumerator.c:
284 * gio/ginputstream.c:
287 * gio/glocalfileinfo.c:
288 * gio/goutputstream.c:
289 * gio/gpollfilemonitor.c:
290 * gio/gsimpleasyncresult.c:
293 * gio/inotify/ginotifydirectorymonitor.c:
294 * gio/inotify/ginotifyfilemonitor.c:
295 * gio/inotify/inotify-diag.c:
296 * gio/inotify/inotify-kernel.c:
297 * gio/inotify/inotify-path.c:
299 * gio/test-streams.c:
300 * programs/gio-info.c:
301 * programs/gio-monitor-dir.c:
302 * programs/gio-monitor-file.c:
303 Various code cleanups from Kjartan Maraas
305 2007-11-13 Alexander Larsson <alexl@redhat.com>
308 Handle the uri-scheme calls for dummy files
310 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
312 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
313 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
314 to avoid clash with the C++ keyword.
316 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
318 * gio/glocalfileinfo.c: Build fix, added missing semicolon
319 to an ifdef'ed call to getpwuid() in lookup_uid_data().
321 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
323 * gio/glocaldirectorymonitor.c:
324 * gio/glocalfilemonitor.c:
325 * gio/gunionvolumemonitor.c:
326 Don't use g_once_init_*() for initializations that could fail and
327 could leave the initialization variable set to 0 but use GOnce.
328 This prevents a deadlock on the second call when trying to create
329 a monitor and no monitor type is available. Thanks to Sven Herzberg
332 2007-11-11 Sven Herzberg <sven@imendio.com>
334 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
335 #ifdef (make it work on MacOS X again)
337 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
339 Fixes Changelog for last two commits (sorry guys).
341 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
343 * gio/gbufferedinputstream.c:
344 * gio/gdatainputstream.c:
346 * gio/gfileoutputstream.c:
347 * gio/gfilterinputstream.c:
348 * gio/glocalfileinputstream.c:
351 More consistency fixes in g*stream.c files.
352 Significant clean of gfile's documentation, filling in of
353 asynchronous operations documentation.
355 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
357 * gio/gasyncresult.c:
358 * gio/gbufferedinputstream.c:
359 * gio/gbufferedoutputstream.c:
360 * gio/gcancellable.c:
361 * gio/gcontenttype.c:
362 * gio/gdatainputstream.c:
363 * gio/gdataoutputstream.c:
364 * gio/gdesktopappinfo.c:
367 * gio/gfileattribute.c:
368 * gio/gio/gfileenumerator.c:
370 * gio/gfileinputstream.c:
371 * gio/gfilemonitor.c:
372 * gio/gfileoutputstream.c:
373 * gio/ginputstream.c:
375 * gio/gioscheduler.c:
376 * gio/gloadableicon.c:
377 * gio/glocalfileoutputstream.c:
378 * gio/gmemoryoutputstream.c:
379 * gio/gmountoperation.c:
380 * gio/goutputstream.c:
382 * gio/gsimpleasyncresult.c:
383 * gio/gunionvolumemonitor.c:
389 * gio/gvolumemonitor.c:
390 Updated documentation stubs, working towards consistency and
393 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
395 * gio/gmemoryoutputstream.c:
396 * gio/gmemoryoutputstream.h:
397 Change g_memory_output_stream_set_free_on_close() to
398 g_memory_output_stream_set_free_data() as this makes more sense and
399 is more consistent with GMemoryInputStream.
401 2007-11-07 Alexander Larsson <alexl@redhat.com>
408 Change how we find the default vfs so that
409 we can handle a gvfs failing to init
411 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
413 * gio/gbufferedoutputstream.c:
414 * gio/gdatainputstream.c:
415 * gio/gdataoutputstream.c:
416 * gio/gfileinputstream.c:
417 * gio/gfileoutputstream.c:
418 * gio/gfilterinputstream.c:
419 * gio/gfilteroutputstream.c:
420 * gio/ginputstream.c:
421 * gio/gmemoryinputstream.c:
422 * gio/gmemoryoutputstream.c:
423 * gio/goutputstream.c:
424 * gio/gsimpleasyncresult.c:
425 * gio/gsocketinputstream.c:
426 * gio/gsocketoutputstream.c:
427 Add guards to the remaining public functions, add a TODO for
428 an unimplemented function and remove some useless guards.
430 2007-11-07 Alexander Larsson <alexl@redhat.com>
433 Autoconf checks for the various types of
434 getpwuid_r and getgrgid_r
436 * gio/glocalfileinfo.c:
437 Use the autoconf checks from above
439 2007-11-07 Alexander Larsson <alexl@redhat.com>
442 (g_local_file_query_filesystem_info):
443 Some fixes for the statvfs case
445 2007-11-07 Alexander Larsson <alexl@redhat.com>
448 (g_local_file_query_filesystem_info):
449 Pick the "best" of statfs / statvfs for the system
450 if both are availible.
452 2007-11-07 Alexander Larsson <alexl@redhat.com>
454 Solaris fixes from Halton.Huo@Sun.COM:
461 * gio/glocalfileinfo.c:
462 Fix for solaris definition of getpwuid_r
464 * gio/test-streams.c:
465 Use G_GNUC_PRETTY_FUNCTION
467 2007-11-07 Alexander Larsson <alexl@redhat.com>
469 * gio/gdesktopappinfo.c:
470 (update_default_list):
471 Remove double semicolon.
472 Patch from Jens Granseuer
474 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
476 * docs/reference/gio/gio-sections.txt:
477 * gio/gbufferedinputstream.c:
478 * gio/gbufferedinputstream.h:
479 * gio/gdatainputstream.c:
480 * gio/gfileenumerator.c:
481 * gio/gioscheduler.c:
482 * gio/gunionvolumemonitor.c:
484 * programs/gio-save.c:
485 Fix typo: availible -> available. Unfortuntely this breaks API
486 and ABI as g_buffered_input_stream_get_available() was renamed.
489 * gio/gbufferedinputstream.c:
490 Add guards for public functions.
492 2007-11-06 Ross Burton <ross@openedhand.com>
494 * docs/reference/gio/Makefile.am:
495 Fix invalid += usage which automake 1.10 doesn't like.
497 2007-11-06 Alexander Larsson <alexl@redhat.com>
500 (g_app_launch_context_class_init):
503 Patch from Ross Burton
505 2007-11-06 Alexander Larsson <alexl@redhat.com>
508 Post release version bump
510 === gio-standalone 0.1.1 ===
512 2007-11-06 Alexander Larsson <alexl@redhat.com>
515 Bump version to 0.1.1
517 * gio/gsimpleasyncresult.c:
518 (g_simple_async_result_set_from_error):
519 Remove bogus g_return_if_fail
521 2007-11-06 Alexander Larsson <alexl@redhat.com>
524 The name is gio-standalone
527 Add top src/builddir to includedir
529 2007-11-06 Alexander Larsson <alexl@redhat.com>
531 * docs/reference/gio/gio-sections.txt:
533 * gio/gbufferedinputstream.c:
534 * gio/gbufferedoutputstream.c:
535 * gio/gcancellable.c:
536 * gio/gdatainputstream.h:
537 * gio/gdataoutputstream.c:
538 * gio/gdataoutputstream.h:
539 * gio/gdirectorymonitor.c:
541 * gio/gfileattribute.c:
542 * gio/gfileattribute.h:
543 * gio/gfileenumerator.c:
544 * gio/gfileenumerator.h:
547 * gio/gfileinputstream.h:
548 * gio/gfilemonitor.c:
549 * gio/gfileoutputstream.h:
550 * gio/glocalfilemonitor.h:
551 * gio/glocalfileoutputstream.h:
552 * gio/gmemoryinputstream.c:
553 * gio/gmemoryoutputstream.c:
554 * gio/gmountoperation.c:
555 * gio/goutputstream.c:
556 * gio/goutputstream.h:
558 * gio/gsimpleasyncresult.c:
562 * gio/inotify/inotify-helper.c:
565 Patch from Ross Burton
567 2007-11-06 Alexander Larsson <alexl@redhat.com>
569 * gio/gfilenamecompleter.c:
570 (g_filename_completer_get_completions):
574 Remove unused function
576 Patches from Ross Burton
578 2007-11-06 Alexander Larsson <alexl@redhat.com>
583 Padding not needed for interfaces
585 2007-11-06 Alexander Larsson <alexl@redhat.com>
587 * gio/gfilemonitor.c:
591 Make giotypes.h an internal file
594 * gio/gbufferedinputstream.h:
595 * gio/gbufferedoutputstream.h:
596 * gio/gcancellable.h:
597 * gio/gdatainputstream.h:
598 * gio/gdataoutputstream.h:
599 * gio/gdirectorymonitor.c:
600 * gio/gdirectorymonitor.h:
605 * gio/gfileattribute.h:
606 * gio/gfileenumerator.h:
611 * gio/gfilemonitor.c:
612 * gio/gfilemonitor.h:
613 * gio/gfilenamecompleter.c:
614 * gio/gfilenamecompleter.h:
615 * gio/gfilterinputstream.h:
616 * gio/gfilteroutputstream.h:
617 * gio/ginputstream.h:
618 * gio/gmemoryinputstream.h:
619 * gio/gmemoryoutputstream.h:
620 * gio/gmountoperation.c:
621 * gio/gmountoperation.h:
622 * gio/gnativevolumemonitor.c:
623 * gio/goutputstream.h:
626 * gio/gsimpleasyncresult.c:
627 * gio/gsimpleasyncresult.h:
628 * gio/gsocketinputstream.h:
629 * gio/gsocketoutputstream.h:
635 * gio/gvolumemonitor.c:
636 * gio/gvolumemonitor.h:
637 Add padding in classes where it seems useful
638 Don't include giotypes.h from public headers
639 Move in Class definitions into c file where possible
644 2007-11-06 Alexander Larsson <alexl@redhat.com>
646 * docs/reference/gio/gio-docs.xml:
647 Better structure for API docs
649 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
652 * gio/gloadableicon.c:
653 * gio/gsimpleasyncresult.c:
655 Add some more guards to public functions. Only files missing are now
658 2007-11-06 Alexander Larsson <alexl@redhat.com>
660 * docs/reference/gio/gio-docs.xml:
661 Remove old files, add missing ones
663 2007-11-06 Alexander Larsson <alexl@redhat.com>
665 * docs/reference/gio/gio-sections.txt:
668 Hide implementation classes
670 * gio/gdriveprivate.h:
671 * gio/gvolumeprivate.h:
672 Remove non-existing function declarations
674 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
677 Fix compilation warnings and add guards to the new functions.
679 * gio/gasyncresult.c:
681 Add guards to the public functions.
684 Implement get_path().
686 2007-11-06 Alexander Larsson <alexl@redhat.com>
688 * gio/gfilenamecompleter.c:
689 Make g_filename_completer_get_completions
690 return char ** instead of GList for
693 * docs/reference/gio/gio-docs.xml:
694 * docs/reference/gio/gio-sections.txt:
696 * gio/gasyncresult.c:
697 * gio/gbufferedinputstream.c:
698 * gio/gbufferedoutputstream.c:
699 * gio/gcancellable.c:
700 * gio/gcontenttype.c:
701 * gio/gdatainputstream.c:
702 * gio/gdataoutputstream.c:
703 * gio/gdesktopappinfo.c:
704 * gio/gdirectorymonitor.c:
708 * gio/gfileattribute.c:
709 * gio/gfileenumerator.c:
712 * gio/gfileinputstream.c:
713 * gio/gfilemonitor.c:
714 * gio/gfilenamecompleter.c:
715 * gio/gfilenamecompleter.h:
716 * gio/gfileoutputstream.c:
717 * gio/gfilterinputstream.c:
719 * gio/ginputstream.c:
721 * gio/gioscheduler.c:
722 * gio/gloadableicon.c:
723 * gio/glocaldirectorymonitor.c:
725 * gio/glocalfileinputstream.c:
726 * gio/glocalfilemonitor.c:
727 * gio/glocalfileoutputstream.c:
729 * gio/gmemoryinputstream.c:
730 * gio/gmemoryoutputstream.c:
731 * gio/gmountoperation.c:
732 * gio/goutputstream.c:
733 * gio/gpollfilemonitor.c:
735 * gio/gsimpleasyncresult.c:
736 * gio/gsocketinputstream.c:
737 * gio/gsocketoutputstream.c:
739 * gio/gunionvolumemonitor.c:
743 * gio/gunixvolumemonitor.c:
747 * gio/gvolumemonitor.c:
748 * gio/gwin32appinfo.c:
749 Add (mostly stub) doc strings to public functions.
750 Patch from Andrew Walton (awalton@gmail.com)
752 2007-11-06 Alexander Larsson <alexl@redhat.com>
755 Added GAppLaunchContext object and pass that to launch.
756 This allows simple implementation of both
757 launch-on-screen and startup notification via a gtk+
758 subclass of GAppLaunchContext
760 * gio/gdesktopappinfo.c:
761 Implement GAppLaunchContext API
763 * gio/gwin32appinfo.c:
766 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
768 * gio/gmountoperation.c:
769 Add some guards to GMountOperation's public functions.
771 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
775 * gio/gcancellable.c:
776 * gio/gdirectorymonitor.c:
778 * gio/gfileenumerator.c:
779 * gio/gfilemonitor.c:,
780 * gio/gfilenamecompleter.c:
783 * gio/gioscheduler.c:
787 * gio/gvolumemonitor.c:
788 Add even more guards to various public functions.
790 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
793 Add guards to the public functions of GAppInfo.
795 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
797 * gio/gcontenttype.c:
798 Add some more guards for public functions.
800 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
802 * gio/fam/fam-module.c:
803 * gio/fam/gfamdirectorymonitor.c:
804 * gio/fam/gfamdirectorymonitor.h:
805 * gio/fam/gfamfilemonitor.c:
806 * gio/fam/gfamfilemonitor.h:
807 * gio/inotify/ginotifydirectorymonitor.c:
808 * gio/inotify/ginotifydirectorymonitor.h:
809 * gio/inotify/ginotifyfilemonitor.c:
810 * gio/inotify/ginotifyfilemonitor.h:
811 Add proper copyright information and remove an unused variable
812 in the GInotifyFileMonitor constructor.
814 * gio/gcancellable.c:
815 Add a guard for a public function and an assertion to prevent
816 an undefined program state.
818 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
820 * gio/gfileattribute.c:
821 Don't run into an assertion if the given attribute value is NULL
822 in g_file_attribute_value_get_*() but instead return a fallback
823 value that makes sense in most situations. Passing them a attribute
824 value with the wrong type will still run into an assertion.
826 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
828 * gio/gfileattribute.c:
830 Add even more guards to the public functions. Also fix the refcounting
831 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
832 let g_file_info_list_attributes() filter the attributes by namespace
833 instead of simply ignoring the namespace parameter.
835 2007-11-03 Sven Herzberg <sven@imendio.com>
837 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
838 (This makes gio work on MacOS X again)
840 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
843 Build the gio subdirectory before the docs. Otherwise the build will
846 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
847 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
848 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
849 Add guards to the public functions.
851 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
853 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
854 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
855 to prevent a compiler warning.
857 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
858 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
859 return something in the non-void function find_topdir_for().
861 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
868 2007-11-01 Ryan Lortie <desrt@desrt.ca>
870 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
871 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
872 * gwin32appinfo.c (g_win32_app_info_launch):
873 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
874 envp_for_startup_id, g_desktop_app_info_launch,
875 g_desktop_app_info_launch_uris):
877 Give an opaque 'startup_id' string instead of 'envp'.
878 Support empty file lists for launching new windows.
879 Fix infinite recursion bug when launching URIs.
881 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
884 Add guard to the new g_file_get_uri_scheme() function.
886 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
889 Convert a g_return_val_if_fail() to setting the GError instead as
890 otherwise applications have to verify the parameter before otherwise
891 and the parameter might come directly from the user.
893 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
895 * gio/inotify/ginotify*.[ch]:
896 Add missing copyright information.
898 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
901 Add guards in the beginning of public functions to check for valid
902 parameters and fix a bug in copy_stream_with_progress() that could've
903 caused writing less bytes than reading.
904 * gio/glocalfileinfo.c:
905 Check for a NULL parameter and set the GError accordingly then.
906 * gio/goutputstream.c:
907 Fix the same bug as in gfile.c that could've caused writing less bytes
908 than reading in g_output_stream_real_splice().
910 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
913 Use the correct gvolumeprivate.h naming
915 2007-11-01 Christian Kellner <gicmo@gnome.org>
918 Remove leftover "$(daemon_sources)" entry.
920 2007-11-01 Christian Kellner <gicmo@gnome.org>
925 Add copyright information to source files.
927 2007-11-01 Alexander Larsson <alexl@redhat.com>
931 Add g_file_get_uri_scheme
933 2007-11-01 Alexander Larsson <alexl@redhat.com>
936 * gio/gdesktopappinfo.c:
937 * gio/gwin32appinfo.c:
938 Add g_app_info_get_default_for_uri_scheme.
940 2007-11-01 Alexander Larsson <alexl@redhat.com>
943 Correct filename for gdriveprivate.h
945 2007-10-31 Alexander Larsson <alexl@redhat.com>
948 Rename id:value to id:file
951 * gio/glocalfileinfo.c:
954 2007-10-31 Alexander Larsson <alexl@redhat.com>
958 Remove g_volume_get_platform_id, as thats not
959 needed with the simpler union volume monitor
961 2007-10-31 Alexander Larsson <alexl@redhat.com>
964 * gio/guniondrive.[ch]: Removed.
965 * gio/gunionvolume.[ch]: Removed.
966 Remove GUnionDrive/Volume
968 * gio/gunionvolumemonitor.c:
969 Simplify union volume monitor, now we
970 only have one native volume monitor and
971 we use the actual volumes/drives from the
972 child monitors instead of wrapping them
974 * gio/gnativevolumemonitor.[ch]:
975 Base class for native volume monitors.
976 Includes priority and get_volume_for_mountpoint
979 Add g_file_find_enclosing_volume
982 Remove volume name fs attribute
983 Add readonly fs attribute
986 Implement readonly attribute
987 remove volume name attribute
988 Implement find_enclosing volume
991 Add a volume for "/".
993 * gio/gunixvolume.[ch]:
994 Set better name for /
996 * gio/gunixvolumemonitor.[ch]:
997 Derive from GNativeVolumeMonitor
998 Implement get_volume_for_mountpoint
1001 GVolume typedef moved to gfile.h
1003 * gio/gvolumeprivate.h:
1004 Add g_volume_get_for_mount_path
1006 2007-10-31 Alexander Larsson <alexl@redhat.com>
1008 * gio/gunixmounts.[ch]:
1009 Add cache info to unix mount listers
1010 Make getmntent use threadsafe
1011 Add is_system_internal attribute for GUnixMount
1013 * gio/gunixvolume.c:
1014 (g_unix_volume_new):
1015 Use is_system_internal instead of own code
1017 * gio/glocaldirectorymonitor.c:
1018 * gio/gunixvolumemonitor.c:
1019 Update to new gunixmounts API
1024 2007-10-30 Alexander Larsson <alexl@redhat.com>
1027 Add volume name fsinfo attribute
1030 Read volume name info
1032 * gio/gunionvolumemonitor.c:
1033 Fix infinite loops when finalizing a union volume monitor
1035 2007-10-30 Alexander Larsson <alexl@redhat.com>
1037 * gio/goutputstream.[ch]:
1038 Add splice() with default implementation
1040 * gio/gsocketoutputstream.c:
1041 (g_socket_output_stream_write):
1042 Return error on cancellation correctly.
1044 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1046 * gio/glocalfile.c (g_local_file_trash):
1047 Do not leak a string.
1049 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1051 * gio/gfile.c (g_file_load_contents):
1052 Unref the stream after closing it.
1054 2007-10-25 Alexander Larsson <alexl@redhat.com>
1056 * gio/gioscheduler.h:
1059 2007-10-25 Alexander Larsson <alexl@redhat.com>
1063 Add g_file_has_uri_scheme and implement for local files
1065 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1067 * gio/gdesktopappinfo.c: do not leak a string.
1069 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1071 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1072 (g_local_directory_monitor_new):
1073 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1074 (g_local_file_monitor_new):
1075 Only look for the monitor type that should be used the first time
1076 and use g_qsort_with_data() instead of our own bubble sort
1079 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1082 * gio/fam/Makefile.am:
1083 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1084 * gio/fam/fam-helper.h:
1085 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1086 * gio/fam/gfamdirectorymonitor.c:
1087 * gio/fam/gfamdirectorymonitor.h:
1088 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1089 * gio/fam/gfamfilemonitor.h:
1090 * gio/glocaldirectorymonitor.c:
1091 * gio/glocaldirectorymonitor.h:
1092 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1093 * gio/glocalfilemonitor.h:
1094 * gio/inotify/Makefile.am:
1095 * gio/inotify/ginotifydirectorymonitor.c:
1096 * gio/inotify/ginotifydirectorymonitor.h:
1097 * gio/inotify/ginotifyfilemonitor.c:
1098 * gio/inotify/ginotifyfilemonitor.h:
1099 Implement the FAM and Inotify monitors as
1100 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1101 their own GIO module. GLocal(Directory|File)Monitor will use the
1102 monitor with the highest rank that is supported on that machine.
1104 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1107 Change GIO module dir to $(libdir)/gio/modules and change
1108 the log domain from GVFS to GIO. Also only export symbols starting
1109 with g_ in the resulting library.
1110 * gio/test-streams.c: (main):
1111 Set log handler for the GIO log domain.
1113 2007-10-22 Alexander Larsson <alexl@redhat.com>
1115 * gio/gfilenamecompleter.[ch]:
1116 Add g_filename_completer_set_dirs_only
1118 2007-10-22 Alexander Larsson <alexl@redhat.com>
1121 * gio/gurifuncs.[ch]:
1122 Add some simple URI helpers
1124 * gio/gfilenamecompleter.[ch]:
1125 Added object for filename (parse name actually) completion
1128 Handle ~ in parse names
1130 2007-10-17 Alexander Larsson <alexl@redhat.com>
1133 * gio/glocalfileinfo.c:
1134 Add and implement id:value attribute
1136 2007-10-17 Alexander Larsson <alexl@redhat.com>
1139 * gio/guniondrive.c:
1141 Add and implement g_drive_has_volumes
1143 2007-10-17 Alexander Larsson <alexl@redhat.com>
1146 * gio/glocalfileinfo.[ch]:
1147 Add unix:is_mountpoint and implement for local files
1149 2007-10-16 Alexander Larsson <alexl@redhat.com>
1151 * gio/gunionvolumemonitor.c:
1152 (g_union_volume_monitor_init):
1153 Fix up the unix type getting so that it works with gcc
1155 2007-10-12 Alexander Larsson <alexl@redhat.com>
1158 * gio/glocalfileinfo.c:
1159 Add thumbnail:failed to file info
1161 2007-10-12 Richard Hult <richard@imendio.com>
1163 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1164 optimizing away the get_type call (happens with some gcc versions,
1165 like the one shipped with OS X 10.4).
1167 2007-10-12 Alexander Larsson <alexl@redhat.com>
1169 * gio/glocalfileinfo.c:
1170 (_g_local_file_info_set_attribute):
1171 Fix build if not HAVE_XATTR
1172 Patch from Milosz Derezynski <internalerror@gmail.com>
1174 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1176 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1177 around for review, otherwise I would have asked you before
1180 2007-10-11 Alexander Larsson <alexl@redhat.com>
1183 Add thumbnail:path attribute
1185 * gio/glocalfileinfo.c:
1186 Implement thumbnail:path for local files
1188 2007-10-11 Alexander Larsson <alexl@redhat.com>
1190 * gio/glocalfileinfo.c:
1191 (_g_local_file_info_get):
1192 Avoid duplicate icon names
1194 2007-10-11 Alexander Larsson <alexl@redhat.com>
1196 * gio/gthemedicon.[ch]:
1197 Change g_themed_icon_get_names return type to const
1199 2007-10-10 Alexander Larsson <alexl@redhat.com>
1201 * gio/glocalfileinfo.c:
1202 Don't reference freed memory
1204 2007-10-10 Alexander Larsson <alexl@redhat.com>
1206 * gio/gfileattribute.c:
1209 * gio/glocalfileinfo.c:
1212 2007-10-10 Alexander Larsson <alexl@redhat.com>
1215 Check for NULL icons
1217 * gio/gfileattribute.c:
1218 Don't dup when getting objects (same as for string attributes)
1220 * gio/gicon.c (g_icon_equal):
1221 Safely handle NULLs in equal
1223 2007-10-10 Alexander Larsson <alexl@redhat.com>
1226 Fix c++ compilation issues
1227 Patch from Milosz Derezynski <internalerror@gmail.com>
1229 2007-10-10 Alexander Larsson <alexl@redhat.com>
1231 * programs/gio-monitor-dir.c:
1232 Don't crash if dir monitor not supported.
1234 2007-10-09 Alexander Larsson <alexl@redhat.com>
1237 Add missing G_END_DECLS
1239 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1241 * gio/gfile.c: (g_file_set_display_name),
1242 (g_file_query_settable_attributes),
1243 (g_file_query_writable_namespaces):
1244 Return NULL not FALSE on errors as the return type is a pointer.
1246 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1248 * gio/glocalfile.c: (g_local_file_monitor_file):
1249 Don't call monitor_file on the default interface vtable (which
1250 is NULL) but simply return NULL. The caller, GFile, will create a
1251 polling monitor if NULL is returned.
1253 2007-10-09 Alexander Larsson <alexl@redhat.com>
1257 * gio-unix-2.0.pc.in:
1258 Add gio-unix-2.0.pc if OS_UNIX
1261 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1263 2007-10-09 Alexander Larsson <alexl@redhat.com>
1265 * gio/gunixmounts.[ch]:
1266 Make unix mount monitoring API sane.
1267 Now its just a object with mounts_changed
1268 and mountpoints_changed signals.
1270 * gio/glocaldirectorymonitor.c:
1271 * gio/gunixvolumemonitor.c:
1272 Use new mount monitor api
1274 2007-10-09 Alexander Larsson <alexl@redhat.com>
1276 * gio/gunixmounts.[ch]:
1277 Move guess type into one call for mounts and one for mountpoints
1280 * gio/gunixvolume.c:
1283 2007-10-09 Alexander Larsson <alexl@redhat.com>
1285 * gio/gunixmounts.[ch]:
1286 Remove _ prefix in preparation to make this semi-public
1287 Hide implementation of structs
1289 * gio/glocaldirectorymonitor.c:
1291 * gio/gunixvolume.c:
1292 * gio/gunixvolumemonitor.c:
1293 Update for above API changes
1295 2007-10-08 Alexander Larsson <alexl@redhat.com>
1298 Better polling fallback. This also handles the case where we have
1299 a monitor_file implementation, but it fails.
1301 2007-10-08 Alexander Larsson <alexl@redhat.com>
1305 * gio/gunixmounts.c:
1306 * programs/gio-monitor-dir.c:
1307 * programs/gio-monitor-file.c:
1308 Added cancellable to file monitoring calls.
1309 These are really sync calls and need this.
1311 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1313 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1314 (g_local_vfs_class_init):
1315 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1316 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1318 2007-10-05 Alexander Larsson <alexl@redhat.com>
1320 * gio/gdirectorymonitorprivate.h:
1321 * gio/gfilemonitorprivate.h:
1322 * gio/gdirectorymonitor.h:
1323 * gio/gfilemonitor.h:
1324 Remove *private.h and move to the public API, so that
1325 we can do implementations outside gio (such as in gvfs)
1327 * gio/gdirectorymonitor.c:
1328 * gio/gfilemonitor.c:
1329 * gio/glocaldirectorymonitor.c:
1330 * gio/gpollfilemonitor.c:
1331 * gio/inotify/inotify-helper.c:
1332 * gio/fam/fam-helper.c:
1333 Update to the new header names
1335 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1337 * gio/gdirectorymonitor.c:
1338 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1341 2007-10-04 Alexander Larsson <alexl@redhat.com>
1343 * gio/glocalfileinfo.c (get_access_rights):
1344 Set CAN_TRASH when we can move the file.
1345 We should really also check for a parent trash dir.
1347 2007-10-04 Alexander Larsson <alexl@redhat.com>
1349 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1350 Add can_trash access attribute
1352 2007-10-04 Alexander Larsson <alexl@redhat.com>
1355 (g_local_file_trash):
1356 Create info file first. This is per-spec and allows
1357 us to actually trash directories.
1359 2007-10-02 Alexander Larsson <alexl@redhat.com>
1361 * gio/gdesktopappinfo.c:
1362 Implement the new mime support code.
1363 Always set app as handling mimetype when being set as default for it
1365 2007-10-01 Alexander Larsson <alexl@redhat.com>
1367 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1368 Fix up check for xattrs:
1370 2007-10-01 Alexander Larsson <alexl@redhat.com>
1373 (g_app_info_set_as_default_for_extension):
1374 (g_app_info_add_supports_type):
1375 (g_app_info_can_remove_supports_type):
1376 (g_app_info_remove_supports_type):
1377 Make these fail nicely if not implemented
1379 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1381 * gio/glocalfileoutputstream.c:
1382 * gio/glocalfileoutputstream.h:
1387 * programs/gio-save.c:
1388 Add a GFileCreateFlags argument to operations that can create
1391 2007-10-01 Alexander Larsson <alexl@redhat.com>
1393 * gio/gappinfo.[ch]:
1394 * gio/gdesktopappinfo.c:
1395 Add more (stubbed out) mime API needed for nautilus
1397 2007-10-01 Alexander Larsson <alexl@redhat.com>
1400 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1401 Add g_app_info_set_as_default_for_extension.
1403 * gio/gdesktopappinfo.c:
1404 Dummy for g_app_info_set_as_default_for_extension
1405 Support flags in g_app_info_create_from_commandline
1407 * gio/gwin32appinfo.c:
1409 Update for API changes
1411 * gio/gthemedicon.c:
1412 Properly NULL-terminate list of icon names
1414 2007-09-28 Alexander Larsson <alexl@redhat.com>
1416 * gio/gloadableicon.h:
1417 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1419 2007-09-28 Alexander Larsson <alexl@redhat.com>
1422 Install headers in $includedir/gio-standalone/
1424 * gio-2.0.pc.in: Added.
1425 * gio-standalone.pc.in: Removed.
1428 Renamed pkg-config file to match glib (for future move)
1429 Update to the new include dir
1432 Add more TODO comments
1434 2007-09-28 Alexander Larsson <alexl@redhat.com>
1436 * gio/gdesktopappinfo.[ch]:
1437 Expose new_from_filename
1438 Add getter for is_hidden and handle it better
1440 2007-09-28 Alexander Larsson <alexl@redhat.com>
1442 * gio/gfileinfo.[ch]:
1443 Rename g_file_size_format_for_display to
1444 g_format_file_size_for_display.
1445 Now it doesn't have the g_file prefix, so we
1446 can later move it to glib.
1448 2007-09-28 Alexander Larsson <alexl@redhat.com>
1450 * gio/gappinfo.[ch]:
1451 Add g_app_info_get_id and g_app_info_get_executable.
1452 Make all getters non-reffing
1453 Make g_app_info_launch take GFile arguments.
1454 Add must_support_uris argument to g_app_info_get_default_for_type.
1456 * gio/gwin32appinfo.c:
1457 Update to GAppInfo api changes
1459 * gio/gdesktopappinfo.c:
1460 Update to GAppInfo api changes
1461 Implement supports_xdg_startup_notify
1463 * gio/gfileicon.c (g_file_icon_get_file):
1464 Make getter non-reffing.
1469 2007-09-27 Alexander Larsson <alexl@redhat.com>
1471 * gio/gfileinfo.[ch]:
1472 Add g_file_size_format_for_display helper
1474 2007-09-27 Alexander Larsson <alexl@redhat.com>
1476 * gio/glocalfileinfo.c:
1477 Set UNIX_GID from gid, not from uid
1479 2007-09-27 Alexander Larsson <alexl@redhat.com>
1482 Add g_file_set_attributes_async
1484 2007-09-27 Alexander Larsson <alexl@redhat.com>
1486 * gio/glocalfile.c (g_local_file_set_display_name):
1487 Fix set_display_name to actually rename to the right place.
1488 Use lstat to look for existing files so we don't overwrite
1491 2007-09-26 Alexander Larsson <alexl@redhat.com>
1494 Add g_file_set_display_name_async()
1496 2007-09-26 Alexander Larsson <alexl@redhat.com>
1499 Add load_partial_contents async calls
1502 Make internal function static
1504 2007-09-26 Alexander Larsson <alexl@redhat.com>
1506 * gio/glocalfileinfo.c:
1507 Correctly detect broken symlinks
1509 2007-09-26 Alexander Larsson <alexl@redhat.com>
1511 * gio/gcancellable.c (g_cancellable_cancel):
1512 Allow cancel on NULL cancellable
1514 2007-09-25 Alexander Larsson <alexl@redhat.com>
1516 * gio/gsimpleasyncresult.c:
1517 Don't allocate g_error manually.
1518 Fixes g_slice/g_new mixup crash
1520 2007-09-25 Alexander Larsson <alexl@redhat.com>
1522 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1523 Actually set active_backend.
1524 This means the monitor will be cancelled correctly.
1526 2007-09-25 Alexander Larsson <alexl@redhat.com>
1528 * gio/gdirectorymonitor.c:
1529 Set timeout to NULL when destroying
1531 2007-09-25 Alexander Larsson <alexl@redhat.com>
1534 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1535 that is a better description of the error.
1537 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1539 * gio/gvfs.c: (g_vfs_get_local):
1540 Make the local vfs variable static. The same instance should
1543 2007-09-24 Alexander Larsson <alexl@redhat.com>
1545 * gio/glocalfileinfo.c:
1546 Pass in actual length read into sniffer, not the length
1549 2007-09-21 Alexander Larsson <alexl@redhat.com>
1551 * gio/gfileenumerator.c:
1554 * gio/gfileinputstream.c:
1555 * gio/gfileoutputstream.c:
1556 * gio/ginputstream.c:
1557 * gio/goutputstream.c:
1558 Don't crash if async callbacks are NULL
1560 2007-09-20 Alexander Larsson <alexl@redhat.com>
1563 Add async enumerate_children method and default
1566 2007-09-20 Alexander Larsson <alexl@redhat.com>
1569 Add g_file_contains_file & g_file_get_relative_path, since they
1570 were needed for nautilus.
1571 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1576 Implement new methods
1578 2007-09-17 Alexander Larsson <alexl@redhat.com>
1581 * gio/gfileinputstream.[ch]:
1582 * gio/gfileoutputstream.[ch]:
1584 * gio/glocalfileenumerator.[ch]:
1585 * gio/glocalfileinfo.[ch]:
1586 * gio/glocalfileinputstream.c:
1587 * gio/glocalfileoutputstream.c:
1588 * gio/gpollfilemonitor.c:
1589 * programs/gio-copy.c:
1590 * programs/gio-info.c:
1591 * programs/gio-move.c:
1592 Rename get_file_info to query_info() to make it clearer
1593 that these are not simple getters, but do i/o.
1595 2007-09-17 Alexander Larsson <alexl@redhat.com>
1597 * gio/gdatainputstream.[ch]:
1598 * gio/test-streams.c:
1599 Use _read_XXX instead of _get_XXX for the i/o calls
1602 2007-09-17 Alexander Larsson <alexl@redhat.com>
1605 Added needed stuff to TODO comment
1607 2007-09-17 Alexander Larsson <alexl@redhat.com>
1609 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1610 Don't error out removing the backup copy if it doesn't
1613 2007-09-14 Alexander Larsson <alexl@redhat.com>
1615 * programs/Makefile.am:
1616 * programs/gvfs-*.c:
1618 Renamed apps from gvfs-xxx to gio-xxx.
1620 2007-09-14 Alexander Larsson <alexl@redhat.com>
1623 * gio/gfileoutputstream.[ch]:
1624 * gio/glocalfileoutputstream.c:
1625 * programs/gvfs-save.c:
1626 g_file_output_stream_get_etag doesn't do i/o, so remove
1627 cancellation and error.
1629 2007-09-14 Alexander Larsson <alexl@redhat.com>
1632 Add new_etag output to replace_contents functions
1634 2007-09-14 Alexander Larsson <alexl@redhat.com>
1636 * gio/gfileoutputstream.[ch]:
1637 Add async get_file_info and default implementation
1639 2007-09-14 Alexander Larsson <alexl@redhat.com>
1641 * gio/gfileinputstream.c:
1642 Implement fallback wrapper for async get_file_info
1644 2007-09-14 Alexander Larsson <alexl@redhat.com>
1647 Add etag out argument to load_contents
1652 2007-09-14 Alexander Larsson <alexl@redhat.com>
1654 * gio/gcontenttype.c (looks_like_text):
1655 Whitespace like tab, cr and lf do not make the
1658 2007-09-14 Alexander Larsson <alexl@redhat.com>
1660 * gio/gfileinputstream.[ch]:
1661 Add async get_file_info.
1663 2007-09-13 Alexander Larsson <alexl@redhat.com>
1665 * gio/goutputstream.c (g_output_stream_write_all):
1666 Allow NULL for bytes_written
1668 2007-09-13 Alexander Larsson <alexl@redhat.com>
1670 * gio/gmemoryinputstream.[ch]:
1671 Add accessors for data
1673 2007-09-13 Alexander Larsson <alexl@redhat.com>
1675 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1676 Don't crash if length is NULL