8978 Commits

Author SHA1 Message Date
Christian Dywan
509a53848d Initialise lengths in GDbusAuth to silence warnings
(cherry picked from commit ad363d9aac5a6167121631a1ee8d3cec2784b5c2)
2010-11-12 09:01:12 -05:00
Takayuki KUSANO
cecd997a5e Fix error in Japanese translation 2010-11-01 01:25:57 +09:00
Carles Ferrando
07e0981622 Updated Catalan (Valencian) translation 2010-10-29 00:48:48 +01:00
Emilio Pozuelo Monfort
231ee5eddf Don't enable dtrace support when dtrace isn't available
Fixes FTBFS when dtrace isn't available but <sys/sdt.h> is.
2010-10-28 23:36:10 +02:00
Ryan Lortie
216170dca3 GSettings: implement .property_get('path')
This was unimplemented in g_settings_get_property(), leading to a failed
'g_assert_not_reached()'.
2010-10-27 09:21:01 -04:00
Matthias Clasen
1c6fd63f60 Prevent error pileup 2010-10-16 23:30:30 -04:00
Bruce Cowan
286500db26 Updated British English translation 2010-10-07 21:27:17 +01:00
Tor Lillqvist
e01a20ceb9 Don't call close() on -1
Of course, a proper implementation of close() will just ignore an
invalid parameter silently, and set errno. But apparently the "debug"
version of the Microsoft C library generates some noise in this
case. So avoid that. Thanks to John Emmas for reporting.
2010-10-07 12:08:46 +03:00
Žygimantas Beručka
8395f59f5f Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com> 2010-10-03 15:42:49 +02:00
Damyan Ivanov
7e95a36159 Updated Bulgarian translation 2010-10-02 08:52:44 +03:00
Matthias Clasen
2a9b14c015 message_to_write_data_free: Don't unref data->message if it is NULL
After the recent changes to message filtering, it can happen that
data->message is NULL when we get here.
(cherry picked from commit fe1186a842458dcc647c5f9ab03f17c762354e95)
2010-09-30 14:50:57 -04:00
Inaki Larranaga Murgoitio
ad5c271d1e Updated Basque language 2010-09-30 19:55:03 +02:00
Giannis Katsampirhs
d2e3109a21 l10n: Updated Greek translation for glib 2010-09-30 14:47:58 +03:00
Piotr Drąg
ca077f70fb Updated Polish translation 2010-09-29 18:46:45 +02:00
Gabor Kelemen
fced7b0a44 Updated Hungarian translation 2010-09-29 14:07:05 +02:00
Bruno Brouard
b19ed7cca2 Updated French translation 2010-09-29 09:06:29 +02:00
Petr Kovar
5b3398f33b Update Czech translation 2010-09-29 04:38:51 +02:00
Yaron Shahrabani
6d8323d4fa Updated Hebrew translation. 2010-09-29 00:31:48 +02:00
Peter Kragelj
9ee98341ea Updated Slovenian translation 2010-09-28 21:27:35 +02:00
Peter Kragelj
e5f8d876ac Updated Slovenian translation 2010-09-28 21:22:23 +02:00
Fran Diéguez
de4af412f8 Updated galician translations 2010-09-28 17:41:37 +02:00
Peter Kragelj
35126d830d Updated Slovenian translation 2010-09-28 15:13:33 +02:00
Yuri Kozlov
dbeda22567 Updated Russian translation 2010-09-28 07:41:49 +04:00
Duarte Loreto
e01224ccbe Updated Portuguese translation 2010-09-27 23:41:13 +01:00
Gintautas Miliauskas
59521019ac Updated Lithuanian translation (thanks Aurimas Cernius). 2010-09-28 00:13:47 +03:00
Mario Blättermann
f878f52212 [i18n] Updated German translation 2010-09-27 20:19:03 +02:00
Andika Triwidada
f4a5987e22 Updated Indonesian translation 2010-09-28 00:27:52 +07:00
Jonh Wendell
62bc29421c Updated Brazilian Portuguese translation 2010-09-27 13:56:58 -03:00
Ryan Lortie
3c64200f68 release 2.26.0 2.26.0 2010-09-27 12:02:28 -04:00
Ryan Lortie
0aba35904c Remove some useless GTimeZone info from docs 2010-09-27 12:02:28 -04:00
Jorge González
6307e1fcf9 Updated Spanish translation 2010-09-27 17:54:54 +02:00
Petr Kovar
27034370c2 Update Czech translation 2010-09-27 17:24:52 +02:00
Ryan Lortie
e59c2c109f Improve .gitignore 2010-09-27 11:14:08 -04:00
Ryan Lortie
90ccb5a4cd Bug 628937 - gracefully handle broken schemas
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-09-27 11:10:11 -04:00
Ryan Lortie
2f2eb5cc5d glib-compile-schemas: improve error accuracy
We wrote "<enum> must contain at least one <value>" for empty <flags>.
Fix that.
2010-09-27 10:36:11 -04:00
Ryan Lortie
7f92526481 Bug 628937 - gracefully handle broken schemas
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-09-27 10:27:11 -04:00
Ryan Lortie
9c0eb37adb Bug 630077 - GDateTime week number support
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-27 09:17:56 -04:00
Fabrício Godoy
a0b79ad640 Updated Brazilian Portuguese translation 2010-09-27 08:49:51 -03:00
Damyan Ivanov
a46c897a27 Updated Bulgarian translation 2010-09-27 13:31:09 +03:00
Ryan Lortie
ed4d81deb9 clean up g_date_time_get_week_day()
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-26 18:54:20 -04:00
Wouter Bolsterlee
85d514ef6d Updated Dutch translation by Wouter Bolsterlee 2010-09-26 22:59:38 +02:00
Lucian Adrian Grijincu
e689d5cab9 Updated Romanian translation 2010-09-26 22:38:40 +03:00
Yuri Kozlov
3cd6f9f38e Updated Russian translation 2010-09-26 17:19:10 +04:00
Ryan Lortie
bee39ac0de GTimeZone: hide some API
I'm not totally happy with the API yet, so only expose the bits that are
required to make meaningful use of GDateTime.
2010-09-24 14:55:53 -04:00
David Zeuthen
c11a362cef GDBusConnection: Use correct GMainContext when invoking free functions
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-24 14:48:33 -04:00
Stefan Kost
e826803002 build: fix out of srcdir build
The gtk-doc makefile rules do cd srcdir && cp $(HTML_IMAGES) target/ and this
breaks for "srcdir" != ".".
2010-09-24 14:48:33 -04:00
David Zeuthen
69a7645a7a GDBus: fix name test cases
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-24 14:48:33 -04:00
David Zeuthen
72433fc57a GDBus: bump timeout for some tests
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-24 14:48:33 -04:00
David Zeuthen
5528b18ce2 GDBus: Move "slow" connection test cases into separate test program
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-24 14:48:33 -04:00
David Zeuthen
c4081f9abd GDBusConnection: Avoid callbacks on finalized connection
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-24 14:48:33 -04:00