1 2008-12-09 Alexander Larsson <alexl@redhat.com>
3 Bug 515777 - incorrect date&time on copy
6 (g_local_file_class_init):
10 Change docs about G_FILE_COPY_ALL_METADATA to not mention
13 2008-12-08 Matthias Clasen <mclasen@redhat.com>
15 Bug 558298 – Hide ecryptfs mounts
17 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
18 so that the desktop does not show both the mount and the target
19 directory. Patch by Martin Pitt
21 2008-12-08 Matthias Clasen <mclasen@redhat.com>
23 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
27 * gunixinputstream.[hc]:
28 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
29 including getters and setters. Patch by Maciej Piechotka
31 2008-12-07 Matthias Clasen <mclasen@redhat.com>
33 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
35 * tests/live-g-file.c: Support compilers that don't understand
36 ISO C varargs macros. Patch by Eric Lamarque
38 2008-12-07 Matthias Clasen <mclasen@redhat.com>
40 Bug 526320 – should not list mounts that the user doesn't have
43 gunixmounts.c: Use g_access() to check accessibility of local devices.
46 2008-12-01 Matthias Clasen <mclasen@redhat.com>
48 * === Released 2.19.2 ===
50 2008-12-01 Matthias Clasen <mclasen@redhat.com>
52 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
53 behaviour change, and update the docs instead, to avoid breaking
56 2008-12-01 Matthias Clasen <mclasen@redhat.com>
58 * === Released 2.19.1 ===
60 2008-12-01 Alexander Larsson <alexl@redhat.com>
64 * gunionvolumemonitor.c:
66 Add and document g_mount_is_shadowed plus calls
67 to set/unset a mount as shadowed
69 2008-11-28 Matthias Clasen <mclasen@redhat.com>
71 * gio/tests/g-icon.c: Comment out two failing tests
73 2008-11-28 Matthias Clasen <mclasen@redhat.com>
75 Bug 555486 – No way to recover command line from GAppInfo
78 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
79 by Hans Petter Jansson.
81 * gdesktopappinfo.c: And implement it here.
83 2008-11-28 Christian Dywan <christian@imendio.com>
85 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
87 2008-11-28 Matthias Clasen <mclasen@redhat.com>
89 Bug 559633 – gtk_image_new_from_gicon does not always work for
92 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
93 extensions on icon names. Proposed by Axel von Bertoldi.
95 2008-11-28 Matthias Clasen <mclasen@redhat.com>
97 Bug 548163 – Nautilus displays wrong error message for too long file
100 * glocalfile.c (g_local_file_set_display_name): Correctly set
101 error conditions if the new name is e.g. too long. Reported
102 by Leonardo Ferreira Fontenelle.
104 2008-11-28 Matthias Clasen <mclasen@redhat.com>
106 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
109 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
110 documented and include the line end in the returned string.
111 Pointed out by Paul Pogonyshev.
113 * tests/data-input-stream.c: Fix the read_line test to test the
114 documented behaviour.
116 2008-11-28 Matthias Clasen <mclasen@redhat.com>
118 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
119 files that have been created by g_app_info_create_from_commandline.
121 2008-11-28 Matthias Clasen <mclasen@redhat.com>
123 Bug 541715 – win32 : patch for warnings and signature problems in
126 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
129 2008-11-28 Matthias Clasen <mclasen@redhat.com>
131 Bug 562393 – g_buffered_input_stream_read_byte broken if data
134 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
135 handling of buffered content. Patch by Philip Withnall
137 * tests/buffered-input-stream.c: Add a testcase for this bug.
138 * tests/Makefile.am: And build it
140 2008-11-28 Matthias Clasen <mclasen@redhat.com>
142 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
145 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
146 '/' away. Spotted by Dan Williams.
148 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
150 Bug 561375 – Leaks mountpoint description
152 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
155 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
157 Bug 561352 – Leak of icon description
159 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
162 2008-11-14 Matthias Clasen <mclasen@redhat.com>
164 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
166 2008-11-12 Tor Lillqvist <tml@novell.com>
168 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
170 * win32/gwinhttpvfs.h: Move the set of function pointers to
171 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
172 pointer to that in the GWinHttpVfsClass.
174 * win32/gwinhttpvfs.c: Move the lookup of functions from
175 winhttp.dll into a function of its own, that stores the pointers
176 in a separate GWinHttpDllFuncs variable. Add two bookeeping
177 booleans lookup_done and funcs_found.
179 Don't call g_io_extension_point_implement() to register the
180 winhttp extension unless winhttp.dll has been successfully loaded
181 and the required functions found in it.
183 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
184 winhttp.dll correspondingly.
186 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
188 reviewed by: Alexander Larsson <alexl@redhat.com>
190 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
191 clearer about the behavior when there's no more content to read.
193 2008-10-27 Federico Mena Quintero <federico@novell.com>
195 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
197 2008-10-27 Tor Lillqvist <tml@novell.com>
199 Bug 557592 - Missing include in gwinhttpfile.c
201 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
204 2008-10-24 Matthias Clasen <mclasen@redhat.com>
206 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
208 * fam/fam-helper.c: Fix a memory leak and formatting issues.
209 Reported by Daniel Marjamäki
211 2008-10-23 Matthias Clasen <mclasen@redhat.com>
213 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
215 2008-10-23 Alexander Larsson <alexl@redhat.com>
217 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
220 (_g_local_file_info_get):
221 Don't return the fallback icon (text-x-generic) for all files.
222 This is causing problems with theme icon lookup and custom mime
223 icons, as the generic fallback overrides custom mime icons in
226 This is a slight change as applications might not get an icon wher
227 they previously did. But there is no guarantee to get on neither before
228 or after this change, so it should not break applications. Changes
229 to nautilus and gtk+ will be done to manually use the generic fallback
230 icon if no icon is found, but this is only required for rare cases.
232 2008-10-21 Alexander Larsson <alexl@redhat.com>
235 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
237 2008-10-21 Alexander Larsson <alexl@redhat.com>
239 Bug 555740 - gicon serialization
240 Based on patch from David Zeuthen
244 Add g_icon_to_string() and g_icon_new_for_string().
250 Implement icon serialization for built-in icon types
254 Added GIcon serialization test
256 2008-10-16 Matthias Clasen <mclasen@redhat.com>
258 * === Released 2.19.0 ===
260 2008-10-16 Matthias Clasen <mclasen@redhat.com>
262 Bug 556422 – g_file_enumerator_next_file: unclear whether return
263 value needs to be freed
265 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
266 the return value docs. Pointed out by Armin Burgmeier
268 2008-10-14 Matthias Clasen <mclasen@redhat.com>
270 Bug 556334 – Warning when building without selinux support
272 * glocalfileinfo.c: Avoid compiler warnings when selinux is
273 disabled. Patch by Pascal Terjan
275 2008-10-14 Matthias Clasen <mclasen@redhat.com>
277 Bug 556335 – make check fails in abicheck.sh
279 * gio.symbols: Add g_file_attribute_info_list_get_type.
280 Pointed out by Pascal Terjan.
282 2008-10-13 Alexander Larsson <alexl@redhat.com>
285 When adding an application as handling a mime type (but
286 not as the default), copy the full list of desktop ids handling
287 that type in before adding the new one on the end of the list.
288 This means we're not accidentally changing the default by overriding
289 the info from the later directories in the search path.
291 Also, fixes small leak of removed_entries.
293 2008-10-12 David Zeuthen <davidz@redhat.com>
296 * gunionvolumemonitor.c:
298 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
300 2008-10-10 Alexander Larsson <alexl@redhat.com>
302 * gfileattribute.c (escape_byte_string):
303 Upper half of byte is >> 4, not >> 8.
304 Found by Kjartan Maraas via sparse
306 2008-10-10 Matthias Clasen <mclasen@redhat.com>
308 Bug 555711 – Wrong fallback order of mimetype icons
310 * gcontenttype.c: Don't prefer generic icons over
311 default mimetype icons.
313 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
314 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
316 Patch by Krysztof Kosiński
318 2008-10-10 Matthias Clasen <mclasen@redhat.com>
320 Bug 555121 – Improved build-time handling of gio module-dir
322 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
323 * Makefile.am: Create the module dir.
325 2008-10-10 Matthias Clasen <mclasen@redhat.com>
327 * gio/glocalfileinfo.c:
328 * gio/tests/live-g-file.c:
329 * gio/gsimpleasyncresult.c: Fix gcc warnings.
331 2008-10-09 Alexander Larsson <alexl@redhat.com>
333 * gunixinputstream.c (g_unix_input_stream_read):
334 Actually return -1 in case of cancelled, not old res value.
336 2008-10-06 Colin Walters <walters@verbum.org>
338 Bug 554745 - GFileAttributeInfoList should be boxed
340 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
341 for convenience of bindings.
342 * gio/gfileattribute.h: Prototype it.
344 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
346 Bug 554970 – segfault when update-desktop-database is not available
349 * gdesktopappinfo.c (run_update_command): Have the error set before
352 2008-10-01 David Zeuthen <davidz@redhat.com>
354 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
355 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
356 instead of the gio URI (such as sftp://foo/file.avi) when using
357 g_app_info_launch() and friends. With a sufficiently recent gvfs,
358 apps using gio+gvfs will map the FUSE file:// URI back to the gio
359 URI (and thus bypass the fuse daemon) thanks the patch from bug
360 #530654. Since Nautilus is an user of g_app_info_launch() it
361 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
362 when launced via the file manager. Win. Fixes bug #528670.
364 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
365 mapping to the description of GAppInfo.
367 2008-09-30 Tor Lillqvist <tml@novell.com>
369 * tests/Makefile.am: Build desktop-app-info only on Unix.
371 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
372 g_critical(). Pass a large enough result buffer to
373 GetVolumePathNameW(). Just use MAX_PATH.
375 2008-09-29 David Zeuthen <davidz@redhat.com>
377 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
379 2008-09-26 Dan Winship <danw@gnome.org>
381 * tests/data-input-stream.c:
382 * tests/data-output-stream.c:
383 * tests/live-g-file.c:
384 * tests/memory-input-stream.c:
385 * tests/memory-output-stream.c: Use g_assert_error() and
388 2008-09-26 Matthias Clasen <mclasen@redhat.com>
390 Bug 545350 – GAppInfo deletion
391 Bug 545351 – Reset associations for content type
394 * gappinfo.[hc]: New functions g_app_info_can_delete,
395 g_app_info_delete and g_app_info_reset_type_associations.
398 * gwin32appinfo.c: Implementations of these.
401 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
403 2008-09-26 Dan Winship <danw@gnome.org>
405 Bug 505361 – gunixinputstream.c assumes poll() available
406 Bug 509446 – portable blocking gio cancellation
408 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
409 GPollFD for a cancellable (which is slightly more complicated on
412 * gunixinputstream.c (g_unix_input_stream_read):
413 * gunixoutputstream.c (g_unix_output_stream_write): Use
414 g_cancellable_make_pollfd() and g_poll() rather than using poll()
417 * tests/unix-streams.c: test of GUnixInputStream,
418 GUnixOutputStream, and GCancellable.
420 2008-09-26 Dan Winship <danw@gnome.org>
422 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
423 cast to stop a gcc warning
425 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
428 2008-09-25 Dan Winship <danw@gnome.org>
430 Bug 553426 - cancellable clarifications
432 * gcancellable.c (g_cancellable_class_init): Add a note to the
433 "cancelled" signal docs warning about thread-safety issues
434 (g_cancellable_cancel): Note that cancelling an asynchronous
435 operation takes effect asynchronously, not immediately.
437 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
439 * gioenums.h: Add new GFileCopyFlag, to leave target file with
440 default perms, instead of setting the source file perms, in a copy
443 * gfile.c (g_file_copy_attributes)
444 (build_attribute_list_for_copy)
445 (should_copy): Not copy "unix::mode" attribute if we have received
446 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
448 2008-09-20 Matthias Clasen <mclasen@redhat.com>
450 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
452 2008-09-17 Matthias Clasen <mclasen@redhat.com>
454 * === Released 2.18.1 ===
456 2008-09-16 Michael Natterer <mitch@imendio.com>
458 * gcontenttype.c (g_content_type_guess): can't assign the return
459 value of g_strdupv() to an array. Fill the array manually with
460 const strings instead (it is never freed anyway). Fixes the
461 build. Also fixed indentation.
463 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
465 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
466 Fix trivial typo to unbreak the build (there was a colon
467 instead of a semicolon at the end of a statement).
469 2008-09-15 Matthias Clasen <mclasen@redhat.com>
471 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
474 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
477 2008-09-15 Matthias Clasen <mclasen@redhat.com>
479 Bug 551681 – g_content_type_guess() too naive with filenames
481 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
482 at the end of the filename, and declare it a directory.
483 Patch by Bastien Nocera
485 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
487 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
490 * gdesktopappinfo.c: add a note in the docs clarifying what the
491 "filename" parameter really is.
493 2008-09-12 Tor Lillqvist <tml@novell.com>
495 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
496 FormatMessage() etc here. Call g_win32_error_message() instead
497 which already does all that. Besides, the code was broken as it
498 called the default "A" version of FormatMessage() but still
499 thought it produced a wide string.
501 2008-09-12 Michael Natterer <mitch@imendio.com>
503 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
504 in the documentation.
506 2008-09-08 Christian Neumair <cneumair@gnome.org>
508 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
509 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
510 Use non-blocking pipe for mount helper I/O. Fixes #550647.
512 2008-09-06 Matthias Clasen <mclasen@redhat.com>
514 Bug 551149 – xdgmime mem leak
516 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
517 a memory leak. Patch by Christian Persch
519 2008-09-04 Tor Lillqvist <tml@novell.com>
521 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
524 2008-09-02 Matthias Clasen <mclasen@redhat.com>
526 * === Released 2.18.0 ===
528 2008-09-02 Michael Natterer <mitch@imendio.com>
530 * *.h: big header formatting cleanup: indentation, vtable
531 formatting, consistent spacing in (* vfunc), trailing whitespace
532 removal. Formatting should be pretty consistent in all GIO headers
535 2008-09-02 Matthias Clasen <mclasen@redhat.com>
537 * gmount.h: Document guess_content_type sync vfunc.
539 2008-09-02 Michael Natterer <mitch@imendio.com>
541 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
542 fix parent_class member to be GFilterOutputStreamClass (not
543 GOutputStreamClass). Drop three pointers of padding, which is
544 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
545 so the class struct size stays the same.
547 2008-09-02 Matthias Clasen <mclasen@redhat.com>
549 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
551 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
552 nonexisting return values. Pointed out by Cosimo Cecchi.
554 2008-08-23 Tor Lillqvist <tml@novell.com>
556 Bug 548988 - g_file_replace fails on Windows when the target file
559 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
560 Windows, close the file before potentially renaming it (in case we
561 have been writing to a file with a temporary name).
563 (g_local_file_output_stream_close, handle_overwrite_open): Use
564 GLocalFileStat instead of plain struct stat, for passing to
565 _g_local_file_info_create_etag(). Thus also use _fstati64()
566 instead of plain fstat() on Windows.
568 2008-08-18 Matthias Clasen <mclasen@redhat.com>
570 * === Released 2.17.7 ===
572 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
574 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
577 2008-08-13 Tor Lillqvist <tml@novell.com>
579 * win32/gwinhttpvfs.c
580 * win32/gwinhttpvfs.h
581 * win32/gwinhttpfile.c
582 * win32/gwinhttpfileinputstream.c
583 * win32/gwinhttpfileoutputstream.c: Refactor some common code
584 snippets into helper functions. Check HTTP response status
585 codes. Implement g_winhttp_file_query_info(), looking at
586 Content-Length, Content-Type and Last-Modified.
588 * win32/winhttp.h: Add some symbolic constants that are not
589 publicly documented. Just a handful, so it should be OK to use
590 information from the Windows SDK's headers.
592 2008-08-13 Tor Lillqvist <tml@novell.com>
594 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
597 * win32/gwin32directorymonitor.c
598 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
600 2008-08-13 Matthias Clasen <mclasen@redhat.com>
603 * goutputstream.c: Add intro docs.
605 2008-08-13 Tor Lillqvist <tml@novell.com>
607 * win32/gwinhttpfileoutputstream.c
608 (g_winhttp_file_output_stream_write): Don't write the
609 Content-Length header ourselves, WinHttpSendRequest() takes care
610 of that when the dwTotalLength parameter is non-zero. Increment
611 offset by the number of actual bytes sent, although I wonder if
612 such a scenario is possible where less than requested would be
613 sent and accepted by the server without errors.
615 2008-08-13 Tor Lillqvist <tml@novell.com>
617 * win32/gwinhttpvfs.c
618 * win32/gwinhttpvfs.h
619 * win32/gwinhttpfile.c
620 * win32/gwinhttpfile.h
621 * win32/gwinhttpfileinputstream.c
622 * win32/gwinhttpfileinputstream.h
623 * win32/gwinhttpfileoutputstream.c
624 * win32/gwinhttpfileoutputstream.h: New files implementing
625 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
626 Windows. The implementation uses the WinHttp API. Both reading and
627 writing are supported, i.e. GET and PUT requests. When writing,
628 each write call is done using a separate PUT request with a
629 Content-Range header. Requests for file URIs and plain pathnames
630 are forwarded to GLocalVfs.
632 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
633 WINE. Used as there is no <winhttp.h> bundled with mingw, and
634 requiring people to download the Windows SDK just for this one
635 header is not reasonable.
637 * win32/Makefile.am: Add above files.
639 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
640 the plumbing for the above.
642 2008-08-11 Sven Neumann <sven@gimp.org>
644 * gfilenamecompleter.c
645 * glocaldirectorymonitor.c
647 * gunionvolumemonitor.c
651 * gunixvolumemonitor.c
654 * gwin32volumemonitor.c: use canonical signal names.
656 2008-08-11 Tor Lillqvist <tml@novell.com>
658 * Makefile.am: Put a list of the platform-dependent .la files in
659 the subdirectories in the platform_deps Make variable, and make
660 libgio-2.0.la depend on that, so that it gets relinked if one of
661 the dependent libraries has changed.
663 2008-08-11 Tor Lillqvist <tml@novell.com>
665 * Makefile.am (platform_libadd): Remove -lwininet which had been
666 added by mistake. We will probably eventually be using WinHTTP,
667 not the older WinInet anyway. (Actually I am working on it.)
669 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
671 Bug 547080 – g_file_copy leaks expected errors
673 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
674 before trying the next fallback routine.
676 2008-08-09 Loïc Minier <lool@dooz.org>
678 Bug 535124 – umask 002 not being applied for new directories, new
679 files get the correct umask
681 * gfile.c (g_file_make_directory)
682 (g_file_make_directory_with_parents): Document ownership and
683 permissions of newly created directories as being the default
686 2008-08-08 Loïc Minier <lool@dooz.org>
688 Bug 535124 – umask 002 not being applied for new directories, new
689 files get the correct umask
691 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
694 2008-08-08 Tor Lillqvist <tml@novell.com>
696 * gwin32mount.c: Remove unused code. Whitespace cleanup.
698 * gwin32volumemonitor.c (get_connected_drives): Put questionable
699 code that didn't actually do anything inside #if 0, and add a
700 comment wondering what the code was supposed to do. This also gets
701 rid of a leftover debugging printout.
703 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
705 * gfileicon.c (g_file_icon_get_property)
706 (g_file_icon_set_property): New functions.
707 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
709 (g_file_icon_new): Use the property (bug #546132).
711 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
713 * gthemedicon.c (g_themed_icon_get_property): Also handle
714 `PROP_USE_DEFAULT_FALLBACKS'.
715 (g_themed_icon_class_init): Make
716 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
718 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
720 Bug 546371 – Improve docs re g_file_monitor
722 * gfilemonitor.c: Mention g_file_monitor() in the docs.
724 2008-08-04 Matthias Clasen <mclasen@redhat.com>
726 * === Released 2.17.6 ===
728 2008-08-04 Matthias Clasen <mclasen@redhat.com>
730 * === Released 2.17.5 ===
732 2008-08-04 Matthias Clasen <mclasen@redhat.com>
734 Bug 546017 – Don't copy attributes when copying a symlink
736 * gfile.c (g_file_copy_attributes): Specify
737 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
738 g_file_set_attributes_from_info. Patch by Christian Kellner
740 2008-08-04 Matthias Clasen <mclasen@redhat.com>
742 * gemblemedicon.[hc]:
744 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
745 a bit more extensible. Work by Clemens Buss.
747 * gioenums.h: Add GEmblemOrigin.
750 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
752 Bug 546079 – leak in xdgmime
754 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
756 2008-08-03 Tor Lillqvist <tml@novell.com>
758 * win32/gwin32directorymonitor.h
759 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
762 2008-08-03 Tor Lillqvist <tml@novell.com>
764 * win32/gwin32directorymonitor.c
765 (g_win32_directory_monitor_callback): Make prototype match
766 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
767 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
770 (g_win32_directory_monitor_constructor):
771 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
772 names in the GLib API on Windows, so convert to UTF-16 and open
775 2008-08-03 Tor Lillqvist <tml@novell.com>
777 Bug 541036 - Gnumeric crashes when trying to open Desktop or
778 user's folder under Windows
780 * win32/gwin32directorymonitor.c
781 (g_win32_directory_monitor_constructor): Ignore error from
782 CreateFile() when opening directory. Instead of asserting, just
783 store INVALID_HANDLE_VALUE then in
784 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
785 ReadDirectoryChangesW().
786 (g_win32_directory_monitor_cancel): Don't attempt to close
787 directory handle if it is INVALID_HANDLE_VALUE.
789 2008-08-01 Matthias Clasen <mclasen@redhat.com>
791 * gdesktopappinfo.c: Remove debug spew
793 2008-08-01 Hans Breuer <hans@breuer.org>
795 * makefile.msc : add gemblembedicon
797 2008-07-30 Matthias Clasen <mclasen@redhat.com>
799 Bug 545457 – gdmsetup crashed with SIGSEGV in
800 g_unix_mount_guess_should_display()
802 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
803 crash if no mount is found.
805 2008-07-28 Matthias Clasen <mclasen@redhat.com>
807 Bug 545203 – gfile.c: argument is different type.
809 * gfile.c (open_read_async_thread): Pass a GError **
810 to g_file_set_error_literal.
811 Reported by Kazuki Iwamoto
813 2008-07-28 Matthias Clasen <mclasen@redhat.com>
815 Bug 545157 – wrong/no list of "open with" applications for .cc and
818 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
819 Collect all ancestors, not just direct parents. Pointed
820 out by Bastien Nocera
822 2008-07-28 Matthias Clasen <mclasen@redhat.com>
824 * Makefile.am: Install gemblemedicon.h
826 2008-07-28 Matthias Clasen <mclasen@redhat.com>
828 * gemblemedicon.[hc]: Add a GIcon implementation that can
829 add an emblem to another icon.
836 * gfileicon.c: Small documentation additions.
838 2008-07-28 Tor Lillqvist <tml@novell.com>
840 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
843 2008-07-27 Tor Lillqvist <tml@novell.com>
845 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
847 2008-07-24 David Zeuthen <davidz@redhat.com>
851 Also export a g_mount_guess_content_type_sync() function.
853 2008-07-23 Matthias Clasen <mclasen@redhat.com>
855 529694 – SELinux context setting support
857 * gfileinfo.c: Support setting selinux attributes.
858 Patch by Tomas Bzatek
860 2008-07-22 Priit Laes <plaes@plaes.org>
862 Bug 544140 - fam-helper 64-bit issue?
864 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
866 2008-07-21 Matthias Clasen <mclasen@redhat.com>
868 * === Released 2.17.4 ===
870 2008-07-20 Matthias Clasen <mclasen@redhat.com>
872 * gvolumemonitor.[hc]:
877 * gmount.c: Documentation fixes
879 2008-07-19 Matthias Clasen <mclasen@redhat.com>
881 543504 – crash in Epiphany Web Browser: Opening local file
892 * gvolume.c: Register types thread-safely.
893 Patch by Christian Persch
895 2008-07-18 Matthias Clasen <mclasen@redhat.com>
897 * gcontenttype.c: Remove debug spew
899 2008-07-18 Matthias Clasen <mclasen@redhat.com>
901 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
904 * fen/fen-kernel.c: Remove a warning that was causing
905 crashes. Reported by Lin Ma.
907 2008-07-18 Matthias Clasen <mclasen@redhat.com>
909 Bug 543040 – async reading on dummy file will crash on
912 * gfile.c (open_read_async_thread): Cope with read_fn being
913 NULL. Reported by Lin Ma.
915 2008-07-18 Matthias Clasen <mclasen@redhat.com>
918 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
920 2008-07-16 Matthias Clasen <mclasen@redhat.com>
924 * giomodule.c: Rename a chapter id to avoid filename conflict.
926 2008-07-16 Matthias Clasen <mclasen@redhat.com>
928 Bug 540616 – mem leak in filechooser button
930 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
931 the mount entry. Reported by Chrisitan Persch
933 2008-07-16 Matthias Clasen <mclasen@redhat.com>
935 * gfile.c: Small documentation fixes.
937 2008-07-15 Matthias Clasen <mclasen@redhat.com>
939 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
941 2008-07-08 Matthias Clasen <mclasen@redhat.com>
946 * gmount.c: Documentation improvements.
948 2008-07-08 Matthias Clasen <mclasen@redhat.com>
951 * gmount.[hc]: Add g_mount_guess_content_type().
953 2008-07-06 David Zeuthen <davidz@redhat.com>
956 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
957 is needed for easily handling adoption of foreign volumes by
958 out-of-process volume monitors (#541793)
960 2008-07-06 David Zeuthen <davidz@redhat.com>
962 * gvolumemonitor.[ch]:
963 * gunionvolumemonitor.c: Export the eject-button signal on the
964 volume monitor class (#541794).
966 2008-07-06 Matthias Clasen <mclasen@redhat.com>
968 * gappinfo.c: More doc tweaks
970 2008-07-05 Matthias Clasen <mclasen@redhat.com>
972 * gappinfo.c: Clarify some docs
974 2008-07-03 Matthias Clasen <mclasen@redhat.com>
976 * gdesktopappinfo.c: Fix a stupid mistake.
978 2008-07-02 Matthias Clasen <mclasen@redhat.com>
980 * === Released 2.17.3 ===
982 2008-07-02 Matthias Clasen <mclasen@redhat.com>
984 * gfilemonitor.c: Fix the build.
986 2008-07-02 Matthias Clasen <mclasen@redhat.com>
988 Bug 536160 – Add g_file_monitor()
991 * gfile.[hc]: Add g_file_monitor which can return either
992 a file or a directory monitor. Proposed by Behdad Esfahbod
994 2008-07-02 Matthias Clasen <mclasen@redhat.com>
996 536733 – gio build failure on Irix
998 * glocalfile.c: Use a configure check for structfs.f_bavail.
1000 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1002 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1005 * gdesktopappinfo.[hc]: Add a function to create a
1006 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1008 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1010 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1012 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1014 * gunixmounts.c: Fix a doc typo.
1016 2008-07-01 Cody Russell <bratsche@gnome.org>
1018 * gio/gcontenttype.c:
1019 * gio/gwin32appinfo.c:
1020 * gio/gwin32volumemonitor.c:
1021 * gio/gwin32mount.c: Fixed some include problems.
1023 2008-07-01 Cody Russell <bratsche@gnome.org>
1027 Moved all relevant typedefs into these files.
1030 Updated wrt added files.
1032 Split types into separate file for easier maintainership. (#538564)
1034 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1036 Bug 540331 – g_file_append_to () documentation: can return NULL
1038 * gfile.c (g_file_append_to): Clarify docs.
1039 Patch by Jared Moore
1041 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1043 Bug 539090 – g_content_type_from_mime_type() should unalias
1045 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1046 Patch by Markus Bergman
1048 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1050 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1051 g_atomic_pointer_get
1053 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1054 on ppc and alpha. Reported by Mart Raudsepp
1056 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1058 * tests/Makefile.am:
1059 * tests/memory-output-stream.c: Add some tests for
1060 GMemoryOutputStream.
1062 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1064 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1067 * gmemoryoutputstream.c (array_resize): Handle truncation to
1068 zero correctly. Reported by Akira Tagoh
1070 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1072 * gmemoryoutputstream.c: Trivial doc fixes
1074 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1076 Bug 540802 – g_list_prepend doesn't concat lists
1078 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1079 one list to another. Pointed out by Jan Arne Petersen
1081 2008-06-28 Michael Natterer <mitch@imendio.com>
1083 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1085 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1087 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1088 to avoid problems with partial icon themes.
1090 2008-06-17 Hans Breuer <hans@breuer.org>
1092 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1093 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1094 access again on win32, see bug #538127
1095 * giomodule.c : ensure GWin32VolumeMonitor is registered
1096 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1097 * Makefile.am makefile.msc : updated
1099 2008-06-16 Hans Breuer <hans@breuer.org>
1101 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1102 and initialization in one step avoids c99ism
1104 2008-06-16 Christian Persch <chpe@gnome.org>
1107 * gio/gbufferedinputstream.c
1108 * gio/gcancellable.c
1109 * gio/gdatainputstream.c
1110 * gio/gdesktopappinfo.c
1112 * gio/gfileenumerator.c
1113 * gio/gfileinputstream.c
1114 * gio/gfileoutputstream.c
1115 * gio/ginputstream.c
1116 * gio/glocaldirectorymonitor.c
1118 * gio/glocalfileenumerator.c
1119 * gio/glocalfileinfo.c
1120 * gio/glocalfilemonitor.c
1121 * gio/glocalfileoutputstream.c
1122 * gio/gmemoryinputstream.c
1123 * gio/gmemoryoutputstream.c
1124 * gio/goutputstream.c
1125 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1128 2008-06-16 Tor Lillqvist <tml@novell.com>
1130 Bug 538362 - Get Win32 icons back in the file chooser
1132 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1133 corresponding to a file extension in the Registry. Patch by Hans
1135 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1137 2008-06-16 Tor Lillqvist <tml@novell.com>
1139 Patches by Hans Breuer:
1141 * glocalfile.c (is_xp_or_later): Handle compiling against older
1142 SDK headers with missing VerifyVersionInfo(). Conditioned on
1143 _MSC_VER, but should probably use some better test.
1144 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1145 uninitialised statfs_result variable on Win32.
1147 2008-06-16 Michael Natterer <mitch@imendio.com>
1149 * *.c: chain up unconditionally in finalize() and dispose(). Also
1150 don't dereference these function pointers when calling them since
1151 that has no meaning at all.
1153 2008-06-16 Ross Burton <ross@burtonini.com>
1155 * gfileenumerator.c:
1156 Remove check for dispose implementation as it annoys Emmanuele.
1158 2008-06-16 Ross Burton <ross@burtonini.com>
1160 Bug 536252 – GFileEnumerator should allow access to the containing
1163 * gfileenumerator.c:
1164 * gfileenumerator.h:
1166 Add g_file_enumerator_get_container() and a container writeable
1167 construct-only property. Also shuffle around typedefs to make it
1170 * glocalfileenumerator.c:
1171 * glocalfileenumerator.h:
1173 Instead of a string filename take a GFile in the constructor and
1174 use it to set the container property.
1177 Update with new API.
1179 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1181 * gfile.c: Make includes more uniform
1183 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1185 * tests/live-g-file.c (sample_struct):
1186 Use less fancy unicode filenames, so the test doesn't fail
1187 on Mac OS X (#531476).
1189 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1191 * === Released 2.17.2 ===
1193 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1195 * === Released 2.17.1 ===
1197 2008-06-11 A. Walton <awalton@gnome.org>
1199 * tests/g-file.c (test_g_file_new_null):
1200 Fix broken test case.
1202 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1204 * pltcheck.sh: We use g_clear_error now.
1206 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1208 * glocalfile.c (g_local_file_enumerate_children): Revert
1209 an unintended change.
1211 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1213 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1215 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1217 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1220 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1221 as icon for the desktop directory, also make user-home and
1222 user-desktop the preferred icons.
1224 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1227 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1228 to add a name to the front of the list.
1230 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1232 Bug 537392 – Additional colon in xattr name
1234 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1235 too. Reported by Alessandro Morandi
1237 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1239 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1242 * glocalfile.c (get_fs_type): Add afs and autofs.
1243 Patch by Danny Baumann.
1245 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1247 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1249 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1250 is no parent. (Owen Taylor, patch by Christian Neumair)
1252 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1254 * gfile.c (g_file_replace_contents): do not leak the output stream.
1256 2008-06-10 Michael Natterer <mitch@imendio.com>
1258 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1259 uninitialized memory as array index.
1261 2008-06-10 Tor Lillqvist <tml@novell.com>
1263 * gcontenttype.c (g_content_type_can_be_executable)
1264 (g_content_type_get_icon) [Win32]: Add TODO comments.
1266 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1268 * xdgmime/Makefile.am: Fix the build
1270 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1272 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1273 in the shared mime database, if available.
1275 * xdgmime/*: Sync with upstream. This brings support for
1276 glob weights, generic icons, and changes the cache format to
1279 2008-05-28 Michael Natterer <mitch@imendio.com>
1281 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1282 the global CPPFLAGS now.
1284 * tests/data-input-stream.c
1285 * tests/data-output-stream.c
1286 * tests/g-file-info.c
1288 * tests/live-g-file.c
1289 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1291 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1293 * === Released 2.17.0 ===
1295 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1296 doesn't complain about leftover files.
1298 2008-05-27 simon.zheng <simon.zheng@sun.com>
1300 * glocalfile.c: (g_local_file_query_filesystem_info):
1301 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1303 2008-05-26 Michael Natterer <mitch@imendio.com>
1305 * gmemoryoutputstream.h: declare
1306 g_memory_output_stream_get_data_size().
1308 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1310 * tests/*: Make tests work
1312 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1314 * gio.symbols: Add g_memory_output_stream_get_data_size.
1316 2008-05-25 Ross Burton <ross@burtonini.com>
1319 Fix typo in error message (#534764).
1321 2008-05-25 Ross Burton <ross@burtonini.com>
1324 Fix circular dependency loop for gioenumtypes.h (#534759).
1326 2008-05-19 Hans Breuer <hans@breuer.org>
1328 * Makefile.am : EXTRA_DIST += makefile.msc
1330 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1333 * gcontenttype.c: (g_content_type_from_mime_type):
1334 New function to create a content type from a mime type. (#527175,
1337 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1339 Bug 532965 – Should not return filesystem::free for certain file systems
1341 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1342 free space for ncpfs.
1344 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1346 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1348 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1349 st_dev might be zero.
1351 2008-05-16 Tor Lillqvist <tml@novell.com>
1353 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1354 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1356 2008-05-13 Bastien Nocera <hadess@hadess.net>
1358 * gfile.c (has_valid_scheme): A URI scheme must start with a
1359 letter, even if later more characters are allowed (#532852)
1361 2008-05-05 Michael Natterer <mitch@imendio.com>
1363 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1364 code from being checked in that breaks the build of applications
1365 which use G_DISABLE_SINGLE_INCLUDES.
1367 * makegioalias.pl: make the alias file include "glib.h" instead of
1370 * gio.symbols: whitespace change to force regeneration of the
1371 alias file after above script change.
1373 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1375 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1377 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1379 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1381 2008-04-28 David Zeuthen <davidz@redhat.com>
1383 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1384 displaying mounts in a subdirectory not accessible to the
1387 2008-04-22 Michael Natterer <mitch@imendio.com>
1389 * Makefile.am: fix library versioning (it was 0.0.0).
1391 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1393 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1394 Default disable all loggings.
1395 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1396 (port_fetch_event_cb): Fixed two macro nits.
1398 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1400 * xdgmime/xdgmime.c: Rework the timestamp checking code
1401 to protect against duplicate directories in XDG_DATA_DIRS.
1402 Fixes fd.o bug 12513, reported by Joe Shaw.
1404 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1406 Partically revert the last commit after realizing that
1407 xdg_mime_media_type_equal doesn't have to init at all.
1409 * xdgmime/xdgmime.h:
1410 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1412 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1414 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1416 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1417 reported by Joe Shaw and Federico Mena Quintero.
1419 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1420 (xdg_mime_media_type_equal): Turn into a wrapper around the
1423 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1424 functions throughout.
1426 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1428 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1429 tolerate an empty TryExec= line without failing; nautilus used
1430 to create launchers with these in previous versions. Fixes #528433
1432 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1434 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1435 after name. Fixes #527132.
1437 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1439 * gfile.c: (g_file_replace):
1442 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1444 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1446 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1447 by Christian Kellner.
1449 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1451 * gunixmounts.c: (g_unix_mount_guess_should_display):
1452 Don't list the user directory as a mount, fix potential issue
1453 when other users have a similar naming and don't special case the
1454 gvfs mounts there since that's not required (#525866)
1456 2008-03-31 Alexander Larsson <alexl@redhat.com>
1458 * glocalfile.c (get_parent):
1461 2008-03-31 A. Walton <awalton@svn.gnome.org>
1463 * gfile.c (g_file_query_file_type):
1464 Always return a GFileType enum value (#520715).
1466 2008-03-31 Alexander Larsson <alexl@redhat.com>
1468 * glocalfileenumerator.c:
1469 Read readdir() info in chunks (of 1000) and sort
1470 the chunks by inode before stat:ing.
1471 This is a 20% performance increase in testing
1472 gvfs-ls on /usr/bin with cold cache.
1474 2008-03-31 Alexander Larsson <alexl@redhat.com>
1476 * gmemoryoutputstream.c:
1477 Clarify docs for g_memory_output_stream_get_size.
1478 Add g_memory_output_stream_get_data_size.
1480 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1484 * gfile.h: Add g_file_query_file_type convenience function
1485 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1487 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1489 * gfileenumerator.c:
1490 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1492 2008-03-28 A. Walton <awalton@svn.gnome.org>
1494 * giomodule.c (_g_io_modules_ensure_loaded):
1495 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1498 2008-03-28 Alexander Larsson <alexl@redhat.com>
1501 (copy_stream_with_progress):
1504 2008-03-28 Alexander Larsson <alexl@redhat.com>
1507 (copy_stream_with_progress):
1508 (file_copy_fallback):
1509 Fallback to g_file_query_info for source size
1510 if g_file_input_stream_query_info fails. (#524579)
1512 2008-03-28 Alexander Larsson <alexl@redhat.com>
1514 * glocalfile.c (g_local_file_move):
1515 Reuse old string instead of adding new one.
1517 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1519 * fen/*.[hc]: still copyright issue. I hate copyright.
1521 2008-03-27 Alexander Larsson <alexl@redhat.com>
1523 * glocalfile.c (g_local_file_move):
1524 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1525 file over directory. This is according to the docs and what the move via
1526 copy+remove fallback does.
1528 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1530 * fen/*.[hc]: Updated copyright.
1532 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1534 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1536 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1538 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1539 not emit attribute changed events when optimizing changed events.
1540 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1543 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1545 * gmountoperation.[hc]: Small documentation additions
1547 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1549 * gunixmounts.c: (guess_mount_type):
1550 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1552 2008-03-19 Alexander Larsson <alexl@redhat.com>
1555 (copy_stream_with_progress):
1556 Bump block side for copy to 64k to minimize
1557 overhead for low latency links. (#523015)
1559 2008-03-16 Tor Lillqvist <tml@novell.com>
1561 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1562 depend on gio.def on Windows.
1564 2008-03-12 David Zeuthen <davidz@redhat.com>
1568 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1570 2008-03-14 Alexander Larsson <alexl@redhat.com>
1574 Avoid redudant tests (#521851)
1575 Patch from Josselin Mouette
1577 2008-03-14 Alexander Larsson <alexl@redhat.com>
1580 (g_file_monitor_is_cancelled):
1581 Fix C89 issue (#521672)
1582 Patch from Jens Granseuer
1584 2008-03-14 Alexander Larsson <alexl@redhat.com>
1586 * fam/fam-helper.[ch]:
1588 Shut down fam (including removing fam GSource) when
1589 module is unloaded (#521513)
1590 Patch from Joe Marcus Clarke
1592 2008-03-14 Alexander Larsson <alexl@redhat.com>
1595 (_g_io_modules_ensure_loaded):
1598 2008-03-14 Alexander Larsson <alexl@redhat.com>
1601 (g_local_file_query_filesystem_info):
1602 Use right define name for f_fstypename member check
1604 2008-03-14 Alexander Larsson <alexl@redhat.com>
1607 * fen/Makefile.am: Added.
1608 * fen/fen-data.[ch]: Added.
1609 * fen/fen-dump.[ch]: Added.
1610 * fen/fen-helper.[ch]: Added.
1611 * fen/fen-kernel.[ch]: Added.
1612 * fen/fen-missing.[ch]: Added.
1613 * fen/fen-node.[ch]: Added.
1614 * fen/fen-sub.[ch]: Added.
1615 * fen/gfendirectorymonitor.[ch]: Added.
1616 * fen/gfenfilemonitor.[ch]: Added.
1618 Added Solaris FEN file notification backend.
1619 Patch from Lin Ma <Lin.Ma@Sun.COM>
1621 2008-03-13 Tor Lillqvist <tml@novell.com>
1623 * Makefile.am: Actually use the gio.def file when linking the
1624 library on Windows. Produce .lib library for Microsoft's toolchain
1625 when possible. Install the .lib and .def file like for the other
1628 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1630 * tests/live-g-file.c:
1631 Include live-g-file in standard set of tests, making a temporary
1632 directory in source structure.
1634 Clean target directory before the tests (write mode only)
1636 2008-03-12 Tor Lillqvist <tml@novell.com>
1638 Bug 517419 - gio win32 directory monitor
1639 Implementation by Vlad Grecescu.
1642 * win32/gwin32directorymonitor.h
1643 * win32/gwin32directorymonitor.c: New files.
1645 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1647 * Makefile.am: Add the win32 subdirectory.
1649 2008-03-12 Tor Lillqvist <tml@novell.com>
1651 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1652 normal struct stat on Unix but struct _stati64 on Windows to have
1653 access to 64-bit file size information. Use that instead of struct
1654 stat in the functions declared here in this private header.
1656 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1657 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1658 warnings about unused functions and variables. Don't set
1659 meaningless attributes like inode numbers on Windows.
1661 2008-03-12 Benjamin Otte <otte@gnome.org>
1664 trim whitespace so gtk-doc groks the function name
1666 2008-03-12 Tor Lillqvist <tml@novell.com>
1668 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1669 returning FALSE, on Win32.
1671 2008-03-11 Alexander Larsson <alexl@redhat.com>
1674 * glocalfileinfo.[ch]:
1675 Correctly implement can_trash by actually
1676 looking for a trash dir, not just assuming
1679 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1681 * === Released 2.16.1 ===
1683 2008-03-11 Alexander Larsson <alexl@redhat.com>
1686 Fix crashes in new constructor and properties code
1688 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1690 * gfile.c: Minor spelling correction in documentation:
1691 existance -> existence.
1693 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1695 * === Released 2.16.0 ===
1697 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1699 * gio.symbols: Remove g_file_contains_file here, too.
1701 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1703 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1704 Samuel Cormier-Iijima)
1706 2008-03-08 Tor Lillqvist <tml@novell.com>
1708 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1711 2008-03-07 Alexander Larsson <alexl@redhat.com>
1714 (g_local_file_query_filesystem_info):
1715 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1716 Patch from Jasper Lievisse Adriaanse
1718 2008-03-06 Tor Lillqvist <tml@novell.com>
1720 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1721 comments for the *_USEC attributes.
1723 2008-03-06 Alexander Larsson <alexl@redhat.com>
1725 * gfile.c (g_file_query_exists):
1726 Add g_return_val_if_fail check (#520700)
1728 2008-03-06 Alexander Larsson <alexl@redhat.com>
1730 * gdesktopappinfo.c:
1733 * gunionvolumemonitor.c:
1736 * tests/live-g-file.c:
1737 * xdgmime/xdgmimecache.c:
1738 Fix sparse warnings (#519489)
1740 2008-03-05 Alexander Larsson <alexl@redhat.com>
1743 Make cancellation threadsafe (i.e.
1744 guarantee its only done once, and always
1747 * glocaldirectorymonitor.c:
1748 Make sure we the monitor lives while the
1749 mounts_changed callback is being called (#520484)
1751 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1753 * gbufferedinputstream.c: Fix typo in parameter
1756 2008-03-04 Alexander Larsson <alexl@redhat.com>
1759 Remove deprecated symbols we kept for one release.
1761 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1764 * goutputstream.c: Tiny documentation corrections.
1766 2008-03-03 Alexander Larsson <alexl@redhat.com>
1768 * gunionvolumemonitor.c:
1770 Fix the adopt_orphan_mount vfunc to take a
1771 volume_monitor reference in an ABI compat way.
1772 This change is not API compat, but the added
1773 arg is not used in the only user of this vfunc, so
1774 all we get is a harmless warning in gvfs (#520169)
1776 2008-03-01 Benjamin Otte <otte@gnome.org>
1779 clarify docs for g_file_delete().
1781 2008-02-29 Alexander Larsson <alexl@redhat.com>
1785 Make sure empty files get text/plain type (#518720)
1787 2008-02-27 Alexander Larsson <alexl@redhat.com>
1793 (g_unix_volume_mount):
1794 Add missing GMountMountFlags argument
1796 2008-02-26 Alexander Larsson <alexl@redhat.com>
1799 (g_local_file_delete):
1800 Handle filesystems (like ntfs-3g) that return EEXIST instead
1801 of ENOTEMPTY (#518816)
1803 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1805 * === Released 2.15.6 ===
1807 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1809 * gfile.c (g_file_find_enclosing_mount):
1810 * ginputstream.c (g_input_stream_set_pending):
1811 * glocalfile.c (g_local_file_find_enclosing_mount):
1812 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1813 * goutputstream.c (g_output_stream_set_pending):
1815 Fixup translator comments (#518578).
1817 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1819 * gfile.c (g_file_find_enclosing_mount):
1821 * glocalfile.c (g_local_file_find_enclosing_mount):
1824 Fix a few typos in translator comments and documentation.
1826 2008-02-25 Alexander Larsson <alexl@redhat.com>
1833 Add translator comments (#518578)
1835 2008-02-25 Alexander Larsson <alexl@redhat.com>
1838 Reintroduce g_file_contains_file, keep around for one
1839 unstable release cycle to avoid crashing to many apps.
1840 Make sure to delete after release.
1842 2008-02-25 Alexander Larsson <alexl@redhat.com>
1845 Remove deprecated g_file_contains_file.
1847 2008-02-25 Alexander Larsson <alexl@redhat.com>
1850 Emit actual change signals in an idle handler.
1851 This avoids reentrance and locking problems in
1852 the file notification backends.
1854 2008-02-25 Alexander Larsson <alexl@redhat.com>
1857 (g_unix_mount_guess_should_display):
1858 Remove type guessing, instead just display
1859 mounts in /media and in ~/.
1861 2008-02-25 Alexander Larsson <alexl@redhat.com>
1864 Make new strings reuse old ones.
1866 2008-02-25 Alexander Larsson <alexl@redhat.com>
1869 Implement trashing and filesystem::readonly for win32 (#517235)
1870 Patch from Yevgen Muntyan
1872 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1874 * gfileinfo.h: Documentation fixes.
1876 2008-02-22 Alexander Larsson <alexl@redhat.com>
1878 * gcontenttype.c (g_content_type_get_icon):
1879 Look at old-style gnome mime icon names too, as many
1880 have not moved to the new style.
1882 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1884 * *.c: Correct the @include in for section docs.
1886 2008-02-21 David Zeuthen <davidz@redhat.com>
1888 * glocalfileinfo.c: (_g_local_file_info_get):
1890 (g_content_type_get_icon): Implement this function by
1891 moving bits from glocalfileinfo.c
1892 (g_content_type_get_description): Unalias before getting
1893 description (#517687)
1895 * gfile.c: (g_file_class_init),
1896 (g_file_query_filesystem_info_async),
1897 (g_file_query_filesystem_info_finish),
1898 (query_filesystem_info_data_free),
1899 (query_filesystem_info_async_thread),
1900 (g_file_real_query_filesystem_info_async),
1901 (g_file_real_query_filesystem_info_finish):
1902 * gfile.h: Implement async version of
1903 g_file_query_filesystem_info()
1905 * gfileinfo.h: Add new attributes for filesystem::use-preview
1907 * gio.symbols: Update
1909 * gthemedicon.c: (g_themed_icon_append_name):
1910 * gthemedicon.h: Add new new convenience function.
1912 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1913 (get_mounts), (get_volumes), (get_connected_drives),
1914 (get_volume_for_uuid), (get_mount_for_uuid),
1915 (g_union_volume_monitor_init), (populate_union_monitor),
1916 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1917 (g_volume_monitor_adopt_orphan_mount):
1919 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1920 monitor implementations to call into the main volume monitor. Also
1921 separate object initialization and volume monitor initialization
1922 such that non-native volume monitors can properly adopt their
1925 2008-02-21 Alexander Larsson <alexl@redhat.com>
1930 2008-02-21 Alexander Larsson <alexl@redhat.com>
1933 Add more documentation about how GFiles work (from #517086)
1935 2008-02-21 Alexander Larsson <alexl@redhat.com>
1939 Add new g_file_has_prefix that does the same as g_file_contains_file.
1940 Deprecate g_file_contains_file and add a macro that converts
1941 it to g_file_has_prefix.
1942 The reason for this change is that the contains_file() name seems to
1943 imply that this does more work than what it does, but its really only
1944 a name match (from #517086)
1949 Update to match the above change.
1951 2008-02-20 Benjamin Otte <otte@gnome.org>
1953 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1954 (g_file_eject_mountable):
1955 even more cases of not returning in error path
1957 2008-02-20 Benjamin Otte <otte@gnome.org>
1959 * gfile.c: (g_file_mount_mountable):
1960 return from function in error path.
1962 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1965 Remove trailing coma in GMountMountFlags struct
1967 2008-02-18 Alexander Larsson <alexl@redhat.com>
1971 * glocalfileoutputstream.c:
1972 Use g_unlink/g_rename instead of unlink/rename;
1973 do not pass raw filenames to g_set_error. (#517239)
1974 Patch from Yevgen Muntyan.
1976 2008-02-18 Alexander Larsson <alexl@redhat.com>
1979 * glocalfileoutputstream.c:
1980 Open files with O_BINARY on windows. (#517140)
1982 2008-02-14 Alexander Larsson <alexl@redhat.com>
1984 * glocalfileoutputstream.c:
1985 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1987 2008-02-14 Alexander Larsson <alexl@redhat.com>
1990 Copy permissions with file on copy (#514084)
1991 This is what cp does and makes sure e.g. the
1992 exec permissions are kept.
1993 Its kinda weird in that it keeps the permission bits
1994 the same while the uid and gid are different. However
1995 the new uid is the user so its not a security issue,
1996 and I've heard no complaints about cp on this issue.
1998 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2000 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2002 2008-02-13 Alexander Larsson <alexl@redhat.com>
2004 * inotify/inotify-path.c:
2005 Define IN_ONLYDIR if not in header (#515346)
2007 2008-02-12 Alexander Larsson <alexl@redhat.com>
2009 * tests/live-g-file.c:
2012 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2014 * === Released 2.15.5 ===
2016 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2018 * gio.symbols: Add g_mount_mount_flags_get_type.
2020 2008-02-11 Alexander Larsson <alexl@redhat.com>
2023 (g_file_info_set_attribute_mask):
2024 (g_file_attribute_matcher_matches_id):
2025 Correctly handle NULL GAttributeMatcher meaning
2026 matches nothing. (Fixes #513492)
2028 2008-02-11 Alexander Larsson <alexl@redhat.com>
2033 Added GMountMountFlags enum and added a flags
2034 argument to all mount calls.
2036 This is an API/ABI change for future extensibility,
2037 as I think we will need at least an
2038 inhibit-autorun flag (the panel needs this).
2039 There are no flags defined yet though.
2041 2008-02-11 Alexander Larsson <alexl@redhat.com>
2044 Added new standard::description attribute.
2045 Requested by Vincent, and useful for both
2048 2008-02-11 Alexander Larsson <alexl@redhat.com>
2050 * gdesktopappinfo.c:
2053 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2055 * *.c: Documentation additions
2057 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2059 * gappinfo.h: Formatting cleanup
2060 * gappinfo.c: Fix up docs.
2062 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2064 * gunixmounts.c: Consistently use getmntent_r() and fall
2065 back to getmntent(). (#515492)
2067 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2069 * gbufferedinputstream.c:
2071 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2073 * tests/data-input-stream.c:
2074 * tests/data-output-stream.c: Portability fixes.
2076 2008-02-08 Alexander Larsson <alexl@redhat.com>
2081 Add g_volume_should_automount.
2084 2008-02-07 Tor Lillqvist <tml@novell.com>
2086 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2087 Win32, too Unix-specific.
2089 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2091 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2092 a local plt if the compiler doesn't support what we want. Bug #514702
2094 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2096 reviewed by: <delete if not using a buddy>
2099 * gunixinputstream.c:
2100 * gunixoutputstream.c:
2102 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2104 * tests/Makefile.am:
2105 * tests/live-g-file.c:
2106 * tests/live-g-file.txt:
2107 New GIO testing module working over real data
2109 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2111 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2112 Fallback to rename() if link() is not available
2113 (when no support on target filesystem)
2115 2008-02-06 Michael Natterer <mitch@imendio.com>
2117 * gfileinfo.c (g_file_info_get_icon): replace
2118 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2120 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2122 * gfile.c (g_file_create):
2123 Documentation update of error codes
2125 2008-02-06 Alexander Larsson <alexl@redhat.com>
2127 * gdesktopappinfo.c:
2128 Update to use both mimeapps.list and
2129 defaults.list as discussed on xdg list.
2131 2008-02-06 Benjamin Otte <otte@gnome.org>
2134 * gfilenamecompleter.c:
2135 Fix some typos in the documentation.
2137 2008-02-06 Alexander Larsson <alexl@redhat.com>
2139 * glocalfile.c (g_local_file_trash):
2140 Don't succeed with trash if newly created
2141 trash dir has the wrong owner. (#514696)
2143 2008-02-05 Alexander Larsson <alexl@redhat.com>
2145 * glocalfile.c (g_local_file_move):
2146 Don't spew warnings when destination is not
2149 2008-02-03 Hans Breuer <hans@breuer.org>
2151 * makefile.msc : update
2153 2008-02-01 Michael Natterer <mitch@imendio.com>
2155 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2156 return value of xdg_mime_list_mime_parents() to a variable of the
2159 2008-02-01 Alexander Larsson <alexl@redhat.com>
2161 * gappinfo.c (g_app_info_launch_uris):
2162 Actually call the launch_uris method, not
2165 2008-02-01 Alexander Larsson <alexl@redhat.com>
2167 * gdesktopappinfo.c (g_desktop_app_info_equal):
2168 Ensure appinfos with no id but same pointer value
2171 2008-02-01 Alexander Larsson <alexl@redhat.com>
2173 * gappinfo.c (g_app_info_launch_default_for_uri):
2176 2008-02-01 Alexander Larsson <alexl@redhat.com>
2180 Add g_app_info_launch_default_for_uri utility
2183 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2185 * gdesktopappinfo.c:
2186 Doc fix for g_app_info_get_default_for_uri_scheme ()
2189 2008-01-30 Alexander Larsson <alexl@redhat.com>
2192 Add doc comment about uris vs GFiles to
2195 * gdesktopappinfo.c:
2196 Ensure uris passed to g_app_info_launch_uris()
2197 are not roundtriped through GFile (as that
2198 may be slightly destructive for e.g. mailto: links)
2200 2008-01-30 Alexander Larsson <alexl@redhat.com>
2202 * tests/data-input-stream.c:
2203 * tests/data-output-stream.c:
2204 C89 fixes from Jens Granseuer (#512849)
2206 2008-01-30 Alexander Larsson <alexl@redhat.com>
2209 Fix gamin/fam difference build issue. (#509419)
2211 2008-01-29 Alexander Larsson <alexl@redhat.com>
2214 * gdesktopappinfo.c:
2215 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2217 2008-01-29 Alexander Larsson <alexl@redhat.com>
2219 * gdesktopappinfo.c:
2220 * gdesktopappinfo.h:
2221 giomodule-priv.h include moved to .c file.
2223 2008-01-29 Alexander Larsson <alexl@redhat.com>
2225 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2226 Remove unused prio/name fields.
2228 2008-01-29 Alexander Larsson <alexl@redhat.com>
2230 * gcontenttype.c (looks_like_text):
2231 Don't treat whitespace as control chars.
2233 2008-01-29 Alexander Larsson <alexl@redhat.com>
2235 * gdesktopappinfo.c:
2236 Lazily create the desktop files for appinfos created
2237 by g_app_info_create_from_commandline() when needed
2238 for mime associations. This allows run-time use
2239 of GAppInfo object without creating unnecessary
2242 2008-01-29 Alexander Larsson <alexl@redhat.com>
2245 Added new symbols to gio.symbols
2247 2008-01-29 Alexander Larsson <alexl@redhat.com>
2250 Add g_file_query_default_handler utility to easily look up
2251 the GAppInfo that handles a file.
2253 * gdesktopappinfo.[ch]:
2255 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2258 Remove unused function
2260 2008-01-29 Alexander Larsson <alexl@redhat.com>
2262 * gfileenumerator.c:
2263 Mention need to free returned value in
2264 g_file_enumerator_next_files_finish docs.
2265 Fix leak if g_file_enumerator_next_files_finish()
2268 2008-01-29 Alexander Larsson <alexl@redhat.com>
2271 (_g_unix_content_type_get_parents):
2272 Use list_parents, not get_parents from xdgmime, because
2273 the later doesn't use the cache.
2275 * xdgmime/xdgmimecache.c:
2276 (_xdg_mime_cache_list_mime_parents):
2277 Don't list the same type as parent multiple times.
2279 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2281 * === Released 2.15.4 ===
2283 2008-01-28 Alexander Larsson <alexl@redhat.com>
2286 Register local vfs with prio 0.
2289 Remove old name and prio class members
2291 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2293 * tests/g-file.c: Disable some tests that are failing in
2294 the absence of a http backend.
2296 2008-01-28 Alexander Larsson <alexl@redhat.com>
2300 Add registration hooks for extension points.
2301 Register the gio extension points.
2303 * fam/gfamdirectorymonitor.c:
2304 * fam/gfamfilemonitor.c:
2305 * glocaldirectorymonitor.[ch]:
2306 * glocalfilemonitor.[ch]:
2307 * gnativevolumemonitor.h:
2308 * gunionvolumemonitor.c:
2309 * gunixvolumemonitor.c:
2312 * inotify/ginotifydirectorymonitor.c:
2313 * inotify/ginotifyfilemonitor.c:
2314 Use the extension points registration instead
2315 of g_type_children().
2317 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2320 * gvolume.[hc]: Document new API.
2322 * gfile.c (g_file_copy_async): Fix docs
2324 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2326 * gbufferedinputstream.c:
2328 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2331 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2333 * glocalfile.c: Avoid trivial differences in translatable strings.
2335 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2337 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2338 build with gcc 3.4 (#509419)
2340 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2342 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2343 (#509994, Murray Cumming)
2345 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2347 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2348 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2349 this allows big jobs to be executed in chunks, instead of blocking
2350 the main loop for a long time.
2352 * gsimpleasyncresult.c:
2353 * giofile.c: Adapt callers.
2355 2008-01-25 Alexander Larsson <alexl@redhat.com>
2357 * gdesktopappinfo.c:
2358 Implement changes discussed on xdg list.
2359 Now we can add supported mimetypes by just using defaults.list
2360 We can also remove associations in defaults.list.
2362 2008-01-25 Alexander Larsson <alexl@redhat.com>
2364 * gdesktopappinfo.c:
2365 Don't make local copy of desktop file
2366 for mimetype changes if the file already
2367 supports the new mimetype.
2369 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2373 * gbufferedinputstream.c:
2374 * glocalfile.c: String improvements. (#511966,
2375 Theppitak Karoonboonyanan)
2377 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2379 * gioscheduler.h: Expand docs a bit.
2381 2008-01-24 Alexander Larsson <alexl@redhat.com>
2384 Add g_drive_get_identifier and
2385 g_drive_enumerate_identifiers
2388 Add g_volume_get_identifier and
2389 g_volume_enumerate_identifiers
2395 Implement identifiers for unix backend
2397 2008-01-24 Alexander Larsson <alexl@redhat.com>
2402 Add g_file_copy_async() (#511580)
2403 Based on patch from Carlos Garcia Campos
2405 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2407 * gioscheduler.c: Some documentation additions.
2409 2008-01-22 Alexander Larsson <alexl@redhat.com>
2411 * gdesktopappinfo.c:
2412 (g_desktop_app_info_new):
2413 Don't leak basename.
2415 2008-01-22 Alexander Larsson <alexl@redhat.com>
2417 * gdesktopappinfo.c:
2418 (g_desktop_app_info_new_from_filename):
2421 2008-01-22 Alexander Larsson <alexl@redhat.com>
2423 * glocalfileinfo.c (get_thumbnail_attributes):
2426 2008-01-22 Alexander Larsson <alexl@redhat.com>
2429 (canonicalize_filename):
2430 Canonicalize paths that start with more than
2434 (compare_two_files):
2435 (test_g_file_new_for_path):
2438 2008-01-22 Alexander Larsson <alexl@redhat.com>
2441 Allow UTF-8 in file:// parse names.
2443 * tests/Makefile.am:
2444 * tests/data-input-stream.c:
2445 * tests/data-output-stream.c:
2446 * tests/g-file-info.c:
2448 Added a bunch of tests from Tomas Bzatek
2450 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2452 * === Released 2.15.3 ===
2454 2008-01-21 Alexander Larsson <alexl@redhat.com>
2456 * gfileinputstream.[ch]:
2457 * gfileoutputstream.[ch]:
2459 Remove duplicated GSeekable functions. (#509990)
2460 Just use the g_seekable_xxx() calls instead.
2462 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2465 * gvolumemanager.c: Whitespace cleanups.
2467 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2468 Use the right mode when creating the file.
2470 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2472 * gfileenumerator.c:
2473 * gfileinputstream.c:
2475 * goutputstream.c: Documentation: Fixed minor typos
2476 and added more mentions of specific _finish() functions.
2478 2008-01-21 Alexander Larsson <alexl@redhat.com>
2480 * inotify/Makefile.am:
2481 * inotify/inotify-helper.c:
2482 * inotify/inotify-kernel.c:
2483 * inotify/inotify-path.c:
2484 * inotify/local_inotify.h: Removed.
2485 * inotify/local_inotify_syscalls.h: Removed.
2486 Removed the included copies of the inotify
2487 headers. We now only use the <sys/inotify.h>
2488 header which exists on modern systems.
2489 This fixes problems on ARM and SH5 (#510448)
2490 but is also generally much cleaner and future
2491 safe. For instance, if other OSes add support
2492 for inotify it should "just work".
2494 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2496 * inotify/*.c: Coding style fixes.
2497 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2498 for the 1/4 Hz timer.
2500 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2503 * gfilemonitor.[hc]:
2504 * gmemoryinputstream.c:
2505 * gmemoryoutputstream.c:
2506 * gmountoperation.c:
2507 * gthemedicon.c: Documentation updates
2509 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2511 * gfile.c: documentation: Fixed more minor
2514 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2516 * gmount.c: (g_mount_remount): documentation:
2517 Mention g_mount_remount_finish() instead of
2518 g_mount_unmount_finish().
2520 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2524 * gfile.c: Fixed some minor typos in the
2527 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2529 * gio/gvolumemonitor.c:
2530 (g_volume_monitor_get_connected_drives):
2531 (g_volume_monitor_get_volumes):
2532 (g_volume_monitor_get_mounts): Documentation:
2533 Clarify the ownership of the regurn GLists.
2535 2008-01-17 Alexander Larsson <alexl@redhat.com>
2538 Add the async find_enclosing_mount version
2539 to the header file too.
2541 2008-01-17 Alexander Larsson <alexl@redhat.com>
2544 Add async version of find_enclosing_mount
2545 with default implementation.
2547 2008-01-17 Alexander Larsson <alexl@redhat.com>
2552 Allow calls to implementation of copy and write
2553 even if the type of the file implementations is
2554 different. This can be used to implement native
2555 upload and download calls in a vfs.
2558 (g_local_file_move):
2559 Protect against the case where move is called
2560 with one file not being local.
2562 Make sure we call the progress callback once
2563 in the native move operation so that the caller
2564 knows how many bytes were copied.
2566 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2569 * gdatainputstream.c:
2571 * gfileoutputstream.c:
2576 * gunixmounts.c: Corrected some typos in the documentation:
2577 occured -> occurred.
2578 its -> it's (where appropriate).
2580 2008-01-16 Alexander Larsson <alexl@redhat.com>
2584 Add g_file_query_exists (#508771)
2586 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2591 * gvolume.c: For async functions that have no non-async
2592 version, document that the GAsyncReadyCallback may be NULL.
2595 2008-01-15 Alexander Larsson <alexl@redhat.com>
2597 * gmemoryinputstream.c:
2598 * gmemoryoutputstream.c:
2599 Don't do pointer arithmetic on void * (#508602)
2600 Patch from Kazuki IWAMOTO
2602 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2604 * === Released 2.15.2 ===
2606 2008-01-14 Alexander Larsson <alexl@redhat.com>
2608 * gfile.c (g_file_monitor_file):
2609 Don't set error here, since we fallback to polling monitor.
2611 2008-01-14 Alexander Larsson <alexl@redhat.com>
2614 (g_file_monitor_directory):
2615 (g_file_monitor_file):
2616 Add GError to file monitor calls
2618 * glocaldirectorymonitor.c:
2619 * glocaldirectorymonitor.h:
2621 * glocalfilemonitor.c:
2622 * glocalfilemonitor.h:
2624 Update for above change
2626 2008-01-14 Alexander Larsson <alexl@redhat.com>
2630 Handle root correctly in g_file_get_relative_path (#508719)
2632 2008-01-14 Alexander Larsson <alexl@redhat.com>
2635 Clean up docs and example for GAsyncResult (#508074)
2637 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2639 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2640 and correct some spelling mistakes. Bug #508108.
2642 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2644 * glocalfileinfo.c: Add a comment.
2646 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2648 * gfileinfo.c: GFileInfo description: Mention
2649 how to actually set attributes in a GFile and how to discover
2650 which attributes are settable. Bug #508378.
2652 2008-01-10 A. Walton <awalton@svn.gnome.org>
2654 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2655 (g_app_info_get_default_for_type):
2656 Check for NULL content types.
2658 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2660 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2662 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2664 * gfile.c: *_async() functions: Several small corrections
2665 to the documentation, mostly correcting copy/paste errors
2666 and improving some sentences.
2668 2008-01-09 Dan Winship <danw@gnome.org>
2670 * glocalfile.c (get_unique_filename): x86_64 fix
2672 2008-01-09 Alexander Larsson <alexl@redhat.com>
2677 Add g_unix_mount_guess_should_display and use
2678 for unix volume monitor backend.
2679 This means we more or less show what the
2680 gnome-vfs backend did.
2681 Based on patch from Padraig O'Briain
2683 2008-01-09 Alexander Larsson <alexl@redhat.com>
2687 Add g_themed_icon_new_with_default_fallbacks
2690 Use default fallbacks for icons
2692 2008-01-09 Alexander Larsson <alexl@redhat.com>
2695 * gmountoperation.[ch]:
2696 Change the API a bit so that unhandled methods
2697 get reported via the reply, rather than by
2698 the signal emission return value. This is because
2699 some handlers can't know this immediately without
2700 doing I/O, and this is an async operation that
2703 2008-01-09 Alexander Larsson <alexl@redhat.com>
2706 * fam/gfamdirectorymonitor.c:
2707 * fam/gfamfilemonitor.c:
2708 Fix double free crash (#508224)
2709 Patch from Joe Marcus Clarke
2711 008-01-07 Matthias Clasen <mclasen@redhat.com>
2713 * === Released 2.15.1 ===
2715 2008-01-07 Alexander Larsson <alexl@redhat.com>
2717 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2718 Fix warning (#507835)
2720 2008-01-07 Alexander Larsson <alexl@redhat.com>
2723 Pass --internal to glib-genmarshal
2726 * gmountoperation.c:
2728 Use better types for signal arguments (#507822)
2730 2008-01-07 Alexander Larsson <alexl@redhat.com>
2733 Build test subdir after .
2734 Remove gdirectorymonitor.[ch]
2736 * gdirectorymonitor.[ch]:
2740 Remove GDirectoryMonitor and make
2741 GFileMonitor the baseclass for both file and
2742 directory monitors. Lift the more generic
2743 rate limiting code from GDirectoryMonitor
2747 * fam/gfamdirectorymonitor.[ch]:
2748 * inotify/ginotifydirectorymonitor.[ch]:
2749 * inotify/inotify-helper.c:
2750 * glocaldirectorymonitor.[ch]:
2753 Update for the removed GDirectoryMonitor.
2755 * gmemoryoutputstream.c:
2756 Remove ununsed variable
2758 2008-01-07 Alexander Larsson <alexl@redhat.com>
2760 * gmemoryinputstream.c:
2761 Translate error strings
2764 * gmemoryoutputstream.[ch]:
2765 New implementation that avoids using GByteArray
2766 in implementation and API. (#506377)
2768 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2770 * tests/*: Add a test for memory input streams.
2772 * Makefile.am: Add tests to SUBDIRS.
2774 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2776 * glocalfilemonitor.c:
2777 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2780 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2782 * gdesktopappinfo.c: Fix a docs typo.
2784 * gfileattribute.c: Add information about extended attributes
2785 to the documentation. (#505058)
2787 2008-01-04 Alexander Larsson <alexl@redhat.com>
2790 * gmountoperation.c:
2791 Use the right type (uint) for the ask_password signal.
2793 2008-01-04 Alexander Larsson <alexl@redhat.com>
2798 Add g_app_info_supports_files()
2799 Remove desktop arg from g_app_info_should_show().
2801 * gdesktopappinfo.[ch]:
2802 Implement g_app_info_supports_files() and new should_show()
2803 Add g_desktop_app_info_set_desktop_env() to set the desktop
2804 for should_show(). (This will be set by gtk+ later)
2806 2008-01-04 Alexander Larsson <alexl@redhat.com>
2809 * gmemoryinputstream.[ch]:
2810 Improve API so that you can use multiple chunks
2811 of memory and custom destroy functions. (#506374)
2813 2008-01-03 Alexander Larsson <alexl@redhat.com>
2816 Handle NULL attribute matchers safely, as we return this
2817 for empty attribute matcher strings.
2819 2008-01-03 Alexander Larsson <alexl@redhat.com>
2821 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2822 Add /usr/local to list of internal mountpoints
2824 2008-01-03 Alexander Larsson <alexl@redhat.com>
2827 Check for HAVE_LCHOWN (#505887)
2829 2008-01-03 Alexander Larsson <alexl@redhat.com>
2833 Add define for selinux context attribute.
2834 Fix missing : -> :: namespace separator change
2835 Fix missing _ -> - name change for xattr-sys.
2838 2008-01-03 Alexander Larsson <alexl@redhat.com>
2841 Link to libglib and libgobject directly (#504879)
2842 Patch from Sebastien Bacher
2844 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2846 * gfile.c: Expanded the g_file_new_for_commandline_arg
2847 description a bit, based on the code and the docs of the
2848 other g_file_new_for_* functions.
2850 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2852 * gfilemonitor.h: Fixed typo in docs.
2854 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2856 Updates to GIO documentation. (#506395, Mikael Hermansson)
2858 * gcontenttype.c: Describe memory management for return value of
2859 g_content_types_get_registered(). Missing piece from #505815.
2860 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2861 GVolume, GDrive, GMounts, which hopefully gives the user less
2862 confusions when using this API. Following explainations from
2863 Alexander Larsson on gtk-devel-list.
2865 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2867 * gfileinfo.c: Expand the long description.
2869 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2872 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2873 fix builds with --disable-visibility. (#500273, Christian Persch)
2875 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2877 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2878 in the list of returned app infos.
2880 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2882 * gappinfo.c: Fix a cross-reference
2884 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2886 * gfileinputstream.c:
2887 * gfileoutputstream.c:
2891 * gdesktopappinfo.c:
2893 * gfileinfo.c: Documentation updates.
2895 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2897 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2900 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2902 * gcontenttype.c (g_content_types_get_registered): Don't return
2903 freed memory (#505815, Mikael Hermansson)
2905 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2907 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2908 used to detect statbuf->st_blocks. (#505042)
2910 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2912 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2913 environment handling. (#504829, Cosimo Cecchi)
2915 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2917 * gappinfo.c: Doc improvements
2919 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2922 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2924 * === Released 2.15.0 ===
2926 2007-12-20 Hans Breuer <hans@breuer.org>
2928 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2929 with symbols gwin32appinfo.obj, added gmount.obj
2930 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2932 2007-12-20 Alexander Larsson <alexl@redhat.com>
2938 * gfilenamecompleter.c:
2941 * gpollfilemonitor.c:
2942 File attribute renames:
2944 fs:: -> filesystem::
2945 id::fs -> id::filesystem
2947 2007-12-20 Alexander Larsson <alexl@redhat.com>
2956 Add GMountUnmountFlags to all unmount and
2958 Add g_mount_remount() call.
2960 2007-12-20 Alexander Larsson <alexl@redhat.com>
2962 * gvfs.c (get_default_vfs):
2963 Fix unused variable warning
2965 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2967 * pltcheck.sh: Update
2969 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2971 * gunionvolumemonitor.c:
2972 * gunixmount.c: Remove C99 comments
2974 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2976 * gio.symbols: Add some missing symbols
2978 2007-12-19 Alexander Larsson <alexl@redhat.com>
2981 Make g_io_modules_load_all_in_directory not unuse
2982 loaded modules so that users of it can do stuff
2984 Init internal "module" types.
2985 Initialize static prio and name for types so that
2986 we don't have to load modules to get it.
2988 * gnativevolumemonitor.h:
2990 Move is_supported to parent class so that
2991 non-native monitors can avoid being initialized
2992 too. (For instance GDaemonVolumeMonitor if we're
2993 not using GDaemonVfs.)
2995 * glocaldirectorymonitor.[ch]:
2996 * glocalfilemonitor.[ch]:
2997 * gunionvolumemonitor.c:
2998 * gunixvolumemonitor.c:
3000 Find plugins using the static prio+name to
3001 avoid unnecessarily loading the modules.
3003 2007-12-19 Alexander Larsson <alexl@redhat.com>
3008 2007-12-19 Alexander Larsson <alexl@redhat.com>
3010 * gunionvolumemonitor.c:
3011 Store the native type as GType, not class so that
3012 we can unload it. But still avoid unnecessarily
3015 2007-12-19 David Zeuthen <davidz@redhat.com>
3017 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3018 add signals 'disconnected' and 'eject-button' on GDrive. Add
3019 signal 'removed' on GVolume and 'unmounted' on GMount.
3021 * gdrive.c: (g_drive_base_init):
3023 * gfile.c: (g_file_mount_mountable),
3024 (g_file_mount_enclosing_volume):
3027 * gmount.c: (g_mount_base_init):
3029 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3030 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3031 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3035 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3037 * *.c: Fix up includes in the section docs.
3039 2007-12-17 Alexander Larsson <alexl@redhat.com>
3041 * gnativevolumemonitor.h:
3042 * gunionvolumemonitor.c:
3043 * gunixvolumemonitor.c:
3044 Add is_supported() to GNativeVolumeMonitorClass so
3045 that we can avoid having to create an object to see
3046 if the backend is supported at runtime.
3047 Also add name member and an env var to pick a specific
3048 volume monitor backend.
3052 Add cancellable to _g_mount_get_for_mount_path()
3054 * glocaldirectorymonitor.c:
3055 * glocalfilemonitor.c:
3056 Avoid loading and unloading modules while sorting.
3058 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3061 * gunixmounts.[hc]: Namespace waste reduction, move some
3062 g_get_unix_mount functions to the g_unix_mount namespace.
3065 * gunixvolumemonitor.c:
3067 * glocaldirectorymonitor.c: Update all callers.
3069 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3071 2007-12-17 Alexander Larsson <alexl@redhat.com>
3074 Add doc comments about what GFile operations are
3075 guaranteed to not block.
3077 2007-12-17 Alexander Larsson <alexl@redhat.com>
3080 Add missing #ifdef fixing OSX build.
3081 (#503334, patch from Richard Hult)
3083 2007-12-14 David Zeuthen <davidz@redhat.com>
3087 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3088 (g_mount_eject), (g_mount_eject_finish):
3090 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3091 (get_volume_for_uuid), (get_mount_for_uuid),
3092 (g_union_volume_monitor_class_init),
3093 (get_default_native_type_with_exclude), (get_default_native_type),
3094 (get_native_type), (update_native_type),
3095 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3096 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3097 (g_unix_mount_can_eject), (eject_unmount_cb),
3098 (eject_unmount_read_error), (eject_unmount_do),
3099 (g_unix_mount_unmount), (g_unix_mount_eject),
3100 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3101 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3102 (g_unix_mount_point_guess_can_eject):
3104 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3105 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3106 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3107 (g_unix_volume_mount), (g_unix_volume_eject),
3108 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3109 * gunixvolumemonitor.c: (get_volume_for_uuid),
3110 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3112 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3113 (g_volume_eject), (g_volume_eject_finish):
3115 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3116 (g_volume_monitor_get_mount_for_uuid):
3119 Provide eject() on both GMount and GVolume and utility functions
3120 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3121 ejected. Introduce the concept of UUID's and wire it into GVolume
3122 and GMount and provide API on GVolumeMonitor to find such
3123 instances. Also handle the case where an external
3124 GNativeVolumeMonitor fails to initialize. Lock around the
3125 _g_get_mount_for_mount_path() function such that volume monitor
3126 implementations won't have to do locking themselves.
3128 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3130 * gdesktopappinfo.c:
3136 * gvolume.h: Documentation updates
3138 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3141 * gfile.h: Doc updates
3143 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3146 * gdesktopappinfo.c: Use hash table iterators.
3148 2007-12-14 Alexander Larsson <alexl@redhat.com>
3151 * gfileattribute.[ch]:
3152 * gfileattribute-priv.h:
3153 Move GFileAttributeValue to a private header, as
3157 Make set_attribute take a type + a pointer instead
3158 of a GFileAttributeValue.
3161 Fix up for above changes.
3162 Add g_file_info_get_attribute_data to get
3163 all info in one call, g_file_info_get_attribute_status
3164 to get the status and g_file_info_get_attribute_as_string.
3168 * glocalfileinfo.[ch]:
3172 Make _guess_type static.
3174 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3177 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3178 made mkenums and friends use temporary files to avoid leaving
3179 empty generated files on failure (#503470).
3181 2007-12-14 Alexander Larsson <alexl@redhat.com>
3183 * gmountoperation.h:
3186 2007-12-14 Alexander Larsson <alexl@redhat.com>
3190 * gfileattribute.[ch]:
3193 * glocalfileoutputstream.c:
3194 * gmountoperation.[ch]:
3195 * goutputstream.[ch]:
3196 Clean up all flags enums to not have _FLAGS in them
3197 Make the names of some of the enums better.
3202 2007-12-14 Michael Natterer <mitch@imendio.com>
3204 * gio.symbols: fix g_io_scheduler symbol names.
3206 2007-12-14 Alexander Larsson <alexl@redhat.com>
3212 * gbufferedinputstream.h:
3213 * gbufferedoutputstream.h:
3216 * gdatainputstream.h:
3217 * gdataoutputstream.h:
3218 * gdesktopappinfo.h:
3219 * gdirectorymonitor.h:
3223 * gfileenumerator.h:
3226 * gfileinputstream.h:
3228 * gfilenamecompleter.h:
3229 * gfileoutputstream.h:
3230 * gfilterinputstream.h:
3231 * gfilteroutputstream.h:
3239 * gmemoryinputstream.h:
3240 * gmemoryoutputstream.h:
3242 * gmountoperation.h:
3245 * gsimpleasyncresult.h:
3247 * gunixinputstream.h:
3249 * gunixoutputstream.h:
3253 * inotify/Makefile.am:
3254 Only allow including <gio/gio.h> from apps
3256 2007-12-14 Alexander Larsson <alexl@redhat.com>
3258 * gioscheduler.[ch]:
3259 * gsimpleasyncresult.c:
3260 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3261 Split out the send_to_mainloop call into two versions instead
3262 of having the block argument.
3264 2007-12-13 Alexander Larsson <alexl@redhat.com>
3266 * gcancellable.[ch]:
3268 * gbufferedinputstream.c:
3269 * gfileenumerator.c:
3270 * gfileinputstream.c:
3271 * gfileoutputstream.c:
3275 g_push/pop_current_cancellable ->
3276 g_cancellable_push/pop_current
3278 2007-12-13 Alexander Larsson <alexl@redhat.com>
3282 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3284 2007-12-13 Alexander Larsson <alexl@redhat.com>
3286 * gmountoperation.h:
3287 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3289 2007-12-12 Alexander Larsson <alexl@redhat.com>
3292 Fix race condition when freeing proxy in
3293 g_io_job_send_to_mainloop().
3295 2007-12-12 Alexander Larsson <alexl@redhat.com>
3301 Make attribute namespace separator "::" instead of ":".
3302 Use - instead of _ as separator in attribute names.
3304 2007-12-12 Alexander Larsson <alexl@redhat.com>
3306 * gbufferedinputstream.h:
3307 * gbufferedoutputstream.h:
3308 * gdatainputstream.h:
3309 * gdataoutputstream.h:
3310 * gdirectorymonitor.h:
3311 * gfileenumerator.h:
3312 * gfileinputstream.h:
3314 * gfileoutputstream.h:
3315 * gfilterinputstream.h:
3316 * gfilteroutputstream.h:
3318 * glocalfileinputstream.h:
3319 * glocalfileoutputstream.h:
3320 * gmemoryinputstream.h:
3321 * gmemoryoutputstream.h:
3322 * gnativevolumemonitor.h:
3324 * gunixinputstream.h:
3325 * gunixoutputstream.h:
3328 s/parent/parent_instance/ in GObjects
3330 2007-12-12 Alexander Larsson <alexl@redhat.com>
3335 No need for padding for interfaces
3337 2007-12-12 Alexander Larsson <alexl@redhat.com>
3341 * gbufferedinputstream.c:
3342 * gbufferedoutputstream.c:
3345 * gdatainputstream.[ch]:
3346 * gdesktopappinfo.c:
3347 * gdirectorymonitor.c:
3349 * gfileattribute.[ch]:
3352 * gfileinputstream.h:
3353 * gfilemonitor.[ch]:
3354 * gfileoutputstream.[ch]:
3355 * gfilterinputstream.h:
3356 * gfilteroutputstream.h:
3359 * gloadableicon.[ch]:
3360 * gmemoryinputstream.c:
3361 * gmountoperation.c:
3363 Fix up a bunch of details in the docs.
3368 2007-12-11 David Zeuthen <davidz@redhat.com>
3370 Rework how volumes, drives and volume monitoring is
3371 done. Previosly the model was
3373 GDrive <1-1> GVolume
3375 where a GDrive instance represented a mount point and a GVolume
3376 instance represented a mounted file system. This patch changes it
3379 GDrive <1-N> GVolume <1-1> GMount
3381 where GMount now serves the purpose of the old GVolume and the new
3382 GVolume serves the purpose of the old GDrive. In addition the new
3383 GDrive interface is used to represent a collection of GVolume
3384 instances (typically partitions) and also contains utility to query
3385 the state of the physical drive the GDrive object represents (such
3386 as checking for media, polling the drive, ejecting the media etc.).
3388 Also implement mounting and unmounting in the Unix volume monitor
3389 backend. A subquent patch will introduce GDrive support for ejection
3393 * gdrive.c: (g_drive_is_media_check_automatic),
3394 (g_drive_is_media_removable), (g_drive_has_media),
3395 (g_drive_can_poll_for_media), (g_drive_eject),
3396 (g_drive_eject_finish), (g_drive_poll_for_media),
3397 (g_drive_poll_for_media_finish):
3399 * gfile.c: (g_file_find_enclosing_mount):
3402 * glocaldirectorymonitor.c:
3403 (g_local_directory_monitor_constructor), (mounts_changed):
3404 * glocalfile.c: (get_mount_info),
3405 (g_local_file_find_enclosing_mount),
3406 (g_local_file_file_iface_init):
3407 * gnativevolumemonitor.h:
3408 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3409 (get_connected_drives), (g_union_volume_monitor_class_init),
3410 (child_volume_added), (child_volume_removed),
3411 (child_volume_changed), (child_mount_added), (child_mount_removed),
3412 (child_mount_pre_unmount), (child_mount_changed),
3413 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3414 (g_union_volume_monitor_remove_monitor),
3415 (_g_mount_get_for_mount_path):
3416 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3417 (guess_system_internal), (_g_get_unix_mounts),
3418 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3419 (g_unix_mount_free), (g_unix_mount_compare),
3420 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3421 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3422 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3423 (type_to_icon), (g_unix_mount_guess_name),
3424 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3425 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3426 (_resolve_symlink), (_resolve_dev_root):
3428 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3429 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3430 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3431 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3432 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3433 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3434 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3435 (g_unix_volume_volume_iface_init):
3437 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3438 (get_mounts), (get_volumes), (get_connected_drives),
3439 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3440 (mountpoints_changed), (mounts_changed),
3441 (g_unix_volume_monitor_init),
3442 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3443 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3444 * gunixvolumemonitor.h:
3445 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3446 (g_volume_mount), (g_volume_mount_finish):
3448 * gvolumemonitor.c: (g_volume_monitor_class_init),
3449 (g_volume_monitor_get_connected_drives),
3450 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3453 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3455 * gmountoperation.h (GPasswordFlags): Close the gap
3457 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3459 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3461 * gdesktopappinfo.[hc]: Remove _-prefixes
3463 2007-12-10 Tor Lillqvist <tml@novell.com>
3465 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3468 2007-12-10 Alexander Larsson <alexl@redhat.com>
3470 * gfile.c (g_file_set_display_name):
3471 Don't hardcode '/' (#502727)
3473 2007-12-09 Hans Breuer <hans@breuer.org>
3475 * makefile.msc : follow lib naming convention
3476 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3477 for user and group name, tested with ../tests/gio-ls
3479 2007-12-09 A. Walton <awalton@svn.gnome.org>
3481 * gdesktopappinfo.c:
3487 * gfileenumerator.c:
3492 * gmemoryinputstream.c:
3493 * gmemoryoutputstream.c:
3495 * gsimpleasyncresult.c:
3496 More documentation cleanup and filling in missing information, bringing
3497 GIO to 99% symbol coverage.
3499 2007-12-08 Hans Breuer <hans@breuer.org>
3501 [gio compiles and links on win32, not sure how much already works]
3502 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3503 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3504 base on win32 API; prefer g_lstat() over lstat(); instead of
3505 localtime_r() use an all GLib implementation on win32;
3506 get_mount_info() still needs a win32 specifc implementation
3507 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3508 win32_get_file_user_info to get owner/group info without uid/gid
3509 * glocalfileinputstream.c : include <io.h> on win32
3510 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3511 definition, use g_win32_ftruncate() for G_OS_WIN32
3512 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3513 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3514 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3515 * makefile.msc : updated
3517 2007-12-07 Alexander Larsson <alexl@redhat.com>
3519 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3520 Avoid warning spew if error == NULL
3522 2007-12-07 Alexander Larsson <alexl@redhat.com>
3525 Update docs wrt etags
3527 2007-12-06 Alexander Larsson <alexl@redhat.com>
3530 Include sys/types.h for dev_t (#501919)
3532 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3536 Make abicheck and pltcheck pass.
3538 2007-12-05 Alexander Larsson <alexl@redhat.com>
3541 * giomodule-priv.h: Added.
3542 * glocaldirectorymonitor.c:
3543 * glocalfilemonitor.c:
3544 * gunionvolumemonitor.c:
3546 Actually add the declaration of _g_io_modules_ensure_loaded
3548 2007-12-05 Alexander Larsson <alexl@redhat.com>
3550 * gdatainputstream.c:
3555 * glocaldirectorymonitor.c:
3556 * glocalfilemonitor.c:
3557 * gunionvolumemonitor.c:
3559 Make g_io_modules_ensure_loaded a private function and
3560 don't pass in the dirname. This means we can do magic
3561 directory finding in the win32 version.
3562 Export the actual load-modules-in-directory code so that
3563 gvfs can reuse that.
3565 2007-12-05 Alexander Larsson <alexl@redhat.com>
3567 * gbufferedinputstream.c:
3568 * gbufferedoutputstream.c:
3571 * gfileenumerator.[ch]:
3572 * gfileinputstream.c:
3573 * gfileoutputstream.[ch]:
3574 * gfilterinputstream.c:
3575 * gfilteroutputstream.c:
3576 * ginputstream.[ch]:
3578 * glocalfileenumerator.c:
3579 * glocalfileinputstream.c:
3580 * glocalfileoutputstream.c:
3581 * gmemoryinputstream.c:
3582 * gmemoryoutputstream.c:
3583 * goutputstream.[ch]:
3586 * gunixinputstream.c:
3587 * gunixoutputstream.c:
3588 Rename all struct members named:
3589 read, write, close, truncate, or mount
3590 to foo_fn, as these are reserved names
3591 and could be defined as macros in libc.
3594 2007-12-04 Alexander Larsson <alexl@redhat.com>
3597 (g_output_stream_close):
3598 Only call flush if non-null.
3600 2007-11-30 Dan Winship <danw@gnome.org>
3602 * ginputstream.c (g_input_stream_set_pending): Make this take a
3603 GError and return a gboolean, and do the "outstanding operation"
3604 check (and the "stream is already closed" check) itself.
3605 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3607 * goutputstream.c (g_output_stream_set_pending)
3608 (g_output_stream_clear_pending): Likewise
3610 * gbufferedinputstream.c:
3611 * gfileinputstream.c:
3612 * gfileoutputstream.c: Update for that
3614 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3615 Like g_simple_async_report_error_in_idle, but takes a GError
3616 rather than building one.
3618 2007-11-30 Dan Winship <danw@gnome.org>
3620 * goutputstream.c: Don't cheat and unset the "pending" flag around
3621 inner calls. Instead, call the class method directly rather than
3622 the wrapper function that checks "pending"
3624 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3626 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3628 2007-12-03 Hans Breuer <hans@breuer.org>
3630 [start of port to win32/msvc]
3631 * gcancellable.c : HAVE_UNIST_H and _pipe()
3632 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3633 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3634 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3636 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3637 * glocalvfs.c : use HAVE_PWD_H
3638 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3639 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3640 * Makefile.am : added to EXTRA_DIST
3642 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3644 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3647 2007-12-03 Alexander Larsson <alexl@redhat.com>
3650 Handle OSX style xattrs API (#500506)
3652 2007-12-03 Alexander Larsson <alexl@redhat.com>
3656 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3658 2007-12-02 A. Walton <awalton@svn.gnome.org>
3662 Documentation accuracy fixes.
3664 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3666 * gioenumtypes.c.template: Fix typo.
3668 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3670 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3672 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3674 * gdirectorymonitor.c:
3675 * gfilemonitor.c: Add properties
3677 * gbufferedoutputstream.c: Don't mark buffer-size property
3680 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3682 * gbufferedoutputstream.c: Add auto-grow property.
3684 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3686 * *.c: Unify the capitalization of section headings.
3688 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3690 * gmountoperation.c: Add properties
3692 * gdatainputstream.c: Turn byte-order and newline-type into
3695 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3697 * gioenumtypes.[hc].template: Templates for enum registration
3699 * Makefile.am: Generate gioenumtypes.[hc]
3701 * gio.h: Include gioenumtypes.h
3703 * gfile.h: Add some explicit nicks.
3705 * gio.symbols: Add new symbols
3707 * pltcheck.sh: Adjust
3709 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3711 * *.c: Explain etags and link to the explanation
3713 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3715 * *.c: Explain I/O priority.
3717 * *.c: More coding style fixes.
3719 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3721 * gasyncresult.c: Add another paragraph to the intro,
3722 adjust coding style of example.
3724 2007-11-29 A. Walton <awalton@svn.gnome.org>
3727 Fixes unknown meaning in GAppLaunchContext docs.
3729 Clarify asynchronous ops.
3731 Fix entity tag docs.
3734 Provides missing gtk-doc section, fixes API docs slighly.
3735 * gsimpleasyncresult.c:
3736 Fill in missing info in docs.
3737 * gunixinputstream.c:
3738 * gunixoutputstream.c:
3739 Be more expressive in short description.
3741 Remove gtk-doc stubs for non-public API.
3743 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3745 * *.c: Coding style fixups
3747 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3749 * inotify/inotify-helper.c: Don't export the lock from libgio.
3751 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3754 * abicheck.sh: Fix copy-and-paste leftovers
3756 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3758 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3760 2007-11-28 Alexander Larsson <alexl@redhat.com>
3764 Removed unnecessary file
3766 * gdesktopappinfo.[ch]:
3769 * glocaldirectorymonitor.[ch]:
3771 * glocalfileenumerator.[ch]:
3772 * glocalfileinputstream.[ch]:
3773 * glocalfilemonitor.[ch]:
3774 * glocalfileoutputstream.[ch]:
3776 * gnativevolumemonitor.c:
3777 * gpollfilemonitor.[ch]:
3778 * gunionvolumemonitor.[ch]:
3781 * gunixvolumemonitor.[ch]:
3784 * inotify/ginotifydirectorymonitor.[ch]:
3785 * inotify/ginotifyfilemonitor.[ch]:
3786 * inotify/inotify-helper.c:
3787 Append _ to all internal functions
3791 Export symbols needed for modules
3793 2007-11-28 Alexander Larsson <alexl@redhat.com>
3796 * abicheck.sh: Added.
3797 * makegioalias.pl: Added.
3798 * pltcheck.sh: Added.
3799 * gio.symbols: Added.
3802 Initial work on adding symbol handling.
3805 Correct ifdef guard name
3808 * inotify/Makefile.am:
3809 * xdgmime/Makefile.am:
3810 Include toplevel Makefile.decl
3812 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3814 * gcontenttype.c: Move doc comments to the unix section.
3816 * *.[hc]: More trivial doc corrections.
3818 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3820 * gpollfilemonitor.c:
3824 * gdesktopappinfo.c:
3829 * gdatainputstream.c:
3830 * gdatainputstream.h:
3831 * gdataoutputstream.c:
3832 * gdataoutputstream.h:
3833 * gfileinfo.h: Doc cleanups
3835 2007-11-28 Andre Klapper <a9016009@gmx.de>
3837 * gdesktopappinfo.c: Fix a typo.
3839 2007-11-27 Andre Klapper <a9016009@gmx.de>
3841 * glocalfileoutputstream.c: Fix a typo.
3843 2007-11-27 Alexander Larsson <alexl@redhat.com>
3846 Don't include removed headers
3848 2007-11-27 Alexander Larsson <alexl@redhat.com>
3851 * gsocketinputstream.[ch]: Removed.
3852 * gsocketoutputstream.[ch]: Removed.
3853 * gunixinputstream.[ch]: Added.
3854 * gunixoutputstream.[ch]: Added.
3855 Renamed GSocket*Stream to GUnix*Stream and made
3856 it unix-only, since its not really only for sockets
3857 and it only works on unix (but is highly useful there).
3859 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3865 * gbufferedinputstream.c:
3866 * gbufferedinputstream.h:
3867 * gbufferedoutputstream.c:
3868 * gbufferedoutputstream.h:
3872 * gdatainputstream.c:
3873 * gdatainputstream.h:
3874 * gdataoutputstream.c:
3875 * gdataoutputstream.h:
3876 * gdirectorymonitor.c:
3877 * gdirectorymonitor.h:
3884 * gfileenumerator.c:
3885 * gfileenumerator.h:
3890 * gfileinputstream.c:
3891 * gfileinputstream.h:
3894 * gfilenamecompleter.c:
3895 * gfilenamecompleter.h:
3896 * gfileoutputstream.c:
3897 * gfileoutputstream.h:
3898 * gfilterinputstream.c:
3899 * gfilterinputstream.h:
3900 * gfilteroutputstream.c:
3901 * gfilteroutputstream.h:
3914 * glocalfileoutputstream.c:
3915 * gmemoryinputstream.c:
3916 * gmemoryinputstream.h:
3917 * gmemoryoutputstream.c:
3918 * gmemoryoutputstream.h:
3919 * gmountoperation.c:
3920 * gmountoperation.h:
3923 * gpollfilemonitor.c:
3926 * gsimpleasyncresult.c:
3927 * gsimpleasyncresult.h:
3928 * gsocketinputstream.c:
3929 * gsocketinputstream.h:
3930 * gsocketoutputstream.c:
3931 * gsocketoutputstream.h:
3938 * gunixvolumemonitor.c:
3947 Bumps documentation to 93% symbol coverage, touching most
3948 of the public files. Fixes broken function documentation prototypes.
3949 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3950 gtk-doc headers in private files.
3952 2007-11-27 Jürg Billeter <j@bitron.ch>
3954 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3955 (g_buffered_input_stream_read_byte):
3956 * gbufferedinputstream.h:
3957 New functions for efficient access to buffer and simple single byte
3960 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3961 (g_data_input_stream_read_until):
3962 * gdatainputstream.h:
3963 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3964 read_until with multiple stop chars.
3966 2007-11-27 Alexander Larsson <alexl@redhat.com>
3970 * inotify/Makefile.am:
3971 Use the user-specified giomoduledir
3973 2007-11-27 Alexander Larsson <alexl@redhat.com>
3977 Add catch-all gio.h header
3978 Don't install gdummyfile.h
3980 2007-11-26 Alexander Larsson <alexl@redhat.com>
3982 * Makefile.am (gioinclude_HEADERS):
3983 Remove trailing whitespace
3985 2007-11-26 Alexander Larsson <alexl@redhat.com>
3987 Merge gio-standalone into glib
3989 2007-11-25 Christian Kellner <gicmo@gnome.org>
3991 * gio/goutputstream.c:
3992 Fix small mistake in the docs.
3994 2007-11-21 Christian Persch <chpe@gnome.org>
3996 * gio/glocalfile.c: (g_local_file_trash):
3997 Convert filenames to UTF-8 for GError.
3998 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3999 as per xdg base dir spec.
4001 2007-11-21 Christian Persch <chpe@gnome.org>
4003 * gio/gdesktopappinfo.c:
4004 Use that g_key_file_to_data cannot fail.
4006 Use stock defines for the key file group and key names.
4009 2007-11-21 Alexander Larsson <alexl@redhat.com>
4012 (copy_stream_with_progress):
4013 Make sure we do a final progress callback with
4014 the full total size.
4016 2007-11-21 Alexander Larsson <alexl@redhat.com>
4019 Export g_file_copy_attributes
4020 Remove padding as its not needed for interfaces
4022 2007-11-20 Alexander Larsson <alexl@redhat.com>
4027 Add G_IO_ERROR_WOULD_MERGE for
4028 copy/move dir on dir with overwrite.
4030 2007-11-20 Alexander Larsson <alexl@redhat.com>
4033 * gio/glocalfileinfo.c:
4034 Add COPY_NAME (this is an optional
4035 non-modified utf8 version of the name) that
4038 2007-11-20 Alexander Larsson <alexl@redhat.com>
4040 * gio/glocalfileenumerator.c:
4041 Report errors as GIOError, not GFileError
4043 2007-11-16 Alexander Larsson <alexl@redhat.com>
4045 * gio/glocalfileoutputstream.c:
4046 * gio/gwin32appinfo.c:
4047 Fix typos in strings.
4048 Patch from Luca Ferretti <elle.uca@libero.it>
4050 2007-11-15 Alexander Larsson <alexl@redhat.com>
4053 Post release version bump
4055 === gio-standalone 0.1.2 ===
4057 2007-11-15 Alexander Larsson <alexl@redhat.com>
4059 * docs/reference/gio/Makefile.am:
4060 Fix up distcheck by removing weird
4066 2007-11-14 Alexander Larsson <alexl@redhat.com>
4068 * gio/gdesktopappinfo.c:
4069 * gio/glocaldirectorymonitor.c:
4071 * gio/glocalfileinfo.c:
4072 * gio/inotify/inotify-sub.c:
4073 * programs/gio-cat.c:
4074 * programs/gio-copy.c:
4075 * programs/gio-info.c:
4076 * programs/gio-ls.c:
4077 * programs/gio-monitor-dir.c:
4078 * programs/gio-monitor-file.c:
4079 * programs/gio-mount.c:
4080 * programs/gio-move.c:
4081 * programs/gio-rm.c:
4082 * programs/gio-save.c:
4083 * programs/gio-trash.c:
4084 Leak fixes from Kjartan Maraas
4086 2007-11-14 Alexander Larsson <alexl@redhat.com>
4088 * gio/fam/fam-helper.c:
4090 * gio/glocalfileinfo.c:
4094 * gio/inotify/inotify-diag.c:
4095 * gio/inotify/inotify-kernel.c:
4096 Various code cleanups from Kjartan Maraas
4098 2007-11-14 Alexander Larsson <alexl@redhat.com>
4100 * gio/gioscheduler.c:
4102 Set up threadpool so that we cache 2 unused
4103 idle threads for at 15 secs. This means we
4104 will reuse thread-local data (like dbus connections)
4107 2007-11-14 Alexander Larsson <alexl@redhat.com>
4109 * gio/fam/fam-helper.c:
4110 * gio/fam/gfamdirectorymonitor.c:
4111 * gio/fam/gfamfilemonitor.c:
4113 * gio/gcontenttype.c:
4114 * gio/gdatainputstream.c:
4115 * gio/gdataoutputstream.c:
4119 * gio/gfileattribute.h:
4120 * gio/gfileenumerator.c:
4122 * gio/ginputstream.c:
4125 * gio/glocalfileinfo.c:
4126 * gio/goutputstream.c:
4127 * gio/gpollfilemonitor.c:
4128 * gio/gsimpleasyncresult.c:
4129 * gio/gunixmounts.c:
4130 * gio/gunixmounts.h:
4131 * gio/inotify/ginotifydirectorymonitor.c:
4132 * gio/inotify/ginotifyfilemonitor.c:
4133 * gio/inotify/inotify-diag.c:
4134 * gio/inotify/inotify-kernel.c:
4135 * gio/inotify/inotify-path.c:
4137 * gio/test-streams.c:
4138 * programs/gio-info.c:
4139 * programs/gio-monitor-dir.c:
4140 * programs/gio-monitor-file.c:
4141 Various code cleanups from Kjartan Maraas
4143 2007-11-13 Alexander Larsson <alexl@redhat.com>
4146 Handle the uri-scheme calls for dummy files
4148 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4150 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4151 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4152 to avoid clash with the C++ keyword.
4154 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4156 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4157 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4159 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4161 * gio/glocaldirectorymonitor.c:
4162 * gio/glocalfilemonitor.c:
4163 * gio/gunionvolumemonitor.c:
4164 Don't use g_once_init_*() for initializations that could fail and
4165 could leave the initialization variable set to 0 but use GOnce.
4166 This prevents a deadlock on the second call when trying to create
4167 a monitor and no monitor type is available. Thanks to Sven Herzberg
4170 2007-11-11 Sven Herzberg <sven@imendio.com>
4172 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4173 #ifdef (make it work on MacOS X again)
4175 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4177 Fixes Changelog for last two commits (sorry guys).
4179 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4181 * gio/gbufferedinputstream.c:
4182 * gio/gdatainputstream.c:
4184 * gio/gfileoutputstream.c:
4185 * gio/gfilterinputstream.c:
4186 * gio/glocalfileinputstream.c:
4189 More consistency fixes in g*stream.c files.
4190 Significant clean of gfile's documentation, filling in of
4191 asynchronous operations documentation.
4193 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4195 * gio/gasyncresult.c:
4196 * gio/gbufferedinputstream.c:
4197 * gio/gbufferedoutputstream.c:
4198 * gio/gcancellable.c:
4199 * gio/gcontenttype.c:
4200 * gio/gdatainputstream.c:
4201 * gio/gdataoutputstream.c:
4202 * gio/gdesktopappinfo.c:
4205 * gio/gfileattribute.c:
4206 * gio/gio/gfileenumerator.c:
4208 * gio/gfileinputstream.c:
4209 * gio/gfilemonitor.c:
4210 * gio/gfileoutputstream.c:
4211 * gio/ginputstream.c:
4213 * gio/gioscheduler.c:
4214 * gio/gloadableicon.c:
4215 * gio/glocalfileoutputstream.c:
4216 * gio/gmemoryoutputstream.c:
4217 * gio/gmountoperation.c:
4218 * gio/goutputstream.c:
4220 * gio/gsimpleasyncresult.c:
4221 * gio/gunionvolumemonitor.c:
4222 * gio/gunixmounts.c:
4223 * gio/gunixvolume.c:
4227 * gio/gvolumemonitor.c:
4228 Updated documentation stubs, working towards consistency and
4231 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4233 * gio/gmemoryoutputstream.c:
4234 * gio/gmemoryoutputstream.h:
4235 Change g_memory_output_stream_set_free_on_close() to
4236 g_memory_output_stream_set_free_data() as this makes more sense and
4237 is more consistent with GMemoryInputStream.
4239 2007-11-07 Alexander Larsson <alexl@redhat.com>
4246 Change how we find the default vfs so that
4247 we can handle a gvfs failing to init
4249 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4251 * gio/gbufferedoutputstream.c:
4252 * gio/gdatainputstream.c:
4253 * gio/gdataoutputstream.c:
4254 * gio/gfileinputstream.c:
4255 * gio/gfileoutputstream.c:
4256 * gio/gfilterinputstream.c:
4257 * gio/gfilteroutputstream.c:
4258 * gio/ginputstream.c:
4259 * gio/gmemoryinputstream.c:
4260 * gio/gmemoryoutputstream.c:
4261 * gio/goutputstream.c:
4262 * gio/gsimpleasyncresult.c:
4263 * gio/gsocketinputstream.c:
4264 * gio/gsocketoutputstream.c:
4265 Add guards to the remaining public functions, add a TODO for
4266 an unimplemented function and remove some useless guards.
4268 2007-11-07 Alexander Larsson <alexl@redhat.com>
4271 Autoconf checks for the various types of
4272 getpwuid_r and getgrgid_r
4274 * gio/glocalfileinfo.c:
4275 Use the autoconf checks from above
4277 2007-11-07 Alexander Larsson <alexl@redhat.com>
4280 (g_local_file_query_filesystem_info):
4281 Some fixes for the statvfs case
4283 2007-11-07 Alexander Larsson <alexl@redhat.com>
4286 (g_local_file_query_filesystem_info):
4287 Pick the "best" of statfs / statvfs for the system
4288 if both are availible.
4290 2007-11-07 Alexander Larsson <alexl@redhat.com>
4292 Solaris fixes from Halton.Huo@Sun.COM:
4299 * gio/glocalfileinfo.c:
4300 Fix for solaris definition of getpwuid_r
4302 * gio/test-streams.c:
4303 Use G_GNUC_PRETTY_FUNCTION
4305 2007-11-07 Alexander Larsson <alexl@redhat.com>
4307 * gio/gdesktopappinfo.c:
4308 (update_default_list):
4309 Remove double semicolon.
4310 Patch from Jens Granseuer
4312 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4314 * docs/reference/gio/gio-sections.txt:
4315 * gio/gbufferedinputstream.c:
4316 * gio/gbufferedinputstream.h:
4317 * gio/gdatainputstream.c:
4318 * gio/gfileenumerator.c:
4319 * gio/gioscheduler.c:
4320 * gio/gunionvolumemonitor.c:
4322 * programs/gio-save.c:
4323 Fix typo: availible -> available. Unfortuntely this breaks API
4324 and ABI as g_buffered_input_stream_get_available() was renamed.
4326 * gio/gunixmounts.c:
4327 * gio/gbufferedinputstream.c:
4328 Add guards for public functions.
4330 2007-11-06 Ross Burton <ross@openedhand.com>
4332 * docs/reference/gio/Makefile.am:
4333 Fix invalid += usage which automake 1.10 doesn't like.
4335 2007-11-06 Alexander Larsson <alexl@redhat.com>
4338 (g_app_launch_context_class_init):
4341 Patch from Ross Burton
4343 2007-11-06 Alexander Larsson <alexl@redhat.com>
4346 Post release version bump
4348 === gio-standalone 0.1.1 ===
4350 2007-11-06 Alexander Larsson <alexl@redhat.com>
4353 Bump version to 0.1.1
4355 * gio/gsimpleasyncresult.c:
4356 (g_simple_async_result_set_from_error):
4357 Remove bogus g_return_if_fail
4359 2007-11-06 Alexander Larsson <alexl@redhat.com>
4362 The name is gio-standalone
4365 Add top src/builddir to includedir
4367 2007-11-06 Alexander Larsson <alexl@redhat.com>
4369 * docs/reference/gio/gio-sections.txt:
4371 * gio/gbufferedinputstream.c:
4372 * gio/gbufferedoutputstream.c:
4373 * gio/gcancellable.c:
4374 * gio/gdatainputstream.h:
4375 * gio/gdataoutputstream.c:
4376 * gio/gdataoutputstream.h:
4377 * gio/gdirectorymonitor.c:
4379 * gio/gfileattribute.c:
4380 * gio/gfileattribute.h:
4381 * gio/gfileenumerator.c:
4382 * gio/gfileenumerator.h:
4385 * gio/gfileinputstream.h:
4386 * gio/gfilemonitor.c:
4387 * gio/gfileoutputstream.h:
4388 * gio/glocalfilemonitor.h:
4389 * gio/glocalfileoutputstream.h:
4390 * gio/gmemoryinputstream.c:
4391 * gio/gmemoryoutputstream.c:
4392 * gio/gmountoperation.c:
4393 * gio/goutputstream.c:
4394 * gio/goutputstream.h:
4396 * gio/gsimpleasyncresult.c:
4397 * gio/gunixmounts.c:
4398 * gio/gunixmounts.h:
4400 * gio/inotify/inotify-helper.c:
4401 Fix gtk-doc warnings
4403 Patch from Ross Burton
4405 2007-11-06 Alexander Larsson <alexl@redhat.com>
4407 * gio/gfilenamecompleter.c:
4408 (g_filename_completer_get_completions):
4411 * gio/gunixvolume.c:
4412 Remove unused function
4414 Patches from Ross Burton
4416 2007-11-06 Alexander Larsson <alexl@redhat.com>
4421 Padding not needed for interfaces
4423 2007-11-06 Alexander Larsson <alexl@redhat.com>
4425 * gio/gfilemonitor.c:
4429 Make giotypes.h an internal file
4432 * gio/gbufferedinputstream.h:
4433 * gio/gbufferedoutputstream.h:
4434 * gio/gcancellable.h:
4435 * gio/gdatainputstream.h:
4436 * gio/gdataoutputstream.h:
4437 * gio/gdirectorymonitor.c:
4438 * gio/gdirectorymonitor.h:
4443 * gio/gfileattribute.h:
4444 * gio/gfileenumerator.h:
4449 * gio/gfilemonitor.c:
4450 * gio/gfilemonitor.h:
4451 * gio/gfilenamecompleter.c:
4452 * gio/gfilenamecompleter.h:
4453 * gio/gfilterinputstream.h:
4454 * gio/gfilteroutputstream.h:
4455 * gio/ginputstream.h:
4456 * gio/gmemoryinputstream.h:
4457 * gio/gmemoryoutputstream.h:
4458 * gio/gmountoperation.c:
4459 * gio/gmountoperation.h:
4460 * gio/gnativevolumemonitor.c:
4461 * gio/goutputstream.h:
4464 * gio/gsimpleasyncresult.c:
4465 * gio/gsimpleasyncresult.h:
4466 * gio/gsocketinputstream.h:
4467 * gio/gsocketoutputstream.h:
4468 * gio/gthemedicon.c:
4469 * gio/gthemedicon.h:
4473 * gio/gvolumemonitor.c:
4474 * gio/gvolumemonitor.h:
4475 Add padding in classes where it seems useful
4476 Don't include giotypes.h from public headers
4477 Move in Class definitions into c file where possible
4482 2007-11-06 Alexander Larsson <alexl@redhat.com>
4484 * docs/reference/gio/gio-docs.xml:
4485 Better structure for API docs
4487 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4490 * gio/gloadableicon.c:
4491 * gio/gsimpleasyncresult.c:
4492 * gio/gthemedicon.c:
4493 Add some more guards to public functions. Only files missing are now
4496 2007-11-06 Alexander Larsson <alexl@redhat.com>
4498 * docs/reference/gio/gio-docs.xml:
4499 Remove old files, add missing ones
4501 2007-11-06 Alexander Larsson <alexl@redhat.com>
4503 * docs/reference/gio/gio-sections.txt:
4506 Hide implementation classes
4508 * gio/gdriveprivate.h:
4509 * gio/gvolumeprivate.h:
4510 Remove non-existing function declarations
4512 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4515 Fix compilation warnings and add guards to the new functions.
4517 * gio/gasyncresult.c:
4519 Add guards to the public functions.
4522 Implement get_path().
4524 2007-11-06 Alexander Larsson <alexl@redhat.com>
4526 * gio/gfilenamecompleter.c:
4527 Make g_filename_completer_get_completions
4528 return char ** instead of GList for
4531 * docs/reference/gio/gio-docs.xml:
4532 * docs/reference/gio/gio-sections.txt:
4534 * gio/gasyncresult.c:
4535 * gio/gbufferedinputstream.c:
4536 * gio/gbufferedoutputstream.c:
4537 * gio/gcancellable.c:
4538 * gio/gcontenttype.c:
4539 * gio/gdatainputstream.c:
4540 * gio/gdataoutputstream.c:
4541 * gio/gdesktopappinfo.c:
4542 * gio/gdirectorymonitor.c:
4546 * gio/gfileattribute.c:
4547 * gio/gfileenumerator.c:
4550 * gio/gfileinputstream.c:
4551 * gio/gfilemonitor.c:
4552 * gio/gfilenamecompleter.c:
4553 * gio/gfilenamecompleter.h:
4554 * gio/gfileoutputstream.c:
4555 * gio/gfilterinputstream.c:
4557 * gio/ginputstream.c:
4559 * gio/gioscheduler.c:
4560 * gio/gloadableicon.c:
4561 * gio/glocaldirectorymonitor.c:
4563 * gio/glocalfileinputstream.c:
4564 * gio/glocalfilemonitor.c:
4565 * gio/glocalfileoutputstream.c:
4567 * gio/gmemoryinputstream.c:
4568 * gio/gmemoryoutputstream.c:
4569 * gio/gmountoperation.c:
4570 * gio/goutputstream.c:
4571 * gio/gpollfilemonitor.c:
4573 * gio/gsimpleasyncresult.c:
4574 * gio/gsocketinputstream.c:
4575 * gio/gsocketoutputstream.c:
4576 * gio/gthemedicon.c:
4577 * gio/gunionvolumemonitor.c:
4579 * gio/gunixmounts.c:
4580 * gio/gunixvolume.c:
4581 * gio/gunixvolumemonitor.c:
4585 * gio/gvolumemonitor.c:
4586 * gio/gwin32appinfo.c:
4587 Add (mostly stub) doc strings to public functions.
4588 Patch from Andrew Walton (awalton@gmail.com)
4590 2007-11-06 Alexander Larsson <alexl@redhat.com>
4592 * gio/gappinfo.[ch]:
4593 Added GAppLaunchContext object and pass that to launch.
4594 This allows simple implementation of both
4595 launch-on-screen and startup notification via a gtk+
4596 subclass of GAppLaunchContext
4598 * gio/gdesktopappinfo.c:
4599 Implement GAppLaunchContext API
4601 * gio/gwin32appinfo.c:
4604 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4606 * gio/gmountoperation.c:
4607 Add some guards to GMountOperation's public functions.
4609 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4613 * gio/gcancellable.c:
4614 * gio/gdirectorymonitor.c:
4616 * gio/gfileenumerator.c:
4617 * gio/gfilemonitor.c:,
4618 * gio/gfilenamecompleter.c:
4621 * gio/gioscheduler.c:
4625 * gio/gvolumemonitor.c:
4626 Add even more guards to various public functions.
4628 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4631 Add guards to the public functions of GAppInfo.
4633 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4635 * gio/gcontenttype.c:
4636 Add some more guards for public functions.
4638 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4640 * gio/fam/fam-module.c:
4641 * gio/fam/gfamdirectorymonitor.c:
4642 * gio/fam/gfamdirectorymonitor.h:
4643 * gio/fam/gfamfilemonitor.c:
4644 * gio/fam/gfamfilemonitor.h:
4645 * gio/inotify/ginotifydirectorymonitor.c:
4646 * gio/inotify/ginotifydirectorymonitor.h:
4647 * gio/inotify/ginotifyfilemonitor.c:
4648 * gio/inotify/ginotifyfilemonitor.h:
4649 Add proper copyright information and remove an unused variable
4650 in the GInotifyFileMonitor constructor.
4652 * gio/gcancellable.c:
4653 Add a guard for a public function and an assertion to prevent
4654 an undefined program state.
4656 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4658 * gio/gfileattribute.c:
4659 Don't run into an assertion if the given attribute value is NULL
4660 in g_file_attribute_value_get_*() but instead return a fallback
4661 value that makes sense in most situations. Passing them a attribute
4662 value with the wrong type will still run into an assertion.
4664 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4666 * gio/gfileattribute.c:
4668 Add even more guards to the public functions. Also fix the refcounting
4669 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4670 let g_file_info_list_attributes() filter the attributes by namespace
4671 instead of simply ignoring the namespace parameter.
4673 2007-11-03 Sven Herzberg <sven@imendio.com>
4675 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4676 (This makes gio work on MacOS X again)
4678 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4681 Build the gio subdirectory before the docs. Otherwise the build will
4684 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4685 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4686 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4687 Add guards to the public functions.
4689 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4691 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4692 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4693 to prevent a compiler warning.
4695 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4696 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4697 return something in the non-void function find_topdir_for().
4699 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4706 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4708 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4709 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4710 * gwin32appinfo.c (g_win32_app_info_launch):
4711 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4712 envp_for_startup_id, g_desktop_app_info_launch,
4713 g_desktop_app_info_launch_uris):
4715 Give an opaque 'startup_id' string instead of 'envp'.
4716 Support empty file lists for launching new windows.
4717 Fix infinite recursion bug when launching URIs.
4719 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4722 Add guard to the new g_file_get_uri_scheme() function.
4724 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4727 Convert a g_return_val_if_fail() to setting the GError instead as
4728 otherwise applications have to verify the parameter before otherwise
4729 and the parameter might come directly from the user.
4731 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4733 * gio/inotify/ginotify*.[ch]:
4734 Add missing copyright information.
4736 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4739 Add guards in the beginning of public functions to check for valid
4740 parameters and fix a bug in copy_stream_with_progress() that could've
4741 caused writing less bytes than reading.
4742 * gio/glocalfileinfo.c:
4743 Check for a NULL parameter and set the GError accordingly then.
4744 * gio/goutputstream.c:
4745 Fix the same bug as in gfile.c that could've caused writing less bytes
4746 than reading in g_output_stream_real_splice().
4748 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4751 Use the correct gvolumeprivate.h naming
4753 2007-11-01 Christian Kellner <gicmo@gnome.org>
4756 Remove leftover "$(daemon_sources)" entry.
4758 2007-11-01 Christian Kellner <gicmo@gnome.org>
4763 Add copyright information to source files.
4765 2007-11-01 Alexander Larsson <alexl@redhat.com>
4769 Add g_file_get_uri_scheme
4771 2007-11-01 Alexander Larsson <alexl@redhat.com>
4774 * gio/gdesktopappinfo.c:
4775 * gio/gwin32appinfo.c:
4776 Add g_app_info_get_default_for_uri_scheme.
4778 2007-11-01 Alexander Larsson <alexl@redhat.com>
4781 Correct filename for gdriveprivate.h
4783 2007-10-31 Alexander Larsson <alexl@redhat.com>
4786 Rename id:value to id:file
4789 * gio/glocalfileinfo.c:
4792 2007-10-31 Alexander Larsson <alexl@redhat.com>
4794 * gio/gunixvolume.c:
4796 Remove g_volume_get_platform_id, as thats not
4797 needed with the simpler union volume monitor
4799 2007-10-31 Alexander Larsson <alexl@redhat.com>
4802 * gio/guniondrive.[ch]: Removed.
4803 * gio/gunionvolume.[ch]: Removed.
4804 Remove GUnionDrive/Volume
4806 * gio/gunionvolumemonitor.c:
4807 Simplify union volume monitor, now we
4808 only have one native volume monitor and
4809 we use the actual volumes/drives from the
4810 child monitors instead of wrapping them
4812 * gio/gnativevolumemonitor.[ch]:
4813 Base class for native volume monitors.
4814 Includes priority and get_volume_for_mountpoint
4817 Add g_file_find_enclosing_volume
4820 Remove volume name fs attribute
4821 Add readonly fs attribute
4824 Implement readonly attribute
4825 remove volume name attribute
4826 Implement find_enclosing volume
4828 * gio/gunixmounts.c:
4829 Add a volume for "/".
4831 * gio/gunixvolume.[ch]:
4832 Set better name for /
4834 * gio/gunixvolumemonitor.[ch]:
4835 Derive from GNativeVolumeMonitor
4836 Implement get_volume_for_mountpoint
4839 GVolume typedef moved to gfile.h
4841 * gio/gvolumeprivate.h:
4842 Add g_volume_get_for_mount_path
4844 2007-10-31 Alexander Larsson <alexl@redhat.com>
4846 * gio/gunixmounts.[ch]:
4847 Add cache info to unix mount listers
4848 Make getmntent use threadsafe
4849 Add is_system_internal attribute for GUnixMount
4851 * gio/gunixvolume.c:
4852 (g_unix_volume_new):
4853 Use is_system_internal instead of own code
4855 * gio/glocaldirectorymonitor.c:
4856 * gio/gunixvolumemonitor.c:
4857 Update to new gunixmounts API
4862 2007-10-30 Alexander Larsson <alexl@redhat.com>
4865 Add volume name fsinfo attribute
4868 Read volume name info
4870 * gio/gunionvolumemonitor.c:
4871 Fix infinite loops when finalizing a union volume monitor
4873 2007-10-30 Alexander Larsson <alexl@redhat.com>
4875 * gio/goutputstream.[ch]:
4876 Add splice() with default implementation
4878 * gio/gsocketoutputstream.c:
4879 (g_socket_output_stream_write):
4880 Return error on cancellation correctly.
4882 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4884 * gio/glocalfile.c (g_local_file_trash):
4885 Do not leak a string.
4887 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4889 * gio/gfile.c (g_file_load_contents):
4890 Unref the stream after closing it.
4892 2007-10-25 Alexander Larsson <alexl@redhat.com>
4894 * gio/gioscheduler.h:
4897 2007-10-25 Alexander Larsson <alexl@redhat.com>
4901 Add g_file_has_uri_scheme and implement for local files
4903 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4905 * gio/gdesktopappinfo.c: do not leak a string.
4907 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4909 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4910 (g_local_directory_monitor_new):
4911 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4912 (g_local_file_monitor_new):
4913 Only look for the monitor type that should be used the first time
4914 and use g_qsort_with_data() instead of our own bubble sort
4917 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4920 * gio/fam/Makefile.am:
4921 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4922 * gio/fam/fam-helper.h:
4923 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4924 * gio/fam/gfamdirectorymonitor.c:
4925 * gio/fam/gfamdirectorymonitor.h:
4926 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4927 * gio/fam/gfamfilemonitor.h:
4928 * gio/glocaldirectorymonitor.c:
4929 * gio/glocaldirectorymonitor.h:
4930 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4931 * gio/glocalfilemonitor.h:
4932 * gio/inotify/Makefile.am:
4933 * gio/inotify/ginotifydirectorymonitor.c:
4934 * gio/inotify/ginotifydirectorymonitor.h:
4935 * gio/inotify/ginotifyfilemonitor.c:
4936 * gio/inotify/ginotifyfilemonitor.h:
4937 Implement the FAM and Inotify monitors as
4938 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4939 their own GIO module. GLocal(Directory|File)Monitor will use the
4940 monitor with the highest rank that is supported on that machine.
4942 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4945 Change GIO module dir to $(libdir)/gio/modules and change
4946 the log domain from GVFS to GIO. Also only export symbols starting
4947 with g_ in the resulting library.
4948 * gio/test-streams.c: (main):
4949 Set log handler for the GIO log domain.
4951 2007-10-22 Alexander Larsson <alexl@redhat.com>
4953 * gio/gfilenamecompleter.[ch]:
4954 Add g_filename_completer_set_dirs_only
4956 2007-10-22 Alexander Larsson <alexl@redhat.com>
4959 * gio/gurifuncs.[ch]:
4960 Add some simple URI helpers
4962 * gio/gfilenamecompleter.[ch]:
4963 Added object for filename (parse name actually) completion
4966 Handle ~ in parse names
4968 2007-10-17 Alexander Larsson <alexl@redhat.com>
4971 * gio/glocalfileinfo.c:
4972 Add and implement id:value attribute
4974 2007-10-17 Alexander Larsson <alexl@redhat.com>
4977 * gio/guniondrive.c:
4979 Add and implement g_drive_has_volumes
4981 2007-10-17 Alexander Larsson <alexl@redhat.com>
4984 * gio/glocalfileinfo.[ch]:
4985 Add unix:is_mountpoint and implement for local files
4987 2007-10-16 Alexander Larsson <alexl@redhat.com>
4989 * gio/gunionvolumemonitor.c:
4990 (g_union_volume_monitor_init):
4991 Fix up the unix type getting so that it works with gcc
4993 2007-10-12 Alexander Larsson <alexl@redhat.com>
4996 * gio/glocalfileinfo.c:
4997 Add thumbnail:failed to file info
4999 2007-10-12 Richard Hult <richard@imendio.com>
5001 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5002 optimizing away the get_type call (happens with some gcc versions,
5003 like the one shipped with OS X 10.4).
5005 2007-10-12 Alexander Larsson <alexl@redhat.com>
5007 * gio/glocalfileinfo.c:
5008 (_g_local_file_info_set_attribute):
5009 Fix build if not HAVE_XATTR
5010 Patch from Milosz Derezynski <internalerror@gmail.com>
5012 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5014 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5015 around for review, otherwise I would have asked you before
5018 2007-10-11 Alexander Larsson <alexl@redhat.com>
5021 Add thumbnail:path attribute
5023 * gio/glocalfileinfo.c:
5024 Implement thumbnail:path for local files
5026 2007-10-11 Alexander Larsson <alexl@redhat.com>
5028 * gio/glocalfileinfo.c:
5029 (_g_local_file_info_get):
5030 Avoid duplicate icon names
5032 2007-10-11 Alexander Larsson <alexl@redhat.com>
5034 * gio/gthemedicon.[ch]:
5035 Change g_themed_icon_get_names return type to const
5037 2007-10-10 Alexander Larsson <alexl@redhat.com>
5039 * gio/glocalfileinfo.c:
5040 Don't reference freed memory
5042 2007-10-10 Alexander Larsson <alexl@redhat.com>
5044 * gio/gfileattribute.c:
5047 * gio/glocalfileinfo.c:
5050 2007-10-10 Alexander Larsson <alexl@redhat.com>
5053 Check for NULL icons
5055 * gio/gfileattribute.c:
5056 Don't dup when getting objects (same as for string attributes)
5058 * gio/gicon.c (g_icon_equal):
5059 Safely handle NULLs in equal
5061 2007-10-10 Alexander Larsson <alexl@redhat.com>
5064 Fix c++ compilation issues
5065 Patch from Milosz Derezynski <internalerror@gmail.com>
5067 2007-10-10 Alexander Larsson <alexl@redhat.com>
5069 * programs/gio-monitor-dir.c:
5070 Don't crash if dir monitor not supported.
5072 2007-10-09 Alexander Larsson <alexl@redhat.com>
5075 Add missing G_END_DECLS
5077 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5079 * gio/gfile.c: (g_file_set_display_name),
5080 (g_file_query_settable_attributes),
5081 (g_file_query_writable_namespaces):
5082 Return NULL not FALSE on errors as the return type is a pointer.
5084 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5086 * gio/glocalfile.c: (g_local_file_monitor_file):
5087 Don't call monitor_file on the default interface vtable (which
5088 is NULL) but simply return NULL. The caller, GFile, will create a
5089 polling monitor if NULL is returned.
5091 2007-10-09 Alexander Larsson <alexl@redhat.com>
5095 * gio-unix-2.0.pc.in:
5096 Add gio-unix-2.0.pc if OS_UNIX
5099 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5101 2007-10-09 Alexander Larsson <alexl@redhat.com>
5103 * gio/gunixmounts.[ch]:
5104 Make unix mount monitoring API sane.
5105 Now its just a object with mounts_changed
5106 and mountpoints_changed signals.
5108 * gio/glocaldirectorymonitor.c:
5109 * gio/gunixvolumemonitor.c:
5110 Use new mount monitor api
5112 2007-10-09 Alexander Larsson <alexl@redhat.com>
5114 * gio/gunixmounts.[ch]:
5115 Move guess type into one call for mounts and one for mountpoints
5118 * gio/gunixvolume.c:
5121 2007-10-09 Alexander Larsson <alexl@redhat.com>
5123 * gio/gunixmounts.[ch]:
5124 Remove _ prefix in preparation to make this semi-public
5125 Hide implementation of structs
5127 * gio/glocaldirectorymonitor.c:
5129 * gio/gunixvolume.c:
5130 * gio/gunixvolumemonitor.c:
5131 Update for above API changes
5133 2007-10-08 Alexander Larsson <alexl@redhat.com>
5136 Better polling fallback. This also handles the case where we have
5137 a monitor_file implementation, but it fails.
5139 2007-10-08 Alexander Larsson <alexl@redhat.com>
5143 * gio/gunixmounts.c:
5144 * programs/gio-monitor-dir.c:
5145 * programs/gio-monitor-file.c:
5146 Added cancellable to file monitoring calls.
5147 These are really sync calls and need this.
5149 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5151 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5152 (g_local_vfs_class_init):
5153 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5154 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5156 2007-10-05 Alexander Larsson <alexl@redhat.com>
5158 * gio/gdirectorymonitorprivate.h:
5159 * gio/gfilemonitorprivate.h:
5160 * gio/gdirectorymonitor.h:
5161 * gio/gfilemonitor.h:
5162 Remove *private.h and move to the public API, so that
5163 we can do implementations outside gio (such as in gvfs)
5165 * gio/gdirectorymonitor.c:
5166 * gio/gfilemonitor.c:
5167 * gio/glocaldirectorymonitor.c:
5168 * gio/gpollfilemonitor.c:
5169 * gio/inotify/inotify-helper.c:
5170 * gio/fam/fam-helper.c:
5171 Update to the new header names
5173 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5175 * gio/gdirectorymonitor.c:
5176 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5179 2007-10-04 Alexander Larsson <alexl@redhat.com>
5181 * gio/glocalfileinfo.c (get_access_rights):
5182 Set CAN_TRASH when we can move the file.
5183 We should really also check for a parent trash dir.
5185 2007-10-04 Alexander Larsson <alexl@redhat.com>
5187 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5188 Add can_trash access attribute
5190 2007-10-04 Alexander Larsson <alexl@redhat.com>
5193 (g_local_file_trash):
5194 Create info file first. This is per-spec and allows
5195 us to actually trash directories.
5197 2007-10-02 Alexander Larsson <alexl@redhat.com>
5199 * gio/gdesktopappinfo.c:
5200 Implement the new mime support code.
5201 Always set app as handling mimetype when being set as default for it
5203 2007-10-01 Alexander Larsson <alexl@redhat.com>
5205 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5206 Fix up check for xattrs:
5208 2007-10-01 Alexander Larsson <alexl@redhat.com>
5211 (g_app_info_set_as_default_for_extension):
5212 (g_app_info_add_supports_type):
5213 (g_app_info_can_remove_supports_type):
5214 (g_app_info_remove_supports_type):
5215 Make these fail nicely if not implemented
5217 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5219 * gio/glocalfileoutputstream.c:
5220 * gio/glocalfileoutputstream.h:
5225 * programs/gio-save.c:
5226 Add a GFileCreateFlags argument to operations that can create
5229 2007-10-01 Alexander Larsson <alexl@redhat.com>
5231 * gio/gappinfo.[ch]:
5232 * gio/gdesktopappinfo.c:
5233 Add more (stubbed out) mime API needed for nautilus
5235 2007-10-01 Alexander Larsson <alexl@redhat.com>
5238 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5239 Add g_app_info_set_as_default_for_extension.
5241 * gio/gdesktopappinfo.c:
5242 Dummy for g_app_info_set_as_default_for_extension
5243 Support flags in g_app_info_create_from_commandline
5245 * gio/gwin32appinfo.c:
5247 Update for API changes
5249 * gio/gthemedicon.c:
5250 Properly NULL-terminate list of icon names
5252 2007-09-28 Alexander Larsson <alexl@redhat.com>
5254 * gio/gloadableicon.h:
5255 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5257 2007-09-28 Alexander Larsson <alexl@redhat.com>
5260 Install headers in $includedir/gio-standalone/
5262 * gio-2.0.pc.in: Added.
5263 * gio-standalone.pc.in: Removed.
5266 Renamed pkg-config file to match glib (for future move)
5267 Update to the new include dir
5270 Add more TODO comments
5272 2007-09-28 Alexander Larsson <alexl@redhat.com>
5274 * gio/gdesktopappinfo.[ch]:
5275 Expose new_from_filename
5276 Add getter for is_hidden and handle it better
5278 2007-09-28 Alexander Larsson <alexl@redhat.com>
5280 * gio/gfileinfo.[ch]:
5281 Rename g_file_size_format_for_display to
5282 g_format_file_size_for_display.
5283 Now it doesn't have the g_file prefix, so we
5284 can later move it to glib.
5286 2007-09-28 Alexander Larsson <alexl@redhat.com>
5288 * gio/gappinfo.[ch]:
5289 Add g_app_info_get_id and g_app_info_get_executable.
5290 Make all getters non-reffing
5291 Make g_app_info_launch take GFile arguments.
5292 Add must_support_uris argument to g_app_info_get_default_for_type.
5294 * gio/gwin32appinfo.c:
5295 Update to GAppInfo api changes
5297 * gio/gdesktopappinfo.c:
5298 Update to GAppInfo api changes
5299 Implement supports_xdg_startup_notify
5301 * gio/gfileicon.c (g_file_icon_get_file):
5302 Make getter non-reffing.
5307 2007-09-27 Alexander Larsson <alexl@redhat.com>
5309 * gio/gfileinfo.[ch]:
5310 Add g_file_size_format_for_display helper
5312 2007-09-27 Alexander Larsson <alexl@redhat.com>
5314 * gio/glocalfileinfo.c:
5315 Set UNIX_GID from gid, not from uid
5317 2007-09-27 Alexander Larsson <alexl@redhat.com>
5320 Add g_file_set_attributes_async
5322 2007-09-27 Alexander Larsson <alexl@redhat.com>
5324 * gio/glocalfile.c (g_local_file_set_display_name):
5325 Fix set_display_name to actually rename to the right place.
5326 Use lstat to look for existing files so we don't overwrite
5329 2007-09-26 Alexander Larsson <alexl@redhat.com>
5332 Add g_file_set_display_name_async()
5334 2007-09-26 Alexander Larsson <alexl@redhat.com>
5337 Add load_partial_contents async calls
5340 Make internal function static
5342 2007-09-26 Alexander Larsson <alexl@redhat.com>
5344 * gio/glocalfileinfo.c:
5345 Correctly detect broken symlinks
5347 2007-09-26 Alexander Larsson <alexl@redhat.com>
5349 * gio/gcancellable.c (g_cancellable_cancel):
5350 Allow cancel on NULL cancellable
5352 2007-09-25 Alexander Larsson <alexl@redhat.com>
5354 * gio/gsimpleasyncresult.c:
5355 Don't allocate g_error manually.
5356 Fixes g_slice/g_new mixup crash
5358 2007-09-25 Alexander Larsson <alexl@redhat.com>
5360 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5361 Actually set active_backend.
5362 This means the monitor will be cancelled correctly.
5364 2007-09-25 Alexander Larsson <alexl@redhat.com>
5366 * gio/gdirectorymonitor.c:
5367 Set timeout to NULL when destroying
5369 2007-09-25 Alexander Larsson <alexl@redhat.com>
5372 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5373 that is a better description of the error.
5375 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5377 * gio/gvfs.c: (g_vfs_get_local):
5378 Make the local vfs variable static. The same instance should
5381 2007-09-24 Alexander Larsson <alexl@redhat.com>
5383 * gio/glocalfileinfo.c:
5384 Pass in actual length read into sniffer, not the length
5387 2007-09-21 Alexander Larsson <alexl@redhat.com>
5389 * gio/gfileenumerator.c:
5392 * gio/gfileinputstream.c:
5393 * gio/gfileoutputstream.c:
5394 * gio/ginputstream.c:
5395 * gio/goutputstream.c:
5396 Don't crash if async callbacks are NULL
5398 2007-09-20 Alexander Larsson <alexl@redhat.com>
5401 Add async enumerate_children method and default
5404 2007-09-20 Alexander Larsson <alexl@redhat.com>
5407 Add g_file_contains_file & g_file_get_relative_path, since they
5408 were needed for nautilus.
5409 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5414 Implement new methods
5416 2007-09-17 Alexander Larsson <alexl@redhat.com>
5419 * gio/gfileinputstream.[ch]:
5420 * gio/gfileoutputstream.[ch]:
5422 * gio/glocalfileenumerator.[ch]:
5423 * gio/glocalfileinfo.[ch]:
5424 * gio/glocalfileinputstream.c:
5425 * gio/glocalfileoutputstream.c:
5426 * gio/gpollfilemonitor.c:
5427 * programs/gio-copy.c:
5428 * programs/gio-info.c:
5429 * programs/gio-move.c:
5430 Rename get_file_info to query_info() to make it clearer
5431 that these are not simple getters, but do i/o.
5433 2007-09-17 Alexander Larsson <alexl@redhat.com>
5435 * gio/gdatainputstream.[ch]:
5436 * gio/test-streams.c:
5437 Use _read_XXX instead of _get_XXX for the i/o calls
5440 2007-09-17 Alexander Larsson <alexl@redhat.com>
5443 Added needed stuff to TODO comment
5445 2007-09-17 Alexander Larsson <alexl@redhat.com>
5447 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5448 Don't error out removing the backup copy if it doesn't
5451 2007-09-14 Alexander Larsson <alexl@redhat.com>
5453 * programs/Makefile.am:
5454 * programs/gvfs-*.c:
5456 Renamed apps from gvfs-xxx to gio-xxx.
5458 2007-09-14 Alexander Larsson <alexl@redhat.com>
5461 * gio/gfileoutputstream.[ch]:
5462 * gio/glocalfileoutputstream.c:
5463 * programs/gvfs-save.c:
5464 g_file_output_stream_get_etag doesn't do i/o, so remove
5465 cancellation and error.
5467 2007-09-14 Alexander Larsson <alexl@redhat.com>
5470 Add new_etag output to replace_contents functions
5472 2007-09-14 Alexander Larsson <alexl@redhat.com>
5474 * gio/gfileoutputstream.[ch]:
5475 Add async get_file_info and default implementation
5477 2007-09-14 Alexander Larsson <alexl@redhat.com>
5479 * gio/gfileinputstream.c:
5480 Implement fallback wrapper for async get_file_info
5482 2007-09-14 Alexander Larsson <alexl@redhat.com>
5485 Add etag out argument to load_contents
5490 2007-09-14 Alexander Larsson <alexl@redhat.com>
5492 * gio/gcontenttype.c (looks_like_text):
5493 Whitespace like tab, cr and lf do not make the
5496 2007-09-14 Alexander Larsson <alexl@redhat.com>
5498 * gio/gfileinputstream.[ch]:
5499 Add async get_file_info.
5501 2007-09-13 Alexander Larsson <alexl@redhat.com>
5503 * gio/goutputstream.c (g_output_stream_write_all):
5504 Allow NULL for bytes_written
5506 2007-09-13 Alexander Larsson <alexl@redhat.com>
5508 * gio/gmemoryinputstream.[ch]:
5509 Add accessors for data
5511 2007-09-13 Alexander Larsson <alexl@redhat.com>
5513 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5514 Don't crash if length is NULL