Matthias Clasen
31960257a6
Make glocalfile.c more readable
...
The many nested ifdefs here really deserve some annotations.
Based on a patch by Marcus Carlson, bug 625751.
2012-01-09 21:35:13 -05:00
Ravi Sankar Guntur
fd7e443838
add g_queue_free_full to glib-sections.txt
...
Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
https://bugzilla.gnome.org/show_bug.cgi?id=667331
2012-01-09 19:27:41 -05:00
Ravi Sankar Guntur
0ed2cdb0d9
Use g_queue_free_full() convenience function.
...
https://bugzilla.gnome.org/show_bug.cgi?id=667331
Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
2012-01-09 19:27:39 -05:00
Ihar Hrachyshka
a76d85de50
Updated Belarusian translation.
2012-01-10 01:00:29 +03:00
Matthias Clasen
ddf9633d95
fix a compiler warning
2012-01-09 15:27:07 -05:00
Matthias Clasen
39dc681fc7
Realign the hash set example with added api
...
Change the name of set_insert to set_add, to better match the
newly added g_hash_table_add.
2012-01-09 15:23:25 -05:00
Ryan Lortie
875ffc41b7
drop debian/ directory
2012-01-09 14:28:25 +01:00
Dan Vrátil
7678b10703
Fix GHashTable GDB pretty printing (bug #667420 )
2012-01-09 09:29:20 +01:00
Alexander Shopov
82740adc61
Updated Bulgarian translation
2012-01-08 16:48:13 +02:00
Jasper St. Pierre
d141940bc6
gthread-posix: Remove misleading documentation comments
...
g_thread_init() has done nothing since 2.32, so while the function
still can be used if "g_thread_init() has not yet been called",
it won't do nothing in that case, it will just perform normally.
2012-01-06 14:41:08 -05:00
Jasper St. Pierre
021e116f05
gbacktrace: g_get_prgname () isn't called for a NULL argument
...
https://bugzilla.gnome.org/show_bug.cgi?id=658871
2012-01-06 14:41:08 -05:00
Kjartan Maraas
a44404f4ec
Updated Norwegian bokmål translation
2012-01-06 20:35:34 +01:00
Daniel Mustieles
20825918a3
Updated Spanish translation
2012-01-06 20:31:54 +01:00
Ryan Lortie
21d2c49f82
minor fixup to last commit
2012-01-06 10:25:03 -05:00
Ryan Lortie
752f0cac15
GHashTable: new 'add' and 'contains' APIs
...
These are both convenience APIs that make it slightly nicer to use
GHashTable as a set (which is something we document as officially
supported).
2012-01-06 10:18:41 -05:00
Nguyễn Thái Ngọc Duy
b87f6f9f8c
gio/gsocks5proxy: typo fix
2012-01-06 16:58:57 +07:00
Nguyễn Thái Ngọc Duy
6e92646f21
Updated Vietnamese translation
2012-01-06 16:58:28 +07:00
Nguyễn Thái Ngọc Duy
74345b3383
po/vi: import from Damned Lies
2012-01-06 16:48:13 +07:00
Dan Winship
0da8db52cd
Remove some cruft from an older version of the code
2012-01-05 12:57:18 -05:00
Michael Terry
382341dd99
gdesktopappinfo: Fix gtk-doc to mention Keywords not X-GNOME-Keywords
...
https://bugzilla.gnome.org/show_bug.cgi?id=667285
2012-01-05 11:19:22 -05:00
Simon McVittie
2fe964eeb1
Mention g_test_undefined() when documenting assert_failed, assert_stderr
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666116
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Colin Walters <walters@verbum.org>
2012-01-05 15:47:50 +00:00
Simon McVittie
254efaf85e
Skip tests of incorrect property usage under gtester -m no-undefined
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666116
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Colin Walters <walters@verbum.org>
2012-01-05 15:47:26 +00:00
Javier Jardón
e3d53d5529
glib/*: Use g_slist_free_full() convenience function
2012-01-05 04:57:48 +01:00
Javier Jardón
c735b54a63
gio/*: Use g_slist_free_full() convenience function
2012-01-05 04:57:47 +01:00
Michael Terry
31c3082e19
gdesktopappinfo: Avoid crash by NULL-ing data.pid_envvar before launch
...
https://bugzilla.gnome.org/show_bug.cgi?id=667279
2012-01-04 13:08:56 -05:00
Claudio Saavedra
8b96fb3761
GSocket: fix a couple of return values
...
g_socket_receive_with_blocking() and g_socket_send_with_blocking claim
to return -1 in error, their return type is gssize, and yet they
return FALSE if the initial g_return_val_if_fail() call fails.
https://bugzilla.gnome.org/show_bug.cgi?id=667226
2012-01-04 18:14:00 +02:00
Claudio Saavedra
f38a1dbca7
GSocket: add some more g_return_if_fail()s
...
https://bugzilla.gnome.org/show_bug.cgi?id=667225
2012-01-04 18:13:10 +02:00
Matthias Clasen
1b919d2e56
Clarify g_utf8_strlen docs a bit
2012-01-04 00:10:11 -05:00
Paolo Borelli
d64b4c4887
Add a testcase for an old regex bug.
...
Add a testcase for bug #455640 , which was fixed in PCRE versions newer
than 7.2.
2012-01-03 21:17:48 +01:00
Javier Jardón
2ae83e116b
glib/*: Use g_list_free_full()
2012-01-03 16:53:47 +01:00
Javier Jardón
928d2cea61
gio/*: Use g_list_free_full() convenience function
2012-01-03 16:53:47 +01:00
Javier Jardón
dde3401122
gio/gdbus-2.0/codegen/codegen.py: Use g_list_free_full()
2012-01-03 16:53:47 +01:00
Matthias Clasen
99c166501a
Fix parameter name mismatches in GWeakRef api
2012-01-03 10:48:50 -05:00
Matthias Clasen
e6a5c2efb2
Add GWeakRef to the docs
2012-01-03 08:02:49 -05:00
Javier Jardón
ee044fd839
gio/tests: Use g_list_free_full() convenience function
2012-01-02 23:18:22 +01:00
Stef Walter
411259ddd3
gvariant: Never break out of g_variant_iter_loop
...
* Document how to break out of g_variant_iter_loop style loops.
https://bugzilla.gnome.org/show_bug.cgi?id=664069
2012-01-02 18:34:08 +01:00
Simon McVittie
34e3881f2f
Add test for GDBusConnection singleton access racing with destruction
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665211
2012-01-02 12:29:57 -05:00
Simon McVittie
1e09bfc77c
GDBusConnection: use GWeakRef to make the singletons thread-safe
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665211
https://bugzilla.gnome.org/show_bug.cgi?id=548954
2012-01-02 12:23:24 -05:00
Simon McVittie
146aa7aa17
Add regression test for GWeakRef used to cache a singleton
...
https://bugzilla.gnome.org/show_bug.cgi?id=548954
2012-01-02 12:23:21 -05:00
Simon McVittie
fa5ff39559
Add deterministic tests for the API of GWeakRef
...
These don't address the thread-safety, but do address basic use.
https://bugzilla.gnome.org/show_bug.cgi?id=548954
2012-01-02 12:23:18 -05:00
Ryan Lortie
46c2f570da
GWeakRef: add a weak GObject reference believed to be thread-safe
...
This patch is a joint work with Simon McVittie.
https://bugzilla.gnome.org/show_bug.cgi?id=548954
2012-01-02 12:23:15 -05:00
Simon McVittie
28c87a5594
g_object_weak_ref, g_object_add_weak_pointer: document non-thread-safety
...
Transparent access to a weak pointer from the thread performing the
weak -> strong conversion is incompatible with thread-safety: that
thread will have to do something special. This is GNOME#548954.
https://bugzilla.gnome.org/show_bug.cgi?id=548954
2012-01-02 12:23:11 -05:00
Simon McVittie
1425aa664d
GBitLock: turn assumptions of g_futex_int_address into a static assertion
...
We'll probably never encounter a platform where these fail, but that's
what static assertions are for...
https://bugzilla.gnome.org/show_bug.cgi?id=548954
2012-01-02 12:23:01 -05:00
Ryan Lortie
fc731de929
gthread.h: avoid anonymous union
...
This is a GNU extension.
https://bugzilla.gnome.org/show_bug.cgi?id=666978
2012-01-02 11:39:01 -05:00
William Hua
a07e9a5fb2
nextstep gsettings backend: whitespace police
2012-01-01 22:01:47 -05:00
William Hua
edd2aff575
thread-safe nextstep gsettings backend
...
simplified key reset logic
2012-01-01 21:59:39 -05:00
William Hua
9c10083844
GSettings: nextstep settings backend
2012-01-01 19:40:56 -05:00
Xan Lopez
00f43b22e5
ginetaddressmask: plug leak
...
==24706== 52 bytes in 1 blocks are definitely lost in loss record 7,248 of 13,092
==24706== at 0x4A074CD: malloc (vg_replace_malloc.c:236)
==24706== by 0x70E9F5F: standard_malloc (gmem.c:85)
==24706== by 0x70E9FE8: g_malloc (gmem.c:159)
==24706== by 0x71018EC: g_slice_alloc (gslice.c:1003)
==24706== by 0x710192B: g_slice_alloc0 (gslice.c:1029)
==24706== by 0x7068526: g_type_create_instance (gtype.c:1872)
==24706== by 0x705067B: g_object_constructor (gobject.c:1835)
==24706== by 0x704FE47: g_object_newv (gobject.c:1699)
==24706== by 0x7050612: g_object_new_valist (gobject.c:1816)
==24706== by 0x704F894: g_object_new (gobject.c:1531)
==24706== by 0x6F0F2F0: g_inet_address_new_from_bytes (ginetaddress.c:459)
==24706== by 0x6F5D703: remove_network (gnetworkmonitornetlink.c:256)
==24706== by 0x6F5DD80: read_netlink_messages (gnetworkmonitornetlink.c:386)
==24706== by 0x6F2D5CA: socket_source_dispatch (gsocket.c:2505)
==24706== by 0x70E1D45: g_main_dispatch (gmain.c:2513)
==24706== by 0x70E2A06: g_main_context_dispatch (gmain.c:3050)
==24706== by 0x70E2BE9: g_main_context_iterate (gmain.c:3121)
==24706== by 0x70E2CAD: g_main_context_iteration (gmain.c:3182)
==24706== by 0x6F60A05: g_application_run (gapplication.c:1599)
==24706== by 0x42D011: main (ephy-main.c:472)
https://bugzilla.gnome.org/show_bug.cgi?id=667098
2012-01-01 19:01:14 +01:00
Yaron Shahrabani
5e4188101e
Updated Hebrew translation.
2011-12-30 10:47:56 +02:00
Chun-wei Fan
a2e1541cda
config.h.win32.in: Cleanups
...
-Make the contents of the preconfigured config.h.win32(.in) more like the
contents of config.h.in
-Correct the sizing of void* on x64 platforms (which should be 8, unlike
4 on x86-32 platforms)
2011-12-30 15:27:31 +08:00