summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-03Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com>Žygimantas Beručka1-120/+158
2010-10-03gsettings-tool: RewriteRyan Lortie2-700/+405
Rewrite the GSettings tool. Improvements/changes: - simplify the code by performing common actions (like creating a schema) in only one place instead of one per-command - new features (list schemas, list keys, monitor multiple, etc) - factor-out bash completion and implement in shellscript - input validation: should never abort due to invalid inputs Still to do: - proper error checking for ranges/choices - support for querying range/choice information - bash completion support for enums Closes bug #629289, possibly among others.
2010-10-03GSettings: implement .property_get('path')Ryan Lortie1-0/+4
This was unimplemented in g_settings_get_property(), leading to a failed 'g_assert_not_reached()'.
2010-10-02Add 'Since:' tags for schema listing APIsRyan Lortie1-0/+4
2010-10-02Clean up g_settings_list_schemas()Ryan Lortie4-32/+103
In its previous form, g_settings_list_schemas() was not useful as a tool to prevent aborts due to using g_settings_new() with an invalid schema name. This is because g_settings_list_scheams() also listed relocatable schemas, and calling g_settings_new() for those would abort just the same as if you called it for a non-existent schema. Modify g_settings_list_schemas() so that it only returns schemas for which it is safe to call g_settings_new(). Add another call for sake of completeness: g_settings_list_relocatable_schemas().
2010-10-02Updated Bulgarian translationDamyan Ivanov1-48/+95
2010-10-01Improve .gitignoreRyan Lortie1-0/+1
2010-10-01Bug 628937 - gracefully handle broken schemasRyan Lortie1-38/+83
Implement the second feature requested in the bug: silently ignore override files that attempt to override schemas that are not currently installed. Also, support 'strictness' being optional for other errors when parsing override files (ie: inability to open the file, unknown key name, parse errors, out of range). We don't completely back out the file in this case — as that is difficult with the current implementation — but just ignore the override for the single key.
2010-10-01glib-compile-schemas: improve error accuracyRyan Lortie1-3/+4
We wrote "<enum> must contain at least one <value>" for empty <flags>. Fix that.
2010-10-01Bug 628937 - gracefully handle broken schemasRyan Lortie2-18/+72
Implement the first of two features requested in the bug: when encountering a broken .xml schema file, back out the changes in that file and continue to parse other files. This prevents a single broken .xml file from messing up GSettings for everyone else. Add a --strict option to get the old behaviour. Use this from the test cases.
2010-10-01Bug 630077 - GDateTime week number supportRyan Lortie5-48/+239
Fully implement support for ISO 8601 week dates in GDateTime and document that this is the case. Add an exhaustive test case to ensure correctness.
2010-09-30message_to_write_data_free: Don't unref data->message if it is NULLMatthias Clasen1-1/+2
After the recent changes to message filtering, it can happen that data->message is NULL when we get here.
2010-09-30l10n: Updated Greek translation for glibGiannis Katsampirhs1-3700/+3835
2010-09-29Updated Polish translationPiotr Drąg1-848/+794
2010-09-29introspection: Fix one annotation syntaxColin Walters1-1/+1
2010-09-29Updated Hungarian translationGabor Kelemen1-322/+310
2010-09-29Updated French translationBruno Brouard1-74/+116
2010-09-29Update Czech translationPetr Kovar1-431/+563
2010-09-28Updated Slovenian translationPeter Kragelj1-109/+109
2010-09-28Updated Galician translationsFran Diéguez1-250/+305
2010-09-28Updated Slovenian translationPeter Kragelj1-3/+3
2010-09-28Updated Slovenian translationPeter Kragelj1-315/+308
2010-09-28Updated Lithuanian translation (thanks Aurimas Cernius).Gintautas Miliauskas1-262/+307
2010-09-27[i18n] Updated German translationMario Blättermann1-271/+311
2010-09-27Updated Brazilian Portuguese translationFabrício Godoy1-899/+1588
2010-09-27Updated Bulgarian translationDamyan Ivanov1-818/+1570
2010-09-26clean up g_date_time_get_week_day()Ryan Lortie1-21/+3
No functionality changes here. Vastly simplify the algorithm for calculating the day of the week. Fix the documentation (which is incorrectly stating that 1 means Sunday) and clarify that the number we return is in line with ISO 8601 week day numbering.
2010-09-26Updated Dutch translation by Wouter BolsterleeWouter Bolsterlee1-207/+119
2010-09-26Updated Romanian translationLucian Adrian Grijincu1-505/+2003
2010-09-24Add a lot of missing annotationsJohan Dahlin61-161/+172
2010-09-24[introspection] Add GObject annotationsJohan Dahlin1-3/+4
These were moved in from gobject-introspection
2010-09-24[introspection] Move over annotationsJohan Dahlin18-51/+57
Move all the annotations over from gobject-introspection. They will not be used directly by the introspection scanner for now, instead they will be extracted by a script and updated manually until introspection is properly integrated into the glib build
2010-09-24Correct error message when GUnixOutputStream fails to writeChristian Dywan1-1/+1
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=628876
2010-09-24Add missing file to POTFILES.inAndre Klapper1-0/+1
2010-09-23GDBus: Don't use abstract sockets in test codeDavid Zeuthen2-4/+11
It doesn't really work right now because of a dbus-daemon(1) bug - see the comment added in the TODO section of gdbusconnection.c. So revert to old behavior. The downside is a lot of files in /tmp but right now that's better than not being able to run tests in a loop. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-23GDBus: Use abstract namespace in test cases to avoid littering all over /tmpDavid Zeuthen1-2/+6
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-23GDBusConnection: Use correct GMainContext when invoking free functionsDavid Zeuthen2-21/+129
Without this fix, the ./gdbus-connection test case occasionally fails, see https://bugzilla.gnome.org/show_bug.cgi?id=629945#c5 like this /gdbus/connection/basic: OK /gdbus/connection/life-cycle: ** ERROR:gdbus-connection.c:223:test_connection_life_cycle: assertion failed: (!quit_mainloop_fired) cleaning up bus with pid 21794 Aborted (core dumped) because the callback didn't happen on the same thread as where we are running the loop. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-23build: fix out of srcdir buildStefan Kost1-1/+1
The gtk-doc makefile rules do cd srcdir && cp $(HTML_IMAGES) target/ and this breaks for "srcdir" != ".".
2010-09-23GDBus: fix name test casesDavid Zeuthen1-0/+1
Since we make message buses come and go, we need to ensure that the singleton connection instance goes away before attempting to call g_bus_get_sync() or similar. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-23GDBus: bump timeout for some testsDavid Zeuthen2-8/+8
When under load, a one second timeout is just not enough. This can be observed by e.g. restarting a CPU- and IO-intensive application like a web browser with many tabs while running the test cases. Therefore, bump the timeouts to 30 seconds. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-23GDBus: Move "slow" connection test cases into separate test programDavid Zeuthen3-160/+218
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-23GDBusConnection: Avoid callbacks on finalized connectionDavid Zeuthen4-22/+115
Turns out that GDBusWorker will issue callbacks (in its own thread) even after g_dbus_worker_stop() has been called. This would rarely happen (and unreffing a connection is even rarer) so only saw this bug occasionally when running the gdbus-connection test case in a loop. Fix up this issue by maintaining a set of GDBusConnection objects that are currently "alive" and do nothing in the callbacks if the passed user_data pointer is not in this set. Also attempted to fix up a race condition with _g_object_wait_for_single_ref_do() and its use of GObject toggle references - for now, just resort to busy waiting, thereby sidestepping the toggle reference mess altogether. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-24Updated Japanese translation (symbolic link related)Takayuki KUSANO1-28/+30
2010-09-23Fix memory leak in SOCKSv5 implementationNicolas Dufresne1-0/+1
2010-09-23glib-2.0.m4: Use unsigned variables for version numbersBenjamin Otte1-4/+4
When using signed, we get complaints from gcc about comparing signed to unsigned with -Wsign-compare. And combined with -Werror in users' CFLAGS it breaks configure runs.
2010-09-23Updated French translationBruno Brouard1-662/+1044
2010-09-22GSocketControlMessage: clean up confusing codeRyan Lortie1-8/+7
It looks like the deserialisation function in GSocketControlMessage can potentially leak a reference to the class structure of a GSocketControlMessage subclass (although the particular code path is probably never hit). Clean up the code a bit. Also, make sure that the GUnixCredentialsMessage type is registered before attempting deserialisation. Closes bug #629687.
2010-09-22fix argument order for g_date_time_difference()Ryan Lortie1-2/+2
The names of the arguments in the header file was reversed. Closes bug #630000
2010-09-22Add translator comments for command parameter translationClaude Paroz1-0/+2
2010-09-21[l10n] Updated Estonian translationMattias Põldaru1-10/+10