1 2008-08-11 Tor Lillqvist <tml@novell.com>
3 * Makefile.am: Put a list of the platform-dependent .la files in
4 the subdirectories in the platform_deps Make variable, and make
5 libgio-2.0.la depend on that, so that it gets relinked if one of
6 the dependent libraries has changed.
8 2008-08-11 Tor Lillqvist <tml@novell.com>
10 * Makefile.am (platform_libadd): Remove -lwininet which had been
11 added by mistake. We will probably eventually be using WinHTTP,
12 not the older WinInet anyway. (Actually I am working on it.)
14 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
16 Bug 547080 – g_file_copy leaks expected errors
18 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
19 before trying the next fallback routine.
21 2008-08-09 Loïc Minier <lool@dooz.org>
23 Bug 535124 – umask 002 not being applied for new directories, new
24 files get the correct umask
26 * gfile.c (g_file_make_directory)
27 (g_file_make_directory_with_parents): Document ownership and
28 permissions of newly created directories as being the default
31 2008-08-08 Loïc Minier <lool@dooz.org>
33 Bug 535124 – umask 002 not being applied for new directories, new
34 files get the correct umask
36 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
39 2008-08-08 Tor Lillqvist <tml@novell.com>
41 * gwin32mount.c: Remove unused code. Whitespace cleanup.
43 * gwin32volumemonitor.c (get_connected_drives): Put questionable
44 code that didn't actually do anything inside #if 0, and add a
45 comment wondering what the code was supposed to do. This also gets
46 rid of a leftover debugging printout.
48 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
50 * gfileicon.c (g_file_icon_get_property)
51 (g_file_icon_set_property): New functions.
52 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
54 (g_file_icon_new): Use the property (bug #546132).
56 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
58 * gthemedicon.c (g_themed_icon_get_property): Also handle
59 `PROP_USE_DEFAULT_FALLBACKS'.
60 (g_themed_icon_class_init): Make
61 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
63 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
65 Bug 546371 – Improve docs re g_file_monitor
67 * gfilemonitor.c: Mention g_file_monitor() in the docs.
69 2008-08-04 Matthias Clasen <mclasen@redhat.com>
71 * === Released 2.17.6 ===
73 2008-08-04 Matthias Clasen <mclasen@redhat.com>
75 * === Released 2.17.5 ===
77 2008-08-04 Matthias Clasen <mclasen@redhat.com>
79 Bug 546017 – Don't copy attributes when copying a symlink
81 * gfile.c (g_file_copy_attributes): Specify
82 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
83 g_file_set_attributes_from_info. Patch by Christian Kellner
85 2008-08-04 Matthias Clasen <mclasen@redhat.com>
89 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
90 a bit more extensible. Work by Clemens Buss.
92 * gioenums.h: Add GEmblemOrigin.
95 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
97 Bug 546079 – leak in xdgmime
99 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
101 2008-08-03 Tor Lillqvist <tml@novell.com>
103 * win32/gwin32directorymonitor.h
104 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
107 2008-08-03 Tor Lillqvist <tml@novell.com>
109 * win32/gwin32directorymonitor.c
110 (g_win32_directory_monitor_callback): Make prototype match
111 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
112 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
115 (g_win32_directory_monitor_constructor):
116 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
117 names in the GLib API on Windows, so convert to UTF-16 and open
120 2008-08-03 Tor Lillqvist <tml@novell.com>
122 Bug 541036 - Gnumeric crashes when trying to open Desktop or
123 user's folder under Windows
125 * win32/gwin32directorymonitor.c
126 (g_win32_directory_monitor_constructor): Ignore error from
127 CreateFile() when opening directory. Instead of asserting, just
128 store INVALID_HANDLE_VALUE then in
129 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
130 ReadDirectoryChangesW().
131 (g_win32_directory_monitor_cancel): Don't attempt to close
132 directory handle if it is INVALID_HANDLE_VALUE.
134 2008-08-01 Matthias Clasen <mclasen@redhat.com>
136 * gdesktopappinfo.c: Remove debug spew
138 2008-08-01 Hans Breuer <hans@breuer.org>
140 * makefile.msc : add gemblembedicon
142 2008-07-30 Matthias Clasen <mclasen@redhat.com>
144 Bug 545457 – gdmsetup crashed with SIGSEGV in
145 g_unix_mount_guess_should_display()
147 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
148 crash if no mount is found.
150 2008-07-28 Matthias Clasen <mclasen@redhat.com>
152 Bug 545203 – gfile.c: argument is different type.
154 * gfile.c (open_read_async_thread): Pass a GError **
155 to g_file_set_error_literal.
156 Reported by Kazuki Iwamoto
158 2008-07-28 Matthias Clasen <mclasen@redhat.com>
160 Bug 545157 – wrong/no list of "open with" applications for .cc and
163 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
164 Collect all ancestors, not just direct parents. Pointed
165 out by Bastien Nocera
167 2008-07-28 Matthias Clasen <mclasen@redhat.com>
169 * Makefile.am: Install gemblemedicon.h
171 2008-07-28 Matthias Clasen <mclasen@redhat.com>
173 * gemblemedicon.[hc]: Add a GIcon implementation that can
174 add an emblem to another icon.
181 * gfileicon.c: Small documentation additions.
183 2008-07-28 Tor Lillqvist <tml@novell.com>
185 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
188 2008-07-27 Tor Lillqvist <tml@novell.com>
190 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
192 2008-07-24 David Zeuthen <davidz@redhat.com>
196 Also export a g_mount_guess_content_type_sync() function.
198 2008-07-23 Matthias Clasen <mclasen@redhat.com>
200 529694 – SELinux context setting support
202 * gfileinfo.c: Support setting selinux attributes.
203 Patch by Tomas Bzatek
205 2008-07-22 Priit Laes <plaes@plaes.org>
207 Bug 544140 - fam-helper 64-bit issue?
209 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
211 2008-07-21 Matthias Clasen <mclasen@redhat.com>
213 * === Released 2.17.4 ===
215 2008-07-20 Matthias Clasen <mclasen@redhat.com>
217 * gvolumemonitor.[hc]:
222 * gmount.c: Documentation fixes
224 2008-07-19 Matthias Clasen <mclasen@redhat.com>
226 543504 – crash in Epiphany Web Browser: Opening local file
237 * gvolume.c: Register types thread-safely.
238 Patch by Christian Persch
240 2008-07-18 Matthias Clasen <mclasen@redhat.com>
242 * gcontenttype.c: Remove debug spew
244 2008-07-18 Matthias Clasen <mclasen@redhat.com>
246 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
249 * fen/fen-kernel.c: Remove a warning that was causing
250 crashes. Reported by Lin Ma.
252 2008-07-18 Matthias Clasen <mclasen@redhat.com>
254 Bug 543040 – async reading on dummy file will crash on
257 * gfile.c (open_read_async_thread): Cope with read_fn being
258 NULL. Reported by Lin Ma.
260 2008-07-18 Matthias Clasen <mclasen@redhat.com>
263 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
265 2008-07-16 Matthias Clasen <mclasen@redhat.com>
269 * giomodule.c: Rename a chapter id to avoid filename conflict.
271 2008-07-16 Matthias Clasen <mclasen@redhat.com>
273 Bug 540616 – mem leak in filechooser button
275 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
276 the mount entry. Reported by Chrisitan Persch
278 2008-07-16 Matthias Clasen <mclasen@redhat.com>
280 * gfile.c: Small documentation fixes.
282 2008-07-15 Matthias Clasen <mclasen@redhat.com>
284 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
286 2008-07-08 Matthias Clasen <mclasen@redhat.com>
291 * gmount.c: Documentation improvements.
293 2008-07-08 Matthias Clasen <mclasen@redhat.com>
296 * gmount.[hc]: Add g_mount_guess_content_type().
298 2008-07-06 David Zeuthen <davidz@redhat.com>
301 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
302 is needed for easily handling adoption of foreign volumes by
303 out-of-process volume monitors (#541793)
305 2008-07-06 David Zeuthen <davidz@redhat.com>
307 * gvolumemonitor.[ch]:
308 * gunionvolumemonitor.c: Export the eject-button signal on the
309 volume monitor class (#541794).
311 2008-07-06 Matthias Clasen <mclasen@redhat.com>
313 * gappinfo.c: More doc tweaks
315 2008-07-05 Matthias Clasen <mclasen@redhat.com>
317 * gappinfo.c: Clarify some docs
319 2008-07-03 Matthias Clasen <mclasen@redhat.com>
321 * gdesktopappinfo.c: Fix a stupid mistake.
323 2008-07-02 Matthias Clasen <mclasen@redhat.com>
325 * === Released 2.17.3 ===
327 2008-07-02 Matthias Clasen <mclasen@redhat.com>
329 * gfilemonitor.c: Fix the build.
331 2008-07-02 Matthias Clasen <mclasen@redhat.com>
333 Bug 536160 – Add g_file_monitor()
336 * gfile.[hc]: Add g_file_monitor which can return either
337 a file or a directory monitor. Proposed by Behdad Esfahbod
339 2008-07-02 Matthias Clasen <mclasen@redhat.com>
341 536733 – gio build failure on Irix
343 * glocalfile.c: Use a configure check for structfs.f_bavail.
345 2008-07-02 Matthias Clasen <mclasen@redhat.com>
347 Bug 534639 – add g_desktop_app_info_new_from_keyfile
350 * gdesktopappinfo.[hc]: Add a function to create a
351 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
353 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
355 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
357 2008-07-01 Matthias Clasen <mclasen@redhat.com>
359 * gunixmounts.c: Fix a doc typo.
361 2008-07-01 Cody Russell <bratsche@gnome.org>
363 * gio/gcontenttype.c:
364 * gio/gwin32appinfo.c:
365 * gio/gwin32volumemonitor.c:
366 * gio/gwin32mount.c: Fixed some include problems.
368 2008-07-01 Cody Russell <bratsche@gnome.org>
372 Moved all relevant typedefs into these files.
375 Updated wrt added files.
377 Split types into separate file for easier maintainership. (#538564)
379 2008-06-30 Matthias Clasen <mclasen@redhat.com>
381 Bug 540331 – g_file_append_to () documentation: can return NULL
383 * gfile.c (g_file_append_to): Clarify docs.
386 2008-06-30 Matthias Clasen <mclasen@redhat.com>
388 Bug 539090 – g_content_type_from_mime_type() should unalias
390 * gcontentype.c (g_content_type_from_mime_type): Unalias.
391 Patch by Markus Bergman
393 2008-06-30 Matthias Clasen <mclasen@redhat.com>
395 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
398 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
399 on ppc and alpha. Reported by Mart Raudsepp
401 2008-06-29 Matthias Clasen <mclasen@redhat.com>
404 * tests/memory-output-stream.c: Add some tests for
407 2008-06-29 Matthias Clasen <mclasen@redhat.com>
409 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
412 * gmemoryoutputstream.c (array_resize): Handle truncation to
413 zero correctly. Reported by Akira Tagoh
415 2008-06-29 Matthias Clasen <mclasen@redhat.com>
417 * gmemoryoutputstream.c: Trivial doc fixes
419 2008-06-29 Matthias Clasen <mclasen@redhat.com>
421 Bug 540802 – g_list_prepend doesn't concat lists
423 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
424 one list to another. Pointed out by Jan Arne Petersen
426 2008-06-28 Michael Natterer <mitch@imendio.com>
428 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
430 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
432 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
433 to avoid problems with partial icon themes.
435 2008-06-17 Hans Breuer <hans@breuer.org>
437 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
438 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
439 access again on win32, see bug #538127
440 * giomodule.c : ensure GWin32VolumeMonitor is registered
441 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
442 * Makefile.am makefile.msc : updated
444 2008-06-16 Hans Breuer <hans@breuer.org>
446 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
447 and initialization in one step avoids c99ism
449 2008-06-16 Christian Persch <chpe@gnome.org>
452 * gio/gbufferedinputstream.c
454 * gio/gdatainputstream.c
455 * gio/gdesktopappinfo.c
457 * gio/gfileenumerator.c
458 * gio/gfileinputstream.c
459 * gio/gfileoutputstream.c
461 * gio/glocaldirectorymonitor.c
463 * gio/glocalfileenumerator.c
464 * gio/glocalfileinfo.c
465 * gio/glocalfilemonitor.c
466 * gio/glocalfileoutputstream.c
467 * gio/gmemoryinputstream.c
468 * gio/gmemoryoutputstream.c
469 * gio/goutputstream.c
470 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
473 2008-06-16 Tor Lillqvist <tml@novell.com>
475 Bug 538362 - Get Win32 icons back in the file chooser
477 * gcontenttype.c (g_content_type_get_icon): Look up the icon
478 corresponding to a file extension in the Registry. Patch by Hans
480 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
482 2008-06-16 Tor Lillqvist <tml@novell.com>
484 Patches by Hans Breuer:
486 * glocalfile.c (is_xp_or_later): Handle compiling against older
487 SDK headers with missing VerifyVersionInfo(). Conditioned on
488 _MSC_VER, but should probably use some better test.
489 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
490 uninitialised statfs_result variable on Win32.
492 2008-06-16 Michael Natterer <mitch@imendio.com>
494 * *.c: chain up unconditionally in finalize() and dispose(). Also
495 don't dereference these function pointers when calling them since
496 that has no meaning at all.
498 2008-06-16 Ross Burton <ross@burtonini.com>
501 Remove check for dispose implementation as it annoys Emmanuele.
503 2008-06-16 Ross Burton <ross@burtonini.com>
505 Bug 536252 – GFileEnumerator should allow access to the containing
511 Add g_file_enumerator_get_container() and a container writeable
512 construct-only property. Also shuffle around typedefs to make it
515 * glocalfileenumerator.c:
516 * glocalfileenumerator.h:
518 Instead of a string filename take a GFile in the constructor and
519 use it to set the container property.
524 2008-06-16 Matthias Clasen <mclasen@redhat.com>
526 * gfile.c: Make includes more uniform
528 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
530 * tests/live-g-file.c (sample_struct):
531 Use less fancy unicode filenames, so the test doesn't fail
532 on Mac OS X (#531476).
534 2008-06-12 Matthias Clasen <mclasen@redhat.com>
536 * === Released 2.17.2 ===
538 2008-06-12 Matthias Clasen <mclasen@redhat.com>
540 * === Released 2.17.1 ===
542 2008-06-11 A. Walton <awalton@gnome.org>
544 * tests/g-file.c (test_g_file_new_null):
545 Fix broken test case.
547 2008-06-11 Matthias Clasen <mclasen@redhat.com>
549 * pltcheck.sh: We use g_clear_error now.
551 2008-06-11 Matthias Clasen <mclasen@redhat.com>
553 * glocalfile.c (g_local_file_enumerate_children): Revert
554 an unintended change.
556 2008-06-11 Matthias Clasen <mclasen@redhat.com>
558 * gfile.c (g_file_replace_contents): Don't unref before the last use.
560 2008-06-10 Matthias Clasen <mclasen@redhat.com>
562 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
565 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
566 as icon for the desktop directory, also make user-home and
567 user-desktop the preferred icons.
569 2008-06-10 Matthias Clasen <mclasen@redhat.com>
572 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
573 to add a name to the front of the list.
575 2008-06-10 Matthias Clasen <mclasen@redhat.com>
577 Bug 537392 – Additional colon in xattr name
579 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
580 too. Reported by Alessandro Morandi
582 2008-06-10 Matthias Clasen <mclasen@redhat.com>
584 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
587 * glocalfile.c (get_fs_type): Add afs and autofs.
588 Patch by Danny Baumann.
590 2008-06-10 Matthias Clasen <mclasen@redhat.com>
592 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
594 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
595 is no parent. (Owen Taylor, patch by Christian Neumair)
597 2008-06-10 Paolo Borelli <pborelli@katamail.com>
599 * gfile.c (g_file_replace_contents): do not leak the output stream.
601 2008-06-10 Michael Natterer <mitch@imendio.com>
603 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
604 uninitialized memory as array index.
606 2008-06-10 Tor Lillqvist <tml@novell.com>
608 * gcontenttype.c (g_content_type_can_be_executable)
609 (g_content_type_get_icon) [Win32]: Add TODO comments.
611 2008-06-09 Matthias Clasen <mclasen@redhat.com>
613 * xdgmime/Makefile.am: Fix the build
615 2008-06-09 Matthias Clasen <mclasen@redhat.com>
617 * gcontenttype.c (g_content_type_get_icon): Use icons specified
618 in the shared mime database, if available.
620 * xdgmime/*: Sync with upstream. This brings support for
621 glob weights, generic icons, and changes the cache format to
624 2008-05-28 Michael Natterer <mitch@imendio.com>
626 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
627 the global CPPFLAGS now.
629 * tests/data-input-stream.c
630 * tests/data-output-stream.c
631 * tests/g-file-info.c
633 * tests/live-g-file.c
634 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
636 2008-05-27 Matthias Clasen <mclasen@redhat.com>
638 * === Released 2.17.0 ===
640 * tests/live-g-file.c: Clean up after the tests, so make distcheck
641 doesn't complain about leftover files.
643 2008-05-27 simon.zheng <simon.zheng@sun.com>
645 * glocalfile.c: (g_local_file_query_filesystem_info):
646 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
648 2008-05-26 Michael Natterer <mitch@imendio.com>
650 * gmemoryoutputstream.h: declare
651 g_memory_output_stream_get_data_size().
653 2008-05-26 Matthias Clasen <mclasen@redhat.com>
655 * tests/*: Make tests work
657 2008-05-26 Matthias Clasen <mclasen@redhat.com>
659 * gio.symbols: Add g_memory_output_stream_get_data_size.
661 2008-05-25 Ross Burton <ross@burtonini.com>
664 Fix typo in error message (#534764).
666 2008-05-25 Ross Burton <ross@burtonini.com>
669 Fix circular dependency loop for gioenumtypes.h (#534759).
671 2008-05-19 Hans Breuer <hans@breuer.org>
673 * Makefile.am : EXTRA_DIST += makefile.msc
675 2008-05-17 Matthias Clasen <mclasen@redhat.com>
678 * gcontenttype.c: (g_content_type_from_mime_type):
679 New function to create a content type from a mime type. (#527175,
682 2008-05-17 Matthias Clasen <mclasen@redhat.com>
684 Bug 532965 – Should not return filesystem::free for certain file systems
686 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
687 free space for ncpfs.
689 2008-05-17 Matthias Clasen <mclasen@redhat.com>
691 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
693 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
694 st_dev might be zero.
696 2008-05-16 Tor Lillqvist <tml@novell.com>
698 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
699 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
701 2008-05-13 Bastien Nocera <hadess@hadess.net>
703 * gfile.c (has_valid_scheme): A URI scheme must start with a
704 letter, even if later more characters are allowed (#532852)
706 2008-05-05 Michael Natterer <mitch@imendio.com>
708 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
709 code from being checked in that breaks the build of applications
710 which use G_DISABLE_SINGLE_INCLUDES.
712 * makegioalias.pl: make the alias file include "glib.h" instead of
715 * gio.symbols: whitespace change to force regeneration of the
716 alias file after above script change.
718 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
720 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
722 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
724 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
726 2008-04-28 David Zeuthen <davidz@redhat.com>
728 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
729 displaying mounts in a subdirectory not accessible to the
732 2008-04-22 Michael Natterer <mitch@imendio.com>
734 * Makefile.am: fix library versioning (it was 0.0.0).
736 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
738 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
739 Default disable all loggings.
740 * fen/fen-kernel.c: (printevent), (port_add_kevent),
741 (port_fetch_event_cb): Fixed two macro nits.
743 2008-04-16 Matthias Clasen <mclasen@redhat.com>
745 * xdgmime/xdgmime.c: Rework the timestamp checking code
746 to protect against duplicate directories in XDG_DATA_DIRS.
747 Fixes fd.o bug 12513, reported by Joe Shaw.
749 2008-04-16 Matthias Clasen <mclasen@redhat.com>
751 Partically revert the last commit after realizing that
752 xdg_mime_media_type_equal doesn't have to init at all.
755 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
757 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
759 2008-04-16 Matthias Clasen <mclasen@redhat.com>
761 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
762 reported by Joe Shaw and Federico Mena Quintero.
764 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
765 (xdg_mime_media_type_equal): Turn into a wrapper around the
768 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
769 functions throughout.
771 2008-04-16 Michael Meeks <michael.meeks@novell.com>
773 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
774 tolerate an empty TryExec= line without failing; nautilus used
775 to create launchers with these in previous versions. Fixes #528433
777 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
779 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
780 after name. Fixes #527132.
782 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
784 * gfile.c: (g_file_replace):
787 2008-04-07 Matthias Clasen <mclasen@redhat.com>
789 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
791 * gfile.c (file_copy_fallback): Fix the argument order. Patch
792 by Christian Kellner.
794 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
796 * gunixmounts.c: (g_unix_mount_guess_should_display):
797 Don't list the user directory as a mount, fix potential issue
798 when other users have a similar naming and don't special case the
799 gvfs mounts there since that's not required (#525866)
801 2008-03-31 Alexander Larsson <alexl@redhat.com>
803 * glocalfile.c (get_parent):
806 2008-03-31 A. Walton <awalton@svn.gnome.org>
808 * gfile.c (g_file_query_file_type):
809 Always return a GFileType enum value (#520715).
811 2008-03-31 Alexander Larsson <alexl@redhat.com>
813 * glocalfileenumerator.c:
814 Read readdir() info in chunks (of 1000) and sort
815 the chunks by inode before stat:ing.
816 This is a 20% performance increase in testing
817 gvfs-ls on /usr/bin with cold cache.
819 2008-03-31 Alexander Larsson <alexl@redhat.com>
821 * gmemoryoutputstream.c:
822 Clarify docs for g_memory_output_stream_get_size.
823 Add g_memory_output_stream_get_data_size.
825 2008-03-30 Matthias Clasen <mclasen@redhat.com>
829 * gfile.h: Add g_file_query_file_type convenience function
830 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
832 2008-03-30 Matthias Clasen <mclasen@redhat.com>
835 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
837 2008-03-28 A. Walton <awalton@svn.gnome.org>
839 * giomodule.c (_g_io_modules_ensure_loaded):
840 Adds GIO_EXTRA_MODULES environment variable support, closing bug
843 2008-03-28 Alexander Larsson <alexl@redhat.com>
846 (copy_stream_with_progress):
849 2008-03-28 Alexander Larsson <alexl@redhat.com>
852 (copy_stream_with_progress):
853 (file_copy_fallback):
854 Fallback to g_file_query_info for source size
855 if g_file_input_stream_query_info fails. (#524579)
857 2008-03-28 Alexander Larsson <alexl@redhat.com>
859 * glocalfile.c (g_local_file_move):
860 Reuse old string instead of adding new one.
862 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
864 * fen/*.[hc]: still copyright issue. I hate copyright.
866 2008-03-27 Alexander Larsson <alexl@redhat.com>
868 * glocalfile.c (g_local_file_move):
869 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
870 file over directory. This is according to the docs and what the move via
871 copy+remove fallback does.
873 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
875 * fen/*.[hc]: Updated copyright.
877 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
879 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
881 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
883 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
884 not emit attribute changed events when optimizing changed events.
885 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
888 2008-03-19 Matthias Clasen <mclasen@redhat.com>
890 * gmountoperation.[hc]: Small documentation additions
892 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
894 * gunixmounts.c: (guess_mount_type):
895 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
897 2008-03-19 Alexander Larsson <alexl@redhat.com>
900 (copy_stream_with_progress):
901 Bump block side for copy to 64k to minimize
902 overhead for low latency links. (#523015)
904 2008-03-16 Tor Lillqvist <tml@novell.com>
906 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
907 depend on gio.def on Windows.
909 2008-03-12 David Zeuthen <davidz@redhat.com>
913 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
915 2008-03-14 Alexander Larsson <alexl@redhat.com>
919 Avoid redudant tests (#521851)
920 Patch from Josselin Mouette
922 2008-03-14 Alexander Larsson <alexl@redhat.com>
925 (g_file_monitor_is_cancelled):
926 Fix C89 issue (#521672)
927 Patch from Jens Granseuer
929 2008-03-14 Alexander Larsson <alexl@redhat.com>
931 * fam/fam-helper.[ch]:
933 Shut down fam (including removing fam GSource) when
934 module is unloaded (#521513)
935 Patch from Joe Marcus Clarke
937 2008-03-14 Alexander Larsson <alexl@redhat.com>
940 (_g_io_modules_ensure_loaded):
943 2008-03-14 Alexander Larsson <alexl@redhat.com>
946 (g_local_file_query_filesystem_info):
947 Use right define name for f_fstypename member check
949 2008-03-14 Alexander Larsson <alexl@redhat.com>
952 * fen/Makefile.am: Added.
953 * fen/fen-data.[ch]: Added.
954 * fen/fen-dump.[ch]: Added.
955 * fen/fen-helper.[ch]: Added.
956 * fen/fen-kernel.[ch]: Added.
957 * fen/fen-missing.[ch]: Added.
958 * fen/fen-node.[ch]: Added.
959 * fen/fen-sub.[ch]: Added.
960 * fen/gfendirectorymonitor.[ch]: Added.
961 * fen/gfenfilemonitor.[ch]: Added.
963 Added Solaris FEN file notification backend.
964 Patch from Lin Ma <Lin.Ma@Sun.COM>
966 2008-03-13 Tor Lillqvist <tml@novell.com>
968 * Makefile.am: Actually use the gio.def file when linking the
969 library on Windows. Produce .lib library for Microsoft's toolchain
970 when possible. Install the .lib and .def file like for the other
973 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
975 * tests/live-g-file.c:
976 Include live-g-file in standard set of tests, making a temporary
977 directory in source structure.
979 Clean target directory before the tests (write mode only)
981 2008-03-12 Tor Lillqvist <tml@novell.com>
983 Bug 517419 - gio win32 directory monitor
984 Implementation by Vlad Grecescu.
987 * win32/gwin32directorymonitor.h
988 * win32/gwin32directorymonitor.c: New files.
990 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
992 * Makefile.am: Add the win32 subdirectory.
994 2008-03-12 Tor Lillqvist <tml@novell.com>
996 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
997 normal struct stat on Unix but struct _stati64 on Windows to have
998 access to 64-bit file size information. Use that instead of struct
999 stat in the functions declared here in this private header.
1001 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1002 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1003 warnings about unused functions and variables. Don't set
1004 meaningless attributes like inode numbers on Windows.
1006 2008-03-12 Benjamin Otte <otte@gnome.org>
1009 trim whitespace so gtk-doc groks the function name
1011 2008-03-12 Tor Lillqvist <tml@novell.com>
1013 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1014 returning FALSE, on Win32.
1016 2008-03-11 Alexander Larsson <alexl@redhat.com>
1019 * glocalfileinfo.[ch]:
1020 Correctly implement can_trash by actually
1021 looking for a trash dir, not just assuming
1024 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1026 * === Released 2.16.1 ===
1028 2008-03-11 Alexander Larsson <alexl@redhat.com>
1031 Fix crashes in new constructor and properties code
1033 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1035 * gfile.c: Minor spelling correction in documentation:
1036 existance -> existence.
1038 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1040 * === Released 2.16.0 ===
1042 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1044 * gio.symbols: Remove g_file_contains_file here, too.
1046 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1048 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1049 Samuel Cormier-Iijima)
1051 2008-03-08 Tor Lillqvist <tml@novell.com>
1053 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1056 2008-03-07 Alexander Larsson <alexl@redhat.com>
1059 (g_local_file_query_filesystem_info):
1060 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1061 Patch from Jasper Lievisse Adriaanse
1063 2008-03-06 Tor Lillqvist <tml@novell.com>
1065 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1066 comments for the *_USEC attributes.
1068 2008-03-06 Alexander Larsson <alexl@redhat.com>
1070 * gfile.c (g_file_query_exists):
1071 Add g_return_val_if_fail check (#520700)
1073 2008-03-06 Alexander Larsson <alexl@redhat.com>
1075 * gdesktopappinfo.c:
1078 * gunionvolumemonitor.c:
1081 * tests/live-g-file.c:
1082 * xdgmime/xdgmimecache.c:
1083 Fix sparse warnings (#519489)
1085 2008-03-05 Alexander Larsson <alexl@redhat.com>
1088 Make cancellation threadsafe (i.e.
1089 guarantee its only done once, and always
1092 * glocaldirectorymonitor.c:
1093 Make sure we the monitor lives while the
1094 mounts_changed callback is being called (#520484)
1096 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1098 * gbufferedinputstream.c: Fix typo in parameter
1101 2008-03-04 Alexander Larsson <alexl@redhat.com>
1104 Remove deprecated symbols we kept for one release.
1106 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1109 * goutputstream.c: Tiny documentation corrections.
1111 2008-03-03 Alexander Larsson <alexl@redhat.com>
1113 * gunionvolumemonitor.c:
1115 Fix the adopt_orphan_mount vfunc to take a
1116 volume_monitor reference in an ABI compat way.
1117 This change is not API compat, but the added
1118 arg is not used in the only user of this vfunc, so
1119 all we get is a harmless warning in gvfs (#520169)
1121 2008-03-01 Benjamin Otte <otte@gnome.org>
1124 clarify docs for g_file_delete().
1126 2008-02-29 Alexander Larsson <alexl@redhat.com>
1130 Make sure empty files get text/plain type (#518720)
1132 2008-02-27 Alexander Larsson <alexl@redhat.com>
1138 (g_unix_volume_mount):
1139 Add missing GMountMountFlags argument
1141 2008-02-26 Alexander Larsson <alexl@redhat.com>
1144 (g_local_file_delete):
1145 Handle filesystems (like ntfs-3g) that return EEXIST instead
1146 of ENOTEMPTY (#518816)
1148 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1150 * === Released 2.15.6 ===
1152 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1154 * gfile.c (g_file_find_enclosing_mount):
1155 * ginputstream.c (g_input_stream_set_pending):
1156 * glocalfile.c (g_local_file_find_enclosing_mount):
1157 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1158 * goutputstream.c (g_output_stream_set_pending):
1160 Fixup translator comments (#518578).
1162 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1164 * gfile.c (g_file_find_enclosing_mount):
1166 * glocalfile.c (g_local_file_find_enclosing_mount):
1169 Fix a few typos in translator comments and documentation.
1171 2008-02-25 Alexander Larsson <alexl@redhat.com>
1178 Add translator comments (#518578)
1180 2008-02-25 Alexander Larsson <alexl@redhat.com>
1183 Reintroduce g_file_contains_file, keep around for one
1184 unstable release cycle to avoid crashing to many apps.
1185 Make sure to delete after release.
1187 2008-02-25 Alexander Larsson <alexl@redhat.com>
1190 Remove deprecated g_file_contains_file.
1192 2008-02-25 Alexander Larsson <alexl@redhat.com>
1195 Emit actual change signals in an idle handler.
1196 This avoids reentrance and locking problems in
1197 the file notification backends.
1199 2008-02-25 Alexander Larsson <alexl@redhat.com>
1202 (g_unix_mount_guess_should_display):
1203 Remove type guessing, instead just display
1204 mounts in /media and in ~/.
1206 2008-02-25 Alexander Larsson <alexl@redhat.com>
1209 Make new strings reuse old ones.
1211 2008-02-25 Alexander Larsson <alexl@redhat.com>
1214 Implement trashing and filesystem::readonly for win32 (#517235)
1215 Patch from Yevgen Muntyan
1217 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1219 * gfileinfo.h: Documentation fixes.
1221 2008-02-22 Alexander Larsson <alexl@redhat.com>
1223 * gcontenttype.c (g_content_type_get_icon):
1224 Look at old-style gnome mime icon names too, as many
1225 have not moved to the new style.
1227 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1229 * *.c: Correct the @include in for section docs.
1231 2008-02-21 David Zeuthen <davidz@redhat.com>
1233 * glocalfileinfo.c: (_g_local_file_info_get):
1235 (g_content_type_get_icon): Implement this function by
1236 moving bits from glocalfileinfo.c
1237 (g_content_type_get_description): Unalias before getting
1238 description (#517687)
1240 * gfile.c: (g_file_class_init),
1241 (g_file_query_filesystem_info_async),
1242 (g_file_query_filesystem_info_finish),
1243 (query_filesystem_info_data_free),
1244 (query_filesystem_info_async_thread),
1245 (g_file_real_query_filesystem_info_async),
1246 (g_file_real_query_filesystem_info_finish):
1247 * gfile.h: Implement async version of
1248 g_file_query_filesystem_info()
1250 * gfileinfo.h: Add new attributes for filesystem::use-preview
1252 * gio.symbols: Update
1254 * gthemedicon.c: (g_themed_icon_append_name):
1255 * gthemedicon.h: Add new new convenience function.
1257 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1258 (get_mounts), (get_volumes), (get_connected_drives),
1259 (get_volume_for_uuid), (get_mount_for_uuid),
1260 (g_union_volume_monitor_init), (populate_union_monitor),
1261 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1262 (g_volume_monitor_adopt_orphan_mount):
1264 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1265 monitor implementations to call into the main volume monitor. Also
1266 separate object initialization and volume monitor initialization
1267 such that non-native volume monitors can properly adopt their
1270 2008-02-21 Alexander Larsson <alexl@redhat.com>
1275 2008-02-21 Alexander Larsson <alexl@redhat.com>
1278 Add more documentation about how GFiles work (from #517086)
1280 2008-02-21 Alexander Larsson <alexl@redhat.com>
1284 Add new g_file_has_prefix that does the same as g_file_contains_file.
1285 Deprecate g_file_contains_file and add a macro that converts
1286 it to g_file_has_prefix.
1287 The reason for this change is that the contains_file() name seems to
1288 imply that this does more work than what it does, but its really only
1289 a name match (from #517086)
1294 Update to match the above change.
1296 2008-02-20 Benjamin Otte <otte@gnome.org>
1298 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1299 (g_file_eject_mountable):
1300 even more cases of not returning in error path
1302 2008-02-20 Benjamin Otte <otte@gnome.org>
1304 * gfile.c: (g_file_mount_mountable):
1305 return from function in error path.
1307 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1310 Remove trailing coma in GMountMountFlags struct
1312 2008-02-18 Alexander Larsson <alexl@redhat.com>
1316 * glocalfileoutputstream.c:
1317 Use g_unlink/g_rename instead of unlink/rename;
1318 do not pass raw filenames to g_set_error. (#517239)
1319 Patch from Yevgen Muntyan.
1321 2008-02-18 Alexander Larsson <alexl@redhat.com>
1324 * glocalfileoutputstream.c:
1325 Open files with O_BINARY on windows. (#517140)
1327 2008-02-14 Alexander Larsson <alexl@redhat.com>
1329 * glocalfileoutputstream.c:
1330 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1332 2008-02-14 Alexander Larsson <alexl@redhat.com>
1335 Copy permissions with file on copy (#514084)
1336 This is what cp does and makes sure e.g. the
1337 exec permissions are kept.
1338 Its kinda weird in that it keeps the permission bits
1339 the same while the uid and gid are different. However
1340 the new uid is the user so its not a security issue,
1341 and I've heard no complaints about cp on this issue.
1343 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1345 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1347 2008-02-13 Alexander Larsson <alexl@redhat.com>
1349 * inotify/inotify-path.c:
1350 Define IN_ONLYDIR if not in header (#515346)
1352 2008-02-12 Alexander Larsson <alexl@redhat.com>
1354 * tests/live-g-file.c:
1357 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1359 * === Released 2.15.5 ===
1361 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1363 * gio.symbols: Add g_mount_mount_flags_get_type.
1365 2008-02-11 Alexander Larsson <alexl@redhat.com>
1368 (g_file_info_set_attribute_mask):
1369 (g_file_attribute_matcher_matches_id):
1370 Correctly handle NULL GAttributeMatcher meaning
1371 matches nothing. (Fixes #513492)
1373 2008-02-11 Alexander Larsson <alexl@redhat.com>
1378 Added GMountMountFlags enum and added a flags
1379 argument to all mount calls.
1381 This is an API/ABI change for future extensibility,
1382 as I think we will need at least an
1383 inhibit-autorun flag (the panel needs this).
1384 There are no flags defined yet though.
1386 2008-02-11 Alexander Larsson <alexl@redhat.com>
1389 Added new standard::description attribute.
1390 Requested by Vincent, and useful for both
1393 2008-02-11 Alexander Larsson <alexl@redhat.com>
1395 * gdesktopappinfo.c:
1398 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1400 * *.c: Documentation additions
1402 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1404 * gappinfo.h: Formatting cleanup
1405 * gappinfo.c: Fix up docs.
1407 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1409 * gunixmounts.c: Consistently use getmntent_r() and fall
1410 back to getmntent(). (#515492)
1412 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1414 * gbufferedinputstream.c:
1416 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1418 * tests/data-input-stream.c:
1419 * tests/data-output-stream.c: Portability fixes.
1421 2008-02-08 Alexander Larsson <alexl@redhat.com>
1426 Add g_volume_should_automount.
1429 2008-02-07 Tor Lillqvist <tml@novell.com>
1431 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1432 Win32, too Unix-specific.
1434 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1436 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1437 a local plt if the compiler doesn't support what we want. Bug #514702
1439 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1441 reviewed by: <delete if not using a buddy>
1444 * gunixinputstream.c:
1445 * gunixoutputstream.c:
1447 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1449 * tests/Makefile.am:
1450 * tests/live-g-file.c:
1451 * tests/live-g-file.txt:
1452 New GIO testing module working over real data
1454 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1456 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1457 Fallback to rename() if link() is not available
1458 (when no support on target filesystem)
1460 2008-02-06 Michael Natterer <mitch@imendio.com>
1462 * gfileinfo.c (g_file_info_get_icon): replace
1463 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1465 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1467 * gfile.c (g_file_create):
1468 Documentation update of error codes
1470 2008-02-06 Alexander Larsson <alexl@redhat.com>
1472 * gdesktopappinfo.c:
1473 Update to use both mimeapps.list and
1474 defaults.list as discussed on xdg list.
1476 2008-02-06 Benjamin Otte <otte@gnome.org>
1479 * gfilenamecompleter.c:
1480 Fix some typos in the documentation.
1482 2008-02-06 Alexander Larsson <alexl@redhat.com>
1484 * glocalfile.c (g_local_file_trash):
1485 Don't succeed with trash if newly created
1486 trash dir has the wrong owner. (#514696)
1488 2008-02-05 Alexander Larsson <alexl@redhat.com>
1490 * glocalfile.c (g_local_file_move):
1491 Don't spew warnings when destination is not
1494 2008-02-03 Hans Breuer <hans@breuer.org>
1496 * makefile.msc : update
1498 2008-02-01 Michael Natterer <mitch@imendio.com>
1500 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1501 return value of xdg_mime_list_mime_parents() to a variable of the
1504 2008-02-01 Alexander Larsson <alexl@redhat.com>
1506 * gappinfo.c (g_app_info_launch_uris):
1507 Actually call the launch_uris method, not
1510 2008-02-01 Alexander Larsson <alexl@redhat.com>
1512 * gdesktopappinfo.c (g_desktop_app_info_equal):
1513 Ensure appinfos with no id but same pointer value
1516 2008-02-01 Alexander Larsson <alexl@redhat.com>
1518 * gappinfo.c (g_app_info_launch_default_for_uri):
1521 2008-02-01 Alexander Larsson <alexl@redhat.com>
1525 Add g_app_info_launch_default_for_uri utility
1528 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1530 * gdesktopappinfo.c:
1531 Doc fix for g_app_info_get_default_for_uri_scheme ()
1534 2008-01-30 Alexander Larsson <alexl@redhat.com>
1537 Add doc comment about uris vs GFiles to
1540 * gdesktopappinfo.c:
1541 Ensure uris passed to g_app_info_launch_uris()
1542 are not roundtriped through GFile (as that
1543 may be slightly destructive for e.g. mailto: links)
1545 2008-01-30 Alexander Larsson <alexl@redhat.com>
1547 * tests/data-input-stream.c:
1548 * tests/data-output-stream.c:
1549 C89 fixes from Jens Granseuer (#512849)
1551 2008-01-30 Alexander Larsson <alexl@redhat.com>
1554 Fix gamin/fam difference build issue. (#509419)
1556 2008-01-29 Alexander Larsson <alexl@redhat.com>
1559 * gdesktopappinfo.c:
1560 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1562 2008-01-29 Alexander Larsson <alexl@redhat.com>
1564 * gdesktopappinfo.c:
1565 * gdesktopappinfo.h:
1566 giomodule-priv.h include moved to .c file.
1568 2008-01-29 Alexander Larsson <alexl@redhat.com>
1570 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1571 Remove unused prio/name fields.
1573 2008-01-29 Alexander Larsson <alexl@redhat.com>
1575 * gcontenttype.c (looks_like_text):
1576 Don't treat whitespace as control chars.
1578 2008-01-29 Alexander Larsson <alexl@redhat.com>
1580 * gdesktopappinfo.c:
1581 Lazily create the desktop files for appinfos created
1582 by g_app_info_create_from_commandline() when needed
1583 for mime associations. This allows run-time use
1584 of GAppInfo object without creating unnecessary
1587 2008-01-29 Alexander Larsson <alexl@redhat.com>
1590 Added new symbols to gio.symbols
1592 2008-01-29 Alexander Larsson <alexl@redhat.com>
1595 Add g_file_query_default_handler utility to easily look up
1596 the GAppInfo that handles a file.
1598 * gdesktopappinfo.[ch]:
1600 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1603 Remove unused function
1605 2008-01-29 Alexander Larsson <alexl@redhat.com>
1607 * gfileenumerator.c:
1608 Mention need to free returned value in
1609 g_file_enumerator_next_files_finish docs.
1610 Fix leak if g_file_enumerator_next_files_finish()
1613 2008-01-29 Alexander Larsson <alexl@redhat.com>
1616 (_g_unix_content_type_get_parents):
1617 Use list_parents, not get_parents from xdgmime, because
1618 the later doesn't use the cache.
1620 * xdgmime/xdgmimecache.c:
1621 (_xdg_mime_cache_list_mime_parents):
1622 Don't list the same type as parent multiple times.
1624 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1626 * === Released 2.15.4 ===
1628 2008-01-28 Alexander Larsson <alexl@redhat.com>
1631 Register local vfs with prio 0.
1634 Remove old name and prio class members
1636 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1638 * tests/g-file.c: Disable some tests that are failing in
1639 the absence of a http backend.
1641 2008-01-28 Alexander Larsson <alexl@redhat.com>
1645 Add registration hooks for extension points.
1646 Register the gio extension points.
1648 * fam/gfamdirectorymonitor.c:
1649 * fam/gfamfilemonitor.c:
1650 * glocaldirectorymonitor.[ch]:
1651 * glocalfilemonitor.[ch]:
1652 * gnativevolumemonitor.h:
1653 * gunionvolumemonitor.c:
1654 * gunixvolumemonitor.c:
1657 * inotify/ginotifydirectorymonitor.c:
1658 * inotify/ginotifyfilemonitor.c:
1659 Use the extension points registration instead
1660 of g_type_children().
1662 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1665 * gvolume.[hc]: Document new API.
1667 * gfile.c (g_file_copy_async): Fix docs
1669 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1671 * gbufferedinputstream.c:
1673 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1676 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1678 * glocalfile.c: Avoid trivial differences in translatable strings.
1680 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1682 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1683 build with gcc 3.4 (#509419)
1685 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1687 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1688 (#509994, Murray Cumming)
1690 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1692 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1693 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1694 this allows big jobs to be executed in chunks, instead of blocking
1695 the main loop for a long time.
1697 * gsimpleasyncresult.c:
1698 * giofile.c: Adapt callers.
1700 2008-01-25 Alexander Larsson <alexl@redhat.com>
1702 * gdesktopappinfo.c:
1703 Implement changes discussed on xdg list.
1704 Now we can add supported mimetypes by just using defaults.list
1705 We can also remove associations in defaults.list.
1707 2008-01-25 Alexander Larsson <alexl@redhat.com>
1709 * gdesktopappinfo.c:
1710 Don't make local copy of desktop file
1711 for mimetype changes if the file already
1712 supports the new mimetype.
1714 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1718 * gbufferedinputstream.c:
1719 * glocalfile.c: String improvements. (#511966,
1720 Theppitak Karoonboonyanan)
1722 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1724 * gioscheduler.h: Expand docs a bit.
1726 2008-01-24 Alexander Larsson <alexl@redhat.com>
1729 Add g_drive_get_identifier and
1730 g_drive_enumerate_identifiers
1733 Add g_volume_get_identifier and
1734 g_volume_enumerate_identifiers
1740 Implement identifiers for unix backend
1742 2008-01-24 Alexander Larsson <alexl@redhat.com>
1747 Add g_file_copy_async() (#511580)
1748 Based on patch from Carlos Garcia Campos
1750 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1752 * gioscheduler.c: Some documentation additions.
1754 2008-01-22 Alexander Larsson <alexl@redhat.com>
1756 * gdesktopappinfo.c:
1757 (g_desktop_app_info_new):
1758 Don't leak basename.
1760 2008-01-22 Alexander Larsson <alexl@redhat.com>
1762 * gdesktopappinfo.c:
1763 (g_desktop_app_info_new_from_filename):
1766 2008-01-22 Alexander Larsson <alexl@redhat.com>
1768 * glocalfileinfo.c (get_thumbnail_attributes):
1771 2008-01-22 Alexander Larsson <alexl@redhat.com>
1774 (canonicalize_filename):
1775 Canonicalize paths that start with more than
1779 (compare_two_files):
1780 (test_g_file_new_for_path):
1783 2008-01-22 Alexander Larsson <alexl@redhat.com>
1786 Allow UTF-8 in file:// parse names.
1788 * tests/Makefile.am:
1789 * tests/data-input-stream.c:
1790 * tests/data-output-stream.c:
1791 * tests/g-file-info.c:
1793 Added a bunch of tests from Tomas Bzatek
1795 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1797 * === Released 2.15.3 ===
1799 2008-01-21 Alexander Larsson <alexl@redhat.com>
1801 * gfileinputstream.[ch]:
1802 * gfileoutputstream.[ch]:
1804 Remove duplicated GSeekable functions. (#509990)
1805 Just use the g_seekable_xxx() calls instead.
1807 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1810 * gvolumemanager.c: Whitespace cleanups.
1812 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1813 Use the right mode when creating the file.
1815 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1817 * gfileenumerator.c:
1818 * gfileinputstream.c:
1820 * goutputstream.c: Documentation: Fixed minor typos
1821 and added more mentions of specific _finish() functions.
1823 2008-01-21 Alexander Larsson <alexl@redhat.com>
1825 * inotify/Makefile.am:
1826 * inotify/inotify-helper.c:
1827 * inotify/inotify-kernel.c:
1828 * inotify/inotify-path.c:
1829 * inotify/local_inotify.h: Removed.
1830 * inotify/local_inotify_syscalls.h: Removed.
1831 Removed the included copies of the inotify
1832 headers. We now only use the <sys/inotify.h>
1833 header which exists on modern systems.
1834 This fixes problems on ARM and SH5 (#510448)
1835 but is also generally much cleaner and future
1836 safe. For instance, if other OSes add support
1837 for inotify it should "just work".
1839 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1841 * inotify/*.c: Coding style fixes.
1842 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1843 for the 1/4 Hz timer.
1845 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1848 * gfilemonitor.[hc]:
1849 * gmemoryinputstream.c:
1850 * gmemoryoutputstream.c:
1851 * gmountoperation.c:
1852 * gthemedicon.c: Documentation updates
1854 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1856 * gfile.c: documentation: Fixed more minor
1859 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1861 * gmount.c: (g_mount_remount): documentation:
1862 Mention g_mount_remount_finish() instead of
1863 g_mount_unmount_finish().
1865 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1869 * gfile.c: Fixed some minor typos in the
1872 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1874 * gio/gvolumemonitor.c:
1875 (g_volume_monitor_get_connected_drives):
1876 (g_volume_monitor_get_volumes):
1877 (g_volume_monitor_get_mounts): Documentation:
1878 Clarify the ownership of the regurn GLists.
1880 2008-01-17 Alexander Larsson <alexl@redhat.com>
1883 Add the async find_enclosing_mount version
1884 to the header file too.
1886 2008-01-17 Alexander Larsson <alexl@redhat.com>
1889 Add async version of find_enclosing_mount
1890 with default implementation.
1892 2008-01-17 Alexander Larsson <alexl@redhat.com>
1897 Allow calls to implementation of copy and write
1898 even if the type of the file implementations is
1899 different. This can be used to implement native
1900 upload and download calls in a vfs.
1903 (g_local_file_move):
1904 Protect against the case where move is called
1905 with one file not being local.
1907 Make sure we call the progress callback once
1908 in the native move operation so that the caller
1909 knows how many bytes were copied.
1911 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1914 * gdatainputstream.c:
1916 * gfileoutputstream.c:
1921 * gunixmounts.c: Corrected some typos in the documentation:
1922 occured -> occurred.
1923 its -> it's (where appropriate).
1925 2008-01-16 Alexander Larsson <alexl@redhat.com>
1929 Add g_file_query_exists (#508771)
1931 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1936 * gvolume.c: For async functions that have no non-async
1937 version, document that the GAsyncReadyCallback may be NULL.
1940 2008-01-15 Alexander Larsson <alexl@redhat.com>
1942 * gmemoryinputstream.c:
1943 * gmemoryoutputstream.c:
1944 Don't do pointer arithmetic on void * (#508602)
1945 Patch from Kazuki IWAMOTO
1947 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1949 * === Released 2.15.2 ===
1951 2008-01-14 Alexander Larsson <alexl@redhat.com>
1953 * gfile.c (g_file_monitor_file):
1954 Don't set error here, since we fallback to polling monitor.
1956 2008-01-14 Alexander Larsson <alexl@redhat.com>
1959 (g_file_monitor_directory):
1960 (g_file_monitor_file):
1961 Add GError to file monitor calls
1963 * glocaldirectorymonitor.c:
1964 * glocaldirectorymonitor.h:
1966 * glocalfilemonitor.c:
1967 * glocalfilemonitor.h:
1969 Update for above change
1971 2008-01-14 Alexander Larsson <alexl@redhat.com>
1975 Handle root correctly in g_file_get_relative_path (#508719)
1977 2008-01-14 Alexander Larsson <alexl@redhat.com>
1980 Clean up docs and example for GAsyncResult (#508074)
1982 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1984 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1985 and correct some spelling mistakes. Bug #508108.
1987 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1989 * glocalfileinfo.c: Add a comment.
1991 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1993 * gfileinfo.c: GFileInfo description: Mention
1994 how to actually set attributes in a GFile and how to discover
1995 which attributes are settable. Bug #508378.
1997 2008-01-10 A. Walton <awalton@svn.gnome.org>
1999 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2000 (g_app_info_get_default_for_type):
2001 Check for NULL content types.
2003 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2005 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2007 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2009 * gfile.c: *_async() functions: Several small corrections
2010 to the documentation, mostly correcting copy/paste errors
2011 and improving some sentences.
2013 2008-01-09 Dan Winship <danw@gnome.org>
2015 * glocalfile.c (get_unique_filename): x86_64 fix
2017 2008-01-09 Alexander Larsson <alexl@redhat.com>
2022 Add g_unix_mount_guess_should_display and use
2023 for unix volume monitor backend.
2024 This means we more or less show what the
2025 gnome-vfs backend did.
2026 Based on patch from Padraig O'Briain
2028 2008-01-09 Alexander Larsson <alexl@redhat.com>
2032 Add g_themed_icon_new_with_default_fallbacks
2035 Use default fallbacks for icons
2037 2008-01-09 Alexander Larsson <alexl@redhat.com>
2040 * gmountoperation.[ch]:
2041 Change the API a bit so that unhandled methods
2042 get reported via the reply, rather than by
2043 the signal emission return value. This is because
2044 some handlers can't know this immediately without
2045 doing I/O, and this is an async operation that
2048 2008-01-09 Alexander Larsson <alexl@redhat.com>
2051 * fam/gfamdirectorymonitor.c:
2052 * fam/gfamfilemonitor.c:
2053 Fix double free crash (#508224)
2054 Patch from Joe Marcus Clarke
2056 008-01-07 Matthias Clasen <mclasen@redhat.com>
2058 * === Released 2.15.1 ===
2060 2008-01-07 Alexander Larsson <alexl@redhat.com>
2062 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2063 Fix warning (#507835)
2065 2008-01-07 Alexander Larsson <alexl@redhat.com>
2068 Pass --internal to glib-genmarshal
2071 * gmountoperation.c:
2073 Use better types for signal arguments (#507822)
2075 2008-01-07 Alexander Larsson <alexl@redhat.com>
2078 Build test subdir after .
2079 Remove gdirectorymonitor.[ch]
2081 * gdirectorymonitor.[ch]:
2085 Remove GDirectoryMonitor and make
2086 GFileMonitor the baseclass for both file and
2087 directory monitors. Lift the more generic
2088 rate limiting code from GDirectoryMonitor
2092 * fam/gfamdirectorymonitor.[ch]:
2093 * inotify/ginotifydirectorymonitor.[ch]:
2094 * inotify/inotify-helper.c:
2095 * glocaldirectorymonitor.[ch]:
2098 Update for the removed GDirectoryMonitor.
2100 * gmemoryoutputstream.c:
2101 Remove ununsed variable
2103 2008-01-07 Alexander Larsson <alexl@redhat.com>
2105 * gmemoryinputstream.c:
2106 Translate error strings
2109 * gmemoryoutputstream.[ch]:
2110 New implementation that avoids using GByteArray
2111 in implementation and API. (#506377)
2113 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2115 * tests/*: Add a test for memory input streams.
2117 * Makefile.am: Add tests to SUBDIRS.
2119 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2121 * glocalfilemonitor.c:
2122 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2125 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2127 * gdesktopappinfo.c: Fix a docs typo.
2129 * gfileattribute.c: Add information about extended attributes
2130 to the documentation. (#505058)
2132 2008-01-04 Alexander Larsson <alexl@redhat.com>
2135 * gmountoperation.c:
2136 Use the right type (uint) for the ask_password signal.
2138 2008-01-04 Alexander Larsson <alexl@redhat.com>
2143 Add g_app_info_supports_files()
2144 Remove desktop arg from g_app_info_should_show().
2146 * gdesktopappinfo.[ch]:
2147 Implement g_app_info_supports_files() and new should_show()
2148 Add g_desktop_app_info_set_desktop_env() to set the desktop
2149 for should_show(). (This will be set by gtk+ later)
2151 2008-01-04 Alexander Larsson <alexl@redhat.com>
2154 * gmemoryinputstream.[ch]:
2155 Improve API so that you can use multiple chunks
2156 of memory and custom destroy functions. (#506374)
2158 2008-01-03 Alexander Larsson <alexl@redhat.com>
2161 Handle NULL attribute matchers safely, as we return this
2162 for empty attribute matcher strings.
2164 2008-01-03 Alexander Larsson <alexl@redhat.com>
2166 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2167 Add /usr/local to list of internal mountpoints
2169 2008-01-03 Alexander Larsson <alexl@redhat.com>
2172 Check for HAVE_LCHOWN (#505887)
2174 2008-01-03 Alexander Larsson <alexl@redhat.com>
2178 Add define for selinux context attribute.
2179 Fix missing : -> :: namespace separator change
2180 Fix missing _ -> - name change for xattr-sys.
2183 2008-01-03 Alexander Larsson <alexl@redhat.com>
2186 Link to libglib and libgobject directly (#504879)
2187 Patch from Sebastien Bacher
2189 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2191 * gfile.c: Expanded the g_file_new_for_commandline_arg
2192 description a bit, based on the code and the docs of the
2193 other g_file_new_for_* functions.
2195 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2197 * gfilemonitor.h: Fixed typo in docs.
2199 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2201 Updates to GIO documentation. (#506395, Mikael Hermansson)
2203 * gcontenttype.c: Describe memory management for return value of
2204 g_content_types_get_registered(). Missing piece from #505815.
2205 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2206 GVolume, GDrive, GMounts, which hopefully gives the user less
2207 confusions when using this API. Following explainations from
2208 Alexander Larsson on gtk-devel-list.
2210 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2212 * gfileinfo.c: Expand the long description.
2214 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2217 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2218 fix builds with --disable-visibility. (#500273, Christian Persch)
2220 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2222 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2223 in the list of returned app infos.
2225 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2227 * gappinfo.c: Fix a cross-reference
2229 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2231 * gfileinputstream.c:
2232 * gfileoutputstream.c:
2236 * gdesktopappinfo.c:
2238 * gfileinfo.c: Documentation updates.
2240 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2242 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2245 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2247 * gcontenttype.c (g_content_types_get_registered): Don't return
2248 freed memory (#505815, Mikael Hermansson)
2250 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2252 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2253 used to detect statbuf->st_blocks. (#505042)
2255 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2257 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2258 environment handling. (#504829, Cosimo Cecchi)
2260 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2262 * gappinfo.c: Doc improvements
2264 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2267 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2269 * === Released 2.15.0 ===
2271 2007-12-20 Hans Breuer <hans@breuer.org>
2273 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2274 with symbols gwin32appinfo.obj, added gmount.obj
2275 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2277 2007-12-20 Alexander Larsson <alexl@redhat.com>
2283 * gfilenamecompleter.c:
2286 * gpollfilemonitor.c:
2287 File attribute renames:
2289 fs:: -> filesystem::
2290 id::fs -> id::filesystem
2292 2007-12-20 Alexander Larsson <alexl@redhat.com>
2301 Add GMountUnmountFlags to all unmount and
2303 Add g_mount_remount() call.
2305 2007-12-20 Alexander Larsson <alexl@redhat.com>
2307 * gvfs.c (get_default_vfs):
2308 Fix unused variable warning
2310 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2312 * pltcheck.sh: Update
2314 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2316 * gunionvolumemonitor.c:
2317 * gunixmount.c: Remove C99 comments
2319 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2321 * gio.symbols: Add some missing symbols
2323 2007-12-19 Alexander Larsson <alexl@redhat.com>
2326 Make g_io_modules_load_all_in_directory not unuse
2327 loaded modules so that users of it can do stuff
2329 Init internal "module" types.
2330 Initialize static prio and name for types so that
2331 we don't have to load modules to get it.
2333 * gnativevolumemonitor.h:
2335 Move is_supported to parent class so that
2336 non-native monitors can avoid being initialized
2337 too. (For instance GDaemonVolumeMonitor if we're
2338 not using GDaemonVfs.)
2340 * glocaldirectorymonitor.[ch]:
2341 * glocalfilemonitor.[ch]:
2342 * gunionvolumemonitor.c:
2343 * gunixvolumemonitor.c:
2345 Find plugins using the static prio+name to
2346 avoid unnecessarily loading the modules.
2348 2007-12-19 Alexander Larsson <alexl@redhat.com>
2353 2007-12-19 Alexander Larsson <alexl@redhat.com>
2355 * gunionvolumemonitor.c:
2356 Store the native type as GType, not class so that
2357 we can unload it. But still avoid unnecessarily
2360 2007-12-19 David Zeuthen <davidz@redhat.com>
2362 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2363 add signals 'disconnected' and 'eject-button' on GDrive. Add
2364 signal 'removed' on GVolume and 'unmounted' on GMount.
2366 * gdrive.c: (g_drive_base_init):
2368 * gfile.c: (g_file_mount_mountable),
2369 (g_file_mount_enclosing_volume):
2372 * gmount.c: (g_mount_base_init):
2374 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2375 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2376 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2380 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2382 * *.c: Fix up includes in the section docs.
2384 2007-12-17 Alexander Larsson <alexl@redhat.com>
2386 * gnativevolumemonitor.h:
2387 * gunionvolumemonitor.c:
2388 * gunixvolumemonitor.c:
2389 Add is_supported() to GNativeVolumeMonitorClass so
2390 that we can avoid having to create an object to see
2391 if the backend is supported at runtime.
2392 Also add name member and an env var to pick a specific
2393 volume monitor backend.
2397 Add cancellable to _g_mount_get_for_mount_path()
2399 * glocaldirectorymonitor.c:
2400 * glocalfilemonitor.c:
2401 Avoid loading and unloading modules while sorting.
2403 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2406 * gunixmounts.[hc]: Namespace waste reduction, move some
2407 g_get_unix_mount functions to the g_unix_mount namespace.
2410 * gunixvolumemonitor.c:
2412 * glocaldirectorymonitor.c: Update all callers.
2414 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2416 2007-12-17 Alexander Larsson <alexl@redhat.com>
2419 Add doc comments about what GFile operations are
2420 guaranteed to not block.
2422 2007-12-17 Alexander Larsson <alexl@redhat.com>
2425 Add missing #ifdef fixing OSX build.
2426 (#503334, patch from Richard Hult)
2428 2007-12-14 David Zeuthen <davidz@redhat.com>
2432 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2433 (g_mount_eject), (g_mount_eject_finish):
2435 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2436 (get_volume_for_uuid), (get_mount_for_uuid),
2437 (g_union_volume_monitor_class_init),
2438 (get_default_native_type_with_exclude), (get_default_native_type),
2439 (get_native_type), (update_native_type),
2440 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2441 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2442 (g_unix_mount_can_eject), (eject_unmount_cb),
2443 (eject_unmount_read_error), (eject_unmount_do),
2444 (g_unix_mount_unmount), (g_unix_mount_eject),
2445 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2446 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2447 (g_unix_mount_point_guess_can_eject):
2449 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2450 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2451 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2452 (g_unix_volume_mount), (g_unix_volume_eject),
2453 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2454 * gunixvolumemonitor.c: (get_volume_for_uuid),
2455 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2457 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2458 (g_volume_eject), (g_volume_eject_finish):
2460 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2461 (g_volume_monitor_get_mount_for_uuid):
2464 Provide eject() on both GMount and GVolume and utility functions
2465 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2466 ejected. Introduce the concept of UUID's and wire it into GVolume
2467 and GMount and provide API on GVolumeMonitor to find such
2468 instances. Also handle the case where an external
2469 GNativeVolumeMonitor fails to initialize. Lock around the
2470 _g_get_mount_for_mount_path() function such that volume monitor
2471 implementations won't have to do locking themselves.
2473 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2475 * gdesktopappinfo.c:
2481 * gvolume.h: Documentation updates
2483 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2486 * gfile.h: Doc updates
2488 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2491 * gdesktopappinfo.c: Use hash table iterators.
2493 2007-12-14 Alexander Larsson <alexl@redhat.com>
2496 * gfileattribute.[ch]:
2497 * gfileattribute-priv.h:
2498 Move GFileAttributeValue to a private header, as
2502 Make set_attribute take a type + a pointer instead
2503 of a GFileAttributeValue.
2506 Fix up for above changes.
2507 Add g_file_info_get_attribute_data to get
2508 all info in one call, g_file_info_get_attribute_status
2509 to get the status and g_file_info_get_attribute_as_string.
2513 * glocalfileinfo.[ch]:
2517 Make _guess_type static.
2519 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2522 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2523 made mkenums and friends use temporary files to avoid leaving
2524 empty generated files on failure (#503470).
2526 2007-12-14 Alexander Larsson <alexl@redhat.com>
2528 * gmountoperation.h:
2531 2007-12-14 Alexander Larsson <alexl@redhat.com>
2535 * gfileattribute.[ch]:
2538 * glocalfileoutputstream.c:
2539 * gmountoperation.[ch]:
2540 * goutputstream.[ch]:
2541 Clean up all flags enums to not have _FLAGS in them
2542 Make the names of some of the enums better.
2547 2007-12-14 Michael Natterer <mitch@imendio.com>
2549 * gio.symbols: fix g_io_scheduler symbol names.
2551 2007-12-14 Alexander Larsson <alexl@redhat.com>
2557 * gbufferedinputstream.h:
2558 * gbufferedoutputstream.h:
2561 * gdatainputstream.h:
2562 * gdataoutputstream.h:
2563 * gdesktopappinfo.h:
2564 * gdirectorymonitor.h:
2568 * gfileenumerator.h:
2571 * gfileinputstream.h:
2573 * gfilenamecompleter.h:
2574 * gfileoutputstream.h:
2575 * gfilterinputstream.h:
2576 * gfilteroutputstream.h:
2584 * gmemoryinputstream.h:
2585 * gmemoryoutputstream.h:
2587 * gmountoperation.h:
2590 * gsimpleasyncresult.h:
2592 * gunixinputstream.h:
2594 * gunixoutputstream.h:
2598 * inotify/Makefile.am:
2599 Only allow including <gio/gio.h> from apps
2601 2007-12-14 Alexander Larsson <alexl@redhat.com>
2603 * gioscheduler.[ch]:
2604 * gsimpleasyncresult.c:
2605 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2606 Split out the send_to_mainloop call into two versions instead
2607 of having the block argument.
2609 2007-12-13 Alexander Larsson <alexl@redhat.com>
2611 * gcancellable.[ch]:
2613 * gbufferedinputstream.c:
2614 * gfileenumerator.c:
2615 * gfileinputstream.c:
2616 * gfileoutputstream.c:
2620 g_push/pop_current_cancellable ->
2621 g_cancellable_push/pop_current
2623 2007-12-13 Alexander Larsson <alexl@redhat.com>
2627 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2629 2007-12-13 Alexander Larsson <alexl@redhat.com>
2631 * gmountoperation.h:
2632 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2634 2007-12-12 Alexander Larsson <alexl@redhat.com>
2637 Fix race condition when freeing proxy in
2638 g_io_job_send_to_mainloop().
2640 2007-12-12 Alexander Larsson <alexl@redhat.com>
2646 Make attribute namespace separator "::" instead of ":".
2647 Use - instead of _ as separator in attribute names.
2649 2007-12-12 Alexander Larsson <alexl@redhat.com>
2651 * gbufferedinputstream.h:
2652 * gbufferedoutputstream.h:
2653 * gdatainputstream.h:
2654 * gdataoutputstream.h:
2655 * gdirectorymonitor.h:
2656 * gfileenumerator.h:
2657 * gfileinputstream.h:
2659 * gfileoutputstream.h:
2660 * gfilterinputstream.h:
2661 * gfilteroutputstream.h:
2663 * glocalfileinputstream.h:
2664 * glocalfileoutputstream.h:
2665 * gmemoryinputstream.h:
2666 * gmemoryoutputstream.h:
2667 * gnativevolumemonitor.h:
2669 * gunixinputstream.h:
2670 * gunixoutputstream.h:
2673 s/parent/parent_instance/ in GObjects
2675 2007-12-12 Alexander Larsson <alexl@redhat.com>
2680 No need for padding for interfaces
2682 2007-12-12 Alexander Larsson <alexl@redhat.com>
2686 * gbufferedinputstream.c:
2687 * gbufferedoutputstream.c:
2690 * gdatainputstream.[ch]:
2691 * gdesktopappinfo.c:
2692 * gdirectorymonitor.c:
2694 * gfileattribute.[ch]:
2697 * gfileinputstream.h:
2698 * gfilemonitor.[ch]:
2699 * gfileoutputstream.[ch]:
2700 * gfilterinputstream.h:
2701 * gfilteroutputstream.h:
2704 * gloadableicon.[ch]:
2705 * gmemoryinputstream.c:
2706 * gmountoperation.c:
2708 Fix up a bunch of details in the docs.
2713 2007-12-11 David Zeuthen <davidz@redhat.com>
2715 Rework how volumes, drives and volume monitoring is
2716 done. Previosly the model was
2718 GDrive <1-1> GVolume
2720 where a GDrive instance represented a mount point and a GVolume
2721 instance represented a mounted file system. This patch changes it
2724 GDrive <1-N> GVolume <1-1> GMount
2726 where GMount now serves the purpose of the old GVolume and the new
2727 GVolume serves the purpose of the old GDrive. In addition the new
2728 GDrive interface is used to represent a collection of GVolume
2729 instances (typically partitions) and also contains utility to query
2730 the state of the physical drive the GDrive object represents (such
2731 as checking for media, polling the drive, ejecting the media etc.).
2733 Also implement mounting and unmounting in the Unix volume monitor
2734 backend. A subquent patch will introduce GDrive support for ejection
2738 * gdrive.c: (g_drive_is_media_check_automatic),
2739 (g_drive_is_media_removable), (g_drive_has_media),
2740 (g_drive_can_poll_for_media), (g_drive_eject),
2741 (g_drive_eject_finish), (g_drive_poll_for_media),
2742 (g_drive_poll_for_media_finish):
2744 * gfile.c: (g_file_find_enclosing_mount):
2747 * glocaldirectorymonitor.c:
2748 (g_local_directory_monitor_constructor), (mounts_changed):
2749 * glocalfile.c: (get_mount_info),
2750 (g_local_file_find_enclosing_mount),
2751 (g_local_file_file_iface_init):
2752 * gnativevolumemonitor.h:
2753 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2754 (get_connected_drives), (g_union_volume_monitor_class_init),
2755 (child_volume_added), (child_volume_removed),
2756 (child_volume_changed), (child_mount_added), (child_mount_removed),
2757 (child_mount_pre_unmount), (child_mount_changed),
2758 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2759 (g_union_volume_monitor_remove_monitor),
2760 (_g_mount_get_for_mount_path):
2761 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2762 (guess_system_internal), (_g_get_unix_mounts),
2763 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2764 (g_unix_mount_free), (g_unix_mount_compare),
2765 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2766 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2767 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2768 (type_to_icon), (g_unix_mount_guess_name),
2769 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2770 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2771 (_resolve_symlink), (_resolve_dev_root):
2773 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2774 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2775 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2776 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2777 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2778 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2779 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2780 (g_unix_volume_volume_iface_init):
2782 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2783 (get_mounts), (get_volumes), (get_connected_drives),
2784 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2785 (mountpoints_changed), (mounts_changed),
2786 (g_unix_volume_monitor_init),
2787 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2788 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2789 * gunixvolumemonitor.h:
2790 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2791 (g_volume_mount), (g_volume_mount_finish):
2793 * gvolumemonitor.c: (g_volume_monitor_class_init),
2794 (g_volume_monitor_get_connected_drives),
2795 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2798 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2800 * gmountoperation.h (GPasswordFlags): Close the gap
2802 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2804 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2806 * gdesktopappinfo.[hc]: Remove _-prefixes
2808 2007-12-10 Tor Lillqvist <tml@novell.com>
2810 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2813 2007-12-10 Alexander Larsson <alexl@redhat.com>
2815 * gfile.c (g_file_set_display_name):
2816 Don't hardcode '/' (#502727)
2818 2007-12-09 Hans Breuer <hans@breuer.org>
2820 * makefile.msc : follow lib naming convention
2821 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2822 for user and group name, tested with ../tests/gio-ls
2824 2007-12-09 A. Walton <awalton@svn.gnome.org>
2826 * gdesktopappinfo.c:
2832 * gfileenumerator.c:
2837 * gmemoryinputstream.c:
2838 * gmemoryoutputstream.c:
2840 * gsimpleasyncresult.c:
2841 More documentation cleanup and filling in missing information, bringing
2842 GIO to 99% symbol coverage.
2844 2007-12-08 Hans Breuer <hans@breuer.org>
2846 [gio compiles and links on win32, not sure how much already works]
2847 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2848 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2849 base on win32 API; prefer g_lstat() over lstat(); instead of
2850 localtime_r() use an all GLib implementation on win32;
2851 get_mount_info() still needs a win32 specifc implementation
2852 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2853 win32_get_file_user_info to get owner/group info without uid/gid
2854 * glocalfileinputstream.c : include <io.h> on win32
2855 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2856 definition, use g_win32_ftruncate() for G_OS_WIN32
2857 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2858 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2859 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2860 * makefile.msc : updated
2862 2007-12-07 Alexander Larsson <alexl@redhat.com>
2864 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2865 Avoid warning spew if error == NULL
2867 2007-12-07 Alexander Larsson <alexl@redhat.com>
2870 Update docs wrt etags
2872 2007-12-06 Alexander Larsson <alexl@redhat.com>
2875 Include sys/types.h for dev_t (#501919)
2877 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2881 Make abicheck and pltcheck pass.
2883 2007-12-05 Alexander Larsson <alexl@redhat.com>
2886 * giomodule-priv.h: Added.
2887 * glocaldirectorymonitor.c:
2888 * glocalfilemonitor.c:
2889 * gunionvolumemonitor.c:
2891 Actually add the declaration of _g_io_modules_ensure_loaded
2893 2007-12-05 Alexander Larsson <alexl@redhat.com>
2895 * gdatainputstream.c:
2900 * glocaldirectorymonitor.c:
2901 * glocalfilemonitor.c:
2902 * gunionvolumemonitor.c:
2904 Make g_io_modules_ensure_loaded a private function and
2905 don't pass in the dirname. This means we can do magic
2906 directory finding in the win32 version.
2907 Export the actual load-modules-in-directory code so that
2908 gvfs can reuse that.
2910 2007-12-05 Alexander Larsson <alexl@redhat.com>
2912 * gbufferedinputstream.c:
2913 * gbufferedoutputstream.c:
2916 * gfileenumerator.[ch]:
2917 * gfileinputstream.c:
2918 * gfileoutputstream.[ch]:
2919 * gfilterinputstream.c:
2920 * gfilteroutputstream.c:
2921 * ginputstream.[ch]:
2923 * glocalfileenumerator.c:
2924 * glocalfileinputstream.c:
2925 * glocalfileoutputstream.c:
2926 * gmemoryinputstream.c:
2927 * gmemoryoutputstream.c:
2928 * goutputstream.[ch]:
2931 * gunixinputstream.c:
2932 * gunixoutputstream.c:
2933 Rename all struct members named:
2934 read, write, close, truncate, or mount
2935 to foo_fn, as these are reserved names
2936 and could be defined as macros in libc.
2939 2007-12-04 Alexander Larsson <alexl@redhat.com>
2942 (g_output_stream_close):
2943 Only call flush if non-null.
2945 2007-11-30 Dan Winship <danw@gnome.org>
2947 * ginputstream.c (g_input_stream_set_pending): Make this take a
2948 GError and return a gboolean, and do the "outstanding operation"
2949 check (and the "stream is already closed" check) itself.
2950 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2952 * goutputstream.c (g_output_stream_set_pending)
2953 (g_output_stream_clear_pending): Likewise
2955 * gbufferedinputstream.c:
2956 * gfileinputstream.c:
2957 * gfileoutputstream.c: Update for that
2959 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2960 Like g_simple_async_report_error_in_idle, but takes a GError
2961 rather than building one.
2963 2007-11-30 Dan Winship <danw@gnome.org>
2965 * goutputstream.c: Don't cheat and unset the "pending" flag around
2966 inner calls. Instead, call the class method directly rather than
2967 the wrapper function that checks "pending"
2969 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2971 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2973 2007-12-03 Hans Breuer <hans@breuer.org>
2975 [start of port to win32/msvc]
2976 * gcancellable.c : HAVE_UNIST_H and _pipe()
2977 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2978 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2979 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2981 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2982 * glocalvfs.c : use HAVE_PWD_H
2983 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2984 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2985 * Makefile.am : added to EXTRA_DIST
2987 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2989 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2992 2007-12-03 Alexander Larsson <alexl@redhat.com>
2995 Handle OSX style xattrs API (#500506)
2997 2007-12-03 Alexander Larsson <alexl@redhat.com>
3001 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3003 2007-12-02 A. Walton <awalton@svn.gnome.org>
3007 Documentation accuracy fixes.
3009 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3011 * gioenumtypes.c.template: Fix typo.
3013 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3015 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3017 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3019 * gdirectorymonitor.c:
3020 * gfilemonitor.c: Add properties
3022 * gbufferedoutputstream.c: Don't mark buffer-size property
3025 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3027 * gbufferedoutputstream.c: Add auto-grow property.
3029 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3031 * *.c: Unify the capitalization of section headings.
3033 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3035 * gmountoperation.c: Add properties
3037 * gdatainputstream.c: Turn byte-order and newline-type into
3040 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3042 * gioenumtypes.[hc].template: Templates for enum registration
3044 * Makefile.am: Generate gioenumtypes.[hc]
3046 * gio.h: Include gioenumtypes.h
3048 * gfile.h: Add some explicit nicks.
3050 * gio.symbols: Add new symbols
3052 * pltcheck.sh: Adjust
3054 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3056 * *.c: Explain etags and link to the explanation
3058 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3060 * *.c: Explain I/O priority.
3062 * *.c: More coding style fixes.
3064 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3066 * gasyncresult.c: Add another paragraph to the intro,
3067 adjust coding style of example.
3069 2007-11-29 A. Walton <awalton@svn.gnome.org>
3072 Fixes unknown meaning in GAppLaunchContext docs.
3074 Clarify asynchronous ops.
3076 Fix entity tag docs.
3079 Provides missing gtk-doc section, fixes API docs slighly.
3080 * gsimpleasyncresult.c:
3081 Fill in missing info in docs.
3082 * gunixinputstream.c:
3083 * gunixoutputstream.c:
3084 Be more expressive in short description.
3086 Remove gtk-doc stubs for non-public API.
3088 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3090 * *.c: Coding style fixups
3092 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3094 * inotify/inotify-helper.c: Don't export the lock from libgio.
3096 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3099 * abicheck.sh: Fix copy-and-paste leftovers
3101 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3103 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3105 2007-11-28 Alexander Larsson <alexl@redhat.com>
3109 Removed unnecessary file
3111 * gdesktopappinfo.[ch]:
3114 * glocaldirectorymonitor.[ch]:
3116 * glocalfileenumerator.[ch]:
3117 * glocalfileinputstream.[ch]:
3118 * glocalfilemonitor.[ch]:
3119 * glocalfileoutputstream.[ch]:
3121 * gnativevolumemonitor.c:
3122 * gpollfilemonitor.[ch]:
3123 * gunionvolumemonitor.[ch]:
3126 * gunixvolumemonitor.[ch]:
3129 * inotify/ginotifydirectorymonitor.[ch]:
3130 * inotify/ginotifyfilemonitor.[ch]:
3131 * inotify/inotify-helper.c:
3132 Append _ to all internal functions
3136 Export symbols needed for modules
3138 2007-11-28 Alexander Larsson <alexl@redhat.com>
3141 * abicheck.sh: Added.
3142 * makegioalias.pl: Added.
3143 * pltcheck.sh: Added.
3144 * gio.symbols: Added.
3147 Initial work on adding symbol handling.
3150 Correct ifdef guard name
3153 * inotify/Makefile.am:
3154 * xdgmime/Makefile.am:
3155 Include toplevel Makefile.decl
3157 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3159 * gcontenttype.c: Move doc comments to the unix section.
3161 * *.[hc]: More trivial doc corrections.
3163 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3165 * gpollfilemonitor.c:
3169 * gdesktopappinfo.c:
3174 * gdatainputstream.c:
3175 * gdatainputstream.h:
3176 * gdataoutputstream.c:
3177 * gdataoutputstream.h:
3178 * gfileinfo.h: Doc cleanups
3180 2007-11-28 Andre Klapper <a9016009@gmx.de>
3182 * gdesktopappinfo.c: Fix a typo.
3184 2007-11-27 Andre Klapper <a9016009@gmx.de>
3186 * glocalfileoutputstream.c: Fix a typo.
3188 2007-11-27 Alexander Larsson <alexl@redhat.com>
3191 Don't include removed headers
3193 2007-11-27 Alexander Larsson <alexl@redhat.com>
3196 * gsocketinputstream.[ch]: Removed.
3197 * gsocketoutputstream.[ch]: Removed.
3198 * gunixinputstream.[ch]: Added.
3199 * gunixoutputstream.[ch]: Added.
3200 Renamed GSocket*Stream to GUnix*Stream and made
3201 it unix-only, since its not really only for sockets
3202 and it only works on unix (but is highly useful there).
3204 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3210 * gbufferedinputstream.c:
3211 * gbufferedinputstream.h:
3212 * gbufferedoutputstream.c:
3213 * gbufferedoutputstream.h:
3217 * gdatainputstream.c:
3218 * gdatainputstream.h:
3219 * gdataoutputstream.c:
3220 * gdataoutputstream.h:
3221 * gdirectorymonitor.c:
3222 * gdirectorymonitor.h:
3229 * gfileenumerator.c:
3230 * gfileenumerator.h:
3235 * gfileinputstream.c:
3236 * gfileinputstream.h:
3239 * gfilenamecompleter.c:
3240 * gfilenamecompleter.h:
3241 * gfileoutputstream.c:
3242 * gfileoutputstream.h:
3243 * gfilterinputstream.c:
3244 * gfilterinputstream.h:
3245 * gfilteroutputstream.c:
3246 * gfilteroutputstream.h:
3259 * glocalfileoutputstream.c:
3260 * gmemoryinputstream.c:
3261 * gmemoryinputstream.h:
3262 * gmemoryoutputstream.c:
3263 * gmemoryoutputstream.h:
3264 * gmountoperation.c:
3265 * gmountoperation.h:
3268 * gpollfilemonitor.c:
3271 * gsimpleasyncresult.c:
3272 * gsimpleasyncresult.h:
3273 * gsocketinputstream.c:
3274 * gsocketinputstream.h:
3275 * gsocketoutputstream.c:
3276 * gsocketoutputstream.h:
3283 * gunixvolumemonitor.c:
3292 Bumps documentation to 93% symbol coverage, touching most
3293 of the public files. Fixes broken function documentation prototypes.
3294 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3295 gtk-doc headers in private files.
3297 2007-11-27 Jürg Billeter <j@bitron.ch>
3299 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3300 (g_buffered_input_stream_read_byte):
3301 * gbufferedinputstream.h:
3302 New functions for efficient access to buffer and simple single byte
3305 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3306 (g_data_input_stream_read_until):
3307 * gdatainputstream.h:
3308 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3309 read_until with multiple stop chars.
3311 2007-11-27 Alexander Larsson <alexl@redhat.com>
3315 * inotify/Makefile.am:
3316 Use the user-specified giomoduledir
3318 2007-11-27 Alexander Larsson <alexl@redhat.com>
3322 Add catch-all gio.h header
3323 Don't install gdummyfile.h
3325 2007-11-26 Alexander Larsson <alexl@redhat.com>
3327 * Makefile.am (gioinclude_HEADERS):
3328 Remove trailing whitespace
3330 2007-11-26 Alexander Larsson <alexl@redhat.com>
3332 Merge gio-standalone into glib
3334 2007-11-25 Christian Kellner <gicmo@gnome.org>
3336 * gio/goutputstream.c:
3337 Fix small mistake in the docs.
3339 2007-11-21 Christian Persch <chpe@gnome.org>
3341 * gio/glocalfile.c: (g_local_file_trash):
3342 Convert filenames to UTF-8 for GError.
3343 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3344 as per xdg base dir spec.
3346 2007-11-21 Christian Persch <chpe@gnome.org>
3348 * gio/gdesktopappinfo.c:
3349 Use that g_key_file_to_data cannot fail.
3351 Use stock defines for the key file group and key names.
3354 2007-11-21 Alexander Larsson <alexl@redhat.com>
3357 (copy_stream_with_progress):
3358 Make sure we do a final progress callback with
3359 the full total size.
3361 2007-11-21 Alexander Larsson <alexl@redhat.com>
3364 Export g_file_copy_attributes
3365 Remove padding as its not needed for interfaces
3367 2007-11-20 Alexander Larsson <alexl@redhat.com>
3372 Add G_IO_ERROR_WOULD_MERGE for
3373 copy/move dir on dir with overwrite.
3375 2007-11-20 Alexander Larsson <alexl@redhat.com>
3378 * gio/glocalfileinfo.c:
3379 Add COPY_NAME (this is an optional
3380 non-modified utf8 version of the name) that
3383 2007-11-20 Alexander Larsson <alexl@redhat.com>
3385 * gio/glocalfileenumerator.c:
3386 Report errors as GIOError, not GFileError
3388 2007-11-16 Alexander Larsson <alexl@redhat.com>
3390 * gio/glocalfileoutputstream.c:
3391 * gio/gwin32appinfo.c:
3392 Fix typos in strings.
3393 Patch from Luca Ferretti <elle.uca@libero.it>
3395 2007-11-15 Alexander Larsson <alexl@redhat.com>
3398 Post release version bump
3400 === gio-standalone 0.1.2 ===
3402 2007-11-15 Alexander Larsson <alexl@redhat.com>
3404 * docs/reference/gio/Makefile.am:
3405 Fix up distcheck by removing weird
3411 2007-11-14 Alexander Larsson <alexl@redhat.com>
3413 * gio/gdesktopappinfo.c:
3414 * gio/glocaldirectorymonitor.c:
3416 * gio/glocalfileinfo.c:
3417 * gio/inotify/inotify-sub.c:
3418 * programs/gio-cat.c:
3419 * programs/gio-copy.c:
3420 * programs/gio-info.c:
3421 * programs/gio-ls.c:
3422 * programs/gio-monitor-dir.c:
3423 * programs/gio-monitor-file.c:
3424 * programs/gio-mount.c:
3425 * programs/gio-move.c:
3426 * programs/gio-rm.c:
3427 * programs/gio-save.c:
3428 * programs/gio-trash.c:
3429 Leak fixes from Kjartan Maraas
3431 2007-11-14 Alexander Larsson <alexl@redhat.com>
3433 * gio/fam/fam-helper.c:
3435 * gio/glocalfileinfo.c:
3439 * gio/inotify/inotify-diag.c:
3440 * gio/inotify/inotify-kernel.c:
3441 Various code cleanups from Kjartan Maraas
3443 2007-11-14 Alexander Larsson <alexl@redhat.com>
3445 * gio/gioscheduler.c:
3447 Set up threadpool so that we cache 2 unused
3448 idle threads for at 15 secs. This means we
3449 will reuse thread-local data (like dbus connections)
3452 2007-11-14 Alexander Larsson <alexl@redhat.com>
3454 * gio/fam/fam-helper.c:
3455 * gio/fam/gfamdirectorymonitor.c:
3456 * gio/fam/gfamfilemonitor.c:
3458 * gio/gcontenttype.c:
3459 * gio/gdatainputstream.c:
3460 * gio/gdataoutputstream.c:
3464 * gio/gfileattribute.h:
3465 * gio/gfileenumerator.c:
3467 * gio/ginputstream.c:
3470 * gio/glocalfileinfo.c:
3471 * gio/goutputstream.c:
3472 * gio/gpollfilemonitor.c:
3473 * gio/gsimpleasyncresult.c:
3474 * gio/gunixmounts.c:
3475 * gio/gunixmounts.h:
3476 * gio/inotify/ginotifydirectorymonitor.c:
3477 * gio/inotify/ginotifyfilemonitor.c:
3478 * gio/inotify/inotify-diag.c:
3479 * gio/inotify/inotify-kernel.c:
3480 * gio/inotify/inotify-path.c:
3482 * gio/test-streams.c:
3483 * programs/gio-info.c:
3484 * programs/gio-monitor-dir.c:
3485 * programs/gio-monitor-file.c:
3486 Various code cleanups from Kjartan Maraas
3488 2007-11-13 Alexander Larsson <alexl@redhat.com>
3491 Handle the uri-scheme calls for dummy files
3493 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3495 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3496 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3497 to avoid clash with the C++ keyword.
3499 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3501 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3502 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3504 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3506 * gio/glocaldirectorymonitor.c:
3507 * gio/glocalfilemonitor.c:
3508 * gio/gunionvolumemonitor.c:
3509 Don't use g_once_init_*() for initializations that could fail and
3510 could leave the initialization variable set to 0 but use GOnce.
3511 This prevents a deadlock on the second call when trying to create
3512 a monitor and no monitor type is available. Thanks to Sven Herzberg
3515 2007-11-11 Sven Herzberg <sven@imendio.com>
3517 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3518 #ifdef (make it work on MacOS X again)
3520 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3522 Fixes Changelog for last two commits (sorry guys).
3524 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3526 * gio/gbufferedinputstream.c:
3527 * gio/gdatainputstream.c:
3529 * gio/gfileoutputstream.c:
3530 * gio/gfilterinputstream.c:
3531 * gio/glocalfileinputstream.c:
3534 More consistency fixes in g*stream.c files.
3535 Significant clean of gfile's documentation, filling in of
3536 asynchronous operations documentation.
3538 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3540 * gio/gasyncresult.c:
3541 * gio/gbufferedinputstream.c:
3542 * gio/gbufferedoutputstream.c:
3543 * gio/gcancellable.c:
3544 * gio/gcontenttype.c:
3545 * gio/gdatainputstream.c:
3546 * gio/gdataoutputstream.c:
3547 * gio/gdesktopappinfo.c:
3550 * gio/gfileattribute.c:
3551 * gio/gio/gfileenumerator.c:
3553 * gio/gfileinputstream.c:
3554 * gio/gfilemonitor.c:
3555 * gio/gfileoutputstream.c:
3556 * gio/ginputstream.c:
3558 * gio/gioscheduler.c:
3559 * gio/gloadableicon.c:
3560 * gio/glocalfileoutputstream.c:
3561 * gio/gmemoryoutputstream.c:
3562 * gio/gmountoperation.c:
3563 * gio/goutputstream.c:
3565 * gio/gsimpleasyncresult.c:
3566 * gio/gunionvolumemonitor.c:
3567 * gio/gunixmounts.c:
3568 * gio/gunixvolume.c:
3572 * gio/gvolumemonitor.c:
3573 Updated documentation stubs, working towards consistency and
3576 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3578 * gio/gmemoryoutputstream.c:
3579 * gio/gmemoryoutputstream.h:
3580 Change g_memory_output_stream_set_free_on_close() to
3581 g_memory_output_stream_set_free_data() as this makes more sense and
3582 is more consistent with GMemoryInputStream.
3584 2007-11-07 Alexander Larsson <alexl@redhat.com>
3591 Change how we find the default vfs so that
3592 we can handle a gvfs failing to init
3594 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3596 * gio/gbufferedoutputstream.c:
3597 * gio/gdatainputstream.c:
3598 * gio/gdataoutputstream.c:
3599 * gio/gfileinputstream.c:
3600 * gio/gfileoutputstream.c:
3601 * gio/gfilterinputstream.c:
3602 * gio/gfilteroutputstream.c:
3603 * gio/ginputstream.c:
3604 * gio/gmemoryinputstream.c:
3605 * gio/gmemoryoutputstream.c:
3606 * gio/goutputstream.c:
3607 * gio/gsimpleasyncresult.c:
3608 * gio/gsocketinputstream.c:
3609 * gio/gsocketoutputstream.c:
3610 Add guards to the remaining public functions, add a TODO for
3611 an unimplemented function and remove some useless guards.
3613 2007-11-07 Alexander Larsson <alexl@redhat.com>
3616 Autoconf checks for the various types of
3617 getpwuid_r and getgrgid_r
3619 * gio/glocalfileinfo.c:
3620 Use the autoconf checks from above
3622 2007-11-07 Alexander Larsson <alexl@redhat.com>
3625 (g_local_file_query_filesystem_info):
3626 Some fixes for the statvfs case
3628 2007-11-07 Alexander Larsson <alexl@redhat.com>
3631 (g_local_file_query_filesystem_info):
3632 Pick the "best" of statfs / statvfs for the system
3633 if both are availible.
3635 2007-11-07 Alexander Larsson <alexl@redhat.com>
3637 Solaris fixes from Halton.Huo@Sun.COM:
3644 * gio/glocalfileinfo.c:
3645 Fix for solaris definition of getpwuid_r
3647 * gio/test-streams.c:
3648 Use G_GNUC_PRETTY_FUNCTION
3650 2007-11-07 Alexander Larsson <alexl@redhat.com>
3652 * gio/gdesktopappinfo.c:
3653 (update_default_list):
3654 Remove double semicolon.
3655 Patch from Jens Granseuer
3657 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3659 * docs/reference/gio/gio-sections.txt:
3660 * gio/gbufferedinputstream.c:
3661 * gio/gbufferedinputstream.h:
3662 * gio/gdatainputstream.c:
3663 * gio/gfileenumerator.c:
3664 * gio/gioscheduler.c:
3665 * gio/gunionvolumemonitor.c:
3667 * programs/gio-save.c:
3668 Fix typo: availible -> available. Unfortuntely this breaks API
3669 and ABI as g_buffered_input_stream_get_available() was renamed.
3671 * gio/gunixmounts.c:
3672 * gio/gbufferedinputstream.c:
3673 Add guards for public functions.
3675 2007-11-06 Ross Burton <ross@openedhand.com>
3677 * docs/reference/gio/Makefile.am:
3678 Fix invalid += usage which automake 1.10 doesn't like.
3680 2007-11-06 Alexander Larsson <alexl@redhat.com>
3683 (g_app_launch_context_class_init):
3686 Patch from Ross Burton
3688 2007-11-06 Alexander Larsson <alexl@redhat.com>
3691 Post release version bump
3693 === gio-standalone 0.1.1 ===
3695 2007-11-06 Alexander Larsson <alexl@redhat.com>
3698 Bump version to 0.1.1
3700 * gio/gsimpleasyncresult.c:
3701 (g_simple_async_result_set_from_error):
3702 Remove bogus g_return_if_fail
3704 2007-11-06 Alexander Larsson <alexl@redhat.com>
3707 The name is gio-standalone
3710 Add top src/builddir to includedir
3712 2007-11-06 Alexander Larsson <alexl@redhat.com>
3714 * docs/reference/gio/gio-sections.txt:
3716 * gio/gbufferedinputstream.c:
3717 * gio/gbufferedoutputstream.c:
3718 * gio/gcancellable.c:
3719 * gio/gdatainputstream.h:
3720 * gio/gdataoutputstream.c:
3721 * gio/gdataoutputstream.h:
3722 * gio/gdirectorymonitor.c:
3724 * gio/gfileattribute.c:
3725 * gio/gfileattribute.h:
3726 * gio/gfileenumerator.c:
3727 * gio/gfileenumerator.h:
3730 * gio/gfileinputstream.h:
3731 * gio/gfilemonitor.c:
3732 * gio/gfileoutputstream.h:
3733 * gio/glocalfilemonitor.h:
3734 * gio/glocalfileoutputstream.h:
3735 * gio/gmemoryinputstream.c:
3736 * gio/gmemoryoutputstream.c:
3737 * gio/gmountoperation.c:
3738 * gio/goutputstream.c:
3739 * gio/goutputstream.h:
3741 * gio/gsimpleasyncresult.c:
3742 * gio/gunixmounts.c:
3743 * gio/gunixmounts.h:
3745 * gio/inotify/inotify-helper.c:
3746 Fix gtk-doc warnings
3748 Patch from Ross Burton
3750 2007-11-06 Alexander Larsson <alexl@redhat.com>
3752 * gio/gfilenamecompleter.c:
3753 (g_filename_completer_get_completions):
3756 * gio/gunixvolume.c:
3757 Remove unused function
3759 Patches from Ross Burton
3761 2007-11-06 Alexander Larsson <alexl@redhat.com>
3766 Padding not needed for interfaces
3768 2007-11-06 Alexander Larsson <alexl@redhat.com>
3770 * gio/gfilemonitor.c:
3774 Make giotypes.h an internal file
3777 * gio/gbufferedinputstream.h:
3778 * gio/gbufferedoutputstream.h:
3779 * gio/gcancellable.h:
3780 * gio/gdatainputstream.h:
3781 * gio/gdataoutputstream.h:
3782 * gio/gdirectorymonitor.c:
3783 * gio/gdirectorymonitor.h:
3788 * gio/gfileattribute.h:
3789 * gio/gfileenumerator.h:
3794 * gio/gfilemonitor.c:
3795 * gio/gfilemonitor.h:
3796 * gio/gfilenamecompleter.c:
3797 * gio/gfilenamecompleter.h:
3798 * gio/gfilterinputstream.h:
3799 * gio/gfilteroutputstream.h:
3800 * gio/ginputstream.h:
3801 * gio/gmemoryinputstream.h:
3802 * gio/gmemoryoutputstream.h:
3803 * gio/gmountoperation.c:
3804 * gio/gmountoperation.h:
3805 * gio/gnativevolumemonitor.c:
3806 * gio/goutputstream.h:
3809 * gio/gsimpleasyncresult.c:
3810 * gio/gsimpleasyncresult.h:
3811 * gio/gsocketinputstream.h:
3812 * gio/gsocketoutputstream.h:
3813 * gio/gthemedicon.c:
3814 * gio/gthemedicon.h:
3818 * gio/gvolumemonitor.c:
3819 * gio/gvolumemonitor.h:
3820 Add padding in classes where it seems useful
3821 Don't include giotypes.h from public headers
3822 Move in Class definitions into c file where possible
3827 2007-11-06 Alexander Larsson <alexl@redhat.com>
3829 * docs/reference/gio/gio-docs.xml:
3830 Better structure for API docs
3832 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3835 * gio/gloadableicon.c:
3836 * gio/gsimpleasyncresult.c:
3837 * gio/gthemedicon.c:
3838 Add some more guards to public functions. Only files missing are now
3841 2007-11-06 Alexander Larsson <alexl@redhat.com>
3843 * docs/reference/gio/gio-docs.xml:
3844 Remove old files, add missing ones
3846 2007-11-06 Alexander Larsson <alexl@redhat.com>
3848 * docs/reference/gio/gio-sections.txt:
3851 Hide implementation classes
3853 * gio/gdriveprivate.h:
3854 * gio/gvolumeprivate.h:
3855 Remove non-existing function declarations
3857 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3860 Fix compilation warnings and add guards to the new functions.
3862 * gio/gasyncresult.c:
3864 Add guards to the public functions.
3867 Implement get_path().
3869 2007-11-06 Alexander Larsson <alexl@redhat.com>
3871 * gio/gfilenamecompleter.c:
3872 Make g_filename_completer_get_completions
3873 return char ** instead of GList for
3876 * docs/reference/gio/gio-docs.xml:
3877 * docs/reference/gio/gio-sections.txt:
3879 * gio/gasyncresult.c:
3880 * gio/gbufferedinputstream.c:
3881 * gio/gbufferedoutputstream.c:
3882 * gio/gcancellable.c:
3883 * gio/gcontenttype.c:
3884 * gio/gdatainputstream.c:
3885 * gio/gdataoutputstream.c:
3886 * gio/gdesktopappinfo.c:
3887 * gio/gdirectorymonitor.c:
3891 * gio/gfileattribute.c:
3892 * gio/gfileenumerator.c:
3895 * gio/gfileinputstream.c:
3896 * gio/gfilemonitor.c:
3897 * gio/gfilenamecompleter.c:
3898 * gio/gfilenamecompleter.h:
3899 * gio/gfileoutputstream.c:
3900 * gio/gfilterinputstream.c:
3902 * gio/ginputstream.c:
3904 * gio/gioscheduler.c:
3905 * gio/gloadableicon.c:
3906 * gio/glocaldirectorymonitor.c:
3908 * gio/glocalfileinputstream.c:
3909 * gio/glocalfilemonitor.c:
3910 * gio/glocalfileoutputstream.c:
3912 * gio/gmemoryinputstream.c:
3913 * gio/gmemoryoutputstream.c:
3914 * gio/gmountoperation.c:
3915 * gio/goutputstream.c:
3916 * gio/gpollfilemonitor.c:
3918 * gio/gsimpleasyncresult.c:
3919 * gio/gsocketinputstream.c:
3920 * gio/gsocketoutputstream.c:
3921 * gio/gthemedicon.c:
3922 * gio/gunionvolumemonitor.c:
3924 * gio/gunixmounts.c:
3925 * gio/gunixvolume.c:
3926 * gio/gunixvolumemonitor.c:
3930 * gio/gvolumemonitor.c:
3931 * gio/gwin32appinfo.c:
3932 Add (mostly stub) doc strings to public functions.
3933 Patch from Andrew Walton (awalton@gmail.com)
3935 2007-11-06 Alexander Larsson <alexl@redhat.com>
3937 * gio/gappinfo.[ch]:
3938 Added GAppLaunchContext object and pass that to launch.
3939 This allows simple implementation of both
3940 launch-on-screen and startup notification via a gtk+
3941 subclass of GAppLaunchContext
3943 * gio/gdesktopappinfo.c:
3944 Implement GAppLaunchContext API
3946 * gio/gwin32appinfo.c:
3949 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3951 * gio/gmountoperation.c:
3952 Add some guards to GMountOperation's public functions.
3954 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3958 * gio/gcancellable.c:
3959 * gio/gdirectorymonitor.c:
3961 * gio/gfileenumerator.c:
3962 * gio/gfilemonitor.c:,
3963 * gio/gfilenamecompleter.c:
3966 * gio/gioscheduler.c:
3970 * gio/gvolumemonitor.c:
3971 Add even more guards to various public functions.
3973 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3976 Add guards to the public functions of GAppInfo.
3978 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3980 * gio/gcontenttype.c:
3981 Add some more guards for public functions.
3983 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3985 * gio/fam/fam-module.c:
3986 * gio/fam/gfamdirectorymonitor.c:
3987 * gio/fam/gfamdirectorymonitor.h:
3988 * gio/fam/gfamfilemonitor.c:
3989 * gio/fam/gfamfilemonitor.h:
3990 * gio/inotify/ginotifydirectorymonitor.c:
3991 * gio/inotify/ginotifydirectorymonitor.h:
3992 * gio/inotify/ginotifyfilemonitor.c:
3993 * gio/inotify/ginotifyfilemonitor.h:
3994 Add proper copyright information and remove an unused variable
3995 in the GInotifyFileMonitor constructor.
3997 * gio/gcancellable.c:
3998 Add a guard for a public function and an assertion to prevent
3999 an undefined program state.
4001 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4003 * gio/gfileattribute.c:
4004 Don't run into an assertion if the given attribute value is NULL
4005 in g_file_attribute_value_get_*() but instead return a fallback
4006 value that makes sense in most situations. Passing them a attribute
4007 value with the wrong type will still run into an assertion.
4009 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4011 * gio/gfileattribute.c:
4013 Add even more guards to the public functions. Also fix the refcounting
4014 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4015 let g_file_info_list_attributes() filter the attributes by namespace
4016 instead of simply ignoring the namespace parameter.
4018 2007-11-03 Sven Herzberg <sven@imendio.com>
4020 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4021 (This makes gio work on MacOS X again)
4023 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4026 Build the gio subdirectory before the docs. Otherwise the build will
4029 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4030 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4031 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4032 Add guards to the public functions.
4034 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4036 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4037 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4038 to prevent a compiler warning.
4040 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4041 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4042 return something in the non-void function find_topdir_for().
4044 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4051 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4053 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4054 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4055 * gwin32appinfo.c (g_win32_app_info_launch):
4056 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4057 envp_for_startup_id, g_desktop_app_info_launch,
4058 g_desktop_app_info_launch_uris):
4060 Give an opaque 'startup_id' string instead of 'envp'.
4061 Support empty file lists for launching new windows.
4062 Fix infinite recursion bug when launching URIs.
4064 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4067 Add guard to the new g_file_get_uri_scheme() function.
4069 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4072 Convert a g_return_val_if_fail() to setting the GError instead as
4073 otherwise applications have to verify the parameter before otherwise
4074 and the parameter might come directly from the user.
4076 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4078 * gio/inotify/ginotify*.[ch]:
4079 Add missing copyright information.
4081 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4084 Add guards in the beginning of public functions to check for valid
4085 parameters and fix a bug in copy_stream_with_progress() that could've
4086 caused writing less bytes than reading.
4087 * gio/glocalfileinfo.c:
4088 Check for a NULL parameter and set the GError accordingly then.
4089 * gio/goutputstream.c:
4090 Fix the same bug as in gfile.c that could've caused writing less bytes
4091 than reading in g_output_stream_real_splice().
4093 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4096 Use the correct gvolumeprivate.h naming
4098 2007-11-01 Christian Kellner <gicmo@gnome.org>
4101 Remove leftover "$(daemon_sources)" entry.
4103 2007-11-01 Christian Kellner <gicmo@gnome.org>
4108 Add copyright information to source files.
4110 2007-11-01 Alexander Larsson <alexl@redhat.com>
4114 Add g_file_get_uri_scheme
4116 2007-11-01 Alexander Larsson <alexl@redhat.com>
4119 * gio/gdesktopappinfo.c:
4120 * gio/gwin32appinfo.c:
4121 Add g_app_info_get_default_for_uri_scheme.
4123 2007-11-01 Alexander Larsson <alexl@redhat.com>
4126 Correct filename for gdriveprivate.h
4128 2007-10-31 Alexander Larsson <alexl@redhat.com>
4131 Rename id:value to id:file
4134 * gio/glocalfileinfo.c:
4137 2007-10-31 Alexander Larsson <alexl@redhat.com>
4139 * gio/gunixvolume.c:
4141 Remove g_volume_get_platform_id, as thats not
4142 needed with the simpler union volume monitor
4144 2007-10-31 Alexander Larsson <alexl@redhat.com>
4147 * gio/guniondrive.[ch]: Removed.
4148 * gio/gunionvolume.[ch]: Removed.
4149 Remove GUnionDrive/Volume
4151 * gio/gunionvolumemonitor.c:
4152 Simplify union volume monitor, now we
4153 only have one native volume monitor and
4154 we use the actual volumes/drives from the
4155 child monitors instead of wrapping them
4157 * gio/gnativevolumemonitor.[ch]:
4158 Base class for native volume monitors.
4159 Includes priority and get_volume_for_mountpoint
4162 Add g_file_find_enclosing_volume
4165 Remove volume name fs attribute
4166 Add readonly fs attribute
4169 Implement readonly attribute
4170 remove volume name attribute
4171 Implement find_enclosing volume
4173 * gio/gunixmounts.c:
4174 Add a volume for "/".
4176 * gio/gunixvolume.[ch]:
4177 Set better name for /
4179 * gio/gunixvolumemonitor.[ch]:
4180 Derive from GNativeVolumeMonitor
4181 Implement get_volume_for_mountpoint
4184 GVolume typedef moved to gfile.h
4186 * gio/gvolumeprivate.h:
4187 Add g_volume_get_for_mount_path
4189 2007-10-31 Alexander Larsson <alexl@redhat.com>
4191 * gio/gunixmounts.[ch]:
4192 Add cache info to unix mount listers
4193 Make getmntent use threadsafe
4194 Add is_system_internal attribute for GUnixMount
4196 * gio/gunixvolume.c:
4197 (g_unix_volume_new):
4198 Use is_system_internal instead of own code
4200 * gio/glocaldirectorymonitor.c:
4201 * gio/gunixvolumemonitor.c:
4202 Update to new gunixmounts API
4207 2007-10-30 Alexander Larsson <alexl@redhat.com>
4210 Add volume name fsinfo attribute
4213 Read volume name info
4215 * gio/gunionvolumemonitor.c:
4216 Fix infinite loops when finalizing a union volume monitor
4218 2007-10-30 Alexander Larsson <alexl@redhat.com>
4220 * gio/goutputstream.[ch]:
4221 Add splice() with default implementation
4223 * gio/gsocketoutputstream.c:
4224 (g_socket_output_stream_write):
4225 Return error on cancellation correctly.
4227 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4229 * gio/glocalfile.c (g_local_file_trash):
4230 Do not leak a string.
4232 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4234 * gio/gfile.c (g_file_load_contents):
4235 Unref the stream after closing it.
4237 2007-10-25 Alexander Larsson <alexl@redhat.com>
4239 * gio/gioscheduler.h:
4242 2007-10-25 Alexander Larsson <alexl@redhat.com>
4246 Add g_file_has_uri_scheme and implement for local files
4248 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4250 * gio/gdesktopappinfo.c: do not leak a string.
4252 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4254 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4255 (g_local_directory_monitor_new):
4256 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4257 (g_local_file_monitor_new):
4258 Only look for the monitor type that should be used the first time
4259 and use g_qsort_with_data() instead of our own bubble sort
4262 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4265 * gio/fam/Makefile.am:
4266 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4267 * gio/fam/fam-helper.h:
4268 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4269 * gio/fam/gfamdirectorymonitor.c:
4270 * gio/fam/gfamdirectorymonitor.h:
4271 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4272 * gio/fam/gfamfilemonitor.h:
4273 * gio/glocaldirectorymonitor.c:
4274 * gio/glocaldirectorymonitor.h:
4275 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4276 * gio/glocalfilemonitor.h:
4277 * gio/inotify/Makefile.am:
4278 * gio/inotify/ginotifydirectorymonitor.c:
4279 * gio/inotify/ginotifydirectorymonitor.h:
4280 * gio/inotify/ginotifyfilemonitor.c:
4281 * gio/inotify/ginotifyfilemonitor.h:
4282 Implement the FAM and Inotify monitors as
4283 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4284 their own GIO module. GLocal(Directory|File)Monitor will use the
4285 monitor with the highest rank that is supported on that machine.
4287 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4290 Change GIO module dir to $(libdir)/gio/modules and change
4291 the log domain from GVFS to GIO. Also only export symbols starting
4292 with g_ in the resulting library.
4293 * gio/test-streams.c: (main):
4294 Set log handler for the GIO log domain.
4296 2007-10-22 Alexander Larsson <alexl@redhat.com>
4298 * gio/gfilenamecompleter.[ch]:
4299 Add g_filename_completer_set_dirs_only
4301 2007-10-22 Alexander Larsson <alexl@redhat.com>
4304 * gio/gurifuncs.[ch]:
4305 Add some simple URI helpers
4307 * gio/gfilenamecompleter.[ch]:
4308 Added object for filename (parse name actually) completion
4311 Handle ~ in parse names
4313 2007-10-17 Alexander Larsson <alexl@redhat.com>
4316 * gio/glocalfileinfo.c:
4317 Add and implement id:value attribute
4319 2007-10-17 Alexander Larsson <alexl@redhat.com>
4322 * gio/guniondrive.c:
4324 Add and implement g_drive_has_volumes
4326 2007-10-17 Alexander Larsson <alexl@redhat.com>
4329 * gio/glocalfileinfo.[ch]:
4330 Add unix:is_mountpoint and implement for local files
4332 2007-10-16 Alexander Larsson <alexl@redhat.com>
4334 * gio/gunionvolumemonitor.c:
4335 (g_union_volume_monitor_init):
4336 Fix up the unix type getting so that it works with gcc
4338 2007-10-12 Alexander Larsson <alexl@redhat.com>
4341 * gio/glocalfileinfo.c:
4342 Add thumbnail:failed to file info
4344 2007-10-12 Richard Hult <richard@imendio.com>
4346 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4347 optimizing away the get_type call (happens with some gcc versions,
4348 like the one shipped with OS X 10.4).
4350 2007-10-12 Alexander Larsson <alexl@redhat.com>
4352 * gio/glocalfileinfo.c:
4353 (_g_local_file_info_set_attribute):
4354 Fix build if not HAVE_XATTR
4355 Patch from Milosz Derezynski <internalerror@gmail.com>
4357 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4359 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4360 around for review, otherwise I would have asked you before
4363 2007-10-11 Alexander Larsson <alexl@redhat.com>
4366 Add thumbnail:path attribute
4368 * gio/glocalfileinfo.c:
4369 Implement thumbnail:path for local files
4371 2007-10-11 Alexander Larsson <alexl@redhat.com>
4373 * gio/glocalfileinfo.c:
4374 (_g_local_file_info_get):
4375 Avoid duplicate icon names
4377 2007-10-11 Alexander Larsson <alexl@redhat.com>
4379 * gio/gthemedicon.[ch]:
4380 Change g_themed_icon_get_names return type to const
4382 2007-10-10 Alexander Larsson <alexl@redhat.com>
4384 * gio/glocalfileinfo.c:
4385 Don't reference freed memory
4387 2007-10-10 Alexander Larsson <alexl@redhat.com>
4389 * gio/gfileattribute.c:
4392 * gio/glocalfileinfo.c:
4395 2007-10-10 Alexander Larsson <alexl@redhat.com>
4398 Check for NULL icons
4400 * gio/gfileattribute.c:
4401 Don't dup when getting objects (same as for string attributes)
4403 * gio/gicon.c (g_icon_equal):
4404 Safely handle NULLs in equal
4406 2007-10-10 Alexander Larsson <alexl@redhat.com>
4409 Fix c++ compilation issues
4410 Patch from Milosz Derezynski <internalerror@gmail.com>
4412 2007-10-10 Alexander Larsson <alexl@redhat.com>
4414 * programs/gio-monitor-dir.c:
4415 Don't crash if dir monitor not supported.
4417 2007-10-09 Alexander Larsson <alexl@redhat.com>
4420 Add missing G_END_DECLS
4422 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4424 * gio/gfile.c: (g_file_set_display_name),
4425 (g_file_query_settable_attributes),
4426 (g_file_query_writable_namespaces):
4427 Return NULL not FALSE on errors as the return type is a pointer.
4429 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4431 * gio/glocalfile.c: (g_local_file_monitor_file):
4432 Don't call monitor_file on the default interface vtable (which
4433 is NULL) but simply return NULL. The caller, GFile, will create a
4434 polling monitor if NULL is returned.
4436 2007-10-09 Alexander Larsson <alexl@redhat.com>
4440 * gio-unix-2.0.pc.in:
4441 Add gio-unix-2.0.pc if OS_UNIX
4444 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4446 2007-10-09 Alexander Larsson <alexl@redhat.com>
4448 * gio/gunixmounts.[ch]:
4449 Make unix mount monitoring API sane.
4450 Now its just a object with mounts_changed
4451 and mountpoints_changed signals.
4453 * gio/glocaldirectorymonitor.c:
4454 * gio/gunixvolumemonitor.c:
4455 Use new mount monitor api
4457 2007-10-09 Alexander Larsson <alexl@redhat.com>
4459 * gio/gunixmounts.[ch]:
4460 Move guess type into one call for mounts and one for mountpoints
4463 * gio/gunixvolume.c:
4466 2007-10-09 Alexander Larsson <alexl@redhat.com>
4468 * gio/gunixmounts.[ch]:
4469 Remove _ prefix in preparation to make this semi-public
4470 Hide implementation of structs
4472 * gio/glocaldirectorymonitor.c:
4474 * gio/gunixvolume.c:
4475 * gio/gunixvolumemonitor.c:
4476 Update for above API changes
4478 2007-10-08 Alexander Larsson <alexl@redhat.com>
4481 Better polling fallback. This also handles the case where we have
4482 a monitor_file implementation, but it fails.
4484 2007-10-08 Alexander Larsson <alexl@redhat.com>
4488 * gio/gunixmounts.c:
4489 * programs/gio-monitor-dir.c:
4490 * programs/gio-monitor-file.c:
4491 Added cancellable to file monitoring calls.
4492 These are really sync calls and need this.
4494 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4496 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4497 (g_local_vfs_class_init):
4498 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4499 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4501 2007-10-05 Alexander Larsson <alexl@redhat.com>
4503 * gio/gdirectorymonitorprivate.h:
4504 * gio/gfilemonitorprivate.h:
4505 * gio/gdirectorymonitor.h:
4506 * gio/gfilemonitor.h:
4507 Remove *private.h and move to the public API, so that
4508 we can do implementations outside gio (such as in gvfs)
4510 * gio/gdirectorymonitor.c:
4511 * gio/gfilemonitor.c:
4512 * gio/glocaldirectorymonitor.c:
4513 * gio/gpollfilemonitor.c:
4514 * gio/inotify/inotify-helper.c:
4515 * gio/fam/fam-helper.c:
4516 Update to the new header names
4518 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4520 * gio/gdirectorymonitor.c:
4521 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4524 2007-10-04 Alexander Larsson <alexl@redhat.com>
4526 * gio/glocalfileinfo.c (get_access_rights):
4527 Set CAN_TRASH when we can move the file.
4528 We should really also check for a parent trash dir.
4530 2007-10-04 Alexander Larsson <alexl@redhat.com>
4532 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4533 Add can_trash access attribute
4535 2007-10-04 Alexander Larsson <alexl@redhat.com>
4538 (g_local_file_trash):
4539 Create info file first. This is per-spec and allows
4540 us to actually trash directories.
4542 2007-10-02 Alexander Larsson <alexl@redhat.com>
4544 * gio/gdesktopappinfo.c:
4545 Implement the new mime support code.
4546 Always set app as handling mimetype when being set as default for it
4548 2007-10-01 Alexander Larsson <alexl@redhat.com>
4550 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4551 Fix up check for xattrs:
4553 2007-10-01 Alexander Larsson <alexl@redhat.com>
4556 (g_app_info_set_as_default_for_extension):
4557 (g_app_info_add_supports_type):
4558 (g_app_info_can_remove_supports_type):
4559 (g_app_info_remove_supports_type):
4560 Make these fail nicely if not implemented
4562 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4564 * gio/glocalfileoutputstream.c:
4565 * gio/glocalfileoutputstream.h:
4570 * programs/gio-save.c:
4571 Add a GFileCreateFlags argument to operations that can create
4574 2007-10-01 Alexander Larsson <alexl@redhat.com>
4576 * gio/gappinfo.[ch]:
4577 * gio/gdesktopappinfo.c:
4578 Add more (stubbed out) mime API needed for nautilus
4580 2007-10-01 Alexander Larsson <alexl@redhat.com>
4583 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4584 Add g_app_info_set_as_default_for_extension.
4586 * gio/gdesktopappinfo.c:
4587 Dummy for g_app_info_set_as_default_for_extension
4588 Support flags in g_app_info_create_from_commandline
4590 * gio/gwin32appinfo.c:
4592 Update for API changes
4594 * gio/gthemedicon.c:
4595 Properly NULL-terminate list of icon names
4597 2007-09-28 Alexander Larsson <alexl@redhat.com>
4599 * gio/gloadableicon.h:
4600 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4602 2007-09-28 Alexander Larsson <alexl@redhat.com>
4605 Install headers in $includedir/gio-standalone/
4607 * gio-2.0.pc.in: Added.
4608 * gio-standalone.pc.in: Removed.
4611 Renamed pkg-config file to match glib (for future move)
4612 Update to the new include dir
4615 Add more TODO comments
4617 2007-09-28 Alexander Larsson <alexl@redhat.com>
4619 * gio/gdesktopappinfo.[ch]:
4620 Expose new_from_filename
4621 Add getter for is_hidden and handle it better
4623 2007-09-28 Alexander Larsson <alexl@redhat.com>
4625 * gio/gfileinfo.[ch]:
4626 Rename g_file_size_format_for_display to
4627 g_format_file_size_for_display.
4628 Now it doesn't have the g_file prefix, so we
4629 can later move it to glib.
4631 2007-09-28 Alexander Larsson <alexl@redhat.com>
4633 * gio/gappinfo.[ch]:
4634 Add g_app_info_get_id and g_app_info_get_executable.
4635 Make all getters non-reffing
4636 Make g_app_info_launch take GFile arguments.
4637 Add must_support_uris argument to g_app_info_get_default_for_type.
4639 * gio/gwin32appinfo.c:
4640 Update to GAppInfo api changes
4642 * gio/gdesktopappinfo.c:
4643 Update to GAppInfo api changes
4644 Implement supports_xdg_startup_notify
4646 * gio/gfileicon.c (g_file_icon_get_file):
4647 Make getter non-reffing.
4652 2007-09-27 Alexander Larsson <alexl@redhat.com>
4654 * gio/gfileinfo.[ch]:
4655 Add g_file_size_format_for_display helper
4657 2007-09-27 Alexander Larsson <alexl@redhat.com>
4659 * gio/glocalfileinfo.c:
4660 Set UNIX_GID from gid, not from uid
4662 2007-09-27 Alexander Larsson <alexl@redhat.com>
4665 Add g_file_set_attributes_async
4667 2007-09-27 Alexander Larsson <alexl@redhat.com>
4669 * gio/glocalfile.c (g_local_file_set_display_name):
4670 Fix set_display_name to actually rename to the right place.
4671 Use lstat to look for existing files so we don't overwrite
4674 2007-09-26 Alexander Larsson <alexl@redhat.com>
4677 Add g_file_set_display_name_async()
4679 2007-09-26 Alexander Larsson <alexl@redhat.com>
4682 Add load_partial_contents async calls
4685 Make internal function static
4687 2007-09-26 Alexander Larsson <alexl@redhat.com>
4689 * gio/glocalfileinfo.c:
4690 Correctly detect broken symlinks
4692 2007-09-26 Alexander Larsson <alexl@redhat.com>
4694 * gio/gcancellable.c (g_cancellable_cancel):
4695 Allow cancel on NULL cancellable
4697 2007-09-25 Alexander Larsson <alexl@redhat.com>
4699 * gio/gsimpleasyncresult.c:
4700 Don't allocate g_error manually.
4701 Fixes g_slice/g_new mixup crash
4703 2007-09-25 Alexander Larsson <alexl@redhat.com>
4705 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4706 Actually set active_backend.
4707 This means the monitor will be cancelled correctly.
4709 2007-09-25 Alexander Larsson <alexl@redhat.com>
4711 * gio/gdirectorymonitor.c:
4712 Set timeout to NULL when destroying
4714 2007-09-25 Alexander Larsson <alexl@redhat.com>
4717 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4718 that is a better description of the error.
4720 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4722 * gio/gvfs.c: (g_vfs_get_local):
4723 Make the local vfs variable static. The same instance should
4726 2007-09-24 Alexander Larsson <alexl@redhat.com>
4728 * gio/glocalfileinfo.c:
4729 Pass in actual length read into sniffer, not the length
4732 2007-09-21 Alexander Larsson <alexl@redhat.com>
4734 * gio/gfileenumerator.c:
4737 * gio/gfileinputstream.c:
4738 * gio/gfileoutputstream.c:
4739 * gio/ginputstream.c:
4740 * gio/goutputstream.c:
4741 Don't crash if async callbacks are NULL
4743 2007-09-20 Alexander Larsson <alexl@redhat.com>
4746 Add async enumerate_children method and default
4749 2007-09-20 Alexander Larsson <alexl@redhat.com>
4752 Add g_file_contains_file & g_file_get_relative_path, since they
4753 were needed for nautilus.
4754 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4759 Implement new methods
4761 2007-09-17 Alexander Larsson <alexl@redhat.com>
4764 * gio/gfileinputstream.[ch]:
4765 * gio/gfileoutputstream.[ch]:
4767 * gio/glocalfileenumerator.[ch]:
4768 * gio/glocalfileinfo.[ch]:
4769 * gio/glocalfileinputstream.c:
4770 * gio/glocalfileoutputstream.c:
4771 * gio/gpollfilemonitor.c:
4772 * programs/gio-copy.c:
4773 * programs/gio-info.c:
4774 * programs/gio-move.c:
4775 Rename get_file_info to query_info() to make it clearer
4776 that these are not simple getters, but do i/o.
4778 2007-09-17 Alexander Larsson <alexl@redhat.com>
4780 * gio/gdatainputstream.[ch]:
4781 * gio/test-streams.c:
4782 Use _read_XXX instead of _get_XXX for the i/o calls
4785 2007-09-17 Alexander Larsson <alexl@redhat.com>
4788 Added needed stuff to TODO comment
4790 2007-09-17 Alexander Larsson <alexl@redhat.com>
4792 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4793 Don't error out removing the backup copy if it doesn't
4796 2007-09-14 Alexander Larsson <alexl@redhat.com>
4798 * programs/Makefile.am:
4799 * programs/gvfs-*.c:
4801 Renamed apps from gvfs-xxx to gio-xxx.
4803 2007-09-14 Alexander Larsson <alexl@redhat.com>
4806 * gio/gfileoutputstream.[ch]:
4807 * gio/glocalfileoutputstream.c:
4808 * programs/gvfs-save.c:
4809 g_file_output_stream_get_etag doesn't do i/o, so remove
4810 cancellation and error.
4812 2007-09-14 Alexander Larsson <alexl@redhat.com>
4815 Add new_etag output to replace_contents functions
4817 2007-09-14 Alexander Larsson <alexl@redhat.com>
4819 * gio/gfileoutputstream.[ch]:
4820 Add async get_file_info and default implementation
4822 2007-09-14 Alexander Larsson <alexl@redhat.com>
4824 * gio/gfileinputstream.c:
4825 Implement fallback wrapper for async get_file_info
4827 2007-09-14 Alexander Larsson <alexl@redhat.com>
4830 Add etag out argument to load_contents
4835 2007-09-14 Alexander Larsson <alexl@redhat.com>
4837 * gio/gcontenttype.c (looks_like_text):
4838 Whitespace like tab, cr and lf do not make the
4841 2007-09-14 Alexander Larsson <alexl@redhat.com>
4843 * gio/gfileinputstream.[ch]:
4844 Add async get_file_info.
4846 2007-09-13 Alexander Larsson <alexl@redhat.com>
4848 * gio/goutputstream.c (g_output_stream_write_all):
4849 Allow NULL for bytes_written
4851 2007-09-13 Alexander Larsson <alexl@redhat.com>
4853 * gio/gmemoryinputstream.[ch]:
4854 Add accessors for data
4856 2007-09-13 Alexander Larsson <alexl@redhat.com>
4858 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4859 Don't crash if length is NULL