Commit Graph

7587 Commits

Author SHA1 Message Date
Yinghua Wang
6eac40f07a Update Simplified Chinese translation. 2010-09-14 17:01:08 +08:00
Tor Lillqvist
84c2c25c38 dos2unix glib/win_iconv.c 2010-09-11 13:53:06 +03:00
Tor Lillqvist
86156c28b3 Reduce DLL hijack risk on Windows
Don't call LoadLibrary() on shell32.dll or kernel32.dll. kernel32.dll
is always loaded. Shell32.dll is also already loaded as glib links to
functions in it. So just call GetModuleHandle() on them.

For mlang.dll in win_iconv.c and winhttp.dll in gwinhttpvfs.c, always
try loading them from a complete path, from the Windows system
directory.

Use the "tool help" API to enumerate modules in gmodule-win32.c. It is
present in all Windows versions since Windows 2000, which is all we
support anyway. Thus no need to look that API up dynamically. Just
link to it normally. We can bin the fallback code that attempts to use
the psapi API.
2010-09-02 22:55:43 +03:00
noch
c844e65c17 Added Armenian translation to hy.po file. 2010-09-01 10:46:41 +05:00
Ryan Lortie
fd7fa3667a Post-release bump. 2010-08-08 15:04:42 -04:00
Ryan Lortie
8da53e0401 glib 2.24.2 2.24.2 2010-08-08 15:03:56 -04:00
Ryan Lortie
2d765e1533 Bug 578295 - gtester has a race condition
Deal with the race in GMainLoop by installing a do-nothing timeout.
2010-08-08 12:13:52 -04:00
Andika Triwidada
17bde58552 Updated Indonesian translation 2010-08-06 15:58:03 +07:00
Lucian Adrian Grijincu
0ca62609d7 po: Updated Romanian translation 2010-07-15 02:07:08 +03:00
Rudolfs Mazurs
07ae0361da Updated Latvian translation. 2010-06-21 00:12:02 +03:00
Christian Dywan
21ee3b69d3 Add a regression test for GConverterOutputStream corruption
See bug #619945 for background
(cherry picked from commit 85ea72c0c5)
2010-06-11 10:02:52 +02:00
Jürg Billeter
1f0694e51b Use correct offset for buffer data in GConverterOutputStream
Otherwise we overwrite already converted data in the case that more
than one call to g_converter_convert is necessary in write() or
flush().

