1 2008-08-03 Tor Lillqvist <tml@novell.com>
3 Bug 541036 - Gnumeric crashes when trying to open Desktop or
4 user's folder under Windows
6 * win32/gwin32directorymonitor.c
7 (g_win32_directory_monitor_constructor): Ignore error from
8 CreateFile() when opening directory. Instead of asserting, just
9 store INVALID_HANDLE_VALUE then in
10 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
11 ReadDirectoryChangesW().
12 (g_win32_directory_monitor_cancel): Don't attempt to close
13 directory handle if it is INVALID_HANDLE_VALUE.
15 2008-08-01 Matthias Clasen <mclasen@redhat.com>
17 * gdesktopappinfo.c: Remove debug spew
19 2008-08-01 Hans Breuer <hans@breuer.org>
21 * makefile.msc : add gemblembedicon
23 2008-07-30 Matthias Clasen <mclasen@redhat.com>
25 Bug 545457 – gdmsetup crashed with SIGSEGV in
26 g_unix_mount_guess_should_display()
28 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
29 crash if no mount is found.
31 2008-07-28 Matthias Clasen <mclasen@redhat.com>
33 Bug 545203 – gfile.c: argument is different type.
35 * gfile.c (open_read_async_thread): Pass a GError **
36 to g_file_set_error_literal.
37 Reported by Kazuki Iwamoto
39 2008-07-28 Matthias Clasen <mclasen@redhat.com>
41 Bug 545157 – wrong/no list of "open with" applications for .cc and
44 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
45 Collect all ancestors, not just direct parents. Pointed
48 2008-07-28 Matthias Clasen <mclasen@redhat.com>
50 * Makefile.am: Install gemblemedicon.h
52 2008-07-28 Matthias Clasen <mclasen@redhat.com>
54 * gemblemedicon.[hc]: Add a GIcon implementation that can
55 add an emblem to another icon.
62 * gfileicon.c: Small documentation additions.
64 2008-07-28 Tor Lillqvist <tml@novell.com>
66 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
69 2008-07-27 Tor Lillqvist <tml@novell.com>
71 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
73 2008-07-24 David Zeuthen <davidz@redhat.com>
77 Also export a g_mount_guess_content_type_sync() function.
79 2008-07-23 Matthias Clasen <mclasen@redhat.com>
81 529694 – SELinux context setting support
83 * gfileinfo.c: Support setting selinux attributes.
86 2008-07-22 Priit Laes <plaes@plaes.org>
88 Bug 544140 - fam-helper 64-bit issue?
90 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
92 2008-07-21 Matthias Clasen <mclasen@redhat.com>
94 * === Released 2.17.4 ===
96 2008-07-20 Matthias Clasen <mclasen@redhat.com>
98 * gvolumemonitor.[hc]:
103 * gmount.c: Documentation fixes
105 2008-07-19 Matthias Clasen <mclasen@redhat.com>
107 543504 – crash in Epiphany Web Browser: Opening local file
118 * gvolume.c: Register types thread-safely.
119 Patch by Christian Persch
121 2008-07-18 Matthias Clasen <mclasen@redhat.com>
123 * gcontenttype.c: Remove debug spew
125 2008-07-18 Matthias Clasen <mclasen@redhat.com>
127 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
130 * fen/fen-kernel.c: Remove a warning that was causing
131 crashes. Reported by Lin Ma.
133 2008-07-18 Matthias Clasen <mclasen@redhat.com>
135 Bug 543040 – async reading on dummy file will crash on
138 * gfile.c (open_read_async_thread): Cope with read_fn being
139 NULL. Reported by Lin Ma.
141 2008-07-18 Matthias Clasen <mclasen@redhat.com>
144 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
146 2008-07-16 Matthias Clasen <mclasen@redhat.com>
150 * giomodule.c: Rename a chapter id to avoid filename conflict.
152 2008-07-16 Matthias Clasen <mclasen@redhat.com>
154 Bug 540616 – mem leak in filechooser button
156 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
157 the mount entry. Reported by Chrisitan Persch
159 2008-07-16 Matthias Clasen <mclasen@redhat.com>
161 * gfile.c: Small documentation fixes.
163 2008-07-15 Matthias Clasen <mclasen@redhat.com>
165 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
167 2008-07-08 Matthias Clasen <mclasen@redhat.com>
172 * gmount.c: Documentation improvements.
174 2008-07-08 Matthias Clasen <mclasen@redhat.com>
177 * gmount.[hc]: Add g_mount_guess_content_type().
179 2008-07-06 David Zeuthen <davidz@redhat.com>
182 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
183 is needed for easily handling adoption of foreign volumes by
184 out-of-process volume monitors (#541793)
186 2008-07-06 David Zeuthen <davidz@redhat.com>
188 * gvolumemonitor.[ch]:
189 * gunionvolumemonitor.c: Export the eject-button signal on the
190 volume monitor class (#541794).
192 2008-07-06 Matthias Clasen <mclasen@redhat.com>
194 * gappinfo.c: More doc tweaks
196 2008-07-05 Matthias Clasen <mclasen@redhat.com>
198 * gappinfo.c: Clarify some docs
200 2008-07-03 Matthias Clasen <mclasen@redhat.com>
202 * gdesktopappinfo.c: Fix a stupid mistake.
204 2008-07-02 Matthias Clasen <mclasen@redhat.com>
206 * === Released 2.17.3 ===
208 2008-07-02 Matthias Clasen <mclasen@redhat.com>
210 * gfilemonitor.c: Fix the build.
212 2008-07-02 Matthias Clasen <mclasen@redhat.com>
214 Bug 536160 – Add g_file_monitor()
217 * gfile.[hc]: Add g_file_monitor which can return either
218 a file or a directory monitor. Proposed by Behdad Esfahbod
220 2008-07-02 Matthias Clasen <mclasen@redhat.com>
222 536733 – gio build failure on Irix
224 * glocalfile.c: Use a configure check for structfs.f_bavail.
226 2008-07-02 Matthias Clasen <mclasen@redhat.com>
228 Bug 534639 – add g_desktop_app_info_new_from_keyfile
231 * gdesktopappinfo.[hc]: Add a function to create a
232 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
234 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
236 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
238 2008-07-01 Matthias Clasen <mclasen@redhat.com>
240 * gunixmounts.c: Fix a doc typo.
242 2008-07-01 Cody Russell <bratsche@gnome.org>
244 * gio/gcontenttype.c:
245 * gio/gwin32appinfo.c:
246 * gio/gwin32volumemonitor.c:
247 * gio/gwin32mount.c: Fixed some include problems.
249 2008-07-01 Cody Russell <bratsche@gnome.org>
253 Moved all relevant typedefs into these files.
256 Updated wrt added files.
258 Split types into separate file for easier maintainership. (#538564)
260 2008-06-30 Matthias Clasen <mclasen@redhat.com>
262 Bug 540331 – g_file_append_to () documentation: can return NULL
264 * gfile.c (g_file_append_to): Clarify docs.
267 2008-06-30 Matthias Clasen <mclasen@redhat.com>
269 Bug 539090 – g_content_type_from_mime_type() should unalias
271 * gcontentype.c (g_content_type_from_mime_type): Unalias.
272 Patch by Markus Bergman
274 2008-06-30 Matthias Clasen <mclasen@redhat.com>
276 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
279 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
280 on ppc and alpha. Reported by Mart Raudsepp
282 2008-06-29 Matthias Clasen <mclasen@redhat.com>
285 * tests/memory-output-stream.c: Add some tests for
288 2008-06-29 Matthias Clasen <mclasen@redhat.com>
290 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
293 * gmemoryoutputstream.c (array_resize): Handle truncation to
294 zero correctly. Reported by Akira Tagoh
296 2008-06-29 Matthias Clasen <mclasen@redhat.com>
298 * gmemoryoutputstream.c: Trivial doc fixes
300 2008-06-29 Matthias Clasen <mclasen@redhat.com>
302 Bug 540802 – g_list_prepend doesn't concat lists
304 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
305 one list to another. Pointed out by Jan Arne Petersen
307 2008-06-28 Michael Natterer <mitch@imendio.com>
309 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
311 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
313 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
314 to avoid problems with partial icon themes.
316 2008-06-17 Hans Breuer <hans@breuer.org>
318 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
319 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
320 access again on win32, see bug #538127
321 * giomodule.c : ensure GWin32VolumeMonitor is registered
322 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
323 * Makefile.am makefile.msc : updated
325 2008-06-16 Hans Breuer <hans@breuer.org>
327 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
328 and initialization in one step avoids c99ism
330 2008-06-16 Christian Persch <chpe@gnome.org>
333 * gio/gbufferedinputstream.c
335 * gio/gdatainputstream.c
336 * gio/gdesktopappinfo.c
338 * gio/gfileenumerator.c
339 * gio/gfileinputstream.c
340 * gio/gfileoutputstream.c
342 * gio/glocaldirectorymonitor.c
344 * gio/glocalfileenumerator.c
345 * gio/glocalfileinfo.c
346 * gio/glocalfilemonitor.c
347 * gio/glocalfileoutputstream.c
348 * gio/gmemoryinputstream.c
349 * gio/gmemoryoutputstream.c
350 * gio/goutputstream.c
351 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
354 2008-06-16 Tor Lillqvist <tml@novell.com>
356 Bug 538362 - Get Win32 icons back in the file chooser
358 * gcontenttype.c (g_content_type_get_icon): Look up the icon
359 corresponding to a file extension in the Registry. Patch by Hans
361 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
363 2008-06-16 Tor Lillqvist <tml@novell.com>
365 Patches by Hans Breuer:
367 * glocalfile.c (is_xp_or_later): Handle compiling against older
368 SDK headers with missing VerifyVersionInfo(). Conditioned on
369 _MSC_VER, but should probably use some better test.
370 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
371 uninitialised statfs_result variable on Win32.
373 2008-06-16 Michael Natterer <mitch@imendio.com>
375 * *.c: chain up unconditionally in finalize() and dispose(). Also
376 don't dereference these function pointers when calling them since
377 that has no meaning at all.
379 2008-06-16 Ross Burton <ross@burtonini.com>
382 Remove check for dispose implementation as it annoys Emmanuele.
384 2008-06-16 Ross Burton <ross@burtonini.com>
386 Bug 536252 – GFileEnumerator should allow access to the containing
392 Add g_file_enumerator_get_container() and a container writeable
393 construct-only property. Also shuffle around typedefs to make it
396 * glocalfileenumerator.c:
397 * glocalfileenumerator.h:
399 Instead of a string filename take a GFile in the constructor and
400 use it to set the container property.
405 2008-06-16 Matthias Clasen <mclasen@redhat.com>
407 * gfile.c: Make includes more uniform
409 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
411 * tests/live-g-file.c (sample_struct):
412 Use less fancy unicode filenames, so the test doesn't fail
413 on Mac OS X (#531476).
415 2008-06-12 Matthias Clasen <mclasen@redhat.com>
417 * === Released 2.17.2 ===
419 2008-06-12 Matthias Clasen <mclasen@redhat.com>
421 * === Released 2.17.1 ===
423 2008-06-11 A. Walton <awalton@gnome.org>
425 * tests/g-file.c (test_g_file_new_null):
426 Fix broken test case.
428 2008-06-11 Matthias Clasen <mclasen@redhat.com>
430 * pltcheck.sh: We use g_clear_error now.
432 2008-06-11 Matthias Clasen <mclasen@redhat.com>
434 * glocalfile.c (g_local_file_enumerate_children): Revert
435 an unintended change.
437 2008-06-11 Matthias Clasen <mclasen@redhat.com>
439 * gfile.c (g_file_replace_contents): Don't unref before the last use.
441 2008-06-10 Matthias Clasen <mclasen@redhat.com>
443 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
446 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
447 as icon for the desktop directory, also make user-home and
448 user-desktop the preferred icons.
450 2008-06-10 Matthias Clasen <mclasen@redhat.com>
453 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
454 to add a name to the front of the list.
456 2008-06-10 Matthias Clasen <mclasen@redhat.com>
458 Bug 537392 – Additional colon in xattr name
460 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
461 too. Reported by Alessandro Morandi
463 2008-06-10 Matthias Clasen <mclasen@redhat.com>
465 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
468 * glocalfile.c (get_fs_type): Add afs and autofs.
469 Patch by Danny Baumann.
471 2008-06-10 Matthias Clasen <mclasen@redhat.com>
473 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
475 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
476 is no parent. (Owen Taylor, patch by Christian Neumair)
478 2008-06-10 Paolo Borelli <pborelli@katamail.com>
480 * gfile.c (g_file_replace_contents): do not leak the output stream.
482 2008-06-10 Michael Natterer <mitch@imendio.com>
484 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
485 uninitialized memory as array index.
487 2008-06-10 Tor Lillqvist <tml@novell.com>
489 * gcontenttype.c (g_content_type_can_be_executable)
490 (g_content_type_get_icon) [Win32]: Add TODO comments.
492 2008-06-09 Matthias Clasen <mclasen@redhat.com>
494 * xdgmime/Makefile.am: Fix the build
496 2008-06-09 Matthias Clasen <mclasen@redhat.com>
498 * gcontenttype.c (g_content_type_get_icon): Use icons specified
499 in the shared mime database, if available.
501 * xdgmime/*: Sync with upstream. This brings support for
502 glob weights, generic icons, and changes the cache format to
505 2008-05-28 Michael Natterer <mitch@imendio.com>
507 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
508 the global CPPFLAGS now.
510 * tests/data-input-stream.c
511 * tests/data-output-stream.c
512 * tests/g-file-info.c
514 * tests/live-g-file.c
515 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
517 2008-05-27 Matthias Clasen <mclasen@redhat.com>
519 * === Released 2.17.0 ===
521 * tests/live-g-file.c: Clean up after the tests, so make distcheck
522 doesn't complain about leftover files.
524 2008-05-27 simon.zheng <simon.zheng@sun.com>
526 * glocalfile.c: (g_local_file_query_filesystem_info):
527 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
529 2008-05-26 Michael Natterer <mitch@imendio.com>
531 * gmemoryoutputstream.h: declare
532 g_memory_output_stream_get_data_size().
534 2008-05-26 Matthias Clasen <mclasen@redhat.com>
536 * tests/*: Make tests work
538 2008-05-26 Matthias Clasen <mclasen@redhat.com>
540 * gio.symbols: Add g_memory_output_stream_get_data_size.
542 2008-05-25 Ross Burton <ross@burtonini.com>
545 Fix typo in error message (#534764).
547 2008-05-25 Ross Burton <ross@burtonini.com>
550 Fix circular dependency loop for gioenumtypes.h (#534759).
552 2008-05-19 Hans Breuer <hans@breuer.org>
554 * Makefile.am : EXTRA_DIST += makefile.msc
556 2008-05-17 Matthias Clasen <mclasen@redhat.com>
559 * gcontenttype.c: (g_content_type_from_mime_type):
560 New function to create a content type from a mime type. (#527175,
563 2008-05-17 Matthias Clasen <mclasen@redhat.com>
565 Bug 532965 – Should not return filesystem::free for certain file systems
567 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
568 free space for ncpfs.
570 2008-05-17 Matthias Clasen <mclasen@redhat.com>
572 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
574 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
575 st_dev might be zero.
577 2008-05-16 Tor Lillqvist <tml@novell.com>
579 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
580 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
582 2008-05-13 Bastien Nocera <hadess@hadess.net>
584 * gfile.c (has_valid_scheme): A URI scheme must start with a
585 letter, even if later more characters are allowed (#532852)
587 2008-05-05 Michael Natterer <mitch@imendio.com>
589 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
590 code from being checked in that breaks the build of applications
591 which use G_DISABLE_SINGLE_INCLUDES.
593 * makegioalias.pl: make the alias file include "glib.h" instead of
596 * gio.symbols: whitespace change to force regeneration of the
597 alias file after above script change.
599 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
601 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
603 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
605 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
607 2008-04-28 David Zeuthen <davidz@redhat.com>
609 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
610 displaying mounts in a subdirectory not accessible to the
613 2008-04-22 Michael Natterer <mitch@imendio.com>
615 * Makefile.am: fix library versioning (it was 0.0.0).
617 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
619 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
620 Default disable all loggings.
621 * fen/fen-kernel.c: (printevent), (port_add_kevent),
622 (port_fetch_event_cb): Fixed two macro nits.
624 2008-04-16 Matthias Clasen <mclasen@redhat.com>
626 * xdgmime/xdgmime.c: Rework the timestamp checking code
627 to protect against duplicate directories in XDG_DATA_DIRS.
628 Fixes fd.o bug 12513, reported by Joe Shaw.
630 2008-04-16 Matthias Clasen <mclasen@redhat.com>
632 Partically revert the last commit after realizing that
633 xdg_mime_media_type_equal doesn't have to init at all.
636 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
638 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
640 2008-04-16 Matthias Clasen <mclasen@redhat.com>
642 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
643 reported by Joe Shaw and Federico Mena Quintero.
645 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
646 (xdg_mime_media_type_equal): Turn into a wrapper around the
649 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
650 functions throughout.
652 2008-04-16 Michael Meeks <michael.meeks@novell.com>
654 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
655 tolerate an empty TryExec= line without failing; nautilus used
656 to create launchers with these in previous versions. Fixes #528433
658 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
660 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
661 after name. Fixes #527132.
663 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
665 * gfile.c: (g_file_replace):
668 2008-04-07 Matthias Clasen <mclasen@redhat.com>
670 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
672 * gfile.c (file_copy_fallback): Fix the argument order. Patch
673 by Christian Kellner.
675 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
677 * gunixmounts.c: (g_unix_mount_guess_should_display):
678 Don't list the user directory as a mount, fix potential issue
679 when other users have a similar naming and don't special case the
680 gvfs mounts there since that's not required (#525866)
682 2008-03-31 Alexander Larsson <alexl@redhat.com>
684 * glocalfile.c (get_parent):
687 2008-03-31 A. Walton <awalton@svn.gnome.org>
689 * gfile.c (g_file_query_file_type):
690 Always return a GFileType enum value (#520715).
692 2008-03-31 Alexander Larsson <alexl@redhat.com>
694 * glocalfileenumerator.c:
695 Read readdir() info in chunks (of 1000) and sort
696 the chunks by inode before stat:ing.
697 This is a 20% performance increase in testing
698 gvfs-ls on /usr/bin with cold cache.
700 2008-03-31 Alexander Larsson <alexl@redhat.com>
702 * gmemoryoutputstream.c:
703 Clarify docs for g_memory_output_stream_get_size.
704 Add g_memory_output_stream_get_data_size.
706 2008-03-30 Matthias Clasen <mclasen@redhat.com>
710 * gfile.h: Add g_file_query_file_type convenience function
711 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
713 2008-03-30 Matthias Clasen <mclasen@redhat.com>
716 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
718 2008-03-28 A. Walton <awalton@svn.gnome.org>
720 * giomodule.c (_g_io_modules_ensure_loaded):
721 Adds GIO_EXTRA_MODULES environment variable support, closing bug
724 2008-03-28 Alexander Larsson <alexl@redhat.com>
727 (copy_stream_with_progress):
730 2008-03-28 Alexander Larsson <alexl@redhat.com>
733 (copy_stream_with_progress):
734 (file_copy_fallback):
735 Fallback to g_file_query_info for source size
736 if g_file_input_stream_query_info fails. (#524579)
738 2008-03-28 Alexander Larsson <alexl@redhat.com>
740 * glocalfile.c (g_local_file_move):
741 Reuse old string instead of adding new one.
743 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
745 * fen/*.[hc]: still copyright issue. I hate copyright.
747 2008-03-27 Alexander Larsson <alexl@redhat.com>
749 * glocalfile.c (g_local_file_move):
750 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
751 file over directory. This is according to the docs and what the move via
752 copy+remove fallback does.
754 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
756 * fen/*.[hc]: Updated copyright.
758 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
760 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
762 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
764 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
765 not emit attribute changed events when optimizing changed events.
766 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
769 2008-03-19 Matthias Clasen <mclasen@redhat.com>
771 * gmountoperation.[hc]: Small documentation additions
773 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
775 * gunixmounts.c: (guess_mount_type):
776 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
778 2008-03-19 Alexander Larsson <alexl@redhat.com>
781 (copy_stream_with_progress):
782 Bump block side for copy to 64k to minimize
783 overhead for low latency links. (#523015)
785 2008-03-16 Tor Lillqvist <tml@novell.com>
787 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
788 depend on gio.def on Windows.
790 2008-03-12 David Zeuthen <davidz@redhat.com>
794 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
796 2008-03-14 Alexander Larsson <alexl@redhat.com>
800 Avoid redudant tests (#521851)
801 Patch from Josselin Mouette
803 2008-03-14 Alexander Larsson <alexl@redhat.com>
806 (g_file_monitor_is_cancelled):
807 Fix C89 issue (#521672)
808 Patch from Jens Granseuer
810 2008-03-14 Alexander Larsson <alexl@redhat.com>
812 * fam/fam-helper.[ch]:
814 Shut down fam (including removing fam GSource) when
815 module is unloaded (#521513)
816 Patch from Joe Marcus Clarke
818 2008-03-14 Alexander Larsson <alexl@redhat.com>
821 (_g_io_modules_ensure_loaded):
824 2008-03-14 Alexander Larsson <alexl@redhat.com>
827 (g_local_file_query_filesystem_info):
828 Use right define name for f_fstypename member check
830 2008-03-14 Alexander Larsson <alexl@redhat.com>
833 * fen/Makefile.am: Added.
834 * fen/fen-data.[ch]: Added.
835 * fen/fen-dump.[ch]: Added.
836 * fen/fen-helper.[ch]: Added.
837 * fen/fen-kernel.[ch]: Added.
838 * fen/fen-missing.[ch]: Added.
839 * fen/fen-node.[ch]: Added.
840 * fen/fen-sub.[ch]: Added.
841 * fen/gfendirectorymonitor.[ch]: Added.
842 * fen/gfenfilemonitor.[ch]: Added.
844 Added Solaris FEN file notification backend.
845 Patch from Lin Ma <Lin.Ma@Sun.COM>
847 2008-03-13 Tor Lillqvist <tml@novell.com>
849 * Makefile.am: Actually use the gio.def file when linking the
850 library on Windows. Produce .lib library for Microsoft's toolchain
851 when possible. Install the .lib and .def file like for the other
854 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
856 * tests/live-g-file.c:
857 Include live-g-file in standard set of tests, making a temporary
858 directory in source structure.
860 Clean target directory before the tests (write mode only)
862 2008-03-12 Tor Lillqvist <tml@novell.com>
864 Bug 517419 - gio win32 directory monitor
865 Implementation by Vlad Grecescu.
868 * win32/gwin32directorymonitor.h
869 * win32/gwin32directorymonitor.c: New files.
871 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
873 * Makefile.am: Add the win32 subdirectory.
875 2008-03-12 Tor Lillqvist <tml@novell.com>
877 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
878 normal struct stat on Unix but struct _stati64 on Windows to have
879 access to 64-bit file size information. Use that instead of struct
880 stat in the functions declared here in this private header.
882 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
883 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
884 warnings about unused functions and variables. Don't set
885 meaningless attributes like inode numbers on Windows.
887 2008-03-12 Benjamin Otte <otte@gnome.org>
890 trim whitespace so gtk-doc groks the function name
892 2008-03-12 Tor Lillqvist <tml@novell.com>
894 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
895 returning FALSE, on Win32.
897 2008-03-11 Alexander Larsson <alexl@redhat.com>
900 * glocalfileinfo.[ch]:
901 Correctly implement can_trash by actually
902 looking for a trash dir, not just assuming
905 2008-03-10 Matthias Clasen <mclasen@redhat.com>
907 * === Released 2.16.1 ===
909 2008-03-11 Alexander Larsson <alexl@redhat.com>
912 Fix crashes in new constructor and properties code
914 2008-03-10 Murray Cumming <murrayc@murrayc.com>
916 * gfile.c: Minor spelling correction in documentation:
917 existance -> existence.
919 2008-03-10 Matthias Clasen <mclasen@redhat.com>
921 * === Released 2.16.0 ===
923 2008-03-10 Matthias Clasen <mclasen@redhat.com>
925 * gio.symbols: Remove g_file_contains_file here, too.
927 2008-03-10 Matthias Clasen <mclasen@redhat.com>
929 * gthemedicon.c: Add properties to make bindings happy. (#517676,
930 Samuel Cormier-Iijima)
932 2008-03-08 Tor Lillqvist <tml@novell.com>
934 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
937 2008-03-07 Alexander Larsson <alexl@redhat.com>
940 (g_local_file_query_filesystem_info):
941 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
942 Patch from Jasper Lievisse Adriaanse
944 2008-03-06 Tor Lillqvist <tml@novell.com>
946 * gfileinfo.h: Correct milliseconds to microseconds in the doc
947 comments for the *_USEC attributes.
949 2008-03-06 Alexander Larsson <alexl@redhat.com>
951 * gfile.c (g_file_query_exists):
952 Add g_return_val_if_fail check (#520700)
954 2008-03-06 Alexander Larsson <alexl@redhat.com>
959 * gunionvolumemonitor.c:
962 * tests/live-g-file.c:
963 * xdgmime/xdgmimecache.c:
964 Fix sparse warnings (#519489)
966 2008-03-05 Alexander Larsson <alexl@redhat.com>
969 Make cancellation threadsafe (i.e.
970 guarantee its only done once, and always
973 * glocaldirectorymonitor.c:
974 Make sure we the monitor lives while the
975 mounts_changed callback is being called (#520484)
977 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
979 * gbufferedinputstream.c: Fix typo in parameter
982 2008-03-04 Alexander Larsson <alexl@redhat.com>
985 Remove deprecated symbols we kept for one release.
987 2008-03-04 Murray Cumming <murrayc@murrayc.com>
990 * goutputstream.c: Tiny documentation corrections.
992 2008-03-03 Alexander Larsson <alexl@redhat.com>
994 * gunionvolumemonitor.c:
996 Fix the adopt_orphan_mount vfunc to take a
997 volume_monitor reference in an ABI compat way.
998 This change is not API compat, but the added
999 arg is not used in the only user of this vfunc, so
1000 all we get is a harmless warning in gvfs (#520169)
1002 2008-03-01 Benjamin Otte <otte@gnome.org>
1005 clarify docs for g_file_delete().
1007 2008-02-29 Alexander Larsson <alexl@redhat.com>
1011 Make sure empty files get text/plain type (#518720)
1013 2008-02-27 Alexander Larsson <alexl@redhat.com>
1019 (g_unix_volume_mount):
1020 Add missing GMountMountFlags argument
1022 2008-02-26 Alexander Larsson <alexl@redhat.com>
1025 (g_local_file_delete):
1026 Handle filesystems (like ntfs-3g) that return EEXIST instead
1027 of ENOTEMPTY (#518816)
1029 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1031 * === Released 2.15.6 ===
1033 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1035 * gfile.c (g_file_find_enclosing_mount):
1036 * ginputstream.c (g_input_stream_set_pending):
1037 * glocalfile.c (g_local_file_find_enclosing_mount):
1038 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1039 * goutputstream.c (g_output_stream_set_pending):
1041 Fixup translator comments (#518578).
1043 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1045 * gfile.c (g_file_find_enclosing_mount):
1047 * glocalfile.c (g_local_file_find_enclosing_mount):
1050 Fix a few typos in translator comments and documentation.
1052 2008-02-25 Alexander Larsson <alexl@redhat.com>
1059 Add translator comments (#518578)
1061 2008-02-25 Alexander Larsson <alexl@redhat.com>
1064 Reintroduce g_file_contains_file, keep around for one
1065 unstable release cycle to avoid crashing to many apps.
1066 Make sure to delete after release.
1068 2008-02-25 Alexander Larsson <alexl@redhat.com>
1071 Remove deprecated g_file_contains_file.
1073 2008-02-25 Alexander Larsson <alexl@redhat.com>
1076 Emit actual change signals in an idle handler.
1077 This avoids reentrance and locking problems in
1078 the file notification backends.
1080 2008-02-25 Alexander Larsson <alexl@redhat.com>
1083 (g_unix_mount_guess_should_display):
1084 Remove type guessing, instead just display
1085 mounts in /media and in ~/.
1087 2008-02-25 Alexander Larsson <alexl@redhat.com>
1090 Make new strings reuse old ones.
1092 2008-02-25 Alexander Larsson <alexl@redhat.com>
1095 Implement trashing and filesystem::readonly for win32 (#517235)
1096 Patch from Yevgen Muntyan
1098 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1100 * gfileinfo.h: Documentation fixes.
1102 2008-02-22 Alexander Larsson <alexl@redhat.com>
1104 * gcontenttype.c (g_content_type_get_icon):
1105 Look at old-style gnome mime icon names too, as many
1106 have not moved to the new style.
1108 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1110 * *.c: Correct the @include in for section docs.
1112 2008-02-21 David Zeuthen <davidz@redhat.com>
1114 * glocalfileinfo.c: (_g_local_file_info_get):
1116 (g_content_type_get_icon): Implement this function by
1117 moving bits from glocalfileinfo.c
1118 (g_content_type_get_description): Unalias before getting
1119 description (#517687)
1121 * gfile.c: (g_file_class_init),
1122 (g_file_query_filesystem_info_async),
1123 (g_file_query_filesystem_info_finish),
1124 (query_filesystem_info_data_free),
1125 (query_filesystem_info_async_thread),
1126 (g_file_real_query_filesystem_info_async),
1127 (g_file_real_query_filesystem_info_finish):
1128 * gfile.h: Implement async version of
1129 g_file_query_filesystem_info()
1131 * gfileinfo.h: Add new attributes for filesystem::use-preview
1133 * gio.symbols: Update
1135 * gthemedicon.c: (g_themed_icon_append_name):
1136 * gthemedicon.h: Add new new convenience function.
1138 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1139 (get_mounts), (get_volumes), (get_connected_drives),
1140 (get_volume_for_uuid), (get_mount_for_uuid),
1141 (g_union_volume_monitor_init), (populate_union_monitor),
1142 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1143 (g_volume_monitor_adopt_orphan_mount):
1145 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1146 monitor implementations to call into the main volume monitor. Also
1147 separate object initialization and volume monitor initialization
1148 such that non-native volume monitors can properly adopt their
1151 2008-02-21 Alexander Larsson <alexl@redhat.com>
1156 2008-02-21 Alexander Larsson <alexl@redhat.com>
1159 Add more documentation about how GFiles work (from #517086)
1161 2008-02-21 Alexander Larsson <alexl@redhat.com>
1165 Add new g_file_has_prefix that does the same as g_file_contains_file.
1166 Deprecate g_file_contains_file and add a macro that converts
1167 it to g_file_has_prefix.
1168 The reason for this change is that the contains_file() name seems to
1169 imply that this does more work than what it does, but its really only
1170 a name match (from #517086)
1175 Update to match the above change.
1177 2008-02-20 Benjamin Otte <otte@gnome.org>
1179 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1180 (g_file_eject_mountable):
1181 even more cases of not returning in error path
1183 2008-02-20 Benjamin Otte <otte@gnome.org>
1185 * gfile.c: (g_file_mount_mountable):
1186 return from function in error path.
1188 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1191 Remove trailing coma in GMountMountFlags struct
1193 2008-02-18 Alexander Larsson <alexl@redhat.com>
1197 * glocalfileoutputstream.c:
1198 Use g_unlink/g_rename instead of unlink/rename;
1199 do not pass raw filenames to g_set_error. (#517239)
1200 Patch from Yevgen Muntyan.
1202 2008-02-18 Alexander Larsson <alexl@redhat.com>
1205 * glocalfileoutputstream.c:
1206 Open files with O_BINARY on windows. (#517140)
1208 2008-02-14 Alexander Larsson <alexl@redhat.com>
1210 * glocalfileoutputstream.c:
1211 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1213 2008-02-14 Alexander Larsson <alexl@redhat.com>
1216 Copy permissions with file on copy (#514084)
1217 This is what cp does and makes sure e.g. the
1218 exec permissions are kept.
1219 Its kinda weird in that it keeps the permission bits
1220 the same while the uid and gid are different. However
1221 the new uid is the user so its not a security issue,
1222 and I've heard no complaints about cp on this issue.
1224 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1226 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1228 2008-02-13 Alexander Larsson <alexl@redhat.com>
1230 * inotify/inotify-path.c:
1231 Define IN_ONLYDIR if not in header (#515346)
1233 2008-02-12 Alexander Larsson <alexl@redhat.com>
1235 * tests/live-g-file.c:
1238 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1240 * === Released 2.15.5 ===
1242 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1244 * gio.symbols: Add g_mount_mount_flags_get_type.
1246 2008-02-11 Alexander Larsson <alexl@redhat.com>
1249 (g_file_info_set_attribute_mask):
1250 (g_file_attribute_matcher_matches_id):
1251 Correctly handle NULL GAttributeMatcher meaning
1252 matches nothing. (Fixes #513492)
1254 2008-02-11 Alexander Larsson <alexl@redhat.com>
1259 Added GMountMountFlags enum and added a flags
1260 argument to all mount calls.
1262 This is an API/ABI change for future extensibility,
1263 as I think we will need at least an
1264 inhibit-autorun flag (the panel needs this).
1265 There are no flags defined yet though.
1267 2008-02-11 Alexander Larsson <alexl@redhat.com>
1270 Added new standard::description attribute.
1271 Requested by Vincent, and useful for both
1274 2008-02-11 Alexander Larsson <alexl@redhat.com>
1276 * gdesktopappinfo.c:
1279 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1281 * *.c: Documentation additions
1283 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1285 * gappinfo.h: Formatting cleanup
1286 * gappinfo.c: Fix up docs.
1288 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1290 * gunixmounts.c: Consistently use getmntent_r() and fall
1291 back to getmntent(). (#515492)
1293 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1295 * gbufferedinputstream.c:
1297 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1299 * tests/data-input-stream.c:
1300 * tests/data-output-stream.c: Portability fixes.
1302 2008-02-08 Alexander Larsson <alexl@redhat.com>
1307 Add g_volume_should_automount.
1310 2008-02-07 Tor Lillqvist <tml@novell.com>
1312 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1313 Win32, too Unix-specific.
1315 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1317 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1318 a local plt if the compiler doesn't support what we want. Bug #514702
1320 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1322 reviewed by: <delete if not using a buddy>
1325 * gunixinputstream.c:
1326 * gunixoutputstream.c:
1328 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1330 * tests/Makefile.am:
1331 * tests/live-g-file.c:
1332 * tests/live-g-file.txt:
1333 New GIO testing module working over real data
1335 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1337 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1338 Fallback to rename() if link() is not available
1339 (when no support on target filesystem)
1341 2008-02-06 Michael Natterer <mitch@imendio.com>
1343 * gfileinfo.c (g_file_info_get_icon): replace
1344 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1346 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1348 * gfile.c (g_file_create):
1349 Documentation update of error codes
1351 2008-02-06 Alexander Larsson <alexl@redhat.com>
1353 * gdesktopappinfo.c:
1354 Update to use both mimeapps.list and
1355 defaults.list as discussed on xdg list.
1357 2008-02-06 Benjamin Otte <otte@gnome.org>
1360 * gfilenamecompleter.c:
1361 Fix some typos in the documentation.
1363 2008-02-06 Alexander Larsson <alexl@redhat.com>
1365 * glocalfile.c (g_local_file_trash):
1366 Don't succeed with trash if newly created
1367 trash dir has the wrong owner. (#514696)
1369 2008-02-05 Alexander Larsson <alexl@redhat.com>
1371 * glocalfile.c (g_local_file_move):
1372 Don't spew warnings when destination is not
1375 2008-02-03 Hans Breuer <hans@breuer.org>
1377 * makefile.msc : update
1379 2008-02-01 Michael Natterer <mitch@imendio.com>
1381 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1382 return value of xdg_mime_list_mime_parents() to a variable of the
1385 2008-02-01 Alexander Larsson <alexl@redhat.com>
1387 * gappinfo.c (g_app_info_launch_uris):
1388 Actually call the launch_uris method, not
1391 2008-02-01 Alexander Larsson <alexl@redhat.com>
1393 * gdesktopappinfo.c (g_desktop_app_info_equal):
1394 Ensure appinfos with no id but same pointer value
1397 2008-02-01 Alexander Larsson <alexl@redhat.com>
1399 * gappinfo.c (g_app_info_launch_default_for_uri):
1402 2008-02-01 Alexander Larsson <alexl@redhat.com>
1406 Add g_app_info_launch_default_for_uri utility
1409 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1411 * gdesktopappinfo.c:
1412 Doc fix for g_app_info_get_default_for_uri_scheme ()
1415 2008-01-30 Alexander Larsson <alexl@redhat.com>
1418 Add doc comment about uris vs GFiles to
1421 * gdesktopappinfo.c:
1422 Ensure uris passed to g_app_info_launch_uris()
1423 are not roundtriped through GFile (as that
1424 may be slightly destructive for e.g. mailto: links)
1426 2008-01-30 Alexander Larsson <alexl@redhat.com>
1428 * tests/data-input-stream.c:
1429 * tests/data-output-stream.c:
1430 C89 fixes from Jens Granseuer (#512849)
1432 2008-01-30 Alexander Larsson <alexl@redhat.com>
1435 Fix gamin/fam difference build issue. (#509419)
1437 2008-01-29 Alexander Larsson <alexl@redhat.com>
1440 * gdesktopappinfo.c:
1441 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1443 2008-01-29 Alexander Larsson <alexl@redhat.com>
1445 * gdesktopappinfo.c:
1446 * gdesktopappinfo.h:
1447 giomodule-priv.h include moved to .c file.
1449 2008-01-29 Alexander Larsson <alexl@redhat.com>
1451 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1452 Remove unused prio/name fields.
1454 2008-01-29 Alexander Larsson <alexl@redhat.com>
1456 * gcontenttype.c (looks_like_text):
1457 Don't treat whitespace as control chars.
1459 2008-01-29 Alexander Larsson <alexl@redhat.com>
1461 * gdesktopappinfo.c:
1462 Lazily create the desktop files for appinfos created
1463 by g_app_info_create_from_commandline() when needed
1464 for mime associations. This allows run-time use
1465 of GAppInfo object without creating unnecessary
1468 2008-01-29 Alexander Larsson <alexl@redhat.com>
1471 Added new symbols to gio.symbols
1473 2008-01-29 Alexander Larsson <alexl@redhat.com>
1476 Add g_file_query_default_handler utility to easily look up
1477 the GAppInfo that handles a file.
1479 * gdesktopappinfo.[ch]:
1481 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1484 Remove unused function
1486 2008-01-29 Alexander Larsson <alexl@redhat.com>
1488 * gfileenumerator.c:
1489 Mention need to free returned value in
1490 g_file_enumerator_next_files_finish docs.
1491 Fix leak if g_file_enumerator_next_files_finish()
1494 2008-01-29 Alexander Larsson <alexl@redhat.com>
1497 (_g_unix_content_type_get_parents):
1498 Use list_parents, not get_parents from xdgmime, because
1499 the later doesn't use the cache.
1501 * xdgmime/xdgmimecache.c:
1502 (_xdg_mime_cache_list_mime_parents):
1503 Don't list the same type as parent multiple times.
1505 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1507 * === Released 2.15.4 ===
1509 2008-01-28 Alexander Larsson <alexl@redhat.com>
1512 Register local vfs with prio 0.
1515 Remove old name and prio class members
1517 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1519 * tests/g-file.c: Disable some tests that are failing in
1520 the absence of a http backend.
1522 2008-01-28 Alexander Larsson <alexl@redhat.com>
1526 Add registration hooks for extension points.
1527 Register the gio extension points.
1529 * fam/gfamdirectorymonitor.c:
1530 * fam/gfamfilemonitor.c:
1531 * glocaldirectorymonitor.[ch]:
1532 * glocalfilemonitor.[ch]:
1533 * gnativevolumemonitor.h:
1534 * gunionvolumemonitor.c:
1535 * gunixvolumemonitor.c:
1538 * inotify/ginotifydirectorymonitor.c:
1539 * inotify/ginotifyfilemonitor.c:
1540 Use the extension points registration instead
1541 of g_type_children().
1543 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1546 * gvolume.[hc]: Document new API.
1548 * gfile.c (g_file_copy_async): Fix docs
1550 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1552 * gbufferedinputstream.c:
1554 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1557 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1559 * glocalfile.c: Avoid trivial differences in translatable strings.
1561 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1563 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1564 build with gcc 3.4 (#509419)
1566 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1568 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1569 (#509994, Murray Cumming)
1571 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1573 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1574 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1575 this allows big jobs to be executed in chunks, instead of blocking
1576 the main loop for a long time.
1578 * gsimpleasyncresult.c:
1579 * giofile.c: Adapt callers.
1581 2008-01-25 Alexander Larsson <alexl@redhat.com>
1583 * gdesktopappinfo.c:
1584 Implement changes discussed on xdg list.
1585 Now we can add supported mimetypes by just using defaults.list
1586 We can also remove associations in defaults.list.
1588 2008-01-25 Alexander Larsson <alexl@redhat.com>
1590 * gdesktopappinfo.c:
1591 Don't make local copy of desktop file
1592 for mimetype changes if the file already
1593 supports the new mimetype.
1595 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1599 * gbufferedinputstream.c:
1600 * glocalfile.c: String improvements. (#511966,
1601 Theppitak Karoonboonyanan)
1603 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1605 * gioscheduler.h: Expand docs a bit.
1607 2008-01-24 Alexander Larsson <alexl@redhat.com>
1610 Add g_drive_get_identifier and
1611 g_drive_enumerate_identifiers
1614 Add g_volume_get_identifier and
1615 g_volume_enumerate_identifiers
1621 Implement identifiers for unix backend
1623 2008-01-24 Alexander Larsson <alexl@redhat.com>
1628 Add g_file_copy_async() (#511580)
1629 Based on patch from Carlos Garcia Campos
1631 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1633 * gioscheduler.c: Some documentation additions.
1635 2008-01-22 Alexander Larsson <alexl@redhat.com>
1637 * gdesktopappinfo.c:
1638 (g_desktop_app_info_new):
1639 Don't leak basename.
1641 2008-01-22 Alexander Larsson <alexl@redhat.com>
1643 * gdesktopappinfo.c:
1644 (g_desktop_app_info_new_from_filename):
1647 2008-01-22 Alexander Larsson <alexl@redhat.com>
1649 * glocalfileinfo.c (get_thumbnail_attributes):
1652 2008-01-22 Alexander Larsson <alexl@redhat.com>
1655 (canonicalize_filename):
1656 Canonicalize paths that start with more than
1660 (compare_two_files):
1661 (test_g_file_new_for_path):
1664 2008-01-22 Alexander Larsson <alexl@redhat.com>
1667 Allow UTF-8 in file:// parse names.
1669 * tests/Makefile.am:
1670 * tests/data-input-stream.c:
1671 * tests/data-output-stream.c:
1672 * tests/g-file-info.c:
1674 Added a bunch of tests from Tomas Bzatek
1676 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1678 * === Released 2.15.3 ===
1680 2008-01-21 Alexander Larsson <alexl@redhat.com>
1682 * gfileinputstream.[ch]:
1683 * gfileoutputstream.[ch]:
1685 Remove duplicated GSeekable functions. (#509990)
1686 Just use the g_seekable_xxx() calls instead.
1688 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1691 * gvolumemanager.c: Whitespace cleanups.
1693 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1694 Use the right mode when creating the file.
1696 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1698 * gfileenumerator.c:
1699 * gfileinputstream.c:
1701 * goutputstream.c: Documentation: Fixed minor typos
1702 and added more mentions of specific _finish() functions.
1704 2008-01-21 Alexander Larsson <alexl@redhat.com>
1706 * inotify/Makefile.am:
1707 * inotify/inotify-helper.c:
1708 * inotify/inotify-kernel.c:
1709 * inotify/inotify-path.c:
1710 * inotify/local_inotify.h: Removed.
1711 * inotify/local_inotify_syscalls.h: Removed.
1712 Removed the included copies of the inotify
1713 headers. We now only use the <sys/inotify.h>
1714 header which exists on modern systems.
1715 This fixes problems on ARM and SH5 (#510448)
1716 but is also generally much cleaner and future
1717 safe. For instance, if other OSes add support
1718 for inotify it should "just work".
1720 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1722 * inotify/*.c: Coding style fixes.
1723 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1724 for the 1/4 Hz timer.
1726 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1729 * gfilemonitor.[hc]:
1730 * gmemoryinputstream.c:
1731 * gmemoryoutputstream.c:
1732 * gmountoperation.c:
1733 * gthemedicon.c: Documentation updates
1735 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1737 * gfile.c: documentation: Fixed more minor
1740 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1742 * gmount.c: (g_mount_remount): documentation:
1743 Mention g_mount_remount_finish() instead of
1744 g_mount_unmount_finish().
1746 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1750 * gfile.c: Fixed some minor typos in the
1753 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1755 * gio/gvolumemonitor.c:
1756 (g_volume_monitor_get_connected_drives):
1757 (g_volume_monitor_get_volumes):
1758 (g_volume_monitor_get_mounts): Documentation:
1759 Clarify the ownership of the regurn GLists.
1761 2008-01-17 Alexander Larsson <alexl@redhat.com>
1764 Add the async find_enclosing_mount version
1765 to the header file too.
1767 2008-01-17 Alexander Larsson <alexl@redhat.com>
1770 Add async version of find_enclosing_mount
1771 with default implementation.
1773 2008-01-17 Alexander Larsson <alexl@redhat.com>
1778 Allow calls to implementation of copy and write
1779 even if the type of the file implementations is
1780 different. This can be used to implement native
1781 upload and download calls in a vfs.
1784 (g_local_file_move):
1785 Protect against the case where move is called
1786 with one file not being local.
1788 Make sure we call the progress callback once
1789 in the native move operation so that the caller
1790 knows how many bytes were copied.
1792 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1795 * gdatainputstream.c:
1797 * gfileoutputstream.c:
1802 * gunixmounts.c: Corrected some typos in the documentation:
1803 occured -> occurred.
1804 its -> it's (where appropriate).
1806 2008-01-16 Alexander Larsson <alexl@redhat.com>
1810 Add g_file_query_exists (#508771)
1812 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1817 * gvolume.c: For async functions that have no non-async
1818 version, document that the GAsyncReadyCallback may be NULL.
1821 2008-01-15 Alexander Larsson <alexl@redhat.com>
1823 * gmemoryinputstream.c:
1824 * gmemoryoutputstream.c:
1825 Don't do pointer arithmetic on void * (#508602)
1826 Patch from Kazuki IWAMOTO
1828 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1830 * === Released 2.15.2 ===
1832 2008-01-14 Alexander Larsson <alexl@redhat.com>
1834 * gfile.c (g_file_monitor_file):
1835 Don't set error here, since we fallback to polling monitor.
1837 2008-01-14 Alexander Larsson <alexl@redhat.com>
1840 (g_file_monitor_directory):
1841 (g_file_monitor_file):
1842 Add GError to file monitor calls
1844 * glocaldirectorymonitor.c:
1845 * glocaldirectorymonitor.h:
1847 * glocalfilemonitor.c:
1848 * glocalfilemonitor.h:
1850 Update for above change
1852 2008-01-14 Alexander Larsson <alexl@redhat.com>
1856 Handle root correctly in g_file_get_relative_path (#508719)
1858 2008-01-14 Alexander Larsson <alexl@redhat.com>
1861 Clean up docs and example for GAsyncResult (#508074)
1863 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1865 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1866 and correct some spelling mistakes. Bug #508108.
1868 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1870 * glocalfileinfo.c: Add a comment.
1872 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1874 * gfileinfo.c: GFileInfo description: Mention
1875 how to actually set attributes in a GFile and how to discover
1876 which attributes are settable. Bug #508378.
1878 2008-01-10 A. Walton <awalton@svn.gnome.org>
1880 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1881 (g_app_info_get_default_for_type):
1882 Check for NULL content types.
1884 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1886 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1888 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1890 * gfile.c: *_async() functions: Several small corrections
1891 to the documentation, mostly correcting copy/paste errors
1892 and improving some sentences.
1894 2008-01-09 Dan Winship <danw@gnome.org>
1896 * glocalfile.c (get_unique_filename): x86_64 fix
1898 2008-01-09 Alexander Larsson <alexl@redhat.com>
1903 Add g_unix_mount_guess_should_display and use
1904 for unix volume monitor backend.
1905 This means we more or less show what the
1906 gnome-vfs backend did.
1907 Based on patch from Padraig O'Briain
1909 2008-01-09 Alexander Larsson <alexl@redhat.com>
1913 Add g_themed_icon_new_with_default_fallbacks
1916 Use default fallbacks for icons
1918 2008-01-09 Alexander Larsson <alexl@redhat.com>
1921 * gmountoperation.[ch]:
1922 Change the API a bit so that unhandled methods
1923 get reported via the reply, rather than by
1924 the signal emission return value. This is because
1925 some handlers can't know this immediately without
1926 doing I/O, and this is an async operation that
1929 2008-01-09 Alexander Larsson <alexl@redhat.com>
1932 * fam/gfamdirectorymonitor.c:
1933 * fam/gfamfilemonitor.c:
1934 Fix double free crash (#508224)
1935 Patch from Joe Marcus Clarke
1937 008-01-07 Matthias Clasen <mclasen@redhat.com>
1939 * === Released 2.15.1 ===
1941 2008-01-07 Alexander Larsson <alexl@redhat.com>
1943 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1944 Fix warning (#507835)
1946 2008-01-07 Alexander Larsson <alexl@redhat.com>
1949 Pass --internal to glib-genmarshal
1952 * gmountoperation.c:
1954 Use better types for signal arguments (#507822)
1956 2008-01-07 Alexander Larsson <alexl@redhat.com>
1959 Build test subdir after .
1960 Remove gdirectorymonitor.[ch]
1962 * gdirectorymonitor.[ch]:
1966 Remove GDirectoryMonitor and make
1967 GFileMonitor the baseclass for both file and
1968 directory monitors. Lift the more generic
1969 rate limiting code from GDirectoryMonitor
1973 * fam/gfamdirectorymonitor.[ch]:
1974 * inotify/ginotifydirectorymonitor.[ch]:
1975 * inotify/inotify-helper.c:
1976 * glocaldirectorymonitor.[ch]:
1979 Update for the removed GDirectoryMonitor.
1981 * gmemoryoutputstream.c:
1982 Remove ununsed variable
1984 2008-01-07 Alexander Larsson <alexl@redhat.com>
1986 * gmemoryinputstream.c:
1987 Translate error strings
1990 * gmemoryoutputstream.[ch]:
1991 New implementation that avoids using GByteArray
1992 in implementation and API. (#506377)
1994 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1996 * tests/*: Add a test for memory input streams.
1998 * Makefile.am: Add tests to SUBDIRS.
2000 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2002 * glocalfilemonitor.c:
2003 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2006 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2008 * gdesktopappinfo.c: Fix a docs typo.
2010 * gfileattribute.c: Add information about extended attributes
2011 to the documentation. (#505058)
2013 2008-01-04 Alexander Larsson <alexl@redhat.com>
2016 * gmountoperation.c:
2017 Use the right type (uint) for the ask_password signal.
2019 2008-01-04 Alexander Larsson <alexl@redhat.com>
2024 Add g_app_info_supports_files()
2025 Remove desktop arg from g_app_info_should_show().
2027 * gdesktopappinfo.[ch]:
2028 Implement g_app_info_supports_files() and new should_show()
2029 Add g_desktop_app_info_set_desktop_env() to set the desktop
2030 for should_show(). (This will be set by gtk+ later)
2032 2008-01-04 Alexander Larsson <alexl@redhat.com>
2035 * gmemoryinputstream.[ch]:
2036 Improve API so that you can use multiple chunks
2037 of memory and custom destroy functions. (#506374)
2039 2008-01-03 Alexander Larsson <alexl@redhat.com>
2042 Handle NULL attribute matchers safely, as we return this
2043 for empty attribute matcher strings.
2045 2008-01-03 Alexander Larsson <alexl@redhat.com>
2047 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2048 Add /usr/local to list of internal mountpoints
2050 2008-01-03 Alexander Larsson <alexl@redhat.com>
2053 Check for HAVE_LCHOWN (#505887)
2055 2008-01-03 Alexander Larsson <alexl@redhat.com>
2059 Add define for selinux context attribute.
2060 Fix missing : -> :: namespace separator change
2061 Fix missing _ -> - name change for xattr-sys.
2064 2008-01-03 Alexander Larsson <alexl@redhat.com>
2067 Link to libglib and libgobject directly (#504879)
2068 Patch from Sebastien Bacher
2070 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2072 * gfile.c: Expanded the g_file_new_for_commandline_arg
2073 description a bit, based on the code and the docs of the
2074 other g_file_new_for_* functions.
2076 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2078 * gfilemonitor.h: Fixed typo in docs.
2080 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2082 Updates to GIO documentation. (#506395, Mikael Hermansson)
2084 * gcontenttype.c: Describe memory management for return value of
2085 g_content_types_get_registered(). Missing piece from #505815.
2086 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2087 GVolume, GDrive, GMounts, which hopefully gives the user less
2088 confusions when using this API. Following explainations from
2089 Alexander Larsson on gtk-devel-list.
2091 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2093 * gfileinfo.c: Expand the long description.
2095 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2098 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2099 fix builds with --disable-visibility. (#500273, Christian Persch)
2101 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2103 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2104 in the list of returned app infos.
2106 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2108 * gappinfo.c: Fix a cross-reference
2110 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2112 * gfileinputstream.c:
2113 * gfileoutputstream.c:
2117 * gdesktopappinfo.c:
2119 * gfileinfo.c: Documentation updates.
2121 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2123 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2126 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2128 * gcontenttype.c (g_content_types_get_registered): Don't return
2129 freed memory (#505815, Mikael Hermansson)
2131 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2133 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2134 used to detect statbuf->st_blocks. (#505042)
2136 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2138 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2139 environment handling. (#504829, Cosimo Cecchi)
2141 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2143 * gappinfo.c: Doc improvements
2145 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2148 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2150 * === Released 2.15.0 ===
2152 2007-12-20 Hans Breuer <hans@breuer.org>
2154 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2155 with symbols gwin32appinfo.obj, added gmount.obj
2156 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2158 2007-12-20 Alexander Larsson <alexl@redhat.com>
2164 * gfilenamecompleter.c:
2167 * gpollfilemonitor.c:
2168 File attribute renames:
2170 fs:: -> filesystem::
2171 id::fs -> id::filesystem
2173 2007-12-20 Alexander Larsson <alexl@redhat.com>
2182 Add GMountUnmountFlags to all unmount and
2184 Add g_mount_remount() call.
2186 2007-12-20 Alexander Larsson <alexl@redhat.com>
2188 * gvfs.c (get_default_vfs):
2189 Fix unused variable warning
2191 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2193 * pltcheck.sh: Update
2195 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2197 * gunionvolumemonitor.c:
2198 * gunixmount.c: Remove C99 comments
2200 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2202 * gio.symbols: Add some missing symbols
2204 2007-12-19 Alexander Larsson <alexl@redhat.com>
2207 Make g_io_modules_load_all_in_directory not unuse
2208 loaded modules so that users of it can do stuff
2210 Init internal "module" types.
2211 Initialize static prio and name for types so that
2212 we don't have to load modules to get it.
2214 * gnativevolumemonitor.h:
2216 Move is_supported to parent class so that
2217 non-native monitors can avoid being initialized
2218 too. (For instance GDaemonVolumeMonitor if we're
2219 not using GDaemonVfs.)
2221 * glocaldirectorymonitor.[ch]:
2222 * glocalfilemonitor.[ch]:
2223 * gunionvolumemonitor.c:
2224 * gunixvolumemonitor.c:
2226 Find plugins using the static prio+name to
2227 avoid unnecessarily loading the modules.
2229 2007-12-19 Alexander Larsson <alexl@redhat.com>
2234 2007-12-19 Alexander Larsson <alexl@redhat.com>
2236 * gunionvolumemonitor.c:
2237 Store the native type as GType, not class so that
2238 we can unload it. But still avoid unnecessarily
2241 2007-12-19 David Zeuthen <davidz@redhat.com>
2243 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2244 add signals 'disconnected' and 'eject-button' on GDrive. Add
2245 signal 'removed' on GVolume and 'unmounted' on GMount.
2247 * gdrive.c: (g_drive_base_init):
2249 * gfile.c: (g_file_mount_mountable),
2250 (g_file_mount_enclosing_volume):
2253 * gmount.c: (g_mount_base_init):
2255 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2256 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2257 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2261 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2263 * *.c: Fix up includes in the section docs.
2265 2007-12-17 Alexander Larsson <alexl@redhat.com>
2267 * gnativevolumemonitor.h:
2268 * gunionvolumemonitor.c:
2269 * gunixvolumemonitor.c:
2270 Add is_supported() to GNativeVolumeMonitorClass so
2271 that we can avoid having to create an object to see
2272 if the backend is supported at runtime.
2273 Also add name member and an env var to pick a specific
2274 volume monitor backend.
2278 Add cancellable to _g_mount_get_for_mount_path()
2280 * glocaldirectorymonitor.c:
2281 * glocalfilemonitor.c:
2282 Avoid loading and unloading modules while sorting.
2284 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2287 * gunixmounts.[hc]: Namespace waste reduction, move some
2288 g_get_unix_mount functions to the g_unix_mount namespace.
2291 * gunixvolumemonitor.c:
2293 * glocaldirectorymonitor.c: Update all callers.
2295 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2297 2007-12-17 Alexander Larsson <alexl@redhat.com>
2300 Add doc comments about what GFile operations are
2301 guaranteed to not block.
2303 2007-12-17 Alexander Larsson <alexl@redhat.com>
2306 Add missing #ifdef fixing OSX build.
2307 (#503334, patch from Richard Hult)
2309 2007-12-14 David Zeuthen <davidz@redhat.com>
2313 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2314 (g_mount_eject), (g_mount_eject_finish):
2316 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2317 (get_volume_for_uuid), (get_mount_for_uuid),
2318 (g_union_volume_monitor_class_init),
2319 (get_default_native_type_with_exclude), (get_default_native_type),
2320 (get_native_type), (update_native_type),
2321 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2322 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2323 (g_unix_mount_can_eject), (eject_unmount_cb),
2324 (eject_unmount_read_error), (eject_unmount_do),
2325 (g_unix_mount_unmount), (g_unix_mount_eject),
2326 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2327 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2328 (g_unix_mount_point_guess_can_eject):
2330 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2331 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2332 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2333 (g_unix_volume_mount), (g_unix_volume_eject),
2334 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2335 * gunixvolumemonitor.c: (get_volume_for_uuid),
2336 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2338 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2339 (g_volume_eject), (g_volume_eject_finish):
2341 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2342 (g_volume_monitor_get_mount_for_uuid):
2345 Provide eject() on both GMount and GVolume and utility functions
2346 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2347 ejected. Introduce the concept of UUID's and wire it into GVolume
2348 and GMount and provide API on GVolumeMonitor to find such
2349 instances. Also handle the case where an external
2350 GNativeVolumeMonitor fails to initialize. Lock around the
2351 _g_get_mount_for_mount_path() function such that volume monitor
2352 implementations won't have to do locking themselves.
2354 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2356 * gdesktopappinfo.c:
2362 * gvolume.h: Documentation updates
2364 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2367 * gfile.h: Doc updates
2369 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2372 * gdesktopappinfo.c: Use hash table iterators.
2374 2007-12-14 Alexander Larsson <alexl@redhat.com>
2377 * gfileattribute.[ch]:
2378 * gfileattribute-priv.h:
2379 Move GFileAttributeValue to a private header, as
2383 Make set_attribute take a type + a pointer instead
2384 of a GFileAttributeValue.
2387 Fix up for above changes.
2388 Add g_file_info_get_attribute_data to get
2389 all info in one call, g_file_info_get_attribute_status
2390 to get the status and g_file_info_get_attribute_as_string.
2394 * glocalfileinfo.[ch]:
2398 Make _guess_type static.
2400 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2403 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2404 made mkenums and friends use temporary files to avoid leaving
2405 empty generated files on failure (#503470).
2407 2007-12-14 Alexander Larsson <alexl@redhat.com>
2409 * gmountoperation.h:
2412 2007-12-14 Alexander Larsson <alexl@redhat.com>
2416 * gfileattribute.[ch]:
2419 * glocalfileoutputstream.c:
2420 * gmountoperation.[ch]:
2421 * goutputstream.[ch]:
2422 Clean up all flags enums to not have _FLAGS in them
2423 Make the names of some of the enums better.
2428 2007-12-14 Michael Natterer <mitch@imendio.com>
2430 * gio.symbols: fix g_io_scheduler symbol names.
2432 2007-12-14 Alexander Larsson <alexl@redhat.com>
2438 * gbufferedinputstream.h:
2439 * gbufferedoutputstream.h:
2442 * gdatainputstream.h:
2443 * gdataoutputstream.h:
2444 * gdesktopappinfo.h:
2445 * gdirectorymonitor.h:
2449 * gfileenumerator.h:
2452 * gfileinputstream.h:
2454 * gfilenamecompleter.h:
2455 * gfileoutputstream.h:
2456 * gfilterinputstream.h:
2457 * gfilteroutputstream.h:
2465 * gmemoryinputstream.h:
2466 * gmemoryoutputstream.h:
2468 * gmountoperation.h:
2471 * gsimpleasyncresult.h:
2473 * gunixinputstream.h:
2475 * gunixoutputstream.h:
2479 * inotify/Makefile.am:
2480 Only allow including <gio/gio.h> from apps
2482 2007-12-14 Alexander Larsson <alexl@redhat.com>
2484 * gioscheduler.[ch]:
2485 * gsimpleasyncresult.c:
2486 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2487 Split out the send_to_mainloop call into two versions instead
2488 of having the block argument.
2490 2007-12-13 Alexander Larsson <alexl@redhat.com>
2492 * gcancellable.[ch]:
2494 * gbufferedinputstream.c:
2495 * gfileenumerator.c:
2496 * gfileinputstream.c:
2497 * gfileoutputstream.c:
2501 g_push/pop_current_cancellable ->
2502 g_cancellable_push/pop_current
2504 2007-12-13 Alexander Larsson <alexl@redhat.com>
2508 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2510 2007-12-13 Alexander Larsson <alexl@redhat.com>
2512 * gmountoperation.h:
2513 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2515 2007-12-12 Alexander Larsson <alexl@redhat.com>
2518 Fix race condition when freeing proxy in
2519 g_io_job_send_to_mainloop().
2521 2007-12-12 Alexander Larsson <alexl@redhat.com>
2527 Make attribute namespace separator "::" instead of ":".
2528 Use - instead of _ as separator in attribute names.
2530 2007-12-12 Alexander Larsson <alexl@redhat.com>
2532 * gbufferedinputstream.h:
2533 * gbufferedoutputstream.h:
2534 * gdatainputstream.h:
2535 * gdataoutputstream.h:
2536 * gdirectorymonitor.h:
2537 * gfileenumerator.h:
2538 * gfileinputstream.h:
2540 * gfileoutputstream.h:
2541 * gfilterinputstream.h:
2542 * gfilteroutputstream.h:
2544 * glocalfileinputstream.h:
2545 * glocalfileoutputstream.h:
2546 * gmemoryinputstream.h:
2547 * gmemoryoutputstream.h:
2548 * gnativevolumemonitor.h:
2550 * gunixinputstream.h:
2551 * gunixoutputstream.h:
2554 s/parent/parent_instance/ in GObjects
2556 2007-12-12 Alexander Larsson <alexl@redhat.com>
2561 No need for padding for interfaces
2563 2007-12-12 Alexander Larsson <alexl@redhat.com>
2567 * gbufferedinputstream.c:
2568 * gbufferedoutputstream.c:
2571 * gdatainputstream.[ch]:
2572 * gdesktopappinfo.c:
2573 * gdirectorymonitor.c:
2575 * gfileattribute.[ch]:
2578 * gfileinputstream.h:
2579 * gfilemonitor.[ch]:
2580 * gfileoutputstream.[ch]:
2581 * gfilterinputstream.h:
2582 * gfilteroutputstream.h:
2585 * gloadableicon.[ch]:
2586 * gmemoryinputstream.c:
2587 * gmountoperation.c:
2589 Fix up a bunch of details in the docs.
2594 2007-12-11 David Zeuthen <davidz@redhat.com>
2596 Rework how volumes, drives and volume monitoring is
2597 done. Previosly the model was
2599 GDrive <1-1> GVolume
2601 where a GDrive instance represented a mount point and a GVolume
2602 instance represented a mounted file system. This patch changes it
2605 GDrive <1-N> GVolume <1-1> GMount
2607 where GMount now serves the purpose of the old GVolume and the new
2608 GVolume serves the purpose of the old GDrive. In addition the new
2609 GDrive interface is used to represent a collection of GVolume
2610 instances (typically partitions) and also contains utility to query
2611 the state of the physical drive the GDrive object represents (such
2612 as checking for media, polling the drive, ejecting the media etc.).
2614 Also implement mounting and unmounting in the Unix volume monitor
2615 backend. A subquent patch will introduce GDrive support for ejection
2619 * gdrive.c: (g_drive_is_media_check_automatic),
2620 (g_drive_is_media_removable), (g_drive_has_media),
2621 (g_drive_can_poll_for_media), (g_drive_eject),
2622 (g_drive_eject_finish), (g_drive_poll_for_media),
2623 (g_drive_poll_for_media_finish):
2625 * gfile.c: (g_file_find_enclosing_mount):
2628 * glocaldirectorymonitor.c:
2629 (g_local_directory_monitor_constructor), (mounts_changed):
2630 * glocalfile.c: (get_mount_info),
2631 (g_local_file_find_enclosing_mount),
2632 (g_local_file_file_iface_init):
2633 * gnativevolumemonitor.h:
2634 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2635 (get_connected_drives), (g_union_volume_monitor_class_init),
2636 (child_volume_added), (child_volume_removed),
2637 (child_volume_changed), (child_mount_added), (child_mount_removed),
2638 (child_mount_pre_unmount), (child_mount_changed),
2639 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2640 (g_union_volume_monitor_remove_monitor),
2641 (_g_mount_get_for_mount_path):
2642 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2643 (guess_system_internal), (_g_get_unix_mounts),
2644 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2645 (g_unix_mount_free), (g_unix_mount_compare),
2646 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2647 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2648 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2649 (type_to_icon), (g_unix_mount_guess_name),
2650 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2651 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2652 (_resolve_symlink), (_resolve_dev_root):
2654 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2655 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2656 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2657 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2658 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2659 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2660 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2661 (g_unix_volume_volume_iface_init):
2663 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2664 (get_mounts), (get_volumes), (get_connected_drives),
2665 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2666 (mountpoints_changed), (mounts_changed),
2667 (g_unix_volume_monitor_init),
2668 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2669 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2670 * gunixvolumemonitor.h:
2671 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2672 (g_volume_mount), (g_volume_mount_finish):
2674 * gvolumemonitor.c: (g_volume_monitor_class_init),
2675 (g_volume_monitor_get_connected_drives),
2676 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2679 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2681 * gmountoperation.h (GPasswordFlags): Close the gap
2683 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2685 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2687 * gdesktopappinfo.[hc]: Remove _-prefixes
2689 2007-12-10 Tor Lillqvist <tml@novell.com>
2691 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2694 2007-12-10 Alexander Larsson <alexl@redhat.com>
2696 * gfile.c (g_file_set_display_name):
2697 Don't hardcode '/' (#502727)
2699 2007-12-09 Hans Breuer <hans@breuer.org>
2701 * makefile.msc : follow lib naming convention
2702 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2703 for user and group name, tested with ../tests/gio-ls
2705 2007-12-09 A. Walton <awalton@svn.gnome.org>
2707 * gdesktopappinfo.c:
2713 * gfileenumerator.c:
2718 * gmemoryinputstream.c:
2719 * gmemoryoutputstream.c:
2721 * gsimpleasyncresult.c:
2722 More documentation cleanup and filling in missing information, bringing
2723 GIO to 99% symbol coverage.
2725 2007-12-08 Hans Breuer <hans@breuer.org>
2727 [gio compiles and links on win32, not sure how much already works]
2728 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2729 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2730 base on win32 API; prefer g_lstat() over lstat(); instead of
2731 localtime_r() use an all GLib implementation on win32;
2732 get_mount_info() still needs a win32 specifc implementation
2733 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2734 win32_get_file_user_info to get owner/group info without uid/gid
2735 * glocalfileinputstream.c : include <io.h> on win32
2736 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2737 definition, use g_win32_ftruncate() for G_OS_WIN32
2738 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2739 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2740 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2741 * makefile.msc : updated
2743 2007-12-07 Alexander Larsson <alexl@redhat.com>
2745 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2746 Avoid warning spew if error == NULL
2748 2007-12-07 Alexander Larsson <alexl@redhat.com>
2751 Update docs wrt etags
2753 2007-12-06 Alexander Larsson <alexl@redhat.com>
2756 Include sys/types.h for dev_t (#501919)
2758 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2762 Make abicheck and pltcheck pass.
2764 2007-12-05 Alexander Larsson <alexl@redhat.com>
2767 * giomodule-priv.h: Added.
2768 * glocaldirectorymonitor.c:
2769 * glocalfilemonitor.c:
2770 * gunionvolumemonitor.c:
2772 Actually add the declaration of _g_io_modules_ensure_loaded
2774 2007-12-05 Alexander Larsson <alexl@redhat.com>
2776 * gdatainputstream.c:
2781 * glocaldirectorymonitor.c:
2782 * glocalfilemonitor.c:
2783 * gunionvolumemonitor.c:
2785 Make g_io_modules_ensure_loaded a private function and
2786 don't pass in the dirname. This means we can do magic
2787 directory finding in the win32 version.
2788 Export the actual load-modules-in-directory code so that
2789 gvfs can reuse that.
2791 2007-12-05 Alexander Larsson <alexl@redhat.com>
2793 * gbufferedinputstream.c:
2794 * gbufferedoutputstream.c:
2797 * gfileenumerator.[ch]:
2798 * gfileinputstream.c:
2799 * gfileoutputstream.[ch]:
2800 * gfilterinputstream.c:
2801 * gfilteroutputstream.c:
2802 * ginputstream.[ch]:
2804 * glocalfileenumerator.c:
2805 * glocalfileinputstream.c:
2806 * glocalfileoutputstream.c:
2807 * gmemoryinputstream.c:
2808 * gmemoryoutputstream.c:
2809 * goutputstream.[ch]:
2812 * gunixinputstream.c:
2813 * gunixoutputstream.c:
2814 Rename all struct members named:
2815 read, write, close, truncate, or mount
2816 to foo_fn, as these are reserved names
2817 and could be defined as macros in libc.
2820 2007-12-04 Alexander Larsson <alexl@redhat.com>
2823 (g_output_stream_close):
2824 Only call flush if non-null.
2826 2007-11-30 Dan Winship <danw@gnome.org>
2828 * ginputstream.c (g_input_stream_set_pending): Make this take a
2829 GError and return a gboolean, and do the "outstanding operation"
2830 check (and the "stream is already closed" check) itself.
2831 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2833 * goutputstream.c (g_output_stream_set_pending)
2834 (g_output_stream_clear_pending): Likewise
2836 * gbufferedinputstream.c:
2837 * gfileinputstream.c:
2838 * gfileoutputstream.c: Update for that
2840 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2841 Like g_simple_async_report_error_in_idle, but takes a GError
2842 rather than building one.
2844 2007-11-30 Dan Winship <danw@gnome.org>
2846 * goutputstream.c: Don't cheat and unset the "pending" flag around
2847 inner calls. Instead, call the class method directly rather than
2848 the wrapper function that checks "pending"
2850 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2852 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2854 2007-12-03 Hans Breuer <hans@breuer.org>
2856 [start of port to win32/msvc]
2857 * gcancellable.c : HAVE_UNIST_H and _pipe()
2858 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2859 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2860 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2862 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2863 * glocalvfs.c : use HAVE_PWD_H
2864 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2865 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2866 * Makefile.am : added to EXTRA_DIST
2868 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2870 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2873 2007-12-03 Alexander Larsson <alexl@redhat.com>
2876 Handle OSX style xattrs API (#500506)
2878 2007-12-03 Alexander Larsson <alexl@redhat.com>
2882 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2884 2007-12-02 A. Walton <awalton@svn.gnome.org>
2888 Documentation accuracy fixes.
2890 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2892 * gioenumtypes.c.template: Fix typo.
2894 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2896 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2898 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2900 * gdirectorymonitor.c:
2901 * gfilemonitor.c: Add properties
2903 * gbufferedoutputstream.c: Don't mark buffer-size property
2906 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2908 * gbufferedoutputstream.c: Add auto-grow property.
2910 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2912 * *.c: Unify the capitalization of section headings.
2914 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2916 * gmountoperation.c: Add properties
2918 * gdatainputstream.c: Turn byte-order and newline-type into
2921 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2923 * gioenumtypes.[hc].template: Templates for enum registration
2925 * Makefile.am: Generate gioenumtypes.[hc]
2927 * gio.h: Include gioenumtypes.h
2929 * gfile.h: Add some explicit nicks.
2931 * gio.symbols: Add new symbols
2933 * pltcheck.sh: Adjust
2935 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2937 * *.c: Explain etags and link to the explanation
2939 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2941 * *.c: Explain I/O priority.
2943 * *.c: More coding style fixes.
2945 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2947 * gasyncresult.c: Add another paragraph to the intro,
2948 adjust coding style of example.
2950 2007-11-29 A. Walton <awalton@svn.gnome.org>
2953 Fixes unknown meaning in GAppLaunchContext docs.
2955 Clarify asynchronous ops.
2957 Fix entity tag docs.
2960 Provides missing gtk-doc section, fixes API docs slighly.
2961 * gsimpleasyncresult.c:
2962 Fill in missing info in docs.
2963 * gunixinputstream.c:
2964 * gunixoutputstream.c:
2965 Be more expressive in short description.
2967 Remove gtk-doc stubs for non-public API.
2969 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2971 * *.c: Coding style fixups
2973 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2975 * inotify/inotify-helper.c: Don't export the lock from libgio.
2977 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2980 * abicheck.sh: Fix copy-and-paste leftovers
2982 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2984 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2986 2007-11-28 Alexander Larsson <alexl@redhat.com>
2990 Removed unnecessary file
2992 * gdesktopappinfo.[ch]:
2995 * glocaldirectorymonitor.[ch]:
2997 * glocalfileenumerator.[ch]:
2998 * glocalfileinputstream.[ch]:
2999 * glocalfilemonitor.[ch]:
3000 * glocalfileoutputstream.[ch]:
3002 * gnativevolumemonitor.c:
3003 * gpollfilemonitor.[ch]:
3004 * gunionvolumemonitor.[ch]:
3007 * gunixvolumemonitor.[ch]:
3010 * inotify/ginotifydirectorymonitor.[ch]:
3011 * inotify/ginotifyfilemonitor.[ch]:
3012 * inotify/inotify-helper.c:
3013 Append _ to all internal functions
3017 Export symbols needed for modules
3019 2007-11-28 Alexander Larsson <alexl@redhat.com>
3022 * abicheck.sh: Added.
3023 * makegioalias.pl: Added.
3024 * pltcheck.sh: Added.
3025 * gio.symbols: Added.
3028 Initial work on adding symbol handling.
3031 Correct ifdef guard name
3034 * inotify/Makefile.am:
3035 * xdgmime/Makefile.am:
3036 Include toplevel Makefile.decl
3038 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3040 * gcontenttype.c: Move doc comments to the unix section.
3042 * *.[hc]: More trivial doc corrections.
3044 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3046 * gpollfilemonitor.c:
3050 * gdesktopappinfo.c:
3055 * gdatainputstream.c:
3056 * gdatainputstream.h:
3057 * gdataoutputstream.c:
3058 * gdataoutputstream.h:
3059 * gfileinfo.h: Doc cleanups
3061 2007-11-28 Andre Klapper <a9016009@gmx.de>
3063 * gdesktopappinfo.c: Fix a typo.
3065 2007-11-27 Andre Klapper <a9016009@gmx.de>
3067 * glocalfileoutputstream.c: Fix a typo.
3069 2007-11-27 Alexander Larsson <alexl@redhat.com>
3072 Don't include removed headers
3074 2007-11-27 Alexander Larsson <alexl@redhat.com>
3077 * gsocketinputstream.[ch]: Removed.
3078 * gsocketoutputstream.[ch]: Removed.
3079 * gunixinputstream.[ch]: Added.
3080 * gunixoutputstream.[ch]: Added.
3081 Renamed GSocket*Stream to GUnix*Stream and made
3082 it unix-only, since its not really only for sockets
3083 and it only works on unix (but is highly useful there).
3085 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3091 * gbufferedinputstream.c:
3092 * gbufferedinputstream.h:
3093 * gbufferedoutputstream.c:
3094 * gbufferedoutputstream.h:
3098 * gdatainputstream.c:
3099 * gdatainputstream.h:
3100 * gdataoutputstream.c:
3101 * gdataoutputstream.h:
3102 * gdirectorymonitor.c:
3103 * gdirectorymonitor.h:
3110 * gfileenumerator.c:
3111 * gfileenumerator.h:
3116 * gfileinputstream.c:
3117 * gfileinputstream.h:
3120 * gfilenamecompleter.c:
3121 * gfilenamecompleter.h:
3122 * gfileoutputstream.c:
3123 * gfileoutputstream.h:
3124 * gfilterinputstream.c:
3125 * gfilterinputstream.h:
3126 * gfilteroutputstream.c:
3127 * gfilteroutputstream.h:
3140 * glocalfileoutputstream.c:
3141 * gmemoryinputstream.c:
3142 * gmemoryinputstream.h:
3143 * gmemoryoutputstream.c:
3144 * gmemoryoutputstream.h:
3145 * gmountoperation.c:
3146 * gmountoperation.h:
3149 * gpollfilemonitor.c:
3152 * gsimpleasyncresult.c:
3153 * gsimpleasyncresult.h:
3154 * gsocketinputstream.c:
3155 * gsocketinputstream.h:
3156 * gsocketoutputstream.c:
3157 * gsocketoutputstream.h:
3164 * gunixvolumemonitor.c:
3173 Bumps documentation to 93% symbol coverage, touching most
3174 of the public files. Fixes broken function documentation prototypes.
3175 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3176 gtk-doc headers in private files.
3178 2007-11-27 Jürg Billeter <j@bitron.ch>
3180 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3181 (g_buffered_input_stream_read_byte):
3182 * gbufferedinputstream.h:
3183 New functions for efficient access to buffer and simple single byte
3186 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3187 (g_data_input_stream_read_until):
3188 * gdatainputstream.h:
3189 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3190 read_until with multiple stop chars.
3192 2007-11-27 Alexander Larsson <alexl@redhat.com>
3196 * inotify/Makefile.am:
3197 Use the user-specified giomoduledir
3199 2007-11-27 Alexander Larsson <alexl@redhat.com>
3203 Add catch-all gio.h header
3204 Don't install gdummyfile.h
3206 2007-11-26 Alexander Larsson <alexl@redhat.com>
3208 * Makefile.am (gioinclude_HEADERS):
3209 Remove trailing whitespace
3211 2007-11-26 Alexander Larsson <alexl@redhat.com>
3213 Merge gio-standalone into glib
3215 2007-11-25 Christian Kellner <gicmo@gnome.org>
3217 * gio/goutputstream.c:
3218 Fix small mistake in the docs.
3220 2007-11-21 Christian Persch <chpe@gnome.org>
3222 * gio/glocalfile.c: (g_local_file_trash):
3223 Convert filenames to UTF-8 for GError.
3224 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3225 as per xdg base dir spec.
3227 2007-11-21 Christian Persch <chpe@gnome.org>
3229 * gio/gdesktopappinfo.c:
3230 Use that g_key_file_to_data cannot fail.
3232 Use stock defines for the key file group and key names.
3235 2007-11-21 Alexander Larsson <alexl@redhat.com>
3238 (copy_stream_with_progress):
3239 Make sure we do a final progress callback with
3240 the full total size.
3242 2007-11-21 Alexander Larsson <alexl@redhat.com>
3245 Export g_file_copy_attributes
3246 Remove padding as its not needed for interfaces
3248 2007-11-20 Alexander Larsson <alexl@redhat.com>
3253 Add G_IO_ERROR_WOULD_MERGE for
3254 copy/move dir on dir with overwrite.
3256 2007-11-20 Alexander Larsson <alexl@redhat.com>
3259 * gio/glocalfileinfo.c:
3260 Add COPY_NAME (this is an optional
3261 non-modified utf8 version of the name) that
3264 2007-11-20 Alexander Larsson <alexl@redhat.com>
3266 * gio/glocalfileenumerator.c:
3267 Report errors as GIOError, not GFileError
3269 2007-11-16 Alexander Larsson <alexl@redhat.com>
3271 * gio/glocalfileoutputstream.c:
3272 * gio/gwin32appinfo.c:
3273 Fix typos in strings.
3274 Patch from Luca Ferretti <elle.uca@libero.it>
3276 2007-11-15 Alexander Larsson <alexl@redhat.com>
3279 Post release version bump
3281 === gio-standalone 0.1.2 ===
3283 2007-11-15 Alexander Larsson <alexl@redhat.com>
3285 * docs/reference/gio/Makefile.am:
3286 Fix up distcheck by removing weird
3292 2007-11-14 Alexander Larsson <alexl@redhat.com>
3294 * gio/gdesktopappinfo.c:
3295 * gio/glocaldirectorymonitor.c:
3297 * gio/glocalfileinfo.c:
3298 * gio/inotify/inotify-sub.c:
3299 * programs/gio-cat.c:
3300 * programs/gio-copy.c:
3301 * programs/gio-info.c:
3302 * programs/gio-ls.c:
3303 * programs/gio-monitor-dir.c:
3304 * programs/gio-monitor-file.c:
3305 * programs/gio-mount.c:
3306 * programs/gio-move.c:
3307 * programs/gio-rm.c:
3308 * programs/gio-save.c:
3309 * programs/gio-trash.c:
3310 Leak fixes from Kjartan Maraas
3312 2007-11-14 Alexander Larsson <alexl@redhat.com>
3314 * gio/fam/fam-helper.c:
3316 * gio/glocalfileinfo.c:
3320 * gio/inotify/inotify-diag.c:
3321 * gio/inotify/inotify-kernel.c:
3322 Various code cleanups from Kjartan Maraas
3324 2007-11-14 Alexander Larsson <alexl@redhat.com>
3326 * gio/gioscheduler.c:
3328 Set up threadpool so that we cache 2 unused
3329 idle threads for at 15 secs. This means we
3330 will reuse thread-local data (like dbus connections)
3333 2007-11-14 Alexander Larsson <alexl@redhat.com>
3335 * gio/fam/fam-helper.c:
3336 * gio/fam/gfamdirectorymonitor.c:
3337 * gio/fam/gfamfilemonitor.c:
3339 * gio/gcontenttype.c:
3340 * gio/gdatainputstream.c:
3341 * gio/gdataoutputstream.c:
3345 * gio/gfileattribute.h:
3346 * gio/gfileenumerator.c:
3348 * gio/ginputstream.c:
3351 * gio/glocalfileinfo.c:
3352 * gio/goutputstream.c:
3353 * gio/gpollfilemonitor.c:
3354 * gio/gsimpleasyncresult.c:
3355 * gio/gunixmounts.c:
3356 * gio/gunixmounts.h:
3357 * gio/inotify/ginotifydirectorymonitor.c:
3358 * gio/inotify/ginotifyfilemonitor.c:
3359 * gio/inotify/inotify-diag.c:
3360 * gio/inotify/inotify-kernel.c:
3361 * gio/inotify/inotify-path.c:
3363 * gio/test-streams.c:
3364 * programs/gio-info.c:
3365 * programs/gio-monitor-dir.c:
3366 * programs/gio-monitor-file.c:
3367 Various code cleanups from Kjartan Maraas
3369 2007-11-13 Alexander Larsson <alexl@redhat.com>
3372 Handle the uri-scheme calls for dummy files
3374 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3376 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3377 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3378 to avoid clash with the C++ keyword.
3380 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3382 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3383 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3385 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3387 * gio/glocaldirectorymonitor.c:
3388 * gio/glocalfilemonitor.c:
3389 * gio/gunionvolumemonitor.c:
3390 Don't use g_once_init_*() for initializations that could fail and
3391 could leave the initialization variable set to 0 but use GOnce.
3392 This prevents a deadlock on the second call when trying to create
3393 a monitor and no monitor type is available. Thanks to Sven Herzberg
3396 2007-11-11 Sven Herzberg <sven@imendio.com>
3398 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3399 #ifdef (make it work on MacOS X again)
3401 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3403 Fixes Changelog for last two commits (sorry guys).
3405 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3407 * gio/gbufferedinputstream.c:
3408 * gio/gdatainputstream.c:
3410 * gio/gfileoutputstream.c:
3411 * gio/gfilterinputstream.c:
3412 * gio/glocalfileinputstream.c:
3415 More consistency fixes in g*stream.c files.
3416 Significant clean of gfile's documentation, filling in of
3417 asynchronous operations documentation.
3419 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3421 * gio/gasyncresult.c:
3422 * gio/gbufferedinputstream.c:
3423 * gio/gbufferedoutputstream.c:
3424 * gio/gcancellable.c:
3425 * gio/gcontenttype.c:
3426 * gio/gdatainputstream.c:
3427 * gio/gdataoutputstream.c:
3428 * gio/gdesktopappinfo.c:
3431 * gio/gfileattribute.c:
3432 * gio/gio/gfileenumerator.c:
3434 * gio/gfileinputstream.c:
3435 * gio/gfilemonitor.c:
3436 * gio/gfileoutputstream.c:
3437 * gio/ginputstream.c:
3439 * gio/gioscheduler.c:
3440 * gio/gloadableicon.c:
3441 * gio/glocalfileoutputstream.c:
3442 * gio/gmemoryoutputstream.c:
3443 * gio/gmountoperation.c:
3444 * gio/goutputstream.c:
3446 * gio/gsimpleasyncresult.c:
3447 * gio/gunionvolumemonitor.c:
3448 * gio/gunixmounts.c:
3449 * gio/gunixvolume.c:
3453 * gio/gvolumemonitor.c:
3454 Updated documentation stubs, working towards consistency and
3457 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3459 * gio/gmemoryoutputstream.c:
3460 * gio/gmemoryoutputstream.h:
3461 Change g_memory_output_stream_set_free_on_close() to
3462 g_memory_output_stream_set_free_data() as this makes more sense and
3463 is more consistent with GMemoryInputStream.
3465 2007-11-07 Alexander Larsson <alexl@redhat.com>
3472 Change how we find the default vfs so that
3473 we can handle a gvfs failing to init
3475 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3477 * gio/gbufferedoutputstream.c:
3478 * gio/gdatainputstream.c:
3479 * gio/gdataoutputstream.c:
3480 * gio/gfileinputstream.c:
3481 * gio/gfileoutputstream.c:
3482 * gio/gfilterinputstream.c:
3483 * gio/gfilteroutputstream.c:
3484 * gio/ginputstream.c:
3485 * gio/gmemoryinputstream.c:
3486 * gio/gmemoryoutputstream.c:
3487 * gio/goutputstream.c:
3488 * gio/gsimpleasyncresult.c:
3489 * gio/gsocketinputstream.c:
3490 * gio/gsocketoutputstream.c:
3491 Add guards to the remaining public functions, add a TODO for
3492 an unimplemented function and remove some useless guards.
3494 2007-11-07 Alexander Larsson <alexl@redhat.com>
3497 Autoconf checks for the various types of
3498 getpwuid_r and getgrgid_r
3500 * gio/glocalfileinfo.c:
3501 Use the autoconf checks from above
3503 2007-11-07 Alexander Larsson <alexl@redhat.com>
3506 (g_local_file_query_filesystem_info):
3507 Some fixes for the statvfs case
3509 2007-11-07 Alexander Larsson <alexl@redhat.com>
3512 (g_local_file_query_filesystem_info):
3513 Pick the "best" of statfs / statvfs for the system
3514 if both are availible.
3516 2007-11-07 Alexander Larsson <alexl@redhat.com>
3518 Solaris fixes from Halton.Huo@Sun.COM:
3525 * gio/glocalfileinfo.c:
3526 Fix for solaris definition of getpwuid_r
3528 * gio/test-streams.c:
3529 Use G_GNUC_PRETTY_FUNCTION
3531 2007-11-07 Alexander Larsson <alexl@redhat.com>
3533 * gio/gdesktopappinfo.c:
3534 (update_default_list):
3535 Remove double semicolon.
3536 Patch from Jens Granseuer
3538 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3540 * docs/reference/gio/gio-sections.txt:
3541 * gio/gbufferedinputstream.c:
3542 * gio/gbufferedinputstream.h:
3543 * gio/gdatainputstream.c:
3544 * gio/gfileenumerator.c:
3545 * gio/gioscheduler.c:
3546 * gio/gunionvolumemonitor.c:
3548 * programs/gio-save.c:
3549 Fix typo: availible -> available. Unfortuntely this breaks API
3550 and ABI as g_buffered_input_stream_get_available() was renamed.
3552 * gio/gunixmounts.c:
3553 * gio/gbufferedinputstream.c:
3554 Add guards for public functions.
3556 2007-11-06 Ross Burton <ross@openedhand.com>
3558 * docs/reference/gio/Makefile.am:
3559 Fix invalid += usage which automake 1.10 doesn't like.
3561 2007-11-06 Alexander Larsson <alexl@redhat.com>
3564 (g_app_launch_context_class_init):
3567 Patch from Ross Burton
3569 2007-11-06 Alexander Larsson <alexl@redhat.com>
3572 Post release version bump
3574 === gio-standalone 0.1.1 ===
3576 2007-11-06 Alexander Larsson <alexl@redhat.com>
3579 Bump version to 0.1.1
3581 * gio/gsimpleasyncresult.c:
3582 (g_simple_async_result_set_from_error):
3583 Remove bogus g_return_if_fail
3585 2007-11-06 Alexander Larsson <alexl@redhat.com>
3588 The name is gio-standalone
3591 Add top src/builddir to includedir
3593 2007-11-06 Alexander Larsson <alexl@redhat.com>
3595 * docs/reference/gio/gio-sections.txt:
3597 * gio/gbufferedinputstream.c:
3598 * gio/gbufferedoutputstream.c:
3599 * gio/gcancellable.c:
3600 * gio/gdatainputstream.h:
3601 * gio/gdataoutputstream.c:
3602 * gio/gdataoutputstream.h:
3603 * gio/gdirectorymonitor.c:
3605 * gio/gfileattribute.c:
3606 * gio/gfileattribute.h:
3607 * gio/gfileenumerator.c:
3608 * gio/gfileenumerator.h:
3611 * gio/gfileinputstream.h:
3612 * gio/gfilemonitor.c:
3613 * gio/gfileoutputstream.h:
3614 * gio/glocalfilemonitor.h:
3615 * gio/glocalfileoutputstream.h:
3616 * gio/gmemoryinputstream.c:
3617 * gio/gmemoryoutputstream.c:
3618 * gio/gmountoperation.c:
3619 * gio/goutputstream.c:
3620 * gio/goutputstream.h:
3622 * gio/gsimpleasyncresult.c:
3623 * gio/gunixmounts.c:
3624 * gio/gunixmounts.h:
3626 * gio/inotify/inotify-helper.c:
3627 Fix gtk-doc warnings
3629 Patch from Ross Burton
3631 2007-11-06 Alexander Larsson <alexl@redhat.com>
3633 * gio/gfilenamecompleter.c:
3634 (g_filename_completer_get_completions):
3637 * gio/gunixvolume.c:
3638 Remove unused function
3640 Patches from Ross Burton
3642 2007-11-06 Alexander Larsson <alexl@redhat.com>
3647 Padding not needed for interfaces
3649 2007-11-06 Alexander Larsson <alexl@redhat.com>
3651 * gio/gfilemonitor.c:
3655 Make giotypes.h an internal file
3658 * gio/gbufferedinputstream.h:
3659 * gio/gbufferedoutputstream.h:
3660 * gio/gcancellable.h:
3661 * gio/gdatainputstream.h:
3662 * gio/gdataoutputstream.h:
3663 * gio/gdirectorymonitor.c:
3664 * gio/gdirectorymonitor.h:
3669 * gio/gfileattribute.h:
3670 * gio/gfileenumerator.h:
3675 * gio/gfilemonitor.c:
3676 * gio/gfilemonitor.h:
3677 * gio/gfilenamecompleter.c:
3678 * gio/gfilenamecompleter.h:
3679 * gio/gfilterinputstream.h:
3680 * gio/gfilteroutputstream.h:
3681 * gio/ginputstream.h:
3682 * gio/gmemoryinputstream.h:
3683 * gio/gmemoryoutputstream.h:
3684 * gio/gmountoperation.c:
3685 * gio/gmountoperation.h:
3686 * gio/gnativevolumemonitor.c:
3687 * gio/goutputstream.h:
3690 * gio/gsimpleasyncresult.c:
3691 * gio/gsimpleasyncresult.h:
3692 * gio/gsocketinputstream.h:
3693 * gio/gsocketoutputstream.h:
3694 * gio/gthemedicon.c:
3695 * gio/gthemedicon.h:
3699 * gio/gvolumemonitor.c:
3700 * gio/gvolumemonitor.h:
3701 Add padding in classes where it seems useful
3702 Don't include giotypes.h from public headers
3703 Move in Class definitions into c file where possible
3708 2007-11-06 Alexander Larsson <alexl@redhat.com>
3710 * docs/reference/gio/gio-docs.xml:
3711 Better structure for API docs
3713 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3716 * gio/gloadableicon.c:
3717 * gio/gsimpleasyncresult.c:
3718 * gio/gthemedicon.c:
3719 Add some more guards to public functions. Only files missing are now
3722 2007-11-06 Alexander Larsson <alexl@redhat.com>
3724 * docs/reference/gio/gio-docs.xml:
3725 Remove old files, add missing ones
3727 2007-11-06 Alexander Larsson <alexl@redhat.com>
3729 * docs/reference/gio/gio-sections.txt:
3732 Hide implementation classes
3734 * gio/gdriveprivate.h:
3735 * gio/gvolumeprivate.h:
3736 Remove non-existing function declarations
3738 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3741 Fix compilation warnings and add guards to the new functions.
3743 * gio/gasyncresult.c:
3745 Add guards to the public functions.
3748 Implement get_path().
3750 2007-11-06 Alexander Larsson <alexl@redhat.com>
3752 * gio/gfilenamecompleter.c:
3753 Make g_filename_completer_get_completions
3754 return char ** instead of GList for
3757 * docs/reference/gio/gio-docs.xml:
3758 * docs/reference/gio/gio-sections.txt:
3760 * gio/gasyncresult.c:
3761 * gio/gbufferedinputstream.c:
3762 * gio/gbufferedoutputstream.c:
3763 * gio/gcancellable.c:
3764 * gio/gcontenttype.c:
3765 * gio/gdatainputstream.c:
3766 * gio/gdataoutputstream.c:
3767 * gio/gdesktopappinfo.c:
3768 * gio/gdirectorymonitor.c:
3772 * gio/gfileattribute.c:
3773 * gio/gfileenumerator.c:
3776 * gio/gfileinputstream.c:
3777 * gio/gfilemonitor.c:
3778 * gio/gfilenamecompleter.c:
3779 * gio/gfilenamecompleter.h:
3780 * gio/gfileoutputstream.c:
3781 * gio/gfilterinputstream.c:
3783 * gio/ginputstream.c:
3785 * gio/gioscheduler.c:
3786 * gio/gloadableicon.c:
3787 * gio/glocaldirectorymonitor.c:
3789 * gio/glocalfileinputstream.c:
3790 * gio/glocalfilemonitor.c:
3791 * gio/glocalfileoutputstream.c:
3793 * gio/gmemoryinputstream.c:
3794 * gio/gmemoryoutputstream.c:
3795 * gio/gmountoperation.c:
3796 * gio/goutputstream.c:
3797 * gio/gpollfilemonitor.c:
3799 * gio/gsimpleasyncresult.c:
3800 * gio/gsocketinputstream.c:
3801 * gio/gsocketoutputstream.c:
3802 * gio/gthemedicon.c:
3803 * gio/gunionvolumemonitor.c:
3805 * gio/gunixmounts.c:
3806 * gio/gunixvolume.c:
3807 * gio/gunixvolumemonitor.c:
3811 * gio/gvolumemonitor.c:
3812 * gio/gwin32appinfo.c:
3813 Add (mostly stub) doc strings to public functions.
3814 Patch from Andrew Walton (awalton@gmail.com)
3816 2007-11-06 Alexander Larsson <alexl@redhat.com>
3818 * gio/gappinfo.[ch]:
3819 Added GAppLaunchContext object and pass that to launch.
3820 This allows simple implementation of both
3821 launch-on-screen and startup notification via a gtk+
3822 subclass of GAppLaunchContext
3824 * gio/gdesktopappinfo.c:
3825 Implement GAppLaunchContext API
3827 * gio/gwin32appinfo.c:
3830 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3832 * gio/gmountoperation.c:
3833 Add some guards to GMountOperation's public functions.
3835 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3839 * gio/gcancellable.c:
3840 * gio/gdirectorymonitor.c:
3842 * gio/gfileenumerator.c:
3843 * gio/gfilemonitor.c:,
3844 * gio/gfilenamecompleter.c:
3847 * gio/gioscheduler.c:
3851 * gio/gvolumemonitor.c:
3852 Add even more guards to various public functions.
3854 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3857 Add guards to the public functions of GAppInfo.
3859 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3861 * gio/gcontenttype.c:
3862 Add some more guards for public functions.
3864 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3866 * gio/fam/fam-module.c:
3867 * gio/fam/gfamdirectorymonitor.c:
3868 * gio/fam/gfamdirectorymonitor.h:
3869 * gio/fam/gfamfilemonitor.c:
3870 * gio/fam/gfamfilemonitor.h:
3871 * gio/inotify/ginotifydirectorymonitor.c:
3872 * gio/inotify/ginotifydirectorymonitor.h:
3873 * gio/inotify/ginotifyfilemonitor.c:
3874 * gio/inotify/ginotifyfilemonitor.h:
3875 Add proper copyright information and remove an unused variable
3876 in the GInotifyFileMonitor constructor.
3878 * gio/gcancellable.c:
3879 Add a guard for a public function and an assertion to prevent
3880 an undefined program state.
3882 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3884 * gio/gfileattribute.c:
3885 Don't run into an assertion if the given attribute value is NULL
3886 in g_file_attribute_value_get_*() but instead return a fallback
3887 value that makes sense in most situations. Passing them a attribute
3888 value with the wrong type will still run into an assertion.
3890 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3892 * gio/gfileattribute.c:
3894 Add even more guards to the public functions. Also fix the refcounting
3895 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3896 let g_file_info_list_attributes() filter the attributes by namespace
3897 instead of simply ignoring the namespace parameter.
3899 2007-11-03 Sven Herzberg <sven@imendio.com>
3901 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3902 (This makes gio work on MacOS X again)
3904 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3907 Build the gio subdirectory before the docs. Otherwise the build will
3910 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3911 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3912 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3913 Add guards to the public functions.
3915 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3917 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3918 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3919 to prevent a compiler warning.
3921 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3922 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3923 return something in the non-void function find_topdir_for().
3925 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3932 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3934 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3935 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3936 * gwin32appinfo.c (g_win32_app_info_launch):
3937 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3938 envp_for_startup_id, g_desktop_app_info_launch,
3939 g_desktop_app_info_launch_uris):
3941 Give an opaque 'startup_id' string instead of 'envp'.
3942 Support empty file lists for launching new windows.
3943 Fix infinite recursion bug when launching URIs.
3945 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3948 Add guard to the new g_file_get_uri_scheme() function.
3950 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3953 Convert a g_return_val_if_fail() to setting the GError instead as
3954 otherwise applications have to verify the parameter before otherwise
3955 and the parameter might come directly from the user.
3957 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3959 * gio/inotify/ginotify*.[ch]:
3960 Add missing copyright information.
3962 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3965 Add guards in the beginning of public functions to check for valid
3966 parameters and fix a bug in copy_stream_with_progress() that could've
3967 caused writing less bytes than reading.
3968 * gio/glocalfileinfo.c:
3969 Check for a NULL parameter and set the GError accordingly then.
3970 * gio/goutputstream.c:
3971 Fix the same bug as in gfile.c that could've caused writing less bytes
3972 than reading in g_output_stream_real_splice().
3974 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3977 Use the correct gvolumeprivate.h naming
3979 2007-11-01 Christian Kellner <gicmo@gnome.org>
3982 Remove leftover "$(daemon_sources)" entry.
3984 2007-11-01 Christian Kellner <gicmo@gnome.org>
3989 Add copyright information to source files.
3991 2007-11-01 Alexander Larsson <alexl@redhat.com>
3995 Add g_file_get_uri_scheme
3997 2007-11-01 Alexander Larsson <alexl@redhat.com>
4000 * gio/gdesktopappinfo.c:
4001 * gio/gwin32appinfo.c:
4002 Add g_app_info_get_default_for_uri_scheme.
4004 2007-11-01 Alexander Larsson <alexl@redhat.com>
4007 Correct filename for gdriveprivate.h
4009 2007-10-31 Alexander Larsson <alexl@redhat.com>
4012 Rename id:value to id:file
4015 * gio/glocalfileinfo.c:
4018 2007-10-31 Alexander Larsson <alexl@redhat.com>
4020 * gio/gunixvolume.c:
4022 Remove g_volume_get_platform_id, as thats not
4023 needed with the simpler union volume monitor
4025 2007-10-31 Alexander Larsson <alexl@redhat.com>
4028 * gio/guniondrive.[ch]: Removed.
4029 * gio/gunionvolume.[ch]: Removed.
4030 Remove GUnionDrive/Volume
4032 * gio/gunionvolumemonitor.c:
4033 Simplify union volume monitor, now we
4034 only have one native volume monitor and
4035 we use the actual volumes/drives from the
4036 child monitors instead of wrapping them
4038 * gio/gnativevolumemonitor.[ch]:
4039 Base class for native volume monitors.
4040 Includes priority and get_volume_for_mountpoint
4043 Add g_file_find_enclosing_volume
4046 Remove volume name fs attribute
4047 Add readonly fs attribute
4050 Implement readonly attribute
4051 remove volume name attribute
4052 Implement find_enclosing volume
4054 * gio/gunixmounts.c:
4055 Add a volume for "/".
4057 * gio/gunixvolume.[ch]:
4058 Set better name for /
4060 * gio/gunixvolumemonitor.[ch]:
4061 Derive from GNativeVolumeMonitor
4062 Implement get_volume_for_mountpoint
4065 GVolume typedef moved to gfile.h
4067 * gio/gvolumeprivate.h:
4068 Add g_volume_get_for_mount_path
4070 2007-10-31 Alexander Larsson <alexl@redhat.com>
4072 * gio/gunixmounts.[ch]:
4073 Add cache info to unix mount listers
4074 Make getmntent use threadsafe
4075 Add is_system_internal attribute for GUnixMount
4077 * gio/gunixvolume.c:
4078 (g_unix_volume_new):
4079 Use is_system_internal instead of own code
4081 * gio/glocaldirectorymonitor.c:
4082 * gio/gunixvolumemonitor.c:
4083 Update to new gunixmounts API
4088 2007-10-30 Alexander Larsson <alexl@redhat.com>
4091 Add volume name fsinfo attribute
4094 Read volume name info
4096 * gio/gunionvolumemonitor.c:
4097 Fix infinite loops when finalizing a union volume monitor
4099 2007-10-30 Alexander Larsson <alexl@redhat.com>
4101 * gio/goutputstream.[ch]:
4102 Add splice() with default implementation
4104 * gio/gsocketoutputstream.c:
4105 (g_socket_output_stream_write):
4106 Return error on cancellation correctly.
4108 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4110 * gio/glocalfile.c (g_local_file_trash):
4111 Do not leak a string.
4113 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4115 * gio/gfile.c (g_file_load_contents):
4116 Unref the stream after closing it.
4118 2007-10-25 Alexander Larsson <alexl@redhat.com>
4120 * gio/gioscheduler.h:
4123 2007-10-25 Alexander Larsson <alexl@redhat.com>
4127 Add g_file_has_uri_scheme and implement for local files
4129 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4131 * gio/gdesktopappinfo.c: do not leak a string.
4133 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4135 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4136 (g_local_directory_monitor_new):
4137 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4138 (g_local_file_monitor_new):
4139 Only look for the monitor type that should be used the first time
4140 and use g_qsort_with_data() instead of our own bubble sort
4143 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4146 * gio/fam/Makefile.am:
4147 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4148 * gio/fam/fam-helper.h:
4149 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4150 * gio/fam/gfamdirectorymonitor.c:
4151 * gio/fam/gfamdirectorymonitor.h:
4152 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4153 * gio/fam/gfamfilemonitor.h:
4154 * gio/glocaldirectorymonitor.c:
4155 * gio/glocaldirectorymonitor.h:
4156 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4157 * gio/glocalfilemonitor.h:
4158 * gio/inotify/Makefile.am:
4159 * gio/inotify/ginotifydirectorymonitor.c:
4160 * gio/inotify/ginotifydirectorymonitor.h:
4161 * gio/inotify/ginotifyfilemonitor.c:
4162 * gio/inotify/ginotifyfilemonitor.h:
4163 Implement the FAM and Inotify monitors as
4164 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4165 their own GIO module. GLocal(Directory|File)Monitor will use the
4166 monitor with the highest rank that is supported on that machine.
4168 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4171 Change GIO module dir to $(libdir)/gio/modules and change
4172 the log domain from GVFS to GIO. Also only export symbols starting
4173 with g_ in the resulting library.
4174 * gio/test-streams.c: (main):
4175 Set log handler for the GIO log domain.
4177 2007-10-22 Alexander Larsson <alexl@redhat.com>
4179 * gio/gfilenamecompleter.[ch]:
4180 Add g_filename_completer_set_dirs_only
4182 2007-10-22 Alexander Larsson <alexl@redhat.com>
4185 * gio/gurifuncs.[ch]:
4186 Add some simple URI helpers
4188 * gio/gfilenamecompleter.[ch]:
4189 Added object for filename (parse name actually) completion
4192 Handle ~ in parse names
4194 2007-10-17 Alexander Larsson <alexl@redhat.com>
4197 * gio/glocalfileinfo.c:
4198 Add and implement id:value attribute
4200 2007-10-17 Alexander Larsson <alexl@redhat.com>
4203 * gio/guniondrive.c:
4205 Add and implement g_drive_has_volumes
4207 2007-10-17 Alexander Larsson <alexl@redhat.com>
4210 * gio/glocalfileinfo.[ch]:
4211 Add unix:is_mountpoint and implement for local files
4213 2007-10-16 Alexander Larsson <alexl@redhat.com>
4215 * gio/gunionvolumemonitor.c:
4216 (g_union_volume_monitor_init):
4217 Fix up the unix type getting so that it works with gcc
4219 2007-10-12 Alexander Larsson <alexl@redhat.com>
4222 * gio/glocalfileinfo.c:
4223 Add thumbnail:failed to file info
4225 2007-10-12 Richard Hult <richard@imendio.com>
4227 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4228 optimizing away the get_type call (happens with some gcc versions,
4229 like the one shipped with OS X 10.4).
4231 2007-10-12 Alexander Larsson <alexl@redhat.com>
4233 * gio/glocalfileinfo.c:
4234 (_g_local_file_info_set_attribute):
4235 Fix build if not HAVE_XATTR
4236 Patch from Milosz Derezynski <internalerror@gmail.com>
4238 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4240 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4241 around for review, otherwise I would have asked you before
4244 2007-10-11 Alexander Larsson <alexl@redhat.com>
4247 Add thumbnail:path attribute
4249 * gio/glocalfileinfo.c:
4250 Implement thumbnail:path for local files
4252 2007-10-11 Alexander Larsson <alexl@redhat.com>
4254 * gio/glocalfileinfo.c:
4255 (_g_local_file_info_get):
4256 Avoid duplicate icon names
4258 2007-10-11 Alexander Larsson <alexl@redhat.com>
4260 * gio/gthemedicon.[ch]:
4261 Change g_themed_icon_get_names return type to const
4263 2007-10-10 Alexander Larsson <alexl@redhat.com>
4265 * gio/glocalfileinfo.c:
4266 Don't reference freed memory
4268 2007-10-10 Alexander Larsson <alexl@redhat.com>
4270 * gio/gfileattribute.c:
4273 * gio/glocalfileinfo.c:
4276 2007-10-10 Alexander Larsson <alexl@redhat.com>
4279 Check for NULL icons
4281 * gio/gfileattribute.c:
4282 Don't dup when getting objects (same as for string attributes)
4284 * gio/gicon.c (g_icon_equal):
4285 Safely handle NULLs in equal
4287 2007-10-10 Alexander Larsson <alexl@redhat.com>
4290 Fix c++ compilation issues
4291 Patch from Milosz Derezynski <internalerror@gmail.com>
4293 2007-10-10 Alexander Larsson <alexl@redhat.com>
4295 * programs/gio-monitor-dir.c:
4296 Don't crash if dir monitor not supported.
4298 2007-10-09 Alexander Larsson <alexl@redhat.com>
4301 Add missing G_END_DECLS
4303 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4305 * gio/gfile.c: (g_file_set_display_name),
4306 (g_file_query_settable_attributes),
4307 (g_file_query_writable_namespaces):
4308 Return NULL not FALSE on errors as the return type is a pointer.
4310 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4312 * gio/glocalfile.c: (g_local_file_monitor_file):
4313 Don't call monitor_file on the default interface vtable (which
4314 is NULL) but simply return NULL. The caller, GFile, will create a
4315 polling monitor if NULL is returned.
4317 2007-10-09 Alexander Larsson <alexl@redhat.com>
4321 * gio-unix-2.0.pc.in:
4322 Add gio-unix-2.0.pc if OS_UNIX
4325 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4327 2007-10-09 Alexander Larsson <alexl@redhat.com>
4329 * gio/gunixmounts.[ch]:
4330 Make unix mount monitoring API sane.
4331 Now its just a object with mounts_changed
4332 and mountpoints_changed signals.
4334 * gio/glocaldirectorymonitor.c:
4335 * gio/gunixvolumemonitor.c:
4336 Use new mount monitor api
4338 2007-10-09 Alexander Larsson <alexl@redhat.com>
4340 * gio/gunixmounts.[ch]:
4341 Move guess type into one call for mounts and one for mountpoints
4344 * gio/gunixvolume.c:
4347 2007-10-09 Alexander Larsson <alexl@redhat.com>
4349 * gio/gunixmounts.[ch]:
4350 Remove _ prefix in preparation to make this semi-public
4351 Hide implementation of structs
4353 * gio/glocaldirectorymonitor.c:
4355 * gio/gunixvolume.c:
4356 * gio/gunixvolumemonitor.c:
4357 Update for above API changes
4359 2007-10-08 Alexander Larsson <alexl@redhat.com>
4362 Better polling fallback. This also handles the case where we have
4363 a monitor_file implementation, but it fails.
4365 2007-10-08 Alexander Larsson <alexl@redhat.com>
4369 * gio/gunixmounts.c:
4370 * programs/gio-monitor-dir.c:
4371 * programs/gio-monitor-file.c:
4372 Added cancellable to file monitoring calls.
4373 These are really sync calls and need this.
4375 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4377 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4378 (g_local_vfs_class_init):
4379 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4380 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4382 2007-10-05 Alexander Larsson <alexl@redhat.com>
4384 * gio/gdirectorymonitorprivate.h:
4385 * gio/gfilemonitorprivate.h:
4386 * gio/gdirectorymonitor.h:
4387 * gio/gfilemonitor.h:
4388 Remove *private.h and move to the public API, so that
4389 we can do implementations outside gio (such as in gvfs)
4391 * gio/gdirectorymonitor.c:
4392 * gio/gfilemonitor.c:
4393 * gio/glocaldirectorymonitor.c:
4394 * gio/gpollfilemonitor.c:
4395 * gio/inotify/inotify-helper.c:
4396 * gio/fam/fam-helper.c:
4397 Update to the new header names
4399 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4401 * gio/gdirectorymonitor.c:
4402 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4405 2007-10-04 Alexander Larsson <alexl@redhat.com>
4407 * gio/glocalfileinfo.c (get_access_rights):
4408 Set CAN_TRASH when we can move the file.
4409 We should really also check for a parent trash dir.
4411 2007-10-04 Alexander Larsson <alexl@redhat.com>
4413 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4414 Add can_trash access attribute
4416 2007-10-04 Alexander Larsson <alexl@redhat.com>
4419 (g_local_file_trash):
4420 Create info file first. This is per-spec and allows
4421 us to actually trash directories.
4423 2007-10-02 Alexander Larsson <alexl@redhat.com>
4425 * gio/gdesktopappinfo.c:
4426 Implement the new mime support code.
4427 Always set app as handling mimetype when being set as default for it
4429 2007-10-01 Alexander Larsson <alexl@redhat.com>
4431 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4432 Fix up check for xattrs:
4434 2007-10-01 Alexander Larsson <alexl@redhat.com>
4437 (g_app_info_set_as_default_for_extension):
4438 (g_app_info_add_supports_type):
4439 (g_app_info_can_remove_supports_type):
4440 (g_app_info_remove_supports_type):
4441 Make these fail nicely if not implemented
4443 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4445 * gio/glocalfileoutputstream.c:
4446 * gio/glocalfileoutputstream.h:
4451 * programs/gio-save.c:
4452 Add a GFileCreateFlags argument to operations that can create
4455 2007-10-01 Alexander Larsson <alexl@redhat.com>
4457 * gio/gappinfo.[ch]:
4458 * gio/gdesktopappinfo.c:
4459 Add more (stubbed out) mime API needed for nautilus
4461 2007-10-01 Alexander Larsson <alexl@redhat.com>
4464 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4465 Add g_app_info_set_as_default_for_extension.
4467 * gio/gdesktopappinfo.c:
4468 Dummy for g_app_info_set_as_default_for_extension
4469 Support flags in g_app_info_create_from_commandline
4471 * gio/gwin32appinfo.c:
4473 Update for API changes
4475 * gio/gthemedicon.c:
4476 Properly NULL-terminate list of icon names
4478 2007-09-28 Alexander Larsson <alexl@redhat.com>
4480 * gio/gloadableicon.h:
4481 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4483 2007-09-28 Alexander Larsson <alexl@redhat.com>
4486 Install headers in $includedir/gio-standalone/
4488 * gio-2.0.pc.in: Added.
4489 * gio-standalone.pc.in: Removed.
4492 Renamed pkg-config file to match glib (for future move)
4493 Update to the new include dir
4496 Add more TODO comments
4498 2007-09-28 Alexander Larsson <alexl@redhat.com>
4500 * gio/gdesktopappinfo.[ch]:
4501 Expose new_from_filename
4502 Add getter for is_hidden and handle it better
4504 2007-09-28 Alexander Larsson <alexl@redhat.com>
4506 * gio/gfileinfo.[ch]:
4507 Rename g_file_size_format_for_display to
4508 g_format_file_size_for_display.
4509 Now it doesn't have the g_file prefix, so we
4510 can later move it to glib.
4512 2007-09-28 Alexander Larsson <alexl@redhat.com>
4514 * gio/gappinfo.[ch]:
4515 Add g_app_info_get_id and g_app_info_get_executable.
4516 Make all getters non-reffing
4517 Make g_app_info_launch take GFile arguments.
4518 Add must_support_uris argument to g_app_info_get_default_for_type.
4520 * gio/gwin32appinfo.c:
4521 Update to GAppInfo api changes
4523 * gio/gdesktopappinfo.c:
4524 Update to GAppInfo api changes
4525 Implement supports_xdg_startup_notify
4527 * gio/gfileicon.c (g_file_icon_get_file):
4528 Make getter non-reffing.
4533 2007-09-27 Alexander Larsson <alexl@redhat.com>
4535 * gio/gfileinfo.[ch]:
4536 Add g_file_size_format_for_display helper
4538 2007-09-27 Alexander Larsson <alexl@redhat.com>
4540 * gio/glocalfileinfo.c:
4541 Set UNIX_GID from gid, not from uid
4543 2007-09-27 Alexander Larsson <alexl@redhat.com>
4546 Add g_file_set_attributes_async
4548 2007-09-27 Alexander Larsson <alexl@redhat.com>
4550 * gio/glocalfile.c (g_local_file_set_display_name):
4551 Fix set_display_name to actually rename to the right place.
4552 Use lstat to look for existing files so we don't overwrite
4555 2007-09-26 Alexander Larsson <alexl@redhat.com>
4558 Add g_file_set_display_name_async()
4560 2007-09-26 Alexander Larsson <alexl@redhat.com>
4563 Add load_partial_contents async calls
4566 Make internal function static
4568 2007-09-26 Alexander Larsson <alexl@redhat.com>
4570 * gio/glocalfileinfo.c:
4571 Correctly detect broken symlinks
4573 2007-09-26 Alexander Larsson <alexl@redhat.com>
4575 * gio/gcancellable.c (g_cancellable_cancel):
4576 Allow cancel on NULL cancellable
4578 2007-09-25 Alexander Larsson <alexl@redhat.com>
4580 * gio/gsimpleasyncresult.c:
4581 Don't allocate g_error manually.
4582 Fixes g_slice/g_new mixup crash
4584 2007-09-25 Alexander Larsson <alexl@redhat.com>
4586 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4587 Actually set active_backend.
4588 This means the monitor will be cancelled correctly.
4590 2007-09-25 Alexander Larsson <alexl@redhat.com>
4592 * gio/gdirectorymonitor.c:
4593 Set timeout to NULL when destroying
4595 2007-09-25 Alexander Larsson <alexl@redhat.com>
4598 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4599 that is a better description of the error.
4601 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4603 * gio/gvfs.c: (g_vfs_get_local):
4604 Make the local vfs variable static. The same instance should
4607 2007-09-24 Alexander Larsson <alexl@redhat.com>
4609 * gio/glocalfileinfo.c:
4610 Pass in actual length read into sniffer, not the length
4613 2007-09-21 Alexander Larsson <alexl@redhat.com>
4615 * gio/gfileenumerator.c:
4618 * gio/gfileinputstream.c:
4619 * gio/gfileoutputstream.c:
4620 * gio/ginputstream.c:
4621 * gio/goutputstream.c:
4622 Don't crash if async callbacks are NULL
4624 2007-09-20 Alexander Larsson <alexl@redhat.com>
4627 Add async enumerate_children method and default
4630 2007-09-20 Alexander Larsson <alexl@redhat.com>
4633 Add g_file_contains_file & g_file_get_relative_path, since they
4634 were needed for nautilus.
4635 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4640 Implement new methods
4642 2007-09-17 Alexander Larsson <alexl@redhat.com>
4645 * gio/gfileinputstream.[ch]:
4646 * gio/gfileoutputstream.[ch]:
4648 * gio/glocalfileenumerator.[ch]:
4649 * gio/glocalfileinfo.[ch]:
4650 * gio/glocalfileinputstream.c:
4651 * gio/glocalfileoutputstream.c:
4652 * gio/gpollfilemonitor.c:
4653 * programs/gio-copy.c:
4654 * programs/gio-info.c:
4655 * programs/gio-move.c:
4656 Rename get_file_info to query_info() to make it clearer
4657 that these are not simple getters, but do i/o.
4659 2007-09-17 Alexander Larsson <alexl@redhat.com>
4661 * gio/gdatainputstream.[ch]:
4662 * gio/test-streams.c:
4663 Use _read_XXX instead of _get_XXX for the i/o calls
4666 2007-09-17 Alexander Larsson <alexl@redhat.com>
4669 Added needed stuff to TODO comment
4671 2007-09-17 Alexander Larsson <alexl@redhat.com>
4673 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4674 Don't error out removing the backup copy if it doesn't
4677 2007-09-14 Alexander Larsson <alexl@redhat.com>
4679 * programs/Makefile.am:
4680 * programs/gvfs-*.c:
4682 Renamed apps from gvfs-xxx to gio-xxx.
4684 2007-09-14 Alexander Larsson <alexl@redhat.com>
4687 * gio/gfileoutputstream.[ch]:
4688 * gio/glocalfileoutputstream.c:
4689 * programs/gvfs-save.c:
4690 g_file_output_stream_get_etag doesn't do i/o, so remove
4691 cancellation and error.
4693 2007-09-14 Alexander Larsson <alexl@redhat.com>
4696 Add new_etag output to replace_contents functions
4698 2007-09-14 Alexander Larsson <alexl@redhat.com>
4700 * gio/gfileoutputstream.[ch]:
4701 Add async get_file_info and default implementation
4703 2007-09-14 Alexander Larsson <alexl@redhat.com>
4705 * gio/gfileinputstream.c:
4706 Implement fallback wrapper for async get_file_info
4708 2007-09-14 Alexander Larsson <alexl@redhat.com>
4711 Add etag out argument to load_contents
4716 2007-09-14 Alexander Larsson <alexl@redhat.com>
4718 * gio/gcontenttype.c (looks_like_text):
4719 Whitespace like tab, cr and lf do not make the
4722 2007-09-14 Alexander Larsson <alexl@redhat.com>
4724 * gio/gfileinputstream.[ch]:
4725 Add async get_file_info.
4727 2007-09-13 Alexander Larsson <alexl@redhat.com>
4729 * gio/goutputstream.c (g_output_stream_write_all):
4730 Allow NULL for bytes_written
4732 2007-09-13 Alexander Larsson <alexl@redhat.com>
4734 * gio/gmemoryinputstream.[ch]:
4735 Add accessors for data
4737 2007-09-13 Alexander Larsson <alexl@redhat.com>
4739 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4740 Don't crash if length is NULL