- 06 Jul, 2009 10 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
This reverts commit 2262d76b. Move GIO tests back to where they belong.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
David Zeuthen authored
For details, see bug 587482. The new api: - Provide new _with_operation() variants of all unmount and eject methods - Add GMountOperation::show-processes signal - this can be used to show processes blocking an unmount operation - Deprecate all unmount and eject methods - Add g_drive_can_start_degraded() method - this is to avoid auto-starting degraded drives - Make g_drive_stop() resp. g_file_stop_mountable() take a GMountOperation - these ops were recently added and not yet public API so it's fine to change how they work - Provide a way to poll mountable files, e.g. g_file_poll_mountable() - Add some missing file attributes for mountable files - G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE - needed for the GDU Nautilus extensions to format a volume - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: - mimics g_drive_can_start_degraded() - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: - mimics g_drive_can_poll_for_media() - G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC - mimics g_drive_is_media_check_automatic()
-
- 05 Jul, 2009 2 commits
-
-
Benjamin Otte authored
- make this function not crash when cancellable is NULL - avoid locking when the cancellable has already been cancelled
-
Yaron Shahrabani authored
-
- 03 Jul, 2009 2 commits
-
-
Christian Persch authored
Move man page addition to the right place. Bug #587307.
-
Christian Persch authored
Since @filename@ contains the full filename as given to the glib-mkenum command, possibly including path elements (e.g. when using a non-srcdir build), it is unsuitable to use in a #include statement in the generated file if one wants to distribute it. This patch adds @basename@ which expands to the base name of the input filename. Bug #587307.
-
- 02 Jul, 2009 1 commit
-
-
Mattias Põldaru authored
-
- 01 Jul, 2009 5 commits
-
-
Dan Winship authored
g_simple_async_result_complete() now checks that it's being run from the correct main loop, so tests/gio/simple-async-result was failing, because it called it from outside any main loop. (And gio's pltcheck was failing because I hadn't added g_main_current_source() to it.)
-
Benjamin Otte authored
This avoids getting tests built every time when working on libgio and running make in the gio/ directory.
-
Dan Winship authored
GFile allows for the possibility that external implementations may not support thread-default contexts yet, via g_file_supports_thread_contexts(). GVolumeMonitor is not yet thread-default-context aware. Add a test program to verify that basic gio async ops work correctly in non-default contexts. http://bugzilla.gnome.org/show_bug.cgi?id=579984
-
Dan Winship authored
This allows applications to use async methods from other threads, or in multiple independent main loops. http://bugzilla.gnome.org/show_bug.cgi?id=579984
-
Dan Winship authored
(in preparation for thread-default context support)
-
- 30 Jun, 2009 5 commits
-
-
Dan Winship authored
-
Dan Winship authored
Previously, re-setting the pointer value would cause the old GDestroyNotify to be lost; now it causes it to be run. http://bugzilla.gnome.org/show_bug.cgi?id=587415
-
Benjamin Otte authored
make this test not only compile, but also run successfully with mad CFLAGS.
-
Benjamin Otte authored
I missed one s/tmpfile/tmp_file/ which caused crashes.
-
Dan Winship authored
Currently, to implement cancellability correctly, all synchronous calls to GSocket must be preceded by a g_socket_condition_wait() call, (even though GSocket does this internally as well) and all asynchronous calls must do occasional manual g_cancellable_is_cancelled() checks. Since it's trivial to do these checks inside GSocket instead, and we don't particularly want to encourage people to use the APIs non-cancellably, move the cancellation support into GSocket and simplify the existing callers. http://bugzilla.gnome.org/show_bug.cgi?id=586797
-
- 29 Jun, 2009 7 commits
-
-
Benjamin Otte authored
complained about by -Wall
-
Benjamin Otte authored
-
Benjamin Otte authored
This patch and the previous ones fixes the performance issues noted in Bug 587089 – lookup_attribute() takes too much CPU It increases performance for querying attributes by ~15% in my tests.
-
Benjamin Otte authored
-
Benjamin Otte authored
attribute ids are generated when the attribute hash is initialized. This way we can guarantee that the ids match every time.
-
Benjamin Otte authored
-
Benjamin Otte authored
-
- 28 Jun, 2009 1 commit
-
-
Christian Dywan authored
'-h' is the preferred short version of '--help' now and displayed in '--help' but for backwards compatibility '-?' is still supported. If existing code uses '-h' for something else, GOptionContext will not override it. Fixes bug 556706.
-
- 27 Jun, 2009 4 commits
-
-
Jani Monoses authored
Put space before ending semicolon in for(;;) ; to avoid C++ build warnings. Closes bug 586928.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Tom Parker authored
g_filename_complete_get_completions() return value is meant to be a g_strfreev-compatible array i.e. NULL-terminated. However, pointer arrays aren't automagically NULL-terminated. This fixes bug 586868
-
- 26 Jun, 2009 1 commit
-
-
Ivar Smolin authored
-
- 25 Jun, 2009 2 commits
-
-
Alexander Larsson authored
This is used to unset an attribute in g_file_set_attributes_from_info.
-
Matthias Clasen authored
-