Matthias Clasen
e7ca67f20c
GHash: Cosmetic changes
2011-10-02 00:08:13 -04:00
Matthias Clasen
ed325b1879
One forgotten moved doc
2011-10-01 23:38:52 -04:00
Matthias Clasen
10d86cda02
Move GStringChunk into its own files
2011-10-01 23:38:23 -04:00
Matthias Clasen
0e8bcc3ed7
Move GString docs inline
2011-10-01 23:27:45 -04:00
Matthias Clasen
459b14d89a
GString: cosmetic cleanups
2011-10-01 23:23:40 -04:00
Matthias Clasen
7154d44c5c
Move file utility docs inline
2011-10-01 23:03:09 -04:00
Matthias Clasen
ca77b0e252
Move string utility docs inline
2011-10-01 22:48:27 -04:00
Matthias Clasen
793ff83527
Move test docs inline
2011-10-01 22:00:41 -04:00
Matthias Clasen
9d3b37ac3f
Move keyfile docs inline
2011-10-01 21:03:14 -04:00
Matthias Clasen
3d814e7a2a
GAsyncQueue: simplify an internal function
...
g_cond_timed_wait() behaves like g_cond_wait() when given
NULL, so no need have different branches for that in
g_async_queue_pop_intern_unlocked().
2011-10-01 20:22:47 -04:00
Matthias Clasen
8c5400ff45
GAsyncQueue: internal cleanup
...
Turn the 'try' parameter of g_async_queue_pop_intern_unlocked
into a 'wait', for better alignment with the GCond api.
2011-10-01 20:22:47 -04:00
Matthias Clasen
793cf54275
GAsyncQueue: embed the GCond
...
Use g_cond_init/clear, now that we have them.
2011-10-01 20:22:46 -04:00
Matthias Clasen
ef08aa786b
GAsyncQueue: Cosmetic fixes
...
Mostly doc formatting and whitespace fixes.
2011-10-01 20:22:46 -04:00
Matthias Clasen
93abf20d3b
GAsyncQueue: Move private API to a private header
2011-10-01 20:22:46 -04:00
Matthias Clasen
b17b02da79
GThreadPool: cosmetic cleanups
...
Mostly documentation and formatting trivial, but also add
boolean return types to GError taking functions.
2011-10-01 20:22:46 -04:00
Matthias Clasen
81e161edf2
GThread: cosmetic fix
...
Explicitly include gthread.h, don't rely on gthreadprivate.h
to pull it in.
2011-10-01 20:22:45 -04:00
Nguyễn Thái Ngọc Duy
5135241633
Updated Vietnamese translation
2011-10-02 11:21:29 +11:00
Nguyễn Thái Ngọc Duy
98818afa08
po/vi: import from Damned Lies
2011-10-02 11:21:28 +11:00
Matthias Clasen
1af5ac0179
Add an index for 2.32 api additions
2011-10-01 13:47:54 -04:00
Matthias Clasen
b4dc4902c6
Mark g_thread_create_with_stack_size as new API
2011-10-01 13:47:09 -04:00
Ryan Lortie
65b7a20c67
GSettings schemas: allow for zero items in schema
...
GVDB deals with empty lists by returning NULL for the list instead of a
zero-length (non-NULL) strv. We can work around that in GSettingsSchema
by checking for the NULL case and treating it like a zero-length list.
https://bugzilla.gnome.org/show_bug.cgi?id=660147
2011-10-01 09:34:44 -04:00
Jasper Lievisse Adriaanse
e147d7aa2f
Fix URL to strlcpy(3) manpage in comment.
2011-10-01 10:46:52 +02:00
Simon McVittie
c48a0d8813
markup-subparser test: use a real GError domain
...
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Matthias Clasen <mclasen@redhat.com>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371
2011-09-30 13:17:27 +01:00
Simon McVittie
7aad93c5b4
sleepy-stream test: use a real GError domain
...
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Matthias Clasen <mclasen@redhat.com>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371
2011-09-30 13:17:27 +01:00
Simon McVittie
e60e4999b9
g_dbus_error_encode_gerror: don't segfault on bad domains
...
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Matthias Clasen <mclasen@redhat.com>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371
2011-09-30 13:17:27 +01:00
Matthias Clasen
5156d1b2d4
Prevent data loss in gdesktopappinfo.c
...
Don't loose the content of mimeapps.list when it doesn't contain
a [Added Associations] group. Pointed out by Alexander Larsson.
https://bugzilla.gnome.org/show_bug.cgi?id=660130
2011-09-29 23:42:58 -04:00
Matthias Clasen
e6c76d9fd4
Clean up atomic cruft
...
Nothing is using these defines anymore, and the messages
are misleading. Based on a patch by Kean Johnston.
https://bugzilla.gnome.org/show_bug.cgi?id=660013
2011-09-29 23:20:09 -04:00
Matthias Clasen
cde8cf16fa
Some more gthread reshuffling
2011-09-29 20:23:19 -04:00
David Zeuthen
934e0a7470
GUnixFileMonitor: Clean up /proc/mounts monitoring
...
Most suggestions from Colin Walters <walters@verbum.org>.
https://bugzilla.gnome.org/show_bug.cgi?id=660511
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-09-29 15:49:09 -04:00
David Zeuthen
55065461bf
GUnixFileMonitor: Use /proc/mounts for monitoring mount changes
...
On recent Linux distros /etc/mtab is just a symlink to /proc/mounts
and GFileMonitor does not work there because of how the kernel conveys
that the file changes.
https://bugzilla.gnome.org/show_bug.cgi?id=660511
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-09-29 15:16:51 -04:00
Javier Jardón
6d05f684eb
gfile: Be clear about freeing GFile objects
2011-09-29 20:04:28 +01:00
Dan Winship
f992c240e8
gthread: remove a stray reference to GStaticMutex
2011-09-29 09:59:15 -04:00
Tiffany Antopolski
76d2f7fa6a
Updated Esperanto translation
2011-09-29 06:24:55 +02:00
Dan Winship
0f4b278a4b
update .gitignores
2011-09-28 12:20:09 -04:00
Dan Williams
6feff14f19
tests: add signal marshalling return tests for int/uint
...
https://bugzilla.gnome.org/show_bug.cgi?id=659881
2011-09-28 11:01:53 -05:00
Dan Williams
a343904596
tests: fix generic closure marshalling tests
...
We're testing enums here, not flags, so we need to make sure
we're trying to send enums through the marshalling.
https://bugzilla.gnome.org/show_bug.cgi?id=659881
2011-09-28 11:01:39 -05:00
Dan Williams
adf7e0740c
tests: Add some return value torture testcases for the generic marshaller
...
Ensure that ENUM types are properly marshalled back from libffi types
to glib types, which was failing on ppc64.
https://bugzilla.gnome.org/show_bug.cgi?id=659881
2011-09-28 11:01:14 -05:00
Dan Winship
51166d0127
Add thread-safety warnings to the g_setenv() and g_unsetenv() docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=659326
2011-09-27 10:30:39 -04:00
Ryan Lortie
104ea17125
GDesktopAppInfo: simplify how defaults work
...
Previously, we took the default application for a particular mimetype
from the system and copied it into the user's configuration as the
default there.
Instead of doing that we leave the user's default unset, and at time of
use, if the user has no explicitly-set default value, we use the system
default.
This avoids complicated situations where inappropriate applications were
being set as the default in the user's configuration.
https://bugzilla.gnome.org/show_bug.cgi?id=658188
2011-09-26 16:54:24 -04:00
Edward Sheldrake
5b2c809dda
Add another mimeapps test
...
This tests the interaction between mimeinfo.cache, defaults.list and
mimeapps.list to ensure g_app_info_set_as_last_used_for_type doesn't
incorrectly change the default.
https://bugzilla.gnome.org/show_bug.cgi?id=658188
2011-09-26 16:54:23 -04:00
Dan Winship
eba49a4f7f
g_simple_async_result_complete_in_idle: add a minor doc clarification
2011-09-26 12:43:08 -04:00
Ryan Lortie
6bd959b727
glib tests: Compile new thread tests on win32
...
They accidentally got added inside of a 'if OS_UNIX'. Move them out.
2011-09-26 09:05:53 -04:00
Ryan Lortie
fdc594e963
winxp threads: detect SRWLock emulation reentrancy
...
We lack SRWLock on Windows XP, so we use CRITICAL_SECTION to emulate it
there. SRWLock is non-recursive, but CRITICAL_SECTION will happily
allow itself to be acquired multiple times by the same thread.
We need to detect if our second acquire succeeded because of the
recursive nature of CRITICAL_SECTION. In the case of a _lock()
operation, we would normally have deadlocked, so abort. In the case of
a _trylock() operation, we need to ensure that FALSE is properly
returned.
Problem caught by Matthias Clasen and Chun-wei Fan.
https://bugzilla.gnome.org/show_bug.cgi?id=660096
2011-09-26 08:54:51 -04:00
Carles Ferrando
5ef7b964e5
[l10n]Updated Catalan (Valencian) translation
2011-09-26 14:40:23 +02:00
Petr Kovar
f032536416
Update Czech translation
2011-09-25 23:36:13 +02:00
Gil Forcada
31ddbd688a
[l10n]Updated Catalan translation
2011-09-25 23:12:53 +02:00
Stef Walter
5a95e19a46
gvariant: Add g_variant_get_fixed_array()
...
Using g_variant_new_from_data() for creating new byte arrays is non-obvious.
This patch adds a g_variant_new_fixed_array() function.
https://bugzilla.gnome.org/show_bug.cgi?id=659923
2011-09-25 07:57:26 +02:00
Matthias Clasen
81e395b00b
More GThread docs tweaks
2011-09-25 01:32:41 -04:00
Matthias Clasen
900c467fd0
Move GThread docs around
2011-09-25 01:01:00 -04:00
Matthias Clasen
db04f59780
Move includes to the top of the file
2011-09-25 01:01:00 -04:00