1 2008-11-28 Matthias Clasen <mclasen@redhat.com>
3 Bug 562393 – g_buffered_input_stream_read_byte broken if data
6 * gio/gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
7 handling of buffered content. Patch by Philip Withnall
9 * gio/tests/buffered-input-stream.c: Add a testcase for this bug.
10 * gio/tests/Makefile.am: And build it
12 2008-11-28 Matthias Clasen <mclasen@redhat.com>
14 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
17 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
18 '/' away. Spotted by Dan Williams.
20 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
22 Bug 561375 – Leaks mountpoint description
24 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
27 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
29 Bug 561352 – Leak of icon description
31 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
34 2008-11-14 Matthias Clasen <mclasen@redhat.com>
36 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
38 2008-11-12 Tor Lillqvist <tml@novell.com>
40 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
42 * win32/gwinhttpvfs.h: Move the set of function pointers to
43 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
44 pointer to that in the GWinHttpVfsClass.
46 * win32/gwinhttpvfs.c: Move the lookup of functions from
47 winhttp.dll into a function of its own, that stores the pointers
48 in a separate GWinHttpDllFuncs variable. Add two bookeeping
49 booleans lookup_done and funcs_found.
51 Don't call g_io_extension_point_implement() to register the
52 winhttp extension unless winhttp.dll has been successfully loaded
53 and the required functions found in it.
55 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
56 winhttp.dll correspondingly.
58 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
60 reviewed by: Alexander Larsson <alexl@redhat.com>
62 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
63 clearer about the behavior when there's no more content to read.
65 2008-10-27 Federico Mena Quintero <federico@novell.com>
67 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
69 2008-10-27 Tor Lillqvist <tml@novell.com>
71 Bug 557592 - Missing include in gwinhttpfile.c
73 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
76 2008-10-24 Matthias Clasen <mclasen@redhat.com>
78 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
80 * fam/fam-helper.c: Fix a memory leak and formatting issues.
81 Reported by Daniel Marjamäki
83 2008-10-23 Matthias Clasen <mclasen@redhat.com>
85 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
87 2008-10-23 Alexander Larsson <alexl@redhat.com>
89 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
92 (_g_local_file_info_get):
93 Don't return the fallback icon (text-x-generic) for all files.
94 This is causing problems with theme icon lookup and custom mime
95 icons, as the generic fallback overrides custom mime icons in
98 This is a slight change as applications might not get an icon wher
99 they previously did. But there is no guarantee to get on neither before
100 or after this change, so it should not break applications. Changes
101 to nautilus and gtk+ will be done to manually use the generic fallback
102 icon if no icon is found, but this is only required for rare cases.
104 2008-10-21 Alexander Larsson <alexl@redhat.com>
107 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
109 2008-10-21 Alexander Larsson <alexl@redhat.com>
111 Bug 555740 - gicon serialization
112 Based on patch from David Zeuthen
116 Add g_icon_to_string() and g_icon_new_for_string().
122 Implement icon serialization for built-in icon types
126 Added GIcon serialization test
128 2008-10-16 Matthias Clasen <mclasen@redhat.com>
130 * === Released 2.19.0 ===
132 2008-10-16 Matthias Clasen <mclasen@redhat.com>
134 Bug 556422 – g_file_enumerator_next_file: unclear whether return
135 value needs to be freed
137 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
138 the return value docs. Pointed out by Armin Burgmeier
140 2008-10-14 Matthias Clasen <mclasen@redhat.com>
142 Bug 556334 – Warning when building without selinux support
144 * glocalfileinfo.c: Avoid compiler warnings when selinux is
145 disabled. Patch by Pascal Terjan
147 2008-10-14 Matthias Clasen <mclasen@redhat.com>
149 Bug 556335 – make check fails in abicheck.sh
151 * gio.symbols: Add g_file_attribute_info_list_get_type.
152 Pointed out by Pascal Terjan.
154 2008-10-13 Alexander Larsson <alexl@redhat.com>
157 When adding an application as handling a mime type (but
158 not as the default), copy the full list of desktop ids handling
159 that type in before adding the new one on the end of the list.
160 This means we're not accidentally changing the default by overriding
161 the info from the later directories in the search path.
163 Also, fixes small leak of removed_entries.
165 2008-10-12 David Zeuthen <davidz@redhat.com>
168 * gunionvolumemonitor.c:
170 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
172 2008-10-10 Alexander Larsson <alexl@redhat.com>
174 * gfileattribute.c (escape_byte_string):
175 Upper half of byte is >> 4, not >> 8.
176 Found by Kjartan Maraas via sparse
178 2008-10-10 Matthias Clasen <mclasen@redhat.com>
180 Bug 555711 – Wrong fallback order of mimetype icons
182 * gcontenttype.c: Don't prefer generic icons over
183 default mimetype icons.
185 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
186 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
188 Patch by Krysztof Kosiński
190 2008-10-10 Matthias Clasen <mclasen@redhat.com>
192 Bug 555121 – Improved build-time handling of gio module-dir
194 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
195 * Makefile.am: Create the module dir.
197 2008-10-10 Matthias Clasen <mclasen@redhat.com>
199 * gio/glocalfileinfo.c:
200 * gio/tests/live-g-file.c:
201 * gio/gsimpleasyncresult.c: Fix gcc warnings.
203 2008-10-09 Alexander Larsson <alexl@redhat.com>
205 * gunixinputstream.c (g_unix_input_stream_read):
206 Actually return -1 in case of cancelled, not old res value.
208 2008-10-06 Colin Walters <walters@verbum.org>
210 Bug 554745 - GFileAttributeInfoList should be boxed
212 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
213 for convenience of bindings.
214 * gio/gfileattribute.h: Prototype it.
216 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
218 Bug 554970 – segfault when update-desktop-database is not available
221 * gdesktopappinfo.c (run_update_command): Have the error set before
224 2008-10-01 David Zeuthen <davidz@redhat.com>
226 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
227 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
228 instead of the gio URI (such as sftp://foo/file.avi) when using
229 g_app_info_launch() and friends. With a sufficiently recent gvfs,
230 apps using gio+gvfs will map the FUSE file:// URI back to the gio
231 URI (and thus bypass the fuse daemon) thanks the patch from bug
232 #530654. Since Nautilus is an user of g_app_info_launch() it
233 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
234 when launced via the file manager. Win. Fixes bug #528670.
236 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
237 mapping to the description of GAppInfo.
239 2008-09-30 Tor Lillqvist <tml@novell.com>
241 * tests/Makefile.am: Build desktop-app-info only on Unix.
243 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
244 g_critical(). Pass a large enough result buffer to
245 GetVolumePathNameW(). Just use MAX_PATH.
247 2008-09-29 David Zeuthen <davidz@redhat.com>
249 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
251 2008-09-26 Dan Winship <danw@gnome.org>
253 * tests/data-input-stream.c:
254 * tests/data-output-stream.c:
255 * tests/live-g-file.c:
256 * tests/memory-input-stream.c:
257 * tests/memory-output-stream.c: Use g_assert_error() and
260 2008-09-26 Matthias Clasen <mclasen@redhat.com>
262 Bug 545350 – GAppInfo deletion
263 Bug 545351 – Reset associations for content type
266 * gappinfo.[hc]: New functions g_app_info_can_delete,
267 g_app_info_delete and g_app_info_reset_type_associations.
270 * gwin32appinfo.c: Implementations of these.
273 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
275 2008-09-26 Dan Winship <danw@gnome.org>
277 Bug 505361 – gunixinputstream.c assumes poll() available
278 Bug 509446 – portable blocking gio cancellation
280 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
281 GPollFD for a cancellable (which is slightly more complicated on
284 * gunixinputstream.c (g_unix_input_stream_read):
285 * gunixoutputstream.c (g_unix_output_stream_write): Use
286 g_cancellable_make_pollfd() and g_poll() rather than using poll()
289 * tests/unix-streams.c: test of GUnixInputStream,
290 GUnixOutputStream, and GCancellable.
292 2008-09-26 Dan Winship <danw@gnome.org>
294 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
295 cast to stop a gcc warning
297 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
300 2008-09-25 Dan Winship <danw@gnome.org>
302 Bug 553426 - cancellable clarifications
304 * gcancellable.c (g_cancellable_class_init): Add a note to the
305 "cancelled" signal docs warning about thread-safety issues
306 (g_cancellable_cancel): Note that cancelling an asynchronous
307 operation takes effect asynchronously, not immediately.
309 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
311 * gioenums.h: Add new GFileCopyFlag, to leave target file with
312 default perms, instead of setting the source file perms, in a copy
315 * gfile.c (g_file_copy_attributes)
316 (build_attribute_list_for_copy)
317 (should_copy): Not copy "unix::mode" attribute if we have received
318 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
320 2008-09-20 Matthias Clasen <mclasen@redhat.com>
322 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
324 2008-09-17 Matthias Clasen <mclasen@redhat.com>
326 * === Released 2.18.1 ===
328 2008-09-16 Michael Natterer <mitch@imendio.com>
330 * gcontenttype.c (g_content_type_guess): can't assign the return
331 value of g_strdupv() to an array. Fill the array manually with
332 const strings instead (it is never freed anyway). Fixes the
333 build. Also fixed indentation.
335 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
337 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
338 Fix trivial typo to unbreak the build (there was a colon
339 instead of a semicolon at the end of a statement).
341 2008-09-15 Matthias Clasen <mclasen@redhat.com>
343 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
346 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
349 2008-09-15 Matthias Clasen <mclasen@redhat.com>
351 Bug 551681 – g_content_type_guess() too naive with filenames
353 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
354 at the end of the filename, and declare it a directory.
355 Patch by Bastien Nocera
357 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
359 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
362 * gdesktopappinfo.c: add a note in the docs clarifying what the
363 "filename" parameter really is.
365 2008-09-12 Tor Lillqvist <tml@novell.com>
367 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
368 FormatMessage() etc here. Call g_win32_error_message() instead
369 which already does all that. Besides, the code was broken as it
370 called the default "A" version of FormatMessage() but still
371 thought it produced a wide string.
373 2008-09-12 Michael Natterer <mitch@imendio.com>
375 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
376 in the documentation.
378 2008-09-08 Christian Neumair <cneumair@gnome.org>
380 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
381 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
382 Use non-blocking pipe for mount helper I/O. Fixes #550647.
384 2008-09-06 Matthias Clasen <mclasen@redhat.com>
386 Bug 551149 – xdgmime mem leak
388 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
389 a memory leak. Patch by Christian Persch
391 2008-09-04 Tor Lillqvist <tml@novell.com>
393 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
396 2008-09-02 Matthias Clasen <mclasen@redhat.com>
398 * === Released 2.18.0 ===
400 2008-09-02 Michael Natterer <mitch@imendio.com>
402 * *.h: big header formatting cleanup: indentation, vtable
403 formatting, consistent spacing in (* vfunc), trailing whitespace
404 removal. Formatting should be pretty consistent in all GIO headers
407 2008-09-02 Matthias Clasen <mclasen@redhat.com>
409 * gmount.h: Document guess_content_type sync vfunc.
411 2008-09-02 Michael Natterer <mitch@imendio.com>
413 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
414 fix parent_class member to be GFilterOutputStreamClass (not
415 GOutputStreamClass). Drop three pointers of padding, which is
416 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
417 so the class struct size stays the same.
419 2008-09-02 Matthias Clasen <mclasen@redhat.com>
421 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
423 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
424 nonexisting return values. Pointed out by Cosimo Cecchi.
426 2008-08-23 Tor Lillqvist <tml@novell.com>
428 Bug 548988 - g_file_replace fails on Windows when the target file
431 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
432 Windows, close the file before potentially renaming it (in case we
433 have been writing to a file with a temporary name).
435 (g_local_file_output_stream_close, handle_overwrite_open): Use
436 GLocalFileStat instead of plain struct stat, for passing to
437 _g_local_file_info_create_etag(). Thus also use _fstati64()
438 instead of plain fstat() on Windows.
440 2008-08-18 Matthias Clasen <mclasen@redhat.com>
442 * === Released 2.17.7 ===
444 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
446 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
449 2008-08-13 Tor Lillqvist <tml@novell.com>
451 * win32/gwinhttpvfs.c
452 * win32/gwinhttpvfs.h
453 * win32/gwinhttpfile.c
454 * win32/gwinhttpfileinputstream.c
455 * win32/gwinhttpfileoutputstream.c: Refactor some common code
456 snippets into helper functions. Check HTTP response status
457 codes. Implement g_winhttp_file_query_info(), looking at
458 Content-Length, Content-Type and Last-Modified.
460 * win32/winhttp.h: Add some symbolic constants that are not
461 publicly documented. Just a handful, so it should be OK to use
462 information from the Windows SDK's headers.
464 2008-08-13 Tor Lillqvist <tml@novell.com>
466 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
469 * win32/gwin32directorymonitor.c
470 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
472 2008-08-13 Matthias Clasen <mclasen@redhat.com>
475 * goutputstream.c: Add intro docs.
477 2008-08-13 Tor Lillqvist <tml@novell.com>
479 * win32/gwinhttpfileoutputstream.c
480 (g_winhttp_file_output_stream_write): Don't write the
481 Content-Length header ourselves, WinHttpSendRequest() takes care
482 of that when the dwTotalLength parameter is non-zero. Increment
483 offset by the number of actual bytes sent, although I wonder if
484 such a scenario is possible where less than requested would be
485 sent and accepted by the server without errors.
487 2008-08-13 Tor Lillqvist <tml@novell.com>
489 * win32/gwinhttpvfs.c
490 * win32/gwinhttpvfs.h
491 * win32/gwinhttpfile.c
492 * win32/gwinhttpfile.h
493 * win32/gwinhttpfileinputstream.c
494 * win32/gwinhttpfileinputstream.h
495 * win32/gwinhttpfileoutputstream.c
496 * win32/gwinhttpfileoutputstream.h: New files implementing
497 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
498 Windows. The implementation uses the WinHttp API. Both reading and
499 writing are supported, i.e. GET and PUT requests. When writing,
500 each write call is done using a separate PUT request with a
501 Content-Range header. Requests for file URIs and plain pathnames
502 are forwarded to GLocalVfs.
504 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
505 WINE. Used as there is no <winhttp.h> bundled with mingw, and
506 requiring people to download the Windows SDK just for this one
507 header is not reasonable.
509 * win32/Makefile.am: Add above files.
511 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
512 the plumbing for the above.
514 2008-08-11 Sven Neumann <sven@gimp.org>
516 * gfilenamecompleter.c
517 * glocaldirectorymonitor.c
519 * gunionvolumemonitor.c
523 * gunixvolumemonitor.c
526 * gwin32volumemonitor.c: use canonical signal names.
528 2008-08-11 Tor Lillqvist <tml@novell.com>
530 * Makefile.am: Put a list of the platform-dependent .la files in
531 the subdirectories in the platform_deps Make variable, and make
532 libgio-2.0.la depend on that, so that it gets relinked if one of
533 the dependent libraries has changed.
535 2008-08-11 Tor Lillqvist <tml@novell.com>
537 * Makefile.am (platform_libadd): Remove -lwininet which had been
538 added by mistake. We will probably eventually be using WinHTTP,
539 not the older WinInet anyway. (Actually I am working on it.)
541 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
543 Bug 547080 – g_file_copy leaks expected errors
545 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
546 before trying the next fallback routine.
548 2008-08-09 Loïc Minier <lool@dooz.org>
550 Bug 535124 – umask 002 not being applied for new directories, new
551 files get the correct umask
553 * gfile.c (g_file_make_directory)
554 (g_file_make_directory_with_parents): Document ownership and
555 permissions of newly created directories as being the default
558 2008-08-08 Loïc Minier <lool@dooz.org>
560 Bug 535124 – umask 002 not being applied for new directories, new
561 files get the correct umask
563 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
566 2008-08-08 Tor Lillqvist <tml@novell.com>
568 * gwin32mount.c: Remove unused code. Whitespace cleanup.
570 * gwin32volumemonitor.c (get_connected_drives): Put questionable
571 code that didn't actually do anything inside #if 0, and add a
572 comment wondering what the code was supposed to do. This also gets
573 rid of a leftover debugging printout.
575 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
577 * gfileicon.c (g_file_icon_get_property)
578 (g_file_icon_set_property): New functions.
579 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
581 (g_file_icon_new): Use the property (bug #546132).
583 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
585 * gthemedicon.c (g_themed_icon_get_property): Also handle
586 `PROP_USE_DEFAULT_FALLBACKS'.
587 (g_themed_icon_class_init): Make
588 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
590 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
592 Bug 546371 – Improve docs re g_file_monitor
594 * gfilemonitor.c: Mention g_file_monitor() in the docs.
596 2008-08-04 Matthias Clasen <mclasen@redhat.com>
598 * === Released 2.17.6 ===
600 2008-08-04 Matthias Clasen <mclasen@redhat.com>
602 * === Released 2.17.5 ===
604 2008-08-04 Matthias Clasen <mclasen@redhat.com>
606 Bug 546017 – Don't copy attributes when copying a symlink
608 * gfile.c (g_file_copy_attributes): Specify
609 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
610 g_file_set_attributes_from_info. Patch by Christian Kellner
612 2008-08-04 Matthias Clasen <mclasen@redhat.com>
614 * gemblemedicon.[hc]:
616 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
617 a bit more extensible. Work by Clemens Buss.
619 * gioenums.h: Add GEmblemOrigin.
622 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
624 Bug 546079 – leak in xdgmime
626 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
628 2008-08-03 Tor Lillqvist <tml@novell.com>
630 * win32/gwin32directorymonitor.h
631 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
634 2008-08-03 Tor Lillqvist <tml@novell.com>
636 * win32/gwin32directorymonitor.c
637 (g_win32_directory_monitor_callback): Make prototype match
638 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
639 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
642 (g_win32_directory_monitor_constructor):
643 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
644 names in the GLib API on Windows, so convert to UTF-16 and open
647 2008-08-03 Tor Lillqvist <tml@novell.com>
649 Bug 541036 - Gnumeric crashes when trying to open Desktop or
650 user's folder under Windows
652 * win32/gwin32directorymonitor.c
653 (g_win32_directory_monitor_constructor): Ignore error from
654 CreateFile() when opening directory. Instead of asserting, just
655 store INVALID_HANDLE_VALUE then in
656 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
657 ReadDirectoryChangesW().
658 (g_win32_directory_monitor_cancel): Don't attempt to close
659 directory handle if it is INVALID_HANDLE_VALUE.
661 2008-08-01 Matthias Clasen <mclasen@redhat.com>
663 * gdesktopappinfo.c: Remove debug spew
665 2008-08-01 Hans Breuer <hans@breuer.org>
667 * makefile.msc : add gemblembedicon
669 2008-07-30 Matthias Clasen <mclasen@redhat.com>
671 Bug 545457 – gdmsetup crashed with SIGSEGV in
672 g_unix_mount_guess_should_display()
674 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
675 crash if no mount is found.
677 2008-07-28 Matthias Clasen <mclasen@redhat.com>
679 Bug 545203 – gfile.c: argument is different type.
681 * gfile.c (open_read_async_thread): Pass a GError **
682 to g_file_set_error_literal.
683 Reported by Kazuki Iwamoto
685 2008-07-28 Matthias Clasen <mclasen@redhat.com>
687 Bug 545157 – wrong/no list of "open with" applications for .cc and
690 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
691 Collect all ancestors, not just direct parents. Pointed
692 out by Bastien Nocera
694 2008-07-28 Matthias Clasen <mclasen@redhat.com>
696 * Makefile.am: Install gemblemedicon.h
698 2008-07-28 Matthias Clasen <mclasen@redhat.com>
700 * gemblemedicon.[hc]: Add a GIcon implementation that can
701 add an emblem to another icon.
708 * gfileicon.c: Small documentation additions.
710 2008-07-28 Tor Lillqvist <tml@novell.com>
712 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
715 2008-07-27 Tor Lillqvist <tml@novell.com>
717 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
719 2008-07-24 David Zeuthen <davidz@redhat.com>
723 Also export a g_mount_guess_content_type_sync() function.
725 2008-07-23 Matthias Clasen <mclasen@redhat.com>
727 529694 – SELinux context setting support
729 * gfileinfo.c: Support setting selinux attributes.
730 Patch by Tomas Bzatek
732 2008-07-22 Priit Laes <plaes@plaes.org>
734 Bug 544140 - fam-helper 64-bit issue?
736 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
738 2008-07-21 Matthias Clasen <mclasen@redhat.com>
740 * === Released 2.17.4 ===
742 2008-07-20 Matthias Clasen <mclasen@redhat.com>
744 * gvolumemonitor.[hc]:
749 * gmount.c: Documentation fixes
751 2008-07-19 Matthias Clasen <mclasen@redhat.com>
753 543504 – crash in Epiphany Web Browser: Opening local file
764 * gvolume.c: Register types thread-safely.
765 Patch by Christian Persch
767 2008-07-18 Matthias Clasen <mclasen@redhat.com>
769 * gcontenttype.c: Remove debug spew
771 2008-07-18 Matthias Clasen <mclasen@redhat.com>
773 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
776 * fen/fen-kernel.c: Remove a warning that was causing
777 crashes. Reported by Lin Ma.
779 2008-07-18 Matthias Clasen <mclasen@redhat.com>
781 Bug 543040 – async reading on dummy file will crash on
784 * gfile.c (open_read_async_thread): Cope with read_fn being
785 NULL. Reported by Lin Ma.
787 2008-07-18 Matthias Clasen <mclasen@redhat.com>
790 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
792 2008-07-16 Matthias Clasen <mclasen@redhat.com>
796 * giomodule.c: Rename a chapter id to avoid filename conflict.
798 2008-07-16 Matthias Clasen <mclasen@redhat.com>
800 Bug 540616 – mem leak in filechooser button
802 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
803 the mount entry. Reported by Chrisitan Persch
805 2008-07-16 Matthias Clasen <mclasen@redhat.com>
807 * gfile.c: Small documentation fixes.
809 2008-07-15 Matthias Clasen <mclasen@redhat.com>
811 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
813 2008-07-08 Matthias Clasen <mclasen@redhat.com>
818 * gmount.c: Documentation improvements.
820 2008-07-08 Matthias Clasen <mclasen@redhat.com>
823 * gmount.[hc]: Add g_mount_guess_content_type().
825 2008-07-06 David Zeuthen <davidz@redhat.com>
828 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
829 is needed for easily handling adoption of foreign volumes by
830 out-of-process volume monitors (#541793)
832 2008-07-06 David Zeuthen <davidz@redhat.com>
834 * gvolumemonitor.[ch]:
835 * gunionvolumemonitor.c: Export the eject-button signal on the
836 volume monitor class (#541794).
838 2008-07-06 Matthias Clasen <mclasen@redhat.com>
840 * gappinfo.c: More doc tweaks
842 2008-07-05 Matthias Clasen <mclasen@redhat.com>
844 * gappinfo.c: Clarify some docs
846 2008-07-03 Matthias Clasen <mclasen@redhat.com>
848 * gdesktopappinfo.c: Fix a stupid mistake.
850 2008-07-02 Matthias Clasen <mclasen@redhat.com>
852 * === Released 2.17.3 ===
854 2008-07-02 Matthias Clasen <mclasen@redhat.com>
856 * gfilemonitor.c: Fix the build.
858 2008-07-02 Matthias Clasen <mclasen@redhat.com>
860 Bug 536160 – Add g_file_monitor()
863 * gfile.[hc]: Add g_file_monitor which can return either
864 a file or a directory monitor. Proposed by Behdad Esfahbod
866 2008-07-02 Matthias Clasen <mclasen@redhat.com>
868 536733 – gio build failure on Irix
870 * glocalfile.c: Use a configure check for structfs.f_bavail.
872 2008-07-02 Matthias Clasen <mclasen@redhat.com>
874 Bug 534639 – add g_desktop_app_info_new_from_keyfile
877 * gdesktopappinfo.[hc]: Add a function to create a
878 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
880 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
882 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
884 2008-07-01 Matthias Clasen <mclasen@redhat.com>
886 * gunixmounts.c: Fix a doc typo.
888 2008-07-01 Cody Russell <bratsche@gnome.org>
890 * gio/gcontenttype.c:
891 * gio/gwin32appinfo.c:
892 * gio/gwin32volumemonitor.c:
893 * gio/gwin32mount.c: Fixed some include problems.
895 2008-07-01 Cody Russell <bratsche@gnome.org>
899 Moved all relevant typedefs into these files.
902 Updated wrt added files.
904 Split types into separate file for easier maintainership. (#538564)
906 2008-06-30 Matthias Clasen <mclasen@redhat.com>
908 Bug 540331 – g_file_append_to () documentation: can return NULL
910 * gfile.c (g_file_append_to): Clarify docs.
913 2008-06-30 Matthias Clasen <mclasen@redhat.com>
915 Bug 539090 – g_content_type_from_mime_type() should unalias
917 * gcontentype.c (g_content_type_from_mime_type): Unalias.
918 Patch by Markus Bergman
920 2008-06-30 Matthias Clasen <mclasen@redhat.com>
922 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
925 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
926 on ppc and alpha. Reported by Mart Raudsepp
928 2008-06-29 Matthias Clasen <mclasen@redhat.com>
931 * tests/memory-output-stream.c: Add some tests for
934 2008-06-29 Matthias Clasen <mclasen@redhat.com>
936 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
939 * gmemoryoutputstream.c (array_resize): Handle truncation to
940 zero correctly. Reported by Akira Tagoh
942 2008-06-29 Matthias Clasen <mclasen@redhat.com>
944 * gmemoryoutputstream.c: Trivial doc fixes
946 2008-06-29 Matthias Clasen <mclasen@redhat.com>
948 Bug 540802 – g_list_prepend doesn't concat lists
950 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
951 one list to another. Pointed out by Jan Arne Petersen
953 2008-06-28 Michael Natterer <mitch@imendio.com>
955 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
957 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
959 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
960 to avoid problems with partial icon themes.
962 2008-06-17 Hans Breuer <hans@breuer.org>
964 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
965 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
966 access again on win32, see bug #538127
967 * giomodule.c : ensure GWin32VolumeMonitor is registered
968 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
969 * Makefile.am makefile.msc : updated
971 2008-06-16 Hans Breuer <hans@breuer.org>
973 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
974 and initialization in one step avoids c99ism
976 2008-06-16 Christian Persch <chpe@gnome.org>
979 * gio/gbufferedinputstream.c
981 * gio/gdatainputstream.c
982 * gio/gdesktopappinfo.c
984 * gio/gfileenumerator.c
985 * gio/gfileinputstream.c
986 * gio/gfileoutputstream.c
988 * gio/glocaldirectorymonitor.c
990 * gio/glocalfileenumerator.c
991 * gio/glocalfileinfo.c
992 * gio/glocalfilemonitor.c
993 * gio/glocalfileoutputstream.c
994 * gio/gmemoryinputstream.c
995 * gio/gmemoryoutputstream.c
996 * gio/goutputstream.c
997 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1000 2008-06-16 Tor Lillqvist <tml@novell.com>
1002 Bug 538362 - Get Win32 icons back in the file chooser
1004 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1005 corresponding to a file extension in the Registry. Patch by Hans
1007 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1009 2008-06-16 Tor Lillqvist <tml@novell.com>
1011 Patches by Hans Breuer:
1013 * glocalfile.c (is_xp_or_later): Handle compiling against older
1014 SDK headers with missing VerifyVersionInfo(). Conditioned on
1015 _MSC_VER, but should probably use some better test.
1016 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1017 uninitialised statfs_result variable on Win32.
1019 2008-06-16 Michael Natterer <mitch@imendio.com>
1021 * *.c: chain up unconditionally in finalize() and dispose(). Also
1022 don't dereference these function pointers when calling them since
1023 that has no meaning at all.
1025 2008-06-16 Ross Burton <ross@burtonini.com>
1027 * gfileenumerator.c:
1028 Remove check for dispose implementation as it annoys Emmanuele.
1030 2008-06-16 Ross Burton <ross@burtonini.com>
1032 Bug 536252 – GFileEnumerator should allow access to the containing
1035 * gfileenumerator.c:
1036 * gfileenumerator.h:
1038 Add g_file_enumerator_get_container() and a container writeable
1039 construct-only property. Also shuffle around typedefs to make it
1042 * glocalfileenumerator.c:
1043 * glocalfileenumerator.h:
1045 Instead of a string filename take a GFile in the constructor and
1046 use it to set the container property.
1049 Update with new API.
1051 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1053 * gfile.c: Make includes more uniform
1055 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1057 * tests/live-g-file.c (sample_struct):
1058 Use less fancy unicode filenames, so the test doesn't fail
1059 on Mac OS X (#531476).
1061 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1063 * === Released 2.17.2 ===
1065 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1067 * === Released 2.17.1 ===
1069 2008-06-11 A. Walton <awalton@gnome.org>
1071 * tests/g-file.c (test_g_file_new_null):
1072 Fix broken test case.
1074 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1076 * pltcheck.sh: We use g_clear_error now.
1078 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1080 * glocalfile.c (g_local_file_enumerate_children): Revert
1081 an unintended change.
1083 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1085 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1087 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1089 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1092 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1093 as icon for the desktop directory, also make user-home and
1094 user-desktop the preferred icons.
1096 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1099 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1100 to add a name to the front of the list.
1102 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1104 Bug 537392 – Additional colon in xattr name
1106 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1107 too. Reported by Alessandro Morandi
1109 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1111 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1114 * glocalfile.c (get_fs_type): Add afs and autofs.
1115 Patch by Danny Baumann.
1117 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1119 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1121 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1122 is no parent. (Owen Taylor, patch by Christian Neumair)
1124 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1126 * gfile.c (g_file_replace_contents): do not leak the output stream.
1128 2008-06-10 Michael Natterer <mitch@imendio.com>
1130 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1131 uninitialized memory as array index.
1133 2008-06-10 Tor Lillqvist <tml@novell.com>
1135 * gcontenttype.c (g_content_type_can_be_executable)
1136 (g_content_type_get_icon) [Win32]: Add TODO comments.
1138 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1140 * xdgmime/Makefile.am: Fix the build
1142 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1144 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1145 in the shared mime database, if available.
1147 * xdgmime/*: Sync with upstream. This brings support for
1148 glob weights, generic icons, and changes the cache format to
1151 2008-05-28 Michael Natterer <mitch@imendio.com>
1153 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1154 the global CPPFLAGS now.
1156 * tests/data-input-stream.c
1157 * tests/data-output-stream.c
1158 * tests/g-file-info.c
1160 * tests/live-g-file.c
1161 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1163 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1165 * === Released 2.17.0 ===
1167 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1168 doesn't complain about leftover files.
1170 2008-05-27 simon.zheng <simon.zheng@sun.com>
1172 * glocalfile.c: (g_local_file_query_filesystem_info):
1173 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1175 2008-05-26 Michael Natterer <mitch@imendio.com>
1177 * gmemoryoutputstream.h: declare
1178 g_memory_output_stream_get_data_size().
1180 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1182 * tests/*: Make tests work
1184 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1186 * gio.symbols: Add g_memory_output_stream_get_data_size.
1188 2008-05-25 Ross Burton <ross@burtonini.com>
1191 Fix typo in error message (#534764).
1193 2008-05-25 Ross Burton <ross@burtonini.com>
1196 Fix circular dependency loop for gioenumtypes.h (#534759).
1198 2008-05-19 Hans Breuer <hans@breuer.org>
1200 * Makefile.am : EXTRA_DIST += makefile.msc
1202 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1205 * gcontenttype.c: (g_content_type_from_mime_type):
1206 New function to create a content type from a mime type. (#527175,
1209 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1211 Bug 532965 – Should not return filesystem::free for certain file systems
1213 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1214 free space for ncpfs.
1216 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1218 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1220 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1221 st_dev might be zero.
1223 2008-05-16 Tor Lillqvist <tml@novell.com>
1225 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1226 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1228 2008-05-13 Bastien Nocera <hadess@hadess.net>
1230 * gfile.c (has_valid_scheme): A URI scheme must start with a
1231 letter, even if later more characters are allowed (#532852)
1233 2008-05-05 Michael Natterer <mitch@imendio.com>
1235 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1236 code from being checked in that breaks the build of applications
1237 which use G_DISABLE_SINGLE_INCLUDES.
1239 * makegioalias.pl: make the alias file include "glib.h" instead of
1242 * gio.symbols: whitespace change to force regeneration of the
1243 alias file after above script change.
1245 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1247 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1249 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1251 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1253 2008-04-28 David Zeuthen <davidz@redhat.com>
1255 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1256 displaying mounts in a subdirectory not accessible to the
1259 2008-04-22 Michael Natterer <mitch@imendio.com>
1261 * Makefile.am: fix library versioning (it was 0.0.0).
1263 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1265 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1266 Default disable all loggings.
1267 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1268 (port_fetch_event_cb): Fixed two macro nits.
1270 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1272 * xdgmime/xdgmime.c: Rework the timestamp checking code
1273 to protect against duplicate directories in XDG_DATA_DIRS.
1274 Fixes fd.o bug 12513, reported by Joe Shaw.
1276 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1278 Partically revert the last commit after realizing that
1279 xdg_mime_media_type_equal doesn't have to init at all.
1281 * xdgmime/xdgmime.h:
1282 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1284 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1286 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1288 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1289 reported by Joe Shaw and Federico Mena Quintero.
1291 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1292 (xdg_mime_media_type_equal): Turn into a wrapper around the
1295 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1296 functions throughout.
1298 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1300 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1301 tolerate an empty TryExec= line without failing; nautilus used
1302 to create launchers with these in previous versions. Fixes #528433
1304 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1306 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1307 after name. Fixes #527132.
1309 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1311 * gfile.c: (g_file_replace):
1314 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1316 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1318 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1319 by Christian Kellner.
1321 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1323 * gunixmounts.c: (g_unix_mount_guess_should_display):
1324 Don't list the user directory as a mount, fix potential issue
1325 when other users have a similar naming and don't special case the
1326 gvfs mounts there since that's not required (#525866)
1328 2008-03-31 Alexander Larsson <alexl@redhat.com>
1330 * glocalfile.c (get_parent):
1333 2008-03-31 A. Walton <awalton@svn.gnome.org>
1335 * gfile.c (g_file_query_file_type):
1336 Always return a GFileType enum value (#520715).
1338 2008-03-31 Alexander Larsson <alexl@redhat.com>
1340 * glocalfileenumerator.c:
1341 Read readdir() info in chunks (of 1000) and sort
1342 the chunks by inode before stat:ing.
1343 This is a 20% performance increase in testing
1344 gvfs-ls on /usr/bin with cold cache.
1346 2008-03-31 Alexander Larsson <alexl@redhat.com>
1348 * gmemoryoutputstream.c:
1349 Clarify docs for g_memory_output_stream_get_size.
1350 Add g_memory_output_stream_get_data_size.
1352 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1356 * gfile.h: Add g_file_query_file_type convenience function
1357 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1359 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1361 * gfileenumerator.c:
1362 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1364 2008-03-28 A. Walton <awalton@svn.gnome.org>
1366 * giomodule.c (_g_io_modules_ensure_loaded):
1367 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1370 2008-03-28 Alexander Larsson <alexl@redhat.com>
1373 (copy_stream_with_progress):
1376 2008-03-28 Alexander Larsson <alexl@redhat.com>
1379 (copy_stream_with_progress):
1380 (file_copy_fallback):
1381 Fallback to g_file_query_info for source size
1382 if g_file_input_stream_query_info fails. (#524579)
1384 2008-03-28 Alexander Larsson <alexl@redhat.com>
1386 * glocalfile.c (g_local_file_move):
1387 Reuse old string instead of adding new one.
1389 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1391 * fen/*.[hc]: still copyright issue. I hate copyright.
1393 2008-03-27 Alexander Larsson <alexl@redhat.com>
1395 * glocalfile.c (g_local_file_move):
1396 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1397 file over directory. This is according to the docs and what the move via
1398 copy+remove fallback does.
1400 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1402 * fen/*.[hc]: Updated copyright.
1404 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1406 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1408 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1410 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1411 not emit attribute changed events when optimizing changed events.
1412 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1415 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1417 * gmountoperation.[hc]: Small documentation additions
1419 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1421 * gunixmounts.c: (guess_mount_type):
1422 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1424 2008-03-19 Alexander Larsson <alexl@redhat.com>
1427 (copy_stream_with_progress):
1428 Bump block side for copy to 64k to minimize
1429 overhead for low latency links. (#523015)
1431 2008-03-16 Tor Lillqvist <tml@novell.com>
1433 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1434 depend on gio.def on Windows.
1436 2008-03-12 David Zeuthen <davidz@redhat.com>
1440 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1442 2008-03-14 Alexander Larsson <alexl@redhat.com>
1446 Avoid redudant tests (#521851)
1447 Patch from Josselin Mouette
1449 2008-03-14 Alexander Larsson <alexl@redhat.com>
1452 (g_file_monitor_is_cancelled):
1453 Fix C89 issue (#521672)
1454 Patch from Jens Granseuer
1456 2008-03-14 Alexander Larsson <alexl@redhat.com>
1458 * fam/fam-helper.[ch]:
1460 Shut down fam (including removing fam GSource) when
1461 module is unloaded (#521513)
1462 Patch from Joe Marcus Clarke
1464 2008-03-14 Alexander Larsson <alexl@redhat.com>
1467 (_g_io_modules_ensure_loaded):
1470 2008-03-14 Alexander Larsson <alexl@redhat.com>
1473 (g_local_file_query_filesystem_info):
1474 Use right define name for f_fstypename member check
1476 2008-03-14 Alexander Larsson <alexl@redhat.com>
1479 * fen/Makefile.am: Added.
1480 * fen/fen-data.[ch]: Added.
1481 * fen/fen-dump.[ch]: Added.
1482 * fen/fen-helper.[ch]: Added.
1483 * fen/fen-kernel.[ch]: Added.
1484 * fen/fen-missing.[ch]: Added.
1485 * fen/fen-node.[ch]: Added.
1486 * fen/fen-sub.[ch]: Added.
1487 * fen/gfendirectorymonitor.[ch]: Added.
1488 * fen/gfenfilemonitor.[ch]: Added.
1490 Added Solaris FEN file notification backend.
1491 Patch from Lin Ma <Lin.Ma@Sun.COM>
1493 2008-03-13 Tor Lillqvist <tml@novell.com>
1495 * Makefile.am: Actually use the gio.def file when linking the
1496 library on Windows. Produce .lib library for Microsoft's toolchain
1497 when possible. Install the .lib and .def file like for the other
1500 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1502 * tests/live-g-file.c:
1503 Include live-g-file in standard set of tests, making a temporary
1504 directory in source structure.
1506 Clean target directory before the tests (write mode only)
1508 2008-03-12 Tor Lillqvist <tml@novell.com>
1510 Bug 517419 - gio win32 directory monitor
1511 Implementation by Vlad Grecescu.
1514 * win32/gwin32directorymonitor.h
1515 * win32/gwin32directorymonitor.c: New files.
1517 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1519 * Makefile.am: Add the win32 subdirectory.
1521 2008-03-12 Tor Lillqvist <tml@novell.com>
1523 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1524 normal struct stat on Unix but struct _stati64 on Windows to have
1525 access to 64-bit file size information. Use that instead of struct
1526 stat in the functions declared here in this private header.
1528 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1529 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1530 warnings about unused functions and variables. Don't set
1531 meaningless attributes like inode numbers on Windows.
1533 2008-03-12 Benjamin Otte <otte@gnome.org>
1536 trim whitespace so gtk-doc groks the function name
1538 2008-03-12 Tor Lillqvist <tml@novell.com>
1540 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1541 returning FALSE, on Win32.
1543 2008-03-11 Alexander Larsson <alexl@redhat.com>
1546 * glocalfileinfo.[ch]:
1547 Correctly implement can_trash by actually
1548 looking for a trash dir, not just assuming
1551 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1553 * === Released 2.16.1 ===
1555 2008-03-11 Alexander Larsson <alexl@redhat.com>
1558 Fix crashes in new constructor and properties code
1560 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1562 * gfile.c: Minor spelling correction in documentation:
1563 existance -> existence.
1565 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1567 * === Released 2.16.0 ===
1569 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1571 * gio.symbols: Remove g_file_contains_file here, too.
1573 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1575 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1576 Samuel Cormier-Iijima)
1578 2008-03-08 Tor Lillqvist <tml@novell.com>
1580 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1583 2008-03-07 Alexander Larsson <alexl@redhat.com>
1586 (g_local_file_query_filesystem_info):
1587 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1588 Patch from Jasper Lievisse Adriaanse
1590 2008-03-06 Tor Lillqvist <tml@novell.com>
1592 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1593 comments for the *_USEC attributes.
1595 2008-03-06 Alexander Larsson <alexl@redhat.com>
1597 * gfile.c (g_file_query_exists):
1598 Add g_return_val_if_fail check (#520700)
1600 2008-03-06 Alexander Larsson <alexl@redhat.com>
1602 * gdesktopappinfo.c:
1605 * gunionvolumemonitor.c:
1608 * tests/live-g-file.c:
1609 * xdgmime/xdgmimecache.c:
1610 Fix sparse warnings (#519489)
1612 2008-03-05 Alexander Larsson <alexl@redhat.com>
1615 Make cancellation threadsafe (i.e.
1616 guarantee its only done once, and always
1619 * glocaldirectorymonitor.c:
1620 Make sure we the monitor lives while the
1621 mounts_changed callback is being called (#520484)
1623 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1625 * gbufferedinputstream.c: Fix typo in parameter
1628 2008-03-04 Alexander Larsson <alexl@redhat.com>
1631 Remove deprecated symbols we kept for one release.
1633 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1636 * goutputstream.c: Tiny documentation corrections.
1638 2008-03-03 Alexander Larsson <alexl@redhat.com>
1640 * gunionvolumemonitor.c:
1642 Fix the adopt_orphan_mount vfunc to take a
1643 volume_monitor reference in an ABI compat way.
1644 This change is not API compat, but the added
1645 arg is not used in the only user of this vfunc, so
1646 all we get is a harmless warning in gvfs (#520169)
1648 2008-03-01 Benjamin Otte <otte@gnome.org>
1651 clarify docs for g_file_delete().
1653 2008-02-29 Alexander Larsson <alexl@redhat.com>
1657 Make sure empty files get text/plain type (#518720)
1659 2008-02-27 Alexander Larsson <alexl@redhat.com>
1665 (g_unix_volume_mount):
1666 Add missing GMountMountFlags argument
1668 2008-02-26 Alexander Larsson <alexl@redhat.com>
1671 (g_local_file_delete):
1672 Handle filesystems (like ntfs-3g) that return EEXIST instead
1673 of ENOTEMPTY (#518816)
1675 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1677 * === Released 2.15.6 ===
1679 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1681 * gfile.c (g_file_find_enclosing_mount):
1682 * ginputstream.c (g_input_stream_set_pending):
1683 * glocalfile.c (g_local_file_find_enclosing_mount):
1684 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1685 * goutputstream.c (g_output_stream_set_pending):
1687 Fixup translator comments (#518578).
1689 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1691 * gfile.c (g_file_find_enclosing_mount):
1693 * glocalfile.c (g_local_file_find_enclosing_mount):
1696 Fix a few typos in translator comments and documentation.
1698 2008-02-25 Alexander Larsson <alexl@redhat.com>
1705 Add translator comments (#518578)
1707 2008-02-25 Alexander Larsson <alexl@redhat.com>
1710 Reintroduce g_file_contains_file, keep around for one
1711 unstable release cycle to avoid crashing to many apps.
1712 Make sure to delete after release.
1714 2008-02-25 Alexander Larsson <alexl@redhat.com>
1717 Remove deprecated g_file_contains_file.
1719 2008-02-25 Alexander Larsson <alexl@redhat.com>
1722 Emit actual change signals in an idle handler.
1723 This avoids reentrance and locking problems in
1724 the file notification backends.
1726 2008-02-25 Alexander Larsson <alexl@redhat.com>
1729 (g_unix_mount_guess_should_display):
1730 Remove type guessing, instead just display
1731 mounts in /media and in ~/.
1733 2008-02-25 Alexander Larsson <alexl@redhat.com>
1736 Make new strings reuse old ones.
1738 2008-02-25 Alexander Larsson <alexl@redhat.com>
1741 Implement trashing and filesystem::readonly for win32 (#517235)
1742 Patch from Yevgen Muntyan
1744 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1746 * gfileinfo.h: Documentation fixes.
1748 2008-02-22 Alexander Larsson <alexl@redhat.com>
1750 * gcontenttype.c (g_content_type_get_icon):
1751 Look at old-style gnome mime icon names too, as many
1752 have not moved to the new style.
1754 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1756 * *.c: Correct the @include in for section docs.
1758 2008-02-21 David Zeuthen <davidz@redhat.com>
1760 * glocalfileinfo.c: (_g_local_file_info_get):
1762 (g_content_type_get_icon): Implement this function by
1763 moving bits from glocalfileinfo.c
1764 (g_content_type_get_description): Unalias before getting
1765 description (#517687)
1767 * gfile.c: (g_file_class_init),
1768 (g_file_query_filesystem_info_async),
1769 (g_file_query_filesystem_info_finish),
1770 (query_filesystem_info_data_free),
1771 (query_filesystem_info_async_thread),
1772 (g_file_real_query_filesystem_info_async),
1773 (g_file_real_query_filesystem_info_finish):
1774 * gfile.h: Implement async version of
1775 g_file_query_filesystem_info()
1777 * gfileinfo.h: Add new attributes for filesystem::use-preview
1779 * gio.symbols: Update
1781 * gthemedicon.c: (g_themed_icon_append_name):
1782 * gthemedicon.h: Add new new convenience function.
1784 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1785 (get_mounts), (get_volumes), (get_connected_drives),
1786 (get_volume_for_uuid), (get_mount_for_uuid),
1787 (g_union_volume_monitor_init), (populate_union_monitor),
1788 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1789 (g_volume_monitor_adopt_orphan_mount):
1791 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1792 monitor implementations to call into the main volume monitor. Also
1793 separate object initialization and volume monitor initialization
1794 such that non-native volume monitors can properly adopt their
1797 2008-02-21 Alexander Larsson <alexl@redhat.com>
1802 2008-02-21 Alexander Larsson <alexl@redhat.com>
1805 Add more documentation about how GFiles work (from #517086)
1807 2008-02-21 Alexander Larsson <alexl@redhat.com>
1811 Add new g_file_has_prefix that does the same as g_file_contains_file.
1812 Deprecate g_file_contains_file and add a macro that converts
1813 it to g_file_has_prefix.
1814 The reason for this change is that the contains_file() name seems to
1815 imply that this does more work than what it does, but its really only
1816 a name match (from #517086)
1821 Update to match the above change.
1823 2008-02-20 Benjamin Otte <otte@gnome.org>
1825 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1826 (g_file_eject_mountable):
1827 even more cases of not returning in error path
1829 2008-02-20 Benjamin Otte <otte@gnome.org>
1831 * gfile.c: (g_file_mount_mountable):
1832 return from function in error path.
1834 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1837 Remove trailing coma in GMountMountFlags struct
1839 2008-02-18 Alexander Larsson <alexl@redhat.com>
1843 * glocalfileoutputstream.c:
1844 Use g_unlink/g_rename instead of unlink/rename;
1845 do not pass raw filenames to g_set_error. (#517239)
1846 Patch from Yevgen Muntyan.
1848 2008-02-18 Alexander Larsson <alexl@redhat.com>
1851 * glocalfileoutputstream.c:
1852 Open files with O_BINARY on windows. (#517140)
1854 2008-02-14 Alexander Larsson <alexl@redhat.com>
1856 * glocalfileoutputstream.c:
1857 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1859 2008-02-14 Alexander Larsson <alexl@redhat.com>
1862 Copy permissions with file on copy (#514084)
1863 This is what cp does and makes sure e.g. the
1864 exec permissions are kept.
1865 Its kinda weird in that it keeps the permission bits
1866 the same while the uid and gid are different. However
1867 the new uid is the user so its not a security issue,
1868 and I've heard no complaints about cp on this issue.
1870 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1872 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1874 2008-02-13 Alexander Larsson <alexl@redhat.com>
1876 * inotify/inotify-path.c:
1877 Define IN_ONLYDIR if not in header (#515346)
1879 2008-02-12 Alexander Larsson <alexl@redhat.com>
1881 * tests/live-g-file.c:
1884 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1886 * === Released 2.15.5 ===
1888 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1890 * gio.symbols: Add g_mount_mount_flags_get_type.
1892 2008-02-11 Alexander Larsson <alexl@redhat.com>
1895 (g_file_info_set_attribute_mask):
1896 (g_file_attribute_matcher_matches_id):
1897 Correctly handle NULL GAttributeMatcher meaning
1898 matches nothing. (Fixes #513492)
1900 2008-02-11 Alexander Larsson <alexl@redhat.com>
1905 Added GMountMountFlags enum and added a flags
1906 argument to all mount calls.
1908 This is an API/ABI change for future extensibility,
1909 as I think we will need at least an
1910 inhibit-autorun flag (the panel needs this).
1911 There are no flags defined yet though.
1913 2008-02-11 Alexander Larsson <alexl@redhat.com>
1916 Added new standard::description attribute.
1917 Requested by Vincent, and useful for both
1920 2008-02-11 Alexander Larsson <alexl@redhat.com>
1922 * gdesktopappinfo.c:
1925 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1927 * *.c: Documentation additions
1929 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1931 * gappinfo.h: Formatting cleanup
1932 * gappinfo.c: Fix up docs.
1934 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1936 * gunixmounts.c: Consistently use getmntent_r() and fall
1937 back to getmntent(). (#515492)
1939 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1941 * gbufferedinputstream.c:
1943 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1945 * tests/data-input-stream.c:
1946 * tests/data-output-stream.c: Portability fixes.
1948 2008-02-08 Alexander Larsson <alexl@redhat.com>
1953 Add g_volume_should_automount.
1956 2008-02-07 Tor Lillqvist <tml@novell.com>
1958 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1959 Win32, too Unix-specific.
1961 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1963 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1964 a local plt if the compiler doesn't support what we want. Bug #514702
1966 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1968 reviewed by: <delete if not using a buddy>
1971 * gunixinputstream.c:
1972 * gunixoutputstream.c:
1974 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1976 * tests/Makefile.am:
1977 * tests/live-g-file.c:
1978 * tests/live-g-file.txt:
1979 New GIO testing module working over real data
1981 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1983 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1984 Fallback to rename() if link() is not available
1985 (when no support on target filesystem)
1987 2008-02-06 Michael Natterer <mitch@imendio.com>
1989 * gfileinfo.c (g_file_info_get_icon): replace
1990 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1992 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1994 * gfile.c (g_file_create):
1995 Documentation update of error codes
1997 2008-02-06 Alexander Larsson <alexl@redhat.com>
1999 * gdesktopappinfo.c:
2000 Update to use both mimeapps.list and
2001 defaults.list as discussed on xdg list.
2003 2008-02-06 Benjamin Otte <otte@gnome.org>
2006 * gfilenamecompleter.c:
2007 Fix some typos in the documentation.
2009 2008-02-06 Alexander Larsson <alexl@redhat.com>
2011 * glocalfile.c (g_local_file_trash):
2012 Don't succeed with trash if newly created
2013 trash dir has the wrong owner. (#514696)
2015 2008-02-05 Alexander Larsson <alexl@redhat.com>
2017 * glocalfile.c (g_local_file_move):
2018 Don't spew warnings when destination is not
2021 2008-02-03 Hans Breuer <hans@breuer.org>
2023 * makefile.msc : update
2025 2008-02-01 Michael Natterer <mitch@imendio.com>
2027 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2028 return value of xdg_mime_list_mime_parents() to a variable of the
2031 2008-02-01 Alexander Larsson <alexl@redhat.com>
2033 * gappinfo.c (g_app_info_launch_uris):
2034 Actually call the launch_uris method, not
2037 2008-02-01 Alexander Larsson <alexl@redhat.com>
2039 * gdesktopappinfo.c (g_desktop_app_info_equal):
2040 Ensure appinfos with no id but same pointer value
2043 2008-02-01 Alexander Larsson <alexl@redhat.com>
2045 * gappinfo.c (g_app_info_launch_default_for_uri):
2048 2008-02-01 Alexander Larsson <alexl@redhat.com>
2052 Add g_app_info_launch_default_for_uri utility
2055 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2057 * gdesktopappinfo.c:
2058 Doc fix for g_app_info_get_default_for_uri_scheme ()
2061 2008-01-30 Alexander Larsson <alexl@redhat.com>
2064 Add doc comment about uris vs GFiles to
2067 * gdesktopappinfo.c:
2068 Ensure uris passed to g_app_info_launch_uris()
2069 are not roundtriped through GFile (as that
2070 may be slightly destructive for e.g. mailto: links)
2072 2008-01-30 Alexander Larsson <alexl@redhat.com>
2074 * tests/data-input-stream.c:
2075 * tests/data-output-stream.c:
2076 C89 fixes from Jens Granseuer (#512849)
2078 2008-01-30 Alexander Larsson <alexl@redhat.com>
2081 Fix gamin/fam difference build issue. (#509419)
2083 2008-01-29 Alexander Larsson <alexl@redhat.com>
2086 * gdesktopappinfo.c:
2087 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2089 2008-01-29 Alexander Larsson <alexl@redhat.com>
2091 * gdesktopappinfo.c:
2092 * gdesktopappinfo.h:
2093 giomodule-priv.h include moved to .c file.
2095 2008-01-29 Alexander Larsson <alexl@redhat.com>
2097 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2098 Remove unused prio/name fields.
2100 2008-01-29 Alexander Larsson <alexl@redhat.com>
2102 * gcontenttype.c (looks_like_text):
2103 Don't treat whitespace as control chars.
2105 2008-01-29 Alexander Larsson <alexl@redhat.com>
2107 * gdesktopappinfo.c:
2108 Lazily create the desktop files for appinfos created
2109 by g_app_info_create_from_commandline() when needed
2110 for mime associations. This allows run-time use
2111 of GAppInfo object without creating unnecessary
2114 2008-01-29 Alexander Larsson <alexl@redhat.com>
2117 Added new symbols to gio.symbols
2119 2008-01-29 Alexander Larsson <alexl@redhat.com>
2122 Add g_file_query_default_handler utility to easily look up
2123 the GAppInfo that handles a file.
2125 * gdesktopappinfo.[ch]:
2127 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2130 Remove unused function
2132 2008-01-29 Alexander Larsson <alexl@redhat.com>
2134 * gfileenumerator.c:
2135 Mention need to free returned value in
2136 g_file_enumerator_next_files_finish docs.
2137 Fix leak if g_file_enumerator_next_files_finish()
2140 2008-01-29 Alexander Larsson <alexl@redhat.com>
2143 (_g_unix_content_type_get_parents):
2144 Use list_parents, not get_parents from xdgmime, because
2145 the later doesn't use the cache.
2147 * xdgmime/xdgmimecache.c:
2148 (_xdg_mime_cache_list_mime_parents):
2149 Don't list the same type as parent multiple times.
2151 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2153 * === Released 2.15.4 ===
2155 2008-01-28 Alexander Larsson <alexl@redhat.com>
2158 Register local vfs with prio 0.
2161 Remove old name and prio class members
2163 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2165 * tests/g-file.c: Disable some tests that are failing in
2166 the absence of a http backend.
2168 2008-01-28 Alexander Larsson <alexl@redhat.com>
2172 Add registration hooks for extension points.
2173 Register the gio extension points.
2175 * fam/gfamdirectorymonitor.c:
2176 * fam/gfamfilemonitor.c:
2177 * glocaldirectorymonitor.[ch]:
2178 * glocalfilemonitor.[ch]:
2179 * gnativevolumemonitor.h:
2180 * gunionvolumemonitor.c:
2181 * gunixvolumemonitor.c:
2184 * inotify/ginotifydirectorymonitor.c:
2185 * inotify/ginotifyfilemonitor.c:
2186 Use the extension points registration instead
2187 of g_type_children().
2189 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2192 * gvolume.[hc]: Document new API.
2194 * gfile.c (g_file_copy_async): Fix docs
2196 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2198 * gbufferedinputstream.c:
2200 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2203 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2205 * glocalfile.c: Avoid trivial differences in translatable strings.
2207 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2209 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2210 build with gcc 3.4 (#509419)
2212 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2214 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2215 (#509994, Murray Cumming)
2217 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2219 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2220 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2221 this allows big jobs to be executed in chunks, instead of blocking
2222 the main loop for a long time.
2224 * gsimpleasyncresult.c:
2225 * giofile.c: Adapt callers.
2227 2008-01-25 Alexander Larsson <alexl@redhat.com>
2229 * gdesktopappinfo.c:
2230 Implement changes discussed on xdg list.
2231 Now we can add supported mimetypes by just using defaults.list
2232 We can also remove associations in defaults.list.
2234 2008-01-25 Alexander Larsson <alexl@redhat.com>
2236 * gdesktopappinfo.c:
2237 Don't make local copy of desktop file
2238 for mimetype changes if the file already
2239 supports the new mimetype.
2241 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2245 * gbufferedinputstream.c:
2246 * glocalfile.c: String improvements. (#511966,
2247 Theppitak Karoonboonyanan)
2249 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2251 * gioscheduler.h: Expand docs a bit.
2253 2008-01-24 Alexander Larsson <alexl@redhat.com>
2256 Add g_drive_get_identifier and
2257 g_drive_enumerate_identifiers
2260 Add g_volume_get_identifier and
2261 g_volume_enumerate_identifiers
2267 Implement identifiers for unix backend
2269 2008-01-24 Alexander Larsson <alexl@redhat.com>
2274 Add g_file_copy_async() (#511580)
2275 Based on patch from Carlos Garcia Campos
2277 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2279 * gioscheduler.c: Some documentation additions.
2281 2008-01-22 Alexander Larsson <alexl@redhat.com>
2283 * gdesktopappinfo.c:
2284 (g_desktop_app_info_new):
2285 Don't leak basename.
2287 2008-01-22 Alexander Larsson <alexl@redhat.com>
2289 * gdesktopappinfo.c:
2290 (g_desktop_app_info_new_from_filename):
2293 2008-01-22 Alexander Larsson <alexl@redhat.com>
2295 * glocalfileinfo.c (get_thumbnail_attributes):
2298 2008-01-22 Alexander Larsson <alexl@redhat.com>
2301 (canonicalize_filename):
2302 Canonicalize paths that start with more than
2306 (compare_two_files):
2307 (test_g_file_new_for_path):
2310 2008-01-22 Alexander Larsson <alexl@redhat.com>
2313 Allow UTF-8 in file:// parse names.
2315 * tests/Makefile.am:
2316 * tests/data-input-stream.c:
2317 * tests/data-output-stream.c:
2318 * tests/g-file-info.c:
2320 Added a bunch of tests from Tomas Bzatek
2322 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2324 * === Released 2.15.3 ===
2326 2008-01-21 Alexander Larsson <alexl@redhat.com>
2328 * gfileinputstream.[ch]:
2329 * gfileoutputstream.[ch]:
2331 Remove duplicated GSeekable functions. (#509990)
2332 Just use the g_seekable_xxx() calls instead.
2334 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2337 * gvolumemanager.c: Whitespace cleanups.
2339 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2340 Use the right mode when creating the file.
2342 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2344 * gfileenumerator.c:
2345 * gfileinputstream.c:
2347 * goutputstream.c: Documentation: Fixed minor typos
2348 and added more mentions of specific _finish() functions.
2350 2008-01-21 Alexander Larsson <alexl@redhat.com>
2352 * inotify/Makefile.am:
2353 * inotify/inotify-helper.c:
2354 * inotify/inotify-kernel.c:
2355 * inotify/inotify-path.c:
2356 * inotify/local_inotify.h: Removed.
2357 * inotify/local_inotify_syscalls.h: Removed.
2358 Removed the included copies of the inotify
2359 headers. We now only use the <sys/inotify.h>
2360 header which exists on modern systems.
2361 This fixes problems on ARM and SH5 (#510448)
2362 but is also generally much cleaner and future
2363 safe. For instance, if other OSes add support
2364 for inotify it should "just work".
2366 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2368 * inotify/*.c: Coding style fixes.
2369 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2370 for the 1/4 Hz timer.
2372 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2375 * gfilemonitor.[hc]:
2376 * gmemoryinputstream.c:
2377 * gmemoryoutputstream.c:
2378 * gmountoperation.c:
2379 * gthemedicon.c: Documentation updates
2381 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2383 * gfile.c: documentation: Fixed more minor
2386 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2388 * gmount.c: (g_mount_remount): documentation:
2389 Mention g_mount_remount_finish() instead of
2390 g_mount_unmount_finish().
2392 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2396 * gfile.c: Fixed some minor typos in the
2399 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2401 * gio/gvolumemonitor.c:
2402 (g_volume_monitor_get_connected_drives):
2403 (g_volume_monitor_get_volumes):
2404 (g_volume_monitor_get_mounts): Documentation:
2405 Clarify the ownership of the regurn GLists.
2407 2008-01-17 Alexander Larsson <alexl@redhat.com>
2410 Add the async find_enclosing_mount version
2411 to the header file too.
2413 2008-01-17 Alexander Larsson <alexl@redhat.com>
2416 Add async version of find_enclosing_mount
2417 with default implementation.
2419 2008-01-17 Alexander Larsson <alexl@redhat.com>
2424 Allow calls to implementation of copy and write
2425 even if the type of the file implementations is
2426 different. This can be used to implement native
2427 upload and download calls in a vfs.
2430 (g_local_file_move):
2431 Protect against the case where move is called
2432 with one file not being local.
2434 Make sure we call the progress callback once
2435 in the native move operation so that the caller
2436 knows how many bytes were copied.
2438 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2441 * gdatainputstream.c:
2443 * gfileoutputstream.c:
2448 * gunixmounts.c: Corrected some typos in the documentation:
2449 occured -> occurred.
2450 its -> it's (where appropriate).
2452 2008-01-16 Alexander Larsson <alexl@redhat.com>
2456 Add g_file_query_exists (#508771)
2458 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2463 * gvolume.c: For async functions that have no non-async
2464 version, document that the GAsyncReadyCallback may be NULL.
2467 2008-01-15 Alexander Larsson <alexl@redhat.com>
2469 * gmemoryinputstream.c:
2470 * gmemoryoutputstream.c:
2471 Don't do pointer arithmetic on void * (#508602)
2472 Patch from Kazuki IWAMOTO
2474 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2476 * === Released 2.15.2 ===
2478 2008-01-14 Alexander Larsson <alexl@redhat.com>
2480 * gfile.c (g_file_monitor_file):
2481 Don't set error here, since we fallback to polling monitor.
2483 2008-01-14 Alexander Larsson <alexl@redhat.com>
2486 (g_file_monitor_directory):
2487 (g_file_monitor_file):
2488 Add GError to file monitor calls
2490 * glocaldirectorymonitor.c:
2491 * glocaldirectorymonitor.h:
2493 * glocalfilemonitor.c:
2494 * glocalfilemonitor.h:
2496 Update for above change
2498 2008-01-14 Alexander Larsson <alexl@redhat.com>
2502 Handle root correctly in g_file_get_relative_path (#508719)
2504 2008-01-14 Alexander Larsson <alexl@redhat.com>
2507 Clean up docs and example for GAsyncResult (#508074)
2509 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2511 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2512 and correct some spelling mistakes. Bug #508108.
2514 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2516 * glocalfileinfo.c: Add a comment.
2518 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2520 * gfileinfo.c: GFileInfo description: Mention
2521 how to actually set attributes in a GFile and how to discover
2522 which attributes are settable. Bug #508378.
2524 2008-01-10 A. Walton <awalton@svn.gnome.org>
2526 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2527 (g_app_info_get_default_for_type):
2528 Check for NULL content types.
2530 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2532 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2534 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2536 * gfile.c: *_async() functions: Several small corrections
2537 to the documentation, mostly correcting copy/paste errors
2538 and improving some sentences.
2540 2008-01-09 Dan Winship <danw@gnome.org>
2542 * glocalfile.c (get_unique_filename): x86_64 fix
2544 2008-01-09 Alexander Larsson <alexl@redhat.com>
2549 Add g_unix_mount_guess_should_display and use
2550 for unix volume monitor backend.
2551 This means we more or less show what the
2552 gnome-vfs backend did.
2553 Based on patch from Padraig O'Briain
2555 2008-01-09 Alexander Larsson <alexl@redhat.com>
2559 Add g_themed_icon_new_with_default_fallbacks
2562 Use default fallbacks for icons
2564 2008-01-09 Alexander Larsson <alexl@redhat.com>
2567 * gmountoperation.[ch]:
2568 Change the API a bit so that unhandled methods
2569 get reported via the reply, rather than by
2570 the signal emission return value. This is because
2571 some handlers can't know this immediately without
2572 doing I/O, and this is an async operation that
2575 2008-01-09 Alexander Larsson <alexl@redhat.com>
2578 * fam/gfamdirectorymonitor.c:
2579 * fam/gfamfilemonitor.c:
2580 Fix double free crash (#508224)
2581 Patch from Joe Marcus Clarke
2583 008-01-07 Matthias Clasen <mclasen@redhat.com>
2585 * === Released 2.15.1 ===
2587 2008-01-07 Alexander Larsson <alexl@redhat.com>
2589 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2590 Fix warning (#507835)
2592 2008-01-07 Alexander Larsson <alexl@redhat.com>
2595 Pass --internal to glib-genmarshal
2598 * gmountoperation.c:
2600 Use better types for signal arguments (#507822)
2602 2008-01-07 Alexander Larsson <alexl@redhat.com>
2605 Build test subdir after .
2606 Remove gdirectorymonitor.[ch]
2608 * gdirectorymonitor.[ch]:
2612 Remove GDirectoryMonitor and make
2613 GFileMonitor the baseclass for both file and
2614 directory monitors. Lift the more generic
2615 rate limiting code from GDirectoryMonitor
2619 * fam/gfamdirectorymonitor.[ch]:
2620 * inotify/ginotifydirectorymonitor.[ch]:
2621 * inotify/inotify-helper.c:
2622 * glocaldirectorymonitor.[ch]:
2625 Update for the removed GDirectoryMonitor.
2627 * gmemoryoutputstream.c:
2628 Remove ununsed variable
2630 2008-01-07 Alexander Larsson <alexl@redhat.com>
2632 * gmemoryinputstream.c:
2633 Translate error strings
2636 * gmemoryoutputstream.[ch]:
2637 New implementation that avoids using GByteArray
2638 in implementation and API. (#506377)
2640 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2642 * tests/*: Add a test for memory input streams.
2644 * Makefile.am: Add tests to SUBDIRS.
2646 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2648 * glocalfilemonitor.c:
2649 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2652 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2654 * gdesktopappinfo.c: Fix a docs typo.
2656 * gfileattribute.c: Add information about extended attributes
2657 to the documentation. (#505058)
2659 2008-01-04 Alexander Larsson <alexl@redhat.com>
2662 * gmountoperation.c:
2663 Use the right type (uint) for the ask_password signal.
2665 2008-01-04 Alexander Larsson <alexl@redhat.com>
2670 Add g_app_info_supports_files()
2671 Remove desktop arg from g_app_info_should_show().
2673 * gdesktopappinfo.[ch]:
2674 Implement g_app_info_supports_files() and new should_show()
2675 Add g_desktop_app_info_set_desktop_env() to set the desktop
2676 for should_show(). (This will be set by gtk+ later)
2678 2008-01-04 Alexander Larsson <alexl@redhat.com>
2681 * gmemoryinputstream.[ch]:
2682 Improve API so that you can use multiple chunks
2683 of memory and custom destroy functions. (#506374)
2685 2008-01-03 Alexander Larsson <alexl@redhat.com>
2688 Handle NULL attribute matchers safely, as we return this
2689 for empty attribute matcher strings.
2691 2008-01-03 Alexander Larsson <alexl@redhat.com>
2693 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2694 Add /usr/local to list of internal mountpoints
2696 2008-01-03 Alexander Larsson <alexl@redhat.com>
2699 Check for HAVE_LCHOWN (#505887)
2701 2008-01-03 Alexander Larsson <alexl@redhat.com>
2705 Add define for selinux context attribute.
2706 Fix missing : -> :: namespace separator change
2707 Fix missing _ -> - name change for xattr-sys.
2710 2008-01-03 Alexander Larsson <alexl@redhat.com>
2713 Link to libglib and libgobject directly (#504879)
2714 Patch from Sebastien Bacher
2716 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2718 * gfile.c: Expanded the g_file_new_for_commandline_arg
2719 description a bit, based on the code and the docs of the
2720 other g_file_new_for_* functions.
2722 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2724 * gfilemonitor.h: Fixed typo in docs.
2726 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2728 Updates to GIO documentation. (#506395, Mikael Hermansson)
2730 * gcontenttype.c: Describe memory management for return value of
2731 g_content_types_get_registered(). Missing piece from #505815.
2732 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2733 GVolume, GDrive, GMounts, which hopefully gives the user less
2734 confusions when using this API. Following explainations from
2735 Alexander Larsson on gtk-devel-list.
2737 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2739 * gfileinfo.c: Expand the long description.
2741 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2744 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2745 fix builds with --disable-visibility. (#500273, Christian Persch)
2747 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2749 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2750 in the list of returned app infos.
2752 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2754 * gappinfo.c: Fix a cross-reference
2756 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2758 * gfileinputstream.c:
2759 * gfileoutputstream.c:
2763 * gdesktopappinfo.c:
2765 * gfileinfo.c: Documentation updates.
2767 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2769 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2772 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2774 * gcontenttype.c (g_content_types_get_registered): Don't return
2775 freed memory (#505815, Mikael Hermansson)
2777 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2779 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2780 used to detect statbuf->st_blocks. (#505042)
2782 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2784 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2785 environment handling. (#504829, Cosimo Cecchi)
2787 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2789 * gappinfo.c: Doc improvements
2791 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2794 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2796 * === Released 2.15.0 ===
2798 2007-12-20 Hans Breuer <hans@breuer.org>
2800 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2801 with symbols gwin32appinfo.obj, added gmount.obj
2802 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2804 2007-12-20 Alexander Larsson <alexl@redhat.com>
2810 * gfilenamecompleter.c:
2813 * gpollfilemonitor.c:
2814 File attribute renames:
2816 fs:: -> filesystem::
2817 id::fs -> id::filesystem
2819 2007-12-20 Alexander Larsson <alexl@redhat.com>
2828 Add GMountUnmountFlags to all unmount and
2830 Add g_mount_remount() call.
2832 2007-12-20 Alexander Larsson <alexl@redhat.com>
2834 * gvfs.c (get_default_vfs):
2835 Fix unused variable warning
2837 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2839 * pltcheck.sh: Update
2841 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2843 * gunionvolumemonitor.c:
2844 * gunixmount.c: Remove C99 comments
2846 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2848 * gio.symbols: Add some missing symbols
2850 2007-12-19 Alexander Larsson <alexl@redhat.com>
2853 Make g_io_modules_load_all_in_directory not unuse
2854 loaded modules so that users of it can do stuff
2856 Init internal "module" types.
2857 Initialize static prio and name for types so that
2858 we don't have to load modules to get it.
2860 * gnativevolumemonitor.h:
2862 Move is_supported to parent class so that
2863 non-native monitors can avoid being initialized
2864 too. (For instance GDaemonVolumeMonitor if we're
2865 not using GDaemonVfs.)
2867 * glocaldirectorymonitor.[ch]:
2868 * glocalfilemonitor.[ch]:
2869 * gunionvolumemonitor.c:
2870 * gunixvolumemonitor.c:
2872 Find plugins using the static prio+name to
2873 avoid unnecessarily loading the modules.
2875 2007-12-19 Alexander Larsson <alexl@redhat.com>
2880 2007-12-19 Alexander Larsson <alexl@redhat.com>
2882 * gunionvolumemonitor.c:
2883 Store the native type as GType, not class so that
2884 we can unload it. But still avoid unnecessarily
2887 2007-12-19 David Zeuthen <davidz@redhat.com>
2889 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2890 add signals 'disconnected' and 'eject-button' on GDrive. Add
2891 signal 'removed' on GVolume and 'unmounted' on GMount.
2893 * gdrive.c: (g_drive_base_init):
2895 * gfile.c: (g_file_mount_mountable),
2896 (g_file_mount_enclosing_volume):
2899 * gmount.c: (g_mount_base_init):
2901 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2902 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2903 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2907 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2909 * *.c: Fix up includes in the section docs.
2911 2007-12-17 Alexander Larsson <alexl@redhat.com>
2913 * gnativevolumemonitor.h:
2914 * gunionvolumemonitor.c:
2915 * gunixvolumemonitor.c:
2916 Add is_supported() to GNativeVolumeMonitorClass so
2917 that we can avoid having to create an object to see
2918 if the backend is supported at runtime.
2919 Also add name member and an env var to pick a specific
2920 volume monitor backend.
2924 Add cancellable to _g_mount_get_for_mount_path()
2926 * glocaldirectorymonitor.c:
2927 * glocalfilemonitor.c:
2928 Avoid loading and unloading modules while sorting.
2930 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2933 * gunixmounts.[hc]: Namespace waste reduction, move some
2934 g_get_unix_mount functions to the g_unix_mount namespace.
2937 * gunixvolumemonitor.c:
2939 * glocaldirectorymonitor.c: Update all callers.
2941 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2943 2007-12-17 Alexander Larsson <alexl@redhat.com>
2946 Add doc comments about what GFile operations are
2947 guaranteed to not block.
2949 2007-12-17 Alexander Larsson <alexl@redhat.com>
2952 Add missing #ifdef fixing OSX build.
2953 (#503334, patch from Richard Hult)
2955 2007-12-14 David Zeuthen <davidz@redhat.com>
2959 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2960 (g_mount_eject), (g_mount_eject_finish):
2962 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2963 (get_volume_for_uuid), (get_mount_for_uuid),
2964 (g_union_volume_monitor_class_init),
2965 (get_default_native_type_with_exclude), (get_default_native_type),
2966 (get_native_type), (update_native_type),
2967 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2968 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2969 (g_unix_mount_can_eject), (eject_unmount_cb),
2970 (eject_unmount_read_error), (eject_unmount_do),
2971 (g_unix_mount_unmount), (g_unix_mount_eject),
2972 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2973 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2974 (g_unix_mount_point_guess_can_eject):
2976 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2977 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2978 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2979 (g_unix_volume_mount), (g_unix_volume_eject),
2980 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2981 * gunixvolumemonitor.c: (get_volume_for_uuid),
2982 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2984 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2985 (g_volume_eject), (g_volume_eject_finish):
2987 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2988 (g_volume_monitor_get_mount_for_uuid):
2991 Provide eject() on both GMount and GVolume and utility functions
2992 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2993 ejected. Introduce the concept of UUID's and wire it into GVolume
2994 and GMount and provide API on GVolumeMonitor to find such
2995 instances. Also handle the case where an external
2996 GNativeVolumeMonitor fails to initialize. Lock around the
2997 _g_get_mount_for_mount_path() function such that volume monitor
2998 implementations won't have to do locking themselves.
3000 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3002 * gdesktopappinfo.c:
3008 * gvolume.h: Documentation updates
3010 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3013 * gfile.h: Doc updates
3015 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3018 * gdesktopappinfo.c: Use hash table iterators.
3020 2007-12-14 Alexander Larsson <alexl@redhat.com>
3023 * gfileattribute.[ch]:
3024 * gfileattribute-priv.h:
3025 Move GFileAttributeValue to a private header, as
3029 Make set_attribute take a type + a pointer instead
3030 of a GFileAttributeValue.
3033 Fix up for above changes.
3034 Add g_file_info_get_attribute_data to get
3035 all info in one call, g_file_info_get_attribute_status
3036 to get the status and g_file_info_get_attribute_as_string.
3040 * glocalfileinfo.[ch]:
3044 Make _guess_type static.
3046 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3049 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3050 made mkenums and friends use temporary files to avoid leaving
3051 empty generated files on failure (#503470).
3053 2007-12-14 Alexander Larsson <alexl@redhat.com>
3055 * gmountoperation.h:
3058 2007-12-14 Alexander Larsson <alexl@redhat.com>
3062 * gfileattribute.[ch]:
3065 * glocalfileoutputstream.c:
3066 * gmountoperation.[ch]:
3067 * goutputstream.[ch]:
3068 Clean up all flags enums to not have _FLAGS in them
3069 Make the names of some of the enums better.
3074 2007-12-14 Michael Natterer <mitch@imendio.com>
3076 * gio.symbols: fix g_io_scheduler symbol names.
3078 2007-12-14 Alexander Larsson <alexl@redhat.com>
3084 * gbufferedinputstream.h:
3085 * gbufferedoutputstream.h:
3088 * gdatainputstream.h:
3089 * gdataoutputstream.h:
3090 * gdesktopappinfo.h:
3091 * gdirectorymonitor.h:
3095 * gfileenumerator.h:
3098 * gfileinputstream.h:
3100 * gfilenamecompleter.h:
3101 * gfileoutputstream.h:
3102 * gfilterinputstream.h:
3103 * gfilteroutputstream.h:
3111 * gmemoryinputstream.h:
3112 * gmemoryoutputstream.h:
3114 * gmountoperation.h:
3117 * gsimpleasyncresult.h:
3119 * gunixinputstream.h:
3121 * gunixoutputstream.h:
3125 * inotify/Makefile.am:
3126 Only allow including <gio/gio.h> from apps
3128 2007-12-14 Alexander Larsson <alexl@redhat.com>
3130 * gioscheduler.[ch]:
3131 * gsimpleasyncresult.c:
3132 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3133 Split out the send_to_mainloop call into two versions instead
3134 of having the block argument.
3136 2007-12-13 Alexander Larsson <alexl@redhat.com>
3138 * gcancellable.[ch]:
3140 * gbufferedinputstream.c:
3141 * gfileenumerator.c:
3142 * gfileinputstream.c:
3143 * gfileoutputstream.c:
3147 g_push/pop_current_cancellable ->
3148 g_cancellable_push/pop_current
3150 2007-12-13 Alexander Larsson <alexl@redhat.com>
3154 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3156 2007-12-13 Alexander Larsson <alexl@redhat.com>
3158 * gmountoperation.h:
3159 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3161 2007-12-12 Alexander Larsson <alexl@redhat.com>
3164 Fix race condition when freeing proxy in
3165 g_io_job_send_to_mainloop().
3167 2007-12-12 Alexander Larsson <alexl@redhat.com>
3173 Make attribute namespace separator "::" instead of ":".
3174 Use - instead of _ as separator in attribute names.
3176 2007-12-12 Alexander Larsson <alexl@redhat.com>
3178 * gbufferedinputstream.h:
3179 * gbufferedoutputstream.h:
3180 * gdatainputstream.h:
3181 * gdataoutputstream.h:
3182 * gdirectorymonitor.h:
3183 * gfileenumerator.h:
3184 * gfileinputstream.h:
3186 * gfileoutputstream.h:
3187 * gfilterinputstream.h:
3188 * gfilteroutputstream.h:
3190 * glocalfileinputstream.h:
3191 * glocalfileoutputstream.h:
3192 * gmemoryinputstream.h:
3193 * gmemoryoutputstream.h:
3194 * gnativevolumemonitor.h:
3196 * gunixinputstream.h:
3197 * gunixoutputstream.h:
3200 s/parent/parent_instance/ in GObjects
3202 2007-12-12 Alexander Larsson <alexl@redhat.com>
3207 No need for padding for interfaces
3209 2007-12-12 Alexander Larsson <alexl@redhat.com>
3213 * gbufferedinputstream.c:
3214 * gbufferedoutputstream.c:
3217 * gdatainputstream.[ch]:
3218 * gdesktopappinfo.c:
3219 * gdirectorymonitor.c:
3221 * gfileattribute.[ch]:
3224 * gfileinputstream.h:
3225 * gfilemonitor.[ch]:
3226 * gfileoutputstream.[ch]:
3227 * gfilterinputstream.h:
3228 * gfilteroutputstream.h:
3231 * gloadableicon.[ch]:
3232 * gmemoryinputstream.c:
3233 * gmountoperation.c:
3235 Fix up a bunch of details in the docs.
3240 2007-12-11 David Zeuthen <davidz@redhat.com>
3242 Rework how volumes, drives and volume monitoring is
3243 done. Previosly the model was
3245 GDrive <1-1> GVolume
3247 where a GDrive instance represented a mount point and a GVolume
3248 instance represented a mounted file system. This patch changes it
3251 GDrive <1-N> GVolume <1-1> GMount
3253 where GMount now serves the purpose of the old GVolume and the new
3254 GVolume serves the purpose of the old GDrive. In addition the new
3255 GDrive interface is used to represent a collection of GVolume
3256 instances (typically partitions) and also contains utility to query
3257 the state of the physical drive the GDrive object represents (such
3258 as checking for media, polling the drive, ejecting the media etc.).
3260 Also implement mounting and unmounting in the Unix volume monitor
3261 backend. A subquent patch will introduce GDrive support for ejection
3265 * gdrive.c: (g_drive_is_media_check_automatic),
3266 (g_drive_is_media_removable), (g_drive_has_media),
3267 (g_drive_can_poll_for_media), (g_drive_eject),
3268 (g_drive_eject_finish), (g_drive_poll_for_media),
3269 (g_drive_poll_for_media_finish):
3271 * gfile.c: (g_file_find_enclosing_mount):
3274 * glocaldirectorymonitor.c:
3275 (g_local_directory_monitor_constructor), (mounts_changed):
3276 * glocalfile.c: (get_mount_info),
3277 (g_local_file_find_enclosing_mount),
3278 (g_local_file_file_iface_init):
3279 * gnativevolumemonitor.h:
3280 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3281 (get_connected_drives), (g_union_volume_monitor_class_init),
3282 (child_volume_added), (child_volume_removed),
3283 (child_volume_changed), (child_mount_added), (child_mount_removed),
3284 (child_mount_pre_unmount), (child_mount_changed),
3285 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3286 (g_union_volume_monitor_remove_monitor),
3287 (_g_mount_get_for_mount_path):
3288 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3289 (guess_system_internal), (_g_get_unix_mounts),
3290 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3291 (g_unix_mount_free), (g_unix_mount_compare),
3292 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3293 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3294 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3295 (type_to_icon), (g_unix_mount_guess_name),
3296 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3297 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3298 (_resolve_symlink), (_resolve_dev_root):
3300 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3301 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3302 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3303 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3304 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3305 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3306 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3307 (g_unix_volume_volume_iface_init):
3309 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3310 (get_mounts), (get_volumes), (get_connected_drives),
3311 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3312 (mountpoints_changed), (mounts_changed),
3313 (g_unix_volume_monitor_init),
3314 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3315 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3316 * gunixvolumemonitor.h:
3317 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3318 (g_volume_mount), (g_volume_mount_finish):
3320 * gvolumemonitor.c: (g_volume_monitor_class_init),
3321 (g_volume_monitor_get_connected_drives),
3322 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3325 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3327 * gmountoperation.h (GPasswordFlags): Close the gap
3329 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3331 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3333 * gdesktopappinfo.[hc]: Remove _-prefixes
3335 2007-12-10 Tor Lillqvist <tml@novell.com>
3337 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3340 2007-12-10 Alexander Larsson <alexl@redhat.com>
3342 * gfile.c (g_file_set_display_name):
3343 Don't hardcode '/' (#502727)
3345 2007-12-09 Hans Breuer <hans@breuer.org>
3347 * makefile.msc : follow lib naming convention
3348 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3349 for user and group name, tested with ../tests/gio-ls
3351 2007-12-09 A. Walton <awalton@svn.gnome.org>
3353 * gdesktopappinfo.c:
3359 * gfileenumerator.c:
3364 * gmemoryinputstream.c:
3365 * gmemoryoutputstream.c:
3367 * gsimpleasyncresult.c:
3368 More documentation cleanup and filling in missing information, bringing
3369 GIO to 99% symbol coverage.
3371 2007-12-08 Hans Breuer <hans@breuer.org>
3373 [gio compiles and links on win32, not sure how much already works]
3374 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3375 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3376 base on win32 API; prefer g_lstat() over lstat(); instead of
3377 localtime_r() use an all GLib implementation on win32;
3378 get_mount_info() still needs a win32 specifc implementation
3379 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3380 win32_get_file_user_info to get owner/group info without uid/gid
3381 * glocalfileinputstream.c : include <io.h> on win32
3382 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3383 definition, use g_win32_ftruncate() for G_OS_WIN32
3384 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3385 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3386 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3387 * makefile.msc : updated
3389 2007-12-07 Alexander Larsson <alexl@redhat.com>
3391 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3392 Avoid warning spew if error == NULL
3394 2007-12-07 Alexander Larsson <alexl@redhat.com>
3397 Update docs wrt etags
3399 2007-12-06 Alexander Larsson <alexl@redhat.com>
3402 Include sys/types.h for dev_t (#501919)
3404 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3408 Make abicheck and pltcheck pass.
3410 2007-12-05 Alexander Larsson <alexl@redhat.com>
3413 * giomodule-priv.h: Added.
3414 * glocaldirectorymonitor.c:
3415 * glocalfilemonitor.c:
3416 * gunionvolumemonitor.c:
3418 Actually add the declaration of _g_io_modules_ensure_loaded
3420 2007-12-05 Alexander Larsson <alexl@redhat.com>
3422 * gdatainputstream.c:
3427 * glocaldirectorymonitor.c:
3428 * glocalfilemonitor.c:
3429 * gunionvolumemonitor.c:
3431 Make g_io_modules_ensure_loaded a private function and
3432 don't pass in the dirname. This means we can do magic
3433 directory finding in the win32 version.
3434 Export the actual load-modules-in-directory code so that
3435 gvfs can reuse that.
3437 2007-12-05 Alexander Larsson <alexl@redhat.com>
3439 * gbufferedinputstream.c:
3440 * gbufferedoutputstream.c:
3443 * gfileenumerator.[ch]:
3444 * gfileinputstream.c:
3445 * gfileoutputstream.[ch]:
3446 * gfilterinputstream.c:
3447 * gfilteroutputstream.c:
3448 * ginputstream.[ch]:
3450 * glocalfileenumerator.c:
3451 * glocalfileinputstream.c:
3452 * glocalfileoutputstream.c:
3453 * gmemoryinputstream.c:
3454 * gmemoryoutputstream.c:
3455 * goutputstream.[ch]:
3458 * gunixinputstream.c:
3459 * gunixoutputstream.c:
3460 Rename all struct members named:
3461 read, write, close, truncate, or mount
3462 to foo_fn, as these are reserved names
3463 and could be defined as macros in libc.
3466 2007-12-04 Alexander Larsson <alexl@redhat.com>
3469 (g_output_stream_close):
3470 Only call flush if non-null.
3472 2007-11-30 Dan Winship <danw@gnome.org>
3474 * ginputstream.c (g_input_stream_set_pending): Make this take a
3475 GError and return a gboolean, and do the "outstanding operation"
3476 check (and the "stream is already closed" check) itself.
3477 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3479 * goutputstream.c (g_output_stream_set_pending)
3480 (g_output_stream_clear_pending): Likewise
3482 * gbufferedinputstream.c:
3483 * gfileinputstream.c:
3484 * gfileoutputstream.c: Update for that
3486 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3487 Like g_simple_async_report_error_in_idle, but takes a GError
3488 rather than building one.
3490 2007-11-30 Dan Winship <danw@gnome.org>
3492 * goutputstream.c: Don't cheat and unset the "pending" flag around
3493 inner calls. Instead, call the class method directly rather than
3494 the wrapper function that checks "pending"
3496 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3498 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3500 2007-12-03 Hans Breuer <hans@breuer.org>
3502 [start of port to win32/msvc]
3503 * gcancellable.c : HAVE_UNIST_H and _pipe()
3504 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3505 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3506 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3508 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3509 * glocalvfs.c : use HAVE_PWD_H
3510 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3511 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3512 * Makefile.am : added to EXTRA_DIST
3514 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3516 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3519 2007-12-03 Alexander Larsson <alexl@redhat.com>
3522 Handle OSX style xattrs API (#500506)
3524 2007-12-03 Alexander Larsson <alexl@redhat.com>
3528 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3530 2007-12-02 A. Walton <awalton@svn.gnome.org>
3534 Documentation accuracy fixes.
3536 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3538 * gioenumtypes.c.template: Fix typo.
3540 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3542 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3544 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3546 * gdirectorymonitor.c:
3547 * gfilemonitor.c: Add properties
3549 * gbufferedoutputstream.c: Don't mark buffer-size property
3552 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3554 * gbufferedoutputstream.c: Add auto-grow property.
3556 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3558 * *.c: Unify the capitalization of section headings.
3560 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3562 * gmountoperation.c: Add properties
3564 * gdatainputstream.c: Turn byte-order and newline-type into
3567 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3569 * gioenumtypes.[hc].template: Templates for enum registration
3571 * Makefile.am: Generate gioenumtypes.[hc]
3573 * gio.h: Include gioenumtypes.h
3575 * gfile.h: Add some explicit nicks.
3577 * gio.symbols: Add new symbols
3579 * pltcheck.sh: Adjust
3581 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3583 * *.c: Explain etags and link to the explanation
3585 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3587 * *.c: Explain I/O priority.
3589 * *.c: More coding style fixes.
3591 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3593 * gasyncresult.c: Add another paragraph to the intro,
3594 adjust coding style of example.
3596 2007-11-29 A. Walton <awalton@svn.gnome.org>
3599 Fixes unknown meaning in GAppLaunchContext docs.
3601 Clarify asynchronous ops.
3603 Fix entity tag docs.
3606 Provides missing gtk-doc section, fixes API docs slighly.
3607 * gsimpleasyncresult.c:
3608 Fill in missing info in docs.
3609 * gunixinputstream.c:
3610 * gunixoutputstream.c:
3611 Be more expressive in short description.
3613 Remove gtk-doc stubs for non-public API.
3615 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3617 * *.c: Coding style fixups
3619 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3621 * inotify/inotify-helper.c: Don't export the lock from libgio.
3623 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3626 * abicheck.sh: Fix copy-and-paste leftovers
3628 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3630 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3632 2007-11-28 Alexander Larsson <alexl@redhat.com>
3636 Removed unnecessary file
3638 * gdesktopappinfo.[ch]:
3641 * glocaldirectorymonitor.[ch]:
3643 * glocalfileenumerator.[ch]:
3644 * glocalfileinputstream.[ch]:
3645 * glocalfilemonitor.[ch]:
3646 * glocalfileoutputstream.[ch]:
3648 * gnativevolumemonitor.c:
3649 * gpollfilemonitor.[ch]:
3650 * gunionvolumemonitor.[ch]:
3653 * gunixvolumemonitor.[ch]:
3656 * inotify/ginotifydirectorymonitor.[ch]:
3657 * inotify/ginotifyfilemonitor.[ch]:
3658 * inotify/inotify-helper.c:
3659 Append _ to all internal functions
3663 Export symbols needed for modules
3665 2007-11-28 Alexander Larsson <alexl@redhat.com>
3668 * abicheck.sh: Added.
3669 * makegioalias.pl: Added.
3670 * pltcheck.sh: Added.
3671 * gio.symbols: Added.
3674 Initial work on adding symbol handling.
3677 Correct ifdef guard name
3680 * inotify/Makefile.am:
3681 * xdgmime/Makefile.am:
3682 Include toplevel Makefile.decl
3684 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3686 * gcontenttype.c: Move doc comments to the unix section.
3688 * *.[hc]: More trivial doc corrections.
3690 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3692 * gpollfilemonitor.c:
3696 * gdesktopappinfo.c:
3701 * gdatainputstream.c:
3702 * gdatainputstream.h:
3703 * gdataoutputstream.c:
3704 * gdataoutputstream.h:
3705 * gfileinfo.h: Doc cleanups
3707 2007-11-28 Andre Klapper <a9016009@gmx.de>
3709 * gdesktopappinfo.c: Fix a typo.
3711 2007-11-27 Andre Klapper <a9016009@gmx.de>
3713 * glocalfileoutputstream.c: Fix a typo.
3715 2007-11-27 Alexander Larsson <alexl@redhat.com>
3718 Don't include removed headers
3720 2007-11-27 Alexander Larsson <alexl@redhat.com>
3723 * gsocketinputstream.[ch]: Removed.
3724 * gsocketoutputstream.[ch]: Removed.
3725 * gunixinputstream.[ch]: Added.
3726 * gunixoutputstream.[ch]: Added.
3727 Renamed GSocket*Stream to GUnix*Stream and made
3728 it unix-only, since its not really only for sockets
3729 and it only works on unix (but is highly useful there).
3731 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3737 * gbufferedinputstream.c:
3738 * gbufferedinputstream.h:
3739 * gbufferedoutputstream.c:
3740 * gbufferedoutputstream.h:
3744 * gdatainputstream.c:
3745 * gdatainputstream.h:
3746 * gdataoutputstream.c:
3747 * gdataoutputstream.h:
3748 * gdirectorymonitor.c:
3749 * gdirectorymonitor.h:
3756 * gfileenumerator.c:
3757 * gfileenumerator.h:
3762 * gfileinputstream.c:
3763 * gfileinputstream.h:
3766 * gfilenamecompleter.c:
3767 * gfilenamecompleter.h:
3768 * gfileoutputstream.c:
3769 * gfileoutputstream.h:
3770 * gfilterinputstream.c:
3771 * gfilterinputstream.h:
3772 * gfilteroutputstream.c:
3773 * gfilteroutputstream.h:
3786 * glocalfileoutputstream.c:
3787 * gmemoryinputstream.c:
3788 * gmemoryinputstream.h:
3789 * gmemoryoutputstream.c:
3790 * gmemoryoutputstream.h:
3791 * gmountoperation.c:
3792 * gmountoperation.h:
3795 * gpollfilemonitor.c:
3798 * gsimpleasyncresult.c:
3799 * gsimpleasyncresult.h:
3800 * gsocketinputstream.c:
3801 * gsocketinputstream.h:
3802 * gsocketoutputstream.c:
3803 * gsocketoutputstream.h:
3810 * gunixvolumemonitor.c:
3819 Bumps documentation to 93% symbol coverage, touching most
3820 of the public files. Fixes broken function documentation prototypes.
3821 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3822 gtk-doc headers in private files.
3824 2007-11-27 Jürg Billeter <j@bitron.ch>
3826 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3827 (g_buffered_input_stream_read_byte):
3828 * gbufferedinputstream.h:
3829 New functions for efficient access to buffer and simple single byte
3832 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3833 (g_data_input_stream_read_until):
3834 * gdatainputstream.h:
3835 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3836 read_until with multiple stop chars.
3838 2007-11-27 Alexander Larsson <alexl@redhat.com>
3842 * inotify/Makefile.am:
3843 Use the user-specified giomoduledir
3845 2007-11-27 Alexander Larsson <alexl@redhat.com>
3849 Add catch-all gio.h header
3850 Don't install gdummyfile.h
3852 2007-11-26 Alexander Larsson <alexl@redhat.com>
3854 * Makefile.am (gioinclude_HEADERS):
3855 Remove trailing whitespace
3857 2007-11-26 Alexander Larsson <alexl@redhat.com>
3859 Merge gio-standalone into glib
3861 2007-11-25 Christian Kellner <gicmo@gnome.org>
3863 * gio/goutputstream.c:
3864 Fix small mistake in the docs.
3866 2007-11-21 Christian Persch <chpe@gnome.org>
3868 * gio/glocalfile.c: (g_local_file_trash):
3869 Convert filenames to UTF-8 for GError.
3870 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3871 as per xdg base dir spec.
3873 2007-11-21 Christian Persch <chpe@gnome.org>
3875 * gio/gdesktopappinfo.c:
3876 Use that g_key_file_to_data cannot fail.
3878 Use stock defines for the key file group and key names.
3881 2007-11-21 Alexander Larsson <alexl@redhat.com>
3884 (copy_stream_with_progress):
3885 Make sure we do a final progress callback with
3886 the full total size.
3888 2007-11-21 Alexander Larsson <alexl@redhat.com>
3891 Export g_file_copy_attributes
3892 Remove padding as its not needed for interfaces
3894 2007-11-20 Alexander Larsson <alexl@redhat.com>
3899 Add G_IO_ERROR_WOULD_MERGE for
3900 copy/move dir on dir with overwrite.
3902 2007-11-20 Alexander Larsson <alexl@redhat.com>
3905 * gio/glocalfileinfo.c:
3906 Add COPY_NAME (this is an optional
3907 non-modified utf8 version of the name) that
3910 2007-11-20 Alexander Larsson <alexl@redhat.com>
3912 * gio/glocalfileenumerator.c:
3913 Report errors as GIOError, not GFileError
3915 2007-11-16 Alexander Larsson <alexl@redhat.com>
3917 * gio/glocalfileoutputstream.c:
3918 * gio/gwin32appinfo.c:
3919 Fix typos in strings.
3920 Patch from Luca Ferretti <elle.uca@libero.it>
3922 2007-11-15 Alexander Larsson <alexl@redhat.com>
3925 Post release version bump
3927 === gio-standalone 0.1.2 ===
3929 2007-11-15 Alexander Larsson <alexl@redhat.com>
3931 * docs/reference/gio/Makefile.am:
3932 Fix up distcheck by removing weird
3938 2007-11-14 Alexander Larsson <alexl@redhat.com>
3940 * gio/gdesktopappinfo.c:
3941 * gio/glocaldirectorymonitor.c:
3943 * gio/glocalfileinfo.c:
3944 * gio/inotify/inotify-sub.c:
3945 * programs/gio-cat.c:
3946 * programs/gio-copy.c:
3947 * programs/gio-info.c:
3948 * programs/gio-ls.c:
3949 * programs/gio-monitor-dir.c:
3950 * programs/gio-monitor-file.c:
3951 * programs/gio-mount.c:
3952 * programs/gio-move.c:
3953 * programs/gio-rm.c:
3954 * programs/gio-save.c:
3955 * programs/gio-trash.c:
3956 Leak fixes from Kjartan Maraas
3958 2007-11-14 Alexander Larsson <alexl@redhat.com>
3960 * gio/fam/fam-helper.c:
3962 * gio/glocalfileinfo.c:
3966 * gio/inotify/inotify-diag.c:
3967 * gio/inotify/inotify-kernel.c:
3968 Various code cleanups from Kjartan Maraas
3970 2007-11-14 Alexander Larsson <alexl@redhat.com>
3972 * gio/gioscheduler.c:
3974 Set up threadpool so that we cache 2 unused
3975 idle threads for at 15 secs. This means we
3976 will reuse thread-local data (like dbus connections)
3979 2007-11-14 Alexander Larsson <alexl@redhat.com>
3981 * gio/fam/fam-helper.c:
3982 * gio/fam/gfamdirectorymonitor.c:
3983 * gio/fam/gfamfilemonitor.c:
3985 * gio/gcontenttype.c:
3986 * gio/gdatainputstream.c:
3987 * gio/gdataoutputstream.c:
3991 * gio/gfileattribute.h:
3992 * gio/gfileenumerator.c:
3994 * gio/ginputstream.c:
3997 * gio/glocalfileinfo.c:
3998 * gio/goutputstream.c:
3999 * gio/gpollfilemonitor.c:
4000 * gio/gsimpleasyncresult.c:
4001 * gio/gunixmounts.c:
4002 * gio/gunixmounts.h:
4003 * gio/inotify/ginotifydirectorymonitor.c:
4004 * gio/inotify/ginotifyfilemonitor.c:
4005 * gio/inotify/inotify-diag.c:
4006 * gio/inotify/inotify-kernel.c:
4007 * gio/inotify/inotify-path.c:
4009 * gio/test-streams.c:
4010 * programs/gio-info.c:
4011 * programs/gio-monitor-dir.c:
4012 * programs/gio-monitor-file.c:
4013 Various code cleanups from Kjartan Maraas
4015 2007-11-13 Alexander Larsson <alexl@redhat.com>
4018 Handle the uri-scheme calls for dummy files
4020 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4022 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4023 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4024 to avoid clash with the C++ keyword.
4026 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4028 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4029 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4031 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4033 * gio/glocaldirectorymonitor.c:
4034 * gio/glocalfilemonitor.c:
4035 * gio/gunionvolumemonitor.c:
4036 Don't use g_once_init_*() for initializations that could fail and
4037 could leave the initialization variable set to 0 but use GOnce.
4038 This prevents a deadlock on the second call when trying to create
4039 a monitor and no monitor type is available. Thanks to Sven Herzberg
4042 2007-11-11 Sven Herzberg <sven@imendio.com>
4044 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4045 #ifdef (make it work on MacOS X again)
4047 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4049 Fixes Changelog for last two commits (sorry guys).
4051 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4053 * gio/gbufferedinputstream.c:
4054 * gio/gdatainputstream.c:
4056 * gio/gfileoutputstream.c:
4057 * gio/gfilterinputstream.c:
4058 * gio/glocalfileinputstream.c:
4061 More consistency fixes in g*stream.c files.
4062 Significant clean of gfile's documentation, filling in of
4063 asynchronous operations documentation.
4065 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4067 * gio/gasyncresult.c:
4068 * gio/gbufferedinputstream.c:
4069 * gio/gbufferedoutputstream.c:
4070 * gio/gcancellable.c:
4071 * gio/gcontenttype.c:
4072 * gio/gdatainputstream.c:
4073 * gio/gdataoutputstream.c:
4074 * gio/gdesktopappinfo.c:
4077 * gio/gfileattribute.c:
4078 * gio/gio/gfileenumerator.c:
4080 * gio/gfileinputstream.c:
4081 * gio/gfilemonitor.c:
4082 * gio/gfileoutputstream.c:
4083 * gio/ginputstream.c:
4085 * gio/gioscheduler.c:
4086 * gio/gloadableicon.c:
4087 * gio/glocalfileoutputstream.c:
4088 * gio/gmemoryoutputstream.c:
4089 * gio/gmountoperation.c:
4090 * gio/goutputstream.c:
4092 * gio/gsimpleasyncresult.c:
4093 * gio/gunionvolumemonitor.c:
4094 * gio/gunixmounts.c:
4095 * gio/gunixvolume.c:
4099 * gio/gvolumemonitor.c:
4100 Updated documentation stubs, working towards consistency and
4103 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4105 * gio/gmemoryoutputstream.c:
4106 * gio/gmemoryoutputstream.h:
4107 Change g_memory_output_stream_set_free_on_close() to
4108 g_memory_output_stream_set_free_data() as this makes more sense and
4109 is more consistent with GMemoryInputStream.
4111 2007-11-07 Alexander Larsson <alexl@redhat.com>
4118 Change how we find the default vfs so that
4119 we can handle a gvfs failing to init
4121 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4123 * gio/gbufferedoutputstream.c:
4124 * gio/gdatainputstream.c:
4125 * gio/gdataoutputstream.c:
4126 * gio/gfileinputstream.c:
4127 * gio/gfileoutputstream.c:
4128 * gio/gfilterinputstream.c:
4129 * gio/gfilteroutputstream.c:
4130 * gio/ginputstream.c:
4131 * gio/gmemoryinputstream.c:
4132 * gio/gmemoryoutputstream.c:
4133 * gio/goutputstream.c:
4134 * gio/gsimpleasyncresult.c:
4135 * gio/gsocketinputstream.c:
4136 * gio/gsocketoutputstream.c:
4137 Add guards to the remaining public functions, add a TODO for
4138 an unimplemented function and remove some useless guards.
4140 2007-11-07 Alexander Larsson <alexl@redhat.com>
4143 Autoconf checks for the various types of
4144 getpwuid_r and getgrgid_r
4146 * gio/glocalfileinfo.c:
4147 Use the autoconf checks from above
4149 2007-11-07 Alexander Larsson <alexl@redhat.com>
4152 (g_local_file_query_filesystem_info):
4153 Some fixes for the statvfs case
4155 2007-11-07 Alexander Larsson <alexl@redhat.com>
4158 (g_local_file_query_filesystem_info):
4159 Pick the "best" of statfs / statvfs for the system
4160 if both are availible.
4162 2007-11-07 Alexander Larsson <alexl@redhat.com>
4164 Solaris fixes from Halton.Huo@Sun.COM:
4171 * gio/glocalfileinfo.c:
4172 Fix for solaris definition of getpwuid_r
4174 * gio/test-streams.c:
4175 Use G_GNUC_PRETTY_FUNCTION
4177 2007-11-07 Alexander Larsson <alexl@redhat.com>
4179 * gio/gdesktopappinfo.c:
4180 (update_default_list):
4181 Remove double semicolon.
4182 Patch from Jens Granseuer
4184 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4186 * docs/reference/gio/gio-sections.txt:
4187 * gio/gbufferedinputstream.c:
4188 * gio/gbufferedinputstream.h:
4189 * gio/gdatainputstream.c:
4190 * gio/gfileenumerator.c:
4191 * gio/gioscheduler.c:
4192 * gio/gunionvolumemonitor.c:
4194 * programs/gio-save.c:
4195 Fix typo: availible -> available. Unfortuntely this breaks API
4196 and ABI as g_buffered_input_stream_get_available() was renamed.
4198 * gio/gunixmounts.c:
4199 * gio/gbufferedinputstream.c:
4200 Add guards for public functions.
4202 2007-11-06 Ross Burton <ross@openedhand.com>
4204 * docs/reference/gio/Makefile.am:
4205 Fix invalid += usage which automake 1.10 doesn't like.
4207 2007-11-06 Alexander Larsson <alexl@redhat.com>
4210 (g_app_launch_context_class_init):
4213 Patch from Ross Burton
4215 2007-11-06 Alexander Larsson <alexl@redhat.com>
4218 Post release version bump
4220 === gio-standalone 0.1.1 ===
4222 2007-11-06 Alexander Larsson <alexl@redhat.com>
4225 Bump version to 0.1.1
4227 * gio/gsimpleasyncresult.c:
4228 (g_simple_async_result_set_from_error):
4229 Remove bogus g_return_if_fail
4231 2007-11-06 Alexander Larsson <alexl@redhat.com>
4234 The name is gio-standalone
4237 Add top src/builddir to includedir
4239 2007-11-06 Alexander Larsson <alexl@redhat.com>
4241 * docs/reference/gio/gio-sections.txt:
4243 * gio/gbufferedinputstream.c:
4244 * gio/gbufferedoutputstream.c:
4245 * gio/gcancellable.c:
4246 * gio/gdatainputstream.h:
4247 * gio/gdataoutputstream.c:
4248 * gio/gdataoutputstream.h:
4249 * gio/gdirectorymonitor.c:
4251 * gio/gfileattribute.c:
4252 * gio/gfileattribute.h:
4253 * gio/gfileenumerator.c:
4254 * gio/gfileenumerator.h:
4257 * gio/gfileinputstream.h:
4258 * gio/gfilemonitor.c:
4259 * gio/gfileoutputstream.h:
4260 * gio/glocalfilemonitor.h:
4261 * gio/glocalfileoutputstream.h:
4262 * gio/gmemoryinputstream.c:
4263 * gio/gmemoryoutputstream.c:
4264 * gio/gmountoperation.c:
4265 * gio/goutputstream.c:
4266 * gio/goutputstream.h:
4268 * gio/gsimpleasyncresult.c:
4269 * gio/gunixmounts.c:
4270 * gio/gunixmounts.h:
4272 * gio/inotify/inotify-helper.c:
4273 Fix gtk-doc warnings
4275 Patch from Ross Burton
4277 2007-11-06 Alexander Larsson <alexl@redhat.com>
4279 * gio/gfilenamecompleter.c:
4280 (g_filename_completer_get_completions):
4283 * gio/gunixvolume.c:
4284 Remove unused function
4286 Patches from Ross Burton
4288 2007-11-06 Alexander Larsson <alexl@redhat.com>
4293 Padding not needed for interfaces
4295 2007-11-06 Alexander Larsson <alexl@redhat.com>
4297 * gio/gfilemonitor.c:
4301 Make giotypes.h an internal file
4304 * gio/gbufferedinputstream.h:
4305 * gio/gbufferedoutputstream.h:
4306 * gio/gcancellable.h:
4307 * gio/gdatainputstream.h:
4308 * gio/gdataoutputstream.h:
4309 * gio/gdirectorymonitor.c:
4310 * gio/gdirectorymonitor.h:
4315 * gio/gfileattribute.h:
4316 * gio/gfileenumerator.h:
4321 * gio/gfilemonitor.c:
4322 * gio/gfilemonitor.h:
4323 * gio/gfilenamecompleter.c:
4324 * gio/gfilenamecompleter.h:
4325 * gio/gfilterinputstream.h:
4326 * gio/gfilteroutputstream.h:
4327 * gio/ginputstream.h:
4328 * gio/gmemoryinputstream.h:
4329 * gio/gmemoryoutputstream.h:
4330 * gio/gmountoperation.c:
4331 * gio/gmountoperation.h:
4332 * gio/gnativevolumemonitor.c:
4333 * gio/goutputstream.h:
4336 * gio/gsimpleasyncresult.c:
4337 * gio/gsimpleasyncresult.h:
4338 * gio/gsocketinputstream.h:
4339 * gio/gsocketoutputstream.h:
4340 * gio/gthemedicon.c:
4341 * gio/gthemedicon.h:
4345 * gio/gvolumemonitor.c:
4346 * gio/gvolumemonitor.h:
4347 Add padding in classes where it seems useful
4348 Don't include giotypes.h from public headers
4349 Move in Class definitions into c file where possible
4354 2007-11-06 Alexander Larsson <alexl@redhat.com>
4356 * docs/reference/gio/gio-docs.xml:
4357 Better structure for API docs
4359 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4362 * gio/gloadableicon.c:
4363 * gio/gsimpleasyncresult.c:
4364 * gio/gthemedicon.c:
4365 Add some more guards to public functions. Only files missing are now
4368 2007-11-06 Alexander Larsson <alexl@redhat.com>
4370 * docs/reference/gio/gio-docs.xml:
4371 Remove old files, add missing ones
4373 2007-11-06 Alexander Larsson <alexl@redhat.com>
4375 * docs/reference/gio/gio-sections.txt:
4378 Hide implementation classes
4380 * gio/gdriveprivate.h:
4381 * gio/gvolumeprivate.h:
4382 Remove non-existing function declarations
4384 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4387 Fix compilation warnings and add guards to the new functions.
4389 * gio/gasyncresult.c:
4391 Add guards to the public functions.
4394 Implement get_path().
4396 2007-11-06 Alexander Larsson <alexl@redhat.com>
4398 * gio/gfilenamecompleter.c:
4399 Make g_filename_completer_get_completions
4400 return char ** instead of GList for
4403 * docs/reference/gio/gio-docs.xml:
4404 * docs/reference/gio/gio-sections.txt:
4406 * gio/gasyncresult.c:
4407 * gio/gbufferedinputstream.c:
4408 * gio/gbufferedoutputstream.c:
4409 * gio/gcancellable.c:
4410 * gio/gcontenttype.c:
4411 * gio/gdatainputstream.c:
4412 * gio/gdataoutputstream.c:
4413 * gio/gdesktopappinfo.c:
4414 * gio/gdirectorymonitor.c:
4418 * gio/gfileattribute.c:
4419 * gio/gfileenumerator.c:
4422 * gio/gfileinputstream.c:
4423 * gio/gfilemonitor.c:
4424 * gio/gfilenamecompleter.c:
4425 * gio/gfilenamecompleter.h:
4426 * gio/gfileoutputstream.c:
4427 * gio/gfilterinputstream.c:
4429 * gio/ginputstream.c:
4431 * gio/gioscheduler.c:
4432 * gio/gloadableicon.c:
4433 * gio/glocaldirectorymonitor.c:
4435 * gio/glocalfileinputstream.c:
4436 * gio/glocalfilemonitor.c:
4437 * gio/glocalfileoutputstream.c:
4439 * gio/gmemoryinputstream.c:
4440 * gio/gmemoryoutputstream.c:
4441 * gio/gmountoperation.c:
4442 * gio/goutputstream.c:
4443 * gio/gpollfilemonitor.c:
4445 * gio/gsimpleasyncresult.c:
4446 * gio/gsocketinputstream.c:
4447 * gio/gsocketoutputstream.c:
4448 * gio/gthemedicon.c:
4449 * gio/gunionvolumemonitor.c:
4451 * gio/gunixmounts.c:
4452 * gio/gunixvolume.c:
4453 * gio/gunixvolumemonitor.c:
4457 * gio/gvolumemonitor.c:
4458 * gio/gwin32appinfo.c:
4459 Add (mostly stub) doc strings to public functions.
4460 Patch from Andrew Walton (awalton@gmail.com)
4462 2007-11-06 Alexander Larsson <alexl@redhat.com>
4464 * gio/gappinfo.[ch]:
4465 Added GAppLaunchContext object and pass that to launch.
4466 This allows simple implementation of both
4467 launch-on-screen and startup notification via a gtk+
4468 subclass of GAppLaunchContext
4470 * gio/gdesktopappinfo.c:
4471 Implement GAppLaunchContext API
4473 * gio/gwin32appinfo.c:
4476 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4478 * gio/gmountoperation.c:
4479 Add some guards to GMountOperation's public functions.
4481 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4485 * gio/gcancellable.c:
4486 * gio/gdirectorymonitor.c:
4488 * gio/gfileenumerator.c:
4489 * gio/gfilemonitor.c:,
4490 * gio/gfilenamecompleter.c:
4493 * gio/gioscheduler.c:
4497 * gio/gvolumemonitor.c:
4498 Add even more guards to various public functions.
4500 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4503 Add guards to the public functions of GAppInfo.
4505 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4507 * gio/gcontenttype.c:
4508 Add some more guards for public functions.
4510 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gio/fam/fam-module.c:
4513 * gio/fam/gfamdirectorymonitor.c:
4514 * gio/fam/gfamdirectorymonitor.h:
4515 * gio/fam/gfamfilemonitor.c:
4516 * gio/fam/gfamfilemonitor.h:
4517 * gio/inotify/ginotifydirectorymonitor.c:
4518 * gio/inotify/ginotifydirectorymonitor.h:
4519 * gio/inotify/ginotifyfilemonitor.c:
4520 * gio/inotify/ginotifyfilemonitor.h:
4521 Add proper copyright information and remove an unused variable
4522 in the GInotifyFileMonitor constructor.
4524 * gio/gcancellable.c:
4525 Add a guard for a public function and an assertion to prevent
4526 an undefined program state.
4528 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4530 * gio/gfileattribute.c:
4531 Don't run into an assertion if the given attribute value is NULL
4532 in g_file_attribute_value_get_*() but instead return a fallback
4533 value that makes sense in most situations. Passing them a attribute
4534 value with the wrong type will still run into an assertion.
4536 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4538 * gio/gfileattribute.c:
4540 Add even more guards to the public functions. Also fix the refcounting
4541 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4542 let g_file_info_list_attributes() filter the attributes by namespace
4543 instead of simply ignoring the namespace parameter.
4545 2007-11-03 Sven Herzberg <sven@imendio.com>
4547 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4548 (This makes gio work on MacOS X again)
4550 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4553 Build the gio subdirectory before the docs. Otherwise the build will
4556 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4557 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4558 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4559 Add guards to the public functions.
4561 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4563 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4564 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4565 to prevent a compiler warning.
4567 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4568 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4569 return something in the non-void function find_topdir_for().
4571 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4578 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4580 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4581 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4582 * gwin32appinfo.c (g_win32_app_info_launch):
4583 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4584 envp_for_startup_id, g_desktop_app_info_launch,
4585 g_desktop_app_info_launch_uris):
4587 Give an opaque 'startup_id' string instead of 'envp'.
4588 Support empty file lists for launching new windows.
4589 Fix infinite recursion bug when launching URIs.
4591 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4594 Add guard to the new g_file_get_uri_scheme() function.
4596 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4599 Convert a g_return_val_if_fail() to setting the GError instead as
4600 otherwise applications have to verify the parameter before otherwise
4601 and the parameter might come directly from the user.
4603 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4605 * gio/inotify/ginotify*.[ch]:
4606 Add missing copyright information.
4608 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4611 Add guards in the beginning of public functions to check for valid
4612 parameters and fix a bug in copy_stream_with_progress() that could've
4613 caused writing less bytes than reading.
4614 * gio/glocalfileinfo.c:
4615 Check for a NULL parameter and set the GError accordingly then.
4616 * gio/goutputstream.c:
4617 Fix the same bug as in gfile.c that could've caused writing less bytes
4618 than reading in g_output_stream_real_splice().
4620 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4623 Use the correct gvolumeprivate.h naming
4625 2007-11-01 Christian Kellner <gicmo@gnome.org>
4628 Remove leftover "$(daemon_sources)" entry.
4630 2007-11-01 Christian Kellner <gicmo@gnome.org>
4635 Add copyright information to source files.
4637 2007-11-01 Alexander Larsson <alexl@redhat.com>
4641 Add g_file_get_uri_scheme
4643 2007-11-01 Alexander Larsson <alexl@redhat.com>
4646 * gio/gdesktopappinfo.c:
4647 * gio/gwin32appinfo.c:
4648 Add g_app_info_get_default_for_uri_scheme.
4650 2007-11-01 Alexander Larsson <alexl@redhat.com>
4653 Correct filename for gdriveprivate.h
4655 2007-10-31 Alexander Larsson <alexl@redhat.com>
4658 Rename id:value to id:file
4661 * gio/glocalfileinfo.c:
4664 2007-10-31 Alexander Larsson <alexl@redhat.com>
4666 * gio/gunixvolume.c:
4668 Remove g_volume_get_platform_id, as thats not
4669 needed with the simpler union volume monitor
4671 2007-10-31 Alexander Larsson <alexl@redhat.com>
4674 * gio/guniondrive.[ch]: Removed.
4675 * gio/gunionvolume.[ch]: Removed.
4676 Remove GUnionDrive/Volume
4678 * gio/gunionvolumemonitor.c:
4679 Simplify union volume monitor, now we
4680 only have one native volume monitor and
4681 we use the actual volumes/drives from the
4682 child monitors instead of wrapping them
4684 * gio/gnativevolumemonitor.[ch]:
4685 Base class for native volume monitors.
4686 Includes priority and get_volume_for_mountpoint
4689 Add g_file_find_enclosing_volume
4692 Remove volume name fs attribute
4693 Add readonly fs attribute
4696 Implement readonly attribute
4697 remove volume name attribute
4698 Implement find_enclosing volume
4700 * gio/gunixmounts.c:
4701 Add a volume for "/".
4703 * gio/gunixvolume.[ch]:
4704 Set better name for /
4706 * gio/gunixvolumemonitor.[ch]:
4707 Derive from GNativeVolumeMonitor
4708 Implement get_volume_for_mountpoint
4711 GVolume typedef moved to gfile.h
4713 * gio/gvolumeprivate.h:
4714 Add g_volume_get_for_mount_path
4716 2007-10-31 Alexander Larsson <alexl@redhat.com>
4718 * gio/gunixmounts.[ch]:
4719 Add cache info to unix mount listers
4720 Make getmntent use threadsafe
4721 Add is_system_internal attribute for GUnixMount
4723 * gio/gunixvolume.c:
4724 (g_unix_volume_new):
4725 Use is_system_internal instead of own code
4727 * gio/glocaldirectorymonitor.c:
4728 * gio/gunixvolumemonitor.c:
4729 Update to new gunixmounts API
4734 2007-10-30 Alexander Larsson <alexl@redhat.com>
4737 Add volume name fsinfo attribute
4740 Read volume name info
4742 * gio/gunionvolumemonitor.c:
4743 Fix infinite loops when finalizing a union volume monitor
4745 2007-10-30 Alexander Larsson <alexl@redhat.com>
4747 * gio/goutputstream.[ch]:
4748 Add splice() with default implementation
4750 * gio/gsocketoutputstream.c:
4751 (g_socket_output_stream_write):
4752 Return error on cancellation correctly.
4754 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4756 * gio/glocalfile.c (g_local_file_trash):
4757 Do not leak a string.
4759 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4761 * gio/gfile.c (g_file_load_contents):
4762 Unref the stream after closing it.
4764 2007-10-25 Alexander Larsson <alexl@redhat.com>
4766 * gio/gioscheduler.h:
4769 2007-10-25 Alexander Larsson <alexl@redhat.com>
4773 Add g_file_has_uri_scheme and implement for local files
4775 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4777 * gio/gdesktopappinfo.c: do not leak a string.
4779 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4781 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4782 (g_local_directory_monitor_new):
4783 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4784 (g_local_file_monitor_new):
4785 Only look for the monitor type that should be used the first time
4786 and use g_qsort_with_data() instead of our own bubble sort
4789 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4792 * gio/fam/Makefile.am:
4793 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4794 * gio/fam/fam-helper.h:
4795 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4796 * gio/fam/gfamdirectorymonitor.c:
4797 * gio/fam/gfamdirectorymonitor.h:
4798 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4799 * gio/fam/gfamfilemonitor.h:
4800 * gio/glocaldirectorymonitor.c:
4801 * gio/glocaldirectorymonitor.h:
4802 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4803 * gio/glocalfilemonitor.h:
4804 * gio/inotify/Makefile.am:
4805 * gio/inotify/ginotifydirectorymonitor.c:
4806 * gio/inotify/ginotifydirectorymonitor.h:
4807 * gio/inotify/ginotifyfilemonitor.c:
4808 * gio/inotify/ginotifyfilemonitor.h:
4809 Implement the FAM and Inotify monitors as
4810 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4811 their own GIO module. GLocal(Directory|File)Monitor will use the
4812 monitor with the highest rank that is supported on that machine.
4814 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4817 Change GIO module dir to $(libdir)/gio/modules and change
4818 the log domain from GVFS to GIO. Also only export symbols starting
4819 with g_ in the resulting library.
4820 * gio/test-streams.c: (main):
4821 Set log handler for the GIO log domain.
4823 2007-10-22 Alexander Larsson <alexl@redhat.com>
4825 * gio/gfilenamecompleter.[ch]:
4826 Add g_filename_completer_set_dirs_only
4828 2007-10-22 Alexander Larsson <alexl@redhat.com>
4831 * gio/gurifuncs.[ch]:
4832 Add some simple URI helpers
4834 * gio/gfilenamecompleter.[ch]:
4835 Added object for filename (parse name actually) completion
4838 Handle ~ in parse names
4840 2007-10-17 Alexander Larsson <alexl@redhat.com>
4843 * gio/glocalfileinfo.c:
4844 Add and implement id:value attribute
4846 2007-10-17 Alexander Larsson <alexl@redhat.com>
4849 * gio/guniondrive.c:
4851 Add and implement g_drive_has_volumes
4853 2007-10-17 Alexander Larsson <alexl@redhat.com>
4856 * gio/glocalfileinfo.[ch]:
4857 Add unix:is_mountpoint and implement for local files
4859 2007-10-16 Alexander Larsson <alexl@redhat.com>
4861 * gio/gunionvolumemonitor.c:
4862 (g_union_volume_monitor_init):
4863 Fix up the unix type getting so that it works with gcc
4865 2007-10-12 Alexander Larsson <alexl@redhat.com>
4868 * gio/glocalfileinfo.c:
4869 Add thumbnail:failed to file info
4871 2007-10-12 Richard Hult <richard@imendio.com>
4873 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4874 optimizing away the get_type call (happens with some gcc versions,
4875 like the one shipped with OS X 10.4).
4877 2007-10-12 Alexander Larsson <alexl@redhat.com>
4879 * gio/glocalfileinfo.c:
4880 (_g_local_file_info_set_attribute):
4881 Fix build if not HAVE_XATTR
4882 Patch from Milosz Derezynski <internalerror@gmail.com>
4884 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4886 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4887 around for review, otherwise I would have asked you before
4890 2007-10-11 Alexander Larsson <alexl@redhat.com>
4893 Add thumbnail:path attribute
4895 * gio/glocalfileinfo.c:
4896 Implement thumbnail:path for local files
4898 2007-10-11 Alexander Larsson <alexl@redhat.com>
4900 * gio/glocalfileinfo.c:
4901 (_g_local_file_info_get):
4902 Avoid duplicate icon names
4904 2007-10-11 Alexander Larsson <alexl@redhat.com>
4906 * gio/gthemedicon.[ch]:
4907 Change g_themed_icon_get_names return type to const
4909 2007-10-10 Alexander Larsson <alexl@redhat.com>
4911 * gio/glocalfileinfo.c:
4912 Don't reference freed memory
4914 2007-10-10 Alexander Larsson <alexl@redhat.com>
4916 * gio/gfileattribute.c:
4919 * gio/glocalfileinfo.c:
4922 2007-10-10 Alexander Larsson <alexl@redhat.com>
4925 Check for NULL icons
4927 * gio/gfileattribute.c:
4928 Don't dup when getting objects (same as for string attributes)
4930 * gio/gicon.c (g_icon_equal):
4931 Safely handle NULLs in equal
4933 2007-10-10 Alexander Larsson <alexl@redhat.com>
4936 Fix c++ compilation issues
4937 Patch from Milosz Derezynski <internalerror@gmail.com>
4939 2007-10-10 Alexander Larsson <alexl@redhat.com>
4941 * programs/gio-monitor-dir.c:
4942 Don't crash if dir monitor not supported.
4944 2007-10-09 Alexander Larsson <alexl@redhat.com>
4947 Add missing G_END_DECLS
4949 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4951 * gio/gfile.c: (g_file_set_display_name),
4952 (g_file_query_settable_attributes),
4953 (g_file_query_writable_namespaces):
4954 Return NULL not FALSE on errors as the return type is a pointer.
4956 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4958 * gio/glocalfile.c: (g_local_file_monitor_file):
4959 Don't call monitor_file on the default interface vtable (which
4960 is NULL) but simply return NULL. The caller, GFile, will create a
4961 polling monitor if NULL is returned.
4963 2007-10-09 Alexander Larsson <alexl@redhat.com>
4967 * gio-unix-2.0.pc.in:
4968 Add gio-unix-2.0.pc if OS_UNIX
4971 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4973 2007-10-09 Alexander Larsson <alexl@redhat.com>
4975 * gio/gunixmounts.[ch]:
4976 Make unix mount monitoring API sane.
4977 Now its just a object with mounts_changed
4978 and mountpoints_changed signals.
4980 * gio/glocaldirectorymonitor.c:
4981 * gio/gunixvolumemonitor.c:
4982 Use new mount monitor api
4984 2007-10-09 Alexander Larsson <alexl@redhat.com>
4986 * gio/gunixmounts.[ch]:
4987 Move guess type into one call for mounts and one for mountpoints
4990 * gio/gunixvolume.c:
4993 2007-10-09 Alexander Larsson <alexl@redhat.com>
4995 * gio/gunixmounts.[ch]:
4996 Remove _ prefix in preparation to make this semi-public
4997 Hide implementation of structs
4999 * gio/glocaldirectorymonitor.c:
5001 * gio/gunixvolume.c:
5002 * gio/gunixvolumemonitor.c:
5003 Update for above API changes
5005 2007-10-08 Alexander Larsson <alexl@redhat.com>
5008 Better polling fallback. This also handles the case where we have
5009 a monitor_file implementation, but it fails.
5011 2007-10-08 Alexander Larsson <alexl@redhat.com>
5015 * gio/gunixmounts.c:
5016 * programs/gio-monitor-dir.c:
5017 * programs/gio-monitor-file.c:
5018 Added cancellable to file monitoring calls.
5019 These are really sync calls and need this.
5021 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5023 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5024 (g_local_vfs_class_init):
5025 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5026 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5028 2007-10-05 Alexander Larsson <alexl@redhat.com>
5030 * gio/gdirectorymonitorprivate.h:
5031 * gio/gfilemonitorprivate.h:
5032 * gio/gdirectorymonitor.h:
5033 * gio/gfilemonitor.h:
5034 Remove *private.h and move to the public API, so that
5035 we can do implementations outside gio (such as in gvfs)
5037 * gio/gdirectorymonitor.c:
5038 * gio/gfilemonitor.c:
5039 * gio/glocaldirectorymonitor.c:
5040 * gio/gpollfilemonitor.c:
5041 * gio/inotify/inotify-helper.c:
5042 * gio/fam/fam-helper.c:
5043 Update to the new header names
5045 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5047 * gio/gdirectorymonitor.c:
5048 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5051 2007-10-04 Alexander Larsson <alexl@redhat.com>
5053 * gio/glocalfileinfo.c (get_access_rights):
5054 Set CAN_TRASH when we can move the file.
5055 We should really also check for a parent trash dir.
5057 2007-10-04 Alexander Larsson <alexl@redhat.com>
5059 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5060 Add can_trash access attribute
5062 2007-10-04 Alexander Larsson <alexl@redhat.com>
5065 (g_local_file_trash):
5066 Create info file first. This is per-spec and allows
5067 us to actually trash directories.
5069 2007-10-02 Alexander Larsson <alexl@redhat.com>
5071 * gio/gdesktopappinfo.c:
5072 Implement the new mime support code.
5073 Always set app as handling mimetype when being set as default for it
5075 2007-10-01 Alexander Larsson <alexl@redhat.com>
5077 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5078 Fix up check for xattrs:
5080 2007-10-01 Alexander Larsson <alexl@redhat.com>
5083 (g_app_info_set_as_default_for_extension):
5084 (g_app_info_add_supports_type):
5085 (g_app_info_can_remove_supports_type):
5086 (g_app_info_remove_supports_type):
5087 Make these fail nicely if not implemented
5089 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5091 * gio/glocalfileoutputstream.c:
5092 * gio/glocalfileoutputstream.h:
5097 * programs/gio-save.c:
5098 Add a GFileCreateFlags argument to operations that can create
5101 2007-10-01 Alexander Larsson <alexl@redhat.com>
5103 * gio/gappinfo.[ch]:
5104 * gio/gdesktopappinfo.c:
5105 Add more (stubbed out) mime API needed for nautilus
5107 2007-10-01 Alexander Larsson <alexl@redhat.com>
5110 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5111 Add g_app_info_set_as_default_for_extension.
5113 * gio/gdesktopappinfo.c:
5114 Dummy for g_app_info_set_as_default_for_extension
5115 Support flags in g_app_info_create_from_commandline
5117 * gio/gwin32appinfo.c:
5119 Update for API changes
5121 * gio/gthemedicon.c:
5122 Properly NULL-terminate list of icon names
5124 2007-09-28 Alexander Larsson <alexl@redhat.com>
5126 * gio/gloadableicon.h:
5127 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5129 2007-09-28 Alexander Larsson <alexl@redhat.com>
5132 Install headers in $includedir/gio-standalone/
5134 * gio-2.0.pc.in: Added.
5135 * gio-standalone.pc.in: Removed.
5138 Renamed pkg-config file to match glib (for future move)
5139 Update to the new include dir
5142 Add more TODO comments
5144 2007-09-28 Alexander Larsson <alexl@redhat.com>
5146 * gio/gdesktopappinfo.[ch]:
5147 Expose new_from_filename
5148 Add getter for is_hidden and handle it better
5150 2007-09-28 Alexander Larsson <alexl@redhat.com>
5152 * gio/gfileinfo.[ch]:
5153 Rename g_file_size_format_for_display to
5154 g_format_file_size_for_display.
5155 Now it doesn't have the g_file prefix, so we
5156 can later move it to glib.
5158 2007-09-28 Alexander Larsson <alexl@redhat.com>
5160 * gio/gappinfo.[ch]:
5161 Add g_app_info_get_id and g_app_info_get_executable.
5162 Make all getters non-reffing
5163 Make g_app_info_launch take GFile arguments.
5164 Add must_support_uris argument to g_app_info_get_default_for_type.
5166 * gio/gwin32appinfo.c:
5167 Update to GAppInfo api changes
5169 * gio/gdesktopappinfo.c:
5170 Update to GAppInfo api changes
5171 Implement supports_xdg_startup_notify
5173 * gio/gfileicon.c (g_file_icon_get_file):
5174 Make getter non-reffing.
5179 2007-09-27 Alexander Larsson <alexl@redhat.com>
5181 * gio/gfileinfo.[ch]:
5182 Add g_file_size_format_for_display helper
5184 2007-09-27 Alexander Larsson <alexl@redhat.com>
5186 * gio/glocalfileinfo.c:
5187 Set UNIX_GID from gid, not from uid
5189 2007-09-27 Alexander Larsson <alexl@redhat.com>
5192 Add g_file_set_attributes_async
5194 2007-09-27 Alexander Larsson <alexl@redhat.com>
5196 * gio/glocalfile.c (g_local_file_set_display_name):
5197 Fix set_display_name to actually rename to the right place.
5198 Use lstat to look for existing files so we don't overwrite
5201 2007-09-26 Alexander Larsson <alexl@redhat.com>
5204 Add g_file_set_display_name_async()
5206 2007-09-26 Alexander Larsson <alexl@redhat.com>
5209 Add load_partial_contents async calls
5212 Make internal function static
5214 2007-09-26 Alexander Larsson <alexl@redhat.com>
5216 * gio/glocalfileinfo.c:
5217 Correctly detect broken symlinks
5219 2007-09-26 Alexander Larsson <alexl@redhat.com>
5221 * gio/gcancellable.c (g_cancellable_cancel):
5222 Allow cancel on NULL cancellable
5224 2007-09-25 Alexander Larsson <alexl@redhat.com>
5226 * gio/gsimpleasyncresult.c:
5227 Don't allocate g_error manually.
5228 Fixes g_slice/g_new mixup crash
5230 2007-09-25 Alexander Larsson <alexl@redhat.com>
5232 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5233 Actually set active_backend.
5234 This means the monitor will be cancelled correctly.
5236 2007-09-25 Alexander Larsson <alexl@redhat.com>
5238 * gio/gdirectorymonitor.c:
5239 Set timeout to NULL when destroying
5241 2007-09-25 Alexander Larsson <alexl@redhat.com>
5244 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5245 that is a better description of the error.
5247 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5249 * gio/gvfs.c: (g_vfs_get_local):
5250 Make the local vfs variable static. The same instance should
5253 2007-09-24 Alexander Larsson <alexl@redhat.com>
5255 * gio/glocalfileinfo.c:
5256 Pass in actual length read into sniffer, not the length
5259 2007-09-21 Alexander Larsson <alexl@redhat.com>
5261 * gio/gfileenumerator.c:
5264 * gio/gfileinputstream.c:
5265 * gio/gfileoutputstream.c:
5266 * gio/ginputstream.c:
5267 * gio/goutputstream.c:
5268 Don't crash if async callbacks are NULL
5270 2007-09-20 Alexander Larsson <alexl@redhat.com>
5273 Add async enumerate_children method and default
5276 2007-09-20 Alexander Larsson <alexl@redhat.com>
5279 Add g_file_contains_file & g_file_get_relative_path, since they
5280 were needed for nautilus.
5281 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5286 Implement new methods
5288 2007-09-17 Alexander Larsson <alexl@redhat.com>
5291 * gio/gfileinputstream.[ch]:
5292 * gio/gfileoutputstream.[ch]:
5294 * gio/glocalfileenumerator.[ch]:
5295 * gio/glocalfileinfo.[ch]:
5296 * gio/glocalfileinputstream.c:
5297 * gio/glocalfileoutputstream.c:
5298 * gio/gpollfilemonitor.c:
5299 * programs/gio-copy.c:
5300 * programs/gio-info.c:
5301 * programs/gio-move.c:
5302 Rename get_file_info to query_info() to make it clearer
5303 that these are not simple getters, but do i/o.
5305 2007-09-17 Alexander Larsson <alexl@redhat.com>
5307 * gio/gdatainputstream.[ch]:
5308 * gio/test-streams.c:
5309 Use _read_XXX instead of _get_XXX for the i/o calls
5312 2007-09-17 Alexander Larsson <alexl@redhat.com>
5315 Added needed stuff to TODO comment
5317 2007-09-17 Alexander Larsson <alexl@redhat.com>
5319 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5320 Don't error out removing the backup copy if it doesn't
5323 2007-09-14 Alexander Larsson <alexl@redhat.com>
5325 * programs/Makefile.am:
5326 * programs/gvfs-*.c:
5328 Renamed apps from gvfs-xxx to gio-xxx.
5330 2007-09-14 Alexander Larsson <alexl@redhat.com>
5333 * gio/gfileoutputstream.[ch]:
5334 * gio/glocalfileoutputstream.c:
5335 * programs/gvfs-save.c:
5336 g_file_output_stream_get_etag doesn't do i/o, so remove
5337 cancellation and error.
5339 2007-09-14 Alexander Larsson <alexl@redhat.com>
5342 Add new_etag output to replace_contents functions
5344 2007-09-14 Alexander Larsson <alexl@redhat.com>
5346 * gio/gfileoutputstream.[ch]:
5347 Add async get_file_info and default implementation
5349 2007-09-14 Alexander Larsson <alexl@redhat.com>
5351 * gio/gfileinputstream.c:
5352 Implement fallback wrapper for async get_file_info
5354 2007-09-14 Alexander Larsson <alexl@redhat.com>
5357 Add etag out argument to load_contents
5362 2007-09-14 Alexander Larsson <alexl@redhat.com>
5364 * gio/gcontenttype.c (looks_like_text):
5365 Whitespace like tab, cr and lf do not make the
5368 2007-09-14 Alexander Larsson <alexl@redhat.com>
5370 * gio/gfileinputstream.[ch]:
5371 Add async get_file_info.
5373 2007-09-13 Alexander Larsson <alexl@redhat.com>
5375 * gio/goutputstream.c (g_output_stream_write_all):
5376 Allow NULL for bytes_written
5378 2007-09-13 Alexander Larsson <alexl@redhat.com>
5380 * gio/gmemoryinputstream.[ch]:
5381 Add accessors for data
5383 2007-09-13 Alexander Larsson <alexl@redhat.com>
5385 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5386 Don't crash if length is NULL