1 2008-11-28 Matthias Clasen <mclasen@redhat.com>
3 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
6 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
7 '/' away. Spotted by Dan Williams.
9 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
11 Bug 561375 – Leaks mountpoint description
13 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
16 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
18 Bug 561352 – Leak of icon description
20 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
23 2008-11-14 Matthias Clasen <mclasen@redhat.com>
25 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
27 2008-11-12 Tor Lillqvist <tml@novell.com>
29 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
31 * win32/gwinhttpvfs.h: Move the set of function pointers to
32 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
33 pointer to that in the GWinHttpVfsClass.
35 * win32/gwinhttpvfs.c: Move the lookup of functions from
36 winhttp.dll into a function of its own, that stores the pointers
37 in a separate GWinHttpDllFuncs variable. Add two bookeeping
38 booleans lookup_done and funcs_found.
40 Don't call g_io_extension_point_implement() to register the
41 winhttp extension unless winhttp.dll has been successfully loaded
42 and the required functions found in it.
44 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
45 winhttp.dll correspondingly.
47 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
49 reviewed by: Alexander Larsson <alexl@redhat.com>
51 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
52 clearer about the behavior when there's no more content to read.
54 2008-10-27 Federico Mena Quintero <federico@novell.com>
56 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
58 2008-10-27 Tor Lillqvist <tml@novell.com>
60 Bug 557592 - Missing include in gwinhttpfile.c
62 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
65 2008-10-24 Matthias Clasen <mclasen@redhat.com>
67 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
69 * fam/fam-helper.c: Fix a memory leak and formatting issues.
70 Reported by Daniel Marjamäki
72 2008-10-23 Matthias Clasen <mclasen@redhat.com>
74 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
76 2008-10-23 Alexander Larsson <alexl@redhat.com>
78 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
81 (_g_local_file_info_get):
82 Don't return the fallback icon (text-x-generic) for all files.
83 This is causing problems with theme icon lookup and custom mime
84 icons, as the generic fallback overrides custom mime icons in
87 This is a slight change as applications might not get an icon wher
88 they previously did. But there is no guarantee to get on neither before
89 or after this change, so it should not break applications. Changes
90 to nautilus and gtk+ will be done to manually use the generic fallback
91 icon if no icon is found, but this is only required for rare cases.
93 2008-10-21 Alexander Larsson <alexl@redhat.com>
96 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
98 2008-10-21 Alexander Larsson <alexl@redhat.com>
100 Bug 555740 - gicon serialization
101 Based on patch from David Zeuthen
105 Add g_icon_to_string() and g_icon_new_for_string().
111 Implement icon serialization for built-in icon types
115 Added GIcon serialization test
117 2008-10-16 Matthias Clasen <mclasen@redhat.com>
119 * === Released 2.19.0 ===
121 2008-10-16 Matthias Clasen <mclasen@redhat.com>
123 Bug 556422 – g_file_enumerator_next_file: unclear whether return
124 value needs to be freed
126 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
127 the return value docs. Pointed out by Armin Burgmeier
129 2008-10-14 Matthias Clasen <mclasen@redhat.com>
131 Bug 556334 – Warning when building without selinux support
133 * glocalfileinfo.c: Avoid compiler warnings when selinux is
134 disabled. Patch by Pascal Terjan
136 2008-10-14 Matthias Clasen <mclasen@redhat.com>
138 Bug 556335 – make check fails in abicheck.sh
140 * gio.symbols: Add g_file_attribute_info_list_get_type.
141 Pointed out by Pascal Terjan.
143 2008-10-13 Alexander Larsson <alexl@redhat.com>
146 When adding an application as handling a mime type (but
147 not as the default), copy the full list of desktop ids handling
148 that type in before adding the new one on the end of the list.
149 This means we're not accidentally changing the default by overriding
150 the info from the later directories in the search path.
152 Also, fixes small leak of removed_entries.
154 2008-10-12 David Zeuthen <davidz@redhat.com>
157 * gunionvolumemonitor.c:
159 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
161 2008-10-10 Alexander Larsson <alexl@redhat.com>
163 * gfileattribute.c (escape_byte_string):
164 Upper half of byte is >> 4, not >> 8.
165 Found by Kjartan Maraas via sparse
167 2008-10-10 Matthias Clasen <mclasen@redhat.com>
169 Bug 555711 – Wrong fallback order of mimetype icons
171 * gcontenttype.c: Don't prefer generic icons over
172 default mimetype icons.
174 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
175 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
177 Patch by Krysztof Kosiński
179 2008-10-10 Matthias Clasen <mclasen@redhat.com>
181 Bug 555121 – Improved build-time handling of gio module-dir
183 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
184 * Makefile.am: Create the module dir.
186 2008-10-10 Matthias Clasen <mclasen@redhat.com>
188 * gio/glocalfileinfo.c:
189 * gio/tests/live-g-file.c:
190 * gio/gsimpleasyncresult.c: Fix gcc warnings.
192 2008-10-09 Alexander Larsson <alexl@redhat.com>
194 * gunixinputstream.c (g_unix_input_stream_read):
195 Actually return -1 in case of cancelled, not old res value.
197 2008-10-06 Colin Walters <walters@verbum.org>
199 Bug 554745 - GFileAttributeInfoList should be boxed
201 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
202 for convenience of bindings.
203 * gio/gfileattribute.h: Prototype it.
205 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
207 Bug 554970 – segfault when update-desktop-database is not available
210 * gdesktopappinfo.c (run_update_command): Have the error set before
213 2008-10-01 David Zeuthen <davidz@redhat.com>
215 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
216 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
217 instead of the gio URI (such as sftp://foo/file.avi) when using
218 g_app_info_launch() and friends. With a sufficiently recent gvfs,
219 apps using gio+gvfs will map the FUSE file:// URI back to the gio
220 URI (and thus bypass the fuse daemon) thanks the patch from bug
221 #530654. Since Nautilus is an user of g_app_info_launch() it
222 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
223 when launced via the file manager. Win. Fixes bug #528670.
225 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
226 mapping to the description of GAppInfo.
228 2008-09-30 Tor Lillqvist <tml@novell.com>
230 * tests/Makefile.am: Build desktop-app-info only on Unix.
232 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
233 g_critical(). Pass a large enough result buffer to
234 GetVolumePathNameW(). Just use MAX_PATH.
236 2008-09-29 David Zeuthen <davidz@redhat.com>
238 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
240 2008-09-26 Dan Winship <danw@gnome.org>
242 * tests/data-input-stream.c:
243 * tests/data-output-stream.c:
244 * tests/live-g-file.c:
245 * tests/memory-input-stream.c:
246 * tests/memory-output-stream.c: Use g_assert_error() and
249 2008-09-26 Matthias Clasen <mclasen@redhat.com>
251 Bug 545350 – GAppInfo deletion
252 Bug 545351 – Reset associations for content type
255 * gappinfo.[hc]: New functions g_app_info_can_delete,
256 g_app_info_delete and g_app_info_reset_type_associations.
259 * gwin32appinfo.c: Implementations of these.
262 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
264 2008-09-26 Dan Winship <danw@gnome.org>
266 Bug 505361 – gunixinputstream.c assumes poll() available
267 Bug 509446 – portable blocking gio cancellation
269 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
270 GPollFD for a cancellable (which is slightly more complicated on
273 * gunixinputstream.c (g_unix_input_stream_read):
274 * gunixoutputstream.c (g_unix_output_stream_write): Use
275 g_cancellable_make_pollfd() and g_poll() rather than using poll()
278 * tests/unix-streams.c: test of GUnixInputStream,
279 GUnixOutputStream, and GCancellable.
281 2008-09-26 Dan Winship <danw@gnome.org>
283 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
284 cast to stop a gcc warning
286 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
289 2008-09-25 Dan Winship <danw@gnome.org>
291 Bug 553426 - cancellable clarifications
293 * gcancellable.c (g_cancellable_class_init): Add a note to the
294 "cancelled" signal docs warning about thread-safety issues
295 (g_cancellable_cancel): Note that cancelling an asynchronous
296 operation takes effect asynchronously, not immediately.
298 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
300 * gioenums.h: Add new GFileCopyFlag, to leave target file with
301 default perms, instead of setting the source file perms, in a copy
304 * gfile.c (g_file_copy_attributes)
305 (build_attribute_list_for_copy)
306 (should_copy): Not copy "unix::mode" attribute if we have received
307 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
309 2008-09-20 Matthias Clasen <mclasen@redhat.com>
311 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
313 2008-09-17 Matthias Clasen <mclasen@redhat.com>
315 * === Released 2.18.1 ===
317 2008-09-16 Michael Natterer <mitch@imendio.com>
319 * gcontenttype.c (g_content_type_guess): can't assign the return
320 value of g_strdupv() to an array. Fill the array manually with
321 const strings instead (it is never freed anyway). Fixes the
322 build. Also fixed indentation.
324 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
326 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
327 Fix trivial typo to unbreak the build (there was a colon
328 instead of a semicolon at the end of a statement).
330 2008-09-15 Matthias Clasen <mclasen@redhat.com>
332 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
335 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
338 2008-09-15 Matthias Clasen <mclasen@redhat.com>
340 Bug 551681 – g_content_type_guess() too naive with filenames
342 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
343 at the end of the filename, and declare it a directory.
344 Patch by Bastien Nocera
346 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
348 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
351 * gdesktopappinfo.c: add a note in the docs clarifying what the
352 "filename" parameter really is.
354 2008-09-12 Tor Lillqvist <tml@novell.com>
356 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
357 FormatMessage() etc here. Call g_win32_error_message() instead
358 which already does all that. Besides, the code was broken as it
359 called the default "A" version of FormatMessage() but still
360 thought it produced a wide string.
362 2008-09-12 Michael Natterer <mitch@imendio.com>
364 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
365 in the documentation.
367 2008-09-08 Christian Neumair <cneumair@gnome.org>
369 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
370 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
371 Use non-blocking pipe for mount helper I/O. Fixes #550647.
373 2008-09-06 Matthias Clasen <mclasen@redhat.com>
375 Bug 551149 – xdgmime mem leak
377 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
378 a memory leak. Patch by Christian Persch
380 2008-09-04 Tor Lillqvist <tml@novell.com>
382 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
385 2008-09-02 Matthias Clasen <mclasen@redhat.com>
387 * === Released 2.18.0 ===
389 2008-09-02 Michael Natterer <mitch@imendio.com>
391 * *.h: big header formatting cleanup: indentation, vtable
392 formatting, consistent spacing in (* vfunc), trailing whitespace
393 removal. Formatting should be pretty consistent in all GIO headers
396 2008-09-02 Matthias Clasen <mclasen@redhat.com>
398 * gmount.h: Document guess_content_type sync vfunc.
400 2008-09-02 Michael Natterer <mitch@imendio.com>
402 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
403 fix parent_class member to be GFilterOutputStreamClass (not
404 GOutputStreamClass). Drop three pointers of padding, which is
405 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
406 so the class struct size stays the same.
408 2008-09-02 Matthias Clasen <mclasen@redhat.com>
410 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
412 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
413 nonexisting return values. Pointed out by Cosimo Cecchi.
415 2008-08-23 Tor Lillqvist <tml@novell.com>
417 Bug 548988 - g_file_replace fails on Windows when the target file
420 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
421 Windows, close the file before potentially renaming it (in case we
422 have been writing to a file with a temporary name).
424 (g_local_file_output_stream_close, handle_overwrite_open): Use
425 GLocalFileStat instead of plain struct stat, for passing to
426 _g_local_file_info_create_etag(). Thus also use _fstati64()
427 instead of plain fstat() on Windows.
429 2008-08-18 Matthias Clasen <mclasen@redhat.com>
431 * === Released 2.17.7 ===
433 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
435 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
438 2008-08-13 Tor Lillqvist <tml@novell.com>
440 * win32/gwinhttpvfs.c
441 * win32/gwinhttpvfs.h
442 * win32/gwinhttpfile.c
443 * win32/gwinhttpfileinputstream.c
444 * win32/gwinhttpfileoutputstream.c: Refactor some common code
445 snippets into helper functions. Check HTTP response status
446 codes. Implement g_winhttp_file_query_info(), looking at
447 Content-Length, Content-Type and Last-Modified.
449 * win32/winhttp.h: Add some symbolic constants that are not
450 publicly documented. Just a handful, so it should be OK to use
451 information from the Windows SDK's headers.
453 2008-08-13 Tor Lillqvist <tml@novell.com>
455 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
458 * win32/gwin32directorymonitor.c
459 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
461 2008-08-13 Matthias Clasen <mclasen@redhat.com>
464 * goutputstream.c: Add intro docs.
466 2008-08-13 Tor Lillqvist <tml@novell.com>
468 * win32/gwinhttpfileoutputstream.c
469 (g_winhttp_file_output_stream_write): Don't write the
470 Content-Length header ourselves, WinHttpSendRequest() takes care
471 of that when the dwTotalLength parameter is non-zero. Increment
472 offset by the number of actual bytes sent, although I wonder if
473 such a scenario is possible where less than requested would be
474 sent and accepted by the server without errors.
476 2008-08-13 Tor Lillqvist <tml@novell.com>
478 * win32/gwinhttpvfs.c
479 * win32/gwinhttpvfs.h
480 * win32/gwinhttpfile.c
481 * win32/gwinhttpfile.h
482 * win32/gwinhttpfileinputstream.c
483 * win32/gwinhttpfileinputstream.h
484 * win32/gwinhttpfileoutputstream.c
485 * win32/gwinhttpfileoutputstream.h: New files implementing
486 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
487 Windows. The implementation uses the WinHttp API. Both reading and
488 writing are supported, i.e. GET and PUT requests. When writing,
489 each write call is done using a separate PUT request with a
490 Content-Range header. Requests for file URIs and plain pathnames
491 are forwarded to GLocalVfs.
493 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
494 WINE. Used as there is no <winhttp.h> bundled with mingw, and
495 requiring people to download the Windows SDK just for this one
496 header is not reasonable.
498 * win32/Makefile.am: Add above files.
500 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
501 the plumbing for the above.
503 2008-08-11 Sven Neumann <sven@gimp.org>
505 * gfilenamecompleter.c
506 * glocaldirectorymonitor.c
508 * gunionvolumemonitor.c
512 * gunixvolumemonitor.c
515 * gwin32volumemonitor.c: use canonical signal names.
517 2008-08-11 Tor Lillqvist <tml@novell.com>
519 * Makefile.am: Put a list of the platform-dependent .la files in
520 the subdirectories in the platform_deps Make variable, and make
521 libgio-2.0.la depend on that, so that it gets relinked if one of
522 the dependent libraries has changed.
524 2008-08-11 Tor Lillqvist <tml@novell.com>
526 * Makefile.am (platform_libadd): Remove -lwininet which had been
527 added by mistake. We will probably eventually be using WinHTTP,
528 not the older WinInet anyway. (Actually I am working on it.)
530 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
532 Bug 547080 – g_file_copy leaks expected errors
534 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
535 before trying the next fallback routine.
537 2008-08-09 Loïc Minier <lool@dooz.org>
539 Bug 535124 – umask 002 not being applied for new directories, new
540 files get the correct umask
542 * gfile.c (g_file_make_directory)
543 (g_file_make_directory_with_parents): Document ownership and
544 permissions of newly created directories as being the default
547 2008-08-08 Loïc Minier <lool@dooz.org>
549 Bug 535124 – umask 002 not being applied for new directories, new
550 files get the correct umask
552 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
555 2008-08-08 Tor Lillqvist <tml@novell.com>
557 * gwin32mount.c: Remove unused code. Whitespace cleanup.
559 * gwin32volumemonitor.c (get_connected_drives): Put questionable
560 code that didn't actually do anything inside #if 0, and add a
561 comment wondering what the code was supposed to do. This also gets
562 rid of a leftover debugging printout.
564 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
566 * gfileicon.c (g_file_icon_get_property)
567 (g_file_icon_set_property): New functions.
568 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
570 (g_file_icon_new): Use the property (bug #546132).
572 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
574 * gthemedicon.c (g_themed_icon_get_property): Also handle
575 `PROP_USE_DEFAULT_FALLBACKS'.
576 (g_themed_icon_class_init): Make
577 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
579 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
581 Bug 546371 – Improve docs re g_file_monitor
583 * gfilemonitor.c: Mention g_file_monitor() in the docs.
585 2008-08-04 Matthias Clasen <mclasen@redhat.com>
587 * === Released 2.17.6 ===
589 2008-08-04 Matthias Clasen <mclasen@redhat.com>
591 * === Released 2.17.5 ===
593 2008-08-04 Matthias Clasen <mclasen@redhat.com>
595 Bug 546017 – Don't copy attributes when copying a symlink
597 * gfile.c (g_file_copy_attributes): Specify
598 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
599 g_file_set_attributes_from_info. Patch by Christian Kellner
601 2008-08-04 Matthias Clasen <mclasen@redhat.com>
603 * gemblemedicon.[hc]:
605 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
606 a bit more extensible. Work by Clemens Buss.
608 * gioenums.h: Add GEmblemOrigin.
611 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
613 Bug 546079 – leak in xdgmime
615 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
617 2008-08-03 Tor Lillqvist <tml@novell.com>
619 * win32/gwin32directorymonitor.h
620 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
623 2008-08-03 Tor Lillqvist <tml@novell.com>
625 * win32/gwin32directorymonitor.c
626 (g_win32_directory_monitor_callback): Make prototype match
627 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
628 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
631 (g_win32_directory_monitor_constructor):
632 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
633 names in the GLib API on Windows, so convert to UTF-16 and open
636 2008-08-03 Tor Lillqvist <tml@novell.com>
638 Bug 541036 - Gnumeric crashes when trying to open Desktop or
639 user's folder under Windows
641 * win32/gwin32directorymonitor.c
642 (g_win32_directory_monitor_constructor): Ignore error from
643 CreateFile() when opening directory. Instead of asserting, just
644 store INVALID_HANDLE_VALUE then in
645 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
646 ReadDirectoryChangesW().
647 (g_win32_directory_monitor_cancel): Don't attempt to close
648 directory handle if it is INVALID_HANDLE_VALUE.
650 2008-08-01 Matthias Clasen <mclasen@redhat.com>
652 * gdesktopappinfo.c: Remove debug spew
654 2008-08-01 Hans Breuer <hans@breuer.org>
656 * makefile.msc : add gemblembedicon
658 2008-07-30 Matthias Clasen <mclasen@redhat.com>
660 Bug 545457 – gdmsetup crashed with SIGSEGV in
661 g_unix_mount_guess_should_display()
663 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
664 crash if no mount is found.
666 2008-07-28 Matthias Clasen <mclasen@redhat.com>
668 Bug 545203 – gfile.c: argument is different type.
670 * gfile.c (open_read_async_thread): Pass a GError **
671 to g_file_set_error_literal.
672 Reported by Kazuki Iwamoto
674 2008-07-28 Matthias Clasen <mclasen@redhat.com>
676 Bug 545157 – wrong/no list of "open with" applications for .cc and
679 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
680 Collect all ancestors, not just direct parents. Pointed
681 out by Bastien Nocera
683 2008-07-28 Matthias Clasen <mclasen@redhat.com>
685 * Makefile.am: Install gemblemedicon.h
687 2008-07-28 Matthias Clasen <mclasen@redhat.com>
689 * gemblemedicon.[hc]: Add a GIcon implementation that can
690 add an emblem to another icon.
697 * gfileicon.c: Small documentation additions.
699 2008-07-28 Tor Lillqvist <tml@novell.com>
701 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
704 2008-07-27 Tor Lillqvist <tml@novell.com>
706 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
708 2008-07-24 David Zeuthen <davidz@redhat.com>
712 Also export a g_mount_guess_content_type_sync() function.
714 2008-07-23 Matthias Clasen <mclasen@redhat.com>
716 529694 – SELinux context setting support
718 * gfileinfo.c: Support setting selinux attributes.
719 Patch by Tomas Bzatek
721 2008-07-22 Priit Laes <plaes@plaes.org>
723 Bug 544140 - fam-helper 64-bit issue?
725 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
727 2008-07-21 Matthias Clasen <mclasen@redhat.com>
729 * === Released 2.17.4 ===
731 2008-07-20 Matthias Clasen <mclasen@redhat.com>
733 * gvolumemonitor.[hc]:
738 * gmount.c: Documentation fixes
740 2008-07-19 Matthias Clasen <mclasen@redhat.com>
742 543504 – crash in Epiphany Web Browser: Opening local file
753 * gvolume.c: Register types thread-safely.
754 Patch by Christian Persch
756 2008-07-18 Matthias Clasen <mclasen@redhat.com>
758 * gcontenttype.c: Remove debug spew
760 2008-07-18 Matthias Clasen <mclasen@redhat.com>
762 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
765 * fen/fen-kernel.c: Remove a warning that was causing
766 crashes. Reported by Lin Ma.
768 2008-07-18 Matthias Clasen <mclasen@redhat.com>
770 Bug 543040 – async reading on dummy file will crash on
773 * gfile.c (open_read_async_thread): Cope with read_fn being
774 NULL. Reported by Lin Ma.
776 2008-07-18 Matthias Clasen <mclasen@redhat.com>
779 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
781 2008-07-16 Matthias Clasen <mclasen@redhat.com>
785 * giomodule.c: Rename a chapter id to avoid filename conflict.
787 2008-07-16 Matthias Clasen <mclasen@redhat.com>
789 Bug 540616 – mem leak in filechooser button
791 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
792 the mount entry. Reported by Chrisitan Persch
794 2008-07-16 Matthias Clasen <mclasen@redhat.com>
796 * gfile.c: Small documentation fixes.
798 2008-07-15 Matthias Clasen <mclasen@redhat.com>
800 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
802 2008-07-08 Matthias Clasen <mclasen@redhat.com>
807 * gmount.c: Documentation improvements.
809 2008-07-08 Matthias Clasen <mclasen@redhat.com>
812 * gmount.[hc]: Add g_mount_guess_content_type().
814 2008-07-06 David Zeuthen <davidz@redhat.com>
817 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
818 is needed for easily handling adoption of foreign volumes by
819 out-of-process volume monitors (#541793)
821 2008-07-06 David Zeuthen <davidz@redhat.com>
823 * gvolumemonitor.[ch]:
824 * gunionvolumemonitor.c: Export the eject-button signal on the
825 volume monitor class (#541794).
827 2008-07-06 Matthias Clasen <mclasen@redhat.com>
829 * gappinfo.c: More doc tweaks
831 2008-07-05 Matthias Clasen <mclasen@redhat.com>
833 * gappinfo.c: Clarify some docs
835 2008-07-03 Matthias Clasen <mclasen@redhat.com>
837 * gdesktopappinfo.c: Fix a stupid mistake.
839 2008-07-02 Matthias Clasen <mclasen@redhat.com>
841 * === Released 2.17.3 ===
843 2008-07-02 Matthias Clasen <mclasen@redhat.com>
845 * gfilemonitor.c: Fix the build.
847 2008-07-02 Matthias Clasen <mclasen@redhat.com>
849 Bug 536160 – Add g_file_monitor()
852 * gfile.[hc]: Add g_file_monitor which can return either
853 a file or a directory monitor. Proposed by Behdad Esfahbod
855 2008-07-02 Matthias Clasen <mclasen@redhat.com>
857 536733 – gio build failure on Irix
859 * glocalfile.c: Use a configure check for structfs.f_bavail.
861 2008-07-02 Matthias Clasen <mclasen@redhat.com>
863 Bug 534639 – add g_desktop_app_info_new_from_keyfile
866 * gdesktopappinfo.[hc]: Add a function to create a
867 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
869 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
871 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
873 2008-07-01 Matthias Clasen <mclasen@redhat.com>
875 * gunixmounts.c: Fix a doc typo.
877 2008-07-01 Cody Russell <bratsche@gnome.org>
879 * gio/gcontenttype.c:
880 * gio/gwin32appinfo.c:
881 * gio/gwin32volumemonitor.c:
882 * gio/gwin32mount.c: Fixed some include problems.
884 2008-07-01 Cody Russell <bratsche@gnome.org>
888 Moved all relevant typedefs into these files.
891 Updated wrt added files.
893 Split types into separate file for easier maintainership. (#538564)
895 2008-06-30 Matthias Clasen <mclasen@redhat.com>
897 Bug 540331 – g_file_append_to () documentation: can return NULL
899 * gfile.c (g_file_append_to): Clarify docs.
902 2008-06-30 Matthias Clasen <mclasen@redhat.com>
904 Bug 539090 – g_content_type_from_mime_type() should unalias
906 * gcontentype.c (g_content_type_from_mime_type): Unalias.
907 Patch by Markus Bergman
909 2008-06-30 Matthias Clasen <mclasen@redhat.com>
911 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
914 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
915 on ppc and alpha. Reported by Mart Raudsepp
917 2008-06-29 Matthias Clasen <mclasen@redhat.com>
920 * tests/memory-output-stream.c: Add some tests for
923 2008-06-29 Matthias Clasen <mclasen@redhat.com>
925 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
928 * gmemoryoutputstream.c (array_resize): Handle truncation to
929 zero correctly. Reported by Akira Tagoh
931 2008-06-29 Matthias Clasen <mclasen@redhat.com>
933 * gmemoryoutputstream.c: Trivial doc fixes
935 2008-06-29 Matthias Clasen <mclasen@redhat.com>
937 Bug 540802 – g_list_prepend doesn't concat lists
939 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
940 one list to another. Pointed out by Jan Arne Petersen
942 2008-06-28 Michael Natterer <mitch@imendio.com>
944 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
946 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
948 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
949 to avoid problems with partial icon themes.
951 2008-06-17 Hans Breuer <hans@breuer.org>
953 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
954 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
955 access again on win32, see bug #538127
956 * giomodule.c : ensure GWin32VolumeMonitor is registered
957 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
958 * Makefile.am makefile.msc : updated
960 2008-06-16 Hans Breuer <hans@breuer.org>
962 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
963 and initialization in one step avoids c99ism
965 2008-06-16 Christian Persch <chpe@gnome.org>
968 * gio/gbufferedinputstream.c
970 * gio/gdatainputstream.c
971 * gio/gdesktopappinfo.c
973 * gio/gfileenumerator.c
974 * gio/gfileinputstream.c
975 * gio/gfileoutputstream.c
977 * gio/glocaldirectorymonitor.c
979 * gio/glocalfileenumerator.c
980 * gio/glocalfileinfo.c
981 * gio/glocalfilemonitor.c
982 * gio/glocalfileoutputstream.c
983 * gio/gmemoryinputstream.c
984 * gio/gmemoryoutputstream.c
985 * gio/goutputstream.c
986 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
989 2008-06-16 Tor Lillqvist <tml@novell.com>
991 Bug 538362 - Get Win32 icons back in the file chooser
993 * gcontenttype.c (g_content_type_get_icon): Look up the icon
994 corresponding to a file extension in the Registry. Patch by Hans
996 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
998 2008-06-16 Tor Lillqvist <tml@novell.com>
1000 Patches by Hans Breuer:
1002 * glocalfile.c (is_xp_or_later): Handle compiling against older
1003 SDK headers with missing VerifyVersionInfo(). Conditioned on
1004 _MSC_VER, but should probably use some better test.
1005 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1006 uninitialised statfs_result variable on Win32.
1008 2008-06-16 Michael Natterer <mitch@imendio.com>
1010 * *.c: chain up unconditionally in finalize() and dispose(). Also
1011 don't dereference these function pointers when calling them since
1012 that has no meaning at all.
1014 2008-06-16 Ross Burton <ross@burtonini.com>
1016 * gfileenumerator.c:
1017 Remove check for dispose implementation as it annoys Emmanuele.
1019 2008-06-16 Ross Burton <ross@burtonini.com>
1021 Bug 536252 – GFileEnumerator should allow access to the containing
1024 * gfileenumerator.c:
1025 * gfileenumerator.h:
1027 Add g_file_enumerator_get_container() and a container writeable
1028 construct-only property. Also shuffle around typedefs to make it
1031 * glocalfileenumerator.c:
1032 * glocalfileenumerator.h:
1034 Instead of a string filename take a GFile in the constructor and
1035 use it to set the container property.
1038 Update with new API.
1040 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1042 * gfile.c: Make includes more uniform
1044 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1046 * tests/live-g-file.c (sample_struct):
1047 Use less fancy unicode filenames, so the test doesn't fail
1048 on Mac OS X (#531476).
1050 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1052 * === Released 2.17.2 ===
1054 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1056 * === Released 2.17.1 ===
1058 2008-06-11 A. Walton <awalton@gnome.org>
1060 * tests/g-file.c (test_g_file_new_null):
1061 Fix broken test case.
1063 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1065 * pltcheck.sh: We use g_clear_error now.
1067 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1069 * glocalfile.c (g_local_file_enumerate_children): Revert
1070 an unintended change.
1072 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1074 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1076 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1078 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1081 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1082 as icon for the desktop directory, also make user-home and
1083 user-desktop the preferred icons.
1085 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1088 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1089 to add a name to the front of the list.
1091 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1093 Bug 537392 – Additional colon in xattr name
1095 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1096 too. Reported by Alessandro Morandi
1098 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1100 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1103 * glocalfile.c (get_fs_type): Add afs and autofs.
1104 Patch by Danny Baumann.
1106 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1108 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1110 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1111 is no parent. (Owen Taylor, patch by Christian Neumair)
1113 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1115 * gfile.c (g_file_replace_contents): do not leak the output stream.
1117 2008-06-10 Michael Natterer <mitch@imendio.com>
1119 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1120 uninitialized memory as array index.
1122 2008-06-10 Tor Lillqvist <tml@novell.com>
1124 * gcontenttype.c (g_content_type_can_be_executable)
1125 (g_content_type_get_icon) [Win32]: Add TODO comments.
1127 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1129 * xdgmime/Makefile.am: Fix the build
1131 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1133 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1134 in the shared mime database, if available.
1136 * xdgmime/*: Sync with upstream. This brings support for
1137 glob weights, generic icons, and changes the cache format to
1140 2008-05-28 Michael Natterer <mitch@imendio.com>
1142 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1143 the global CPPFLAGS now.
1145 * tests/data-input-stream.c
1146 * tests/data-output-stream.c
1147 * tests/g-file-info.c
1149 * tests/live-g-file.c
1150 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1152 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1154 * === Released 2.17.0 ===
1156 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1157 doesn't complain about leftover files.
1159 2008-05-27 simon.zheng <simon.zheng@sun.com>
1161 * glocalfile.c: (g_local_file_query_filesystem_info):
1162 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1164 2008-05-26 Michael Natterer <mitch@imendio.com>
1166 * gmemoryoutputstream.h: declare
1167 g_memory_output_stream_get_data_size().
1169 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1171 * tests/*: Make tests work
1173 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1175 * gio.symbols: Add g_memory_output_stream_get_data_size.
1177 2008-05-25 Ross Burton <ross@burtonini.com>
1180 Fix typo in error message (#534764).
1182 2008-05-25 Ross Burton <ross@burtonini.com>
1185 Fix circular dependency loop for gioenumtypes.h (#534759).
1187 2008-05-19 Hans Breuer <hans@breuer.org>
1189 * Makefile.am : EXTRA_DIST += makefile.msc
1191 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1194 * gcontenttype.c: (g_content_type_from_mime_type):
1195 New function to create a content type from a mime type. (#527175,
1198 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1200 Bug 532965 – Should not return filesystem::free for certain file systems
1202 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1203 free space for ncpfs.
1205 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1207 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1209 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1210 st_dev might be zero.
1212 2008-05-16 Tor Lillqvist <tml@novell.com>
1214 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1215 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1217 2008-05-13 Bastien Nocera <hadess@hadess.net>
1219 * gfile.c (has_valid_scheme): A URI scheme must start with a
1220 letter, even if later more characters are allowed (#532852)
1222 2008-05-05 Michael Natterer <mitch@imendio.com>
1224 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1225 code from being checked in that breaks the build of applications
1226 which use G_DISABLE_SINGLE_INCLUDES.
1228 * makegioalias.pl: make the alias file include "glib.h" instead of
1231 * gio.symbols: whitespace change to force regeneration of the
1232 alias file after above script change.
1234 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1236 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1238 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1240 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1242 2008-04-28 David Zeuthen <davidz@redhat.com>
1244 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1245 displaying mounts in a subdirectory not accessible to the
1248 2008-04-22 Michael Natterer <mitch@imendio.com>
1250 * Makefile.am: fix library versioning (it was 0.0.0).
1252 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1254 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1255 Default disable all loggings.
1256 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1257 (port_fetch_event_cb): Fixed two macro nits.
1259 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1261 * xdgmime/xdgmime.c: Rework the timestamp checking code
1262 to protect against duplicate directories in XDG_DATA_DIRS.
1263 Fixes fd.o bug 12513, reported by Joe Shaw.
1265 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1267 Partically revert the last commit after realizing that
1268 xdg_mime_media_type_equal doesn't have to init at all.
1270 * xdgmime/xdgmime.h:
1271 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1273 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1275 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1277 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1278 reported by Joe Shaw and Federico Mena Quintero.
1280 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1281 (xdg_mime_media_type_equal): Turn into a wrapper around the
1284 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1285 functions throughout.
1287 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1289 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1290 tolerate an empty TryExec= line without failing; nautilus used
1291 to create launchers with these in previous versions. Fixes #528433
1293 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1295 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1296 after name. Fixes #527132.
1298 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1300 * gfile.c: (g_file_replace):
1303 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1305 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1307 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1308 by Christian Kellner.
1310 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1312 * gunixmounts.c: (g_unix_mount_guess_should_display):
1313 Don't list the user directory as a mount, fix potential issue
1314 when other users have a similar naming and don't special case the
1315 gvfs mounts there since that's not required (#525866)
1317 2008-03-31 Alexander Larsson <alexl@redhat.com>
1319 * glocalfile.c (get_parent):
1322 2008-03-31 A. Walton <awalton@svn.gnome.org>
1324 * gfile.c (g_file_query_file_type):
1325 Always return a GFileType enum value (#520715).
1327 2008-03-31 Alexander Larsson <alexl@redhat.com>
1329 * glocalfileenumerator.c:
1330 Read readdir() info in chunks (of 1000) and sort
1331 the chunks by inode before stat:ing.
1332 This is a 20% performance increase in testing
1333 gvfs-ls on /usr/bin with cold cache.
1335 2008-03-31 Alexander Larsson <alexl@redhat.com>
1337 * gmemoryoutputstream.c:
1338 Clarify docs for g_memory_output_stream_get_size.
1339 Add g_memory_output_stream_get_data_size.
1341 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1345 * gfile.h: Add g_file_query_file_type convenience function
1346 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1348 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1350 * gfileenumerator.c:
1351 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1353 2008-03-28 A. Walton <awalton@svn.gnome.org>
1355 * giomodule.c (_g_io_modules_ensure_loaded):
1356 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1359 2008-03-28 Alexander Larsson <alexl@redhat.com>
1362 (copy_stream_with_progress):
1365 2008-03-28 Alexander Larsson <alexl@redhat.com>
1368 (copy_stream_with_progress):
1369 (file_copy_fallback):
1370 Fallback to g_file_query_info for source size
1371 if g_file_input_stream_query_info fails. (#524579)
1373 2008-03-28 Alexander Larsson <alexl@redhat.com>
1375 * glocalfile.c (g_local_file_move):
1376 Reuse old string instead of adding new one.
1378 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1380 * fen/*.[hc]: still copyright issue. I hate copyright.
1382 2008-03-27 Alexander Larsson <alexl@redhat.com>
1384 * glocalfile.c (g_local_file_move):
1385 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1386 file over directory. This is according to the docs and what the move via
1387 copy+remove fallback does.
1389 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1391 * fen/*.[hc]: Updated copyright.
1393 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1395 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1397 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1399 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1400 not emit attribute changed events when optimizing changed events.
1401 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1404 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1406 * gmountoperation.[hc]: Small documentation additions
1408 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1410 * gunixmounts.c: (guess_mount_type):
1411 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1413 2008-03-19 Alexander Larsson <alexl@redhat.com>
1416 (copy_stream_with_progress):
1417 Bump block side for copy to 64k to minimize
1418 overhead for low latency links. (#523015)
1420 2008-03-16 Tor Lillqvist <tml@novell.com>
1422 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1423 depend on gio.def on Windows.
1425 2008-03-12 David Zeuthen <davidz@redhat.com>
1429 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1431 2008-03-14 Alexander Larsson <alexl@redhat.com>
1435 Avoid redudant tests (#521851)
1436 Patch from Josselin Mouette
1438 2008-03-14 Alexander Larsson <alexl@redhat.com>
1441 (g_file_monitor_is_cancelled):
1442 Fix C89 issue (#521672)
1443 Patch from Jens Granseuer
1445 2008-03-14 Alexander Larsson <alexl@redhat.com>
1447 * fam/fam-helper.[ch]:
1449 Shut down fam (including removing fam GSource) when
1450 module is unloaded (#521513)
1451 Patch from Joe Marcus Clarke
1453 2008-03-14 Alexander Larsson <alexl@redhat.com>
1456 (_g_io_modules_ensure_loaded):
1459 2008-03-14 Alexander Larsson <alexl@redhat.com>
1462 (g_local_file_query_filesystem_info):
1463 Use right define name for f_fstypename member check
1465 2008-03-14 Alexander Larsson <alexl@redhat.com>
1468 * fen/Makefile.am: Added.
1469 * fen/fen-data.[ch]: Added.
1470 * fen/fen-dump.[ch]: Added.
1471 * fen/fen-helper.[ch]: Added.
1472 * fen/fen-kernel.[ch]: Added.
1473 * fen/fen-missing.[ch]: Added.
1474 * fen/fen-node.[ch]: Added.
1475 * fen/fen-sub.[ch]: Added.
1476 * fen/gfendirectorymonitor.[ch]: Added.
1477 * fen/gfenfilemonitor.[ch]: Added.
1479 Added Solaris FEN file notification backend.
1480 Patch from Lin Ma <Lin.Ma@Sun.COM>
1482 2008-03-13 Tor Lillqvist <tml@novell.com>
1484 * Makefile.am: Actually use the gio.def file when linking the
1485 library on Windows. Produce .lib library for Microsoft's toolchain
1486 when possible. Install the .lib and .def file like for the other
1489 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1491 * tests/live-g-file.c:
1492 Include live-g-file in standard set of tests, making a temporary
1493 directory in source structure.
1495 Clean target directory before the tests (write mode only)
1497 2008-03-12 Tor Lillqvist <tml@novell.com>
1499 Bug 517419 - gio win32 directory monitor
1500 Implementation by Vlad Grecescu.
1503 * win32/gwin32directorymonitor.h
1504 * win32/gwin32directorymonitor.c: New files.
1506 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1508 * Makefile.am: Add the win32 subdirectory.
1510 2008-03-12 Tor Lillqvist <tml@novell.com>
1512 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1513 normal struct stat on Unix but struct _stati64 on Windows to have
1514 access to 64-bit file size information. Use that instead of struct
1515 stat in the functions declared here in this private header.
1517 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1518 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1519 warnings about unused functions and variables. Don't set
1520 meaningless attributes like inode numbers on Windows.
1522 2008-03-12 Benjamin Otte <otte@gnome.org>
1525 trim whitespace so gtk-doc groks the function name
1527 2008-03-12 Tor Lillqvist <tml@novell.com>
1529 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1530 returning FALSE, on Win32.
1532 2008-03-11 Alexander Larsson <alexl@redhat.com>
1535 * glocalfileinfo.[ch]:
1536 Correctly implement can_trash by actually
1537 looking for a trash dir, not just assuming
1540 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1542 * === Released 2.16.1 ===
1544 2008-03-11 Alexander Larsson <alexl@redhat.com>
1547 Fix crashes in new constructor and properties code
1549 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1551 * gfile.c: Minor spelling correction in documentation:
1552 existance -> existence.
1554 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1556 * === Released 2.16.0 ===
1558 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1560 * gio.symbols: Remove g_file_contains_file here, too.
1562 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1564 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1565 Samuel Cormier-Iijima)
1567 2008-03-08 Tor Lillqvist <tml@novell.com>
1569 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1572 2008-03-07 Alexander Larsson <alexl@redhat.com>
1575 (g_local_file_query_filesystem_info):
1576 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1577 Patch from Jasper Lievisse Adriaanse
1579 2008-03-06 Tor Lillqvist <tml@novell.com>
1581 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1582 comments for the *_USEC attributes.
1584 2008-03-06 Alexander Larsson <alexl@redhat.com>
1586 * gfile.c (g_file_query_exists):
1587 Add g_return_val_if_fail check (#520700)
1589 2008-03-06 Alexander Larsson <alexl@redhat.com>
1591 * gdesktopappinfo.c:
1594 * gunionvolumemonitor.c:
1597 * tests/live-g-file.c:
1598 * xdgmime/xdgmimecache.c:
1599 Fix sparse warnings (#519489)
1601 2008-03-05 Alexander Larsson <alexl@redhat.com>
1604 Make cancellation threadsafe (i.e.
1605 guarantee its only done once, and always
1608 * glocaldirectorymonitor.c:
1609 Make sure we the monitor lives while the
1610 mounts_changed callback is being called (#520484)
1612 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1614 * gbufferedinputstream.c: Fix typo in parameter
1617 2008-03-04 Alexander Larsson <alexl@redhat.com>
1620 Remove deprecated symbols we kept for one release.
1622 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1625 * goutputstream.c: Tiny documentation corrections.
1627 2008-03-03 Alexander Larsson <alexl@redhat.com>
1629 * gunionvolumemonitor.c:
1631 Fix the adopt_orphan_mount vfunc to take a
1632 volume_monitor reference in an ABI compat way.
1633 This change is not API compat, but the added
1634 arg is not used in the only user of this vfunc, so
1635 all we get is a harmless warning in gvfs (#520169)
1637 2008-03-01 Benjamin Otte <otte@gnome.org>
1640 clarify docs for g_file_delete().
1642 2008-02-29 Alexander Larsson <alexl@redhat.com>
1646 Make sure empty files get text/plain type (#518720)
1648 2008-02-27 Alexander Larsson <alexl@redhat.com>
1654 (g_unix_volume_mount):
1655 Add missing GMountMountFlags argument
1657 2008-02-26 Alexander Larsson <alexl@redhat.com>
1660 (g_local_file_delete):
1661 Handle filesystems (like ntfs-3g) that return EEXIST instead
1662 of ENOTEMPTY (#518816)
1664 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1666 * === Released 2.15.6 ===
1668 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1670 * gfile.c (g_file_find_enclosing_mount):
1671 * ginputstream.c (g_input_stream_set_pending):
1672 * glocalfile.c (g_local_file_find_enclosing_mount):
1673 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1674 * goutputstream.c (g_output_stream_set_pending):
1676 Fixup translator comments (#518578).
1678 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1680 * gfile.c (g_file_find_enclosing_mount):
1682 * glocalfile.c (g_local_file_find_enclosing_mount):
1685 Fix a few typos in translator comments and documentation.
1687 2008-02-25 Alexander Larsson <alexl@redhat.com>
1694 Add translator comments (#518578)
1696 2008-02-25 Alexander Larsson <alexl@redhat.com>
1699 Reintroduce g_file_contains_file, keep around for one
1700 unstable release cycle to avoid crashing to many apps.
1701 Make sure to delete after release.
1703 2008-02-25 Alexander Larsson <alexl@redhat.com>
1706 Remove deprecated g_file_contains_file.
1708 2008-02-25 Alexander Larsson <alexl@redhat.com>
1711 Emit actual change signals in an idle handler.
1712 This avoids reentrance and locking problems in
1713 the file notification backends.
1715 2008-02-25 Alexander Larsson <alexl@redhat.com>
1718 (g_unix_mount_guess_should_display):
1719 Remove type guessing, instead just display
1720 mounts in /media and in ~/.
1722 2008-02-25 Alexander Larsson <alexl@redhat.com>
1725 Make new strings reuse old ones.
1727 2008-02-25 Alexander Larsson <alexl@redhat.com>
1730 Implement trashing and filesystem::readonly for win32 (#517235)
1731 Patch from Yevgen Muntyan
1733 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1735 * gfileinfo.h: Documentation fixes.
1737 2008-02-22 Alexander Larsson <alexl@redhat.com>
1739 * gcontenttype.c (g_content_type_get_icon):
1740 Look at old-style gnome mime icon names too, as many
1741 have not moved to the new style.
1743 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1745 * *.c: Correct the @include in for section docs.
1747 2008-02-21 David Zeuthen <davidz@redhat.com>
1749 * glocalfileinfo.c: (_g_local_file_info_get):
1751 (g_content_type_get_icon): Implement this function by
1752 moving bits from glocalfileinfo.c
1753 (g_content_type_get_description): Unalias before getting
1754 description (#517687)
1756 * gfile.c: (g_file_class_init),
1757 (g_file_query_filesystem_info_async),
1758 (g_file_query_filesystem_info_finish),
1759 (query_filesystem_info_data_free),
1760 (query_filesystem_info_async_thread),
1761 (g_file_real_query_filesystem_info_async),
1762 (g_file_real_query_filesystem_info_finish):
1763 * gfile.h: Implement async version of
1764 g_file_query_filesystem_info()
1766 * gfileinfo.h: Add new attributes for filesystem::use-preview
1768 * gio.symbols: Update
1770 * gthemedicon.c: (g_themed_icon_append_name):
1771 * gthemedicon.h: Add new new convenience function.
1773 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1774 (get_mounts), (get_volumes), (get_connected_drives),
1775 (get_volume_for_uuid), (get_mount_for_uuid),
1776 (g_union_volume_monitor_init), (populate_union_monitor),
1777 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1778 (g_volume_monitor_adopt_orphan_mount):
1780 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1781 monitor implementations to call into the main volume monitor. Also
1782 separate object initialization and volume monitor initialization
1783 such that non-native volume monitors can properly adopt their
1786 2008-02-21 Alexander Larsson <alexl@redhat.com>
1791 2008-02-21 Alexander Larsson <alexl@redhat.com>
1794 Add more documentation about how GFiles work (from #517086)
1796 2008-02-21 Alexander Larsson <alexl@redhat.com>
1800 Add new g_file_has_prefix that does the same as g_file_contains_file.
1801 Deprecate g_file_contains_file and add a macro that converts
1802 it to g_file_has_prefix.
1803 The reason for this change is that the contains_file() name seems to
1804 imply that this does more work than what it does, but its really only
1805 a name match (from #517086)
1810 Update to match the above change.
1812 2008-02-20 Benjamin Otte <otte@gnome.org>
1814 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1815 (g_file_eject_mountable):
1816 even more cases of not returning in error path
1818 2008-02-20 Benjamin Otte <otte@gnome.org>
1820 * gfile.c: (g_file_mount_mountable):
1821 return from function in error path.
1823 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1826 Remove trailing coma in GMountMountFlags struct
1828 2008-02-18 Alexander Larsson <alexl@redhat.com>
1832 * glocalfileoutputstream.c:
1833 Use g_unlink/g_rename instead of unlink/rename;
1834 do not pass raw filenames to g_set_error. (#517239)
1835 Patch from Yevgen Muntyan.
1837 2008-02-18 Alexander Larsson <alexl@redhat.com>
1840 * glocalfileoutputstream.c:
1841 Open files with O_BINARY on windows. (#517140)
1843 2008-02-14 Alexander Larsson <alexl@redhat.com>
1845 * glocalfileoutputstream.c:
1846 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1848 2008-02-14 Alexander Larsson <alexl@redhat.com>
1851 Copy permissions with file on copy (#514084)
1852 This is what cp does and makes sure e.g. the
1853 exec permissions are kept.
1854 Its kinda weird in that it keeps the permission bits
1855 the same while the uid and gid are different. However
1856 the new uid is the user so its not a security issue,
1857 and I've heard no complaints about cp on this issue.
1859 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1861 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1863 2008-02-13 Alexander Larsson <alexl@redhat.com>
1865 * inotify/inotify-path.c:
1866 Define IN_ONLYDIR if not in header (#515346)
1868 2008-02-12 Alexander Larsson <alexl@redhat.com>
1870 * tests/live-g-file.c:
1873 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1875 * === Released 2.15.5 ===
1877 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1879 * gio.symbols: Add g_mount_mount_flags_get_type.
1881 2008-02-11 Alexander Larsson <alexl@redhat.com>
1884 (g_file_info_set_attribute_mask):
1885 (g_file_attribute_matcher_matches_id):
1886 Correctly handle NULL GAttributeMatcher meaning
1887 matches nothing. (Fixes #513492)
1889 2008-02-11 Alexander Larsson <alexl@redhat.com>
1894 Added GMountMountFlags enum and added a flags
1895 argument to all mount calls.
1897 This is an API/ABI change for future extensibility,
1898 as I think we will need at least an
1899 inhibit-autorun flag (the panel needs this).
1900 There are no flags defined yet though.
1902 2008-02-11 Alexander Larsson <alexl@redhat.com>
1905 Added new standard::description attribute.
1906 Requested by Vincent, and useful for both
1909 2008-02-11 Alexander Larsson <alexl@redhat.com>
1911 * gdesktopappinfo.c:
1914 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1916 * *.c: Documentation additions
1918 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1920 * gappinfo.h: Formatting cleanup
1921 * gappinfo.c: Fix up docs.
1923 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1925 * gunixmounts.c: Consistently use getmntent_r() and fall
1926 back to getmntent(). (#515492)
1928 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1930 * gbufferedinputstream.c:
1932 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1934 * tests/data-input-stream.c:
1935 * tests/data-output-stream.c: Portability fixes.
1937 2008-02-08 Alexander Larsson <alexl@redhat.com>
1942 Add g_volume_should_automount.
1945 2008-02-07 Tor Lillqvist <tml@novell.com>
1947 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1948 Win32, too Unix-specific.
1950 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1952 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1953 a local plt if the compiler doesn't support what we want. Bug #514702
1955 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1957 reviewed by: <delete if not using a buddy>
1960 * gunixinputstream.c:
1961 * gunixoutputstream.c:
1963 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1965 * tests/Makefile.am:
1966 * tests/live-g-file.c:
1967 * tests/live-g-file.txt:
1968 New GIO testing module working over real data
1970 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1972 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1973 Fallback to rename() if link() is not available
1974 (when no support on target filesystem)
1976 2008-02-06 Michael Natterer <mitch@imendio.com>
1978 * gfileinfo.c (g_file_info_get_icon): replace
1979 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1981 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1983 * gfile.c (g_file_create):
1984 Documentation update of error codes
1986 2008-02-06 Alexander Larsson <alexl@redhat.com>
1988 * gdesktopappinfo.c:
1989 Update to use both mimeapps.list and
1990 defaults.list as discussed on xdg list.
1992 2008-02-06 Benjamin Otte <otte@gnome.org>
1995 * gfilenamecompleter.c:
1996 Fix some typos in the documentation.
1998 2008-02-06 Alexander Larsson <alexl@redhat.com>
2000 * glocalfile.c (g_local_file_trash):
2001 Don't succeed with trash if newly created
2002 trash dir has the wrong owner. (#514696)
2004 2008-02-05 Alexander Larsson <alexl@redhat.com>
2006 * glocalfile.c (g_local_file_move):
2007 Don't spew warnings when destination is not
2010 2008-02-03 Hans Breuer <hans@breuer.org>
2012 * makefile.msc : update
2014 2008-02-01 Michael Natterer <mitch@imendio.com>
2016 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2017 return value of xdg_mime_list_mime_parents() to a variable of the
2020 2008-02-01 Alexander Larsson <alexl@redhat.com>
2022 * gappinfo.c (g_app_info_launch_uris):
2023 Actually call the launch_uris method, not
2026 2008-02-01 Alexander Larsson <alexl@redhat.com>
2028 * gdesktopappinfo.c (g_desktop_app_info_equal):
2029 Ensure appinfos with no id but same pointer value
2032 2008-02-01 Alexander Larsson <alexl@redhat.com>
2034 * gappinfo.c (g_app_info_launch_default_for_uri):
2037 2008-02-01 Alexander Larsson <alexl@redhat.com>
2041 Add g_app_info_launch_default_for_uri utility
2044 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2046 * gdesktopappinfo.c:
2047 Doc fix for g_app_info_get_default_for_uri_scheme ()
2050 2008-01-30 Alexander Larsson <alexl@redhat.com>
2053 Add doc comment about uris vs GFiles to
2056 * gdesktopappinfo.c:
2057 Ensure uris passed to g_app_info_launch_uris()
2058 are not roundtriped through GFile (as that
2059 may be slightly destructive for e.g. mailto: links)
2061 2008-01-30 Alexander Larsson <alexl@redhat.com>
2063 * tests/data-input-stream.c:
2064 * tests/data-output-stream.c:
2065 C89 fixes from Jens Granseuer (#512849)
2067 2008-01-30 Alexander Larsson <alexl@redhat.com>
2070 Fix gamin/fam difference build issue. (#509419)
2072 2008-01-29 Alexander Larsson <alexl@redhat.com>
2075 * gdesktopappinfo.c:
2076 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2078 2008-01-29 Alexander Larsson <alexl@redhat.com>
2080 * gdesktopappinfo.c:
2081 * gdesktopappinfo.h:
2082 giomodule-priv.h include moved to .c file.
2084 2008-01-29 Alexander Larsson <alexl@redhat.com>
2086 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2087 Remove unused prio/name fields.
2089 2008-01-29 Alexander Larsson <alexl@redhat.com>
2091 * gcontenttype.c (looks_like_text):
2092 Don't treat whitespace as control chars.
2094 2008-01-29 Alexander Larsson <alexl@redhat.com>
2096 * gdesktopappinfo.c:
2097 Lazily create the desktop files for appinfos created
2098 by g_app_info_create_from_commandline() when needed
2099 for mime associations. This allows run-time use
2100 of GAppInfo object without creating unnecessary
2103 2008-01-29 Alexander Larsson <alexl@redhat.com>
2106 Added new symbols to gio.symbols
2108 2008-01-29 Alexander Larsson <alexl@redhat.com>
2111 Add g_file_query_default_handler utility to easily look up
2112 the GAppInfo that handles a file.
2114 * gdesktopappinfo.[ch]:
2116 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2119 Remove unused function
2121 2008-01-29 Alexander Larsson <alexl@redhat.com>
2123 * gfileenumerator.c:
2124 Mention need to free returned value in
2125 g_file_enumerator_next_files_finish docs.
2126 Fix leak if g_file_enumerator_next_files_finish()
2129 2008-01-29 Alexander Larsson <alexl@redhat.com>
2132 (_g_unix_content_type_get_parents):
2133 Use list_parents, not get_parents from xdgmime, because
2134 the later doesn't use the cache.
2136 * xdgmime/xdgmimecache.c:
2137 (_xdg_mime_cache_list_mime_parents):
2138 Don't list the same type as parent multiple times.
2140 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2142 * === Released 2.15.4 ===
2144 2008-01-28 Alexander Larsson <alexl@redhat.com>
2147 Register local vfs with prio 0.
2150 Remove old name and prio class members
2152 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2154 * tests/g-file.c: Disable some tests that are failing in
2155 the absence of a http backend.
2157 2008-01-28 Alexander Larsson <alexl@redhat.com>
2161 Add registration hooks for extension points.
2162 Register the gio extension points.
2164 * fam/gfamdirectorymonitor.c:
2165 * fam/gfamfilemonitor.c:
2166 * glocaldirectorymonitor.[ch]:
2167 * glocalfilemonitor.[ch]:
2168 * gnativevolumemonitor.h:
2169 * gunionvolumemonitor.c:
2170 * gunixvolumemonitor.c:
2173 * inotify/ginotifydirectorymonitor.c:
2174 * inotify/ginotifyfilemonitor.c:
2175 Use the extension points registration instead
2176 of g_type_children().
2178 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2181 * gvolume.[hc]: Document new API.
2183 * gfile.c (g_file_copy_async): Fix docs
2185 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2187 * gbufferedinputstream.c:
2189 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2192 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2194 * glocalfile.c: Avoid trivial differences in translatable strings.
2196 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2198 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2199 build with gcc 3.4 (#509419)
2201 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2203 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2204 (#509994, Murray Cumming)
2206 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2208 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2209 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2210 this allows big jobs to be executed in chunks, instead of blocking
2211 the main loop for a long time.
2213 * gsimpleasyncresult.c:
2214 * giofile.c: Adapt callers.
2216 2008-01-25 Alexander Larsson <alexl@redhat.com>
2218 * gdesktopappinfo.c:
2219 Implement changes discussed on xdg list.
2220 Now we can add supported mimetypes by just using defaults.list
2221 We can also remove associations in defaults.list.
2223 2008-01-25 Alexander Larsson <alexl@redhat.com>
2225 * gdesktopappinfo.c:
2226 Don't make local copy of desktop file
2227 for mimetype changes if the file already
2228 supports the new mimetype.
2230 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2234 * gbufferedinputstream.c:
2235 * glocalfile.c: String improvements. (#511966,
2236 Theppitak Karoonboonyanan)
2238 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2240 * gioscheduler.h: Expand docs a bit.
2242 2008-01-24 Alexander Larsson <alexl@redhat.com>
2245 Add g_drive_get_identifier and
2246 g_drive_enumerate_identifiers
2249 Add g_volume_get_identifier and
2250 g_volume_enumerate_identifiers
2256 Implement identifiers for unix backend
2258 2008-01-24 Alexander Larsson <alexl@redhat.com>
2263 Add g_file_copy_async() (#511580)
2264 Based on patch from Carlos Garcia Campos
2266 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2268 * gioscheduler.c: Some documentation additions.
2270 2008-01-22 Alexander Larsson <alexl@redhat.com>
2272 * gdesktopappinfo.c:
2273 (g_desktop_app_info_new):
2274 Don't leak basename.
2276 2008-01-22 Alexander Larsson <alexl@redhat.com>
2278 * gdesktopappinfo.c:
2279 (g_desktop_app_info_new_from_filename):
2282 2008-01-22 Alexander Larsson <alexl@redhat.com>
2284 * glocalfileinfo.c (get_thumbnail_attributes):
2287 2008-01-22 Alexander Larsson <alexl@redhat.com>
2290 (canonicalize_filename):
2291 Canonicalize paths that start with more than
2295 (compare_two_files):
2296 (test_g_file_new_for_path):
2299 2008-01-22 Alexander Larsson <alexl@redhat.com>
2302 Allow UTF-8 in file:// parse names.
2304 * tests/Makefile.am:
2305 * tests/data-input-stream.c:
2306 * tests/data-output-stream.c:
2307 * tests/g-file-info.c:
2309 Added a bunch of tests from Tomas Bzatek
2311 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2313 * === Released 2.15.3 ===
2315 2008-01-21 Alexander Larsson <alexl@redhat.com>
2317 * gfileinputstream.[ch]:
2318 * gfileoutputstream.[ch]:
2320 Remove duplicated GSeekable functions. (#509990)
2321 Just use the g_seekable_xxx() calls instead.
2323 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2326 * gvolumemanager.c: Whitespace cleanups.
2328 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2329 Use the right mode when creating the file.
2331 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2333 * gfileenumerator.c:
2334 * gfileinputstream.c:
2336 * goutputstream.c: Documentation: Fixed minor typos
2337 and added more mentions of specific _finish() functions.
2339 2008-01-21 Alexander Larsson <alexl@redhat.com>
2341 * inotify/Makefile.am:
2342 * inotify/inotify-helper.c:
2343 * inotify/inotify-kernel.c:
2344 * inotify/inotify-path.c:
2345 * inotify/local_inotify.h: Removed.
2346 * inotify/local_inotify_syscalls.h: Removed.
2347 Removed the included copies of the inotify
2348 headers. We now only use the <sys/inotify.h>
2349 header which exists on modern systems.
2350 This fixes problems on ARM and SH5 (#510448)
2351 but is also generally much cleaner and future
2352 safe. For instance, if other OSes add support
2353 for inotify it should "just work".
2355 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2357 * inotify/*.c: Coding style fixes.
2358 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2359 for the 1/4 Hz timer.
2361 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2364 * gfilemonitor.[hc]:
2365 * gmemoryinputstream.c:
2366 * gmemoryoutputstream.c:
2367 * gmountoperation.c:
2368 * gthemedicon.c: Documentation updates
2370 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2372 * gfile.c: documentation: Fixed more minor
2375 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2377 * gmount.c: (g_mount_remount): documentation:
2378 Mention g_mount_remount_finish() instead of
2379 g_mount_unmount_finish().
2381 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2385 * gfile.c: Fixed some minor typos in the
2388 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2390 * gio/gvolumemonitor.c:
2391 (g_volume_monitor_get_connected_drives):
2392 (g_volume_monitor_get_volumes):
2393 (g_volume_monitor_get_mounts): Documentation:
2394 Clarify the ownership of the regurn GLists.
2396 2008-01-17 Alexander Larsson <alexl@redhat.com>
2399 Add the async find_enclosing_mount version
2400 to the header file too.
2402 2008-01-17 Alexander Larsson <alexl@redhat.com>
2405 Add async version of find_enclosing_mount
2406 with default implementation.
2408 2008-01-17 Alexander Larsson <alexl@redhat.com>
2413 Allow calls to implementation of copy and write
2414 even if the type of the file implementations is
2415 different. This can be used to implement native
2416 upload and download calls in a vfs.
2419 (g_local_file_move):
2420 Protect against the case where move is called
2421 with one file not being local.
2423 Make sure we call the progress callback once
2424 in the native move operation so that the caller
2425 knows how many bytes were copied.
2427 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2430 * gdatainputstream.c:
2432 * gfileoutputstream.c:
2437 * gunixmounts.c: Corrected some typos in the documentation:
2438 occured -> occurred.
2439 its -> it's (where appropriate).
2441 2008-01-16 Alexander Larsson <alexl@redhat.com>
2445 Add g_file_query_exists (#508771)
2447 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2452 * gvolume.c: For async functions that have no non-async
2453 version, document that the GAsyncReadyCallback may be NULL.
2456 2008-01-15 Alexander Larsson <alexl@redhat.com>
2458 * gmemoryinputstream.c:
2459 * gmemoryoutputstream.c:
2460 Don't do pointer arithmetic on void * (#508602)
2461 Patch from Kazuki IWAMOTO
2463 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2465 * === Released 2.15.2 ===
2467 2008-01-14 Alexander Larsson <alexl@redhat.com>
2469 * gfile.c (g_file_monitor_file):
2470 Don't set error here, since we fallback to polling monitor.
2472 2008-01-14 Alexander Larsson <alexl@redhat.com>
2475 (g_file_monitor_directory):
2476 (g_file_monitor_file):
2477 Add GError to file monitor calls
2479 * glocaldirectorymonitor.c:
2480 * glocaldirectorymonitor.h:
2482 * glocalfilemonitor.c:
2483 * glocalfilemonitor.h:
2485 Update for above change
2487 2008-01-14 Alexander Larsson <alexl@redhat.com>
2491 Handle root correctly in g_file_get_relative_path (#508719)
2493 2008-01-14 Alexander Larsson <alexl@redhat.com>
2496 Clean up docs and example for GAsyncResult (#508074)
2498 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2500 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2501 and correct some spelling mistakes. Bug #508108.
2503 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2505 * glocalfileinfo.c: Add a comment.
2507 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2509 * gfileinfo.c: GFileInfo description: Mention
2510 how to actually set attributes in a GFile and how to discover
2511 which attributes are settable. Bug #508378.
2513 2008-01-10 A. Walton <awalton@svn.gnome.org>
2515 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2516 (g_app_info_get_default_for_type):
2517 Check for NULL content types.
2519 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2521 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2523 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2525 * gfile.c: *_async() functions: Several small corrections
2526 to the documentation, mostly correcting copy/paste errors
2527 and improving some sentences.
2529 2008-01-09 Dan Winship <danw@gnome.org>
2531 * glocalfile.c (get_unique_filename): x86_64 fix
2533 2008-01-09 Alexander Larsson <alexl@redhat.com>
2538 Add g_unix_mount_guess_should_display and use
2539 for unix volume monitor backend.
2540 This means we more or less show what the
2541 gnome-vfs backend did.
2542 Based on patch from Padraig O'Briain
2544 2008-01-09 Alexander Larsson <alexl@redhat.com>
2548 Add g_themed_icon_new_with_default_fallbacks
2551 Use default fallbacks for icons
2553 2008-01-09 Alexander Larsson <alexl@redhat.com>
2556 * gmountoperation.[ch]:
2557 Change the API a bit so that unhandled methods
2558 get reported via the reply, rather than by
2559 the signal emission return value. This is because
2560 some handlers can't know this immediately without
2561 doing I/O, and this is an async operation that
2564 2008-01-09 Alexander Larsson <alexl@redhat.com>
2567 * fam/gfamdirectorymonitor.c:
2568 * fam/gfamfilemonitor.c:
2569 Fix double free crash (#508224)
2570 Patch from Joe Marcus Clarke
2572 008-01-07 Matthias Clasen <mclasen@redhat.com>
2574 * === Released 2.15.1 ===
2576 2008-01-07 Alexander Larsson <alexl@redhat.com>
2578 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2579 Fix warning (#507835)
2581 2008-01-07 Alexander Larsson <alexl@redhat.com>
2584 Pass --internal to glib-genmarshal
2587 * gmountoperation.c:
2589 Use better types for signal arguments (#507822)
2591 2008-01-07 Alexander Larsson <alexl@redhat.com>
2594 Build test subdir after .
2595 Remove gdirectorymonitor.[ch]
2597 * gdirectorymonitor.[ch]:
2601 Remove GDirectoryMonitor and make
2602 GFileMonitor the baseclass for both file and
2603 directory monitors. Lift the more generic
2604 rate limiting code from GDirectoryMonitor
2608 * fam/gfamdirectorymonitor.[ch]:
2609 * inotify/ginotifydirectorymonitor.[ch]:
2610 * inotify/inotify-helper.c:
2611 * glocaldirectorymonitor.[ch]:
2614 Update for the removed GDirectoryMonitor.
2616 * gmemoryoutputstream.c:
2617 Remove ununsed variable
2619 2008-01-07 Alexander Larsson <alexl@redhat.com>
2621 * gmemoryinputstream.c:
2622 Translate error strings
2625 * gmemoryoutputstream.[ch]:
2626 New implementation that avoids using GByteArray
2627 in implementation and API. (#506377)
2629 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2631 * tests/*: Add a test for memory input streams.
2633 * Makefile.am: Add tests to SUBDIRS.
2635 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2637 * glocalfilemonitor.c:
2638 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2641 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2643 * gdesktopappinfo.c: Fix a docs typo.
2645 * gfileattribute.c: Add information about extended attributes
2646 to the documentation. (#505058)
2648 2008-01-04 Alexander Larsson <alexl@redhat.com>
2651 * gmountoperation.c:
2652 Use the right type (uint) for the ask_password signal.
2654 2008-01-04 Alexander Larsson <alexl@redhat.com>
2659 Add g_app_info_supports_files()
2660 Remove desktop arg from g_app_info_should_show().
2662 * gdesktopappinfo.[ch]:
2663 Implement g_app_info_supports_files() and new should_show()
2664 Add g_desktop_app_info_set_desktop_env() to set the desktop
2665 for should_show(). (This will be set by gtk+ later)
2667 2008-01-04 Alexander Larsson <alexl@redhat.com>
2670 * gmemoryinputstream.[ch]:
2671 Improve API so that you can use multiple chunks
2672 of memory and custom destroy functions. (#506374)
2674 2008-01-03 Alexander Larsson <alexl@redhat.com>
2677 Handle NULL attribute matchers safely, as we return this
2678 for empty attribute matcher strings.
2680 2008-01-03 Alexander Larsson <alexl@redhat.com>
2682 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2683 Add /usr/local to list of internal mountpoints
2685 2008-01-03 Alexander Larsson <alexl@redhat.com>
2688 Check for HAVE_LCHOWN (#505887)
2690 2008-01-03 Alexander Larsson <alexl@redhat.com>
2694 Add define for selinux context attribute.
2695 Fix missing : -> :: namespace separator change
2696 Fix missing _ -> - name change for xattr-sys.
2699 2008-01-03 Alexander Larsson <alexl@redhat.com>
2702 Link to libglib and libgobject directly (#504879)
2703 Patch from Sebastien Bacher
2705 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2707 * gfile.c: Expanded the g_file_new_for_commandline_arg
2708 description a bit, based on the code and the docs of the
2709 other g_file_new_for_* functions.
2711 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2713 * gfilemonitor.h: Fixed typo in docs.
2715 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2717 Updates to GIO documentation. (#506395, Mikael Hermansson)
2719 * gcontenttype.c: Describe memory management for return value of
2720 g_content_types_get_registered(). Missing piece from #505815.
2721 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2722 GVolume, GDrive, GMounts, which hopefully gives the user less
2723 confusions when using this API. Following explainations from
2724 Alexander Larsson on gtk-devel-list.
2726 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2728 * gfileinfo.c: Expand the long description.
2730 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2733 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2734 fix builds with --disable-visibility. (#500273, Christian Persch)
2736 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2738 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2739 in the list of returned app infos.
2741 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2743 * gappinfo.c: Fix a cross-reference
2745 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2747 * gfileinputstream.c:
2748 * gfileoutputstream.c:
2752 * gdesktopappinfo.c:
2754 * gfileinfo.c: Documentation updates.
2756 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2758 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2761 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2763 * gcontenttype.c (g_content_types_get_registered): Don't return
2764 freed memory (#505815, Mikael Hermansson)
2766 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2768 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2769 used to detect statbuf->st_blocks. (#505042)
2771 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2773 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2774 environment handling. (#504829, Cosimo Cecchi)
2776 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2778 * gappinfo.c: Doc improvements
2780 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2783 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2785 * === Released 2.15.0 ===
2787 2007-12-20 Hans Breuer <hans@breuer.org>
2789 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2790 with symbols gwin32appinfo.obj, added gmount.obj
2791 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2793 2007-12-20 Alexander Larsson <alexl@redhat.com>
2799 * gfilenamecompleter.c:
2802 * gpollfilemonitor.c:
2803 File attribute renames:
2805 fs:: -> filesystem::
2806 id::fs -> id::filesystem
2808 2007-12-20 Alexander Larsson <alexl@redhat.com>
2817 Add GMountUnmountFlags to all unmount and
2819 Add g_mount_remount() call.
2821 2007-12-20 Alexander Larsson <alexl@redhat.com>
2823 * gvfs.c (get_default_vfs):
2824 Fix unused variable warning
2826 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2828 * pltcheck.sh: Update
2830 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2832 * gunionvolumemonitor.c:
2833 * gunixmount.c: Remove C99 comments
2835 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2837 * gio.symbols: Add some missing symbols
2839 2007-12-19 Alexander Larsson <alexl@redhat.com>
2842 Make g_io_modules_load_all_in_directory not unuse
2843 loaded modules so that users of it can do stuff
2845 Init internal "module" types.
2846 Initialize static prio and name for types so that
2847 we don't have to load modules to get it.
2849 * gnativevolumemonitor.h:
2851 Move is_supported to parent class so that
2852 non-native monitors can avoid being initialized
2853 too. (For instance GDaemonVolumeMonitor if we're
2854 not using GDaemonVfs.)
2856 * glocaldirectorymonitor.[ch]:
2857 * glocalfilemonitor.[ch]:
2858 * gunionvolumemonitor.c:
2859 * gunixvolumemonitor.c:
2861 Find plugins using the static prio+name to
2862 avoid unnecessarily loading the modules.
2864 2007-12-19 Alexander Larsson <alexl@redhat.com>
2869 2007-12-19 Alexander Larsson <alexl@redhat.com>
2871 * gunionvolumemonitor.c:
2872 Store the native type as GType, not class so that
2873 we can unload it. But still avoid unnecessarily
2876 2007-12-19 David Zeuthen <davidz@redhat.com>
2878 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2879 add signals 'disconnected' and 'eject-button' on GDrive. Add
2880 signal 'removed' on GVolume and 'unmounted' on GMount.
2882 * gdrive.c: (g_drive_base_init):
2884 * gfile.c: (g_file_mount_mountable),
2885 (g_file_mount_enclosing_volume):
2888 * gmount.c: (g_mount_base_init):
2890 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2891 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2892 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2896 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2898 * *.c: Fix up includes in the section docs.
2900 2007-12-17 Alexander Larsson <alexl@redhat.com>
2902 * gnativevolumemonitor.h:
2903 * gunionvolumemonitor.c:
2904 * gunixvolumemonitor.c:
2905 Add is_supported() to GNativeVolumeMonitorClass so
2906 that we can avoid having to create an object to see
2907 if the backend is supported at runtime.
2908 Also add name member and an env var to pick a specific
2909 volume monitor backend.
2913 Add cancellable to _g_mount_get_for_mount_path()
2915 * glocaldirectorymonitor.c:
2916 * glocalfilemonitor.c:
2917 Avoid loading and unloading modules while sorting.
2919 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2922 * gunixmounts.[hc]: Namespace waste reduction, move some
2923 g_get_unix_mount functions to the g_unix_mount namespace.
2926 * gunixvolumemonitor.c:
2928 * glocaldirectorymonitor.c: Update all callers.
2930 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2932 2007-12-17 Alexander Larsson <alexl@redhat.com>
2935 Add doc comments about what GFile operations are
2936 guaranteed to not block.
2938 2007-12-17 Alexander Larsson <alexl@redhat.com>
2941 Add missing #ifdef fixing OSX build.
2942 (#503334, patch from Richard Hult)
2944 2007-12-14 David Zeuthen <davidz@redhat.com>
2948 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2949 (g_mount_eject), (g_mount_eject_finish):
2951 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2952 (get_volume_for_uuid), (get_mount_for_uuid),
2953 (g_union_volume_monitor_class_init),
2954 (get_default_native_type_with_exclude), (get_default_native_type),
2955 (get_native_type), (update_native_type),
2956 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2957 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2958 (g_unix_mount_can_eject), (eject_unmount_cb),
2959 (eject_unmount_read_error), (eject_unmount_do),
2960 (g_unix_mount_unmount), (g_unix_mount_eject),
2961 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2962 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2963 (g_unix_mount_point_guess_can_eject):
2965 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2966 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2967 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2968 (g_unix_volume_mount), (g_unix_volume_eject),
2969 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2970 * gunixvolumemonitor.c: (get_volume_for_uuid),
2971 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2973 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2974 (g_volume_eject), (g_volume_eject_finish):
2976 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2977 (g_volume_monitor_get_mount_for_uuid):
2980 Provide eject() on both GMount and GVolume and utility functions
2981 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2982 ejected. Introduce the concept of UUID's and wire it into GVolume
2983 and GMount and provide API on GVolumeMonitor to find such
2984 instances. Also handle the case where an external
2985 GNativeVolumeMonitor fails to initialize. Lock around the
2986 _g_get_mount_for_mount_path() function such that volume monitor
2987 implementations won't have to do locking themselves.
2989 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2991 * gdesktopappinfo.c:
2997 * gvolume.h: Documentation updates
2999 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3002 * gfile.h: Doc updates
3004 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3007 * gdesktopappinfo.c: Use hash table iterators.
3009 2007-12-14 Alexander Larsson <alexl@redhat.com>
3012 * gfileattribute.[ch]:
3013 * gfileattribute-priv.h:
3014 Move GFileAttributeValue to a private header, as
3018 Make set_attribute take a type + a pointer instead
3019 of a GFileAttributeValue.
3022 Fix up for above changes.
3023 Add g_file_info_get_attribute_data to get
3024 all info in one call, g_file_info_get_attribute_status
3025 to get the status and g_file_info_get_attribute_as_string.
3029 * glocalfileinfo.[ch]:
3033 Make _guess_type static.
3035 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3038 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3039 made mkenums and friends use temporary files to avoid leaving
3040 empty generated files on failure (#503470).
3042 2007-12-14 Alexander Larsson <alexl@redhat.com>
3044 * gmountoperation.h:
3047 2007-12-14 Alexander Larsson <alexl@redhat.com>
3051 * gfileattribute.[ch]:
3054 * glocalfileoutputstream.c:
3055 * gmountoperation.[ch]:
3056 * goutputstream.[ch]:
3057 Clean up all flags enums to not have _FLAGS in them
3058 Make the names of some of the enums better.
3063 2007-12-14 Michael Natterer <mitch@imendio.com>
3065 * gio.symbols: fix g_io_scheduler symbol names.
3067 2007-12-14 Alexander Larsson <alexl@redhat.com>
3073 * gbufferedinputstream.h:
3074 * gbufferedoutputstream.h:
3077 * gdatainputstream.h:
3078 * gdataoutputstream.h:
3079 * gdesktopappinfo.h:
3080 * gdirectorymonitor.h:
3084 * gfileenumerator.h:
3087 * gfileinputstream.h:
3089 * gfilenamecompleter.h:
3090 * gfileoutputstream.h:
3091 * gfilterinputstream.h:
3092 * gfilteroutputstream.h:
3100 * gmemoryinputstream.h:
3101 * gmemoryoutputstream.h:
3103 * gmountoperation.h:
3106 * gsimpleasyncresult.h:
3108 * gunixinputstream.h:
3110 * gunixoutputstream.h:
3114 * inotify/Makefile.am:
3115 Only allow including <gio/gio.h> from apps
3117 2007-12-14 Alexander Larsson <alexl@redhat.com>
3119 * gioscheduler.[ch]:
3120 * gsimpleasyncresult.c:
3121 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3122 Split out the send_to_mainloop call into two versions instead
3123 of having the block argument.
3125 2007-12-13 Alexander Larsson <alexl@redhat.com>
3127 * gcancellable.[ch]:
3129 * gbufferedinputstream.c:
3130 * gfileenumerator.c:
3131 * gfileinputstream.c:
3132 * gfileoutputstream.c:
3136 g_push/pop_current_cancellable ->
3137 g_cancellable_push/pop_current
3139 2007-12-13 Alexander Larsson <alexl@redhat.com>
3143 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3145 2007-12-13 Alexander Larsson <alexl@redhat.com>
3147 * gmountoperation.h:
3148 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3150 2007-12-12 Alexander Larsson <alexl@redhat.com>
3153 Fix race condition when freeing proxy in
3154 g_io_job_send_to_mainloop().
3156 2007-12-12 Alexander Larsson <alexl@redhat.com>
3162 Make attribute namespace separator "::" instead of ":".
3163 Use - instead of _ as separator in attribute names.
3165 2007-12-12 Alexander Larsson <alexl@redhat.com>
3167 * gbufferedinputstream.h:
3168 * gbufferedoutputstream.h:
3169 * gdatainputstream.h:
3170 * gdataoutputstream.h:
3171 * gdirectorymonitor.h:
3172 * gfileenumerator.h:
3173 * gfileinputstream.h:
3175 * gfileoutputstream.h:
3176 * gfilterinputstream.h:
3177 * gfilteroutputstream.h:
3179 * glocalfileinputstream.h:
3180 * glocalfileoutputstream.h:
3181 * gmemoryinputstream.h:
3182 * gmemoryoutputstream.h:
3183 * gnativevolumemonitor.h:
3185 * gunixinputstream.h:
3186 * gunixoutputstream.h:
3189 s/parent/parent_instance/ in GObjects
3191 2007-12-12 Alexander Larsson <alexl@redhat.com>
3196 No need for padding for interfaces
3198 2007-12-12 Alexander Larsson <alexl@redhat.com>
3202 * gbufferedinputstream.c:
3203 * gbufferedoutputstream.c:
3206 * gdatainputstream.[ch]:
3207 * gdesktopappinfo.c:
3208 * gdirectorymonitor.c:
3210 * gfileattribute.[ch]:
3213 * gfileinputstream.h:
3214 * gfilemonitor.[ch]:
3215 * gfileoutputstream.[ch]:
3216 * gfilterinputstream.h:
3217 * gfilteroutputstream.h:
3220 * gloadableicon.[ch]:
3221 * gmemoryinputstream.c:
3222 * gmountoperation.c:
3224 Fix up a bunch of details in the docs.
3229 2007-12-11 David Zeuthen <davidz@redhat.com>
3231 Rework how volumes, drives and volume monitoring is
3232 done. Previosly the model was
3234 GDrive <1-1> GVolume
3236 where a GDrive instance represented a mount point and a GVolume
3237 instance represented a mounted file system. This patch changes it
3240 GDrive <1-N> GVolume <1-1> GMount
3242 where GMount now serves the purpose of the old GVolume and the new
3243 GVolume serves the purpose of the old GDrive. In addition the new
3244 GDrive interface is used to represent a collection of GVolume
3245 instances (typically partitions) and also contains utility to query
3246 the state of the physical drive the GDrive object represents (such
3247 as checking for media, polling the drive, ejecting the media etc.).
3249 Also implement mounting and unmounting in the Unix volume monitor
3250 backend. A subquent patch will introduce GDrive support for ejection
3254 * gdrive.c: (g_drive_is_media_check_automatic),
3255 (g_drive_is_media_removable), (g_drive_has_media),
3256 (g_drive_can_poll_for_media), (g_drive_eject),
3257 (g_drive_eject_finish), (g_drive_poll_for_media),
3258 (g_drive_poll_for_media_finish):
3260 * gfile.c: (g_file_find_enclosing_mount):
3263 * glocaldirectorymonitor.c:
3264 (g_local_directory_monitor_constructor), (mounts_changed):
3265 * glocalfile.c: (get_mount_info),
3266 (g_local_file_find_enclosing_mount),
3267 (g_local_file_file_iface_init):
3268 * gnativevolumemonitor.h:
3269 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3270 (get_connected_drives), (g_union_volume_monitor_class_init),
3271 (child_volume_added), (child_volume_removed),
3272 (child_volume_changed), (child_mount_added), (child_mount_removed),
3273 (child_mount_pre_unmount), (child_mount_changed),
3274 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3275 (g_union_volume_monitor_remove_monitor),
3276 (_g_mount_get_for_mount_path):
3277 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3278 (guess_system_internal), (_g_get_unix_mounts),
3279 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3280 (g_unix_mount_free), (g_unix_mount_compare),
3281 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3282 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3283 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3284 (type_to_icon), (g_unix_mount_guess_name),
3285 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3286 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3287 (_resolve_symlink), (_resolve_dev_root):
3289 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3290 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3291 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3292 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3293 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3294 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3295 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3296 (g_unix_volume_volume_iface_init):
3298 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3299 (get_mounts), (get_volumes), (get_connected_drives),
3300 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3301 (mountpoints_changed), (mounts_changed),
3302 (g_unix_volume_monitor_init),
3303 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3304 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3305 * gunixvolumemonitor.h:
3306 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3307 (g_volume_mount), (g_volume_mount_finish):
3309 * gvolumemonitor.c: (g_volume_monitor_class_init),
3310 (g_volume_monitor_get_connected_drives),
3311 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3314 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3316 * gmountoperation.h (GPasswordFlags): Close the gap
3318 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3320 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3322 * gdesktopappinfo.[hc]: Remove _-prefixes
3324 2007-12-10 Tor Lillqvist <tml@novell.com>
3326 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3329 2007-12-10 Alexander Larsson <alexl@redhat.com>
3331 * gfile.c (g_file_set_display_name):
3332 Don't hardcode '/' (#502727)
3334 2007-12-09 Hans Breuer <hans@breuer.org>
3336 * makefile.msc : follow lib naming convention
3337 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3338 for user and group name, tested with ../tests/gio-ls
3340 2007-12-09 A. Walton <awalton@svn.gnome.org>
3342 * gdesktopappinfo.c:
3348 * gfileenumerator.c:
3353 * gmemoryinputstream.c:
3354 * gmemoryoutputstream.c:
3356 * gsimpleasyncresult.c:
3357 More documentation cleanup and filling in missing information, bringing
3358 GIO to 99% symbol coverage.
3360 2007-12-08 Hans Breuer <hans@breuer.org>
3362 [gio compiles and links on win32, not sure how much already works]
3363 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3364 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3365 base on win32 API; prefer g_lstat() over lstat(); instead of
3366 localtime_r() use an all GLib implementation on win32;
3367 get_mount_info() still needs a win32 specifc implementation
3368 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3369 win32_get_file_user_info to get owner/group info without uid/gid
3370 * glocalfileinputstream.c : include <io.h> on win32
3371 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3372 definition, use g_win32_ftruncate() for G_OS_WIN32
3373 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3374 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3375 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3376 * makefile.msc : updated
3378 2007-12-07 Alexander Larsson <alexl@redhat.com>
3380 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3381 Avoid warning spew if error == NULL
3383 2007-12-07 Alexander Larsson <alexl@redhat.com>
3386 Update docs wrt etags
3388 2007-12-06 Alexander Larsson <alexl@redhat.com>
3391 Include sys/types.h for dev_t (#501919)
3393 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3397 Make abicheck and pltcheck pass.
3399 2007-12-05 Alexander Larsson <alexl@redhat.com>
3402 * giomodule-priv.h: Added.
3403 * glocaldirectorymonitor.c:
3404 * glocalfilemonitor.c:
3405 * gunionvolumemonitor.c:
3407 Actually add the declaration of _g_io_modules_ensure_loaded
3409 2007-12-05 Alexander Larsson <alexl@redhat.com>
3411 * gdatainputstream.c:
3416 * glocaldirectorymonitor.c:
3417 * glocalfilemonitor.c:
3418 * gunionvolumemonitor.c:
3420 Make g_io_modules_ensure_loaded a private function and
3421 don't pass in the dirname. This means we can do magic
3422 directory finding in the win32 version.
3423 Export the actual load-modules-in-directory code so that
3424 gvfs can reuse that.
3426 2007-12-05 Alexander Larsson <alexl@redhat.com>
3428 * gbufferedinputstream.c:
3429 * gbufferedoutputstream.c:
3432 * gfileenumerator.[ch]:
3433 * gfileinputstream.c:
3434 * gfileoutputstream.[ch]:
3435 * gfilterinputstream.c:
3436 * gfilteroutputstream.c:
3437 * ginputstream.[ch]:
3439 * glocalfileenumerator.c:
3440 * glocalfileinputstream.c:
3441 * glocalfileoutputstream.c:
3442 * gmemoryinputstream.c:
3443 * gmemoryoutputstream.c:
3444 * goutputstream.[ch]:
3447 * gunixinputstream.c:
3448 * gunixoutputstream.c:
3449 Rename all struct members named:
3450 read, write, close, truncate, or mount
3451 to foo_fn, as these are reserved names
3452 and could be defined as macros in libc.
3455 2007-12-04 Alexander Larsson <alexl@redhat.com>
3458 (g_output_stream_close):
3459 Only call flush if non-null.
3461 2007-11-30 Dan Winship <danw@gnome.org>
3463 * ginputstream.c (g_input_stream_set_pending): Make this take a
3464 GError and return a gboolean, and do the "outstanding operation"
3465 check (and the "stream is already closed" check) itself.
3466 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3468 * goutputstream.c (g_output_stream_set_pending)
3469 (g_output_stream_clear_pending): Likewise
3471 * gbufferedinputstream.c:
3472 * gfileinputstream.c:
3473 * gfileoutputstream.c: Update for that
3475 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3476 Like g_simple_async_report_error_in_idle, but takes a GError
3477 rather than building one.
3479 2007-11-30 Dan Winship <danw@gnome.org>
3481 * goutputstream.c: Don't cheat and unset the "pending" flag around
3482 inner calls. Instead, call the class method directly rather than
3483 the wrapper function that checks "pending"
3485 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3487 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3489 2007-12-03 Hans Breuer <hans@breuer.org>
3491 [start of port to win32/msvc]
3492 * gcancellable.c : HAVE_UNIST_H and _pipe()
3493 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3494 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3495 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3497 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3498 * glocalvfs.c : use HAVE_PWD_H
3499 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3500 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3501 * Makefile.am : added to EXTRA_DIST
3503 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3505 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3508 2007-12-03 Alexander Larsson <alexl@redhat.com>
3511 Handle OSX style xattrs API (#500506)
3513 2007-12-03 Alexander Larsson <alexl@redhat.com>
3517 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3519 2007-12-02 A. Walton <awalton@svn.gnome.org>
3523 Documentation accuracy fixes.
3525 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3527 * gioenumtypes.c.template: Fix typo.
3529 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3531 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3533 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3535 * gdirectorymonitor.c:
3536 * gfilemonitor.c: Add properties
3538 * gbufferedoutputstream.c: Don't mark buffer-size property
3541 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3543 * gbufferedoutputstream.c: Add auto-grow property.
3545 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3547 * *.c: Unify the capitalization of section headings.
3549 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3551 * gmountoperation.c: Add properties
3553 * gdatainputstream.c: Turn byte-order and newline-type into
3556 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3558 * gioenumtypes.[hc].template: Templates for enum registration
3560 * Makefile.am: Generate gioenumtypes.[hc]
3562 * gio.h: Include gioenumtypes.h
3564 * gfile.h: Add some explicit nicks.
3566 * gio.symbols: Add new symbols
3568 * pltcheck.sh: Adjust
3570 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3572 * *.c: Explain etags and link to the explanation
3574 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3576 * *.c: Explain I/O priority.
3578 * *.c: More coding style fixes.
3580 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3582 * gasyncresult.c: Add another paragraph to the intro,
3583 adjust coding style of example.
3585 2007-11-29 A. Walton <awalton@svn.gnome.org>
3588 Fixes unknown meaning in GAppLaunchContext docs.
3590 Clarify asynchronous ops.
3592 Fix entity tag docs.
3595 Provides missing gtk-doc section, fixes API docs slighly.
3596 * gsimpleasyncresult.c:
3597 Fill in missing info in docs.
3598 * gunixinputstream.c:
3599 * gunixoutputstream.c:
3600 Be more expressive in short description.
3602 Remove gtk-doc stubs for non-public API.
3604 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3606 * *.c: Coding style fixups
3608 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3610 * inotify/inotify-helper.c: Don't export the lock from libgio.
3612 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3615 * abicheck.sh: Fix copy-and-paste leftovers
3617 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3619 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3621 2007-11-28 Alexander Larsson <alexl@redhat.com>
3625 Removed unnecessary file
3627 * gdesktopappinfo.[ch]:
3630 * glocaldirectorymonitor.[ch]:
3632 * glocalfileenumerator.[ch]:
3633 * glocalfileinputstream.[ch]:
3634 * glocalfilemonitor.[ch]:
3635 * glocalfileoutputstream.[ch]:
3637 * gnativevolumemonitor.c:
3638 * gpollfilemonitor.[ch]:
3639 * gunionvolumemonitor.[ch]:
3642 * gunixvolumemonitor.[ch]:
3645 * inotify/ginotifydirectorymonitor.[ch]:
3646 * inotify/ginotifyfilemonitor.[ch]:
3647 * inotify/inotify-helper.c:
3648 Append _ to all internal functions
3652 Export symbols needed for modules
3654 2007-11-28 Alexander Larsson <alexl@redhat.com>
3657 * abicheck.sh: Added.
3658 * makegioalias.pl: Added.
3659 * pltcheck.sh: Added.
3660 * gio.symbols: Added.
3663 Initial work on adding symbol handling.
3666 Correct ifdef guard name
3669 * inotify/Makefile.am:
3670 * xdgmime/Makefile.am:
3671 Include toplevel Makefile.decl
3673 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3675 * gcontenttype.c: Move doc comments to the unix section.
3677 * *.[hc]: More trivial doc corrections.
3679 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3681 * gpollfilemonitor.c:
3685 * gdesktopappinfo.c:
3690 * gdatainputstream.c:
3691 * gdatainputstream.h:
3692 * gdataoutputstream.c:
3693 * gdataoutputstream.h:
3694 * gfileinfo.h: Doc cleanups
3696 2007-11-28 Andre Klapper <a9016009@gmx.de>
3698 * gdesktopappinfo.c: Fix a typo.
3700 2007-11-27 Andre Klapper <a9016009@gmx.de>
3702 * glocalfileoutputstream.c: Fix a typo.
3704 2007-11-27 Alexander Larsson <alexl@redhat.com>
3707 Don't include removed headers
3709 2007-11-27 Alexander Larsson <alexl@redhat.com>
3712 * gsocketinputstream.[ch]: Removed.
3713 * gsocketoutputstream.[ch]: Removed.
3714 * gunixinputstream.[ch]: Added.
3715 * gunixoutputstream.[ch]: Added.
3716 Renamed GSocket*Stream to GUnix*Stream and made
3717 it unix-only, since its not really only for sockets
3718 and it only works on unix (but is highly useful there).
3720 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3726 * gbufferedinputstream.c:
3727 * gbufferedinputstream.h:
3728 * gbufferedoutputstream.c:
3729 * gbufferedoutputstream.h:
3733 * gdatainputstream.c:
3734 * gdatainputstream.h:
3735 * gdataoutputstream.c:
3736 * gdataoutputstream.h:
3737 * gdirectorymonitor.c:
3738 * gdirectorymonitor.h:
3745 * gfileenumerator.c:
3746 * gfileenumerator.h:
3751 * gfileinputstream.c:
3752 * gfileinputstream.h:
3755 * gfilenamecompleter.c:
3756 * gfilenamecompleter.h:
3757 * gfileoutputstream.c:
3758 * gfileoutputstream.h:
3759 * gfilterinputstream.c:
3760 * gfilterinputstream.h:
3761 * gfilteroutputstream.c:
3762 * gfilteroutputstream.h:
3775 * glocalfileoutputstream.c:
3776 * gmemoryinputstream.c:
3777 * gmemoryinputstream.h:
3778 * gmemoryoutputstream.c:
3779 * gmemoryoutputstream.h:
3780 * gmountoperation.c:
3781 * gmountoperation.h:
3784 * gpollfilemonitor.c:
3787 * gsimpleasyncresult.c:
3788 * gsimpleasyncresult.h:
3789 * gsocketinputstream.c:
3790 * gsocketinputstream.h:
3791 * gsocketoutputstream.c:
3792 * gsocketoutputstream.h:
3799 * gunixvolumemonitor.c:
3808 Bumps documentation to 93% symbol coverage, touching most
3809 of the public files. Fixes broken function documentation prototypes.
3810 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3811 gtk-doc headers in private files.
3813 2007-11-27 Jürg Billeter <j@bitron.ch>
3815 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3816 (g_buffered_input_stream_read_byte):
3817 * gbufferedinputstream.h:
3818 New functions for efficient access to buffer and simple single byte
3821 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3822 (g_data_input_stream_read_until):
3823 * gdatainputstream.h:
3824 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3825 read_until with multiple stop chars.
3827 2007-11-27 Alexander Larsson <alexl@redhat.com>
3831 * inotify/Makefile.am:
3832 Use the user-specified giomoduledir
3834 2007-11-27 Alexander Larsson <alexl@redhat.com>
3838 Add catch-all gio.h header
3839 Don't install gdummyfile.h
3841 2007-11-26 Alexander Larsson <alexl@redhat.com>
3843 * Makefile.am (gioinclude_HEADERS):
3844 Remove trailing whitespace
3846 2007-11-26 Alexander Larsson <alexl@redhat.com>
3848 Merge gio-standalone into glib
3850 2007-11-25 Christian Kellner <gicmo@gnome.org>
3852 * gio/goutputstream.c:
3853 Fix small mistake in the docs.
3855 2007-11-21 Christian Persch <chpe@gnome.org>
3857 * gio/glocalfile.c: (g_local_file_trash):
3858 Convert filenames to UTF-8 for GError.
3859 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3860 as per xdg base dir spec.
3862 2007-11-21 Christian Persch <chpe@gnome.org>
3864 * gio/gdesktopappinfo.c:
3865 Use that g_key_file_to_data cannot fail.
3867 Use stock defines for the key file group and key names.
3870 2007-11-21 Alexander Larsson <alexl@redhat.com>
3873 (copy_stream_with_progress):
3874 Make sure we do a final progress callback with
3875 the full total size.
3877 2007-11-21 Alexander Larsson <alexl@redhat.com>
3880 Export g_file_copy_attributes
3881 Remove padding as its not needed for interfaces
3883 2007-11-20 Alexander Larsson <alexl@redhat.com>
3888 Add G_IO_ERROR_WOULD_MERGE for
3889 copy/move dir on dir with overwrite.
3891 2007-11-20 Alexander Larsson <alexl@redhat.com>
3894 * gio/glocalfileinfo.c:
3895 Add COPY_NAME (this is an optional
3896 non-modified utf8 version of the name) that
3899 2007-11-20 Alexander Larsson <alexl@redhat.com>
3901 * gio/glocalfileenumerator.c:
3902 Report errors as GIOError, not GFileError
3904 2007-11-16 Alexander Larsson <alexl@redhat.com>
3906 * gio/glocalfileoutputstream.c:
3907 * gio/gwin32appinfo.c:
3908 Fix typos in strings.
3909 Patch from Luca Ferretti <elle.uca@libero.it>
3911 2007-11-15 Alexander Larsson <alexl@redhat.com>
3914 Post release version bump
3916 === gio-standalone 0.1.2 ===
3918 2007-11-15 Alexander Larsson <alexl@redhat.com>
3920 * docs/reference/gio/Makefile.am:
3921 Fix up distcheck by removing weird
3927 2007-11-14 Alexander Larsson <alexl@redhat.com>
3929 * gio/gdesktopappinfo.c:
3930 * gio/glocaldirectorymonitor.c:
3932 * gio/glocalfileinfo.c:
3933 * gio/inotify/inotify-sub.c:
3934 * programs/gio-cat.c:
3935 * programs/gio-copy.c:
3936 * programs/gio-info.c:
3937 * programs/gio-ls.c:
3938 * programs/gio-monitor-dir.c:
3939 * programs/gio-monitor-file.c:
3940 * programs/gio-mount.c:
3941 * programs/gio-move.c:
3942 * programs/gio-rm.c:
3943 * programs/gio-save.c:
3944 * programs/gio-trash.c:
3945 Leak fixes from Kjartan Maraas
3947 2007-11-14 Alexander Larsson <alexl@redhat.com>
3949 * gio/fam/fam-helper.c:
3951 * gio/glocalfileinfo.c:
3955 * gio/inotify/inotify-diag.c:
3956 * gio/inotify/inotify-kernel.c:
3957 Various code cleanups from Kjartan Maraas
3959 2007-11-14 Alexander Larsson <alexl@redhat.com>
3961 * gio/gioscheduler.c:
3963 Set up threadpool so that we cache 2 unused
3964 idle threads for at 15 secs. This means we
3965 will reuse thread-local data (like dbus connections)
3968 2007-11-14 Alexander Larsson <alexl@redhat.com>
3970 * gio/fam/fam-helper.c:
3971 * gio/fam/gfamdirectorymonitor.c:
3972 * gio/fam/gfamfilemonitor.c:
3974 * gio/gcontenttype.c:
3975 * gio/gdatainputstream.c:
3976 * gio/gdataoutputstream.c:
3980 * gio/gfileattribute.h:
3981 * gio/gfileenumerator.c:
3983 * gio/ginputstream.c:
3986 * gio/glocalfileinfo.c:
3987 * gio/goutputstream.c:
3988 * gio/gpollfilemonitor.c:
3989 * gio/gsimpleasyncresult.c:
3990 * gio/gunixmounts.c:
3991 * gio/gunixmounts.h:
3992 * gio/inotify/ginotifydirectorymonitor.c:
3993 * gio/inotify/ginotifyfilemonitor.c:
3994 * gio/inotify/inotify-diag.c:
3995 * gio/inotify/inotify-kernel.c:
3996 * gio/inotify/inotify-path.c:
3998 * gio/test-streams.c:
3999 * programs/gio-info.c:
4000 * programs/gio-monitor-dir.c:
4001 * programs/gio-monitor-file.c:
4002 Various code cleanups from Kjartan Maraas
4004 2007-11-13 Alexander Larsson <alexl@redhat.com>
4007 Handle the uri-scheme calls for dummy files
4009 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4011 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4012 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4013 to avoid clash with the C++ keyword.
4015 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4017 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4018 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4020 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4022 * gio/glocaldirectorymonitor.c:
4023 * gio/glocalfilemonitor.c:
4024 * gio/gunionvolumemonitor.c:
4025 Don't use g_once_init_*() for initializations that could fail and
4026 could leave the initialization variable set to 0 but use GOnce.
4027 This prevents a deadlock on the second call when trying to create
4028 a monitor and no monitor type is available. Thanks to Sven Herzberg
4031 2007-11-11 Sven Herzberg <sven@imendio.com>
4033 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4034 #ifdef (make it work on MacOS X again)
4036 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4038 Fixes Changelog for last two commits (sorry guys).
4040 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4042 * gio/gbufferedinputstream.c:
4043 * gio/gdatainputstream.c:
4045 * gio/gfileoutputstream.c:
4046 * gio/gfilterinputstream.c:
4047 * gio/glocalfileinputstream.c:
4050 More consistency fixes in g*stream.c files.
4051 Significant clean of gfile's documentation, filling in of
4052 asynchronous operations documentation.
4054 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4056 * gio/gasyncresult.c:
4057 * gio/gbufferedinputstream.c:
4058 * gio/gbufferedoutputstream.c:
4059 * gio/gcancellable.c:
4060 * gio/gcontenttype.c:
4061 * gio/gdatainputstream.c:
4062 * gio/gdataoutputstream.c:
4063 * gio/gdesktopappinfo.c:
4066 * gio/gfileattribute.c:
4067 * gio/gio/gfileenumerator.c:
4069 * gio/gfileinputstream.c:
4070 * gio/gfilemonitor.c:
4071 * gio/gfileoutputstream.c:
4072 * gio/ginputstream.c:
4074 * gio/gioscheduler.c:
4075 * gio/gloadableicon.c:
4076 * gio/glocalfileoutputstream.c:
4077 * gio/gmemoryoutputstream.c:
4078 * gio/gmountoperation.c:
4079 * gio/goutputstream.c:
4081 * gio/gsimpleasyncresult.c:
4082 * gio/gunionvolumemonitor.c:
4083 * gio/gunixmounts.c:
4084 * gio/gunixvolume.c:
4088 * gio/gvolumemonitor.c:
4089 Updated documentation stubs, working towards consistency and
4092 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4094 * gio/gmemoryoutputstream.c:
4095 * gio/gmemoryoutputstream.h:
4096 Change g_memory_output_stream_set_free_on_close() to
4097 g_memory_output_stream_set_free_data() as this makes more sense and
4098 is more consistent with GMemoryInputStream.
4100 2007-11-07 Alexander Larsson <alexl@redhat.com>
4107 Change how we find the default vfs so that
4108 we can handle a gvfs failing to init
4110 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gio/gbufferedoutputstream.c:
4113 * gio/gdatainputstream.c:
4114 * gio/gdataoutputstream.c:
4115 * gio/gfileinputstream.c:
4116 * gio/gfileoutputstream.c:
4117 * gio/gfilterinputstream.c:
4118 * gio/gfilteroutputstream.c:
4119 * gio/ginputstream.c:
4120 * gio/gmemoryinputstream.c:
4121 * gio/gmemoryoutputstream.c:
4122 * gio/goutputstream.c:
4123 * gio/gsimpleasyncresult.c:
4124 * gio/gsocketinputstream.c:
4125 * gio/gsocketoutputstream.c:
4126 Add guards to the remaining public functions, add a TODO for
4127 an unimplemented function and remove some useless guards.
4129 2007-11-07 Alexander Larsson <alexl@redhat.com>
4132 Autoconf checks for the various types of
4133 getpwuid_r and getgrgid_r
4135 * gio/glocalfileinfo.c:
4136 Use the autoconf checks from above
4138 2007-11-07 Alexander Larsson <alexl@redhat.com>
4141 (g_local_file_query_filesystem_info):
4142 Some fixes for the statvfs case
4144 2007-11-07 Alexander Larsson <alexl@redhat.com>
4147 (g_local_file_query_filesystem_info):
4148 Pick the "best" of statfs / statvfs for the system
4149 if both are availible.
4151 2007-11-07 Alexander Larsson <alexl@redhat.com>
4153 Solaris fixes from Halton.Huo@Sun.COM:
4160 * gio/glocalfileinfo.c:
4161 Fix for solaris definition of getpwuid_r
4163 * gio/test-streams.c:
4164 Use G_GNUC_PRETTY_FUNCTION
4166 2007-11-07 Alexander Larsson <alexl@redhat.com>
4168 * gio/gdesktopappinfo.c:
4169 (update_default_list):
4170 Remove double semicolon.
4171 Patch from Jens Granseuer
4173 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4175 * docs/reference/gio/gio-sections.txt:
4176 * gio/gbufferedinputstream.c:
4177 * gio/gbufferedinputstream.h:
4178 * gio/gdatainputstream.c:
4179 * gio/gfileenumerator.c:
4180 * gio/gioscheduler.c:
4181 * gio/gunionvolumemonitor.c:
4183 * programs/gio-save.c:
4184 Fix typo: availible -> available. Unfortuntely this breaks API
4185 and ABI as g_buffered_input_stream_get_available() was renamed.
4187 * gio/gunixmounts.c:
4188 * gio/gbufferedinputstream.c:
4189 Add guards for public functions.
4191 2007-11-06 Ross Burton <ross@openedhand.com>
4193 * docs/reference/gio/Makefile.am:
4194 Fix invalid += usage which automake 1.10 doesn't like.
4196 2007-11-06 Alexander Larsson <alexl@redhat.com>
4199 (g_app_launch_context_class_init):
4202 Patch from Ross Burton
4204 2007-11-06 Alexander Larsson <alexl@redhat.com>
4207 Post release version bump
4209 === gio-standalone 0.1.1 ===
4211 2007-11-06 Alexander Larsson <alexl@redhat.com>
4214 Bump version to 0.1.1
4216 * gio/gsimpleasyncresult.c:
4217 (g_simple_async_result_set_from_error):
4218 Remove bogus g_return_if_fail
4220 2007-11-06 Alexander Larsson <alexl@redhat.com>
4223 The name is gio-standalone
4226 Add top src/builddir to includedir
4228 2007-11-06 Alexander Larsson <alexl@redhat.com>
4230 * docs/reference/gio/gio-sections.txt:
4232 * gio/gbufferedinputstream.c:
4233 * gio/gbufferedoutputstream.c:
4234 * gio/gcancellable.c:
4235 * gio/gdatainputstream.h:
4236 * gio/gdataoutputstream.c:
4237 * gio/gdataoutputstream.h:
4238 * gio/gdirectorymonitor.c:
4240 * gio/gfileattribute.c:
4241 * gio/gfileattribute.h:
4242 * gio/gfileenumerator.c:
4243 * gio/gfileenumerator.h:
4246 * gio/gfileinputstream.h:
4247 * gio/gfilemonitor.c:
4248 * gio/gfileoutputstream.h:
4249 * gio/glocalfilemonitor.h:
4250 * gio/glocalfileoutputstream.h:
4251 * gio/gmemoryinputstream.c:
4252 * gio/gmemoryoutputstream.c:
4253 * gio/gmountoperation.c:
4254 * gio/goutputstream.c:
4255 * gio/goutputstream.h:
4257 * gio/gsimpleasyncresult.c:
4258 * gio/gunixmounts.c:
4259 * gio/gunixmounts.h:
4261 * gio/inotify/inotify-helper.c:
4262 Fix gtk-doc warnings
4264 Patch from Ross Burton
4266 2007-11-06 Alexander Larsson <alexl@redhat.com>
4268 * gio/gfilenamecompleter.c:
4269 (g_filename_completer_get_completions):
4272 * gio/gunixvolume.c:
4273 Remove unused function
4275 Patches from Ross Burton
4277 2007-11-06 Alexander Larsson <alexl@redhat.com>
4282 Padding not needed for interfaces
4284 2007-11-06 Alexander Larsson <alexl@redhat.com>
4286 * gio/gfilemonitor.c:
4290 Make giotypes.h an internal file
4293 * gio/gbufferedinputstream.h:
4294 * gio/gbufferedoutputstream.h:
4295 * gio/gcancellable.h:
4296 * gio/gdatainputstream.h:
4297 * gio/gdataoutputstream.h:
4298 * gio/gdirectorymonitor.c:
4299 * gio/gdirectorymonitor.h:
4304 * gio/gfileattribute.h:
4305 * gio/gfileenumerator.h:
4310 * gio/gfilemonitor.c:
4311 * gio/gfilemonitor.h:
4312 * gio/gfilenamecompleter.c:
4313 * gio/gfilenamecompleter.h:
4314 * gio/gfilterinputstream.h:
4315 * gio/gfilteroutputstream.h:
4316 * gio/ginputstream.h:
4317 * gio/gmemoryinputstream.h:
4318 * gio/gmemoryoutputstream.h:
4319 * gio/gmountoperation.c:
4320 * gio/gmountoperation.h:
4321 * gio/gnativevolumemonitor.c:
4322 * gio/goutputstream.h:
4325 * gio/gsimpleasyncresult.c:
4326 * gio/gsimpleasyncresult.h:
4327 * gio/gsocketinputstream.h:
4328 * gio/gsocketoutputstream.h:
4329 * gio/gthemedicon.c:
4330 * gio/gthemedicon.h:
4334 * gio/gvolumemonitor.c:
4335 * gio/gvolumemonitor.h:
4336 Add padding in classes where it seems useful
4337 Don't include giotypes.h from public headers
4338 Move in Class definitions into c file where possible
4343 2007-11-06 Alexander Larsson <alexl@redhat.com>
4345 * docs/reference/gio/gio-docs.xml:
4346 Better structure for API docs
4348 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4351 * gio/gloadableicon.c:
4352 * gio/gsimpleasyncresult.c:
4353 * gio/gthemedicon.c:
4354 Add some more guards to public functions. Only files missing are now
4357 2007-11-06 Alexander Larsson <alexl@redhat.com>
4359 * docs/reference/gio/gio-docs.xml:
4360 Remove old files, add missing ones
4362 2007-11-06 Alexander Larsson <alexl@redhat.com>
4364 * docs/reference/gio/gio-sections.txt:
4367 Hide implementation classes
4369 * gio/gdriveprivate.h:
4370 * gio/gvolumeprivate.h:
4371 Remove non-existing function declarations
4373 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4376 Fix compilation warnings and add guards to the new functions.
4378 * gio/gasyncresult.c:
4380 Add guards to the public functions.
4383 Implement get_path().
4385 2007-11-06 Alexander Larsson <alexl@redhat.com>
4387 * gio/gfilenamecompleter.c:
4388 Make g_filename_completer_get_completions
4389 return char ** instead of GList for
4392 * docs/reference/gio/gio-docs.xml:
4393 * docs/reference/gio/gio-sections.txt:
4395 * gio/gasyncresult.c:
4396 * gio/gbufferedinputstream.c:
4397 * gio/gbufferedoutputstream.c:
4398 * gio/gcancellable.c:
4399 * gio/gcontenttype.c:
4400 * gio/gdatainputstream.c:
4401 * gio/gdataoutputstream.c:
4402 * gio/gdesktopappinfo.c:
4403 * gio/gdirectorymonitor.c:
4407 * gio/gfileattribute.c:
4408 * gio/gfileenumerator.c:
4411 * gio/gfileinputstream.c:
4412 * gio/gfilemonitor.c:
4413 * gio/gfilenamecompleter.c:
4414 * gio/gfilenamecompleter.h:
4415 * gio/gfileoutputstream.c:
4416 * gio/gfilterinputstream.c:
4418 * gio/ginputstream.c:
4420 * gio/gioscheduler.c:
4421 * gio/gloadableicon.c:
4422 * gio/glocaldirectorymonitor.c:
4424 * gio/glocalfileinputstream.c:
4425 * gio/glocalfilemonitor.c:
4426 * gio/glocalfileoutputstream.c:
4428 * gio/gmemoryinputstream.c:
4429 * gio/gmemoryoutputstream.c:
4430 * gio/gmountoperation.c:
4431 * gio/goutputstream.c:
4432 * gio/gpollfilemonitor.c:
4434 * gio/gsimpleasyncresult.c:
4435 * gio/gsocketinputstream.c:
4436 * gio/gsocketoutputstream.c:
4437 * gio/gthemedicon.c:
4438 * gio/gunionvolumemonitor.c:
4440 * gio/gunixmounts.c:
4441 * gio/gunixvolume.c:
4442 * gio/gunixvolumemonitor.c:
4446 * gio/gvolumemonitor.c:
4447 * gio/gwin32appinfo.c:
4448 Add (mostly stub) doc strings to public functions.
4449 Patch from Andrew Walton (awalton@gmail.com)
4451 2007-11-06 Alexander Larsson <alexl@redhat.com>
4453 * gio/gappinfo.[ch]:
4454 Added GAppLaunchContext object and pass that to launch.
4455 This allows simple implementation of both
4456 launch-on-screen and startup notification via a gtk+
4457 subclass of GAppLaunchContext
4459 * gio/gdesktopappinfo.c:
4460 Implement GAppLaunchContext API
4462 * gio/gwin32appinfo.c:
4465 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4467 * gio/gmountoperation.c:
4468 Add some guards to GMountOperation's public functions.
4470 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4474 * gio/gcancellable.c:
4475 * gio/gdirectorymonitor.c:
4477 * gio/gfileenumerator.c:
4478 * gio/gfilemonitor.c:,
4479 * gio/gfilenamecompleter.c:
4482 * gio/gioscheduler.c:
4486 * gio/gvolumemonitor.c:
4487 Add even more guards to various public functions.
4489 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4492 Add guards to the public functions of GAppInfo.
4494 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4496 * gio/gcontenttype.c:
4497 Add some more guards for public functions.
4499 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4501 * gio/fam/fam-module.c:
4502 * gio/fam/gfamdirectorymonitor.c:
4503 * gio/fam/gfamdirectorymonitor.h:
4504 * gio/fam/gfamfilemonitor.c:
4505 * gio/fam/gfamfilemonitor.h:
4506 * gio/inotify/ginotifydirectorymonitor.c:
4507 * gio/inotify/ginotifydirectorymonitor.h:
4508 * gio/inotify/ginotifyfilemonitor.c:
4509 * gio/inotify/ginotifyfilemonitor.h:
4510 Add proper copyright information and remove an unused variable
4511 in the GInotifyFileMonitor constructor.
4513 * gio/gcancellable.c:
4514 Add a guard for a public function and an assertion to prevent
4515 an undefined program state.
4517 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4519 * gio/gfileattribute.c:
4520 Don't run into an assertion if the given attribute value is NULL
4521 in g_file_attribute_value_get_*() but instead return a fallback
4522 value that makes sense in most situations. Passing them a attribute
4523 value with the wrong type will still run into an assertion.
4525 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4527 * gio/gfileattribute.c:
4529 Add even more guards to the public functions. Also fix the refcounting
4530 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4531 let g_file_info_list_attributes() filter the attributes by namespace
4532 instead of simply ignoring the namespace parameter.
4534 2007-11-03 Sven Herzberg <sven@imendio.com>
4536 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4537 (This makes gio work on MacOS X again)
4539 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4542 Build the gio subdirectory before the docs. Otherwise the build will
4545 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4546 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4547 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4548 Add guards to the public functions.
4550 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4552 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4553 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4554 to prevent a compiler warning.
4556 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4557 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4558 return something in the non-void function find_topdir_for().
4560 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4567 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4569 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4570 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4571 * gwin32appinfo.c (g_win32_app_info_launch):
4572 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4573 envp_for_startup_id, g_desktop_app_info_launch,
4574 g_desktop_app_info_launch_uris):
4576 Give an opaque 'startup_id' string instead of 'envp'.
4577 Support empty file lists for launching new windows.
4578 Fix infinite recursion bug when launching URIs.
4580 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4583 Add guard to the new g_file_get_uri_scheme() function.
4585 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4588 Convert a g_return_val_if_fail() to setting the GError instead as
4589 otherwise applications have to verify the parameter before otherwise
4590 and the parameter might come directly from the user.
4592 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4594 * gio/inotify/ginotify*.[ch]:
4595 Add missing copyright information.
4597 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4600 Add guards in the beginning of public functions to check for valid
4601 parameters and fix a bug in copy_stream_with_progress() that could've
4602 caused writing less bytes than reading.
4603 * gio/glocalfileinfo.c:
4604 Check for a NULL parameter and set the GError accordingly then.
4605 * gio/goutputstream.c:
4606 Fix the same bug as in gfile.c that could've caused writing less bytes
4607 than reading in g_output_stream_real_splice().
4609 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4612 Use the correct gvolumeprivate.h naming
4614 2007-11-01 Christian Kellner <gicmo@gnome.org>
4617 Remove leftover "$(daemon_sources)" entry.
4619 2007-11-01 Christian Kellner <gicmo@gnome.org>
4624 Add copyright information to source files.
4626 2007-11-01 Alexander Larsson <alexl@redhat.com>
4630 Add g_file_get_uri_scheme
4632 2007-11-01 Alexander Larsson <alexl@redhat.com>
4635 * gio/gdesktopappinfo.c:
4636 * gio/gwin32appinfo.c:
4637 Add g_app_info_get_default_for_uri_scheme.
4639 2007-11-01 Alexander Larsson <alexl@redhat.com>
4642 Correct filename for gdriveprivate.h
4644 2007-10-31 Alexander Larsson <alexl@redhat.com>
4647 Rename id:value to id:file
4650 * gio/glocalfileinfo.c:
4653 2007-10-31 Alexander Larsson <alexl@redhat.com>
4655 * gio/gunixvolume.c:
4657 Remove g_volume_get_platform_id, as thats not
4658 needed with the simpler union volume monitor
4660 2007-10-31 Alexander Larsson <alexl@redhat.com>
4663 * gio/guniondrive.[ch]: Removed.
4664 * gio/gunionvolume.[ch]: Removed.
4665 Remove GUnionDrive/Volume
4667 * gio/gunionvolumemonitor.c:
4668 Simplify union volume monitor, now we
4669 only have one native volume monitor and
4670 we use the actual volumes/drives from the
4671 child monitors instead of wrapping them
4673 * gio/gnativevolumemonitor.[ch]:
4674 Base class for native volume monitors.
4675 Includes priority and get_volume_for_mountpoint
4678 Add g_file_find_enclosing_volume
4681 Remove volume name fs attribute
4682 Add readonly fs attribute
4685 Implement readonly attribute
4686 remove volume name attribute
4687 Implement find_enclosing volume
4689 * gio/gunixmounts.c:
4690 Add a volume for "/".
4692 * gio/gunixvolume.[ch]:
4693 Set better name for /
4695 * gio/gunixvolumemonitor.[ch]:
4696 Derive from GNativeVolumeMonitor
4697 Implement get_volume_for_mountpoint
4700 GVolume typedef moved to gfile.h
4702 * gio/gvolumeprivate.h:
4703 Add g_volume_get_for_mount_path
4705 2007-10-31 Alexander Larsson <alexl@redhat.com>
4707 * gio/gunixmounts.[ch]:
4708 Add cache info to unix mount listers
4709 Make getmntent use threadsafe
4710 Add is_system_internal attribute for GUnixMount
4712 * gio/gunixvolume.c:
4713 (g_unix_volume_new):
4714 Use is_system_internal instead of own code
4716 * gio/glocaldirectorymonitor.c:
4717 * gio/gunixvolumemonitor.c:
4718 Update to new gunixmounts API
4723 2007-10-30 Alexander Larsson <alexl@redhat.com>
4726 Add volume name fsinfo attribute
4729 Read volume name info
4731 * gio/gunionvolumemonitor.c:
4732 Fix infinite loops when finalizing a union volume monitor
4734 2007-10-30 Alexander Larsson <alexl@redhat.com>
4736 * gio/goutputstream.[ch]:
4737 Add splice() with default implementation
4739 * gio/gsocketoutputstream.c:
4740 (g_socket_output_stream_write):
4741 Return error on cancellation correctly.
4743 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4745 * gio/glocalfile.c (g_local_file_trash):
4746 Do not leak a string.
4748 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4750 * gio/gfile.c (g_file_load_contents):
4751 Unref the stream after closing it.
4753 2007-10-25 Alexander Larsson <alexl@redhat.com>
4755 * gio/gioscheduler.h:
4758 2007-10-25 Alexander Larsson <alexl@redhat.com>
4762 Add g_file_has_uri_scheme and implement for local files
4764 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4766 * gio/gdesktopappinfo.c: do not leak a string.
4768 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4770 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4771 (g_local_directory_monitor_new):
4772 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4773 (g_local_file_monitor_new):
4774 Only look for the monitor type that should be used the first time
4775 and use g_qsort_with_data() instead of our own bubble sort
4778 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4781 * gio/fam/Makefile.am:
4782 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4783 * gio/fam/fam-helper.h:
4784 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4785 * gio/fam/gfamdirectorymonitor.c:
4786 * gio/fam/gfamdirectorymonitor.h:
4787 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4788 * gio/fam/gfamfilemonitor.h:
4789 * gio/glocaldirectorymonitor.c:
4790 * gio/glocaldirectorymonitor.h:
4791 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4792 * gio/glocalfilemonitor.h:
4793 * gio/inotify/Makefile.am:
4794 * gio/inotify/ginotifydirectorymonitor.c:
4795 * gio/inotify/ginotifydirectorymonitor.h:
4796 * gio/inotify/ginotifyfilemonitor.c:
4797 * gio/inotify/ginotifyfilemonitor.h:
4798 Implement the FAM and Inotify monitors as
4799 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4800 their own GIO module. GLocal(Directory|File)Monitor will use the
4801 monitor with the highest rank that is supported on that machine.
4803 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4806 Change GIO module dir to $(libdir)/gio/modules and change
4807 the log domain from GVFS to GIO. Also only export symbols starting
4808 with g_ in the resulting library.
4809 * gio/test-streams.c: (main):
4810 Set log handler for the GIO log domain.
4812 2007-10-22 Alexander Larsson <alexl@redhat.com>
4814 * gio/gfilenamecompleter.[ch]:
4815 Add g_filename_completer_set_dirs_only
4817 2007-10-22 Alexander Larsson <alexl@redhat.com>
4820 * gio/gurifuncs.[ch]:
4821 Add some simple URI helpers
4823 * gio/gfilenamecompleter.[ch]:
4824 Added object for filename (parse name actually) completion
4827 Handle ~ in parse names
4829 2007-10-17 Alexander Larsson <alexl@redhat.com>
4832 * gio/glocalfileinfo.c:
4833 Add and implement id:value attribute
4835 2007-10-17 Alexander Larsson <alexl@redhat.com>
4838 * gio/guniondrive.c:
4840 Add and implement g_drive_has_volumes
4842 2007-10-17 Alexander Larsson <alexl@redhat.com>
4845 * gio/glocalfileinfo.[ch]:
4846 Add unix:is_mountpoint and implement for local files
4848 2007-10-16 Alexander Larsson <alexl@redhat.com>
4850 * gio/gunionvolumemonitor.c:
4851 (g_union_volume_monitor_init):
4852 Fix up the unix type getting so that it works with gcc
4854 2007-10-12 Alexander Larsson <alexl@redhat.com>
4857 * gio/glocalfileinfo.c:
4858 Add thumbnail:failed to file info
4860 2007-10-12 Richard Hult <richard@imendio.com>
4862 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4863 optimizing away the get_type call (happens with some gcc versions,
4864 like the one shipped with OS X 10.4).
4866 2007-10-12 Alexander Larsson <alexl@redhat.com>
4868 * gio/glocalfileinfo.c:
4869 (_g_local_file_info_set_attribute):
4870 Fix build if not HAVE_XATTR
4871 Patch from Milosz Derezynski <internalerror@gmail.com>
4873 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4875 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4876 around for review, otherwise I would have asked you before
4879 2007-10-11 Alexander Larsson <alexl@redhat.com>
4882 Add thumbnail:path attribute
4884 * gio/glocalfileinfo.c:
4885 Implement thumbnail:path for local files
4887 2007-10-11 Alexander Larsson <alexl@redhat.com>
4889 * gio/glocalfileinfo.c:
4890 (_g_local_file_info_get):
4891 Avoid duplicate icon names
4893 2007-10-11 Alexander Larsson <alexl@redhat.com>
4895 * gio/gthemedicon.[ch]:
4896 Change g_themed_icon_get_names return type to const
4898 2007-10-10 Alexander Larsson <alexl@redhat.com>
4900 * gio/glocalfileinfo.c:
4901 Don't reference freed memory
4903 2007-10-10 Alexander Larsson <alexl@redhat.com>
4905 * gio/gfileattribute.c:
4908 * gio/glocalfileinfo.c:
4911 2007-10-10 Alexander Larsson <alexl@redhat.com>
4914 Check for NULL icons
4916 * gio/gfileattribute.c:
4917 Don't dup when getting objects (same as for string attributes)
4919 * gio/gicon.c (g_icon_equal):
4920 Safely handle NULLs in equal
4922 2007-10-10 Alexander Larsson <alexl@redhat.com>
4925 Fix c++ compilation issues
4926 Patch from Milosz Derezynski <internalerror@gmail.com>
4928 2007-10-10 Alexander Larsson <alexl@redhat.com>
4930 * programs/gio-monitor-dir.c:
4931 Don't crash if dir monitor not supported.
4933 2007-10-09 Alexander Larsson <alexl@redhat.com>
4936 Add missing G_END_DECLS
4938 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4940 * gio/gfile.c: (g_file_set_display_name),
4941 (g_file_query_settable_attributes),
4942 (g_file_query_writable_namespaces):
4943 Return NULL not FALSE on errors as the return type is a pointer.
4945 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4947 * gio/glocalfile.c: (g_local_file_monitor_file):
4948 Don't call monitor_file on the default interface vtable (which
4949 is NULL) but simply return NULL. The caller, GFile, will create a
4950 polling monitor if NULL is returned.
4952 2007-10-09 Alexander Larsson <alexl@redhat.com>
4956 * gio-unix-2.0.pc.in:
4957 Add gio-unix-2.0.pc if OS_UNIX
4960 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4962 2007-10-09 Alexander Larsson <alexl@redhat.com>
4964 * gio/gunixmounts.[ch]:
4965 Make unix mount monitoring API sane.
4966 Now its just a object with mounts_changed
4967 and mountpoints_changed signals.
4969 * gio/glocaldirectorymonitor.c:
4970 * gio/gunixvolumemonitor.c:
4971 Use new mount monitor api
4973 2007-10-09 Alexander Larsson <alexl@redhat.com>
4975 * gio/gunixmounts.[ch]:
4976 Move guess type into one call for mounts and one for mountpoints
4979 * gio/gunixvolume.c:
4982 2007-10-09 Alexander Larsson <alexl@redhat.com>
4984 * gio/gunixmounts.[ch]:
4985 Remove _ prefix in preparation to make this semi-public
4986 Hide implementation of structs
4988 * gio/glocaldirectorymonitor.c:
4990 * gio/gunixvolume.c:
4991 * gio/gunixvolumemonitor.c:
4992 Update for above API changes
4994 2007-10-08 Alexander Larsson <alexl@redhat.com>
4997 Better polling fallback. This also handles the case where we have
4998 a monitor_file implementation, but it fails.
5000 2007-10-08 Alexander Larsson <alexl@redhat.com>
5004 * gio/gunixmounts.c:
5005 * programs/gio-monitor-dir.c:
5006 * programs/gio-monitor-file.c:
5007 Added cancellable to file monitoring calls.
5008 These are really sync calls and need this.
5010 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5012 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5013 (g_local_vfs_class_init):
5014 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5015 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5017 2007-10-05 Alexander Larsson <alexl@redhat.com>
5019 * gio/gdirectorymonitorprivate.h:
5020 * gio/gfilemonitorprivate.h:
5021 * gio/gdirectorymonitor.h:
5022 * gio/gfilemonitor.h:
5023 Remove *private.h and move to the public API, so that
5024 we can do implementations outside gio (such as in gvfs)
5026 * gio/gdirectorymonitor.c:
5027 * gio/gfilemonitor.c:
5028 * gio/glocaldirectorymonitor.c:
5029 * gio/gpollfilemonitor.c:
5030 * gio/inotify/inotify-helper.c:
5031 * gio/fam/fam-helper.c:
5032 Update to the new header names
5034 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5036 * gio/gdirectorymonitor.c:
5037 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5040 2007-10-04 Alexander Larsson <alexl@redhat.com>
5042 * gio/glocalfileinfo.c (get_access_rights):
5043 Set CAN_TRASH when we can move the file.
5044 We should really also check for a parent trash dir.
5046 2007-10-04 Alexander Larsson <alexl@redhat.com>
5048 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5049 Add can_trash access attribute
5051 2007-10-04 Alexander Larsson <alexl@redhat.com>
5054 (g_local_file_trash):
5055 Create info file first. This is per-spec and allows
5056 us to actually trash directories.
5058 2007-10-02 Alexander Larsson <alexl@redhat.com>
5060 * gio/gdesktopappinfo.c:
5061 Implement the new mime support code.
5062 Always set app as handling mimetype when being set as default for it
5064 2007-10-01 Alexander Larsson <alexl@redhat.com>
5066 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5067 Fix up check for xattrs:
5069 2007-10-01 Alexander Larsson <alexl@redhat.com>
5072 (g_app_info_set_as_default_for_extension):
5073 (g_app_info_add_supports_type):
5074 (g_app_info_can_remove_supports_type):
5075 (g_app_info_remove_supports_type):
5076 Make these fail nicely if not implemented
5078 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5080 * gio/glocalfileoutputstream.c:
5081 * gio/glocalfileoutputstream.h:
5086 * programs/gio-save.c:
5087 Add a GFileCreateFlags argument to operations that can create
5090 2007-10-01 Alexander Larsson <alexl@redhat.com>
5092 * gio/gappinfo.[ch]:
5093 * gio/gdesktopappinfo.c:
5094 Add more (stubbed out) mime API needed for nautilus
5096 2007-10-01 Alexander Larsson <alexl@redhat.com>
5099 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5100 Add g_app_info_set_as_default_for_extension.
5102 * gio/gdesktopappinfo.c:
5103 Dummy for g_app_info_set_as_default_for_extension
5104 Support flags in g_app_info_create_from_commandline
5106 * gio/gwin32appinfo.c:
5108 Update for API changes
5110 * gio/gthemedicon.c:
5111 Properly NULL-terminate list of icon names
5113 2007-09-28 Alexander Larsson <alexl@redhat.com>
5115 * gio/gloadableicon.h:
5116 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5118 2007-09-28 Alexander Larsson <alexl@redhat.com>
5121 Install headers in $includedir/gio-standalone/
5123 * gio-2.0.pc.in: Added.
5124 * gio-standalone.pc.in: Removed.
5127 Renamed pkg-config file to match glib (for future move)
5128 Update to the new include dir
5131 Add more TODO comments
5133 2007-09-28 Alexander Larsson <alexl@redhat.com>
5135 * gio/gdesktopappinfo.[ch]:
5136 Expose new_from_filename
5137 Add getter for is_hidden and handle it better
5139 2007-09-28 Alexander Larsson <alexl@redhat.com>
5141 * gio/gfileinfo.[ch]:
5142 Rename g_file_size_format_for_display to
5143 g_format_file_size_for_display.
5144 Now it doesn't have the g_file prefix, so we
5145 can later move it to glib.
5147 2007-09-28 Alexander Larsson <alexl@redhat.com>
5149 * gio/gappinfo.[ch]:
5150 Add g_app_info_get_id and g_app_info_get_executable.
5151 Make all getters non-reffing
5152 Make g_app_info_launch take GFile arguments.
5153 Add must_support_uris argument to g_app_info_get_default_for_type.
5155 * gio/gwin32appinfo.c:
5156 Update to GAppInfo api changes
5158 * gio/gdesktopappinfo.c:
5159 Update to GAppInfo api changes
5160 Implement supports_xdg_startup_notify
5162 * gio/gfileicon.c (g_file_icon_get_file):
5163 Make getter non-reffing.
5168 2007-09-27 Alexander Larsson <alexl@redhat.com>
5170 * gio/gfileinfo.[ch]:
5171 Add g_file_size_format_for_display helper
5173 2007-09-27 Alexander Larsson <alexl@redhat.com>
5175 * gio/glocalfileinfo.c:
5176 Set UNIX_GID from gid, not from uid
5178 2007-09-27 Alexander Larsson <alexl@redhat.com>
5181 Add g_file_set_attributes_async
5183 2007-09-27 Alexander Larsson <alexl@redhat.com>
5185 * gio/glocalfile.c (g_local_file_set_display_name):
5186 Fix set_display_name to actually rename to the right place.
5187 Use lstat to look for existing files so we don't overwrite
5190 2007-09-26 Alexander Larsson <alexl@redhat.com>
5193 Add g_file_set_display_name_async()
5195 2007-09-26 Alexander Larsson <alexl@redhat.com>
5198 Add load_partial_contents async calls
5201 Make internal function static
5203 2007-09-26 Alexander Larsson <alexl@redhat.com>
5205 * gio/glocalfileinfo.c:
5206 Correctly detect broken symlinks
5208 2007-09-26 Alexander Larsson <alexl@redhat.com>
5210 * gio/gcancellable.c (g_cancellable_cancel):
5211 Allow cancel on NULL cancellable
5213 2007-09-25 Alexander Larsson <alexl@redhat.com>
5215 * gio/gsimpleasyncresult.c:
5216 Don't allocate g_error manually.
5217 Fixes g_slice/g_new mixup crash
5219 2007-09-25 Alexander Larsson <alexl@redhat.com>
5221 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5222 Actually set active_backend.
5223 This means the monitor will be cancelled correctly.
5225 2007-09-25 Alexander Larsson <alexl@redhat.com>
5227 * gio/gdirectorymonitor.c:
5228 Set timeout to NULL when destroying
5230 2007-09-25 Alexander Larsson <alexl@redhat.com>
5233 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5234 that is a better description of the error.
5236 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5238 * gio/gvfs.c: (g_vfs_get_local):
5239 Make the local vfs variable static. The same instance should
5242 2007-09-24 Alexander Larsson <alexl@redhat.com>
5244 * gio/glocalfileinfo.c:
5245 Pass in actual length read into sniffer, not the length
5248 2007-09-21 Alexander Larsson <alexl@redhat.com>
5250 * gio/gfileenumerator.c:
5253 * gio/gfileinputstream.c:
5254 * gio/gfileoutputstream.c:
5255 * gio/ginputstream.c:
5256 * gio/goutputstream.c:
5257 Don't crash if async callbacks are NULL
5259 2007-09-20 Alexander Larsson <alexl@redhat.com>
5262 Add async enumerate_children method and default
5265 2007-09-20 Alexander Larsson <alexl@redhat.com>
5268 Add g_file_contains_file & g_file_get_relative_path, since they
5269 were needed for nautilus.
5270 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5275 Implement new methods
5277 2007-09-17 Alexander Larsson <alexl@redhat.com>
5280 * gio/gfileinputstream.[ch]:
5281 * gio/gfileoutputstream.[ch]:
5283 * gio/glocalfileenumerator.[ch]:
5284 * gio/glocalfileinfo.[ch]:
5285 * gio/glocalfileinputstream.c:
5286 * gio/glocalfileoutputstream.c:
5287 * gio/gpollfilemonitor.c:
5288 * programs/gio-copy.c:
5289 * programs/gio-info.c:
5290 * programs/gio-move.c:
5291 Rename get_file_info to query_info() to make it clearer
5292 that these are not simple getters, but do i/o.
5294 2007-09-17 Alexander Larsson <alexl@redhat.com>
5296 * gio/gdatainputstream.[ch]:
5297 * gio/test-streams.c:
5298 Use _read_XXX instead of _get_XXX for the i/o calls
5301 2007-09-17 Alexander Larsson <alexl@redhat.com>
5304 Added needed stuff to TODO comment
5306 2007-09-17 Alexander Larsson <alexl@redhat.com>
5308 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5309 Don't error out removing the backup copy if it doesn't
5312 2007-09-14 Alexander Larsson <alexl@redhat.com>
5314 * programs/Makefile.am:
5315 * programs/gvfs-*.c:
5317 Renamed apps from gvfs-xxx to gio-xxx.
5319 2007-09-14 Alexander Larsson <alexl@redhat.com>
5322 * gio/gfileoutputstream.[ch]:
5323 * gio/glocalfileoutputstream.c:
5324 * programs/gvfs-save.c:
5325 g_file_output_stream_get_etag doesn't do i/o, so remove
5326 cancellation and error.
5328 2007-09-14 Alexander Larsson <alexl@redhat.com>
5331 Add new_etag output to replace_contents functions
5333 2007-09-14 Alexander Larsson <alexl@redhat.com>
5335 * gio/gfileoutputstream.[ch]:
5336 Add async get_file_info and default implementation
5338 2007-09-14 Alexander Larsson <alexl@redhat.com>
5340 * gio/gfileinputstream.c:
5341 Implement fallback wrapper for async get_file_info
5343 2007-09-14 Alexander Larsson <alexl@redhat.com>
5346 Add etag out argument to load_contents
5351 2007-09-14 Alexander Larsson <alexl@redhat.com>
5353 * gio/gcontenttype.c (looks_like_text):
5354 Whitespace like tab, cr and lf do not make the
5357 2007-09-14 Alexander Larsson <alexl@redhat.com>
5359 * gio/gfileinputstream.[ch]:
5360 Add async get_file_info.
5362 2007-09-13 Alexander Larsson <alexl@redhat.com>
5364 * gio/goutputstream.c (g_output_stream_write_all):
5365 Allow NULL for bytes_written
5367 2007-09-13 Alexander Larsson <alexl@redhat.com>
5369 * gio/gmemoryinputstream.[ch]:
5370 Add accessors for data
5372 2007-09-13 Alexander Larsson <alexl@redhat.com>
5374 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5375 Don't crash if length is NULL