Ryan Lortie
a3c7406cce
GVariantTypeInfo: fix thread safety bug
...
Issue caught by Michael Meeks. This patch based on his.
GVariantTypeInfo was dropping the reference count on the TypeInfo
structure before removing it from the hash table. This means that
another thread could come along and grab the value from the hash table
in the meantime.
Solve this by holding the lock on the table before dropping the
reference.
Also: move the hash table initialisation inside of the lock to remove
the standard double-initialisation race plus a more insidious issue
caused by the fact that we free the hash table once it becomes empty.
2010-02-25 18:13:59 -05:00
Duarte Loreto
43b6c2b8f5
Updated Portuguese translation
2010-02-25 02:03:17 +00:00
Bruce Cowan
24decf7658
Updated British English translation
2010-02-24 15:28:15 +00:00
Leonid Kanter
cf07bb3534
Update Russian translation by Yuri Kozlov <yuray@komyakino.ru>
2010-02-24 10:49:16 +02:00
Saleem Abdulrasool
a495a2122d
include gio.h, not giotypes.h
...
Including giotypes.h in gfiledescriptor.h causes a compilation failure for users
of the header as giotypes.h may not be included directly.
2010-02-23 16:23:07 -08:00
Gintautas Miliauskas
8413dfda9b
Updated Lithuanian translation.
2010-02-23 23:45:09 +02:00
Ask H. Larsen
ec0e3089c0
Updated Danish translation
2010-02-23 22:25:51 +01:00
Mario Blättermann
1903c229a2
Updated German translation
2010-02-23 22:23:36 +01:00
Ryan Lortie
2940285002
.gitignore gcov output (*.gcov, *.gcno, *.gcda)
2010-02-23 12:49:08 -05:00
Edward Hervey
cecf61d1c3
gobject: Don't use G_PARAM_SPEC_VALUE_TYPE when we know the pspec is valid
...
https://bugzilla.gnome.org/show_bug.cgi?id=605667
2010-02-23 18:42:03 +01:00
Emilio Pozuelo Monfort
a7cc500d38
Test for unexisting files in $TMP and not in $HOME
...
Some buildd environments have an unwritable $HOME, which makes the
test that looks for an unexisting file there fail. Use $TMP instead,
which should be more reliable.
https://bugzilla.gnome.org/show_bug.cgi?id=610860
2010-02-23 18:37:39 +01:00
Alexander Shopov
355246579e
Updated Bulgarian translation
2010-02-23 09:31:03 +02:00
Ryan Lortie
1f66523ad3
Fix backward logic in g_return_if_fail().
2010-02-23 02:00:11 -05:00
Ryan Lortie
360b9b540e
GVariant: Improve test coverage.
2010-02-23 01:59:57 -05:00
Emilio Pozuelo Monfort
202d7d37d6
Don't fail a couple of tests when running as root
...
root can access and write to a directory when it doesn't have
exec and write permissions respectively. So expect the tests that
check that to succeed rather than to fail when running as root.
https://bugzilla.gnome.org/show_bug.cgi?id=552912
2010-02-22 19:54:38 +01:00
Alexander Larsson
4535683b3f
Keep metadata when files are renamed and trashed
...
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=609813
2010-02-22 12:37:16 +01:00
Ryan Lortie
515434bdcb
GVariantIter, GVariantBuilder
2010-02-22 00:39:01 -05:00
Ryan Lortie
b9d728474e
Remove redudant check for direct #include gslice.h
...
This was added before we had a standardised header check and not removed
when the standard check was added.
2010-02-22 00:35:45 -05:00
Matthias Clasen
0a1ce31b6e
Bump version
2010-02-21 21:38:33 -05:00
Matthias Clasen
7fea53a4a2
2.23.4
2010-02-21 21:37:33 -05:00
Matthias Clasen
9a08cd5b04
More distcheck fixes
2010-02-21 20:28:34 -05:00
Matthias Clasen
ef497e8e64
Fix some distcheck issues
2010-02-21 20:11:33 -05:00
Matthias Clasen
3983418c25
Fix up GFileDescriptorBased docs
2010-02-21 19:55:02 -05:00
Matthias Clasen
03fc92784d
Add indices for 2.24 additions
2010-02-21 19:48:22 -05:00
Matthias Clasen
80a160c7c6
Small doc fixes
2010-02-21 19:46:57 -05:00
Matthias Clasen
2de84d6594
Fix up make check
2010-02-21 19:42:37 -05:00
Matthias Clasen
fd751cc2a2
More updates
2010-02-21 19:17:50 -05:00
Matthias Clasen
e0e57fd97d
Fix a doc typo.
...
Reported in bug 608063 by Дилян Палаузов.
2010-02-21 17:59:15 -05:00
Matthias Clasen
dcdc409cd8
Fix the large array test to work
...
Fix by Sven Herzberg, bug 568760
2010-02-21 16:29:15 -05:00
Matthias Clasen
21080a33e1
Add missign single include guards
...
Reported in bug 609530. patch by Christian Dywan.
2010-02-21 16:12:35 -05:00
Matthias Clasen
dd7bd61c53
Documentation improvement
...
Document the size requirements on output buffer in g_base64_encode_close.
Patch by Christian Persch, bug 609564.
2010-02-21 16:04:21 -05:00
Matthias Clasen
6c1a914d51
Fix build on Solaris 8
...
System header fun. See bug 610131.
2010-02-21 15:55:10 -05:00
Matthias Clasen
de6914a46a
Add a pointer to G_DEFINE_INTERFACE
2010-02-21 15:32:08 -05:00
Matthias Clasen
ecb45f4382
Fix an oversight
...
_Always_ explicitly compare strcmp to 0... this was pointed out in
bug 610484 by Christian Persch.
2010-02-21 15:28:04 -05:00
Matthias Clasen
19e438556c
Updates
2010-02-21 15:19:06 -05:00
Fran Diéguez
e377a6f481
Updated Galician Translation
2010-02-20 22:22:04 +01:00
Piotr Drąg
af22e5739b
Updated Polish translation
2010-02-20 22:20:04 +01:00
Colin Walters
5047fd7f68
[gutf8.c] Add a bit of documentation to UNICODE_VALID
2010-02-19 16:39:26 -05:00
Ryan Lortie
ed3c914cdb
Merge the main public API of GVariant
2010-02-19 10:52:03 -05:00
Petr Kovar
afa5dc0c6d
Update Czech translation
2010-02-18 20:07:56 +01:00
Christian Kellner
48f74cab39
Move event support in the inotify backend
...
This adds support for G_FILE_MONITOR_SEND_MOVED events when requested by
the user to the inotify backend. Last part to fix bug #547890 .
Based heavily on a patch by Martyn Russel <martyn@lanedo.com>.
2010-02-18 15:50:26 +01:00
Christian Kellner
239af97712
GLocalFileMonitor: Support for GFileMonitorFlags
...
Evaluate and remember GFileMonitorFlags. This is a part of move
event support for fs-monitoring (bug #547890 ).
2010-02-18 15:50:26 +01:00
Christian Kellner
41956b2376
Move event support for fs-monitoring: Event & flag
...
Add a G_FILE_MONITOR_SEND_MOVED flag indicating the API user
wants to receive the new G_FILE_MOINOTR_EVENT_MOVED event
instead of single CREATED/DELETED events.
First part of bug #547890 .
2010-02-18 15:50:26 +01:00
Ivar Smolin
a5dc1af0a2
Estonian translation updated
2010-02-18 11:46:06 +02:00
Mario Blättermann
e1cc5a5fec
Updated German translation
2010-02-17 09:00:04 +01:00
Benjamin Otte
63a6666ab7
Make g_type_interface_prerequisites() only return one instantiable type
...
Previously, the code had a heisenbug and could potentially return
superclasses, too. In fact, it was based on the behavior of malloc.
https://bugzilla.redhat.com/show_bug.cgi?id=554678
2010-02-17 08:55:14 +01:00
Matej Urbančič
9fdbae9344
Updated Slovenian translation
2010-02-16 12:38:11 +01:00
Ryan Lortie
b899bfc741
GVariant: create child instance from its own data
...
also: white-space fix in the serialiser
2010-02-15 19:38:00 -05:00
Changwoo Ryu
7fb9d536c0
Updated Korean translation
2010-02-16 03:42:19 +09:00
Jorge González
68505d5a9f
Updated Spanish translation
2010-02-15 17:54:26 +01:00