Commit Graph

9659 Commits

Author SHA1 Message Date
Ryan Lortie
d4209c1c41 GVariant: clear memory before releasing it
Bug #640807 makes a reasonable case for why it's better to have your
program crash outright in the case of memory errors.  With this
modification, GVariant is far more likely to do that in the case that a
GVariant pointer is used shortly after being freed.
2011-01-28 08:25:05 -05:00
Tobias Mueller
8602a3a682 Fixed format string issue in a test, fixes bug 640725 2011-01-27 23:10:02 -05:00
Matthias Clasen
069daa69f6 Add testcase for bug 640695 2011-01-27 23:07:53 -05:00
Benjamin Gilbert
440e6f4a61 Ensure g_key_file_load_from_file() strips a \r on a 4 KB boundary
When g_key_file_parse_data() encountered \n, it was checking the previous
character in the current input buffer for a \r to erase, rather than the
previous character in the parse buffer.  If g_key_file_load_from_file()
was given a file with a \r\n sequence straddling a 4 KB boundary, the \n
would be the first character in the input buffer, so the \r would not be
properly stripped.

Bug #640695.

Found-by: Jan Harkes <jaharkes@cs.cmu.edu>
2011-01-27 23:06:15 -05:00
Matthias Clasen
e644b29190 Use g_set_error_literal where appropriate 2011-01-27 22:54:32 -05:00
Matthias Clasen
cc5578fbd7 Make load_user_special_dirs() resistant to nonexistent dirs 2011-01-27 21:57:57 -05:00
Matthias Clasen
4f8a4f171e Remove redundant definitions
https://bugzilla.gnome.org/show_bug.cgi?id=640262
2011-01-27 20:31:14 -05:00
Matthias Clasen
4a8d9b68e3 Fail in a clean way if schema name is missing
https://bugzilla.gnome.org/show_bug.cgi?id=640192
2011-01-27 20:29:22 -05:00
Ryan Lortie
d8ca640422 Merge remote branch 'gvdb/master' 2011-01-27 11:45:04 -05:00
Chao-Hsiung Liao
73410f1176 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-01-27 18:51:55 +08:00
Kjartan Maraas
bdbfbd5ea3 Updated Norwegian bokmål translation. 2011-01-27 11:13:12 +01:00
Fran Diéguez
cddf27de94 QA of Galician translations 2011-01-27 00:37:29 +01:00
Ryan Lortie
03b6b9fb97 Mark a symbol as G_GNUC_INTERNAL 2011-01-25 18:26:21 -05:00
Yaron Shahrabani
1e5916ffae Updated Hebrew translation. 2011-01-23 02:44:15 +02:00
Alexander Shopov
816e6541d6 Updated Bulgarian translation 2011-01-22 22:49:35 +02:00
Jorge González
59fd6f184a Updated Spanish translation 2011-01-22 16:50:48 +01:00
Emilio Pozuelo Monfort
9f0c592b9c Bump PCRE minimum version
https://bugzilla.gnome.org/show_bug.cgi?id=640261
2011-01-22 15:36:13 +00:00
Matthias Clasen
acc295e292 Bump version 2011-01-22 09:52:33 -05:00
Matthias Clasen
bd8b245f57 Update Unicode tests to 6.0 2011-01-22 00:02:08 -05:00
Matthias Clasen
fb2809ec99 Forgotten files 2011-01-22 00:01:54 -05:00
Matthias Clasen
3f059a6a12 Remove a test that seems to fail depending on time of day 2011-01-21 23:41:12 -05:00
Matthias Clasen
37e221b5ae Update NEWS 2011-01-21 23:12:16 -05:00
Matthias Clasen
c03dc6bf7d Update the included copy of PCRE
Update PCRE to version 8.12.
At the same time, also add Unicode 6.0 script support.
2011-01-21 23:10:01 -05:00
Matthias Clasen
51c87f6809 Update help and docs for gsettings cmdline tool
The man page had gotten quite out of sync.
2011-01-21 18:02:05 -05:00
Behdad Esfahbod
0a57086540 Update to Unicode 6.0
One new GUnicodeBreak enum member.  Three new GUnicodeScript members,
and one member renamed to fix a typo.

