8987 Commits

Author SHA1 Message Date
Dan Winship
9c02a27192 GNetworkService: fix a small bug
Fix a small bug in the synchronous lookup code introduced in the fix
for bug 629274
(cherry picked from commit cd4f818b301bfc6855b27feba5a0dfdca60027c1)
2010-11-12 09:07:00 -05:00
Ryan Lortie
3aff43d07a Bug 632169 - manual use of gsettings-data-convert
Add some words and example code to the documentation about why you might
want to manually invoke gsettings-data-convert and how you should go
about doing that.
(cherry picked from commit dfb0577ef4947afb32d91a72769bd22d6c1edfaa)
2010-11-12 09:06:19 -05:00
Dan Winship
54b8e6596e GNetworkService: fall back when there is no valid SRV record
RFC 2782 says that if there is no SRV record for
_SERVICE._PROTOCOL.DOMAIN, you should fall back to trying just DOMAIN,
with the default port for SERVICE. Do that.

https://bugzilla.gnome.org/show_bug.cgi?id=629274
(cherry picked from commit e410131021036532e6e9622e8b977222389b44e9)
2010-11-12 09:05:30 -05:00
Dan Winship
207964ad82 GNetworkService: fix iteration of multiple addresses
Previously if there were multiple SRV records, only the first would
be iterated by the GSocketConnectable interface
(cherry picked from commit 19243c247d8a89c6467bd21109b7f0d4b1cb081a)
2010-11-12 09:05:20 -05:00
Dan Winship
619fb5dd27 GSocket: set protocol when using g_socket_new_from_fd()
Otherwise, attempting to create a GSocketConnection from the socket
will likely return the wrong type, since the protocol won't match any
of the registered subtypes.

Also add the start of a GSocket test program (from davidz).

https://bugzilla.gnome.org/show_bug.cgi?id=627171
(cherry picked from commit 87d06109ab325a4a68e151015381e7e1b33bdf7d)
2010-11-12 09:04:30 -05:00
Matthias Clasen
56e0ff2fb8 Protect access to closure, weak refs and toggle refs arrays
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=613822
(cherry picked from commit b7616114c6c1884c3a183a4d83156bdf2151b731)
2010-11-12 09:03:53 -05:00
Javier Jardón
633b2bc611 gtypemodule: Mention g_object_run_dispose correctly in a warning
https://bugzilla.gnome.org/show_bug.cgi?id=630797
(cherry picked from commit 5fa7a1e9cedb33d32049c54f13adc3504d723573)
2010-11-12 09:01:58 -05:00
Emmanuele Bassi
6766c727bb gobject: Improve install_properties()
Cache the parent type outside of the loop, and fix a typo in the
documentation.
(cherry picked from commit 44a8ff2f8f607f725c478793b876742b09f350ef)
2010-11-12 09:01:48 -05:00
Christian Dywan
6791551c89 Initialise lengths in GvdbReader to silence warnings
(cherry picked from commit 3035bf40d0d75632b36fa703c3ac2becc98769d8)
2010-11-12 09:01:18 -05:00
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