1 2008-12-01 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.19.1 ===
5 2008-12-01 Alexander Larsson <alexl@redhat.com>
9 * gunionvolumemonitor.c:
11 Add and document g_mount_is_shadowed plus calls
12 to set/unset a mount as shadowed
14 2008-11-28 Matthias Clasen <mclasen@redhat.com>
16 * gio/tests/g-icon.c: Comment out two failing tests
18 2008-11-28 Matthias Clasen <mclasen@redhat.com>
20 Bug 555486 – No way to recover command line from GAppInfo
23 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
24 by Hans Petter Jansson.
26 * gdesktopappinfo.c: And implement it here.
28 2008-11-28 Christian Dywan <christian@imendio.com>
30 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
32 2008-11-28 Matthias Clasen <mclasen@redhat.com>
34 Bug 559633 – gtk_image_new_from_gicon does not always work for
37 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
38 extensions on icon names. Proposed by Axel von Bertoldi.
40 2008-11-28 Matthias Clasen <mclasen@redhat.com>
42 Bug 548163 – Nautilus displays wrong error message for too long file
45 * glocalfile.c (g_local_file_set_display_name): Correctly set
46 error conditions if the new name is e.g. too long. Reported
47 by Leonardo Ferreira Fontenelle.
49 2008-11-28 Matthias Clasen <mclasen@redhat.com>
51 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
54 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
55 documented and include the line end in the returned string.
56 Pointed out by Paul Pogonyshev.
58 * tests/data-input-stream.c: Fix the read_line test to test the
61 2008-11-28 Matthias Clasen <mclasen@redhat.com>
63 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
64 files that have been created by g_app_info_create_from_commandline.
66 2008-11-28 Matthias Clasen <mclasen@redhat.com>
68 Bug 541715 – win32 : patch for warnings and signature problems in
71 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
74 2008-11-28 Matthias Clasen <mclasen@redhat.com>
76 Bug 562393 – g_buffered_input_stream_read_byte broken if data
79 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
80 handling of buffered content. Patch by Philip Withnall
82 * tests/buffered-input-stream.c: Add a testcase for this bug.
83 * tests/Makefile.am: And build it
85 2008-11-28 Matthias Clasen <mclasen@redhat.com>
87 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
90 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
91 '/' away. Spotted by Dan Williams.
93 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
95 Bug 561375 – Leaks mountpoint description
97 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
100 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
102 Bug 561352 – Leak of icon description
104 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
107 2008-11-14 Matthias Clasen <mclasen@redhat.com>
109 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
111 2008-11-12 Tor Lillqvist <tml@novell.com>
113 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
115 * win32/gwinhttpvfs.h: Move the set of function pointers to
116 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
117 pointer to that in the GWinHttpVfsClass.
119 * win32/gwinhttpvfs.c: Move the lookup of functions from
120 winhttp.dll into a function of its own, that stores the pointers
121 in a separate GWinHttpDllFuncs variable. Add two bookeeping
122 booleans lookup_done and funcs_found.
124 Don't call g_io_extension_point_implement() to register the
125 winhttp extension unless winhttp.dll has been successfully loaded
126 and the required functions found in it.
128 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
129 winhttp.dll correspondingly.
131 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
133 reviewed by: Alexander Larsson <alexl@redhat.com>
135 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
136 clearer about the behavior when there's no more content to read.
138 2008-10-27 Federico Mena Quintero <federico@novell.com>
140 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
142 2008-10-27 Tor Lillqvist <tml@novell.com>
144 Bug 557592 - Missing include in gwinhttpfile.c
146 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
149 2008-10-24 Matthias Clasen <mclasen@redhat.com>
151 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
153 * fam/fam-helper.c: Fix a memory leak and formatting issues.
154 Reported by Daniel Marjamäki
156 2008-10-23 Matthias Clasen <mclasen@redhat.com>
158 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
160 2008-10-23 Alexander Larsson <alexl@redhat.com>
162 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
165 (_g_local_file_info_get):
166 Don't return the fallback icon (text-x-generic) for all files.
167 This is causing problems with theme icon lookup and custom mime
168 icons, as the generic fallback overrides custom mime icons in
171 This is a slight change as applications might not get an icon wher
172 they previously did. But there is no guarantee to get on neither before
173 or after this change, so it should not break applications. Changes
174 to nautilus and gtk+ will be done to manually use the generic fallback
175 icon if no icon is found, but this is only required for rare cases.
177 2008-10-21 Alexander Larsson <alexl@redhat.com>
180 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
182 2008-10-21 Alexander Larsson <alexl@redhat.com>
184 Bug 555740 - gicon serialization
185 Based on patch from David Zeuthen
189 Add g_icon_to_string() and g_icon_new_for_string().
195 Implement icon serialization for built-in icon types
199 Added GIcon serialization test
201 2008-10-16 Matthias Clasen <mclasen@redhat.com>
203 * === Released 2.19.0 ===
205 2008-10-16 Matthias Clasen <mclasen@redhat.com>
207 Bug 556422 – g_file_enumerator_next_file: unclear whether return
208 value needs to be freed
210 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
211 the return value docs. Pointed out by Armin Burgmeier
213 2008-10-14 Matthias Clasen <mclasen@redhat.com>
215 Bug 556334 – Warning when building without selinux support
217 * glocalfileinfo.c: Avoid compiler warnings when selinux is
218 disabled. Patch by Pascal Terjan
220 2008-10-14 Matthias Clasen <mclasen@redhat.com>
222 Bug 556335 – make check fails in abicheck.sh
224 * gio.symbols: Add g_file_attribute_info_list_get_type.
225 Pointed out by Pascal Terjan.
227 2008-10-13 Alexander Larsson <alexl@redhat.com>
230 When adding an application as handling a mime type (but
231 not as the default), copy the full list of desktop ids handling
232 that type in before adding the new one on the end of the list.
233 This means we're not accidentally changing the default by overriding
234 the info from the later directories in the search path.
236 Also, fixes small leak of removed_entries.
238 2008-10-12 David Zeuthen <davidz@redhat.com>
241 * gunionvolumemonitor.c:
243 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
245 2008-10-10 Alexander Larsson <alexl@redhat.com>
247 * gfileattribute.c (escape_byte_string):
248 Upper half of byte is >> 4, not >> 8.
249 Found by Kjartan Maraas via sparse
251 2008-10-10 Matthias Clasen <mclasen@redhat.com>
253 Bug 555711 – Wrong fallback order of mimetype icons
255 * gcontenttype.c: Don't prefer generic icons over
256 default mimetype icons.
258 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
259 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
261 Patch by Krysztof Kosiński
263 2008-10-10 Matthias Clasen <mclasen@redhat.com>
265 Bug 555121 – Improved build-time handling of gio module-dir
267 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
268 * Makefile.am: Create the module dir.
270 2008-10-10 Matthias Clasen <mclasen@redhat.com>
272 * gio/glocalfileinfo.c:
273 * gio/tests/live-g-file.c:
274 * gio/gsimpleasyncresult.c: Fix gcc warnings.
276 2008-10-09 Alexander Larsson <alexl@redhat.com>
278 * gunixinputstream.c (g_unix_input_stream_read):
279 Actually return -1 in case of cancelled, not old res value.
281 2008-10-06 Colin Walters <walters@verbum.org>
283 Bug 554745 - GFileAttributeInfoList should be boxed
285 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
286 for convenience of bindings.
287 * gio/gfileattribute.h: Prototype it.
289 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
291 Bug 554970 – segfault when update-desktop-database is not available
294 * gdesktopappinfo.c (run_update_command): Have the error set before
297 2008-10-01 David Zeuthen <davidz@redhat.com>
299 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
300 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
301 instead of the gio URI (such as sftp://foo/file.avi) when using
302 g_app_info_launch() and friends. With a sufficiently recent gvfs,
303 apps using gio+gvfs will map the FUSE file:// URI back to the gio
304 URI (and thus bypass the fuse daemon) thanks the patch from bug
305 #530654. Since Nautilus is an user of g_app_info_launch() it
306 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
307 when launced via the file manager. Win. Fixes bug #528670.
309 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
310 mapping to the description of GAppInfo.
312 2008-09-30 Tor Lillqvist <tml@novell.com>
314 * tests/Makefile.am: Build desktop-app-info only on Unix.
316 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
317 g_critical(). Pass a large enough result buffer to
318 GetVolumePathNameW(). Just use MAX_PATH.
320 2008-09-29 David Zeuthen <davidz@redhat.com>
322 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
324 2008-09-26 Dan Winship <danw@gnome.org>
326 * tests/data-input-stream.c:
327 * tests/data-output-stream.c:
328 * tests/live-g-file.c:
329 * tests/memory-input-stream.c:
330 * tests/memory-output-stream.c: Use g_assert_error() and
333 2008-09-26 Matthias Clasen <mclasen@redhat.com>
335 Bug 545350 – GAppInfo deletion
336 Bug 545351 – Reset associations for content type
339 * gappinfo.[hc]: New functions g_app_info_can_delete,
340 g_app_info_delete and g_app_info_reset_type_associations.
343 * gwin32appinfo.c: Implementations of these.
346 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
348 2008-09-26 Dan Winship <danw@gnome.org>
350 Bug 505361 – gunixinputstream.c assumes poll() available
351 Bug 509446 – portable blocking gio cancellation
353 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
354 GPollFD for a cancellable (which is slightly more complicated on
357 * gunixinputstream.c (g_unix_input_stream_read):
358 * gunixoutputstream.c (g_unix_output_stream_write): Use
359 g_cancellable_make_pollfd() and g_poll() rather than using poll()
362 * tests/unix-streams.c: test of GUnixInputStream,
363 GUnixOutputStream, and GCancellable.
365 2008-09-26 Dan Winship <danw@gnome.org>
367 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
368 cast to stop a gcc warning
370 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
373 2008-09-25 Dan Winship <danw@gnome.org>
375 Bug 553426 - cancellable clarifications
377 * gcancellable.c (g_cancellable_class_init): Add a note to the
378 "cancelled" signal docs warning about thread-safety issues
379 (g_cancellable_cancel): Note that cancelling an asynchronous
380 operation takes effect asynchronously, not immediately.
382 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
384 * gioenums.h: Add new GFileCopyFlag, to leave target file with
385 default perms, instead of setting the source file perms, in a copy
388 * gfile.c (g_file_copy_attributes)
389 (build_attribute_list_for_copy)
390 (should_copy): Not copy "unix::mode" attribute if we have received
391 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
393 2008-09-20 Matthias Clasen <mclasen@redhat.com>
395 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
397 2008-09-17 Matthias Clasen <mclasen@redhat.com>
399 * === Released 2.18.1 ===
401 2008-09-16 Michael Natterer <mitch@imendio.com>
403 * gcontenttype.c (g_content_type_guess): can't assign the return
404 value of g_strdupv() to an array. Fill the array manually with
405 const strings instead (it is never freed anyway). Fixes the
406 build. Also fixed indentation.
408 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
410 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
411 Fix trivial typo to unbreak the build (there was a colon
412 instead of a semicolon at the end of a statement).
414 2008-09-15 Matthias Clasen <mclasen@redhat.com>
416 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
419 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
422 2008-09-15 Matthias Clasen <mclasen@redhat.com>
424 Bug 551681 – g_content_type_guess() too naive with filenames
426 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
427 at the end of the filename, and declare it a directory.
428 Patch by Bastien Nocera
430 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
432 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
435 * gdesktopappinfo.c: add a note in the docs clarifying what the
436 "filename" parameter really is.
438 2008-09-12 Tor Lillqvist <tml@novell.com>
440 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
441 FormatMessage() etc here. Call g_win32_error_message() instead
442 which already does all that. Besides, the code was broken as it
443 called the default "A" version of FormatMessage() but still
444 thought it produced a wide string.
446 2008-09-12 Michael Natterer <mitch@imendio.com>
448 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
449 in the documentation.
451 2008-09-08 Christian Neumair <cneumair@gnome.org>
453 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
454 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
455 Use non-blocking pipe for mount helper I/O. Fixes #550647.
457 2008-09-06 Matthias Clasen <mclasen@redhat.com>
459 Bug 551149 – xdgmime mem leak
461 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
462 a memory leak. Patch by Christian Persch
464 2008-09-04 Tor Lillqvist <tml@novell.com>
466 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
469 2008-09-02 Matthias Clasen <mclasen@redhat.com>
471 * === Released 2.18.0 ===
473 2008-09-02 Michael Natterer <mitch@imendio.com>
475 * *.h: big header formatting cleanup: indentation, vtable
476 formatting, consistent spacing in (* vfunc), trailing whitespace
477 removal. Formatting should be pretty consistent in all GIO headers
480 2008-09-02 Matthias Clasen <mclasen@redhat.com>
482 * gmount.h: Document guess_content_type sync vfunc.
484 2008-09-02 Michael Natterer <mitch@imendio.com>
486 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
487 fix parent_class member to be GFilterOutputStreamClass (not
488 GOutputStreamClass). Drop three pointers of padding, which is
489 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
490 so the class struct size stays the same.
492 2008-09-02 Matthias Clasen <mclasen@redhat.com>
494 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
496 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
497 nonexisting return values. Pointed out by Cosimo Cecchi.
499 2008-08-23 Tor Lillqvist <tml@novell.com>
501 Bug 548988 - g_file_replace fails on Windows when the target file
504 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
505 Windows, close the file before potentially renaming it (in case we
506 have been writing to a file with a temporary name).
508 (g_local_file_output_stream_close, handle_overwrite_open): Use
509 GLocalFileStat instead of plain struct stat, for passing to
510 _g_local_file_info_create_etag(). Thus also use _fstati64()
511 instead of plain fstat() on Windows.
513 2008-08-18 Matthias Clasen <mclasen@redhat.com>
515 * === Released 2.17.7 ===
517 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
519 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
522 2008-08-13 Tor Lillqvist <tml@novell.com>
524 * win32/gwinhttpvfs.c
525 * win32/gwinhttpvfs.h
526 * win32/gwinhttpfile.c
527 * win32/gwinhttpfileinputstream.c
528 * win32/gwinhttpfileoutputstream.c: Refactor some common code
529 snippets into helper functions. Check HTTP response status
530 codes. Implement g_winhttp_file_query_info(), looking at
531 Content-Length, Content-Type and Last-Modified.
533 * win32/winhttp.h: Add some symbolic constants that are not
534 publicly documented. Just a handful, so it should be OK to use
535 information from the Windows SDK's headers.
537 2008-08-13 Tor Lillqvist <tml@novell.com>
539 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
542 * win32/gwin32directorymonitor.c
543 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
545 2008-08-13 Matthias Clasen <mclasen@redhat.com>
548 * goutputstream.c: Add intro docs.
550 2008-08-13 Tor Lillqvist <tml@novell.com>
552 * win32/gwinhttpfileoutputstream.c
553 (g_winhttp_file_output_stream_write): Don't write the
554 Content-Length header ourselves, WinHttpSendRequest() takes care
555 of that when the dwTotalLength parameter is non-zero. Increment
556 offset by the number of actual bytes sent, although I wonder if
557 such a scenario is possible where less than requested would be
558 sent and accepted by the server without errors.
560 2008-08-13 Tor Lillqvist <tml@novell.com>
562 * win32/gwinhttpvfs.c
563 * win32/gwinhttpvfs.h
564 * win32/gwinhttpfile.c
565 * win32/gwinhttpfile.h
566 * win32/gwinhttpfileinputstream.c
567 * win32/gwinhttpfileinputstream.h
568 * win32/gwinhttpfileoutputstream.c
569 * win32/gwinhttpfileoutputstream.h: New files implementing
570 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
571 Windows. The implementation uses the WinHttp API. Both reading and
572 writing are supported, i.e. GET and PUT requests. When writing,
573 each write call is done using a separate PUT request with a
574 Content-Range header. Requests for file URIs and plain pathnames
575 are forwarded to GLocalVfs.
577 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
578 WINE. Used as there is no <winhttp.h> bundled with mingw, and
579 requiring people to download the Windows SDK just for this one
580 header is not reasonable.
582 * win32/Makefile.am: Add above files.
584 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
585 the plumbing for the above.
587 2008-08-11 Sven Neumann <sven@gimp.org>
589 * gfilenamecompleter.c
590 * glocaldirectorymonitor.c
592 * gunionvolumemonitor.c
596 * gunixvolumemonitor.c
599 * gwin32volumemonitor.c: use canonical signal names.
601 2008-08-11 Tor Lillqvist <tml@novell.com>
603 * Makefile.am: Put a list of the platform-dependent .la files in
604 the subdirectories in the platform_deps Make variable, and make
605 libgio-2.0.la depend on that, so that it gets relinked if one of
606 the dependent libraries has changed.
608 2008-08-11 Tor Lillqvist <tml@novell.com>
610 * Makefile.am (platform_libadd): Remove -lwininet which had been
611 added by mistake. We will probably eventually be using WinHTTP,
612 not the older WinInet anyway. (Actually I am working on it.)
614 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
616 Bug 547080 – g_file_copy leaks expected errors
618 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
619 before trying the next fallback routine.
621 2008-08-09 Loïc Minier <lool@dooz.org>
623 Bug 535124 – umask 002 not being applied for new directories, new
624 files get the correct umask
626 * gfile.c (g_file_make_directory)
627 (g_file_make_directory_with_parents): Document ownership and
628 permissions of newly created directories as being the default
631 2008-08-08 Loïc Minier <lool@dooz.org>
633 Bug 535124 – umask 002 not being applied for new directories, new
634 files get the correct umask
636 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
639 2008-08-08 Tor Lillqvist <tml@novell.com>
641 * gwin32mount.c: Remove unused code. Whitespace cleanup.
643 * gwin32volumemonitor.c (get_connected_drives): Put questionable
644 code that didn't actually do anything inside #if 0, and add a
645 comment wondering what the code was supposed to do. This also gets
646 rid of a leftover debugging printout.
648 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
650 * gfileicon.c (g_file_icon_get_property)
651 (g_file_icon_set_property): New functions.
652 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
654 (g_file_icon_new): Use the property (bug #546132).
656 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
658 * gthemedicon.c (g_themed_icon_get_property): Also handle
659 `PROP_USE_DEFAULT_FALLBACKS'.
660 (g_themed_icon_class_init): Make
661 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
663 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
665 Bug 546371 – Improve docs re g_file_monitor
667 * gfilemonitor.c: Mention g_file_monitor() in the docs.
669 2008-08-04 Matthias Clasen <mclasen@redhat.com>
671 * === Released 2.17.6 ===
673 2008-08-04 Matthias Clasen <mclasen@redhat.com>
675 * === Released 2.17.5 ===
677 2008-08-04 Matthias Clasen <mclasen@redhat.com>
679 Bug 546017 – Don't copy attributes when copying a symlink
681 * gfile.c (g_file_copy_attributes): Specify
682 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
683 g_file_set_attributes_from_info. Patch by Christian Kellner
685 2008-08-04 Matthias Clasen <mclasen@redhat.com>
687 * gemblemedicon.[hc]:
689 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
690 a bit more extensible. Work by Clemens Buss.
692 * gioenums.h: Add GEmblemOrigin.
695 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
697 Bug 546079 – leak in xdgmime
699 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
701 2008-08-03 Tor Lillqvist <tml@novell.com>
703 * win32/gwin32directorymonitor.h
704 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
707 2008-08-03 Tor Lillqvist <tml@novell.com>
709 * win32/gwin32directorymonitor.c
710 (g_win32_directory_monitor_callback): Make prototype match
711 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
712 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
715 (g_win32_directory_monitor_constructor):
716 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
717 names in the GLib API on Windows, so convert to UTF-16 and open
720 2008-08-03 Tor Lillqvist <tml@novell.com>
722 Bug 541036 - Gnumeric crashes when trying to open Desktop or
723 user's folder under Windows
725 * win32/gwin32directorymonitor.c
726 (g_win32_directory_monitor_constructor): Ignore error from
727 CreateFile() when opening directory. Instead of asserting, just
728 store INVALID_HANDLE_VALUE then in
729 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
730 ReadDirectoryChangesW().
731 (g_win32_directory_monitor_cancel): Don't attempt to close
732 directory handle if it is INVALID_HANDLE_VALUE.
734 2008-08-01 Matthias Clasen <mclasen@redhat.com>
736 * gdesktopappinfo.c: Remove debug spew
738 2008-08-01 Hans Breuer <hans@breuer.org>
740 * makefile.msc : add gemblembedicon
742 2008-07-30 Matthias Clasen <mclasen@redhat.com>
744 Bug 545457 – gdmsetup crashed with SIGSEGV in
745 g_unix_mount_guess_should_display()
747 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
748 crash if no mount is found.
750 2008-07-28 Matthias Clasen <mclasen@redhat.com>
752 Bug 545203 – gfile.c: argument is different type.
754 * gfile.c (open_read_async_thread): Pass a GError **
755 to g_file_set_error_literal.
756 Reported by Kazuki Iwamoto
758 2008-07-28 Matthias Clasen <mclasen@redhat.com>
760 Bug 545157 – wrong/no list of "open with" applications for .cc and
763 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
764 Collect all ancestors, not just direct parents. Pointed
765 out by Bastien Nocera
767 2008-07-28 Matthias Clasen <mclasen@redhat.com>
769 * Makefile.am: Install gemblemedicon.h
771 2008-07-28 Matthias Clasen <mclasen@redhat.com>
773 * gemblemedicon.[hc]: Add a GIcon implementation that can
774 add an emblem to another icon.
781 * gfileicon.c: Small documentation additions.
783 2008-07-28 Tor Lillqvist <tml@novell.com>
785 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
788 2008-07-27 Tor Lillqvist <tml@novell.com>
790 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
792 2008-07-24 David Zeuthen <davidz@redhat.com>
796 Also export a g_mount_guess_content_type_sync() function.
798 2008-07-23 Matthias Clasen <mclasen@redhat.com>
800 529694 – SELinux context setting support
802 * gfileinfo.c: Support setting selinux attributes.
803 Patch by Tomas Bzatek
805 2008-07-22 Priit Laes <plaes@plaes.org>
807 Bug 544140 - fam-helper 64-bit issue?
809 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
811 2008-07-21 Matthias Clasen <mclasen@redhat.com>
813 * === Released 2.17.4 ===
815 2008-07-20 Matthias Clasen <mclasen@redhat.com>
817 * gvolumemonitor.[hc]:
822 * gmount.c: Documentation fixes
824 2008-07-19 Matthias Clasen <mclasen@redhat.com>
826 543504 – crash in Epiphany Web Browser: Opening local file
837 * gvolume.c: Register types thread-safely.
838 Patch by Christian Persch
840 2008-07-18 Matthias Clasen <mclasen@redhat.com>
842 * gcontenttype.c: Remove debug spew
844 2008-07-18 Matthias Clasen <mclasen@redhat.com>
846 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
849 * fen/fen-kernel.c: Remove a warning that was causing
850 crashes. Reported by Lin Ma.
852 2008-07-18 Matthias Clasen <mclasen@redhat.com>
854 Bug 543040 – async reading on dummy file will crash on
857 * gfile.c (open_read_async_thread): Cope with read_fn being
858 NULL. Reported by Lin Ma.
860 2008-07-18 Matthias Clasen <mclasen@redhat.com>
863 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
865 2008-07-16 Matthias Clasen <mclasen@redhat.com>
869 * giomodule.c: Rename a chapter id to avoid filename conflict.
871 2008-07-16 Matthias Clasen <mclasen@redhat.com>
873 Bug 540616 – mem leak in filechooser button
875 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
876 the mount entry. Reported by Chrisitan Persch
878 2008-07-16 Matthias Clasen <mclasen@redhat.com>
880 * gfile.c: Small documentation fixes.
882 2008-07-15 Matthias Clasen <mclasen@redhat.com>
884 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
886 2008-07-08 Matthias Clasen <mclasen@redhat.com>
891 * gmount.c: Documentation improvements.
893 2008-07-08 Matthias Clasen <mclasen@redhat.com>
896 * gmount.[hc]: Add g_mount_guess_content_type().
898 2008-07-06 David Zeuthen <davidz@redhat.com>
901 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
902 is needed for easily handling adoption of foreign volumes by
903 out-of-process volume monitors (#541793)
905 2008-07-06 David Zeuthen <davidz@redhat.com>
907 * gvolumemonitor.[ch]:
908 * gunionvolumemonitor.c: Export the eject-button signal on the
909 volume monitor class (#541794).
911 2008-07-06 Matthias Clasen <mclasen@redhat.com>
913 * gappinfo.c: More doc tweaks
915 2008-07-05 Matthias Clasen <mclasen@redhat.com>
917 * gappinfo.c: Clarify some docs
919 2008-07-03 Matthias Clasen <mclasen@redhat.com>
921 * gdesktopappinfo.c: Fix a stupid mistake.
923 2008-07-02 Matthias Clasen <mclasen@redhat.com>
925 * === Released 2.17.3 ===
927 2008-07-02 Matthias Clasen <mclasen@redhat.com>
929 * gfilemonitor.c: Fix the build.
931 2008-07-02 Matthias Clasen <mclasen@redhat.com>
933 Bug 536160 – Add g_file_monitor()
936 * gfile.[hc]: Add g_file_monitor which can return either
937 a file or a directory monitor. Proposed by Behdad Esfahbod
939 2008-07-02 Matthias Clasen <mclasen@redhat.com>
941 536733 – gio build failure on Irix
943 * glocalfile.c: Use a configure check for structfs.f_bavail.
945 2008-07-02 Matthias Clasen <mclasen@redhat.com>
947 Bug 534639 – add g_desktop_app_info_new_from_keyfile
950 * gdesktopappinfo.[hc]: Add a function to create a
951 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
953 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
955 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
957 2008-07-01 Matthias Clasen <mclasen@redhat.com>
959 * gunixmounts.c: Fix a doc typo.
961 2008-07-01 Cody Russell <bratsche@gnome.org>
963 * gio/gcontenttype.c:
964 * gio/gwin32appinfo.c:
965 * gio/gwin32volumemonitor.c:
966 * gio/gwin32mount.c: Fixed some include problems.
968 2008-07-01 Cody Russell <bratsche@gnome.org>
972 Moved all relevant typedefs into these files.
975 Updated wrt added files.
977 Split types into separate file for easier maintainership. (#538564)
979 2008-06-30 Matthias Clasen <mclasen@redhat.com>
981 Bug 540331 – g_file_append_to () documentation: can return NULL
983 * gfile.c (g_file_append_to): Clarify docs.
986 2008-06-30 Matthias Clasen <mclasen@redhat.com>
988 Bug 539090 – g_content_type_from_mime_type() should unalias
990 * gcontentype.c (g_content_type_from_mime_type): Unalias.
991 Patch by Markus Bergman
993 2008-06-30 Matthias Clasen <mclasen@redhat.com>
995 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
998 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
999 on ppc and alpha. Reported by Mart Raudsepp
1001 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1003 * tests/Makefile.am:
1004 * tests/memory-output-stream.c: Add some tests for
1005 GMemoryOutputStream.
1007 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1009 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1012 * gmemoryoutputstream.c (array_resize): Handle truncation to
1013 zero correctly. Reported by Akira Tagoh
1015 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1017 * gmemoryoutputstream.c: Trivial doc fixes
1019 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1021 Bug 540802 – g_list_prepend doesn't concat lists
1023 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1024 one list to another. Pointed out by Jan Arne Petersen
1026 2008-06-28 Michael Natterer <mitch@imendio.com>
1028 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1030 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1032 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1033 to avoid problems with partial icon themes.
1035 2008-06-17 Hans Breuer <hans@breuer.org>
1037 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1038 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1039 access again on win32, see bug #538127
1040 * giomodule.c : ensure GWin32VolumeMonitor is registered
1041 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1042 * Makefile.am makefile.msc : updated
1044 2008-06-16 Hans Breuer <hans@breuer.org>
1046 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1047 and initialization in one step avoids c99ism
1049 2008-06-16 Christian Persch <chpe@gnome.org>
1052 * gio/gbufferedinputstream.c
1053 * gio/gcancellable.c
1054 * gio/gdatainputstream.c
1055 * gio/gdesktopappinfo.c
1057 * gio/gfileenumerator.c
1058 * gio/gfileinputstream.c
1059 * gio/gfileoutputstream.c
1060 * gio/ginputstream.c
1061 * gio/glocaldirectorymonitor.c
1063 * gio/glocalfileenumerator.c
1064 * gio/glocalfileinfo.c
1065 * gio/glocalfilemonitor.c
1066 * gio/glocalfileoutputstream.c
1067 * gio/gmemoryinputstream.c
1068 * gio/gmemoryoutputstream.c
1069 * gio/goutputstream.c
1070 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1073 2008-06-16 Tor Lillqvist <tml@novell.com>
1075 Bug 538362 - Get Win32 icons back in the file chooser
1077 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1078 corresponding to a file extension in the Registry. Patch by Hans
1080 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1082 2008-06-16 Tor Lillqvist <tml@novell.com>
1084 Patches by Hans Breuer:
1086 * glocalfile.c (is_xp_or_later): Handle compiling against older
1087 SDK headers with missing VerifyVersionInfo(). Conditioned on
1088 _MSC_VER, but should probably use some better test.
1089 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1090 uninitialised statfs_result variable on Win32.
1092 2008-06-16 Michael Natterer <mitch@imendio.com>
1094 * *.c: chain up unconditionally in finalize() and dispose(). Also
1095 don't dereference these function pointers when calling them since
1096 that has no meaning at all.
1098 2008-06-16 Ross Burton <ross@burtonini.com>
1100 * gfileenumerator.c:
1101 Remove check for dispose implementation as it annoys Emmanuele.
1103 2008-06-16 Ross Burton <ross@burtonini.com>
1105 Bug 536252 – GFileEnumerator should allow access to the containing
1108 * gfileenumerator.c:
1109 * gfileenumerator.h:
1111 Add g_file_enumerator_get_container() and a container writeable
1112 construct-only property. Also shuffle around typedefs to make it
1115 * glocalfileenumerator.c:
1116 * glocalfileenumerator.h:
1118 Instead of a string filename take a GFile in the constructor and
1119 use it to set the container property.
1122 Update with new API.
1124 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1126 * gfile.c: Make includes more uniform
1128 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1130 * tests/live-g-file.c (sample_struct):
1131 Use less fancy unicode filenames, so the test doesn't fail
1132 on Mac OS X (#531476).
1134 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1136 * === Released 2.17.2 ===
1138 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1140 * === Released 2.17.1 ===
1142 2008-06-11 A. Walton <awalton@gnome.org>
1144 * tests/g-file.c (test_g_file_new_null):
1145 Fix broken test case.
1147 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1149 * pltcheck.sh: We use g_clear_error now.
1151 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1153 * glocalfile.c (g_local_file_enumerate_children): Revert
1154 an unintended change.
1156 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1158 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1160 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1162 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1165 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1166 as icon for the desktop directory, also make user-home and
1167 user-desktop the preferred icons.
1169 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1172 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1173 to add a name to the front of the list.
1175 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1177 Bug 537392 – Additional colon in xattr name
1179 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1180 too. Reported by Alessandro Morandi
1182 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1184 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1187 * glocalfile.c (get_fs_type): Add afs and autofs.
1188 Patch by Danny Baumann.
1190 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1192 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1194 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1195 is no parent. (Owen Taylor, patch by Christian Neumair)
1197 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1199 * gfile.c (g_file_replace_contents): do not leak the output stream.
1201 2008-06-10 Michael Natterer <mitch@imendio.com>
1203 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1204 uninitialized memory as array index.
1206 2008-06-10 Tor Lillqvist <tml@novell.com>
1208 * gcontenttype.c (g_content_type_can_be_executable)
1209 (g_content_type_get_icon) [Win32]: Add TODO comments.
1211 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1213 * xdgmime/Makefile.am: Fix the build
1215 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1217 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1218 in the shared mime database, if available.
1220 * xdgmime/*: Sync with upstream. This brings support for
1221 glob weights, generic icons, and changes the cache format to
1224 2008-05-28 Michael Natterer <mitch@imendio.com>
1226 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1227 the global CPPFLAGS now.
1229 * tests/data-input-stream.c
1230 * tests/data-output-stream.c
1231 * tests/g-file-info.c
1233 * tests/live-g-file.c
1234 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1236 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1238 * === Released 2.17.0 ===
1240 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1241 doesn't complain about leftover files.
1243 2008-05-27 simon.zheng <simon.zheng@sun.com>
1245 * glocalfile.c: (g_local_file_query_filesystem_info):
1246 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1248 2008-05-26 Michael Natterer <mitch@imendio.com>
1250 * gmemoryoutputstream.h: declare
1251 g_memory_output_stream_get_data_size().
1253 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1255 * tests/*: Make tests work
1257 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1259 * gio.symbols: Add g_memory_output_stream_get_data_size.
1261 2008-05-25 Ross Burton <ross@burtonini.com>
1264 Fix typo in error message (#534764).
1266 2008-05-25 Ross Burton <ross@burtonini.com>
1269 Fix circular dependency loop for gioenumtypes.h (#534759).
1271 2008-05-19 Hans Breuer <hans@breuer.org>
1273 * Makefile.am : EXTRA_DIST += makefile.msc
1275 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1278 * gcontenttype.c: (g_content_type_from_mime_type):
1279 New function to create a content type from a mime type. (#527175,
1282 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1284 Bug 532965 – Should not return filesystem::free for certain file systems
1286 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1287 free space for ncpfs.
1289 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1291 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1293 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1294 st_dev might be zero.
1296 2008-05-16 Tor Lillqvist <tml@novell.com>
1298 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1299 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1301 2008-05-13 Bastien Nocera <hadess@hadess.net>
1303 * gfile.c (has_valid_scheme): A URI scheme must start with a
1304 letter, even if later more characters are allowed (#532852)
1306 2008-05-05 Michael Natterer <mitch@imendio.com>
1308 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1309 code from being checked in that breaks the build of applications
1310 which use G_DISABLE_SINGLE_INCLUDES.
1312 * makegioalias.pl: make the alias file include "glib.h" instead of
1315 * gio.symbols: whitespace change to force regeneration of the
1316 alias file after above script change.
1318 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1320 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1322 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1324 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1326 2008-04-28 David Zeuthen <davidz@redhat.com>
1328 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1329 displaying mounts in a subdirectory not accessible to the
1332 2008-04-22 Michael Natterer <mitch@imendio.com>
1334 * Makefile.am: fix library versioning (it was 0.0.0).
1336 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1338 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1339 Default disable all loggings.
1340 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1341 (port_fetch_event_cb): Fixed two macro nits.
1343 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1345 * xdgmime/xdgmime.c: Rework the timestamp checking code
1346 to protect against duplicate directories in XDG_DATA_DIRS.
1347 Fixes fd.o bug 12513, reported by Joe Shaw.
1349 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1351 Partically revert the last commit after realizing that
1352 xdg_mime_media_type_equal doesn't have to init at all.
1354 * xdgmime/xdgmime.h:
1355 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1357 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1359 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1361 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1362 reported by Joe Shaw and Federico Mena Quintero.
1364 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1365 (xdg_mime_media_type_equal): Turn into a wrapper around the
1368 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1369 functions throughout.
1371 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1373 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1374 tolerate an empty TryExec= line without failing; nautilus used
1375 to create launchers with these in previous versions. Fixes #528433
1377 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1379 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1380 after name. Fixes #527132.
1382 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1384 * gfile.c: (g_file_replace):
1387 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1389 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1391 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1392 by Christian Kellner.
1394 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1396 * gunixmounts.c: (g_unix_mount_guess_should_display):
1397 Don't list the user directory as a mount, fix potential issue
1398 when other users have a similar naming and don't special case the
1399 gvfs mounts there since that's not required (#525866)
1401 2008-03-31 Alexander Larsson <alexl@redhat.com>
1403 * glocalfile.c (get_parent):
1406 2008-03-31 A. Walton <awalton@svn.gnome.org>
1408 * gfile.c (g_file_query_file_type):
1409 Always return a GFileType enum value (#520715).
1411 2008-03-31 Alexander Larsson <alexl@redhat.com>
1413 * glocalfileenumerator.c:
1414 Read readdir() info in chunks (of 1000) and sort
1415 the chunks by inode before stat:ing.
1416 This is a 20% performance increase in testing
1417 gvfs-ls on /usr/bin with cold cache.
1419 2008-03-31 Alexander Larsson <alexl@redhat.com>
1421 * gmemoryoutputstream.c:
1422 Clarify docs for g_memory_output_stream_get_size.
1423 Add g_memory_output_stream_get_data_size.
1425 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1429 * gfile.h: Add g_file_query_file_type convenience function
1430 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1432 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1434 * gfileenumerator.c:
1435 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1437 2008-03-28 A. Walton <awalton@svn.gnome.org>
1439 * giomodule.c (_g_io_modules_ensure_loaded):
1440 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1443 2008-03-28 Alexander Larsson <alexl@redhat.com>
1446 (copy_stream_with_progress):
1449 2008-03-28 Alexander Larsson <alexl@redhat.com>
1452 (copy_stream_with_progress):
1453 (file_copy_fallback):
1454 Fallback to g_file_query_info for source size
1455 if g_file_input_stream_query_info fails. (#524579)
1457 2008-03-28 Alexander Larsson <alexl@redhat.com>
1459 * glocalfile.c (g_local_file_move):
1460 Reuse old string instead of adding new one.
1462 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1464 * fen/*.[hc]: still copyright issue. I hate copyright.
1466 2008-03-27 Alexander Larsson <alexl@redhat.com>
1468 * glocalfile.c (g_local_file_move):
1469 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1470 file over directory. This is according to the docs and what the move via
1471 copy+remove fallback does.
1473 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1475 * fen/*.[hc]: Updated copyright.
1477 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1479 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1481 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1483 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1484 not emit attribute changed events when optimizing changed events.
1485 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1488 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1490 * gmountoperation.[hc]: Small documentation additions
1492 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1494 * gunixmounts.c: (guess_mount_type):
1495 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1497 2008-03-19 Alexander Larsson <alexl@redhat.com>
1500 (copy_stream_with_progress):
1501 Bump block side for copy to 64k to minimize
1502 overhead for low latency links. (#523015)
1504 2008-03-16 Tor Lillqvist <tml@novell.com>
1506 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1507 depend on gio.def on Windows.
1509 2008-03-12 David Zeuthen <davidz@redhat.com>
1513 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1515 2008-03-14 Alexander Larsson <alexl@redhat.com>
1519 Avoid redudant tests (#521851)
1520 Patch from Josselin Mouette
1522 2008-03-14 Alexander Larsson <alexl@redhat.com>
1525 (g_file_monitor_is_cancelled):
1526 Fix C89 issue (#521672)
1527 Patch from Jens Granseuer
1529 2008-03-14 Alexander Larsson <alexl@redhat.com>
1531 * fam/fam-helper.[ch]:
1533 Shut down fam (including removing fam GSource) when
1534 module is unloaded (#521513)
1535 Patch from Joe Marcus Clarke
1537 2008-03-14 Alexander Larsson <alexl@redhat.com>
1540 (_g_io_modules_ensure_loaded):
1543 2008-03-14 Alexander Larsson <alexl@redhat.com>
1546 (g_local_file_query_filesystem_info):
1547 Use right define name for f_fstypename member check
1549 2008-03-14 Alexander Larsson <alexl@redhat.com>
1552 * fen/Makefile.am: Added.
1553 * fen/fen-data.[ch]: Added.
1554 * fen/fen-dump.[ch]: Added.
1555 * fen/fen-helper.[ch]: Added.
1556 * fen/fen-kernel.[ch]: Added.
1557 * fen/fen-missing.[ch]: Added.
1558 * fen/fen-node.[ch]: Added.
1559 * fen/fen-sub.[ch]: Added.
1560 * fen/gfendirectorymonitor.[ch]: Added.
1561 * fen/gfenfilemonitor.[ch]: Added.
1563 Added Solaris FEN file notification backend.
1564 Patch from Lin Ma <Lin.Ma@Sun.COM>
1566 2008-03-13 Tor Lillqvist <tml@novell.com>
1568 * Makefile.am: Actually use the gio.def file when linking the
1569 library on Windows. Produce .lib library for Microsoft's toolchain
1570 when possible. Install the .lib and .def file like for the other
1573 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1575 * tests/live-g-file.c:
1576 Include live-g-file in standard set of tests, making a temporary
1577 directory in source structure.
1579 Clean target directory before the tests (write mode only)
1581 2008-03-12 Tor Lillqvist <tml@novell.com>
1583 Bug 517419 - gio win32 directory monitor
1584 Implementation by Vlad Grecescu.
1587 * win32/gwin32directorymonitor.h
1588 * win32/gwin32directorymonitor.c: New files.
1590 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1592 * Makefile.am: Add the win32 subdirectory.
1594 2008-03-12 Tor Lillqvist <tml@novell.com>
1596 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1597 normal struct stat on Unix but struct _stati64 on Windows to have
1598 access to 64-bit file size information. Use that instead of struct
1599 stat in the functions declared here in this private header.
1601 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1602 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1603 warnings about unused functions and variables. Don't set
1604 meaningless attributes like inode numbers on Windows.
1606 2008-03-12 Benjamin Otte <otte@gnome.org>
1609 trim whitespace so gtk-doc groks the function name
1611 2008-03-12 Tor Lillqvist <tml@novell.com>
1613 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1614 returning FALSE, on Win32.
1616 2008-03-11 Alexander Larsson <alexl@redhat.com>
1619 * glocalfileinfo.[ch]:
1620 Correctly implement can_trash by actually
1621 looking for a trash dir, not just assuming
1624 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1626 * === Released 2.16.1 ===
1628 2008-03-11 Alexander Larsson <alexl@redhat.com>
1631 Fix crashes in new constructor and properties code
1633 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1635 * gfile.c: Minor spelling correction in documentation:
1636 existance -> existence.
1638 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1640 * === Released 2.16.0 ===
1642 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1644 * gio.symbols: Remove g_file_contains_file here, too.
1646 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1648 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1649 Samuel Cormier-Iijima)
1651 2008-03-08 Tor Lillqvist <tml@novell.com>
1653 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1656 2008-03-07 Alexander Larsson <alexl@redhat.com>
1659 (g_local_file_query_filesystem_info):
1660 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1661 Patch from Jasper Lievisse Adriaanse
1663 2008-03-06 Tor Lillqvist <tml@novell.com>
1665 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1666 comments for the *_USEC attributes.
1668 2008-03-06 Alexander Larsson <alexl@redhat.com>
1670 * gfile.c (g_file_query_exists):
1671 Add g_return_val_if_fail check (#520700)
1673 2008-03-06 Alexander Larsson <alexl@redhat.com>
1675 * gdesktopappinfo.c:
1678 * gunionvolumemonitor.c:
1681 * tests/live-g-file.c:
1682 * xdgmime/xdgmimecache.c:
1683 Fix sparse warnings (#519489)
1685 2008-03-05 Alexander Larsson <alexl@redhat.com>
1688 Make cancellation threadsafe (i.e.
1689 guarantee its only done once, and always
1692 * glocaldirectorymonitor.c:
1693 Make sure we the monitor lives while the
1694 mounts_changed callback is being called (#520484)
1696 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1698 * gbufferedinputstream.c: Fix typo in parameter
1701 2008-03-04 Alexander Larsson <alexl@redhat.com>
1704 Remove deprecated symbols we kept for one release.
1706 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1709 * goutputstream.c: Tiny documentation corrections.
1711 2008-03-03 Alexander Larsson <alexl@redhat.com>
1713 * gunionvolumemonitor.c:
1715 Fix the adopt_orphan_mount vfunc to take a
1716 volume_monitor reference in an ABI compat way.
1717 This change is not API compat, but the added
1718 arg is not used in the only user of this vfunc, so
1719 all we get is a harmless warning in gvfs (#520169)
1721 2008-03-01 Benjamin Otte <otte@gnome.org>
1724 clarify docs for g_file_delete().
1726 2008-02-29 Alexander Larsson <alexl@redhat.com>
1730 Make sure empty files get text/plain type (#518720)
1732 2008-02-27 Alexander Larsson <alexl@redhat.com>
1738 (g_unix_volume_mount):
1739 Add missing GMountMountFlags argument
1741 2008-02-26 Alexander Larsson <alexl@redhat.com>
1744 (g_local_file_delete):
1745 Handle filesystems (like ntfs-3g) that return EEXIST instead
1746 of ENOTEMPTY (#518816)
1748 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1750 * === Released 2.15.6 ===
1752 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1754 * gfile.c (g_file_find_enclosing_mount):
1755 * ginputstream.c (g_input_stream_set_pending):
1756 * glocalfile.c (g_local_file_find_enclosing_mount):
1757 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1758 * goutputstream.c (g_output_stream_set_pending):
1760 Fixup translator comments (#518578).
1762 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1764 * gfile.c (g_file_find_enclosing_mount):
1766 * glocalfile.c (g_local_file_find_enclosing_mount):
1769 Fix a few typos in translator comments and documentation.
1771 2008-02-25 Alexander Larsson <alexl@redhat.com>
1778 Add translator comments (#518578)
1780 2008-02-25 Alexander Larsson <alexl@redhat.com>
1783 Reintroduce g_file_contains_file, keep around for one
1784 unstable release cycle to avoid crashing to many apps.
1785 Make sure to delete after release.
1787 2008-02-25 Alexander Larsson <alexl@redhat.com>
1790 Remove deprecated g_file_contains_file.
1792 2008-02-25 Alexander Larsson <alexl@redhat.com>
1795 Emit actual change signals in an idle handler.
1796 This avoids reentrance and locking problems in
1797 the file notification backends.
1799 2008-02-25 Alexander Larsson <alexl@redhat.com>
1802 (g_unix_mount_guess_should_display):
1803 Remove type guessing, instead just display
1804 mounts in /media and in ~/.
1806 2008-02-25 Alexander Larsson <alexl@redhat.com>
1809 Make new strings reuse old ones.
1811 2008-02-25 Alexander Larsson <alexl@redhat.com>
1814 Implement trashing and filesystem::readonly for win32 (#517235)
1815 Patch from Yevgen Muntyan
1817 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1819 * gfileinfo.h: Documentation fixes.
1821 2008-02-22 Alexander Larsson <alexl@redhat.com>
1823 * gcontenttype.c (g_content_type_get_icon):
1824 Look at old-style gnome mime icon names too, as many
1825 have not moved to the new style.
1827 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1829 * *.c: Correct the @include in for section docs.
1831 2008-02-21 David Zeuthen <davidz@redhat.com>
1833 * glocalfileinfo.c: (_g_local_file_info_get):
1835 (g_content_type_get_icon): Implement this function by
1836 moving bits from glocalfileinfo.c
1837 (g_content_type_get_description): Unalias before getting
1838 description (#517687)
1840 * gfile.c: (g_file_class_init),
1841 (g_file_query_filesystem_info_async),
1842 (g_file_query_filesystem_info_finish),
1843 (query_filesystem_info_data_free),
1844 (query_filesystem_info_async_thread),
1845 (g_file_real_query_filesystem_info_async),
1846 (g_file_real_query_filesystem_info_finish):
1847 * gfile.h: Implement async version of
1848 g_file_query_filesystem_info()
1850 * gfileinfo.h: Add new attributes for filesystem::use-preview
1852 * gio.symbols: Update
1854 * gthemedicon.c: (g_themed_icon_append_name):
1855 * gthemedicon.h: Add new new convenience function.
1857 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1858 (get_mounts), (get_volumes), (get_connected_drives),
1859 (get_volume_for_uuid), (get_mount_for_uuid),
1860 (g_union_volume_monitor_init), (populate_union_monitor),
1861 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1862 (g_volume_monitor_adopt_orphan_mount):
1864 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1865 monitor implementations to call into the main volume monitor. Also
1866 separate object initialization and volume monitor initialization
1867 such that non-native volume monitors can properly adopt their
1870 2008-02-21 Alexander Larsson <alexl@redhat.com>
1875 2008-02-21 Alexander Larsson <alexl@redhat.com>
1878 Add more documentation about how GFiles work (from #517086)
1880 2008-02-21 Alexander Larsson <alexl@redhat.com>
1884 Add new g_file_has_prefix that does the same as g_file_contains_file.
1885 Deprecate g_file_contains_file and add a macro that converts
1886 it to g_file_has_prefix.
1887 The reason for this change is that the contains_file() name seems to
1888 imply that this does more work than what it does, but its really only
1889 a name match (from #517086)
1894 Update to match the above change.
1896 2008-02-20 Benjamin Otte <otte@gnome.org>
1898 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1899 (g_file_eject_mountable):
1900 even more cases of not returning in error path
1902 2008-02-20 Benjamin Otte <otte@gnome.org>
1904 * gfile.c: (g_file_mount_mountable):
1905 return from function in error path.
1907 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1910 Remove trailing coma in GMountMountFlags struct
1912 2008-02-18 Alexander Larsson <alexl@redhat.com>
1916 * glocalfileoutputstream.c:
1917 Use g_unlink/g_rename instead of unlink/rename;
1918 do not pass raw filenames to g_set_error. (#517239)
1919 Patch from Yevgen Muntyan.
1921 2008-02-18 Alexander Larsson <alexl@redhat.com>
1924 * glocalfileoutputstream.c:
1925 Open files with O_BINARY on windows. (#517140)
1927 2008-02-14 Alexander Larsson <alexl@redhat.com>
1929 * glocalfileoutputstream.c:
1930 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1932 2008-02-14 Alexander Larsson <alexl@redhat.com>
1935 Copy permissions with file on copy (#514084)
1936 This is what cp does and makes sure e.g. the
1937 exec permissions are kept.
1938 Its kinda weird in that it keeps the permission bits
1939 the same while the uid and gid are different. However
1940 the new uid is the user so its not a security issue,
1941 and I've heard no complaints about cp on this issue.
1943 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1945 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1947 2008-02-13 Alexander Larsson <alexl@redhat.com>
1949 * inotify/inotify-path.c:
1950 Define IN_ONLYDIR if not in header (#515346)
1952 2008-02-12 Alexander Larsson <alexl@redhat.com>
1954 * tests/live-g-file.c:
1957 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1959 * === Released 2.15.5 ===
1961 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1963 * gio.symbols: Add g_mount_mount_flags_get_type.
1965 2008-02-11 Alexander Larsson <alexl@redhat.com>
1968 (g_file_info_set_attribute_mask):
1969 (g_file_attribute_matcher_matches_id):
1970 Correctly handle NULL GAttributeMatcher meaning
1971 matches nothing. (Fixes #513492)
1973 2008-02-11 Alexander Larsson <alexl@redhat.com>
1978 Added GMountMountFlags enum and added a flags
1979 argument to all mount calls.
1981 This is an API/ABI change for future extensibility,
1982 as I think we will need at least an
1983 inhibit-autorun flag (the panel needs this).
1984 There are no flags defined yet though.
1986 2008-02-11 Alexander Larsson <alexl@redhat.com>
1989 Added new standard::description attribute.
1990 Requested by Vincent, and useful for both
1993 2008-02-11 Alexander Larsson <alexl@redhat.com>
1995 * gdesktopappinfo.c:
1998 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2000 * *.c: Documentation additions
2002 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2004 * gappinfo.h: Formatting cleanup
2005 * gappinfo.c: Fix up docs.
2007 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2009 * gunixmounts.c: Consistently use getmntent_r() and fall
2010 back to getmntent(). (#515492)
2012 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2014 * gbufferedinputstream.c:
2016 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2018 * tests/data-input-stream.c:
2019 * tests/data-output-stream.c: Portability fixes.
2021 2008-02-08 Alexander Larsson <alexl@redhat.com>
2026 Add g_volume_should_automount.
2029 2008-02-07 Tor Lillqvist <tml@novell.com>
2031 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2032 Win32, too Unix-specific.
2034 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2036 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2037 a local plt if the compiler doesn't support what we want. Bug #514702
2039 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2041 reviewed by: <delete if not using a buddy>
2044 * gunixinputstream.c:
2045 * gunixoutputstream.c:
2047 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2049 * tests/Makefile.am:
2050 * tests/live-g-file.c:
2051 * tests/live-g-file.txt:
2052 New GIO testing module working over real data
2054 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2056 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2057 Fallback to rename() if link() is not available
2058 (when no support on target filesystem)
2060 2008-02-06 Michael Natterer <mitch@imendio.com>
2062 * gfileinfo.c (g_file_info_get_icon): replace
2063 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2065 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2067 * gfile.c (g_file_create):
2068 Documentation update of error codes
2070 2008-02-06 Alexander Larsson <alexl@redhat.com>
2072 * gdesktopappinfo.c:
2073 Update to use both mimeapps.list and
2074 defaults.list as discussed on xdg list.
2076 2008-02-06 Benjamin Otte <otte@gnome.org>
2079 * gfilenamecompleter.c:
2080 Fix some typos in the documentation.
2082 2008-02-06 Alexander Larsson <alexl@redhat.com>
2084 * glocalfile.c (g_local_file_trash):
2085 Don't succeed with trash if newly created
2086 trash dir has the wrong owner. (#514696)
2088 2008-02-05 Alexander Larsson <alexl@redhat.com>
2090 * glocalfile.c (g_local_file_move):
2091 Don't spew warnings when destination is not
2094 2008-02-03 Hans Breuer <hans@breuer.org>
2096 * makefile.msc : update
2098 2008-02-01 Michael Natterer <mitch@imendio.com>
2100 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2101 return value of xdg_mime_list_mime_parents() to a variable of the
2104 2008-02-01 Alexander Larsson <alexl@redhat.com>
2106 * gappinfo.c (g_app_info_launch_uris):
2107 Actually call the launch_uris method, not
2110 2008-02-01 Alexander Larsson <alexl@redhat.com>
2112 * gdesktopappinfo.c (g_desktop_app_info_equal):
2113 Ensure appinfos with no id but same pointer value
2116 2008-02-01 Alexander Larsson <alexl@redhat.com>
2118 * gappinfo.c (g_app_info_launch_default_for_uri):
2121 2008-02-01 Alexander Larsson <alexl@redhat.com>
2125 Add g_app_info_launch_default_for_uri utility
2128 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2130 * gdesktopappinfo.c:
2131 Doc fix for g_app_info_get_default_for_uri_scheme ()
2134 2008-01-30 Alexander Larsson <alexl@redhat.com>
2137 Add doc comment about uris vs GFiles to
2140 * gdesktopappinfo.c:
2141 Ensure uris passed to g_app_info_launch_uris()
2142 are not roundtriped through GFile (as that
2143 may be slightly destructive for e.g. mailto: links)
2145 2008-01-30 Alexander Larsson <alexl@redhat.com>
2147 * tests/data-input-stream.c:
2148 * tests/data-output-stream.c:
2149 C89 fixes from Jens Granseuer (#512849)
2151 2008-01-30 Alexander Larsson <alexl@redhat.com>
2154 Fix gamin/fam difference build issue. (#509419)
2156 2008-01-29 Alexander Larsson <alexl@redhat.com>
2159 * gdesktopappinfo.c:
2160 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2162 2008-01-29 Alexander Larsson <alexl@redhat.com>
2164 * gdesktopappinfo.c:
2165 * gdesktopappinfo.h:
2166 giomodule-priv.h include moved to .c file.
2168 2008-01-29 Alexander Larsson <alexl@redhat.com>
2170 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2171 Remove unused prio/name fields.
2173 2008-01-29 Alexander Larsson <alexl@redhat.com>
2175 * gcontenttype.c (looks_like_text):
2176 Don't treat whitespace as control chars.
2178 2008-01-29 Alexander Larsson <alexl@redhat.com>
2180 * gdesktopappinfo.c:
2181 Lazily create the desktop files for appinfos created
2182 by g_app_info_create_from_commandline() when needed
2183 for mime associations. This allows run-time use
2184 of GAppInfo object without creating unnecessary
2187 2008-01-29 Alexander Larsson <alexl@redhat.com>
2190 Added new symbols to gio.symbols
2192 2008-01-29 Alexander Larsson <alexl@redhat.com>
2195 Add g_file_query_default_handler utility to easily look up
2196 the GAppInfo that handles a file.
2198 * gdesktopappinfo.[ch]:
2200 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2203 Remove unused function
2205 2008-01-29 Alexander Larsson <alexl@redhat.com>
2207 * gfileenumerator.c:
2208 Mention need to free returned value in
2209 g_file_enumerator_next_files_finish docs.
2210 Fix leak if g_file_enumerator_next_files_finish()
2213 2008-01-29 Alexander Larsson <alexl@redhat.com>
2216 (_g_unix_content_type_get_parents):
2217 Use list_parents, not get_parents from xdgmime, because
2218 the later doesn't use the cache.
2220 * xdgmime/xdgmimecache.c:
2221 (_xdg_mime_cache_list_mime_parents):
2222 Don't list the same type as parent multiple times.
2224 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2226 * === Released 2.15.4 ===
2228 2008-01-28 Alexander Larsson <alexl@redhat.com>
2231 Register local vfs with prio 0.
2234 Remove old name and prio class members
2236 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2238 * tests/g-file.c: Disable some tests that are failing in
2239 the absence of a http backend.
2241 2008-01-28 Alexander Larsson <alexl@redhat.com>
2245 Add registration hooks for extension points.
2246 Register the gio extension points.
2248 * fam/gfamdirectorymonitor.c:
2249 * fam/gfamfilemonitor.c:
2250 * glocaldirectorymonitor.[ch]:
2251 * glocalfilemonitor.[ch]:
2252 * gnativevolumemonitor.h:
2253 * gunionvolumemonitor.c:
2254 * gunixvolumemonitor.c:
2257 * inotify/ginotifydirectorymonitor.c:
2258 * inotify/ginotifyfilemonitor.c:
2259 Use the extension points registration instead
2260 of g_type_children().
2262 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2265 * gvolume.[hc]: Document new API.
2267 * gfile.c (g_file_copy_async): Fix docs
2269 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2271 * gbufferedinputstream.c:
2273 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2276 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2278 * glocalfile.c: Avoid trivial differences in translatable strings.
2280 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2282 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2283 build with gcc 3.4 (#509419)
2285 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2287 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2288 (#509994, Murray Cumming)
2290 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2292 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2293 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2294 this allows big jobs to be executed in chunks, instead of blocking
2295 the main loop for a long time.
2297 * gsimpleasyncresult.c:
2298 * giofile.c: Adapt callers.
2300 2008-01-25 Alexander Larsson <alexl@redhat.com>
2302 * gdesktopappinfo.c:
2303 Implement changes discussed on xdg list.
2304 Now we can add supported mimetypes by just using defaults.list
2305 We can also remove associations in defaults.list.
2307 2008-01-25 Alexander Larsson <alexl@redhat.com>
2309 * gdesktopappinfo.c:
2310 Don't make local copy of desktop file
2311 for mimetype changes if the file already
2312 supports the new mimetype.
2314 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2318 * gbufferedinputstream.c:
2319 * glocalfile.c: String improvements. (#511966,
2320 Theppitak Karoonboonyanan)
2322 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2324 * gioscheduler.h: Expand docs a bit.
2326 2008-01-24 Alexander Larsson <alexl@redhat.com>
2329 Add g_drive_get_identifier and
2330 g_drive_enumerate_identifiers
2333 Add g_volume_get_identifier and
2334 g_volume_enumerate_identifiers
2340 Implement identifiers for unix backend
2342 2008-01-24 Alexander Larsson <alexl@redhat.com>
2347 Add g_file_copy_async() (#511580)
2348 Based on patch from Carlos Garcia Campos
2350 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2352 * gioscheduler.c: Some documentation additions.
2354 2008-01-22 Alexander Larsson <alexl@redhat.com>
2356 * gdesktopappinfo.c:
2357 (g_desktop_app_info_new):
2358 Don't leak basename.
2360 2008-01-22 Alexander Larsson <alexl@redhat.com>
2362 * gdesktopappinfo.c:
2363 (g_desktop_app_info_new_from_filename):
2366 2008-01-22 Alexander Larsson <alexl@redhat.com>
2368 * glocalfileinfo.c (get_thumbnail_attributes):
2371 2008-01-22 Alexander Larsson <alexl@redhat.com>
2374 (canonicalize_filename):
2375 Canonicalize paths that start with more than
2379 (compare_two_files):
2380 (test_g_file_new_for_path):
2383 2008-01-22 Alexander Larsson <alexl@redhat.com>
2386 Allow UTF-8 in file:// parse names.
2388 * tests/Makefile.am:
2389 * tests/data-input-stream.c:
2390 * tests/data-output-stream.c:
2391 * tests/g-file-info.c:
2393 Added a bunch of tests from Tomas Bzatek
2395 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2397 * === Released 2.15.3 ===
2399 2008-01-21 Alexander Larsson <alexl@redhat.com>
2401 * gfileinputstream.[ch]:
2402 * gfileoutputstream.[ch]:
2404 Remove duplicated GSeekable functions. (#509990)
2405 Just use the g_seekable_xxx() calls instead.
2407 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2410 * gvolumemanager.c: Whitespace cleanups.
2412 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2413 Use the right mode when creating the file.
2415 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2417 * gfileenumerator.c:
2418 * gfileinputstream.c:
2420 * goutputstream.c: Documentation: Fixed minor typos
2421 and added more mentions of specific _finish() functions.
2423 2008-01-21 Alexander Larsson <alexl@redhat.com>
2425 * inotify/Makefile.am:
2426 * inotify/inotify-helper.c:
2427 * inotify/inotify-kernel.c:
2428 * inotify/inotify-path.c:
2429 * inotify/local_inotify.h: Removed.
2430 * inotify/local_inotify_syscalls.h: Removed.
2431 Removed the included copies of the inotify
2432 headers. We now only use the <sys/inotify.h>
2433 header which exists on modern systems.
2434 This fixes problems on ARM and SH5 (#510448)
2435 but is also generally much cleaner and future
2436 safe. For instance, if other OSes add support
2437 for inotify it should "just work".
2439 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2441 * inotify/*.c: Coding style fixes.
2442 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2443 for the 1/4 Hz timer.
2445 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2448 * gfilemonitor.[hc]:
2449 * gmemoryinputstream.c:
2450 * gmemoryoutputstream.c:
2451 * gmountoperation.c:
2452 * gthemedicon.c: Documentation updates
2454 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2456 * gfile.c: documentation: Fixed more minor
2459 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2461 * gmount.c: (g_mount_remount): documentation:
2462 Mention g_mount_remount_finish() instead of
2463 g_mount_unmount_finish().
2465 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2469 * gfile.c: Fixed some minor typos in the
2472 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2474 * gio/gvolumemonitor.c:
2475 (g_volume_monitor_get_connected_drives):
2476 (g_volume_monitor_get_volumes):
2477 (g_volume_monitor_get_mounts): Documentation:
2478 Clarify the ownership of the regurn GLists.
2480 2008-01-17 Alexander Larsson <alexl@redhat.com>
2483 Add the async find_enclosing_mount version
2484 to the header file too.
2486 2008-01-17 Alexander Larsson <alexl@redhat.com>
2489 Add async version of find_enclosing_mount
2490 with default implementation.
2492 2008-01-17 Alexander Larsson <alexl@redhat.com>
2497 Allow calls to implementation of copy and write
2498 even if the type of the file implementations is
2499 different. This can be used to implement native
2500 upload and download calls in a vfs.
2503 (g_local_file_move):
2504 Protect against the case where move is called
2505 with one file not being local.
2507 Make sure we call the progress callback once
2508 in the native move operation so that the caller
2509 knows how many bytes were copied.
2511 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2514 * gdatainputstream.c:
2516 * gfileoutputstream.c:
2521 * gunixmounts.c: Corrected some typos in the documentation:
2522 occured -> occurred.
2523 its -> it's (where appropriate).
2525 2008-01-16 Alexander Larsson <alexl@redhat.com>
2529 Add g_file_query_exists (#508771)
2531 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2536 * gvolume.c: For async functions that have no non-async
2537 version, document that the GAsyncReadyCallback may be NULL.
2540 2008-01-15 Alexander Larsson <alexl@redhat.com>
2542 * gmemoryinputstream.c:
2543 * gmemoryoutputstream.c:
2544 Don't do pointer arithmetic on void * (#508602)
2545 Patch from Kazuki IWAMOTO
2547 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2549 * === Released 2.15.2 ===
2551 2008-01-14 Alexander Larsson <alexl@redhat.com>
2553 * gfile.c (g_file_monitor_file):
2554 Don't set error here, since we fallback to polling monitor.
2556 2008-01-14 Alexander Larsson <alexl@redhat.com>
2559 (g_file_monitor_directory):
2560 (g_file_monitor_file):
2561 Add GError to file monitor calls
2563 * glocaldirectorymonitor.c:
2564 * glocaldirectorymonitor.h:
2566 * glocalfilemonitor.c:
2567 * glocalfilemonitor.h:
2569 Update for above change
2571 2008-01-14 Alexander Larsson <alexl@redhat.com>
2575 Handle root correctly in g_file_get_relative_path (#508719)
2577 2008-01-14 Alexander Larsson <alexl@redhat.com>
2580 Clean up docs and example for GAsyncResult (#508074)
2582 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2584 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2585 and correct some spelling mistakes. Bug #508108.
2587 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2589 * glocalfileinfo.c: Add a comment.
2591 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2593 * gfileinfo.c: GFileInfo description: Mention
2594 how to actually set attributes in a GFile and how to discover
2595 which attributes are settable. Bug #508378.
2597 2008-01-10 A. Walton <awalton@svn.gnome.org>
2599 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2600 (g_app_info_get_default_for_type):
2601 Check for NULL content types.
2603 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2605 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2607 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2609 * gfile.c: *_async() functions: Several small corrections
2610 to the documentation, mostly correcting copy/paste errors
2611 and improving some sentences.
2613 2008-01-09 Dan Winship <danw@gnome.org>
2615 * glocalfile.c (get_unique_filename): x86_64 fix
2617 2008-01-09 Alexander Larsson <alexl@redhat.com>
2622 Add g_unix_mount_guess_should_display and use
2623 for unix volume monitor backend.
2624 This means we more or less show what the
2625 gnome-vfs backend did.
2626 Based on patch from Padraig O'Briain
2628 2008-01-09 Alexander Larsson <alexl@redhat.com>
2632 Add g_themed_icon_new_with_default_fallbacks
2635 Use default fallbacks for icons
2637 2008-01-09 Alexander Larsson <alexl@redhat.com>
2640 * gmountoperation.[ch]:
2641 Change the API a bit so that unhandled methods
2642 get reported via the reply, rather than by
2643 the signal emission return value. This is because
2644 some handlers can't know this immediately without
2645 doing I/O, and this is an async operation that
2648 2008-01-09 Alexander Larsson <alexl@redhat.com>
2651 * fam/gfamdirectorymonitor.c:
2652 * fam/gfamfilemonitor.c:
2653 Fix double free crash (#508224)
2654 Patch from Joe Marcus Clarke
2656 008-01-07 Matthias Clasen <mclasen@redhat.com>
2658 * === Released 2.15.1 ===
2660 2008-01-07 Alexander Larsson <alexl@redhat.com>
2662 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2663 Fix warning (#507835)
2665 2008-01-07 Alexander Larsson <alexl@redhat.com>
2668 Pass --internal to glib-genmarshal
2671 * gmountoperation.c:
2673 Use better types for signal arguments (#507822)
2675 2008-01-07 Alexander Larsson <alexl@redhat.com>
2678 Build test subdir after .
2679 Remove gdirectorymonitor.[ch]
2681 * gdirectorymonitor.[ch]:
2685 Remove GDirectoryMonitor and make
2686 GFileMonitor the baseclass for both file and
2687 directory monitors. Lift the more generic
2688 rate limiting code from GDirectoryMonitor
2692 * fam/gfamdirectorymonitor.[ch]:
2693 * inotify/ginotifydirectorymonitor.[ch]:
2694 * inotify/inotify-helper.c:
2695 * glocaldirectorymonitor.[ch]:
2698 Update for the removed GDirectoryMonitor.
2700 * gmemoryoutputstream.c:
2701 Remove ununsed variable
2703 2008-01-07 Alexander Larsson <alexl@redhat.com>
2705 * gmemoryinputstream.c:
2706 Translate error strings
2709 * gmemoryoutputstream.[ch]:
2710 New implementation that avoids using GByteArray
2711 in implementation and API. (#506377)
2713 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2715 * tests/*: Add a test for memory input streams.
2717 * Makefile.am: Add tests to SUBDIRS.
2719 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2721 * glocalfilemonitor.c:
2722 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2725 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2727 * gdesktopappinfo.c: Fix a docs typo.
2729 * gfileattribute.c: Add information about extended attributes
2730 to the documentation. (#505058)
2732 2008-01-04 Alexander Larsson <alexl@redhat.com>
2735 * gmountoperation.c:
2736 Use the right type (uint) for the ask_password signal.
2738 2008-01-04 Alexander Larsson <alexl@redhat.com>
2743 Add g_app_info_supports_files()
2744 Remove desktop arg from g_app_info_should_show().
2746 * gdesktopappinfo.[ch]:
2747 Implement g_app_info_supports_files() and new should_show()
2748 Add g_desktop_app_info_set_desktop_env() to set the desktop
2749 for should_show(). (This will be set by gtk+ later)
2751 2008-01-04 Alexander Larsson <alexl@redhat.com>
2754 * gmemoryinputstream.[ch]:
2755 Improve API so that you can use multiple chunks
2756 of memory and custom destroy functions. (#506374)
2758 2008-01-03 Alexander Larsson <alexl@redhat.com>
2761 Handle NULL attribute matchers safely, as we return this
2762 for empty attribute matcher strings.
2764 2008-01-03 Alexander Larsson <alexl@redhat.com>
2766 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2767 Add /usr/local to list of internal mountpoints
2769 2008-01-03 Alexander Larsson <alexl@redhat.com>
2772 Check for HAVE_LCHOWN (#505887)
2774 2008-01-03 Alexander Larsson <alexl@redhat.com>
2778 Add define for selinux context attribute.
2779 Fix missing : -> :: namespace separator change
2780 Fix missing _ -> - name change for xattr-sys.
2783 2008-01-03 Alexander Larsson <alexl@redhat.com>
2786 Link to libglib and libgobject directly (#504879)
2787 Patch from Sebastien Bacher
2789 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2791 * gfile.c: Expanded the g_file_new_for_commandline_arg
2792 description a bit, based on the code and the docs of the
2793 other g_file_new_for_* functions.
2795 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2797 * gfilemonitor.h: Fixed typo in docs.
2799 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2801 Updates to GIO documentation. (#506395, Mikael Hermansson)
2803 * gcontenttype.c: Describe memory management for return value of
2804 g_content_types_get_registered(). Missing piece from #505815.
2805 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2806 GVolume, GDrive, GMounts, which hopefully gives the user less
2807 confusions when using this API. Following explainations from
2808 Alexander Larsson on gtk-devel-list.
2810 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2812 * gfileinfo.c: Expand the long description.
2814 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2817 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2818 fix builds with --disable-visibility. (#500273, Christian Persch)
2820 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2822 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2823 in the list of returned app infos.
2825 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2827 * gappinfo.c: Fix a cross-reference
2829 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2831 * gfileinputstream.c:
2832 * gfileoutputstream.c:
2836 * gdesktopappinfo.c:
2838 * gfileinfo.c: Documentation updates.
2840 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2842 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2845 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2847 * gcontenttype.c (g_content_types_get_registered): Don't return
2848 freed memory (#505815, Mikael Hermansson)
2850 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2852 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2853 used to detect statbuf->st_blocks. (#505042)
2855 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2857 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2858 environment handling. (#504829, Cosimo Cecchi)
2860 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2862 * gappinfo.c: Doc improvements
2864 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2867 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2869 * === Released 2.15.0 ===
2871 2007-12-20 Hans Breuer <hans@breuer.org>
2873 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2874 with symbols gwin32appinfo.obj, added gmount.obj
2875 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2877 2007-12-20 Alexander Larsson <alexl@redhat.com>
2883 * gfilenamecompleter.c:
2886 * gpollfilemonitor.c:
2887 File attribute renames:
2889 fs:: -> filesystem::
2890 id::fs -> id::filesystem
2892 2007-12-20 Alexander Larsson <alexl@redhat.com>
2901 Add GMountUnmountFlags to all unmount and
2903 Add g_mount_remount() call.
2905 2007-12-20 Alexander Larsson <alexl@redhat.com>
2907 * gvfs.c (get_default_vfs):
2908 Fix unused variable warning
2910 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2912 * pltcheck.sh: Update
2914 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2916 * gunionvolumemonitor.c:
2917 * gunixmount.c: Remove C99 comments
2919 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2921 * gio.symbols: Add some missing symbols
2923 2007-12-19 Alexander Larsson <alexl@redhat.com>
2926 Make g_io_modules_load_all_in_directory not unuse
2927 loaded modules so that users of it can do stuff
2929 Init internal "module" types.
2930 Initialize static prio and name for types so that
2931 we don't have to load modules to get it.
2933 * gnativevolumemonitor.h:
2935 Move is_supported to parent class so that
2936 non-native monitors can avoid being initialized
2937 too. (For instance GDaemonVolumeMonitor if we're
2938 not using GDaemonVfs.)
2940 * glocaldirectorymonitor.[ch]:
2941 * glocalfilemonitor.[ch]:
2942 * gunionvolumemonitor.c:
2943 * gunixvolumemonitor.c:
2945 Find plugins using the static prio+name to
2946 avoid unnecessarily loading the modules.
2948 2007-12-19 Alexander Larsson <alexl@redhat.com>
2953 2007-12-19 Alexander Larsson <alexl@redhat.com>
2955 * gunionvolumemonitor.c:
2956 Store the native type as GType, not class so that
2957 we can unload it. But still avoid unnecessarily
2960 2007-12-19 David Zeuthen <davidz@redhat.com>
2962 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2963 add signals 'disconnected' and 'eject-button' on GDrive. Add
2964 signal 'removed' on GVolume and 'unmounted' on GMount.
2966 * gdrive.c: (g_drive_base_init):
2968 * gfile.c: (g_file_mount_mountable),
2969 (g_file_mount_enclosing_volume):
2972 * gmount.c: (g_mount_base_init):
2974 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2975 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2976 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2980 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2982 * *.c: Fix up includes in the section docs.
2984 2007-12-17 Alexander Larsson <alexl@redhat.com>
2986 * gnativevolumemonitor.h:
2987 * gunionvolumemonitor.c:
2988 * gunixvolumemonitor.c:
2989 Add is_supported() to GNativeVolumeMonitorClass so
2990 that we can avoid having to create an object to see
2991 if the backend is supported at runtime.
2992 Also add name member and an env var to pick a specific
2993 volume monitor backend.
2997 Add cancellable to _g_mount_get_for_mount_path()
2999 * glocaldirectorymonitor.c:
3000 * glocalfilemonitor.c:
3001 Avoid loading and unloading modules while sorting.
3003 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3006 * gunixmounts.[hc]: Namespace waste reduction, move some
3007 g_get_unix_mount functions to the g_unix_mount namespace.
3010 * gunixvolumemonitor.c:
3012 * glocaldirectorymonitor.c: Update all callers.
3014 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3016 2007-12-17 Alexander Larsson <alexl@redhat.com>
3019 Add doc comments about what GFile operations are
3020 guaranteed to not block.
3022 2007-12-17 Alexander Larsson <alexl@redhat.com>
3025 Add missing #ifdef fixing OSX build.
3026 (#503334, patch from Richard Hult)
3028 2007-12-14 David Zeuthen <davidz@redhat.com>
3032 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3033 (g_mount_eject), (g_mount_eject_finish):
3035 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3036 (get_volume_for_uuid), (get_mount_for_uuid),
3037 (g_union_volume_monitor_class_init),
3038 (get_default_native_type_with_exclude), (get_default_native_type),
3039 (get_native_type), (update_native_type),
3040 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3041 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3042 (g_unix_mount_can_eject), (eject_unmount_cb),
3043 (eject_unmount_read_error), (eject_unmount_do),
3044 (g_unix_mount_unmount), (g_unix_mount_eject),
3045 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3046 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3047 (g_unix_mount_point_guess_can_eject):
3049 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3050 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3051 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3052 (g_unix_volume_mount), (g_unix_volume_eject),
3053 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3054 * gunixvolumemonitor.c: (get_volume_for_uuid),
3055 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3057 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3058 (g_volume_eject), (g_volume_eject_finish):
3060 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3061 (g_volume_monitor_get_mount_for_uuid):
3064 Provide eject() on both GMount and GVolume and utility functions
3065 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3066 ejected. Introduce the concept of UUID's and wire it into GVolume
3067 and GMount and provide API on GVolumeMonitor to find such
3068 instances. Also handle the case where an external
3069 GNativeVolumeMonitor fails to initialize. Lock around the
3070 _g_get_mount_for_mount_path() function such that volume monitor
3071 implementations won't have to do locking themselves.
3073 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3075 * gdesktopappinfo.c:
3081 * gvolume.h: Documentation updates
3083 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3086 * gfile.h: Doc updates
3088 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3091 * gdesktopappinfo.c: Use hash table iterators.
3093 2007-12-14 Alexander Larsson <alexl@redhat.com>
3096 * gfileattribute.[ch]:
3097 * gfileattribute-priv.h:
3098 Move GFileAttributeValue to a private header, as
3102 Make set_attribute take a type + a pointer instead
3103 of a GFileAttributeValue.
3106 Fix up for above changes.
3107 Add g_file_info_get_attribute_data to get
3108 all info in one call, g_file_info_get_attribute_status
3109 to get the status and g_file_info_get_attribute_as_string.
3113 * glocalfileinfo.[ch]:
3117 Make _guess_type static.
3119 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3122 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3123 made mkenums and friends use temporary files to avoid leaving
3124 empty generated files on failure (#503470).
3126 2007-12-14 Alexander Larsson <alexl@redhat.com>
3128 * gmountoperation.h:
3131 2007-12-14 Alexander Larsson <alexl@redhat.com>
3135 * gfileattribute.[ch]:
3138 * glocalfileoutputstream.c:
3139 * gmountoperation.[ch]:
3140 * goutputstream.[ch]:
3141 Clean up all flags enums to not have _FLAGS in them
3142 Make the names of some of the enums better.
3147 2007-12-14 Michael Natterer <mitch@imendio.com>
3149 * gio.symbols: fix g_io_scheduler symbol names.
3151 2007-12-14 Alexander Larsson <alexl@redhat.com>
3157 * gbufferedinputstream.h:
3158 * gbufferedoutputstream.h:
3161 * gdatainputstream.h:
3162 * gdataoutputstream.h:
3163 * gdesktopappinfo.h:
3164 * gdirectorymonitor.h:
3168 * gfileenumerator.h:
3171 * gfileinputstream.h:
3173 * gfilenamecompleter.h:
3174 * gfileoutputstream.h:
3175 * gfilterinputstream.h:
3176 * gfilteroutputstream.h:
3184 * gmemoryinputstream.h:
3185 * gmemoryoutputstream.h:
3187 * gmountoperation.h:
3190 * gsimpleasyncresult.h:
3192 * gunixinputstream.h:
3194 * gunixoutputstream.h:
3198 * inotify/Makefile.am:
3199 Only allow including <gio/gio.h> from apps
3201 2007-12-14 Alexander Larsson <alexl@redhat.com>
3203 * gioscheduler.[ch]:
3204 * gsimpleasyncresult.c:
3205 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3206 Split out the send_to_mainloop call into two versions instead
3207 of having the block argument.
3209 2007-12-13 Alexander Larsson <alexl@redhat.com>
3211 * gcancellable.[ch]:
3213 * gbufferedinputstream.c:
3214 * gfileenumerator.c:
3215 * gfileinputstream.c:
3216 * gfileoutputstream.c:
3220 g_push/pop_current_cancellable ->
3221 g_cancellable_push/pop_current
3223 2007-12-13 Alexander Larsson <alexl@redhat.com>
3227 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3229 2007-12-13 Alexander Larsson <alexl@redhat.com>
3231 * gmountoperation.h:
3232 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3234 2007-12-12 Alexander Larsson <alexl@redhat.com>
3237 Fix race condition when freeing proxy in
3238 g_io_job_send_to_mainloop().
3240 2007-12-12 Alexander Larsson <alexl@redhat.com>
3246 Make attribute namespace separator "::" instead of ":".
3247 Use - instead of _ as separator in attribute names.
3249 2007-12-12 Alexander Larsson <alexl@redhat.com>
3251 * gbufferedinputstream.h:
3252 * gbufferedoutputstream.h:
3253 * gdatainputstream.h:
3254 * gdataoutputstream.h:
3255 * gdirectorymonitor.h:
3256 * gfileenumerator.h:
3257 * gfileinputstream.h:
3259 * gfileoutputstream.h:
3260 * gfilterinputstream.h:
3261 * gfilteroutputstream.h:
3263 * glocalfileinputstream.h:
3264 * glocalfileoutputstream.h:
3265 * gmemoryinputstream.h:
3266 * gmemoryoutputstream.h:
3267 * gnativevolumemonitor.h:
3269 * gunixinputstream.h:
3270 * gunixoutputstream.h:
3273 s/parent/parent_instance/ in GObjects
3275 2007-12-12 Alexander Larsson <alexl@redhat.com>
3280 No need for padding for interfaces
3282 2007-12-12 Alexander Larsson <alexl@redhat.com>
3286 * gbufferedinputstream.c:
3287 * gbufferedoutputstream.c:
3290 * gdatainputstream.[ch]:
3291 * gdesktopappinfo.c:
3292 * gdirectorymonitor.c:
3294 * gfileattribute.[ch]:
3297 * gfileinputstream.h:
3298 * gfilemonitor.[ch]:
3299 * gfileoutputstream.[ch]:
3300 * gfilterinputstream.h:
3301 * gfilteroutputstream.h:
3304 * gloadableicon.[ch]:
3305 * gmemoryinputstream.c:
3306 * gmountoperation.c:
3308 Fix up a bunch of details in the docs.
3313 2007-12-11 David Zeuthen <davidz@redhat.com>
3315 Rework how volumes, drives and volume monitoring is
3316 done. Previosly the model was
3318 GDrive <1-1> GVolume
3320 where a GDrive instance represented a mount point and a GVolume
3321 instance represented a mounted file system. This patch changes it
3324 GDrive <1-N> GVolume <1-1> GMount
3326 where GMount now serves the purpose of the old GVolume and the new
3327 GVolume serves the purpose of the old GDrive. In addition the new
3328 GDrive interface is used to represent a collection of GVolume
3329 instances (typically partitions) and also contains utility to query
3330 the state of the physical drive the GDrive object represents (such
3331 as checking for media, polling the drive, ejecting the media etc.).
3333 Also implement mounting and unmounting in the Unix volume monitor
3334 backend. A subquent patch will introduce GDrive support for ejection
3338 * gdrive.c: (g_drive_is_media_check_automatic),
3339 (g_drive_is_media_removable), (g_drive_has_media),
3340 (g_drive_can_poll_for_media), (g_drive_eject),
3341 (g_drive_eject_finish), (g_drive_poll_for_media),
3342 (g_drive_poll_for_media_finish):
3344 * gfile.c: (g_file_find_enclosing_mount):
3347 * glocaldirectorymonitor.c:
3348 (g_local_directory_monitor_constructor), (mounts_changed):
3349 * glocalfile.c: (get_mount_info),
3350 (g_local_file_find_enclosing_mount),
3351 (g_local_file_file_iface_init):
3352 * gnativevolumemonitor.h:
3353 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3354 (get_connected_drives), (g_union_volume_monitor_class_init),
3355 (child_volume_added), (child_volume_removed),
3356 (child_volume_changed), (child_mount_added), (child_mount_removed),
3357 (child_mount_pre_unmount), (child_mount_changed),
3358 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3359 (g_union_volume_monitor_remove_monitor),
3360 (_g_mount_get_for_mount_path):
3361 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3362 (guess_system_internal), (_g_get_unix_mounts),
3363 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3364 (g_unix_mount_free), (g_unix_mount_compare),
3365 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3366 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3367 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3368 (type_to_icon), (g_unix_mount_guess_name),
3369 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3370 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3371 (_resolve_symlink), (_resolve_dev_root):
3373 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3374 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3375 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3376 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3377 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3378 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3379 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3380 (g_unix_volume_volume_iface_init):
3382 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3383 (get_mounts), (get_volumes), (get_connected_drives),
3384 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3385 (mountpoints_changed), (mounts_changed),
3386 (g_unix_volume_monitor_init),
3387 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3388 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3389 * gunixvolumemonitor.h:
3390 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3391 (g_volume_mount), (g_volume_mount_finish):
3393 * gvolumemonitor.c: (g_volume_monitor_class_init),
3394 (g_volume_monitor_get_connected_drives),
3395 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3398 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3400 * gmountoperation.h (GPasswordFlags): Close the gap
3402 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3404 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3406 * gdesktopappinfo.[hc]: Remove _-prefixes
3408 2007-12-10 Tor Lillqvist <tml@novell.com>
3410 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3413 2007-12-10 Alexander Larsson <alexl@redhat.com>
3415 * gfile.c (g_file_set_display_name):
3416 Don't hardcode '/' (#502727)
3418 2007-12-09 Hans Breuer <hans@breuer.org>
3420 * makefile.msc : follow lib naming convention
3421 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3422 for user and group name, tested with ../tests/gio-ls
3424 2007-12-09 A. Walton <awalton@svn.gnome.org>
3426 * gdesktopappinfo.c:
3432 * gfileenumerator.c:
3437 * gmemoryinputstream.c:
3438 * gmemoryoutputstream.c:
3440 * gsimpleasyncresult.c:
3441 More documentation cleanup and filling in missing information, bringing
3442 GIO to 99% symbol coverage.
3444 2007-12-08 Hans Breuer <hans@breuer.org>
3446 [gio compiles and links on win32, not sure how much already works]
3447 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3448 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3449 base on win32 API; prefer g_lstat() over lstat(); instead of
3450 localtime_r() use an all GLib implementation on win32;
3451 get_mount_info() still needs a win32 specifc implementation
3452 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3453 win32_get_file_user_info to get owner/group info without uid/gid
3454 * glocalfileinputstream.c : include <io.h> on win32
3455 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3456 definition, use g_win32_ftruncate() for G_OS_WIN32
3457 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3458 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3459 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3460 * makefile.msc : updated
3462 2007-12-07 Alexander Larsson <alexl@redhat.com>
3464 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3465 Avoid warning spew if error == NULL
3467 2007-12-07 Alexander Larsson <alexl@redhat.com>
3470 Update docs wrt etags
3472 2007-12-06 Alexander Larsson <alexl@redhat.com>
3475 Include sys/types.h for dev_t (#501919)
3477 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3481 Make abicheck and pltcheck pass.
3483 2007-12-05 Alexander Larsson <alexl@redhat.com>
3486 * giomodule-priv.h: Added.
3487 * glocaldirectorymonitor.c:
3488 * glocalfilemonitor.c:
3489 * gunionvolumemonitor.c:
3491 Actually add the declaration of _g_io_modules_ensure_loaded
3493 2007-12-05 Alexander Larsson <alexl@redhat.com>
3495 * gdatainputstream.c:
3500 * glocaldirectorymonitor.c:
3501 * glocalfilemonitor.c:
3502 * gunionvolumemonitor.c:
3504 Make g_io_modules_ensure_loaded a private function and
3505 don't pass in the dirname. This means we can do magic
3506 directory finding in the win32 version.
3507 Export the actual load-modules-in-directory code so that
3508 gvfs can reuse that.
3510 2007-12-05 Alexander Larsson <alexl@redhat.com>
3512 * gbufferedinputstream.c:
3513 * gbufferedoutputstream.c:
3516 * gfileenumerator.[ch]:
3517 * gfileinputstream.c:
3518 * gfileoutputstream.[ch]:
3519 * gfilterinputstream.c:
3520 * gfilteroutputstream.c:
3521 * ginputstream.[ch]:
3523 * glocalfileenumerator.c:
3524 * glocalfileinputstream.c:
3525 * glocalfileoutputstream.c:
3526 * gmemoryinputstream.c:
3527 * gmemoryoutputstream.c:
3528 * goutputstream.[ch]:
3531 * gunixinputstream.c:
3532 * gunixoutputstream.c:
3533 Rename all struct members named:
3534 read, write, close, truncate, or mount
3535 to foo_fn, as these are reserved names
3536 and could be defined as macros in libc.
3539 2007-12-04 Alexander Larsson <alexl@redhat.com>
3542 (g_output_stream_close):
3543 Only call flush if non-null.
3545 2007-11-30 Dan Winship <danw@gnome.org>
3547 * ginputstream.c (g_input_stream_set_pending): Make this take a
3548 GError and return a gboolean, and do the "outstanding operation"
3549 check (and the "stream is already closed" check) itself.
3550 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3552 * goutputstream.c (g_output_stream_set_pending)
3553 (g_output_stream_clear_pending): Likewise
3555 * gbufferedinputstream.c:
3556 * gfileinputstream.c:
3557 * gfileoutputstream.c: Update for that
3559 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3560 Like g_simple_async_report_error_in_idle, but takes a GError
3561 rather than building one.
3563 2007-11-30 Dan Winship <danw@gnome.org>
3565 * goutputstream.c: Don't cheat and unset the "pending" flag around
3566 inner calls. Instead, call the class method directly rather than
3567 the wrapper function that checks "pending"
3569 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3571 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3573 2007-12-03 Hans Breuer <hans@breuer.org>
3575 [start of port to win32/msvc]
3576 * gcancellable.c : HAVE_UNIST_H and _pipe()
3577 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3578 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3579 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3581 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3582 * glocalvfs.c : use HAVE_PWD_H
3583 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3584 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3585 * Makefile.am : added to EXTRA_DIST
3587 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3589 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3592 2007-12-03 Alexander Larsson <alexl@redhat.com>
3595 Handle OSX style xattrs API (#500506)
3597 2007-12-03 Alexander Larsson <alexl@redhat.com>
3601 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3603 2007-12-02 A. Walton <awalton@svn.gnome.org>
3607 Documentation accuracy fixes.
3609 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3611 * gioenumtypes.c.template: Fix typo.
3613 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3615 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3617 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3619 * gdirectorymonitor.c:
3620 * gfilemonitor.c: Add properties
3622 * gbufferedoutputstream.c: Don't mark buffer-size property
3625 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3627 * gbufferedoutputstream.c: Add auto-grow property.
3629 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3631 * *.c: Unify the capitalization of section headings.
3633 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3635 * gmountoperation.c: Add properties
3637 * gdatainputstream.c: Turn byte-order and newline-type into
3640 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3642 * gioenumtypes.[hc].template: Templates for enum registration
3644 * Makefile.am: Generate gioenumtypes.[hc]
3646 * gio.h: Include gioenumtypes.h
3648 * gfile.h: Add some explicit nicks.
3650 * gio.symbols: Add new symbols
3652 * pltcheck.sh: Adjust
3654 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3656 * *.c: Explain etags and link to the explanation
3658 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3660 * *.c: Explain I/O priority.
3662 * *.c: More coding style fixes.
3664 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3666 * gasyncresult.c: Add another paragraph to the intro,
3667 adjust coding style of example.
3669 2007-11-29 A. Walton <awalton@svn.gnome.org>
3672 Fixes unknown meaning in GAppLaunchContext docs.
3674 Clarify asynchronous ops.
3676 Fix entity tag docs.
3679 Provides missing gtk-doc section, fixes API docs slighly.
3680 * gsimpleasyncresult.c:
3681 Fill in missing info in docs.
3682 * gunixinputstream.c:
3683 * gunixoutputstream.c:
3684 Be more expressive in short description.
3686 Remove gtk-doc stubs for non-public API.
3688 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3690 * *.c: Coding style fixups
3692 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3694 * inotify/inotify-helper.c: Don't export the lock from libgio.
3696 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3699 * abicheck.sh: Fix copy-and-paste leftovers
3701 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3703 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3705 2007-11-28 Alexander Larsson <alexl@redhat.com>
3709 Removed unnecessary file
3711 * gdesktopappinfo.[ch]:
3714 * glocaldirectorymonitor.[ch]:
3716 * glocalfileenumerator.[ch]:
3717 * glocalfileinputstream.[ch]:
3718 * glocalfilemonitor.[ch]:
3719 * glocalfileoutputstream.[ch]:
3721 * gnativevolumemonitor.c:
3722 * gpollfilemonitor.[ch]:
3723 * gunionvolumemonitor.[ch]:
3726 * gunixvolumemonitor.[ch]:
3729 * inotify/ginotifydirectorymonitor.[ch]:
3730 * inotify/ginotifyfilemonitor.[ch]:
3731 * inotify/inotify-helper.c:
3732 Append _ to all internal functions
3736 Export symbols needed for modules
3738 2007-11-28 Alexander Larsson <alexl@redhat.com>
3741 * abicheck.sh: Added.
3742 * makegioalias.pl: Added.
3743 * pltcheck.sh: Added.
3744 * gio.symbols: Added.
3747 Initial work on adding symbol handling.
3750 Correct ifdef guard name
3753 * inotify/Makefile.am:
3754 * xdgmime/Makefile.am:
3755 Include toplevel Makefile.decl
3757 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3759 * gcontenttype.c: Move doc comments to the unix section.
3761 * *.[hc]: More trivial doc corrections.
3763 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3765 * gpollfilemonitor.c:
3769 * gdesktopappinfo.c:
3774 * gdatainputstream.c:
3775 * gdatainputstream.h:
3776 * gdataoutputstream.c:
3777 * gdataoutputstream.h:
3778 * gfileinfo.h: Doc cleanups
3780 2007-11-28 Andre Klapper <a9016009@gmx.de>
3782 * gdesktopappinfo.c: Fix a typo.
3784 2007-11-27 Andre Klapper <a9016009@gmx.de>
3786 * glocalfileoutputstream.c: Fix a typo.
3788 2007-11-27 Alexander Larsson <alexl@redhat.com>
3791 Don't include removed headers
3793 2007-11-27 Alexander Larsson <alexl@redhat.com>
3796 * gsocketinputstream.[ch]: Removed.
3797 * gsocketoutputstream.[ch]: Removed.
3798 * gunixinputstream.[ch]: Added.
3799 * gunixoutputstream.[ch]: Added.
3800 Renamed GSocket*Stream to GUnix*Stream and made
3801 it unix-only, since its not really only for sockets
3802 and it only works on unix (but is highly useful there).
3804 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3810 * gbufferedinputstream.c:
3811 * gbufferedinputstream.h:
3812 * gbufferedoutputstream.c:
3813 * gbufferedoutputstream.h:
3817 * gdatainputstream.c:
3818 * gdatainputstream.h:
3819 * gdataoutputstream.c:
3820 * gdataoutputstream.h:
3821 * gdirectorymonitor.c:
3822 * gdirectorymonitor.h:
3829 * gfileenumerator.c:
3830 * gfileenumerator.h:
3835 * gfileinputstream.c:
3836 * gfileinputstream.h:
3839 * gfilenamecompleter.c:
3840 * gfilenamecompleter.h:
3841 * gfileoutputstream.c:
3842 * gfileoutputstream.h:
3843 * gfilterinputstream.c:
3844 * gfilterinputstream.h:
3845 * gfilteroutputstream.c:
3846 * gfilteroutputstream.h:
3859 * glocalfileoutputstream.c:
3860 * gmemoryinputstream.c:
3861 * gmemoryinputstream.h:
3862 * gmemoryoutputstream.c:
3863 * gmemoryoutputstream.h:
3864 * gmountoperation.c:
3865 * gmountoperation.h:
3868 * gpollfilemonitor.c:
3871 * gsimpleasyncresult.c:
3872 * gsimpleasyncresult.h:
3873 * gsocketinputstream.c:
3874 * gsocketinputstream.h:
3875 * gsocketoutputstream.c:
3876 * gsocketoutputstream.h:
3883 * gunixvolumemonitor.c:
3892 Bumps documentation to 93% symbol coverage, touching most
3893 of the public files. Fixes broken function documentation prototypes.
3894 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3895 gtk-doc headers in private files.
3897 2007-11-27 Jürg Billeter <j@bitron.ch>
3899 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3900 (g_buffered_input_stream_read_byte):
3901 * gbufferedinputstream.h:
3902 New functions for efficient access to buffer and simple single byte
3905 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3906 (g_data_input_stream_read_until):
3907 * gdatainputstream.h:
3908 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3909 read_until with multiple stop chars.
3911 2007-11-27 Alexander Larsson <alexl@redhat.com>
3915 * inotify/Makefile.am:
3916 Use the user-specified giomoduledir
3918 2007-11-27 Alexander Larsson <alexl@redhat.com>
3922 Add catch-all gio.h header
3923 Don't install gdummyfile.h
3925 2007-11-26 Alexander Larsson <alexl@redhat.com>
3927 * Makefile.am (gioinclude_HEADERS):
3928 Remove trailing whitespace
3930 2007-11-26 Alexander Larsson <alexl@redhat.com>
3932 Merge gio-standalone into glib
3934 2007-11-25 Christian Kellner <gicmo@gnome.org>
3936 * gio/goutputstream.c:
3937 Fix small mistake in the docs.
3939 2007-11-21 Christian Persch <chpe@gnome.org>
3941 * gio/glocalfile.c: (g_local_file_trash):
3942 Convert filenames to UTF-8 for GError.
3943 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3944 as per xdg base dir spec.
3946 2007-11-21 Christian Persch <chpe@gnome.org>
3948 * gio/gdesktopappinfo.c:
3949 Use that g_key_file_to_data cannot fail.
3951 Use stock defines for the key file group and key names.
3954 2007-11-21 Alexander Larsson <alexl@redhat.com>
3957 (copy_stream_with_progress):
3958 Make sure we do a final progress callback with
3959 the full total size.
3961 2007-11-21 Alexander Larsson <alexl@redhat.com>
3964 Export g_file_copy_attributes
3965 Remove padding as its not needed for interfaces
3967 2007-11-20 Alexander Larsson <alexl@redhat.com>
3972 Add G_IO_ERROR_WOULD_MERGE for
3973 copy/move dir on dir with overwrite.
3975 2007-11-20 Alexander Larsson <alexl@redhat.com>
3978 * gio/glocalfileinfo.c:
3979 Add COPY_NAME (this is an optional
3980 non-modified utf8 version of the name) that
3983 2007-11-20 Alexander Larsson <alexl@redhat.com>
3985 * gio/glocalfileenumerator.c:
3986 Report errors as GIOError, not GFileError
3988 2007-11-16 Alexander Larsson <alexl@redhat.com>
3990 * gio/glocalfileoutputstream.c:
3991 * gio/gwin32appinfo.c:
3992 Fix typos in strings.
3993 Patch from Luca Ferretti <elle.uca@libero.it>
3995 2007-11-15 Alexander Larsson <alexl@redhat.com>
3998 Post release version bump
4000 === gio-standalone 0.1.2 ===
4002 2007-11-15 Alexander Larsson <alexl@redhat.com>
4004 * docs/reference/gio/Makefile.am:
4005 Fix up distcheck by removing weird
4011 2007-11-14 Alexander Larsson <alexl@redhat.com>
4013 * gio/gdesktopappinfo.c:
4014 * gio/glocaldirectorymonitor.c:
4016 * gio/glocalfileinfo.c:
4017 * gio/inotify/inotify-sub.c:
4018 * programs/gio-cat.c:
4019 * programs/gio-copy.c:
4020 * programs/gio-info.c:
4021 * programs/gio-ls.c:
4022 * programs/gio-monitor-dir.c:
4023 * programs/gio-monitor-file.c:
4024 * programs/gio-mount.c:
4025 * programs/gio-move.c:
4026 * programs/gio-rm.c:
4027 * programs/gio-save.c:
4028 * programs/gio-trash.c:
4029 Leak fixes from Kjartan Maraas
4031 2007-11-14 Alexander Larsson <alexl@redhat.com>
4033 * gio/fam/fam-helper.c:
4035 * gio/glocalfileinfo.c:
4039 * gio/inotify/inotify-diag.c:
4040 * gio/inotify/inotify-kernel.c:
4041 Various code cleanups from Kjartan Maraas
4043 2007-11-14 Alexander Larsson <alexl@redhat.com>
4045 * gio/gioscheduler.c:
4047 Set up threadpool so that we cache 2 unused
4048 idle threads for at 15 secs. This means we
4049 will reuse thread-local data (like dbus connections)
4052 2007-11-14 Alexander Larsson <alexl@redhat.com>
4054 * gio/fam/fam-helper.c:
4055 * gio/fam/gfamdirectorymonitor.c:
4056 * gio/fam/gfamfilemonitor.c:
4058 * gio/gcontenttype.c:
4059 * gio/gdatainputstream.c:
4060 * gio/gdataoutputstream.c:
4064 * gio/gfileattribute.h:
4065 * gio/gfileenumerator.c:
4067 * gio/ginputstream.c:
4070 * gio/glocalfileinfo.c:
4071 * gio/goutputstream.c:
4072 * gio/gpollfilemonitor.c:
4073 * gio/gsimpleasyncresult.c:
4074 * gio/gunixmounts.c:
4075 * gio/gunixmounts.h:
4076 * gio/inotify/ginotifydirectorymonitor.c:
4077 * gio/inotify/ginotifyfilemonitor.c:
4078 * gio/inotify/inotify-diag.c:
4079 * gio/inotify/inotify-kernel.c:
4080 * gio/inotify/inotify-path.c:
4082 * gio/test-streams.c:
4083 * programs/gio-info.c:
4084 * programs/gio-monitor-dir.c:
4085 * programs/gio-monitor-file.c:
4086 Various code cleanups from Kjartan Maraas
4088 2007-11-13 Alexander Larsson <alexl@redhat.com>
4091 Handle the uri-scheme calls for dummy files
4093 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4095 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4096 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4097 to avoid clash with the C++ keyword.
4099 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4101 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4102 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4104 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4106 * gio/glocaldirectorymonitor.c:
4107 * gio/glocalfilemonitor.c:
4108 * gio/gunionvolumemonitor.c:
4109 Don't use g_once_init_*() for initializations that could fail and
4110 could leave the initialization variable set to 0 but use GOnce.
4111 This prevents a deadlock on the second call when trying to create
4112 a monitor and no monitor type is available. Thanks to Sven Herzberg
4115 2007-11-11 Sven Herzberg <sven@imendio.com>
4117 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4118 #ifdef (make it work on MacOS X again)
4120 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4122 Fixes Changelog for last two commits (sorry guys).
4124 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4126 * gio/gbufferedinputstream.c:
4127 * gio/gdatainputstream.c:
4129 * gio/gfileoutputstream.c:
4130 * gio/gfilterinputstream.c:
4131 * gio/glocalfileinputstream.c:
4134 More consistency fixes in g*stream.c files.
4135 Significant clean of gfile's documentation, filling in of
4136 asynchronous operations documentation.
4138 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4140 * gio/gasyncresult.c:
4141 * gio/gbufferedinputstream.c:
4142 * gio/gbufferedoutputstream.c:
4143 * gio/gcancellable.c:
4144 * gio/gcontenttype.c:
4145 * gio/gdatainputstream.c:
4146 * gio/gdataoutputstream.c:
4147 * gio/gdesktopappinfo.c:
4150 * gio/gfileattribute.c:
4151 * gio/gio/gfileenumerator.c:
4153 * gio/gfileinputstream.c:
4154 * gio/gfilemonitor.c:
4155 * gio/gfileoutputstream.c:
4156 * gio/ginputstream.c:
4158 * gio/gioscheduler.c:
4159 * gio/gloadableicon.c:
4160 * gio/glocalfileoutputstream.c:
4161 * gio/gmemoryoutputstream.c:
4162 * gio/gmountoperation.c:
4163 * gio/goutputstream.c:
4165 * gio/gsimpleasyncresult.c:
4166 * gio/gunionvolumemonitor.c:
4167 * gio/gunixmounts.c:
4168 * gio/gunixvolume.c:
4172 * gio/gvolumemonitor.c:
4173 Updated documentation stubs, working towards consistency and
4176 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4178 * gio/gmemoryoutputstream.c:
4179 * gio/gmemoryoutputstream.h:
4180 Change g_memory_output_stream_set_free_on_close() to
4181 g_memory_output_stream_set_free_data() as this makes more sense and
4182 is more consistent with GMemoryInputStream.
4184 2007-11-07 Alexander Larsson <alexl@redhat.com>
4191 Change how we find the default vfs so that
4192 we can handle a gvfs failing to init
4194 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4196 * gio/gbufferedoutputstream.c:
4197 * gio/gdatainputstream.c:
4198 * gio/gdataoutputstream.c:
4199 * gio/gfileinputstream.c:
4200 * gio/gfileoutputstream.c:
4201 * gio/gfilterinputstream.c:
4202 * gio/gfilteroutputstream.c:
4203 * gio/ginputstream.c:
4204 * gio/gmemoryinputstream.c:
4205 * gio/gmemoryoutputstream.c:
4206 * gio/goutputstream.c:
4207 * gio/gsimpleasyncresult.c:
4208 * gio/gsocketinputstream.c:
4209 * gio/gsocketoutputstream.c:
4210 Add guards to the remaining public functions, add a TODO for
4211 an unimplemented function and remove some useless guards.
4213 2007-11-07 Alexander Larsson <alexl@redhat.com>
4216 Autoconf checks for the various types of
4217 getpwuid_r and getgrgid_r
4219 * gio/glocalfileinfo.c:
4220 Use the autoconf checks from above
4222 2007-11-07 Alexander Larsson <alexl@redhat.com>
4225 (g_local_file_query_filesystem_info):
4226 Some fixes for the statvfs case
4228 2007-11-07 Alexander Larsson <alexl@redhat.com>
4231 (g_local_file_query_filesystem_info):
4232 Pick the "best" of statfs / statvfs for the system
4233 if both are availible.
4235 2007-11-07 Alexander Larsson <alexl@redhat.com>
4237 Solaris fixes from Halton.Huo@Sun.COM:
4244 * gio/glocalfileinfo.c:
4245 Fix for solaris definition of getpwuid_r
4247 * gio/test-streams.c:
4248 Use G_GNUC_PRETTY_FUNCTION
4250 2007-11-07 Alexander Larsson <alexl@redhat.com>
4252 * gio/gdesktopappinfo.c:
4253 (update_default_list):
4254 Remove double semicolon.
4255 Patch from Jens Granseuer
4257 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4259 * docs/reference/gio/gio-sections.txt:
4260 * gio/gbufferedinputstream.c:
4261 * gio/gbufferedinputstream.h:
4262 * gio/gdatainputstream.c:
4263 * gio/gfileenumerator.c:
4264 * gio/gioscheduler.c:
4265 * gio/gunionvolumemonitor.c:
4267 * programs/gio-save.c:
4268 Fix typo: availible -> available. Unfortuntely this breaks API
4269 and ABI as g_buffered_input_stream_get_available() was renamed.
4271 * gio/gunixmounts.c:
4272 * gio/gbufferedinputstream.c:
4273 Add guards for public functions.
4275 2007-11-06 Ross Burton <ross@openedhand.com>
4277 * docs/reference/gio/Makefile.am:
4278 Fix invalid += usage which automake 1.10 doesn't like.
4280 2007-11-06 Alexander Larsson <alexl@redhat.com>
4283 (g_app_launch_context_class_init):
4286 Patch from Ross Burton
4288 2007-11-06 Alexander Larsson <alexl@redhat.com>
4291 Post release version bump
4293 === gio-standalone 0.1.1 ===
4295 2007-11-06 Alexander Larsson <alexl@redhat.com>
4298 Bump version to 0.1.1
4300 * gio/gsimpleasyncresult.c:
4301 (g_simple_async_result_set_from_error):
4302 Remove bogus g_return_if_fail
4304 2007-11-06 Alexander Larsson <alexl@redhat.com>
4307 The name is gio-standalone
4310 Add top src/builddir to includedir
4312 2007-11-06 Alexander Larsson <alexl@redhat.com>
4314 * docs/reference/gio/gio-sections.txt:
4316 * gio/gbufferedinputstream.c:
4317 * gio/gbufferedoutputstream.c:
4318 * gio/gcancellable.c:
4319 * gio/gdatainputstream.h:
4320 * gio/gdataoutputstream.c:
4321 * gio/gdataoutputstream.h:
4322 * gio/gdirectorymonitor.c:
4324 * gio/gfileattribute.c:
4325 * gio/gfileattribute.h:
4326 * gio/gfileenumerator.c:
4327 * gio/gfileenumerator.h:
4330 * gio/gfileinputstream.h:
4331 * gio/gfilemonitor.c:
4332 * gio/gfileoutputstream.h:
4333 * gio/glocalfilemonitor.h:
4334 * gio/glocalfileoutputstream.h:
4335 * gio/gmemoryinputstream.c:
4336 * gio/gmemoryoutputstream.c:
4337 * gio/gmountoperation.c:
4338 * gio/goutputstream.c:
4339 * gio/goutputstream.h:
4341 * gio/gsimpleasyncresult.c:
4342 * gio/gunixmounts.c:
4343 * gio/gunixmounts.h:
4345 * gio/inotify/inotify-helper.c:
4346 Fix gtk-doc warnings
4348 Patch from Ross Burton
4350 2007-11-06 Alexander Larsson <alexl@redhat.com>
4352 * gio/gfilenamecompleter.c:
4353 (g_filename_completer_get_completions):
4356 * gio/gunixvolume.c:
4357 Remove unused function
4359 Patches from Ross Burton
4361 2007-11-06 Alexander Larsson <alexl@redhat.com>
4366 Padding not needed for interfaces
4368 2007-11-06 Alexander Larsson <alexl@redhat.com>
4370 * gio/gfilemonitor.c:
4374 Make giotypes.h an internal file
4377 * gio/gbufferedinputstream.h:
4378 * gio/gbufferedoutputstream.h:
4379 * gio/gcancellable.h:
4380 * gio/gdatainputstream.h:
4381 * gio/gdataoutputstream.h:
4382 * gio/gdirectorymonitor.c:
4383 * gio/gdirectorymonitor.h:
4388 * gio/gfileattribute.h:
4389 * gio/gfileenumerator.h:
4394 * gio/gfilemonitor.c:
4395 * gio/gfilemonitor.h:
4396 * gio/gfilenamecompleter.c:
4397 * gio/gfilenamecompleter.h:
4398 * gio/gfilterinputstream.h:
4399 * gio/gfilteroutputstream.h:
4400 * gio/ginputstream.h:
4401 * gio/gmemoryinputstream.h:
4402 * gio/gmemoryoutputstream.h:
4403 * gio/gmountoperation.c:
4404 * gio/gmountoperation.h:
4405 * gio/gnativevolumemonitor.c:
4406 * gio/goutputstream.h:
4409 * gio/gsimpleasyncresult.c:
4410 * gio/gsimpleasyncresult.h:
4411 * gio/gsocketinputstream.h:
4412 * gio/gsocketoutputstream.h:
4413 * gio/gthemedicon.c:
4414 * gio/gthemedicon.h:
4418 * gio/gvolumemonitor.c:
4419 * gio/gvolumemonitor.h:
4420 Add padding in classes where it seems useful
4421 Don't include giotypes.h from public headers
4422 Move in Class definitions into c file where possible
4427 2007-11-06 Alexander Larsson <alexl@redhat.com>
4429 * docs/reference/gio/gio-docs.xml:
4430 Better structure for API docs
4432 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4435 * gio/gloadableicon.c:
4436 * gio/gsimpleasyncresult.c:
4437 * gio/gthemedicon.c:
4438 Add some more guards to public functions. Only files missing are now
4441 2007-11-06 Alexander Larsson <alexl@redhat.com>
4443 * docs/reference/gio/gio-docs.xml:
4444 Remove old files, add missing ones
4446 2007-11-06 Alexander Larsson <alexl@redhat.com>
4448 * docs/reference/gio/gio-sections.txt:
4451 Hide implementation classes
4453 * gio/gdriveprivate.h:
4454 * gio/gvolumeprivate.h:
4455 Remove non-existing function declarations
4457 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4460 Fix compilation warnings and add guards to the new functions.
4462 * gio/gasyncresult.c:
4464 Add guards to the public functions.
4467 Implement get_path().
4469 2007-11-06 Alexander Larsson <alexl@redhat.com>
4471 * gio/gfilenamecompleter.c:
4472 Make g_filename_completer_get_completions
4473 return char ** instead of GList for
4476 * docs/reference/gio/gio-docs.xml:
4477 * docs/reference/gio/gio-sections.txt:
4479 * gio/gasyncresult.c:
4480 * gio/gbufferedinputstream.c:
4481 * gio/gbufferedoutputstream.c:
4482 * gio/gcancellable.c:
4483 * gio/gcontenttype.c:
4484 * gio/gdatainputstream.c:
4485 * gio/gdataoutputstream.c:
4486 * gio/gdesktopappinfo.c:
4487 * gio/gdirectorymonitor.c:
4491 * gio/gfileattribute.c:
4492 * gio/gfileenumerator.c:
4495 * gio/gfileinputstream.c:
4496 * gio/gfilemonitor.c:
4497 * gio/gfilenamecompleter.c:
4498 * gio/gfilenamecompleter.h:
4499 * gio/gfileoutputstream.c:
4500 * gio/gfilterinputstream.c:
4502 * gio/ginputstream.c:
4504 * gio/gioscheduler.c:
4505 * gio/gloadableicon.c:
4506 * gio/glocaldirectorymonitor.c:
4508 * gio/glocalfileinputstream.c:
4509 * gio/glocalfilemonitor.c:
4510 * gio/glocalfileoutputstream.c:
4512 * gio/gmemoryinputstream.c:
4513 * gio/gmemoryoutputstream.c:
4514 * gio/gmountoperation.c:
4515 * gio/goutputstream.c:
4516 * gio/gpollfilemonitor.c:
4518 * gio/gsimpleasyncresult.c:
4519 * gio/gsocketinputstream.c:
4520 * gio/gsocketoutputstream.c:
4521 * gio/gthemedicon.c:
4522 * gio/gunionvolumemonitor.c:
4524 * gio/gunixmounts.c:
4525 * gio/gunixvolume.c:
4526 * gio/gunixvolumemonitor.c:
4530 * gio/gvolumemonitor.c:
4531 * gio/gwin32appinfo.c:
4532 Add (mostly stub) doc strings to public functions.
4533 Patch from Andrew Walton (awalton@gmail.com)
4535 2007-11-06 Alexander Larsson <alexl@redhat.com>
4537 * gio/gappinfo.[ch]:
4538 Added GAppLaunchContext object and pass that to launch.
4539 This allows simple implementation of both
4540 launch-on-screen and startup notification via a gtk+
4541 subclass of GAppLaunchContext
4543 * gio/gdesktopappinfo.c:
4544 Implement GAppLaunchContext API
4546 * gio/gwin32appinfo.c:
4549 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4551 * gio/gmountoperation.c:
4552 Add some guards to GMountOperation's public functions.
4554 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4558 * gio/gcancellable.c:
4559 * gio/gdirectorymonitor.c:
4561 * gio/gfileenumerator.c:
4562 * gio/gfilemonitor.c:,
4563 * gio/gfilenamecompleter.c:
4566 * gio/gioscheduler.c:
4570 * gio/gvolumemonitor.c:
4571 Add even more guards to various public functions.
4573 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4576 Add guards to the public functions of GAppInfo.
4578 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4580 * gio/gcontenttype.c:
4581 Add some more guards for public functions.
4583 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4585 * gio/fam/fam-module.c:
4586 * gio/fam/gfamdirectorymonitor.c:
4587 * gio/fam/gfamdirectorymonitor.h:
4588 * gio/fam/gfamfilemonitor.c:
4589 * gio/fam/gfamfilemonitor.h:
4590 * gio/inotify/ginotifydirectorymonitor.c:
4591 * gio/inotify/ginotifydirectorymonitor.h:
4592 * gio/inotify/ginotifyfilemonitor.c:
4593 * gio/inotify/ginotifyfilemonitor.h:
4594 Add proper copyright information and remove an unused variable
4595 in the GInotifyFileMonitor constructor.
4597 * gio/gcancellable.c:
4598 Add a guard for a public function and an assertion to prevent
4599 an undefined program state.
4601 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4603 * gio/gfileattribute.c:
4604 Don't run into an assertion if the given attribute value is NULL
4605 in g_file_attribute_value_get_*() but instead return a fallback
4606 value that makes sense in most situations. Passing them a attribute
4607 value with the wrong type will still run into an assertion.
4609 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4611 * gio/gfileattribute.c:
4613 Add even more guards to the public functions. Also fix the refcounting
4614 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4615 let g_file_info_list_attributes() filter the attributes by namespace
4616 instead of simply ignoring the namespace parameter.
4618 2007-11-03 Sven Herzberg <sven@imendio.com>
4620 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4621 (This makes gio work on MacOS X again)
4623 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4626 Build the gio subdirectory before the docs. Otherwise the build will
4629 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4630 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4631 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4632 Add guards to the public functions.
4634 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4636 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4637 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4638 to prevent a compiler warning.
4640 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4641 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4642 return something in the non-void function find_topdir_for().
4644 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4651 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4653 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4654 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4655 * gwin32appinfo.c (g_win32_app_info_launch):
4656 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4657 envp_for_startup_id, g_desktop_app_info_launch,
4658 g_desktop_app_info_launch_uris):
4660 Give an opaque 'startup_id' string instead of 'envp'.
4661 Support empty file lists for launching new windows.
4662 Fix infinite recursion bug when launching URIs.
4664 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4667 Add guard to the new g_file_get_uri_scheme() function.
4669 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4672 Convert a g_return_val_if_fail() to setting the GError instead as
4673 otherwise applications have to verify the parameter before otherwise
4674 and the parameter might come directly from the user.
4676 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4678 * gio/inotify/ginotify*.[ch]:
4679 Add missing copyright information.
4681 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4684 Add guards in the beginning of public functions to check for valid
4685 parameters and fix a bug in copy_stream_with_progress() that could've
4686 caused writing less bytes than reading.
4687 * gio/glocalfileinfo.c:
4688 Check for a NULL parameter and set the GError accordingly then.
4689 * gio/goutputstream.c:
4690 Fix the same bug as in gfile.c that could've caused writing less bytes
4691 than reading in g_output_stream_real_splice().
4693 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4696 Use the correct gvolumeprivate.h naming
4698 2007-11-01 Christian Kellner <gicmo@gnome.org>
4701 Remove leftover "$(daemon_sources)" entry.
4703 2007-11-01 Christian Kellner <gicmo@gnome.org>
4708 Add copyright information to source files.
4710 2007-11-01 Alexander Larsson <alexl@redhat.com>
4714 Add g_file_get_uri_scheme
4716 2007-11-01 Alexander Larsson <alexl@redhat.com>
4719 * gio/gdesktopappinfo.c:
4720 * gio/gwin32appinfo.c:
4721 Add g_app_info_get_default_for_uri_scheme.
4723 2007-11-01 Alexander Larsson <alexl@redhat.com>
4726 Correct filename for gdriveprivate.h
4728 2007-10-31 Alexander Larsson <alexl@redhat.com>
4731 Rename id:value to id:file
4734 * gio/glocalfileinfo.c:
4737 2007-10-31 Alexander Larsson <alexl@redhat.com>
4739 * gio/gunixvolume.c:
4741 Remove g_volume_get_platform_id, as thats not
4742 needed with the simpler union volume monitor
4744 2007-10-31 Alexander Larsson <alexl@redhat.com>
4747 * gio/guniondrive.[ch]: Removed.
4748 * gio/gunionvolume.[ch]: Removed.
4749 Remove GUnionDrive/Volume
4751 * gio/gunionvolumemonitor.c:
4752 Simplify union volume monitor, now we
4753 only have one native volume monitor and
4754 we use the actual volumes/drives from the
4755 child monitors instead of wrapping them
4757 * gio/gnativevolumemonitor.[ch]:
4758 Base class for native volume monitors.
4759 Includes priority and get_volume_for_mountpoint
4762 Add g_file_find_enclosing_volume
4765 Remove volume name fs attribute
4766 Add readonly fs attribute
4769 Implement readonly attribute
4770 remove volume name attribute
4771 Implement find_enclosing volume
4773 * gio/gunixmounts.c:
4774 Add a volume for "/".
4776 * gio/gunixvolume.[ch]:
4777 Set better name for /
4779 * gio/gunixvolumemonitor.[ch]:
4780 Derive from GNativeVolumeMonitor
4781 Implement get_volume_for_mountpoint
4784 GVolume typedef moved to gfile.h
4786 * gio/gvolumeprivate.h:
4787 Add g_volume_get_for_mount_path
4789 2007-10-31 Alexander Larsson <alexl@redhat.com>
4791 * gio/gunixmounts.[ch]:
4792 Add cache info to unix mount listers
4793 Make getmntent use threadsafe
4794 Add is_system_internal attribute for GUnixMount
4796 * gio/gunixvolume.c:
4797 (g_unix_volume_new):
4798 Use is_system_internal instead of own code
4800 * gio/glocaldirectorymonitor.c:
4801 * gio/gunixvolumemonitor.c:
4802 Update to new gunixmounts API
4807 2007-10-30 Alexander Larsson <alexl@redhat.com>
4810 Add volume name fsinfo attribute
4813 Read volume name info
4815 * gio/gunionvolumemonitor.c:
4816 Fix infinite loops when finalizing a union volume monitor
4818 2007-10-30 Alexander Larsson <alexl@redhat.com>
4820 * gio/goutputstream.[ch]:
4821 Add splice() with default implementation
4823 * gio/gsocketoutputstream.c:
4824 (g_socket_output_stream_write):
4825 Return error on cancellation correctly.
4827 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4829 * gio/glocalfile.c (g_local_file_trash):
4830 Do not leak a string.
4832 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4834 * gio/gfile.c (g_file_load_contents):
4835 Unref the stream after closing it.
4837 2007-10-25 Alexander Larsson <alexl@redhat.com>
4839 * gio/gioscheduler.h:
4842 2007-10-25 Alexander Larsson <alexl@redhat.com>
4846 Add g_file_has_uri_scheme and implement for local files
4848 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4850 * gio/gdesktopappinfo.c: do not leak a string.
4852 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4854 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4855 (g_local_directory_monitor_new):
4856 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4857 (g_local_file_monitor_new):
4858 Only look for the monitor type that should be used the first time
4859 and use g_qsort_with_data() instead of our own bubble sort
4862 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4865 * gio/fam/Makefile.am:
4866 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4867 * gio/fam/fam-helper.h:
4868 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4869 * gio/fam/gfamdirectorymonitor.c:
4870 * gio/fam/gfamdirectorymonitor.h:
4871 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4872 * gio/fam/gfamfilemonitor.h:
4873 * gio/glocaldirectorymonitor.c:
4874 * gio/glocaldirectorymonitor.h:
4875 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4876 * gio/glocalfilemonitor.h:
4877 * gio/inotify/Makefile.am:
4878 * gio/inotify/ginotifydirectorymonitor.c:
4879 * gio/inotify/ginotifydirectorymonitor.h:
4880 * gio/inotify/ginotifyfilemonitor.c:
4881 * gio/inotify/ginotifyfilemonitor.h:
4882 Implement the FAM and Inotify monitors as
4883 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4884 their own GIO module. GLocal(Directory|File)Monitor will use the
4885 monitor with the highest rank that is supported on that machine.
4887 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4890 Change GIO module dir to $(libdir)/gio/modules and change
4891 the log domain from GVFS to GIO. Also only export symbols starting
4892 with g_ in the resulting library.
4893 * gio/test-streams.c: (main):
4894 Set log handler for the GIO log domain.
4896 2007-10-22 Alexander Larsson <alexl@redhat.com>
4898 * gio/gfilenamecompleter.[ch]:
4899 Add g_filename_completer_set_dirs_only
4901 2007-10-22 Alexander Larsson <alexl@redhat.com>
4904 * gio/gurifuncs.[ch]:
4905 Add some simple URI helpers
4907 * gio/gfilenamecompleter.[ch]:
4908 Added object for filename (parse name actually) completion
4911 Handle ~ in parse names
4913 2007-10-17 Alexander Larsson <alexl@redhat.com>
4916 * gio/glocalfileinfo.c:
4917 Add and implement id:value attribute
4919 2007-10-17 Alexander Larsson <alexl@redhat.com>
4922 * gio/guniondrive.c:
4924 Add and implement g_drive_has_volumes
4926 2007-10-17 Alexander Larsson <alexl@redhat.com>
4929 * gio/glocalfileinfo.[ch]:
4930 Add unix:is_mountpoint and implement for local files
4932 2007-10-16 Alexander Larsson <alexl@redhat.com>
4934 * gio/gunionvolumemonitor.c:
4935 (g_union_volume_monitor_init):
4936 Fix up the unix type getting so that it works with gcc
4938 2007-10-12 Alexander Larsson <alexl@redhat.com>
4941 * gio/glocalfileinfo.c:
4942 Add thumbnail:failed to file info
4944 2007-10-12 Richard Hult <richard@imendio.com>
4946 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4947 optimizing away the get_type call (happens with some gcc versions,
4948 like the one shipped with OS X 10.4).
4950 2007-10-12 Alexander Larsson <alexl@redhat.com>
4952 * gio/glocalfileinfo.c:
4953 (_g_local_file_info_set_attribute):
4954 Fix build if not HAVE_XATTR
4955 Patch from Milosz Derezynski <internalerror@gmail.com>
4957 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4959 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4960 around for review, otherwise I would have asked you before
4963 2007-10-11 Alexander Larsson <alexl@redhat.com>
4966 Add thumbnail:path attribute
4968 * gio/glocalfileinfo.c:
4969 Implement thumbnail:path for local files
4971 2007-10-11 Alexander Larsson <alexl@redhat.com>
4973 * gio/glocalfileinfo.c:
4974 (_g_local_file_info_get):
4975 Avoid duplicate icon names
4977 2007-10-11 Alexander Larsson <alexl@redhat.com>
4979 * gio/gthemedicon.[ch]:
4980 Change g_themed_icon_get_names return type to const
4982 2007-10-10 Alexander Larsson <alexl@redhat.com>
4984 * gio/glocalfileinfo.c:
4985 Don't reference freed memory
4987 2007-10-10 Alexander Larsson <alexl@redhat.com>
4989 * gio/gfileattribute.c:
4992 * gio/glocalfileinfo.c:
4995 2007-10-10 Alexander Larsson <alexl@redhat.com>
4998 Check for NULL icons
5000 * gio/gfileattribute.c:
5001 Don't dup when getting objects (same as for string attributes)
5003 * gio/gicon.c (g_icon_equal):
5004 Safely handle NULLs in equal
5006 2007-10-10 Alexander Larsson <alexl@redhat.com>
5009 Fix c++ compilation issues
5010 Patch from Milosz Derezynski <internalerror@gmail.com>
5012 2007-10-10 Alexander Larsson <alexl@redhat.com>
5014 * programs/gio-monitor-dir.c:
5015 Don't crash if dir monitor not supported.
5017 2007-10-09 Alexander Larsson <alexl@redhat.com>
5020 Add missing G_END_DECLS
5022 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5024 * gio/gfile.c: (g_file_set_display_name),
5025 (g_file_query_settable_attributes),
5026 (g_file_query_writable_namespaces):
5027 Return NULL not FALSE on errors as the return type is a pointer.
5029 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5031 * gio/glocalfile.c: (g_local_file_monitor_file):
5032 Don't call monitor_file on the default interface vtable (which
5033 is NULL) but simply return NULL. The caller, GFile, will create a
5034 polling monitor if NULL is returned.
5036 2007-10-09 Alexander Larsson <alexl@redhat.com>
5040 * gio-unix-2.0.pc.in:
5041 Add gio-unix-2.0.pc if OS_UNIX
5044 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5046 2007-10-09 Alexander Larsson <alexl@redhat.com>
5048 * gio/gunixmounts.[ch]:
5049 Make unix mount monitoring API sane.
5050 Now its just a object with mounts_changed
5051 and mountpoints_changed signals.
5053 * gio/glocaldirectorymonitor.c:
5054 * gio/gunixvolumemonitor.c:
5055 Use new mount monitor api
5057 2007-10-09 Alexander Larsson <alexl@redhat.com>
5059 * gio/gunixmounts.[ch]:
5060 Move guess type into one call for mounts and one for mountpoints
5063 * gio/gunixvolume.c:
5066 2007-10-09 Alexander Larsson <alexl@redhat.com>
5068 * gio/gunixmounts.[ch]:
5069 Remove _ prefix in preparation to make this semi-public
5070 Hide implementation of structs
5072 * gio/glocaldirectorymonitor.c:
5074 * gio/gunixvolume.c:
5075 * gio/gunixvolumemonitor.c:
5076 Update for above API changes
5078 2007-10-08 Alexander Larsson <alexl@redhat.com>
5081 Better polling fallback. This also handles the case where we have
5082 a monitor_file implementation, but it fails.
5084 2007-10-08 Alexander Larsson <alexl@redhat.com>
5088 * gio/gunixmounts.c:
5089 * programs/gio-monitor-dir.c:
5090 * programs/gio-monitor-file.c:
5091 Added cancellable to file monitoring calls.
5092 These are really sync calls and need this.
5094 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5096 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5097 (g_local_vfs_class_init):
5098 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5099 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5101 2007-10-05 Alexander Larsson <alexl@redhat.com>
5103 * gio/gdirectorymonitorprivate.h:
5104 * gio/gfilemonitorprivate.h:
5105 * gio/gdirectorymonitor.h:
5106 * gio/gfilemonitor.h:
5107 Remove *private.h and move to the public API, so that
5108 we can do implementations outside gio (such as in gvfs)
5110 * gio/gdirectorymonitor.c:
5111 * gio/gfilemonitor.c:
5112 * gio/glocaldirectorymonitor.c:
5113 * gio/gpollfilemonitor.c:
5114 * gio/inotify/inotify-helper.c:
5115 * gio/fam/fam-helper.c:
5116 Update to the new header names
5118 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5120 * gio/gdirectorymonitor.c:
5121 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5124 2007-10-04 Alexander Larsson <alexl@redhat.com>
5126 * gio/glocalfileinfo.c (get_access_rights):
5127 Set CAN_TRASH when we can move the file.
5128 We should really also check for a parent trash dir.
5130 2007-10-04 Alexander Larsson <alexl@redhat.com>
5132 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5133 Add can_trash access attribute
5135 2007-10-04 Alexander Larsson <alexl@redhat.com>
5138 (g_local_file_trash):
5139 Create info file first. This is per-spec and allows
5140 us to actually trash directories.
5142 2007-10-02 Alexander Larsson <alexl@redhat.com>
5144 * gio/gdesktopappinfo.c:
5145 Implement the new mime support code.
5146 Always set app as handling mimetype when being set as default for it
5148 2007-10-01 Alexander Larsson <alexl@redhat.com>
5150 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5151 Fix up check for xattrs:
5153 2007-10-01 Alexander Larsson <alexl@redhat.com>
5156 (g_app_info_set_as_default_for_extension):
5157 (g_app_info_add_supports_type):
5158 (g_app_info_can_remove_supports_type):
5159 (g_app_info_remove_supports_type):
5160 Make these fail nicely if not implemented
5162 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5164 * gio/glocalfileoutputstream.c:
5165 * gio/glocalfileoutputstream.h:
5170 * programs/gio-save.c:
5171 Add a GFileCreateFlags argument to operations that can create
5174 2007-10-01 Alexander Larsson <alexl@redhat.com>
5176 * gio/gappinfo.[ch]:
5177 * gio/gdesktopappinfo.c:
5178 Add more (stubbed out) mime API needed for nautilus
5180 2007-10-01 Alexander Larsson <alexl@redhat.com>
5183 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5184 Add g_app_info_set_as_default_for_extension.
5186 * gio/gdesktopappinfo.c:
5187 Dummy for g_app_info_set_as_default_for_extension
5188 Support flags in g_app_info_create_from_commandline
5190 * gio/gwin32appinfo.c:
5192 Update for API changes
5194 * gio/gthemedicon.c:
5195 Properly NULL-terminate list of icon names
5197 2007-09-28 Alexander Larsson <alexl@redhat.com>
5199 * gio/gloadableicon.h:
5200 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5202 2007-09-28 Alexander Larsson <alexl@redhat.com>
5205 Install headers in $includedir/gio-standalone/
5207 * gio-2.0.pc.in: Added.
5208 * gio-standalone.pc.in: Removed.
5211 Renamed pkg-config file to match glib (for future move)
5212 Update to the new include dir
5215 Add more TODO comments
5217 2007-09-28 Alexander Larsson <alexl@redhat.com>
5219 * gio/gdesktopappinfo.[ch]:
5220 Expose new_from_filename
5221 Add getter for is_hidden and handle it better
5223 2007-09-28 Alexander Larsson <alexl@redhat.com>
5225 * gio/gfileinfo.[ch]:
5226 Rename g_file_size_format_for_display to
5227 g_format_file_size_for_display.
5228 Now it doesn't have the g_file prefix, so we
5229 can later move it to glib.
5231 2007-09-28 Alexander Larsson <alexl@redhat.com>
5233 * gio/gappinfo.[ch]:
5234 Add g_app_info_get_id and g_app_info_get_executable.
5235 Make all getters non-reffing
5236 Make g_app_info_launch take GFile arguments.
5237 Add must_support_uris argument to g_app_info_get_default_for_type.
5239 * gio/gwin32appinfo.c:
5240 Update to GAppInfo api changes
5242 * gio/gdesktopappinfo.c:
5243 Update to GAppInfo api changes
5244 Implement supports_xdg_startup_notify
5246 * gio/gfileicon.c (g_file_icon_get_file):
5247 Make getter non-reffing.
5252 2007-09-27 Alexander Larsson <alexl@redhat.com>
5254 * gio/gfileinfo.[ch]:
5255 Add g_file_size_format_for_display helper
5257 2007-09-27 Alexander Larsson <alexl@redhat.com>
5259 * gio/glocalfileinfo.c:
5260 Set UNIX_GID from gid, not from uid
5262 2007-09-27 Alexander Larsson <alexl@redhat.com>
5265 Add g_file_set_attributes_async
5267 2007-09-27 Alexander Larsson <alexl@redhat.com>
5269 * gio/glocalfile.c (g_local_file_set_display_name):
5270 Fix set_display_name to actually rename to the right place.
5271 Use lstat to look for existing files so we don't overwrite
5274 2007-09-26 Alexander Larsson <alexl@redhat.com>
5277 Add g_file_set_display_name_async()
5279 2007-09-26 Alexander Larsson <alexl@redhat.com>
5282 Add load_partial_contents async calls
5285 Make internal function static
5287 2007-09-26 Alexander Larsson <alexl@redhat.com>
5289 * gio/glocalfileinfo.c:
5290 Correctly detect broken symlinks
5292 2007-09-26 Alexander Larsson <alexl@redhat.com>
5294 * gio/gcancellable.c (g_cancellable_cancel):
5295 Allow cancel on NULL cancellable
5297 2007-09-25 Alexander Larsson <alexl@redhat.com>
5299 * gio/gsimpleasyncresult.c:
5300 Don't allocate g_error manually.
5301 Fixes g_slice/g_new mixup crash
5303 2007-09-25 Alexander Larsson <alexl@redhat.com>
5305 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5306 Actually set active_backend.
5307 This means the monitor will be cancelled correctly.
5309 2007-09-25 Alexander Larsson <alexl@redhat.com>
5311 * gio/gdirectorymonitor.c:
5312 Set timeout to NULL when destroying
5314 2007-09-25 Alexander Larsson <alexl@redhat.com>
5317 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5318 that is a better description of the error.
5320 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5322 * gio/gvfs.c: (g_vfs_get_local):
5323 Make the local vfs variable static. The same instance should
5326 2007-09-24 Alexander Larsson <alexl@redhat.com>
5328 * gio/glocalfileinfo.c:
5329 Pass in actual length read into sniffer, not the length
5332 2007-09-21 Alexander Larsson <alexl@redhat.com>
5334 * gio/gfileenumerator.c:
5337 * gio/gfileinputstream.c:
5338 * gio/gfileoutputstream.c:
5339 * gio/ginputstream.c:
5340 * gio/goutputstream.c:
5341 Don't crash if async callbacks are NULL
5343 2007-09-20 Alexander Larsson <alexl@redhat.com>
5346 Add async enumerate_children method and default
5349 2007-09-20 Alexander Larsson <alexl@redhat.com>
5352 Add g_file_contains_file & g_file_get_relative_path, since they
5353 were needed for nautilus.
5354 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5359 Implement new methods
5361 2007-09-17 Alexander Larsson <alexl@redhat.com>
5364 * gio/gfileinputstream.[ch]:
5365 * gio/gfileoutputstream.[ch]:
5367 * gio/glocalfileenumerator.[ch]:
5368 * gio/glocalfileinfo.[ch]:
5369 * gio/glocalfileinputstream.c:
5370 * gio/glocalfileoutputstream.c:
5371 * gio/gpollfilemonitor.c:
5372 * programs/gio-copy.c:
5373 * programs/gio-info.c:
5374 * programs/gio-move.c:
5375 Rename get_file_info to query_info() to make it clearer
5376 that these are not simple getters, but do i/o.
5378 2007-09-17 Alexander Larsson <alexl@redhat.com>
5380 * gio/gdatainputstream.[ch]:
5381 * gio/test-streams.c:
5382 Use _read_XXX instead of _get_XXX for the i/o calls
5385 2007-09-17 Alexander Larsson <alexl@redhat.com>
5388 Added needed stuff to TODO comment
5390 2007-09-17 Alexander Larsson <alexl@redhat.com>
5392 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5393 Don't error out removing the backup copy if it doesn't
5396 2007-09-14 Alexander Larsson <alexl@redhat.com>
5398 * programs/Makefile.am:
5399 * programs/gvfs-*.c:
5401 Renamed apps from gvfs-xxx to gio-xxx.
5403 2007-09-14 Alexander Larsson <alexl@redhat.com>
5406 * gio/gfileoutputstream.[ch]:
5407 * gio/glocalfileoutputstream.c:
5408 * programs/gvfs-save.c:
5409 g_file_output_stream_get_etag doesn't do i/o, so remove
5410 cancellation and error.
5412 2007-09-14 Alexander Larsson <alexl@redhat.com>
5415 Add new_etag output to replace_contents functions
5417 2007-09-14 Alexander Larsson <alexl@redhat.com>
5419 * gio/gfileoutputstream.[ch]:
5420 Add async get_file_info and default implementation
5422 2007-09-14 Alexander Larsson <alexl@redhat.com>
5424 * gio/gfileinputstream.c:
5425 Implement fallback wrapper for async get_file_info
5427 2007-09-14 Alexander Larsson <alexl@redhat.com>
5430 Add etag out argument to load_contents
5435 2007-09-14 Alexander Larsson <alexl@redhat.com>
5437 * gio/gcontenttype.c (looks_like_text):
5438 Whitespace like tab, cr and lf do not make the
5441 2007-09-14 Alexander Larsson <alexl@redhat.com>
5443 * gio/gfileinputstream.[ch]:
5444 Add async get_file_info.
5446 2007-09-13 Alexander Larsson <alexl@redhat.com>
5448 * gio/goutputstream.c (g_output_stream_write_all):
5449 Allow NULL for bytes_written
5451 2007-09-13 Alexander Larsson <alexl@redhat.com>
5453 * gio/gmemoryinputstream.[ch]:
5454 Add accessors for data
5456 2007-09-13 Alexander Larsson <alexl@redhat.com>
5458 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5459 Don't crash if length is NULL