https://bugzilla.gnome.org/show_bug.cgi?id=619945
(cherry picked from commit 6858ab2033)
2010-06-11 10:02:37 +02:00
Jürg Billeter
efff840412 Ensure we always have some target space in GConverterOutputStream
When the converter fills the whole buffer without reading all input,
we need to enlarge the buffer. Otherwise we get an assertion failure
for `outbuf_size > 0' in g_converter_convert.

https://bugzilla.gnome.org/show_bug.cgi?id=619945
(cherry picked from commit 86592d675f)
2010-06-11 10:02:32 +02:00
Tor Lillqvist
f06f37e2b0 Plug memory leak on Windows
Intern the string returned from g_win32_getlocale() and then free it.
Fixes bug #621168.
2010-06-10 11:55:27 +03:00
Ryan Lortie
b5d200de7e fix glaring inaccuracy in GVariant docs 2010-05-24 12:26:24 -04:00
Ivar Smolin
1fd2aa21e6 Estonian translation updated 2010-05-20 15:00:12 +03:00
Fran Diéguez
770efbbd89 Updated Galician translations 2010-05-13 01:02:23 +02:00
Fran Diéguez
b3db4e4551 Updated Galician translations 2010-05-13 00:59:38 +02:00
Matthias Clasen
2e43d1e614 Fix !srcdir build
Bug 616216
2010-05-12 23:02:05 +02:00
Jorge González
ad9ff29e0c Updated Spanish translation 2010-05-10 19:55:45 +02:00
Luca Ferretti
001fed0c14 Updated Italian translation 2010-05-10 09:49:29 +02:00
Claude Paroz
335ab18159 Updated French translation 2010-05-10 08:43:21 +02:00
Tor Lillqvist
4e44073e46 Minor updates to README.win32. 2010-05-05 09:45:19 +03:00
Tor Lillqvist
aa6beb3559 Fix list of sources in the gio Visual Studio project
List the additional sources needed in gio/Makefile.am, not in
gio.vcprojin. Fix broken usage of sort. Filter out Unix-only source
files.
2010-05-03 20:07:20 +03:00
Matthias Clasen
d6434b89f4 Bump version 2010-05-02 21:50:14 -04:00
Matthias Clasen
3c822b423d 2.24.1 2.24.1 2010-05-02 21:47:49 -04:00
Matthias Clasen
87e4516650 Updates 2010-05-02 20:56:24 -04:00
Behdad Esfahbod
503949b12d Bug 615379 - g_new macros crash if sizeof(struct_type) == 0
(cherry picked from commit 00a7c2e635)
2010-05-02 20:45:45 -04:00
Colin Walters
f2b4060717 Fix typo in GMutex error message
(cherry picked from commit 0d9a40b894)
2010-05-02 20:45:13 -04:00
Ryan Lortie
e7a7d6873c g_string_append_len() accept NULL with length == 0
(cherry picked from commit 056326c1e9)
2010-05-02 20:43:10 -04:00
Ryan Lortie
7fb9b876fa GVariant: fix for g_variant_iter_loop()
(cherry picked from commit d17f4bee17)
2010-05-02 20:42:45 -04:00
Benjamin Otte
e61a90b9ee Fix race in g_cancellable_cancel()
We need to check priv->cancelled after taking the lock. Previously we
only checked it just before taking the lock, which left a small chance
for a race.
(cherry picked from commit e7763678b5)
2010-05-02 20:42:25 -04:00
Benjamin Otte
c25c40fdd9 Remove unneccessary variable from g_cancellable_cancel()
The variable makes a complicated function even more complicated.
(cherry picked from commit 5527a2ac2c)
2010-05-02 20:42:18 -04:00
Carles Ferrando
b28b1e589e Updated Catalan (Valencian) translation 2010-04-23 00:42:04 +02:00
Shankar Prasad
d4f50a33d4 Updated Kannada translations 2010-04-22 16:21:42 +05:30
Javier Jardón
f54c7f9c77 [docs] Fix G_VALUE_COLLECT_INIT documentation
Add the documentation to the corresponding section

This macro was introduced in
commit 546fc0ca33
2010-04-20 02:13:27 +02:00
David Zeuthen
324f928af6 Bug 615111 – GAsyncInitable's default implementation is broken
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-04-19 10:47:11 -04:00
Ryan Lortie
e51ec13ab4 Add g_return_if_fail()s to g_variant_new_from_data()
also, document that @type must be definite
2010-04-10 22:01:56 -04:00
Jordi Serratosa
48cfffc7b1 Fixes to Catalan translation 2010-04-08 22:07:56 -04:00
Theppitak Karoonboonyanan
634fdaa4ba Updated Thai translation. 2010-04-06 14:41:11 +07:00
Tor Lillqvist
70a4217ba3 Clarify _g_stat_struct mess
Use "struct stat" instead of "struct _stat" in the MinGW-or-64-bit
case. Should fix bug #614372.
2010-03-30 19:41:38 +03:00
Javier Jardón
c3f1025c33 Remove g_type_class_get_private() public documentation
This is a internal function needed for the documented
G_TYPE_CLASS_GET_PRIVATE() macro

This was introduced by error in
commit 81e2aa941b
2010-03-29 18:23:48 +02:00
Javier Jardón
0f51e99565 Fix g_type_class_add_private() documentation
This fixes commit 81e2aa941b

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614185
2010-03-29 18:17:40 +02:00
Ask H. Larsen
461a4097d1 Updated Danish translation 2010-03-28 00:13:28 +01:00
Chao-Hsiung Liao
2e27703a81 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2010-03-27 20:50:57 +08:00
Jamil Ahmed
0e3c6ef848 Updated Bengali translation 2010-03-27 17:44:03 +06:00
Matthias Clasen
22dc3dd648 Bump version 2010-03-26 15:09:13 -04:00
Matthias Clasen
ca631653ac 2.24.0 2.24.0 2.20.0 2010-03-26 15:08:00 -04:00
Matthias Clasen
5ba8043f12 Third try to get this right... 2010-03-26 11:15:49 -04:00
Matthias Clasen
f6532620bc And another one... 2010-03-26 11:05:28 -04:00