Tests, docs, and scripts are updated.  PCRE update still needed.
2011-01-21 16:30:19 -05:00
Matthias Clasen
b50f4a1a52 Updates for 2.27.92 2011-01-21 11:24:14 -05:00
Matthias Clasen
654ab34e3a Don't warn in GApplication if class handlers have been overridden
https://bugzilla.gnome.org/show_bug.cgi?id=640042
2011-01-21 10:52:48 -05:00
Khaled Hosny
b31d80eff3 Updated Arabic translation 2011-01-20 21:57:05 +02:00
Michael Kotsarinis
da36756f3f Updated Greek translation 2011-01-19 19:08:15 +02:00
Matthias Clasen
c7f38cd277 Mark another function as static 2011-01-18 00:06:55 -05:00
Matthias Clasen
67e112cce6 Mark a function as static 2011-01-18 00:06:05 -05:00
Matthias Clasen
d2347f34fd Move GMarkup docs inline 2011-01-17 23:46:20 -05:00
Ray Strode
dc8b03027d gsettings: Update documentation on schema naming convention
The existing docs are a bit inconsistent in that they say to follow
the dbus convention, but then give an example that doesn't.

This commit changes things to be how Ryan says they should be.
2011-01-17 17:31:14 -05:00
Ryan Lortie
a2918d6c3e Fix some harmless sign compare warnings 2011-01-17 15:19:14 -05:00
Ryan Lortie
ba5619ba7f C++ify the reader header 2011-01-17 15:15:46 -05:00
Ray Strode
e8120dc4ce datetime: Show 12 instead of 0 for 12h hour format
The 12h mode hour format is computed by taking the
24h mode hour format modulo 12.

The conversion results in 12 noon getting erroneously
converted to 0.

This commit makes noon get the same special handling
as midnight.
2011-01-17 14:31:34 -05:00
Ray Strode
a437c5e768 tests: add format test case for noon hour in 12h mode
It currently displays it as "0" instead of "12", so this
test case demonstrates the bug.
2011-01-17 14:31:34 -05:00
Christian Persch
8728949e0d Don't leak variants in the null settings backend
Even though the write fails, the variant still needs to be consumed.

Bug #638872.
2011-01-14 20:19:24 +01:00
Javier Jardón
a583405f66 docs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form() 2011-01-14 17:54:04 +00:00
Javier Jardón
6c0491841e gvariant-core: Fix typo
g_variant_create_from_data -> g_variant_new_from_data
2011-01-14 17:25:07 +00:00
Javier Jardón
c7041e221f docs: gvariant-varargs: Fix typo 2011-01-14 00:50:44 +00:00
Ivar Smolin
060e516ede [l10n] Updated Estonian translation 2011-01-13 12:41:06 +02:00
Inaki Larranaga Murgoitio
a86eb8785b Updated Basque language 2011-01-12 22:29:53 +01:00
Daiki Ueno
c0208940c5 Make g_unix_connection_send_fd() work as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=637696
2011-01-12 16:01:32 -05:00
Michael Natterer
634e9e43cf gobject: add an empty default impl of GObject::constructed()
to allow unconditional upchaining.
2011-01-12 19:45:40 +01:00
Chun-wei Fan
19c73918ec Added symbols for GIO/Win32
There are now fallback functions in the Win32 portion of
g_app_info that were previously only available under UNIX,
so add them here so that they can be exported as well.

The symbols are as follows:
g_app_info_get_fallback_for_type
g_app_info_get_recommended_for_type
2011-01-12 11:08:54 +08:00
Matthias Clasen
1df31f0014 Bump version 2011-01-11 16:13:42 -05:00
Matthias Clasen
dd6baef46f Update NEWS 2011-01-11 11:27:45 -05:00
Ivar Smolin
fabf506b8d [l10n] Updated Estonian translation 2011-01-11 11:04:56 +02:00
Matthias Clasen
eec2cb1af8 Avoid a segfault in g_application_register()
Patch by Mikkel Kamstrup Erlandsen
https://bugzilla.gnome.org/show_bug.cgi?id=639177
2011-01-10 20:29:29 -05:00