- Nov 05, 2013
-
-
Allison Karlitskaya authored
wip
-
Allison Karlitskaya authored
wip
-
- Oct 30, 2013
-
-
Allison Karlitskaya authored
wip
-
- Oct 29, 2013
-
-
Allison Karlitskaya authored
We had a GApplication testcase that handled both open and commandline. This only way that this worked was by implementing the commandline handler without actually setting the HANDLES_COMMAND_LINE flag. This behaviour is now invalid, so just rip out the offending part of the test. https://bugzilla.gnome.org/show_bug.cgi?id=711099
-
Xavier Claessens authored
If the goal is to make sure we don't have a dbus connection, it has to call g_test_dbus_unset() instead which is much more complete. In this case, g_test_dbus_unset() is called already, so it should be fine. https://bugzilla.gnome.org/show_bug.cgi?id=697348
-
Xavier Claessens authored
g_test_dbus_unset() now also unset DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE. https://bugzilla.gnome.org/show_bug.cgi?id=697348
-
Xavier Claessens authored
This is to avoid having again the subtil bug in dbus-appinfo.c: session_bus_down() was called before g_test_run() so the test was running on the user's dbus session. https://bugzilla.gnome.org/show_bug.cgi?id=697348
-
This is distilled from PackageKit which currently aborts on startup. https://bugzilla.gnome.org/show_bug.cgi?id=665634
-
Allison Karlitskaya authored
Make sure that if we ignore a tag then we also clear the attributes that we already collected so that they don't end up on the next unignored tag opening. Also add some extra brackets for clarity (it doesn't make any difference -- I just think it reads nicer this way). https://bugzilla.gnome.org/show_bug.cgi?id=665634
-
Lars Uebernickel authored
A reference to the session bus is now stored in GNotificationBackend. Remove the extraneous one in the gtk backend and stop using it in withdraw_notification. https://bugzilla.gnome.org/show_bug.cgi?id=711051
-
-
Don't hold the lock when calling the user's callback during g_cancellable_connect() for the case that the cancellable has already fired. Taken from a patch by Alex Larsson. Doc updates from Colin Walters. https://bugzilla.gnome.org/show_bug.cgi?id=705395
-
Chun-wei Fan authored
snprintf() is unfortunately still not universally available, so use g_snprintf() to ensure the build works on all platforms. https://bugzilla.gnome.org/show_bug.cgi?id=711049
-
Chun-wei Fan authored
The two casts that were unsupported with Visual Studio is now properly supported, so build this code like how the other compilers build the code.
-
Allison Karlitskaya authored
list_schemas() had the parameters called 'recursive' and 'non-recursive' in the header instead of 'relocatable'. Fix that.
-
Allison Karlitskaya authored
If someone calls org.gtk.Actions.Describe on a non-existent action then return an exception instead of a trivial description (disabled, no state, etc.). https://bugzilla.gnome.org/show_bug.cgi?id=687185
-
Allison Karlitskaya authored
If someone calls org.gtk.Actions.Describe on a non-existent action then return an exception instead of a trivial description (disabled, no state, etc.). https://bugzilla.gnome.org/show_bug.cgi?id=687185
-
Allison Karlitskaya authored
g_object_set() allowed us to bypass the usual checks that the state doesn't change type and also leaked. Fix that up by turning the state into a construct property (so that it always gets set once during construction, even if only to NULL) and then route the further sets through the C API so that they are subject to the same checks. https://bugzilla.gnome.org/show_bug.cgi?id=696424
-
- Oct 28, 2013
-
-
Allison Karlitskaya authored
Ignore qualified (in the XML namespace sense) tags and attributes when compiling GSettings schemas. This will allow people to add custom tags and attributes to their schemas without tripping up the compiler. https://bugzilla.gnome.org/show_bug.cgi?id=635641
-
Allison Karlitskaya authored
Ignore qualified (in the XML namespace sense) tags and attributes when parsing D-Bus introspection XML. This will allow people to add custom tags and attributes to their D-Bus interfaces without tripping up GDBus. https://bugzilla.gnome.org/show_bug.cgi?id=665634
-
Allison Karlitskaya authored
Add a case to markup-collect that exercises the new IGNORE_QUALIFIED flag. https://bugzilla.gnome.org/show_bug.cgi?id=665634
-
Allison Karlitskaya authored
Add a flag to GMarkupParserFlags to ignore qualified tags (along with their contents) and attributes. This will provide a nice way for some of our parsers (GDBus introspection, GSettings schema, etc) to ignore additional tags that users have added to their files, under a different namespace. https://bugzilla.gnome.org/show_bug.cgi?id=665634
-
Allison Karlitskaya authored
The code for dealing with </foo> and the second half of <foo/> was largely duplicated. We can share a lot of it by using a common function. This slightly changes the behaviour of the parser under error circumstances: previously the parser would deal with '<foo/}' by first issuing the end_element callback and then flagging the error due to the unexpected character. Now we will flag the unexpected character error first, skipping the callback. This behaviour change required modifying the testsuite. https://bugzilla.gnome.org/show_bug.cgi?id=665634
-
Stef Walter authored
Debug messages are meant to give insight into how a process is proceeding, and are unpredictable in nature. They also often have line numbers in them. This patch ignores debug messages in g_test_assert_expected_messages(). https://bugzilla.gnome.org/show_bug.cgi?id=710991
-
Allison Karlitskaya authored
Obvious mistake :(
-
Allison Karlitskaya authored
Stop using the recently-deprecated GSettings APIs. Use the GSettingsSchema-based APIs instead. This fixes a number of bugs and also a net reduction of code. In particular, list-schemas will now work in context of a given --schemadir argument. https://bugzilla.gnome.org/show_bug.cgi?id=695558
-
Allison Karlitskaya authored
The number of arguments passed to each function is about to increase, so just use global variables instead. This is a commandline tool, after all... https://bugzilla.gnome.org/show_bug.cgi?id=695558
-
Allison Karlitskaya authored
Add g_settings_schema_has_key() and _get_range(), _range_check(), _get_value_type(), _get_default_value() methods on GSettingsSchemaKey. Deprecate the equivalent APIs on GSettings. https://bugzilla.gnome.org/show_bug.cgi?id=683017
-
Allison Karlitskaya authored
dconf needs the new version with read_user_value() on the backend API.
-
Allison Karlitskaya authored
Add two new APIs: g_settings_get_user_value() and g_settings_get_default_value(). Together, these should allow the inspection of all interesting cases of "is this key set?" and "what would happen if I reset this key?" https://bugzilla.gnome.org/show_bug.cgi?id=668233
-
Allison Karlitskaya authored
Add two boolean parameters to our internal getter utility function in anticipation of the coming addition of g_settings_get_user_value() and g_settings_get_default_value() APIs. https://bugzilla.gnome.org/show_bug.cgi?id=668233
-
Allison Karlitskaya authored
This will get the 'user' value from the database (ie: the one that the user has control over). Provide a default implementation that chains to ->read(). That will work for all of our internal backends which don't have a concept of layering or lockdown. The delayed backend implments "user value" by returning anything that's in the changeset (incuding an explicit NULL) or chaining up otherwise. We will use this for g_settings_get_user_value(). https://bugzilla.gnome.org/show_bug.cgi?id=668233
-
Philip Withnall authored
RESOLVER_LIBADD was not defined anywhere (its functionality has migrated to NETWORK_LIBS instead).
-
Code generated by gdbus-codegen should neither be checked in into revision control, nor should be distributed. https://bugzilla.gnome.org/show_bug.cgi?id=710133
-
Make it explicit, to avoid changes that could potentially lead to breakage in user code. https://bugzilla.gnome.org/show_bug.cgi?id=710133
-
The G_ADD_PRIVATE() macro, and the auto-generated get_instance_private() internal function, should be used conditionally depending on the maximum allowed version of GLib, as defined by the GLIB_VERSION_MAX_ALLOWED pre-processor symbol. This allows generating code that can be compiled in projects that wish to use an older API version of GLib through the use of the GLIB_VERSION_MAX_ALLOWED symbol. https://bugzilla.gnome.org/show_bug.cgi?id=710133
-
Allison Karlitskaya authored
Prevent a crash in the case that gvdb_table_list() returns NULL (ie: because a schema has no keys). Stop a memory leak caused by pointlessly stealing keys from a hashtable (after we quarked them already). Stop allocating an extra entry at the end of an array for a terminator (that we never wrote anyway) when all functions using this API refer to the out-parameter length array. https://bugzilla.gnome.org/show_bug.cgi?id=711016
-
Matthias Clasen authored
The fdo backend was sending a uri where a file path was expected.
-
Stef Walter authored
This allows GTlsConnection implementations to request a certificate from the user. Fix ups by Dan Winship <danw@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=637257
-
Ignore the keyfile being deleted (ie: by the user) instead of reporting it to the application as all values being reverted back to their originals. https://bugzilla.gnome.org/show_bug.cgi?id=637956
-