1 2008-12-08 Matthias Clasen <mclasen@redhat.com>
3 Bug 558298 – Hide ecryptfs mounts
5 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
6 so that the desktop does not show both the mount and the target
7 directory. Patch by Martin Pitt
9 2008-12-08 Matthias Clasen <mclasen@redhat.com>
11 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
15 * gunixinputstream.[hc]:
16 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
17 including getters and setters. Patch by Maciej Piechotka
19 2008-12-07 Matthias Clasen <mclasen@redhat.com>
21 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
23 * tests/live-g-file.c: Support compilers that don't understand
24 ISO C varargs macros. Patch by Eric Lamarque
26 2008-12-07 Matthias Clasen <mclasen@redhat.com>
28 Bug 526320 – should not list mounts that the user doesn't have
31 gunixmounts.c: Use g_access() to check accessibility of local devices.
34 2008-12-01 Matthias Clasen <mclasen@redhat.com>
36 * === Released 2.19.2 ===
38 2008-12-01 Matthias Clasen <mclasen@redhat.com>
40 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
41 behaviour change, and update the docs instead, to avoid breaking
44 2008-12-01 Matthias Clasen <mclasen@redhat.com>
46 * === Released 2.19.1 ===
48 2008-12-01 Alexander Larsson <alexl@redhat.com>
52 * gunionvolumemonitor.c:
54 Add and document g_mount_is_shadowed plus calls
55 to set/unset a mount as shadowed
57 2008-11-28 Matthias Clasen <mclasen@redhat.com>
59 * gio/tests/g-icon.c: Comment out two failing tests
61 2008-11-28 Matthias Clasen <mclasen@redhat.com>
63 Bug 555486 – No way to recover command line from GAppInfo
66 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
67 by Hans Petter Jansson.
69 * gdesktopappinfo.c: And implement it here.
71 2008-11-28 Christian Dywan <christian@imendio.com>
73 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
75 2008-11-28 Matthias Clasen <mclasen@redhat.com>
77 Bug 559633 – gtk_image_new_from_gicon does not always work for
80 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
81 extensions on icon names. Proposed by Axel von Bertoldi.
83 2008-11-28 Matthias Clasen <mclasen@redhat.com>
85 Bug 548163 – Nautilus displays wrong error message for too long file
88 * glocalfile.c (g_local_file_set_display_name): Correctly set
89 error conditions if the new name is e.g. too long. Reported
90 by Leonardo Ferreira Fontenelle.
92 2008-11-28 Matthias Clasen <mclasen@redhat.com>
94 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
97 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
98 documented and include the line end in the returned string.
99 Pointed out by Paul Pogonyshev.
101 * tests/data-input-stream.c: Fix the read_line test to test the
102 documented behaviour.
104 2008-11-28 Matthias Clasen <mclasen@redhat.com>
106 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
107 files that have been created by g_app_info_create_from_commandline.
109 2008-11-28 Matthias Clasen <mclasen@redhat.com>
111 Bug 541715 – win32 : patch for warnings and signature problems in
114 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
117 2008-11-28 Matthias Clasen <mclasen@redhat.com>
119 Bug 562393 – g_buffered_input_stream_read_byte broken if data
122 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
123 handling of buffered content. Patch by Philip Withnall
125 * tests/buffered-input-stream.c: Add a testcase for this bug.
126 * tests/Makefile.am: And build it
128 2008-11-28 Matthias Clasen <mclasen@redhat.com>
130 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
133 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
134 '/' away. Spotted by Dan Williams.
136 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
138 Bug 561375 – Leaks mountpoint description
140 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
143 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
145 Bug 561352 – Leak of icon description
147 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
150 2008-11-14 Matthias Clasen <mclasen@redhat.com>
152 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
154 2008-11-12 Tor Lillqvist <tml@novell.com>
156 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
158 * win32/gwinhttpvfs.h: Move the set of function pointers to
159 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
160 pointer to that in the GWinHttpVfsClass.
162 * win32/gwinhttpvfs.c: Move the lookup of functions from
163 winhttp.dll into a function of its own, that stores the pointers
164 in a separate GWinHttpDllFuncs variable. Add two bookeeping
165 booleans lookup_done and funcs_found.
167 Don't call g_io_extension_point_implement() to register the
168 winhttp extension unless winhttp.dll has been successfully loaded
169 and the required functions found in it.
171 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
172 winhttp.dll correspondingly.
174 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
176 reviewed by: Alexander Larsson <alexl@redhat.com>
178 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
179 clearer about the behavior when there's no more content to read.
181 2008-10-27 Federico Mena Quintero <federico@novell.com>
183 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
185 2008-10-27 Tor Lillqvist <tml@novell.com>
187 Bug 557592 - Missing include in gwinhttpfile.c
189 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
192 2008-10-24 Matthias Clasen <mclasen@redhat.com>
194 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
196 * fam/fam-helper.c: Fix a memory leak and formatting issues.
197 Reported by Daniel Marjamäki
199 2008-10-23 Matthias Clasen <mclasen@redhat.com>
201 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
203 2008-10-23 Alexander Larsson <alexl@redhat.com>
205 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
208 (_g_local_file_info_get):
209 Don't return the fallback icon (text-x-generic) for all files.
210 This is causing problems with theme icon lookup and custom mime
211 icons, as the generic fallback overrides custom mime icons in
214 This is a slight change as applications might not get an icon wher
215 they previously did. But there is no guarantee to get on neither before
216 or after this change, so it should not break applications. Changes
217 to nautilus and gtk+ will be done to manually use the generic fallback
218 icon if no icon is found, but this is only required for rare cases.
220 2008-10-21 Alexander Larsson <alexl@redhat.com>
223 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
225 2008-10-21 Alexander Larsson <alexl@redhat.com>
227 Bug 555740 - gicon serialization
228 Based on patch from David Zeuthen
232 Add g_icon_to_string() and g_icon_new_for_string().
238 Implement icon serialization for built-in icon types
242 Added GIcon serialization test
244 2008-10-16 Matthias Clasen <mclasen@redhat.com>
246 * === Released 2.19.0 ===
248 2008-10-16 Matthias Clasen <mclasen@redhat.com>
250 Bug 556422 – g_file_enumerator_next_file: unclear whether return
251 value needs to be freed
253 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
254 the return value docs. Pointed out by Armin Burgmeier
256 2008-10-14 Matthias Clasen <mclasen@redhat.com>
258 Bug 556334 – Warning when building without selinux support
260 * glocalfileinfo.c: Avoid compiler warnings when selinux is
261 disabled. Patch by Pascal Terjan
263 2008-10-14 Matthias Clasen <mclasen@redhat.com>
265 Bug 556335 – make check fails in abicheck.sh
267 * gio.symbols: Add g_file_attribute_info_list_get_type.
268 Pointed out by Pascal Terjan.
270 2008-10-13 Alexander Larsson <alexl@redhat.com>
273 When adding an application as handling a mime type (but
274 not as the default), copy the full list of desktop ids handling
275 that type in before adding the new one on the end of the list.
276 This means we're not accidentally changing the default by overriding
277 the info from the later directories in the search path.
279 Also, fixes small leak of removed_entries.
281 2008-10-12 David Zeuthen <davidz@redhat.com>
284 * gunionvolumemonitor.c:
286 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
288 2008-10-10 Alexander Larsson <alexl@redhat.com>
290 * gfileattribute.c (escape_byte_string):
291 Upper half of byte is >> 4, not >> 8.
292 Found by Kjartan Maraas via sparse
294 2008-10-10 Matthias Clasen <mclasen@redhat.com>
296 Bug 555711 – Wrong fallback order of mimetype icons
298 * gcontenttype.c: Don't prefer generic icons over
299 default mimetype icons.
301 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
302 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
304 Patch by Krysztof Kosiński
306 2008-10-10 Matthias Clasen <mclasen@redhat.com>
308 Bug 555121 – Improved build-time handling of gio module-dir
310 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
311 * Makefile.am: Create the module dir.
313 2008-10-10 Matthias Clasen <mclasen@redhat.com>
315 * gio/glocalfileinfo.c:
316 * gio/tests/live-g-file.c:
317 * gio/gsimpleasyncresult.c: Fix gcc warnings.
319 2008-10-09 Alexander Larsson <alexl@redhat.com>
321 * gunixinputstream.c (g_unix_input_stream_read):
322 Actually return -1 in case of cancelled, not old res value.
324 2008-10-06 Colin Walters <walters@verbum.org>
326 Bug 554745 - GFileAttributeInfoList should be boxed
328 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
329 for convenience of bindings.
330 * gio/gfileattribute.h: Prototype it.
332 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
334 Bug 554970 – segfault when update-desktop-database is not available
337 * gdesktopappinfo.c (run_update_command): Have the error set before
340 2008-10-01 David Zeuthen <davidz@redhat.com>
342 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
343 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
344 instead of the gio URI (such as sftp://foo/file.avi) when using
345 g_app_info_launch() and friends. With a sufficiently recent gvfs,
346 apps using gio+gvfs will map the FUSE file:// URI back to the gio
347 URI (and thus bypass the fuse daemon) thanks the patch from bug
348 #530654. Since Nautilus is an user of g_app_info_launch() it
349 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
350 when launced via the file manager. Win. Fixes bug #528670.
352 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
353 mapping to the description of GAppInfo.
355 2008-09-30 Tor Lillqvist <tml@novell.com>
357 * tests/Makefile.am: Build desktop-app-info only on Unix.
359 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
360 g_critical(). Pass a large enough result buffer to
361 GetVolumePathNameW(). Just use MAX_PATH.
363 2008-09-29 David Zeuthen <davidz@redhat.com>
365 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
367 2008-09-26 Dan Winship <danw@gnome.org>
369 * tests/data-input-stream.c:
370 * tests/data-output-stream.c:
371 * tests/live-g-file.c:
372 * tests/memory-input-stream.c:
373 * tests/memory-output-stream.c: Use g_assert_error() and
376 2008-09-26 Matthias Clasen <mclasen@redhat.com>
378 Bug 545350 – GAppInfo deletion
379 Bug 545351 – Reset associations for content type
382 * gappinfo.[hc]: New functions g_app_info_can_delete,
383 g_app_info_delete and g_app_info_reset_type_associations.
386 * gwin32appinfo.c: Implementations of these.
389 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
391 2008-09-26 Dan Winship <danw@gnome.org>
393 Bug 505361 – gunixinputstream.c assumes poll() available
394 Bug 509446 – portable blocking gio cancellation
396 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
397 GPollFD for a cancellable (which is slightly more complicated on
400 * gunixinputstream.c (g_unix_input_stream_read):
401 * gunixoutputstream.c (g_unix_output_stream_write): Use
402 g_cancellable_make_pollfd() and g_poll() rather than using poll()
405 * tests/unix-streams.c: test of GUnixInputStream,
406 GUnixOutputStream, and GCancellable.
408 2008-09-26 Dan Winship <danw@gnome.org>
410 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
411 cast to stop a gcc warning
413 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
416 2008-09-25 Dan Winship <danw@gnome.org>
418 Bug 553426 - cancellable clarifications
420 * gcancellable.c (g_cancellable_class_init): Add a note to the
421 "cancelled" signal docs warning about thread-safety issues
422 (g_cancellable_cancel): Note that cancelling an asynchronous
423 operation takes effect asynchronously, not immediately.
425 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
427 * gioenums.h: Add new GFileCopyFlag, to leave target file with
428 default perms, instead of setting the source file perms, in a copy
431 * gfile.c (g_file_copy_attributes)
432 (build_attribute_list_for_copy)
433 (should_copy): Not copy "unix::mode" attribute if we have received
434 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
436 2008-09-20 Matthias Clasen <mclasen@redhat.com>
438 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
440 2008-09-17 Matthias Clasen <mclasen@redhat.com>
442 * === Released 2.18.1 ===
444 2008-09-16 Michael Natterer <mitch@imendio.com>
446 * gcontenttype.c (g_content_type_guess): can't assign the return
447 value of g_strdupv() to an array. Fill the array manually with
448 const strings instead (it is never freed anyway). Fixes the
449 build. Also fixed indentation.
451 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
453 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
454 Fix trivial typo to unbreak the build (there was a colon
455 instead of a semicolon at the end of a statement).
457 2008-09-15 Matthias Clasen <mclasen@redhat.com>
459 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
462 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
465 2008-09-15 Matthias Clasen <mclasen@redhat.com>
467 Bug 551681 – g_content_type_guess() too naive with filenames
469 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
470 at the end of the filename, and declare it a directory.
471 Patch by Bastien Nocera
473 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
475 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
478 * gdesktopappinfo.c: add a note in the docs clarifying what the
479 "filename" parameter really is.
481 2008-09-12 Tor Lillqvist <tml@novell.com>
483 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
484 FormatMessage() etc here. Call g_win32_error_message() instead
485 which already does all that. Besides, the code was broken as it
486 called the default "A" version of FormatMessage() but still
487 thought it produced a wide string.
489 2008-09-12 Michael Natterer <mitch@imendio.com>
491 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
492 in the documentation.
494 2008-09-08 Christian Neumair <cneumair@gnome.org>
496 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
497 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
498 Use non-blocking pipe for mount helper I/O. Fixes #550647.
500 2008-09-06 Matthias Clasen <mclasen@redhat.com>
502 Bug 551149 – xdgmime mem leak
504 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
505 a memory leak. Patch by Christian Persch
507 2008-09-04 Tor Lillqvist <tml@novell.com>
509 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
512 2008-09-02 Matthias Clasen <mclasen@redhat.com>
514 * === Released 2.18.0 ===
516 2008-09-02 Michael Natterer <mitch@imendio.com>
518 * *.h: big header formatting cleanup: indentation, vtable
519 formatting, consistent spacing in (* vfunc), trailing whitespace
520 removal. Formatting should be pretty consistent in all GIO headers
523 2008-09-02 Matthias Clasen <mclasen@redhat.com>
525 * gmount.h: Document guess_content_type sync vfunc.
527 2008-09-02 Michael Natterer <mitch@imendio.com>
529 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
530 fix parent_class member to be GFilterOutputStreamClass (not
531 GOutputStreamClass). Drop three pointers of padding, which is
532 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
533 so the class struct size stays the same.
535 2008-09-02 Matthias Clasen <mclasen@redhat.com>
537 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
539 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
540 nonexisting return values. Pointed out by Cosimo Cecchi.
542 2008-08-23 Tor Lillqvist <tml@novell.com>
544 Bug 548988 - g_file_replace fails on Windows when the target file
547 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
548 Windows, close the file before potentially renaming it (in case we
549 have been writing to a file with a temporary name).
551 (g_local_file_output_stream_close, handle_overwrite_open): Use
552 GLocalFileStat instead of plain struct stat, for passing to
553 _g_local_file_info_create_etag(). Thus also use _fstati64()
554 instead of plain fstat() on Windows.
556 2008-08-18 Matthias Clasen <mclasen@redhat.com>
558 * === Released 2.17.7 ===
560 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
562 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
565 2008-08-13 Tor Lillqvist <tml@novell.com>
567 * win32/gwinhttpvfs.c
568 * win32/gwinhttpvfs.h
569 * win32/gwinhttpfile.c
570 * win32/gwinhttpfileinputstream.c
571 * win32/gwinhttpfileoutputstream.c: Refactor some common code
572 snippets into helper functions. Check HTTP response status
573 codes. Implement g_winhttp_file_query_info(), looking at
574 Content-Length, Content-Type and Last-Modified.
576 * win32/winhttp.h: Add some symbolic constants that are not
577 publicly documented. Just a handful, so it should be OK to use
578 information from the Windows SDK's headers.
580 2008-08-13 Tor Lillqvist <tml@novell.com>
582 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
585 * win32/gwin32directorymonitor.c
586 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
588 2008-08-13 Matthias Clasen <mclasen@redhat.com>
591 * goutputstream.c: Add intro docs.
593 2008-08-13 Tor Lillqvist <tml@novell.com>
595 * win32/gwinhttpfileoutputstream.c
596 (g_winhttp_file_output_stream_write): Don't write the
597 Content-Length header ourselves, WinHttpSendRequest() takes care
598 of that when the dwTotalLength parameter is non-zero. Increment
599 offset by the number of actual bytes sent, although I wonder if
600 such a scenario is possible where less than requested would be
601 sent and accepted by the server without errors.
603 2008-08-13 Tor Lillqvist <tml@novell.com>
605 * win32/gwinhttpvfs.c
606 * win32/gwinhttpvfs.h
607 * win32/gwinhttpfile.c
608 * win32/gwinhttpfile.h
609 * win32/gwinhttpfileinputstream.c
610 * win32/gwinhttpfileinputstream.h
611 * win32/gwinhttpfileoutputstream.c
612 * win32/gwinhttpfileoutputstream.h: New files implementing
613 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
614 Windows. The implementation uses the WinHttp API. Both reading and
615 writing are supported, i.e. GET and PUT requests. When writing,
616 each write call is done using a separate PUT request with a
617 Content-Range header. Requests for file URIs and plain pathnames
618 are forwarded to GLocalVfs.
620 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
621 WINE. Used as there is no <winhttp.h> bundled with mingw, and
622 requiring people to download the Windows SDK just for this one
623 header is not reasonable.
625 * win32/Makefile.am: Add above files.
627 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
628 the plumbing for the above.
630 2008-08-11 Sven Neumann <sven@gimp.org>
632 * gfilenamecompleter.c
633 * glocaldirectorymonitor.c
635 * gunionvolumemonitor.c
639 * gunixvolumemonitor.c
642 * gwin32volumemonitor.c: use canonical signal names.
644 2008-08-11 Tor Lillqvist <tml@novell.com>
646 * Makefile.am: Put a list of the platform-dependent .la files in
647 the subdirectories in the platform_deps Make variable, and make
648 libgio-2.0.la depend on that, so that it gets relinked if one of
649 the dependent libraries has changed.
651 2008-08-11 Tor Lillqvist <tml@novell.com>
653 * Makefile.am (platform_libadd): Remove -lwininet which had been
654 added by mistake. We will probably eventually be using WinHTTP,
655 not the older WinInet anyway. (Actually I am working on it.)
657 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
659 Bug 547080 – g_file_copy leaks expected errors
661 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
662 before trying the next fallback routine.
664 2008-08-09 Loïc Minier <lool@dooz.org>
666 Bug 535124 – umask 002 not being applied for new directories, new
667 files get the correct umask
669 * gfile.c (g_file_make_directory)
670 (g_file_make_directory_with_parents): Document ownership and
671 permissions of newly created directories as being the default
674 2008-08-08 Loïc Minier <lool@dooz.org>
676 Bug 535124 – umask 002 not being applied for new directories, new
677 files get the correct umask
679 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
682 2008-08-08 Tor Lillqvist <tml@novell.com>
684 * gwin32mount.c: Remove unused code. Whitespace cleanup.
686 * gwin32volumemonitor.c (get_connected_drives): Put questionable
687 code that didn't actually do anything inside #if 0, and add a
688 comment wondering what the code was supposed to do. This also gets
689 rid of a leftover debugging printout.
691 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
693 * gfileicon.c (g_file_icon_get_property)
694 (g_file_icon_set_property): New functions.
695 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
697 (g_file_icon_new): Use the property (bug #546132).
699 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
701 * gthemedicon.c (g_themed_icon_get_property): Also handle
702 `PROP_USE_DEFAULT_FALLBACKS'.
703 (g_themed_icon_class_init): Make
704 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
706 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
708 Bug 546371 – Improve docs re g_file_monitor
710 * gfilemonitor.c: Mention g_file_monitor() in the docs.
712 2008-08-04 Matthias Clasen <mclasen@redhat.com>
714 * === Released 2.17.6 ===
716 2008-08-04 Matthias Clasen <mclasen@redhat.com>
718 * === Released 2.17.5 ===
720 2008-08-04 Matthias Clasen <mclasen@redhat.com>
722 Bug 546017 – Don't copy attributes when copying a symlink
724 * gfile.c (g_file_copy_attributes): Specify
725 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
726 g_file_set_attributes_from_info. Patch by Christian Kellner
728 2008-08-04 Matthias Clasen <mclasen@redhat.com>
730 * gemblemedicon.[hc]:
732 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
733 a bit more extensible. Work by Clemens Buss.
735 * gioenums.h: Add GEmblemOrigin.
738 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
740 Bug 546079 – leak in xdgmime
742 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
744 2008-08-03 Tor Lillqvist <tml@novell.com>
746 * win32/gwin32directorymonitor.h
747 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
750 2008-08-03 Tor Lillqvist <tml@novell.com>
752 * win32/gwin32directorymonitor.c
753 (g_win32_directory_monitor_callback): Make prototype match
754 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
755 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
758 (g_win32_directory_monitor_constructor):
759 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
760 names in the GLib API on Windows, so convert to UTF-16 and open
763 2008-08-03 Tor Lillqvist <tml@novell.com>
765 Bug 541036 - Gnumeric crashes when trying to open Desktop or
766 user's folder under Windows
768 * win32/gwin32directorymonitor.c
769 (g_win32_directory_monitor_constructor): Ignore error from
770 CreateFile() when opening directory. Instead of asserting, just
771 store INVALID_HANDLE_VALUE then in
772 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
773 ReadDirectoryChangesW().
774 (g_win32_directory_monitor_cancel): Don't attempt to close
775 directory handle if it is INVALID_HANDLE_VALUE.
777 2008-08-01 Matthias Clasen <mclasen@redhat.com>
779 * gdesktopappinfo.c: Remove debug spew
781 2008-08-01 Hans Breuer <hans@breuer.org>
783 * makefile.msc : add gemblembedicon
785 2008-07-30 Matthias Clasen <mclasen@redhat.com>
787 Bug 545457 – gdmsetup crashed with SIGSEGV in
788 g_unix_mount_guess_should_display()
790 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
791 crash if no mount is found.
793 2008-07-28 Matthias Clasen <mclasen@redhat.com>
795 Bug 545203 – gfile.c: argument is different type.
797 * gfile.c (open_read_async_thread): Pass a GError **
798 to g_file_set_error_literal.
799 Reported by Kazuki Iwamoto
801 2008-07-28 Matthias Clasen <mclasen@redhat.com>
803 Bug 545157 – wrong/no list of "open with" applications for .cc and
806 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
807 Collect all ancestors, not just direct parents. Pointed
808 out by Bastien Nocera
810 2008-07-28 Matthias Clasen <mclasen@redhat.com>
812 * Makefile.am: Install gemblemedicon.h
814 2008-07-28 Matthias Clasen <mclasen@redhat.com>
816 * gemblemedicon.[hc]: Add a GIcon implementation that can
817 add an emblem to another icon.
824 * gfileicon.c: Small documentation additions.
826 2008-07-28 Tor Lillqvist <tml@novell.com>
828 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
831 2008-07-27 Tor Lillqvist <tml@novell.com>
833 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
835 2008-07-24 David Zeuthen <davidz@redhat.com>
839 Also export a g_mount_guess_content_type_sync() function.
841 2008-07-23 Matthias Clasen <mclasen@redhat.com>
843 529694 – SELinux context setting support
845 * gfileinfo.c: Support setting selinux attributes.
846 Patch by Tomas Bzatek
848 2008-07-22 Priit Laes <plaes@plaes.org>
850 Bug 544140 - fam-helper 64-bit issue?
852 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
854 2008-07-21 Matthias Clasen <mclasen@redhat.com>
856 * === Released 2.17.4 ===
858 2008-07-20 Matthias Clasen <mclasen@redhat.com>
860 * gvolumemonitor.[hc]:
865 * gmount.c: Documentation fixes
867 2008-07-19 Matthias Clasen <mclasen@redhat.com>
869 543504 – crash in Epiphany Web Browser: Opening local file
880 * gvolume.c: Register types thread-safely.
881 Patch by Christian Persch
883 2008-07-18 Matthias Clasen <mclasen@redhat.com>
885 * gcontenttype.c: Remove debug spew
887 2008-07-18 Matthias Clasen <mclasen@redhat.com>
889 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
892 * fen/fen-kernel.c: Remove a warning that was causing
893 crashes. Reported by Lin Ma.
895 2008-07-18 Matthias Clasen <mclasen@redhat.com>
897 Bug 543040 – async reading on dummy file will crash on
900 * gfile.c (open_read_async_thread): Cope with read_fn being
901 NULL. Reported by Lin Ma.
903 2008-07-18 Matthias Clasen <mclasen@redhat.com>
906 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
908 2008-07-16 Matthias Clasen <mclasen@redhat.com>
912 * giomodule.c: Rename a chapter id to avoid filename conflict.
914 2008-07-16 Matthias Clasen <mclasen@redhat.com>
916 Bug 540616 – mem leak in filechooser button
918 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
919 the mount entry. Reported by Chrisitan Persch
921 2008-07-16 Matthias Clasen <mclasen@redhat.com>
923 * gfile.c: Small documentation fixes.
925 2008-07-15 Matthias Clasen <mclasen@redhat.com>
927 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
929 2008-07-08 Matthias Clasen <mclasen@redhat.com>
934 * gmount.c: Documentation improvements.
936 2008-07-08 Matthias Clasen <mclasen@redhat.com>
939 * gmount.[hc]: Add g_mount_guess_content_type().
941 2008-07-06 David Zeuthen <davidz@redhat.com>
944 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
945 is needed for easily handling adoption of foreign volumes by
946 out-of-process volume monitors (#541793)
948 2008-07-06 David Zeuthen <davidz@redhat.com>
950 * gvolumemonitor.[ch]:
951 * gunionvolumemonitor.c: Export the eject-button signal on the
952 volume monitor class (#541794).
954 2008-07-06 Matthias Clasen <mclasen@redhat.com>
956 * gappinfo.c: More doc tweaks
958 2008-07-05 Matthias Clasen <mclasen@redhat.com>
960 * gappinfo.c: Clarify some docs
962 2008-07-03 Matthias Clasen <mclasen@redhat.com>
964 * gdesktopappinfo.c: Fix a stupid mistake.
966 2008-07-02 Matthias Clasen <mclasen@redhat.com>
968 * === Released 2.17.3 ===
970 2008-07-02 Matthias Clasen <mclasen@redhat.com>
972 * gfilemonitor.c: Fix the build.
974 2008-07-02 Matthias Clasen <mclasen@redhat.com>
976 Bug 536160 – Add g_file_monitor()
979 * gfile.[hc]: Add g_file_monitor which can return either
980 a file or a directory monitor. Proposed by Behdad Esfahbod
982 2008-07-02 Matthias Clasen <mclasen@redhat.com>
984 536733 – gio build failure on Irix
986 * glocalfile.c: Use a configure check for structfs.f_bavail.
988 2008-07-02 Matthias Clasen <mclasen@redhat.com>
990 Bug 534639 – add g_desktop_app_info_new_from_keyfile
993 * gdesktopappinfo.[hc]: Add a function to create a
994 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
996 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
998 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1000 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1002 * gunixmounts.c: Fix a doc typo.
1004 2008-07-01 Cody Russell <bratsche@gnome.org>
1006 * gio/gcontenttype.c:
1007 * gio/gwin32appinfo.c:
1008 * gio/gwin32volumemonitor.c:
1009 * gio/gwin32mount.c: Fixed some include problems.
1011 2008-07-01 Cody Russell <bratsche@gnome.org>
1015 Moved all relevant typedefs into these files.
1018 Updated wrt added files.
1020 Split types into separate file for easier maintainership. (#538564)
1022 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1024 Bug 540331 – g_file_append_to () documentation: can return NULL
1026 * gfile.c (g_file_append_to): Clarify docs.
1027 Patch by Jared Moore
1029 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1031 Bug 539090 – g_content_type_from_mime_type() should unalias
1033 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1034 Patch by Markus Bergman
1036 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1038 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1039 g_atomic_pointer_get
1041 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1042 on ppc and alpha. Reported by Mart Raudsepp
1044 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1046 * tests/Makefile.am:
1047 * tests/memory-output-stream.c: Add some tests for
1048 GMemoryOutputStream.
1050 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1052 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1055 * gmemoryoutputstream.c (array_resize): Handle truncation to
1056 zero correctly. Reported by Akira Tagoh
1058 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1060 * gmemoryoutputstream.c: Trivial doc fixes
1062 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1064 Bug 540802 – g_list_prepend doesn't concat lists
1066 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1067 one list to another. Pointed out by Jan Arne Petersen
1069 2008-06-28 Michael Natterer <mitch@imendio.com>
1071 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1073 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1075 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1076 to avoid problems with partial icon themes.
1078 2008-06-17 Hans Breuer <hans@breuer.org>
1080 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1081 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1082 access again on win32, see bug #538127
1083 * giomodule.c : ensure GWin32VolumeMonitor is registered
1084 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1085 * Makefile.am makefile.msc : updated
1087 2008-06-16 Hans Breuer <hans@breuer.org>
1089 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1090 and initialization in one step avoids c99ism
1092 2008-06-16 Christian Persch <chpe@gnome.org>
1095 * gio/gbufferedinputstream.c
1096 * gio/gcancellable.c
1097 * gio/gdatainputstream.c
1098 * gio/gdesktopappinfo.c
1100 * gio/gfileenumerator.c
1101 * gio/gfileinputstream.c
1102 * gio/gfileoutputstream.c
1103 * gio/ginputstream.c
1104 * gio/glocaldirectorymonitor.c
1106 * gio/glocalfileenumerator.c
1107 * gio/glocalfileinfo.c
1108 * gio/glocalfilemonitor.c
1109 * gio/glocalfileoutputstream.c
1110 * gio/gmemoryinputstream.c
1111 * gio/gmemoryoutputstream.c
1112 * gio/goutputstream.c
1113 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1116 2008-06-16 Tor Lillqvist <tml@novell.com>
1118 Bug 538362 - Get Win32 icons back in the file chooser
1120 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1121 corresponding to a file extension in the Registry. Patch by Hans
1123 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1125 2008-06-16 Tor Lillqvist <tml@novell.com>
1127 Patches by Hans Breuer:
1129 * glocalfile.c (is_xp_or_later): Handle compiling against older
1130 SDK headers with missing VerifyVersionInfo(). Conditioned on
1131 _MSC_VER, but should probably use some better test.
1132 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1133 uninitialised statfs_result variable on Win32.
1135 2008-06-16 Michael Natterer <mitch@imendio.com>
1137 * *.c: chain up unconditionally in finalize() and dispose(). Also
1138 don't dereference these function pointers when calling them since
1139 that has no meaning at all.
1141 2008-06-16 Ross Burton <ross@burtonini.com>
1143 * gfileenumerator.c:
1144 Remove check for dispose implementation as it annoys Emmanuele.
1146 2008-06-16 Ross Burton <ross@burtonini.com>
1148 Bug 536252 – GFileEnumerator should allow access to the containing
1151 * gfileenumerator.c:
1152 * gfileenumerator.h:
1154 Add g_file_enumerator_get_container() and a container writeable
1155 construct-only property. Also shuffle around typedefs to make it
1158 * glocalfileenumerator.c:
1159 * glocalfileenumerator.h:
1161 Instead of a string filename take a GFile in the constructor and
1162 use it to set the container property.
1165 Update with new API.
1167 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1169 * gfile.c: Make includes more uniform
1171 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1173 * tests/live-g-file.c (sample_struct):
1174 Use less fancy unicode filenames, so the test doesn't fail
1175 on Mac OS X (#531476).
1177 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1179 * === Released 2.17.2 ===
1181 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1183 * === Released 2.17.1 ===
1185 2008-06-11 A. Walton <awalton@gnome.org>
1187 * tests/g-file.c (test_g_file_new_null):
1188 Fix broken test case.
1190 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1192 * pltcheck.sh: We use g_clear_error now.
1194 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1196 * glocalfile.c (g_local_file_enumerate_children): Revert
1197 an unintended change.
1199 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1201 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1203 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1205 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1208 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1209 as icon for the desktop directory, also make user-home and
1210 user-desktop the preferred icons.
1212 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1215 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1216 to add a name to the front of the list.
1218 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1220 Bug 537392 – Additional colon in xattr name
1222 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1223 too. Reported by Alessandro Morandi
1225 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1227 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1230 * glocalfile.c (get_fs_type): Add afs and autofs.
1231 Patch by Danny Baumann.
1233 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1235 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1237 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1238 is no parent. (Owen Taylor, patch by Christian Neumair)
1240 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1242 * gfile.c (g_file_replace_contents): do not leak the output stream.
1244 2008-06-10 Michael Natterer <mitch@imendio.com>
1246 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1247 uninitialized memory as array index.
1249 2008-06-10 Tor Lillqvist <tml@novell.com>
1251 * gcontenttype.c (g_content_type_can_be_executable)
1252 (g_content_type_get_icon) [Win32]: Add TODO comments.
1254 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1256 * xdgmime/Makefile.am: Fix the build
1258 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1260 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1261 in the shared mime database, if available.
1263 * xdgmime/*: Sync with upstream. This brings support for
1264 glob weights, generic icons, and changes the cache format to
1267 2008-05-28 Michael Natterer <mitch@imendio.com>
1269 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1270 the global CPPFLAGS now.
1272 * tests/data-input-stream.c
1273 * tests/data-output-stream.c
1274 * tests/g-file-info.c
1276 * tests/live-g-file.c
1277 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1279 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1281 * === Released 2.17.0 ===
1283 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1284 doesn't complain about leftover files.
1286 2008-05-27 simon.zheng <simon.zheng@sun.com>
1288 * glocalfile.c: (g_local_file_query_filesystem_info):
1289 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1291 2008-05-26 Michael Natterer <mitch@imendio.com>
1293 * gmemoryoutputstream.h: declare
1294 g_memory_output_stream_get_data_size().
1296 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1298 * tests/*: Make tests work
1300 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1302 * gio.symbols: Add g_memory_output_stream_get_data_size.
1304 2008-05-25 Ross Burton <ross@burtonini.com>
1307 Fix typo in error message (#534764).
1309 2008-05-25 Ross Burton <ross@burtonini.com>
1312 Fix circular dependency loop for gioenumtypes.h (#534759).
1314 2008-05-19 Hans Breuer <hans@breuer.org>
1316 * Makefile.am : EXTRA_DIST += makefile.msc
1318 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1321 * gcontenttype.c: (g_content_type_from_mime_type):
1322 New function to create a content type from a mime type. (#527175,
1325 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1327 Bug 532965 – Should not return filesystem::free for certain file systems
1329 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1330 free space for ncpfs.
1332 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1334 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1336 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1337 st_dev might be zero.
1339 2008-05-16 Tor Lillqvist <tml@novell.com>
1341 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1342 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1344 2008-05-13 Bastien Nocera <hadess@hadess.net>
1346 * gfile.c (has_valid_scheme): A URI scheme must start with a
1347 letter, even if later more characters are allowed (#532852)
1349 2008-05-05 Michael Natterer <mitch@imendio.com>
1351 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1352 code from being checked in that breaks the build of applications
1353 which use G_DISABLE_SINGLE_INCLUDES.
1355 * makegioalias.pl: make the alias file include "glib.h" instead of
1358 * gio.symbols: whitespace change to force regeneration of the
1359 alias file after above script change.
1361 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1363 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1365 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1367 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1369 2008-04-28 David Zeuthen <davidz@redhat.com>
1371 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1372 displaying mounts in a subdirectory not accessible to the
1375 2008-04-22 Michael Natterer <mitch@imendio.com>
1377 * Makefile.am: fix library versioning (it was 0.0.0).
1379 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1381 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1382 Default disable all loggings.
1383 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1384 (port_fetch_event_cb): Fixed two macro nits.
1386 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1388 * xdgmime/xdgmime.c: Rework the timestamp checking code
1389 to protect against duplicate directories in XDG_DATA_DIRS.
1390 Fixes fd.o bug 12513, reported by Joe Shaw.
1392 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1394 Partically revert the last commit after realizing that
1395 xdg_mime_media_type_equal doesn't have to init at all.
1397 * xdgmime/xdgmime.h:
1398 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1400 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1402 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1404 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1405 reported by Joe Shaw and Federico Mena Quintero.
1407 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1408 (xdg_mime_media_type_equal): Turn into a wrapper around the
1411 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1412 functions throughout.
1414 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1416 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1417 tolerate an empty TryExec= line without failing; nautilus used
1418 to create launchers with these in previous versions. Fixes #528433
1420 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1422 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1423 after name. Fixes #527132.
1425 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1427 * gfile.c: (g_file_replace):
1430 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1432 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1434 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1435 by Christian Kellner.
1437 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1439 * gunixmounts.c: (g_unix_mount_guess_should_display):
1440 Don't list the user directory as a mount, fix potential issue
1441 when other users have a similar naming and don't special case the
1442 gvfs mounts there since that's not required (#525866)
1444 2008-03-31 Alexander Larsson <alexl@redhat.com>
1446 * glocalfile.c (get_parent):
1449 2008-03-31 A. Walton <awalton@svn.gnome.org>
1451 * gfile.c (g_file_query_file_type):
1452 Always return a GFileType enum value (#520715).
1454 2008-03-31 Alexander Larsson <alexl@redhat.com>
1456 * glocalfileenumerator.c:
1457 Read readdir() info in chunks (of 1000) and sort
1458 the chunks by inode before stat:ing.
1459 This is a 20% performance increase in testing
1460 gvfs-ls on /usr/bin with cold cache.
1462 2008-03-31 Alexander Larsson <alexl@redhat.com>
1464 * gmemoryoutputstream.c:
1465 Clarify docs for g_memory_output_stream_get_size.
1466 Add g_memory_output_stream_get_data_size.
1468 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1472 * gfile.h: Add g_file_query_file_type convenience function
1473 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1475 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1477 * gfileenumerator.c:
1478 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1480 2008-03-28 A. Walton <awalton@svn.gnome.org>
1482 * giomodule.c (_g_io_modules_ensure_loaded):
1483 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1486 2008-03-28 Alexander Larsson <alexl@redhat.com>
1489 (copy_stream_with_progress):
1492 2008-03-28 Alexander Larsson <alexl@redhat.com>
1495 (copy_stream_with_progress):
1496 (file_copy_fallback):
1497 Fallback to g_file_query_info for source size
1498 if g_file_input_stream_query_info fails. (#524579)
1500 2008-03-28 Alexander Larsson <alexl@redhat.com>
1502 * glocalfile.c (g_local_file_move):
1503 Reuse old string instead of adding new one.
1505 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1507 * fen/*.[hc]: still copyright issue. I hate copyright.
1509 2008-03-27 Alexander Larsson <alexl@redhat.com>
1511 * glocalfile.c (g_local_file_move):
1512 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1513 file over directory. This is according to the docs and what the move via
1514 copy+remove fallback does.
1516 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1518 * fen/*.[hc]: Updated copyright.
1520 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1522 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1524 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1526 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1527 not emit attribute changed events when optimizing changed events.
1528 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1531 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1533 * gmountoperation.[hc]: Small documentation additions
1535 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1537 * gunixmounts.c: (guess_mount_type):
1538 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1540 2008-03-19 Alexander Larsson <alexl@redhat.com>
1543 (copy_stream_with_progress):
1544 Bump block side for copy to 64k to minimize
1545 overhead for low latency links. (#523015)
1547 2008-03-16 Tor Lillqvist <tml@novell.com>
1549 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1550 depend on gio.def on Windows.
1552 2008-03-12 David Zeuthen <davidz@redhat.com>
1556 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1558 2008-03-14 Alexander Larsson <alexl@redhat.com>
1562 Avoid redudant tests (#521851)
1563 Patch from Josselin Mouette
1565 2008-03-14 Alexander Larsson <alexl@redhat.com>
1568 (g_file_monitor_is_cancelled):
1569 Fix C89 issue (#521672)
1570 Patch from Jens Granseuer
1572 2008-03-14 Alexander Larsson <alexl@redhat.com>
1574 * fam/fam-helper.[ch]:
1576 Shut down fam (including removing fam GSource) when
1577 module is unloaded (#521513)
1578 Patch from Joe Marcus Clarke
1580 2008-03-14 Alexander Larsson <alexl@redhat.com>
1583 (_g_io_modules_ensure_loaded):
1586 2008-03-14 Alexander Larsson <alexl@redhat.com>
1589 (g_local_file_query_filesystem_info):
1590 Use right define name for f_fstypename member check
1592 2008-03-14 Alexander Larsson <alexl@redhat.com>
1595 * fen/Makefile.am: Added.
1596 * fen/fen-data.[ch]: Added.
1597 * fen/fen-dump.[ch]: Added.
1598 * fen/fen-helper.[ch]: Added.
1599 * fen/fen-kernel.[ch]: Added.
1600 * fen/fen-missing.[ch]: Added.
1601 * fen/fen-node.[ch]: Added.
1602 * fen/fen-sub.[ch]: Added.
1603 * fen/gfendirectorymonitor.[ch]: Added.
1604 * fen/gfenfilemonitor.[ch]: Added.
1606 Added Solaris FEN file notification backend.
1607 Patch from Lin Ma <Lin.Ma@Sun.COM>
1609 2008-03-13 Tor Lillqvist <tml@novell.com>
1611 * Makefile.am: Actually use the gio.def file when linking the
1612 library on Windows. Produce .lib library for Microsoft's toolchain
1613 when possible. Install the .lib and .def file like for the other
1616 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1618 * tests/live-g-file.c:
1619 Include live-g-file in standard set of tests, making a temporary
1620 directory in source structure.
1622 Clean target directory before the tests (write mode only)
1624 2008-03-12 Tor Lillqvist <tml@novell.com>
1626 Bug 517419 - gio win32 directory monitor
1627 Implementation by Vlad Grecescu.
1630 * win32/gwin32directorymonitor.h
1631 * win32/gwin32directorymonitor.c: New files.
1633 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1635 * Makefile.am: Add the win32 subdirectory.
1637 2008-03-12 Tor Lillqvist <tml@novell.com>
1639 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1640 normal struct stat on Unix but struct _stati64 on Windows to have
1641 access to 64-bit file size information. Use that instead of struct
1642 stat in the functions declared here in this private header.
1644 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1645 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1646 warnings about unused functions and variables. Don't set
1647 meaningless attributes like inode numbers on Windows.
1649 2008-03-12 Benjamin Otte <otte@gnome.org>
1652 trim whitespace so gtk-doc groks the function name
1654 2008-03-12 Tor Lillqvist <tml@novell.com>
1656 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1657 returning FALSE, on Win32.
1659 2008-03-11 Alexander Larsson <alexl@redhat.com>
1662 * glocalfileinfo.[ch]:
1663 Correctly implement can_trash by actually
1664 looking for a trash dir, not just assuming
1667 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1669 * === Released 2.16.1 ===
1671 2008-03-11 Alexander Larsson <alexl@redhat.com>
1674 Fix crashes in new constructor and properties code
1676 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1678 * gfile.c: Minor spelling correction in documentation:
1679 existance -> existence.
1681 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1683 * === Released 2.16.0 ===
1685 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1687 * gio.symbols: Remove g_file_contains_file here, too.
1689 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1691 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1692 Samuel Cormier-Iijima)
1694 2008-03-08 Tor Lillqvist <tml@novell.com>
1696 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1699 2008-03-07 Alexander Larsson <alexl@redhat.com>
1702 (g_local_file_query_filesystem_info):
1703 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1704 Patch from Jasper Lievisse Adriaanse
1706 2008-03-06 Tor Lillqvist <tml@novell.com>
1708 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1709 comments for the *_USEC attributes.
1711 2008-03-06 Alexander Larsson <alexl@redhat.com>
1713 * gfile.c (g_file_query_exists):
1714 Add g_return_val_if_fail check (#520700)
1716 2008-03-06 Alexander Larsson <alexl@redhat.com>
1718 * gdesktopappinfo.c:
1721 * gunionvolumemonitor.c:
1724 * tests/live-g-file.c:
1725 * xdgmime/xdgmimecache.c:
1726 Fix sparse warnings (#519489)
1728 2008-03-05 Alexander Larsson <alexl@redhat.com>
1731 Make cancellation threadsafe (i.e.
1732 guarantee its only done once, and always
1735 * glocaldirectorymonitor.c:
1736 Make sure we the monitor lives while the
1737 mounts_changed callback is being called (#520484)
1739 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1741 * gbufferedinputstream.c: Fix typo in parameter
1744 2008-03-04 Alexander Larsson <alexl@redhat.com>
1747 Remove deprecated symbols we kept for one release.
1749 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1752 * goutputstream.c: Tiny documentation corrections.
1754 2008-03-03 Alexander Larsson <alexl@redhat.com>
1756 * gunionvolumemonitor.c:
1758 Fix the adopt_orphan_mount vfunc to take a
1759 volume_monitor reference in an ABI compat way.
1760 This change is not API compat, but the added
1761 arg is not used in the only user of this vfunc, so
1762 all we get is a harmless warning in gvfs (#520169)
1764 2008-03-01 Benjamin Otte <otte@gnome.org>
1767 clarify docs for g_file_delete().
1769 2008-02-29 Alexander Larsson <alexl@redhat.com>
1773 Make sure empty files get text/plain type (#518720)
1775 2008-02-27 Alexander Larsson <alexl@redhat.com>
1781 (g_unix_volume_mount):
1782 Add missing GMountMountFlags argument
1784 2008-02-26 Alexander Larsson <alexl@redhat.com>
1787 (g_local_file_delete):
1788 Handle filesystems (like ntfs-3g) that return EEXIST instead
1789 of ENOTEMPTY (#518816)
1791 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1793 * === Released 2.15.6 ===
1795 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1797 * gfile.c (g_file_find_enclosing_mount):
1798 * ginputstream.c (g_input_stream_set_pending):
1799 * glocalfile.c (g_local_file_find_enclosing_mount):
1800 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1801 * goutputstream.c (g_output_stream_set_pending):
1803 Fixup translator comments (#518578).
1805 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1807 * gfile.c (g_file_find_enclosing_mount):
1809 * glocalfile.c (g_local_file_find_enclosing_mount):
1812 Fix a few typos in translator comments and documentation.
1814 2008-02-25 Alexander Larsson <alexl@redhat.com>
1821 Add translator comments (#518578)
1823 2008-02-25 Alexander Larsson <alexl@redhat.com>
1826 Reintroduce g_file_contains_file, keep around for one
1827 unstable release cycle to avoid crashing to many apps.
1828 Make sure to delete after release.
1830 2008-02-25 Alexander Larsson <alexl@redhat.com>
1833 Remove deprecated g_file_contains_file.
1835 2008-02-25 Alexander Larsson <alexl@redhat.com>
1838 Emit actual change signals in an idle handler.
1839 This avoids reentrance and locking problems in
1840 the file notification backends.
1842 2008-02-25 Alexander Larsson <alexl@redhat.com>
1845 (g_unix_mount_guess_should_display):
1846 Remove type guessing, instead just display
1847 mounts in /media and in ~/.
1849 2008-02-25 Alexander Larsson <alexl@redhat.com>
1852 Make new strings reuse old ones.
1854 2008-02-25 Alexander Larsson <alexl@redhat.com>
1857 Implement trashing and filesystem::readonly for win32 (#517235)
1858 Patch from Yevgen Muntyan
1860 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1862 * gfileinfo.h: Documentation fixes.
1864 2008-02-22 Alexander Larsson <alexl@redhat.com>
1866 * gcontenttype.c (g_content_type_get_icon):
1867 Look at old-style gnome mime icon names too, as many
1868 have not moved to the new style.
1870 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1872 * *.c: Correct the @include in for section docs.
1874 2008-02-21 David Zeuthen <davidz@redhat.com>
1876 * glocalfileinfo.c: (_g_local_file_info_get):
1878 (g_content_type_get_icon): Implement this function by
1879 moving bits from glocalfileinfo.c
1880 (g_content_type_get_description): Unalias before getting
1881 description (#517687)
1883 * gfile.c: (g_file_class_init),
1884 (g_file_query_filesystem_info_async),
1885 (g_file_query_filesystem_info_finish),
1886 (query_filesystem_info_data_free),
1887 (query_filesystem_info_async_thread),
1888 (g_file_real_query_filesystem_info_async),
1889 (g_file_real_query_filesystem_info_finish):
1890 * gfile.h: Implement async version of
1891 g_file_query_filesystem_info()
1893 * gfileinfo.h: Add new attributes for filesystem::use-preview
1895 * gio.symbols: Update
1897 * gthemedicon.c: (g_themed_icon_append_name):
1898 * gthemedicon.h: Add new new convenience function.
1900 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1901 (get_mounts), (get_volumes), (get_connected_drives),
1902 (get_volume_for_uuid), (get_mount_for_uuid),
1903 (g_union_volume_monitor_init), (populate_union_monitor),
1904 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1905 (g_volume_monitor_adopt_orphan_mount):
1907 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1908 monitor implementations to call into the main volume monitor. Also
1909 separate object initialization and volume monitor initialization
1910 such that non-native volume monitors can properly adopt their
1913 2008-02-21 Alexander Larsson <alexl@redhat.com>
1918 2008-02-21 Alexander Larsson <alexl@redhat.com>
1921 Add more documentation about how GFiles work (from #517086)
1923 2008-02-21 Alexander Larsson <alexl@redhat.com>
1927 Add new g_file_has_prefix that does the same as g_file_contains_file.
1928 Deprecate g_file_contains_file and add a macro that converts
1929 it to g_file_has_prefix.
1930 The reason for this change is that the contains_file() name seems to
1931 imply that this does more work than what it does, but its really only
1932 a name match (from #517086)
1937 Update to match the above change.
1939 2008-02-20 Benjamin Otte <otte@gnome.org>
1941 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1942 (g_file_eject_mountable):
1943 even more cases of not returning in error path
1945 2008-02-20 Benjamin Otte <otte@gnome.org>
1947 * gfile.c: (g_file_mount_mountable):
1948 return from function in error path.
1950 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1953 Remove trailing coma in GMountMountFlags struct
1955 2008-02-18 Alexander Larsson <alexl@redhat.com>
1959 * glocalfileoutputstream.c:
1960 Use g_unlink/g_rename instead of unlink/rename;
1961 do not pass raw filenames to g_set_error. (#517239)
1962 Patch from Yevgen Muntyan.
1964 2008-02-18 Alexander Larsson <alexl@redhat.com>
1967 * glocalfileoutputstream.c:
1968 Open files with O_BINARY on windows. (#517140)
1970 2008-02-14 Alexander Larsson <alexl@redhat.com>
1972 * glocalfileoutputstream.c:
1973 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1975 2008-02-14 Alexander Larsson <alexl@redhat.com>
1978 Copy permissions with file on copy (#514084)
1979 This is what cp does and makes sure e.g. the
1980 exec permissions are kept.
1981 Its kinda weird in that it keeps the permission bits
1982 the same while the uid and gid are different. However
1983 the new uid is the user so its not a security issue,
1984 and I've heard no complaints about cp on this issue.
1986 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1988 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1990 2008-02-13 Alexander Larsson <alexl@redhat.com>
1992 * inotify/inotify-path.c:
1993 Define IN_ONLYDIR if not in header (#515346)
1995 2008-02-12 Alexander Larsson <alexl@redhat.com>
1997 * tests/live-g-file.c:
2000 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2002 * === Released 2.15.5 ===
2004 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2006 * gio.symbols: Add g_mount_mount_flags_get_type.
2008 2008-02-11 Alexander Larsson <alexl@redhat.com>
2011 (g_file_info_set_attribute_mask):
2012 (g_file_attribute_matcher_matches_id):
2013 Correctly handle NULL GAttributeMatcher meaning
2014 matches nothing. (Fixes #513492)
2016 2008-02-11 Alexander Larsson <alexl@redhat.com>
2021 Added GMountMountFlags enum and added a flags
2022 argument to all mount calls.
2024 This is an API/ABI change for future extensibility,
2025 as I think we will need at least an
2026 inhibit-autorun flag (the panel needs this).
2027 There are no flags defined yet though.
2029 2008-02-11 Alexander Larsson <alexl@redhat.com>
2032 Added new standard::description attribute.
2033 Requested by Vincent, and useful for both
2036 2008-02-11 Alexander Larsson <alexl@redhat.com>
2038 * gdesktopappinfo.c:
2041 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2043 * *.c: Documentation additions
2045 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2047 * gappinfo.h: Formatting cleanup
2048 * gappinfo.c: Fix up docs.
2050 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2052 * gunixmounts.c: Consistently use getmntent_r() and fall
2053 back to getmntent(). (#515492)
2055 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2057 * gbufferedinputstream.c:
2059 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2061 * tests/data-input-stream.c:
2062 * tests/data-output-stream.c: Portability fixes.
2064 2008-02-08 Alexander Larsson <alexl@redhat.com>
2069 Add g_volume_should_automount.
2072 2008-02-07 Tor Lillqvist <tml@novell.com>
2074 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2075 Win32, too Unix-specific.
2077 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2079 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2080 a local plt if the compiler doesn't support what we want. Bug #514702
2082 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2084 reviewed by: <delete if not using a buddy>
2087 * gunixinputstream.c:
2088 * gunixoutputstream.c:
2090 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2092 * tests/Makefile.am:
2093 * tests/live-g-file.c:
2094 * tests/live-g-file.txt:
2095 New GIO testing module working over real data
2097 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2099 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2100 Fallback to rename() if link() is not available
2101 (when no support on target filesystem)
2103 2008-02-06 Michael Natterer <mitch@imendio.com>
2105 * gfileinfo.c (g_file_info_get_icon): replace
2106 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2108 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2110 * gfile.c (g_file_create):
2111 Documentation update of error codes
2113 2008-02-06 Alexander Larsson <alexl@redhat.com>
2115 * gdesktopappinfo.c:
2116 Update to use both mimeapps.list and
2117 defaults.list as discussed on xdg list.
2119 2008-02-06 Benjamin Otte <otte@gnome.org>
2122 * gfilenamecompleter.c:
2123 Fix some typos in the documentation.
2125 2008-02-06 Alexander Larsson <alexl@redhat.com>
2127 * glocalfile.c (g_local_file_trash):
2128 Don't succeed with trash if newly created
2129 trash dir has the wrong owner. (#514696)
2131 2008-02-05 Alexander Larsson <alexl@redhat.com>
2133 * glocalfile.c (g_local_file_move):
2134 Don't spew warnings when destination is not
2137 2008-02-03 Hans Breuer <hans@breuer.org>
2139 * makefile.msc : update
2141 2008-02-01 Michael Natterer <mitch@imendio.com>
2143 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2144 return value of xdg_mime_list_mime_parents() to a variable of the
2147 2008-02-01 Alexander Larsson <alexl@redhat.com>
2149 * gappinfo.c (g_app_info_launch_uris):
2150 Actually call the launch_uris method, not
2153 2008-02-01 Alexander Larsson <alexl@redhat.com>
2155 * gdesktopappinfo.c (g_desktop_app_info_equal):
2156 Ensure appinfos with no id but same pointer value
2159 2008-02-01 Alexander Larsson <alexl@redhat.com>
2161 * gappinfo.c (g_app_info_launch_default_for_uri):
2164 2008-02-01 Alexander Larsson <alexl@redhat.com>
2168 Add g_app_info_launch_default_for_uri utility
2171 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2173 * gdesktopappinfo.c:
2174 Doc fix for g_app_info_get_default_for_uri_scheme ()
2177 2008-01-30 Alexander Larsson <alexl@redhat.com>
2180 Add doc comment about uris vs GFiles to
2183 * gdesktopappinfo.c:
2184 Ensure uris passed to g_app_info_launch_uris()
2185 are not roundtriped through GFile (as that
2186 may be slightly destructive for e.g. mailto: links)
2188 2008-01-30 Alexander Larsson <alexl@redhat.com>
2190 * tests/data-input-stream.c:
2191 * tests/data-output-stream.c:
2192 C89 fixes from Jens Granseuer (#512849)
2194 2008-01-30 Alexander Larsson <alexl@redhat.com>
2197 Fix gamin/fam difference build issue. (#509419)
2199 2008-01-29 Alexander Larsson <alexl@redhat.com>
2202 * gdesktopappinfo.c:
2203 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2205 2008-01-29 Alexander Larsson <alexl@redhat.com>
2207 * gdesktopappinfo.c:
2208 * gdesktopappinfo.h:
2209 giomodule-priv.h include moved to .c file.
2211 2008-01-29 Alexander Larsson <alexl@redhat.com>
2213 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2214 Remove unused prio/name fields.
2216 2008-01-29 Alexander Larsson <alexl@redhat.com>
2218 * gcontenttype.c (looks_like_text):
2219 Don't treat whitespace as control chars.
2221 2008-01-29 Alexander Larsson <alexl@redhat.com>
2223 * gdesktopappinfo.c:
2224 Lazily create the desktop files for appinfos created
2225 by g_app_info_create_from_commandline() when needed
2226 for mime associations. This allows run-time use
2227 of GAppInfo object without creating unnecessary
2230 2008-01-29 Alexander Larsson <alexl@redhat.com>
2233 Added new symbols to gio.symbols
2235 2008-01-29 Alexander Larsson <alexl@redhat.com>
2238 Add g_file_query_default_handler utility to easily look up
2239 the GAppInfo that handles a file.
2241 * gdesktopappinfo.[ch]:
2243 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2246 Remove unused function
2248 2008-01-29 Alexander Larsson <alexl@redhat.com>
2250 * gfileenumerator.c:
2251 Mention need to free returned value in
2252 g_file_enumerator_next_files_finish docs.
2253 Fix leak if g_file_enumerator_next_files_finish()
2256 2008-01-29 Alexander Larsson <alexl@redhat.com>
2259 (_g_unix_content_type_get_parents):
2260 Use list_parents, not get_parents from xdgmime, because
2261 the later doesn't use the cache.
2263 * xdgmime/xdgmimecache.c:
2264 (_xdg_mime_cache_list_mime_parents):
2265 Don't list the same type as parent multiple times.
2267 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2269 * === Released 2.15.4 ===
2271 2008-01-28 Alexander Larsson <alexl@redhat.com>
2274 Register local vfs with prio 0.
2277 Remove old name and prio class members
2279 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2281 * tests/g-file.c: Disable some tests that are failing in
2282 the absence of a http backend.
2284 2008-01-28 Alexander Larsson <alexl@redhat.com>
2288 Add registration hooks for extension points.
2289 Register the gio extension points.
2291 * fam/gfamdirectorymonitor.c:
2292 * fam/gfamfilemonitor.c:
2293 * glocaldirectorymonitor.[ch]:
2294 * glocalfilemonitor.[ch]:
2295 * gnativevolumemonitor.h:
2296 * gunionvolumemonitor.c:
2297 * gunixvolumemonitor.c:
2300 * inotify/ginotifydirectorymonitor.c:
2301 * inotify/ginotifyfilemonitor.c:
2302 Use the extension points registration instead
2303 of g_type_children().
2305 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2308 * gvolume.[hc]: Document new API.
2310 * gfile.c (g_file_copy_async): Fix docs
2312 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2314 * gbufferedinputstream.c:
2316 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2319 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2321 * glocalfile.c: Avoid trivial differences in translatable strings.
2323 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2325 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2326 build with gcc 3.4 (#509419)
2328 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2330 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2331 (#509994, Murray Cumming)
2333 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2335 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2336 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2337 this allows big jobs to be executed in chunks, instead of blocking
2338 the main loop for a long time.
2340 * gsimpleasyncresult.c:
2341 * giofile.c: Adapt callers.
2343 2008-01-25 Alexander Larsson <alexl@redhat.com>
2345 * gdesktopappinfo.c:
2346 Implement changes discussed on xdg list.
2347 Now we can add supported mimetypes by just using defaults.list
2348 We can also remove associations in defaults.list.
2350 2008-01-25 Alexander Larsson <alexl@redhat.com>
2352 * gdesktopappinfo.c:
2353 Don't make local copy of desktop file
2354 for mimetype changes if the file already
2355 supports the new mimetype.
2357 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2361 * gbufferedinputstream.c:
2362 * glocalfile.c: String improvements. (#511966,
2363 Theppitak Karoonboonyanan)
2365 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2367 * gioscheduler.h: Expand docs a bit.
2369 2008-01-24 Alexander Larsson <alexl@redhat.com>
2372 Add g_drive_get_identifier and
2373 g_drive_enumerate_identifiers
2376 Add g_volume_get_identifier and
2377 g_volume_enumerate_identifiers
2383 Implement identifiers for unix backend
2385 2008-01-24 Alexander Larsson <alexl@redhat.com>
2390 Add g_file_copy_async() (#511580)
2391 Based on patch from Carlos Garcia Campos
2393 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2395 * gioscheduler.c: Some documentation additions.
2397 2008-01-22 Alexander Larsson <alexl@redhat.com>
2399 * gdesktopappinfo.c:
2400 (g_desktop_app_info_new):
2401 Don't leak basename.
2403 2008-01-22 Alexander Larsson <alexl@redhat.com>
2405 * gdesktopappinfo.c:
2406 (g_desktop_app_info_new_from_filename):
2409 2008-01-22 Alexander Larsson <alexl@redhat.com>
2411 * glocalfileinfo.c (get_thumbnail_attributes):
2414 2008-01-22 Alexander Larsson <alexl@redhat.com>
2417 (canonicalize_filename):
2418 Canonicalize paths that start with more than
2422 (compare_two_files):
2423 (test_g_file_new_for_path):
2426 2008-01-22 Alexander Larsson <alexl@redhat.com>
2429 Allow UTF-8 in file:// parse names.
2431 * tests/Makefile.am:
2432 * tests/data-input-stream.c:
2433 * tests/data-output-stream.c:
2434 * tests/g-file-info.c:
2436 Added a bunch of tests from Tomas Bzatek
2438 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2440 * === Released 2.15.3 ===
2442 2008-01-21 Alexander Larsson <alexl@redhat.com>
2444 * gfileinputstream.[ch]:
2445 * gfileoutputstream.[ch]:
2447 Remove duplicated GSeekable functions. (#509990)
2448 Just use the g_seekable_xxx() calls instead.
2450 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2453 * gvolumemanager.c: Whitespace cleanups.
2455 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2456 Use the right mode when creating the file.
2458 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2460 * gfileenumerator.c:
2461 * gfileinputstream.c:
2463 * goutputstream.c: Documentation: Fixed minor typos
2464 and added more mentions of specific _finish() functions.
2466 2008-01-21 Alexander Larsson <alexl@redhat.com>
2468 * inotify/Makefile.am:
2469 * inotify/inotify-helper.c:
2470 * inotify/inotify-kernel.c:
2471 * inotify/inotify-path.c:
2472 * inotify/local_inotify.h: Removed.
2473 * inotify/local_inotify_syscalls.h: Removed.
2474 Removed the included copies of the inotify
2475 headers. We now only use the <sys/inotify.h>
2476 header which exists on modern systems.
2477 This fixes problems on ARM and SH5 (#510448)
2478 but is also generally much cleaner and future
2479 safe. For instance, if other OSes add support
2480 for inotify it should "just work".
2482 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2484 * inotify/*.c: Coding style fixes.
2485 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2486 for the 1/4 Hz timer.
2488 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2491 * gfilemonitor.[hc]:
2492 * gmemoryinputstream.c:
2493 * gmemoryoutputstream.c:
2494 * gmountoperation.c:
2495 * gthemedicon.c: Documentation updates
2497 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2499 * gfile.c: documentation: Fixed more minor
2502 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2504 * gmount.c: (g_mount_remount): documentation:
2505 Mention g_mount_remount_finish() instead of
2506 g_mount_unmount_finish().
2508 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2512 * gfile.c: Fixed some minor typos in the
2515 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2517 * gio/gvolumemonitor.c:
2518 (g_volume_monitor_get_connected_drives):
2519 (g_volume_monitor_get_volumes):
2520 (g_volume_monitor_get_mounts): Documentation:
2521 Clarify the ownership of the regurn GLists.
2523 2008-01-17 Alexander Larsson <alexl@redhat.com>
2526 Add the async find_enclosing_mount version
2527 to the header file too.
2529 2008-01-17 Alexander Larsson <alexl@redhat.com>
2532 Add async version of find_enclosing_mount
2533 with default implementation.
2535 2008-01-17 Alexander Larsson <alexl@redhat.com>
2540 Allow calls to implementation of copy and write
2541 even if the type of the file implementations is
2542 different. This can be used to implement native
2543 upload and download calls in a vfs.
2546 (g_local_file_move):
2547 Protect against the case where move is called
2548 with one file not being local.
2550 Make sure we call the progress callback once
2551 in the native move operation so that the caller
2552 knows how many bytes were copied.
2554 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2557 * gdatainputstream.c:
2559 * gfileoutputstream.c:
2564 * gunixmounts.c: Corrected some typos in the documentation:
2565 occured -> occurred.
2566 its -> it's (where appropriate).
2568 2008-01-16 Alexander Larsson <alexl@redhat.com>
2572 Add g_file_query_exists (#508771)
2574 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2579 * gvolume.c: For async functions that have no non-async
2580 version, document that the GAsyncReadyCallback may be NULL.
2583 2008-01-15 Alexander Larsson <alexl@redhat.com>
2585 * gmemoryinputstream.c:
2586 * gmemoryoutputstream.c:
2587 Don't do pointer arithmetic on void * (#508602)
2588 Patch from Kazuki IWAMOTO
2590 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2592 * === Released 2.15.2 ===
2594 2008-01-14 Alexander Larsson <alexl@redhat.com>
2596 * gfile.c (g_file_monitor_file):
2597 Don't set error here, since we fallback to polling monitor.
2599 2008-01-14 Alexander Larsson <alexl@redhat.com>
2602 (g_file_monitor_directory):
2603 (g_file_monitor_file):
2604 Add GError to file monitor calls
2606 * glocaldirectorymonitor.c:
2607 * glocaldirectorymonitor.h:
2609 * glocalfilemonitor.c:
2610 * glocalfilemonitor.h:
2612 Update for above change
2614 2008-01-14 Alexander Larsson <alexl@redhat.com>
2618 Handle root correctly in g_file_get_relative_path (#508719)
2620 2008-01-14 Alexander Larsson <alexl@redhat.com>
2623 Clean up docs and example for GAsyncResult (#508074)
2625 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2627 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2628 and correct some spelling mistakes. Bug #508108.
2630 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2632 * glocalfileinfo.c: Add a comment.
2634 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2636 * gfileinfo.c: GFileInfo description: Mention
2637 how to actually set attributes in a GFile and how to discover
2638 which attributes are settable. Bug #508378.
2640 2008-01-10 A. Walton <awalton@svn.gnome.org>
2642 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2643 (g_app_info_get_default_for_type):
2644 Check for NULL content types.
2646 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2648 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2650 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2652 * gfile.c: *_async() functions: Several small corrections
2653 to the documentation, mostly correcting copy/paste errors
2654 and improving some sentences.
2656 2008-01-09 Dan Winship <danw@gnome.org>
2658 * glocalfile.c (get_unique_filename): x86_64 fix
2660 2008-01-09 Alexander Larsson <alexl@redhat.com>
2665 Add g_unix_mount_guess_should_display and use
2666 for unix volume monitor backend.
2667 This means we more or less show what the
2668 gnome-vfs backend did.
2669 Based on patch from Padraig O'Briain
2671 2008-01-09 Alexander Larsson <alexl@redhat.com>
2675 Add g_themed_icon_new_with_default_fallbacks
2678 Use default fallbacks for icons
2680 2008-01-09 Alexander Larsson <alexl@redhat.com>
2683 * gmountoperation.[ch]:
2684 Change the API a bit so that unhandled methods
2685 get reported via the reply, rather than by
2686 the signal emission return value. This is because
2687 some handlers can't know this immediately without
2688 doing I/O, and this is an async operation that
2691 2008-01-09 Alexander Larsson <alexl@redhat.com>
2694 * fam/gfamdirectorymonitor.c:
2695 * fam/gfamfilemonitor.c:
2696 Fix double free crash (#508224)
2697 Patch from Joe Marcus Clarke
2699 008-01-07 Matthias Clasen <mclasen@redhat.com>
2701 * === Released 2.15.1 ===
2703 2008-01-07 Alexander Larsson <alexl@redhat.com>
2705 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2706 Fix warning (#507835)
2708 2008-01-07 Alexander Larsson <alexl@redhat.com>
2711 Pass --internal to glib-genmarshal
2714 * gmountoperation.c:
2716 Use better types for signal arguments (#507822)
2718 2008-01-07 Alexander Larsson <alexl@redhat.com>
2721 Build test subdir after .
2722 Remove gdirectorymonitor.[ch]
2724 * gdirectorymonitor.[ch]:
2728 Remove GDirectoryMonitor and make
2729 GFileMonitor the baseclass for both file and
2730 directory monitors. Lift the more generic
2731 rate limiting code from GDirectoryMonitor
2735 * fam/gfamdirectorymonitor.[ch]:
2736 * inotify/ginotifydirectorymonitor.[ch]:
2737 * inotify/inotify-helper.c:
2738 * glocaldirectorymonitor.[ch]:
2741 Update for the removed GDirectoryMonitor.
2743 * gmemoryoutputstream.c:
2744 Remove ununsed variable
2746 2008-01-07 Alexander Larsson <alexl@redhat.com>
2748 * gmemoryinputstream.c:
2749 Translate error strings
2752 * gmemoryoutputstream.[ch]:
2753 New implementation that avoids using GByteArray
2754 in implementation and API. (#506377)
2756 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2758 * tests/*: Add a test for memory input streams.
2760 * Makefile.am: Add tests to SUBDIRS.
2762 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2764 * glocalfilemonitor.c:
2765 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2768 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2770 * gdesktopappinfo.c: Fix a docs typo.
2772 * gfileattribute.c: Add information about extended attributes
2773 to the documentation. (#505058)
2775 2008-01-04 Alexander Larsson <alexl@redhat.com>
2778 * gmountoperation.c:
2779 Use the right type (uint) for the ask_password signal.
2781 2008-01-04 Alexander Larsson <alexl@redhat.com>
2786 Add g_app_info_supports_files()
2787 Remove desktop arg from g_app_info_should_show().
2789 * gdesktopappinfo.[ch]:
2790 Implement g_app_info_supports_files() and new should_show()
2791 Add g_desktop_app_info_set_desktop_env() to set the desktop
2792 for should_show(). (This will be set by gtk+ later)
2794 2008-01-04 Alexander Larsson <alexl@redhat.com>
2797 * gmemoryinputstream.[ch]:
2798 Improve API so that you can use multiple chunks
2799 of memory and custom destroy functions. (#506374)
2801 2008-01-03 Alexander Larsson <alexl@redhat.com>
2804 Handle NULL attribute matchers safely, as we return this
2805 for empty attribute matcher strings.
2807 2008-01-03 Alexander Larsson <alexl@redhat.com>
2809 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2810 Add /usr/local to list of internal mountpoints
2812 2008-01-03 Alexander Larsson <alexl@redhat.com>
2815 Check for HAVE_LCHOWN (#505887)
2817 2008-01-03 Alexander Larsson <alexl@redhat.com>
2821 Add define for selinux context attribute.
2822 Fix missing : -> :: namespace separator change
2823 Fix missing _ -> - name change for xattr-sys.
2826 2008-01-03 Alexander Larsson <alexl@redhat.com>
2829 Link to libglib and libgobject directly (#504879)
2830 Patch from Sebastien Bacher
2832 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2834 * gfile.c: Expanded the g_file_new_for_commandline_arg
2835 description a bit, based on the code and the docs of the
2836 other g_file_new_for_* functions.
2838 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2840 * gfilemonitor.h: Fixed typo in docs.
2842 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2844 Updates to GIO documentation. (#506395, Mikael Hermansson)
2846 * gcontenttype.c: Describe memory management for return value of
2847 g_content_types_get_registered(). Missing piece from #505815.
2848 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2849 GVolume, GDrive, GMounts, which hopefully gives the user less
2850 confusions when using this API. Following explainations from
2851 Alexander Larsson on gtk-devel-list.
2853 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2855 * gfileinfo.c: Expand the long description.
2857 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2860 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2861 fix builds with --disable-visibility. (#500273, Christian Persch)
2863 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2865 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2866 in the list of returned app infos.
2868 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2870 * gappinfo.c: Fix a cross-reference
2872 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2874 * gfileinputstream.c:
2875 * gfileoutputstream.c:
2879 * gdesktopappinfo.c:
2881 * gfileinfo.c: Documentation updates.
2883 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2885 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2888 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2890 * gcontenttype.c (g_content_types_get_registered): Don't return
2891 freed memory (#505815, Mikael Hermansson)
2893 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2895 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2896 used to detect statbuf->st_blocks. (#505042)
2898 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2900 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2901 environment handling. (#504829, Cosimo Cecchi)
2903 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2905 * gappinfo.c: Doc improvements
2907 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2910 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2912 * === Released 2.15.0 ===
2914 2007-12-20 Hans Breuer <hans@breuer.org>
2916 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2917 with symbols gwin32appinfo.obj, added gmount.obj
2918 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2920 2007-12-20 Alexander Larsson <alexl@redhat.com>
2926 * gfilenamecompleter.c:
2929 * gpollfilemonitor.c:
2930 File attribute renames:
2932 fs:: -> filesystem::
2933 id::fs -> id::filesystem
2935 2007-12-20 Alexander Larsson <alexl@redhat.com>
2944 Add GMountUnmountFlags to all unmount and
2946 Add g_mount_remount() call.
2948 2007-12-20 Alexander Larsson <alexl@redhat.com>
2950 * gvfs.c (get_default_vfs):
2951 Fix unused variable warning
2953 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2955 * pltcheck.sh: Update
2957 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2959 * gunionvolumemonitor.c:
2960 * gunixmount.c: Remove C99 comments
2962 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2964 * gio.symbols: Add some missing symbols
2966 2007-12-19 Alexander Larsson <alexl@redhat.com>
2969 Make g_io_modules_load_all_in_directory not unuse
2970 loaded modules so that users of it can do stuff
2972 Init internal "module" types.
2973 Initialize static prio and name for types so that
2974 we don't have to load modules to get it.
2976 * gnativevolumemonitor.h:
2978 Move is_supported to parent class so that
2979 non-native monitors can avoid being initialized
2980 too. (For instance GDaemonVolumeMonitor if we're
2981 not using GDaemonVfs.)
2983 * glocaldirectorymonitor.[ch]:
2984 * glocalfilemonitor.[ch]:
2985 * gunionvolumemonitor.c:
2986 * gunixvolumemonitor.c:
2988 Find plugins using the static prio+name to
2989 avoid unnecessarily loading the modules.
2991 2007-12-19 Alexander Larsson <alexl@redhat.com>
2996 2007-12-19 Alexander Larsson <alexl@redhat.com>
2998 * gunionvolumemonitor.c:
2999 Store the native type as GType, not class so that
3000 we can unload it. But still avoid unnecessarily
3003 2007-12-19 David Zeuthen <davidz@redhat.com>
3005 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3006 add signals 'disconnected' and 'eject-button' on GDrive. Add
3007 signal 'removed' on GVolume and 'unmounted' on GMount.
3009 * gdrive.c: (g_drive_base_init):
3011 * gfile.c: (g_file_mount_mountable),
3012 (g_file_mount_enclosing_volume):
3015 * gmount.c: (g_mount_base_init):
3017 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3018 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3019 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3023 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3025 * *.c: Fix up includes in the section docs.
3027 2007-12-17 Alexander Larsson <alexl@redhat.com>
3029 * gnativevolumemonitor.h:
3030 * gunionvolumemonitor.c:
3031 * gunixvolumemonitor.c:
3032 Add is_supported() to GNativeVolumeMonitorClass so
3033 that we can avoid having to create an object to see
3034 if the backend is supported at runtime.
3035 Also add name member and an env var to pick a specific
3036 volume monitor backend.
3040 Add cancellable to _g_mount_get_for_mount_path()
3042 * glocaldirectorymonitor.c:
3043 * glocalfilemonitor.c:
3044 Avoid loading and unloading modules while sorting.
3046 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3049 * gunixmounts.[hc]: Namespace waste reduction, move some
3050 g_get_unix_mount functions to the g_unix_mount namespace.
3053 * gunixvolumemonitor.c:
3055 * glocaldirectorymonitor.c: Update all callers.
3057 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3059 2007-12-17 Alexander Larsson <alexl@redhat.com>
3062 Add doc comments about what GFile operations are
3063 guaranteed to not block.
3065 2007-12-17 Alexander Larsson <alexl@redhat.com>
3068 Add missing #ifdef fixing OSX build.
3069 (#503334, patch from Richard Hult)
3071 2007-12-14 David Zeuthen <davidz@redhat.com>
3075 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3076 (g_mount_eject), (g_mount_eject_finish):
3078 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3079 (get_volume_for_uuid), (get_mount_for_uuid),
3080 (g_union_volume_monitor_class_init),
3081 (get_default_native_type_with_exclude), (get_default_native_type),
3082 (get_native_type), (update_native_type),
3083 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3084 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3085 (g_unix_mount_can_eject), (eject_unmount_cb),
3086 (eject_unmount_read_error), (eject_unmount_do),
3087 (g_unix_mount_unmount), (g_unix_mount_eject),
3088 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3089 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3090 (g_unix_mount_point_guess_can_eject):
3092 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3093 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3094 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3095 (g_unix_volume_mount), (g_unix_volume_eject),
3096 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3097 * gunixvolumemonitor.c: (get_volume_for_uuid),
3098 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3100 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3101 (g_volume_eject), (g_volume_eject_finish):
3103 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3104 (g_volume_monitor_get_mount_for_uuid):
3107 Provide eject() on both GMount and GVolume and utility functions
3108 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3109 ejected. Introduce the concept of UUID's and wire it into GVolume
3110 and GMount and provide API on GVolumeMonitor to find such
3111 instances. Also handle the case where an external
3112 GNativeVolumeMonitor fails to initialize. Lock around the
3113 _g_get_mount_for_mount_path() function such that volume monitor
3114 implementations won't have to do locking themselves.
3116 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3118 * gdesktopappinfo.c:
3124 * gvolume.h: Documentation updates
3126 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3129 * gfile.h: Doc updates
3131 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3134 * gdesktopappinfo.c: Use hash table iterators.
3136 2007-12-14 Alexander Larsson <alexl@redhat.com>
3139 * gfileattribute.[ch]:
3140 * gfileattribute-priv.h:
3141 Move GFileAttributeValue to a private header, as
3145 Make set_attribute take a type + a pointer instead
3146 of a GFileAttributeValue.
3149 Fix up for above changes.
3150 Add g_file_info_get_attribute_data to get
3151 all info in one call, g_file_info_get_attribute_status
3152 to get the status and g_file_info_get_attribute_as_string.
3156 * glocalfileinfo.[ch]:
3160 Make _guess_type static.
3162 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3165 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3166 made mkenums and friends use temporary files to avoid leaving
3167 empty generated files on failure (#503470).
3169 2007-12-14 Alexander Larsson <alexl@redhat.com>
3171 * gmountoperation.h:
3174 2007-12-14 Alexander Larsson <alexl@redhat.com>
3178 * gfileattribute.[ch]:
3181 * glocalfileoutputstream.c:
3182 * gmountoperation.[ch]:
3183 * goutputstream.[ch]:
3184 Clean up all flags enums to not have _FLAGS in them
3185 Make the names of some of the enums better.
3190 2007-12-14 Michael Natterer <mitch@imendio.com>
3192 * gio.symbols: fix g_io_scheduler symbol names.
3194 2007-12-14 Alexander Larsson <alexl@redhat.com>
3200 * gbufferedinputstream.h:
3201 * gbufferedoutputstream.h:
3204 * gdatainputstream.h:
3205 * gdataoutputstream.h:
3206 * gdesktopappinfo.h:
3207 * gdirectorymonitor.h:
3211 * gfileenumerator.h:
3214 * gfileinputstream.h:
3216 * gfilenamecompleter.h:
3217 * gfileoutputstream.h:
3218 * gfilterinputstream.h:
3219 * gfilteroutputstream.h:
3227 * gmemoryinputstream.h:
3228 * gmemoryoutputstream.h:
3230 * gmountoperation.h:
3233 * gsimpleasyncresult.h:
3235 * gunixinputstream.h:
3237 * gunixoutputstream.h:
3241 * inotify/Makefile.am:
3242 Only allow including <gio/gio.h> from apps
3244 2007-12-14 Alexander Larsson <alexl@redhat.com>
3246 * gioscheduler.[ch]:
3247 * gsimpleasyncresult.c:
3248 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3249 Split out the send_to_mainloop call into two versions instead
3250 of having the block argument.
3252 2007-12-13 Alexander Larsson <alexl@redhat.com>
3254 * gcancellable.[ch]:
3256 * gbufferedinputstream.c:
3257 * gfileenumerator.c:
3258 * gfileinputstream.c:
3259 * gfileoutputstream.c:
3263 g_push/pop_current_cancellable ->
3264 g_cancellable_push/pop_current
3266 2007-12-13 Alexander Larsson <alexl@redhat.com>
3270 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3272 2007-12-13 Alexander Larsson <alexl@redhat.com>
3274 * gmountoperation.h:
3275 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3277 2007-12-12 Alexander Larsson <alexl@redhat.com>
3280 Fix race condition when freeing proxy in
3281 g_io_job_send_to_mainloop().
3283 2007-12-12 Alexander Larsson <alexl@redhat.com>
3289 Make attribute namespace separator "::" instead of ":".
3290 Use - instead of _ as separator in attribute names.
3292 2007-12-12 Alexander Larsson <alexl@redhat.com>
3294 * gbufferedinputstream.h:
3295 * gbufferedoutputstream.h:
3296 * gdatainputstream.h:
3297 * gdataoutputstream.h:
3298 * gdirectorymonitor.h:
3299 * gfileenumerator.h:
3300 * gfileinputstream.h:
3302 * gfileoutputstream.h:
3303 * gfilterinputstream.h:
3304 * gfilteroutputstream.h:
3306 * glocalfileinputstream.h:
3307 * glocalfileoutputstream.h:
3308 * gmemoryinputstream.h:
3309 * gmemoryoutputstream.h:
3310 * gnativevolumemonitor.h:
3312 * gunixinputstream.h:
3313 * gunixoutputstream.h:
3316 s/parent/parent_instance/ in GObjects
3318 2007-12-12 Alexander Larsson <alexl@redhat.com>
3323 No need for padding for interfaces
3325 2007-12-12 Alexander Larsson <alexl@redhat.com>
3329 * gbufferedinputstream.c:
3330 * gbufferedoutputstream.c:
3333 * gdatainputstream.[ch]:
3334 * gdesktopappinfo.c:
3335 * gdirectorymonitor.c:
3337 * gfileattribute.[ch]:
3340 * gfileinputstream.h:
3341 * gfilemonitor.[ch]:
3342 * gfileoutputstream.[ch]:
3343 * gfilterinputstream.h:
3344 * gfilteroutputstream.h:
3347 * gloadableicon.[ch]:
3348 * gmemoryinputstream.c:
3349 * gmountoperation.c:
3351 Fix up a bunch of details in the docs.
3356 2007-12-11 David Zeuthen <davidz@redhat.com>
3358 Rework how volumes, drives and volume monitoring is
3359 done. Previosly the model was
3361 GDrive <1-1> GVolume
3363 where a GDrive instance represented a mount point and a GVolume
3364 instance represented a mounted file system. This patch changes it
3367 GDrive <1-N> GVolume <1-1> GMount
3369 where GMount now serves the purpose of the old GVolume and the new
3370 GVolume serves the purpose of the old GDrive. In addition the new
3371 GDrive interface is used to represent a collection of GVolume
3372 instances (typically partitions) and also contains utility to query
3373 the state of the physical drive the GDrive object represents (such
3374 as checking for media, polling the drive, ejecting the media etc.).
3376 Also implement mounting and unmounting in the Unix volume monitor
3377 backend. A subquent patch will introduce GDrive support for ejection
3381 * gdrive.c: (g_drive_is_media_check_automatic),
3382 (g_drive_is_media_removable), (g_drive_has_media),
3383 (g_drive_can_poll_for_media), (g_drive_eject),
3384 (g_drive_eject_finish), (g_drive_poll_for_media),
3385 (g_drive_poll_for_media_finish):
3387 * gfile.c: (g_file_find_enclosing_mount):
3390 * glocaldirectorymonitor.c:
3391 (g_local_directory_monitor_constructor), (mounts_changed):
3392 * glocalfile.c: (get_mount_info),
3393 (g_local_file_find_enclosing_mount),
3394 (g_local_file_file_iface_init):
3395 * gnativevolumemonitor.h:
3396 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3397 (get_connected_drives), (g_union_volume_monitor_class_init),
3398 (child_volume_added), (child_volume_removed),
3399 (child_volume_changed), (child_mount_added), (child_mount_removed),
3400 (child_mount_pre_unmount), (child_mount_changed),
3401 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3402 (g_union_volume_monitor_remove_monitor),
3403 (_g_mount_get_for_mount_path):
3404 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3405 (guess_system_internal), (_g_get_unix_mounts),
3406 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3407 (g_unix_mount_free), (g_unix_mount_compare),
3408 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3409 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3410 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3411 (type_to_icon), (g_unix_mount_guess_name),
3412 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3413 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3414 (_resolve_symlink), (_resolve_dev_root):
3416 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3417 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3418 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3419 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3420 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3421 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3422 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3423 (g_unix_volume_volume_iface_init):
3425 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3426 (get_mounts), (get_volumes), (get_connected_drives),
3427 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3428 (mountpoints_changed), (mounts_changed),
3429 (g_unix_volume_monitor_init),
3430 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3431 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3432 * gunixvolumemonitor.h:
3433 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3434 (g_volume_mount), (g_volume_mount_finish):
3436 * gvolumemonitor.c: (g_volume_monitor_class_init),
3437 (g_volume_monitor_get_connected_drives),
3438 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3441 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3443 * gmountoperation.h (GPasswordFlags): Close the gap
3445 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3447 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3449 * gdesktopappinfo.[hc]: Remove _-prefixes
3451 2007-12-10 Tor Lillqvist <tml@novell.com>
3453 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3456 2007-12-10 Alexander Larsson <alexl@redhat.com>
3458 * gfile.c (g_file_set_display_name):
3459 Don't hardcode '/' (#502727)
3461 2007-12-09 Hans Breuer <hans@breuer.org>
3463 * makefile.msc : follow lib naming convention
3464 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3465 for user and group name, tested with ../tests/gio-ls
3467 2007-12-09 A. Walton <awalton@svn.gnome.org>
3469 * gdesktopappinfo.c:
3475 * gfileenumerator.c:
3480 * gmemoryinputstream.c:
3481 * gmemoryoutputstream.c:
3483 * gsimpleasyncresult.c:
3484 More documentation cleanup and filling in missing information, bringing
3485 GIO to 99% symbol coverage.
3487 2007-12-08 Hans Breuer <hans@breuer.org>
3489 [gio compiles and links on win32, not sure how much already works]
3490 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3491 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3492 base on win32 API; prefer g_lstat() over lstat(); instead of
3493 localtime_r() use an all GLib implementation on win32;
3494 get_mount_info() still needs a win32 specifc implementation
3495 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3496 win32_get_file_user_info to get owner/group info without uid/gid
3497 * glocalfileinputstream.c : include <io.h> on win32
3498 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3499 definition, use g_win32_ftruncate() for G_OS_WIN32
3500 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3501 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3502 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3503 * makefile.msc : updated
3505 2007-12-07 Alexander Larsson <alexl@redhat.com>
3507 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3508 Avoid warning spew if error == NULL
3510 2007-12-07 Alexander Larsson <alexl@redhat.com>
3513 Update docs wrt etags
3515 2007-12-06 Alexander Larsson <alexl@redhat.com>
3518 Include sys/types.h for dev_t (#501919)
3520 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3524 Make abicheck and pltcheck pass.
3526 2007-12-05 Alexander Larsson <alexl@redhat.com>
3529 * giomodule-priv.h: Added.
3530 * glocaldirectorymonitor.c:
3531 * glocalfilemonitor.c:
3532 * gunionvolumemonitor.c:
3534 Actually add the declaration of _g_io_modules_ensure_loaded
3536 2007-12-05 Alexander Larsson <alexl@redhat.com>
3538 * gdatainputstream.c:
3543 * glocaldirectorymonitor.c:
3544 * glocalfilemonitor.c:
3545 * gunionvolumemonitor.c:
3547 Make g_io_modules_ensure_loaded a private function and
3548 don't pass in the dirname. This means we can do magic
3549 directory finding in the win32 version.
3550 Export the actual load-modules-in-directory code so that
3551 gvfs can reuse that.
3553 2007-12-05 Alexander Larsson <alexl@redhat.com>
3555 * gbufferedinputstream.c:
3556 * gbufferedoutputstream.c:
3559 * gfileenumerator.[ch]:
3560 * gfileinputstream.c:
3561 * gfileoutputstream.[ch]:
3562 * gfilterinputstream.c:
3563 * gfilteroutputstream.c:
3564 * ginputstream.[ch]:
3566 * glocalfileenumerator.c:
3567 * glocalfileinputstream.c:
3568 * glocalfileoutputstream.c:
3569 * gmemoryinputstream.c:
3570 * gmemoryoutputstream.c:
3571 * goutputstream.[ch]:
3574 * gunixinputstream.c:
3575 * gunixoutputstream.c:
3576 Rename all struct members named:
3577 read, write, close, truncate, or mount
3578 to foo_fn, as these are reserved names
3579 and could be defined as macros in libc.
3582 2007-12-04 Alexander Larsson <alexl@redhat.com>
3585 (g_output_stream_close):
3586 Only call flush if non-null.
3588 2007-11-30 Dan Winship <danw@gnome.org>
3590 * ginputstream.c (g_input_stream_set_pending): Make this take a
3591 GError and return a gboolean, and do the "outstanding operation"
3592 check (and the "stream is already closed" check) itself.
3593 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3595 * goutputstream.c (g_output_stream_set_pending)
3596 (g_output_stream_clear_pending): Likewise
3598 * gbufferedinputstream.c:
3599 * gfileinputstream.c:
3600 * gfileoutputstream.c: Update for that
3602 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3603 Like g_simple_async_report_error_in_idle, but takes a GError
3604 rather than building one.
3606 2007-11-30 Dan Winship <danw@gnome.org>
3608 * goutputstream.c: Don't cheat and unset the "pending" flag around
3609 inner calls. Instead, call the class method directly rather than
3610 the wrapper function that checks "pending"
3612 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3614 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3616 2007-12-03 Hans Breuer <hans@breuer.org>
3618 [start of port to win32/msvc]
3619 * gcancellable.c : HAVE_UNIST_H and _pipe()
3620 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3621 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3622 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3624 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3625 * glocalvfs.c : use HAVE_PWD_H
3626 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3627 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3628 * Makefile.am : added to EXTRA_DIST
3630 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3632 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3635 2007-12-03 Alexander Larsson <alexl@redhat.com>
3638 Handle OSX style xattrs API (#500506)
3640 2007-12-03 Alexander Larsson <alexl@redhat.com>
3644 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3646 2007-12-02 A. Walton <awalton@svn.gnome.org>
3650 Documentation accuracy fixes.
3652 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3654 * gioenumtypes.c.template: Fix typo.
3656 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3658 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3660 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3662 * gdirectorymonitor.c:
3663 * gfilemonitor.c: Add properties
3665 * gbufferedoutputstream.c: Don't mark buffer-size property
3668 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3670 * gbufferedoutputstream.c: Add auto-grow property.
3672 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3674 * *.c: Unify the capitalization of section headings.
3676 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3678 * gmountoperation.c: Add properties
3680 * gdatainputstream.c: Turn byte-order and newline-type into
3683 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3685 * gioenumtypes.[hc].template: Templates for enum registration
3687 * Makefile.am: Generate gioenumtypes.[hc]
3689 * gio.h: Include gioenumtypes.h
3691 * gfile.h: Add some explicit nicks.
3693 * gio.symbols: Add new symbols
3695 * pltcheck.sh: Adjust
3697 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3699 * *.c: Explain etags and link to the explanation
3701 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3703 * *.c: Explain I/O priority.
3705 * *.c: More coding style fixes.
3707 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3709 * gasyncresult.c: Add another paragraph to the intro,
3710 adjust coding style of example.
3712 2007-11-29 A. Walton <awalton@svn.gnome.org>
3715 Fixes unknown meaning in GAppLaunchContext docs.
3717 Clarify asynchronous ops.
3719 Fix entity tag docs.
3722 Provides missing gtk-doc section, fixes API docs slighly.
3723 * gsimpleasyncresult.c:
3724 Fill in missing info in docs.
3725 * gunixinputstream.c:
3726 * gunixoutputstream.c:
3727 Be more expressive in short description.
3729 Remove gtk-doc stubs for non-public API.
3731 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3733 * *.c: Coding style fixups
3735 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3737 * inotify/inotify-helper.c: Don't export the lock from libgio.
3739 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3742 * abicheck.sh: Fix copy-and-paste leftovers
3744 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3746 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3748 2007-11-28 Alexander Larsson <alexl@redhat.com>
3752 Removed unnecessary file
3754 * gdesktopappinfo.[ch]:
3757 * glocaldirectorymonitor.[ch]:
3759 * glocalfileenumerator.[ch]:
3760 * glocalfileinputstream.[ch]:
3761 * glocalfilemonitor.[ch]:
3762 * glocalfileoutputstream.[ch]:
3764 * gnativevolumemonitor.c:
3765 * gpollfilemonitor.[ch]:
3766 * gunionvolumemonitor.[ch]:
3769 * gunixvolumemonitor.[ch]:
3772 * inotify/ginotifydirectorymonitor.[ch]:
3773 * inotify/ginotifyfilemonitor.[ch]:
3774 * inotify/inotify-helper.c:
3775 Append _ to all internal functions
3779 Export symbols needed for modules
3781 2007-11-28 Alexander Larsson <alexl@redhat.com>
3784 * abicheck.sh: Added.
3785 * makegioalias.pl: Added.
3786 * pltcheck.sh: Added.
3787 * gio.symbols: Added.
3790 Initial work on adding symbol handling.
3793 Correct ifdef guard name
3796 * inotify/Makefile.am:
3797 * xdgmime/Makefile.am:
3798 Include toplevel Makefile.decl
3800 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3802 * gcontenttype.c: Move doc comments to the unix section.
3804 * *.[hc]: More trivial doc corrections.
3806 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3808 * gpollfilemonitor.c:
3812 * gdesktopappinfo.c:
3817 * gdatainputstream.c:
3818 * gdatainputstream.h:
3819 * gdataoutputstream.c:
3820 * gdataoutputstream.h:
3821 * gfileinfo.h: Doc cleanups
3823 2007-11-28 Andre Klapper <a9016009@gmx.de>
3825 * gdesktopappinfo.c: Fix a typo.
3827 2007-11-27 Andre Klapper <a9016009@gmx.de>
3829 * glocalfileoutputstream.c: Fix a typo.
3831 2007-11-27 Alexander Larsson <alexl@redhat.com>
3834 Don't include removed headers
3836 2007-11-27 Alexander Larsson <alexl@redhat.com>
3839 * gsocketinputstream.[ch]: Removed.
3840 * gsocketoutputstream.[ch]: Removed.
3841 * gunixinputstream.[ch]: Added.
3842 * gunixoutputstream.[ch]: Added.
3843 Renamed GSocket*Stream to GUnix*Stream and made
3844 it unix-only, since its not really only for sockets
3845 and it only works on unix (but is highly useful there).
3847 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3853 * gbufferedinputstream.c:
3854 * gbufferedinputstream.h:
3855 * gbufferedoutputstream.c:
3856 * gbufferedoutputstream.h:
3860 * gdatainputstream.c:
3861 * gdatainputstream.h:
3862 * gdataoutputstream.c:
3863 * gdataoutputstream.h:
3864 * gdirectorymonitor.c:
3865 * gdirectorymonitor.h:
3872 * gfileenumerator.c:
3873 * gfileenumerator.h:
3878 * gfileinputstream.c:
3879 * gfileinputstream.h:
3882 * gfilenamecompleter.c:
3883 * gfilenamecompleter.h:
3884 * gfileoutputstream.c:
3885 * gfileoutputstream.h:
3886 * gfilterinputstream.c:
3887 * gfilterinputstream.h:
3888 * gfilteroutputstream.c:
3889 * gfilteroutputstream.h:
3902 * glocalfileoutputstream.c:
3903 * gmemoryinputstream.c:
3904 * gmemoryinputstream.h:
3905 * gmemoryoutputstream.c:
3906 * gmemoryoutputstream.h:
3907 * gmountoperation.c:
3908 * gmountoperation.h:
3911 * gpollfilemonitor.c:
3914 * gsimpleasyncresult.c:
3915 * gsimpleasyncresult.h:
3916 * gsocketinputstream.c:
3917 * gsocketinputstream.h:
3918 * gsocketoutputstream.c:
3919 * gsocketoutputstream.h:
3926 * gunixvolumemonitor.c:
3935 Bumps documentation to 93% symbol coverage, touching most
3936 of the public files. Fixes broken function documentation prototypes.
3937 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3938 gtk-doc headers in private files.
3940 2007-11-27 Jürg Billeter <j@bitron.ch>
3942 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3943 (g_buffered_input_stream_read_byte):
3944 * gbufferedinputstream.h:
3945 New functions for efficient access to buffer and simple single byte
3948 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3949 (g_data_input_stream_read_until):
3950 * gdatainputstream.h:
3951 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3952 read_until with multiple stop chars.
3954 2007-11-27 Alexander Larsson <alexl@redhat.com>
3958 * inotify/Makefile.am:
3959 Use the user-specified giomoduledir
3961 2007-11-27 Alexander Larsson <alexl@redhat.com>
3965 Add catch-all gio.h header
3966 Don't install gdummyfile.h
3968 2007-11-26 Alexander Larsson <alexl@redhat.com>
3970 * Makefile.am (gioinclude_HEADERS):
3971 Remove trailing whitespace
3973 2007-11-26 Alexander Larsson <alexl@redhat.com>
3975 Merge gio-standalone into glib
3977 2007-11-25 Christian Kellner <gicmo@gnome.org>
3979 * gio/goutputstream.c:
3980 Fix small mistake in the docs.
3982 2007-11-21 Christian Persch <chpe@gnome.org>
3984 * gio/glocalfile.c: (g_local_file_trash):
3985 Convert filenames to UTF-8 for GError.
3986 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3987 as per xdg base dir spec.
3989 2007-11-21 Christian Persch <chpe@gnome.org>
3991 * gio/gdesktopappinfo.c:
3992 Use that g_key_file_to_data cannot fail.
3994 Use stock defines for the key file group and key names.
3997 2007-11-21 Alexander Larsson <alexl@redhat.com>
4000 (copy_stream_with_progress):
4001 Make sure we do a final progress callback with
4002 the full total size.
4004 2007-11-21 Alexander Larsson <alexl@redhat.com>
4007 Export g_file_copy_attributes
4008 Remove padding as its not needed for interfaces
4010 2007-11-20 Alexander Larsson <alexl@redhat.com>
4015 Add G_IO_ERROR_WOULD_MERGE for
4016 copy/move dir on dir with overwrite.
4018 2007-11-20 Alexander Larsson <alexl@redhat.com>
4021 * gio/glocalfileinfo.c:
4022 Add COPY_NAME (this is an optional
4023 non-modified utf8 version of the name) that
4026 2007-11-20 Alexander Larsson <alexl@redhat.com>
4028 * gio/glocalfileenumerator.c:
4029 Report errors as GIOError, not GFileError
4031 2007-11-16 Alexander Larsson <alexl@redhat.com>
4033 * gio/glocalfileoutputstream.c:
4034 * gio/gwin32appinfo.c:
4035 Fix typos in strings.
4036 Patch from Luca Ferretti <elle.uca@libero.it>
4038 2007-11-15 Alexander Larsson <alexl@redhat.com>
4041 Post release version bump
4043 === gio-standalone 0.1.2 ===
4045 2007-11-15 Alexander Larsson <alexl@redhat.com>
4047 * docs/reference/gio/Makefile.am:
4048 Fix up distcheck by removing weird
4054 2007-11-14 Alexander Larsson <alexl@redhat.com>
4056 * gio/gdesktopappinfo.c:
4057 * gio/glocaldirectorymonitor.c:
4059 * gio/glocalfileinfo.c:
4060 * gio/inotify/inotify-sub.c:
4061 * programs/gio-cat.c:
4062 * programs/gio-copy.c:
4063 * programs/gio-info.c:
4064 * programs/gio-ls.c:
4065 * programs/gio-monitor-dir.c:
4066 * programs/gio-monitor-file.c:
4067 * programs/gio-mount.c:
4068 * programs/gio-move.c:
4069 * programs/gio-rm.c:
4070 * programs/gio-save.c:
4071 * programs/gio-trash.c:
4072 Leak fixes from Kjartan Maraas
4074 2007-11-14 Alexander Larsson <alexl@redhat.com>
4076 * gio/fam/fam-helper.c:
4078 * gio/glocalfileinfo.c:
4082 * gio/inotify/inotify-diag.c:
4083 * gio/inotify/inotify-kernel.c:
4084 Various code cleanups from Kjartan Maraas
4086 2007-11-14 Alexander Larsson <alexl@redhat.com>
4088 * gio/gioscheduler.c:
4090 Set up threadpool so that we cache 2 unused
4091 idle threads for at 15 secs. This means we
4092 will reuse thread-local data (like dbus connections)
4095 2007-11-14 Alexander Larsson <alexl@redhat.com>
4097 * gio/fam/fam-helper.c:
4098 * gio/fam/gfamdirectorymonitor.c:
4099 * gio/fam/gfamfilemonitor.c:
4101 * gio/gcontenttype.c:
4102 * gio/gdatainputstream.c:
4103 * gio/gdataoutputstream.c:
4107 * gio/gfileattribute.h:
4108 * gio/gfileenumerator.c:
4110 * gio/ginputstream.c:
4113 * gio/glocalfileinfo.c:
4114 * gio/goutputstream.c:
4115 * gio/gpollfilemonitor.c:
4116 * gio/gsimpleasyncresult.c:
4117 * gio/gunixmounts.c:
4118 * gio/gunixmounts.h:
4119 * gio/inotify/ginotifydirectorymonitor.c:
4120 * gio/inotify/ginotifyfilemonitor.c:
4121 * gio/inotify/inotify-diag.c:
4122 * gio/inotify/inotify-kernel.c:
4123 * gio/inotify/inotify-path.c:
4125 * gio/test-streams.c:
4126 * programs/gio-info.c:
4127 * programs/gio-monitor-dir.c:
4128 * programs/gio-monitor-file.c:
4129 Various code cleanups from Kjartan Maraas
4131 2007-11-13 Alexander Larsson <alexl@redhat.com>
4134 Handle the uri-scheme calls for dummy files
4136 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4138 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4139 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4140 to avoid clash with the C++ keyword.
4142 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4144 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4145 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4147 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4149 * gio/glocaldirectorymonitor.c:
4150 * gio/glocalfilemonitor.c:
4151 * gio/gunionvolumemonitor.c:
4152 Don't use g_once_init_*() for initializations that could fail and
4153 could leave the initialization variable set to 0 but use GOnce.
4154 This prevents a deadlock on the second call when trying to create
4155 a monitor and no monitor type is available. Thanks to Sven Herzberg
4158 2007-11-11 Sven Herzberg <sven@imendio.com>
4160 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4161 #ifdef (make it work on MacOS X again)
4163 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4165 Fixes Changelog for last two commits (sorry guys).
4167 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4169 * gio/gbufferedinputstream.c:
4170 * gio/gdatainputstream.c:
4172 * gio/gfileoutputstream.c:
4173 * gio/gfilterinputstream.c:
4174 * gio/glocalfileinputstream.c:
4177 More consistency fixes in g*stream.c files.
4178 Significant clean of gfile's documentation, filling in of
4179 asynchronous operations documentation.
4181 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4183 * gio/gasyncresult.c:
4184 * gio/gbufferedinputstream.c:
4185 * gio/gbufferedoutputstream.c:
4186 * gio/gcancellable.c:
4187 * gio/gcontenttype.c:
4188 * gio/gdatainputstream.c:
4189 * gio/gdataoutputstream.c:
4190 * gio/gdesktopappinfo.c:
4193 * gio/gfileattribute.c:
4194 * gio/gio/gfileenumerator.c:
4196 * gio/gfileinputstream.c:
4197 * gio/gfilemonitor.c:
4198 * gio/gfileoutputstream.c:
4199 * gio/ginputstream.c:
4201 * gio/gioscheduler.c:
4202 * gio/gloadableicon.c:
4203 * gio/glocalfileoutputstream.c:
4204 * gio/gmemoryoutputstream.c:
4205 * gio/gmountoperation.c:
4206 * gio/goutputstream.c:
4208 * gio/gsimpleasyncresult.c:
4209 * gio/gunionvolumemonitor.c:
4210 * gio/gunixmounts.c:
4211 * gio/gunixvolume.c:
4215 * gio/gvolumemonitor.c:
4216 Updated documentation stubs, working towards consistency and
4219 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4221 * gio/gmemoryoutputstream.c:
4222 * gio/gmemoryoutputstream.h:
4223 Change g_memory_output_stream_set_free_on_close() to
4224 g_memory_output_stream_set_free_data() as this makes more sense and
4225 is more consistent with GMemoryInputStream.
4227 2007-11-07 Alexander Larsson <alexl@redhat.com>
4234 Change how we find the default vfs so that
4235 we can handle a gvfs failing to init
4237 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4239 * gio/gbufferedoutputstream.c:
4240 * gio/gdatainputstream.c:
4241 * gio/gdataoutputstream.c:
4242 * gio/gfileinputstream.c:
4243 * gio/gfileoutputstream.c:
4244 * gio/gfilterinputstream.c:
4245 * gio/gfilteroutputstream.c:
4246 * gio/ginputstream.c:
4247 * gio/gmemoryinputstream.c:
4248 * gio/gmemoryoutputstream.c:
4249 * gio/goutputstream.c:
4250 * gio/gsimpleasyncresult.c:
4251 * gio/gsocketinputstream.c:
4252 * gio/gsocketoutputstream.c:
4253 Add guards to the remaining public functions, add a TODO for
4254 an unimplemented function and remove some useless guards.
4256 2007-11-07 Alexander Larsson <alexl@redhat.com>
4259 Autoconf checks for the various types of
4260 getpwuid_r and getgrgid_r
4262 * gio/glocalfileinfo.c:
4263 Use the autoconf checks from above
4265 2007-11-07 Alexander Larsson <alexl@redhat.com>
4268 (g_local_file_query_filesystem_info):
4269 Some fixes for the statvfs case
4271 2007-11-07 Alexander Larsson <alexl@redhat.com>
4274 (g_local_file_query_filesystem_info):
4275 Pick the "best" of statfs / statvfs for the system
4276 if both are availible.
4278 2007-11-07 Alexander Larsson <alexl@redhat.com>
4280 Solaris fixes from Halton.Huo@Sun.COM:
4287 * gio/glocalfileinfo.c:
4288 Fix for solaris definition of getpwuid_r
4290 * gio/test-streams.c:
4291 Use G_GNUC_PRETTY_FUNCTION
4293 2007-11-07 Alexander Larsson <alexl@redhat.com>
4295 * gio/gdesktopappinfo.c:
4296 (update_default_list):
4297 Remove double semicolon.
4298 Patch from Jens Granseuer
4300 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4302 * docs/reference/gio/gio-sections.txt:
4303 * gio/gbufferedinputstream.c:
4304 * gio/gbufferedinputstream.h:
4305 * gio/gdatainputstream.c:
4306 * gio/gfileenumerator.c:
4307 * gio/gioscheduler.c:
4308 * gio/gunionvolumemonitor.c:
4310 * programs/gio-save.c:
4311 Fix typo: availible -> available. Unfortuntely this breaks API
4312 and ABI as g_buffered_input_stream_get_available() was renamed.
4314 * gio/gunixmounts.c:
4315 * gio/gbufferedinputstream.c:
4316 Add guards for public functions.
4318 2007-11-06 Ross Burton <ross@openedhand.com>
4320 * docs/reference/gio/Makefile.am:
4321 Fix invalid += usage which automake 1.10 doesn't like.
4323 2007-11-06 Alexander Larsson <alexl@redhat.com>
4326 (g_app_launch_context_class_init):
4329 Patch from Ross Burton
4331 2007-11-06 Alexander Larsson <alexl@redhat.com>
4334 Post release version bump
4336 === gio-standalone 0.1.1 ===
4338 2007-11-06 Alexander Larsson <alexl@redhat.com>
4341 Bump version to 0.1.1
4343 * gio/gsimpleasyncresult.c:
4344 (g_simple_async_result_set_from_error):
4345 Remove bogus g_return_if_fail
4347 2007-11-06 Alexander Larsson <alexl@redhat.com>
4350 The name is gio-standalone
4353 Add top src/builddir to includedir
4355 2007-11-06 Alexander Larsson <alexl@redhat.com>
4357 * docs/reference/gio/gio-sections.txt:
4359 * gio/gbufferedinputstream.c:
4360 * gio/gbufferedoutputstream.c:
4361 * gio/gcancellable.c:
4362 * gio/gdatainputstream.h:
4363 * gio/gdataoutputstream.c:
4364 * gio/gdataoutputstream.h:
4365 * gio/gdirectorymonitor.c:
4367 * gio/gfileattribute.c:
4368 * gio/gfileattribute.h:
4369 * gio/gfileenumerator.c:
4370 * gio/gfileenumerator.h:
4373 * gio/gfileinputstream.h:
4374 * gio/gfilemonitor.c:
4375 * gio/gfileoutputstream.h:
4376 * gio/glocalfilemonitor.h:
4377 * gio/glocalfileoutputstream.h:
4378 * gio/gmemoryinputstream.c:
4379 * gio/gmemoryoutputstream.c:
4380 * gio/gmountoperation.c:
4381 * gio/goutputstream.c:
4382 * gio/goutputstream.h:
4384 * gio/gsimpleasyncresult.c:
4385 * gio/gunixmounts.c:
4386 * gio/gunixmounts.h:
4388 * gio/inotify/inotify-helper.c:
4389 Fix gtk-doc warnings
4391 Patch from Ross Burton
4393 2007-11-06 Alexander Larsson <alexl@redhat.com>
4395 * gio/gfilenamecompleter.c:
4396 (g_filename_completer_get_completions):
4399 * gio/gunixvolume.c:
4400 Remove unused function
4402 Patches from Ross Burton
4404 2007-11-06 Alexander Larsson <alexl@redhat.com>
4409 Padding not needed for interfaces
4411 2007-11-06 Alexander Larsson <alexl@redhat.com>
4413 * gio/gfilemonitor.c:
4417 Make giotypes.h an internal file
4420 * gio/gbufferedinputstream.h:
4421 * gio/gbufferedoutputstream.h:
4422 * gio/gcancellable.h:
4423 * gio/gdatainputstream.h:
4424 * gio/gdataoutputstream.h:
4425 * gio/gdirectorymonitor.c:
4426 * gio/gdirectorymonitor.h:
4431 * gio/gfileattribute.h:
4432 * gio/gfileenumerator.h:
4437 * gio/gfilemonitor.c:
4438 * gio/gfilemonitor.h:
4439 * gio/gfilenamecompleter.c:
4440 * gio/gfilenamecompleter.h:
4441 * gio/gfilterinputstream.h:
4442 * gio/gfilteroutputstream.h:
4443 * gio/ginputstream.h:
4444 * gio/gmemoryinputstream.h:
4445 * gio/gmemoryoutputstream.h:
4446 * gio/gmountoperation.c:
4447 * gio/gmountoperation.h:
4448 * gio/gnativevolumemonitor.c:
4449 * gio/goutputstream.h:
4452 * gio/gsimpleasyncresult.c:
4453 * gio/gsimpleasyncresult.h:
4454 * gio/gsocketinputstream.h:
4455 * gio/gsocketoutputstream.h:
4456 * gio/gthemedicon.c:
4457 * gio/gthemedicon.h:
4461 * gio/gvolumemonitor.c:
4462 * gio/gvolumemonitor.h:
4463 Add padding in classes where it seems useful
4464 Don't include giotypes.h from public headers
4465 Move in Class definitions into c file where possible
4470 2007-11-06 Alexander Larsson <alexl@redhat.com>
4472 * docs/reference/gio/gio-docs.xml:
4473 Better structure for API docs
4475 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4478 * gio/gloadableicon.c:
4479 * gio/gsimpleasyncresult.c:
4480 * gio/gthemedicon.c:
4481 Add some more guards to public functions. Only files missing are now
4484 2007-11-06 Alexander Larsson <alexl@redhat.com>
4486 * docs/reference/gio/gio-docs.xml:
4487 Remove old files, add missing ones
4489 2007-11-06 Alexander Larsson <alexl@redhat.com>
4491 * docs/reference/gio/gio-sections.txt:
4494 Hide implementation classes
4496 * gio/gdriveprivate.h:
4497 * gio/gvolumeprivate.h:
4498 Remove non-existing function declarations
4500 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4503 Fix compilation warnings and add guards to the new functions.
4505 * gio/gasyncresult.c:
4507 Add guards to the public functions.
4510 Implement get_path().
4512 2007-11-06 Alexander Larsson <alexl@redhat.com>
4514 * gio/gfilenamecompleter.c:
4515 Make g_filename_completer_get_completions
4516 return char ** instead of GList for
4519 * docs/reference/gio/gio-docs.xml:
4520 * docs/reference/gio/gio-sections.txt:
4522 * gio/gasyncresult.c:
4523 * gio/gbufferedinputstream.c:
4524 * gio/gbufferedoutputstream.c:
4525 * gio/gcancellable.c:
4526 * gio/gcontenttype.c:
4527 * gio/gdatainputstream.c:
4528 * gio/gdataoutputstream.c:
4529 * gio/gdesktopappinfo.c:
4530 * gio/gdirectorymonitor.c:
4534 * gio/gfileattribute.c:
4535 * gio/gfileenumerator.c:
4538 * gio/gfileinputstream.c:
4539 * gio/gfilemonitor.c:
4540 * gio/gfilenamecompleter.c:
4541 * gio/gfilenamecompleter.h:
4542 * gio/gfileoutputstream.c:
4543 * gio/gfilterinputstream.c:
4545 * gio/ginputstream.c:
4547 * gio/gioscheduler.c:
4548 * gio/gloadableicon.c:
4549 * gio/glocaldirectorymonitor.c:
4551 * gio/glocalfileinputstream.c:
4552 * gio/glocalfilemonitor.c:
4553 * gio/glocalfileoutputstream.c:
4555 * gio/gmemoryinputstream.c:
4556 * gio/gmemoryoutputstream.c:
4557 * gio/gmountoperation.c:
4558 * gio/goutputstream.c:
4559 * gio/gpollfilemonitor.c:
4561 * gio/gsimpleasyncresult.c:
4562 * gio/gsocketinputstream.c:
4563 * gio/gsocketoutputstream.c:
4564 * gio/gthemedicon.c:
4565 * gio/gunionvolumemonitor.c:
4567 * gio/gunixmounts.c:
4568 * gio/gunixvolume.c:
4569 * gio/gunixvolumemonitor.c:
4573 * gio/gvolumemonitor.c:
4574 * gio/gwin32appinfo.c:
4575 Add (mostly stub) doc strings to public functions.
4576 Patch from Andrew Walton (awalton@gmail.com)
4578 2007-11-06 Alexander Larsson <alexl@redhat.com>
4580 * gio/gappinfo.[ch]:
4581 Added GAppLaunchContext object and pass that to launch.
4582 This allows simple implementation of both
4583 launch-on-screen and startup notification via a gtk+
4584 subclass of GAppLaunchContext
4586 * gio/gdesktopappinfo.c:
4587 Implement GAppLaunchContext API
4589 * gio/gwin32appinfo.c:
4592 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4594 * gio/gmountoperation.c:
4595 Add some guards to GMountOperation's public functions.
4597 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4601 * gio/gcancellable.c:
4602 * gio/gdirectorymonitor.c:
4604 * gio/gfileenumerator.c:
4605 * gio/gfilemonitor.c:,
4606 * gio/gfilenamecompleter.c:
4609 * gio/gioscheduler.c:
4613 * gio/gvolumemonitor.c:
4614 Add even more guards to various public functions.
4616 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4619 Add guards to the public functions of GAppInfo.
4621 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4623 * gio/gcontenttype.c:
4624 Add some more guards for public functions.
4626 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4628 * gio/fam/fam-module.c:
4629 * gio/fam/gfamdirectorymonitor.c:
4630 * gio/fam/gfamdirectorymonitor.h:
4631 * gio/fam/gfamfilemonitor.c:
4632 * gio/fam/gfamfilemonitor.h:
4633 * gio/inotify/ginotifydirectorymonitor.c:
4634 * gio/inotify/ginotifydirectorymonitor.h:
4635 * gio/inotify/ginotifyfilemonitor.c:
4636 * gio/inotify/ginotifyfilemonitor.h:
4637 Add proper copyright information and remove an unused variable
4638 in the GInotifyFileMonitor constructor.
4640 * gio/gcancellable.c:
4641 Add a guard for a public function and an assertion to prevent
4642 an undefined program state.
4644 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4646 * gio/gfileattribute.c:
4647 Don't run into an assertion if the given attribute value is NULL
4648 in g_file_attribute_value_get_*() but instead return a fallback
4649 value that makes sense in most situations. Passing them a attribute
4650 value with the wrong type will still run into an assertion.
4652 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4654 * gio/gfileattribute.c:
4656 Add even more guards to the public functions. Also fix the refcounting
4657 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4658 let g_file_info_list_attributes() filter the attributes by namespace
4659 instead of simply ignoring the namespace parameter.
4661 2007-11-03 Sven Herzberg <sven@imendio.com>
4663 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4664 (This makes gio work on MacOS X again)
4666 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4669 Build the gio subdirectory before the docs. Otherwise the build will
4672 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4673 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4674 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4675 Add guards to the public functions.
4677 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4679 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4680 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4681 to prevent a compiler warning.
4683 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4684 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4685 return something in the non-void function find_topdir_for().
4687 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4694 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4696 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4697 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4698 * gwin32appinfo.c (g_win32_app_info_launch):
4699 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4700 envp_for_startup_id, g_desktop_app_info_launch,
4701 g_desktop_app_info_launch_uris):
4703 Give an opaque 'startup_id' string instead of 'envp'.
4704 Support empty file lists for launching new windows.
4705 Fix infinite recursion bug when launching URIs.
4707 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4710 Add guard to the new g_file_get_uri_scheme() function.
4712 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4715 Convert a g_return_val_if_fail() to setting the GError instead as
4716 otherwise applications have to verify the parameter before otherwise
4717 and the parameter might come directly from the user.
4719 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4721 * gio/inotify/ginotify*.[ch]:
4722 Add missing copyright information.
4724 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4727 Add guards in the beginning of public functions to check for valid
4728 parameters and fix a bug in copy_stream_with_progress() that could've
4729 caused writing less bytes than reading.
4730 * gio/glocalfileinfo.c:
4731 Check for a NULL parameter and set the GError accordingly then.
4732 * gio/goutputstream.c:
4733 Fix the same bug as in gfile.c that could've caused writing less bytes
4734 than reading in g_output_stream_real_splice().
4736 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4739 Use the correct gvolumeprivate.h naming
4741 2007-11-01 Christian Kellner <gicmo@gnome.org>
4744 Remove leftover "$(daemon_sources)" entry.
4746 2007-11-01 Christian Kellner <gicmo@gnome.org>
4751 Add copyright information to source files.
4753 2007-11-01 Alexander Larsson <alexl@redhat.com>
4757 Add g_file_get_uri_scheme
4759 2007-11-01 Alexander Larsson <alexl@redhat.com>
4762 * gio/gdesktopappinfo.c:
4763 * gio/gwin32appinfo.c:
4764 Add g_app_info_get_default_for_uri_scheme.
4766 2007-11-01 Alexander Larsson <alexl@redhat.com>
4769 Correct filename for gdriveprivate.h
4771 2007-10-31 Alexander Larsson <alexl@redhat.com>
4774 Rename id:value to id:file
4777 * gio/glocalfileinfo.c:
4780 2007-10-31 Alexander Larsson <alexl@redhat.com>
4782 * gio/gunixvolume.c:
4784 Remove g_volume_get_platform_id, as thats not
4785 needed with the simpler union volume monitor
4787 2007-10-31 Alexander Larsson <alexl@redhat.com>
4790 * gio/guniondrive.[ch]: Removed.
4791 * gio/gunionvolume.[ch]: Removed.
4792 Remove GUnionDrive/Volume
4794 * gio/gunionvolumemonitor.c:
4795 Simplify union volume monitor, now we
4796 only have one native volume monitor and
4797 we use the actual volumes/drives from the
4798 child monitors instead of wrapping them
4800 * gio/gnativevolumemonitor.[ch]:
4801 Base class for native volume monitors.
4802 Includes priority and get_volume_for_mountpoint
4805 Add g_file_find_enclosing_volume
4808 Remove volume name fs attribute
4809 Add readonly fs attribute
4812 Implement readonly attribute
4813 remove volume name attribute
4814 Implement find_enclosing volume
4816 * gio/gunixmounts.c:
4817 Add a volume for "/".
4819 * gio/gunixvolume.[ch]:
4820 Set better name for /
4822 * gio/gunixvolumemonitor.[ch]:
4823 Derive from GNativeVolumeMonitor
4824 Implement get_volume_for_mountpoint
4827 GVolume typedef moved to gfile.h
4829 * gio/gvolumeprivate.h:
4830 Add g_volume_get_for_mount_path
4832 2007-10-31 Alexander Larsson <alexl@redhat.com>
4834 * gio/gunixmounts.[ch]:
4835 Add cache info to unix mount listers
4836 Make getmntent use threadsafe
4837 Add is_system_internal attribute for GUnixMount
4839 * gio/gunixvolume.c:
4840 (g_unix_volume_new):
4841 Use is_system_internal instead of own code
4843 * gio/glocaldirectorymonitor.c:
4844 * gio/gunixvolumemonitor.c:
4845 Update to new gunixmounts API
4850 2007-10-30 Alexander Larsson <alexl@redhat.com>
4853 Add volume name fsinfo attribute
4856 Read volume name info
4858 * gio/gunionvolumemonitor.c:
4859 Fix infinite loops when finalizing a union volume monitor
4861 2007-10-30 Alexander Larsson <alexl@redhat.com>
4863 * gio/goutputstream.[ch]:
4864 Add splice() with default implementation
4866 * gio/gsocketoutputstream.c:
4867 (g_socket_output_stream_write):
4868 Return error on cancellation correctly.
4870 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4872 * gio/glocalfile.c (g_local_file_trash):
4873 Do not leak a string.
4875 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4877 * gio/gfile.c (g_file_load_contents):
4878 Unref the stream after closing it.
4880 2007-10-25 Alexander Larsson <alexl@redhat.com>
4882 * gio/gioscheduler.h:
4885 2007-10-25 Alexander Larsson <alexl@redhat.com>
4889 Add g_file_has_uri_scheme and implement for local files
4891 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4893 * gio/gdesktopappinfo.c: do not leak a string.
4895 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4897 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4898 (g_local_directory_monitor_new):
4899 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4900 (g_local_file_monitor_new):
4901 Only look for the monitor type that should be used the first time
4902 and use g_qsort_with_data() instead of our own bubble sort
4905 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4908 * gio/fam/Makefile.am:
4909 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4910 * gio/fam/fam-helper.h:
4911 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4912 * gio/fam/gfamdirectorymonitor.c:
4913 * gio/fam/gfamdirectorymonitor.h:
4914 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4915 * gio/fam/gfamfilemonitor.h:
4916 * gio/glocaldirectorymonitor.c:
4917 * gio/glocaldirectorymonitor.h:
4918 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4919 * gio/glocalfilemonitor.h:
4920 * gio/inotify/Makefile.am:
4921 * gio/inotify/ginotifydirectorymonitor.c:
4922 * gio/inotify/ginotifydirectorymonitor.h:
4923 * gio/inotify/ginotifyfilemonitor.c:
4924 * gio/inotify/ginotifyfilemonitor.h:
4925 Implement the FAM and Inotify monitors as
4926 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4927 their own GIO module. GLocal(Directory|File)Monitor will use the
4928 monitor with the highest rank that is supported on that machine.
4930 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4933 Change GIO module dir to $(libdir)/gio/modules and change
4934 the log domain from GVFS to GIO. Also only export symbols starting
4935 with g_ in the resulting library.
4936 * gio/test-streams.c: (main):
4937 Set log handler for the GIO log domain.
4939 2007-10-22 Alexander Larsson <alexl@redhat.com>
4941 * gio/gfilenamecompleter.[ch]:
4942 Add g_filename_completer_set_dirs_only
4944 2007-10-22 Alexander Larsson <alexl@redhat.com>
4947 * gio/gurifuncs.[ch]:
4948 Add some simple URI helpers
4950 * gio/gfilenamecompleter.[ch]:
4951 Added object for filename (parse name actually) completion
4954 Handle ~ in parse names
4956 2007-10-17 Alexander Larsson <alexl@redhat.com>
4959 * gio/glocalfileinfo.c:
4960 Add and implement id:value attribute
4962 2007-10-17 Alexander Larsson <alexl@redhat.com>
4965 * gio/guniondrive.c:
4967 Add and implement g_drive_has_volumes
4969 2007-10-17 Alexander Larsson <alexl@redhat.com>
4972 * gio/glocalfileinfo.[ch]:
4973 Add unix:is_mountpoint and implement for local files
4975 2007-10-16 Alexander Larsson <alexl@redhat.com>
4977 * gio/gunionvolumemonitor.c:
4978 (g_union_volume_monitor_init):
4979 Fix up the unix type getting so that it works with gcc
4981 2007-10-12 Alexander Larsson <alexl@redhat.com>
4984 * gio/glocalfileinfo.c:
4985 Add thumbnail:failed to file info
4987 2007-10-12 Richard Hult <richard@imendio.com>
4989 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4990 optimizing away the get_type call (happens with some gcc versions,
4991 like the one shipped with OS X 10.4).
4993 2007-10-12 Alexander Larsson <alexl@redhat.com>
4995 * gio/glocalfileinfo.c:
4996 (_g_local_file_info_set_attribute):
4997 Fix build if not HAVE_XATTR
4998 Patch from Milosz Derezynski <internalerror@gmail.com>
5000 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5002 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5003 around for review, otherwise I would have asked you before
5006 2007-10-11 Alexander Larsson <alexl@redhat.com>
5009 Add thumbnail:path attribute
5011 * gio/glocalfileinfo.c:
5012 Implement thumbnail:path for local files
5014 2007-10-11 Alexander Larsson <alexl@redhat.com>
5016 * gio/glocalfileinfo.c:
5017 (_g_local_file_info_get):
5018 Avoid duplicate icon names
5020 2007-10-11 Alexander Larsson <alexl@redhat.com>
5022 * gio/gthemedicon.[ch]:
5023 Change g_themed_icon_get_names return type to const
5025 2007-10-10 Alexander Larsson <alexl@redhat.com>
5027 * gio/glocalfileinfo.c:
5028 Don't reference freed memory
5030 2007-10-10 Alexander Larsson <alexl@redhat.com>
5032 * gio/gfileattribute.c:
5035 * gio/glocalfileinfo.c:
5038 2007-10-10 Alexander Larsson <alexl@redhat.com>
5041 Check for NULL icons
5043 * gio/gfileattribute.c:
5044 Don't dup when getting objects (same as for string attributes)
5046 * gio/gicon.c (g_icon_equal):
5047 Safely handle NULLs in equal
5049 2007-10-10 Alexander Larsson <alexl@redhat.com>
5052 Fix c++ compilation issues
5053 Patch from Milosz Derezynski <internalerror@gmail.com>
5055 2007-10-10 Alexander Larsson <alexl@redhat.com>
5057 * programs/gio-monitor-dir.c:
5058 Don't crash if dir monitor not supported.
5060 2007-10-09 Alexander Larsson <alexl@redhat.com>
5063 Add missing G_END_DECLS
5065 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5067 * gio/gfile.c: (g_file_set_display_name),
5068 (g_file_query_settable_attributes),
5069 (g_file_query_writable_namespaces):
5070 Return NULL not FALSE on errors as the return type is a pointer.
5072 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5074 * gio/glocalfile.c: (g_local_file_monitor_file):
5075 Don't call monitor_file on the default interface vtable (which
5076 is NULL) but simply return NULL. The caller, GFile, will create a
5077 polling monitor if NULL is returned.
5079 2007-10-09 Alexander Larsson <alexl@redhat.com>
5083 * gio-unix-2.0.pc.in:
5084 Add gio-unix-2.0.pc if OS_UNIX
5087 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5089 2007-10-09 Alexander Larsson <alexl@redhat.com>
5091 * gio/gunixmounts.[ch]:
5092 Make unix mount monitoring API sane.
5093 Now its just a object with mounts_changed
5094 and mountpoints_changed signals.
5096 * gio/glocaldirectorymonitor.c:
5097 * gio/gunixvolumemonitor.c:
5098 Use new mount monitor api
5100 2007-10-09 Alexander Larsson <alexl@redhat.com>
5102 * gio/gunixmounts.[ch]:
5103 Move guess type into one call for mounts and one for mountpoints
5106 * gio/gunixvolume.c:
5109 2007-10-09 Alexander Larsson <alexl@redhat.com>
5111 * gio/gunixmounts.[ch]:
5112 Remove _ prefix in preparation to make this semi-public
5113 Hide implementation of structs
5115 * gio/glocaldirectorymonitor.c:
5117 * gio/gunixvolume.c:
5118 * gio/gunixvolumemonitor.c:
5119 Update for above API changes
5121 2007-10-08 Alexander Larsson <alexl@redhat.com>
5124 Better polling fallback. This also handles the case where we have
5125 a monitor_file implementation, but it fails.
5127 2007-10-08 Alexander Larsson <alexl@redhat.com>
5131 * gio/gunixmounts.c:
5132 * programs/gio-monitor-dir.c:
5133 * programs/gio-monitor-file.c:
5134 Added cancellable to file monitoring calls.
5135 These are really sync calls and need this.
5137 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5139 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5140 (g_local_vfs_class_init):
5141 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5142 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5144 2007-10-05 Alexander Larsson <alexl@redhat.com>
5146 * gio/gdirectorymonitorprivate.h:
5147 * gio/gfilemonitorprivate.h:
5148 * gio/gdirectorymonitor.h:
5149 * gio/gfilemonitor.h:
5150 Remove *private.h and move to the public API, so that
5151 we can do implementations outside gio (such as in gvfs)
5153 * gio/gdirectorymonitor.c:
5154 * gio/gfilemonitor.c:
5155 * gio/glocaldirectorymonitor.c:
5156 * gio/gpollfilemonitor.c:
5157 * gio/inotify/inotify-helper.c:
5158 * gio/fam/fam-helper.c:
5159 Update to the new header names
5161 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5163 * gio/gdirectorymonitor.c:
5164 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5167 2007-10-04 Alexander Larsson <alexl@redhat.com>
5169 * gio/glocalfileinfo.c (get_access_rights):
5170 Set CAN_TRASH when we can move the file.
5171 We should really also check for a parent trash dir.
5173 2007-10-04 Alexander Larsson <alexl@redhat.com>
5175 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5176 Add can_trash access attribute
5178 2007-10-04 Alexander Larsson <alexl@redhat.com>
5181 (g_local_file_trash):
5182 Create info file first. This is per-spec and allows
5183 us to actually trash directories.
5185 2007-10-02 Alexander Larsson <alexl@redhat.com>
5187 * gio/gdesktopappinfo.c:
5188 Implement the new mime support code.
5189 Always set app as handling mimetype when being set as default for it
5191 2007-10-01 Alexander Larsson <alexl@redhat.com>
5193 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5194 Fix up check for xattrs:
5196 2007-10-01 Alexander Larsson <alexl@redhat.com>
5199 (g_app_info_set_as_default_for_extension):
5200 (g_app_info_add_supports_type):
5201 (g_app_info_can_remove_supports_type):
5202 (g_app_info_remove_supports_type):
5203 Make these fail nicely if not implemented
5205 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5207 * gio/glocalfileoutputstream.c:
5208 * gio/glocalfileoutputstream.h:
5213 * programs/gio-save.c:
5214 Add a GFileCreateFlags argument to operations that can create
5217 2007-10-01 Alexander Larsson <alexl@redhat.com>
5219 * gio/gappinfo.[ch]:
5220 * gio/gdesktopappinfo.c:
5221 Add more (stubbed out) mime API needed for nautilus
5223 2007-10-01 Alexander Larsson <alexl@redhat.com>
5226 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5227 Add g_app_info_set_as_default_for_extension.
5229 * gio/gdesktopappinfo.c:
5230 Dummy for g_app_info_set_as_default_for_extension
5231 Support flags in g_app_info_create_from_commandline
5233 * gio/gwin32appinfo.c:
5235 Update for API changes
5237 * gio/gthemedicon.c:
5238 Properly NULL-terminate list of icon names
5240 2007-09-28 Alexander Larsson <alexl@redhat.com>
5242 * gio/gloadableicon.h:
5243 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5245 2007-09-28 Alexander Larsson <alexl@redhat.com>
5248 Install headers in $includedir/gio-standalone/
5250 * gio-2.0.pc.in: Added.
5251 * gio-standalone.pc.in: Removed.
5254 Renamed pkg-config file to match glib (for future move)
5255 Update to the new include dir
5258 Add more TODO comments
5260 2007-09-28 Alexander Larsson <alexl@redhat.com>
5262 * gio/gdesktopappinfo.[ch]:
5263 Expose new_from_filename
5264 Add getter for is_hidden and handle it better
5266 2007-09-28 Alexander Larsson <alexl@redhat.com>
5268 * gio/gfileinfo.[ch]:
5269 Rename g_file_size_format_for_display to
5270 g_format_file_size_for_display.
5271 Now it doesn't have the g_file prefix, so we
5272 can later move it to glib.
5274 2007-09-28 Alexander Larsson <alexl@redhat.com>
5276 * gio/gappinfo.[ch]:
5277 Add g_app_info_get_id and g_app_info_get_executable.
5278 Make all getters non-reffing
5279 Make g_app_info_launch take GFile arguments.
5280 Add must_support_uris argument to g_app_info_get_default_for_type.
5282 * gio/gwin32appinfo.c:
5283 Update to GAppInfo api changes
5285 * gio/gdesktopappinfo.c:
5286 Update to GAppInfo api changes
5287 Implement supports_xdg_startup_notify
5289 * gio/gfileicon.c (g_file_icon_get_file):
5290 Make getter non-reffing.
5295 2007-09-27 Alexander Larsson <alexl@redhat.com>
5297 * gio/gfileinfo.[ch]:
5298 Add g_file_size_format_for_display helper
5300 2007-09-27 Alexander Larsson <alexl@redhat.com>
5302 * gio/glocalfileinfo.c:
5303 Set UNIX_GID from gid, not from uid
5305 2007-09-27 Alexander Larsson <alexl@redhat.com>
5308 Add g_file_set_attributes_async
5310 2007-09-27 Alexander Larsson <alexl@redhat.com>
5312 * gio/glocalfile.c (g_local_file_set_display_name):
5313 Fix set_display_name to actually rename to the right place.
5314 Use lstat to look for existing files so we don't overwrite
5317 2007-09-26 Alexander Larsson <alexl@redhat.com>
5320 Add g_file_set_display_name_async()
5322 2007-09-26 Alexander Larsson <alexl@redhat.com>
5325 Add load_partial_contents async calls
5328 Make internal function static
5330 2007-09-26 Alexander Larsson <alexl@redhat.com>
5332 * gio/glocalfileinfo.c:
5333 Correctly detect broken symlinks
5335 2007-09-26 Alexander Larsson <alexl@redhat.com>
5337 * gio/gcancellable.c (g_cancellable_cancel):
5338 Allow cancel on NULL cancellable
5340 2007-09-25 Alexander Larsson <alexl@redhat.com>
5342 * gio/gsimpleasyncresult.c:
5343 Don't allocate g_error manually.
5344 Fixes g_slice/g_new mixup crash
5346 2007-09-25 Alexander Larsson <alexl@redhat.com>
5348 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5349 Actually set active_backend.
5350 This means the monitor will be cancelled correctly.
5352 2007-09-25 Alexander Larsson <alexl@redhat.com>
5354 * gio/gdirectorymonitor.c:
5355 Set timeout to NULL when destroying
5357 2007-09-25 Alexander Larsson <alexl@redhat.com>
5360 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5361 that is a better description of the error.
5363 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5365 * gio/gvfs.c: (g_vfs_get_local):
5366 Make the local vfs variable static. The same instance should
5369 2007-09-24 Alexander Larsson <alexl@redhat.com>
5371 * gio/glocalfileinfo.c:
5372 Pass in actual length read into sniffer, not the length
5375 2007-09-21 Alexander Larsson <alexl@redhat.com>
5377 * gio/gfileenumerator.c:
5380 * gio/gfileinputstream.c:
5381 * gio/gfileoutputstream.c:
5382 * gio/ginputstream.c:
5383 * gio/goutputstream.c:
5384 Don't crash if async callbacks are NULL
5386 2007-09-20 Alexander Larsson <alexl@redhat.com>
5389 Add async enumerate_children method and default
5392 2007-09-20 Alexander Larsson <alexl@redhat.com>
5395 Add g_file_contains_file & g_file_get_relative_path, since they
5396 were needed for nautilus.
5397 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5402 Implement new methods
5404 2007-09-17 Alexander Larsson <alexl@redhat.com>
5407 * gio/gfileinputstream.[ch]:
5408 * gio/gfileoutputstream.[ch]:
5410 * gio/glocalfileenumerator.[ch]:
5411 * gio/glocalfileinfo.[ch]:
5412 * gio/glocalfileinputstream.c:
5413 * gio/glocalfileoutputstream.c:
5414 * gio/gpollfilemonitor.c:
5415 * programs/gio-copy.c:
5416 * programs/gio-info.c:
5417 * programs/gio-move.c:
5418 Rename get_file_info to query_info() to make it clearer
5419 that these are not simple getters, but do i/o.
5421 2007-09-17 Alexander Larsson <alexl@redhat.com>
5423 * gio/gdatainputstream.[ch]:
5424 * gio/test-streams.c:
5425 Use _read_XXX instead of _get_XXX for the i/o calls
5428 2007-09-17 Alexander Larsson <alexl@redhat.com>
5431 Added needed stuff to TODO comment
5433 2007-09-17 Alexander Larsson <alexl@redhat.com>
5435 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5436 Don't error out removing the backup copy if it doesn't
5439 2007-09-14 Alexander Larsson <alexl@redhat.com>
5441 * programs/Makefile.am:
5442 * programs/gvfs-*.c:
5444 Renamed apps from gvfs-xxx to gio-xxx.
5446 2007-09-14 Alexander Larsson <alexl@redhat.com>
5449 * gio/gfileoutputstream.[ch]:
5450 * gio/glocalfileoutputstream.c:
5451 * programs/gvfs-save.c:
5452 g_file_output_stream_get_etag doesn't do i/o, so remove
5453 cancellation and error.
5455 2007-09-14 Alexander Larsson <alexl@redhat.com>
5458 Add new_etag output to replace_contents functions
5460 2007-09-14 Alexander Larsson <alexl@redhat.com>
5462 * gio/gfileoutputstream.[ch]:
5463 Add async get_file_info and default implementation
5465 2007-09-14 Alexander Larsson <alexl@redhat.com>
5467 * gio/gfileinputstream.c:
5468 Implement fallback wrapper for async get_file_info
5470 2007-09-14 Alexander Larsson <alexl@redhat.com>
5473 Add etag out argument to load_contents
5478 2007-09-14 Alexander Larsson <alexl@redhat.com>
5480 * gio/gcontenttype.c (looks_like_text):
5481 Whitespace like tab, cr and lf do not make the
5484 2007-09-14 Alexander Larsson <alexl@redhat.com>
5486 * gio/gfileinputstream.[ch]:
5487 Add async get_file_info.
5489 2007-09-13 Alexander Larsson <alexl@redhat.com>
5491 * gio/goutputstream.c (g_output_stream_write_all):
5492 Allow NULL for bytes_written
5494 2007-09-13 Alexander Larsson <alexl@redhat.com>
5496 * gio/gmemoryinputstream.[ch]:
5497 Add accessors for data
5499 2007-09-13 Alexander Larsson <alexl@redhat.com>
5501 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5502 Don't crash if length is NULL