9719 Commits

Author SHA1 Message Date
Chun-wei Fan
ad8e8c22da Temporarily remove build/win32/vs10/glib.sln
-To fix the line endings here...
2011-06-24 10:43:46 +08:00
Chun-wei Fan
393e128801 Visual C++ 2010 projects updates
Consolidate my previous commit into the property file... should have
realized sooner.
2011-06-20 11:46:33 +08:00
Chun-wei Fan
9b275498f1 Update Visual C++ 2010 Projects
-Seperate intermediate directories for each project to avoid intermittent
 MSBuild errors that a build log cannot be written while in use, and
 update the property sheet as necessary.
-Minor cleanups of uneeded tags in the projects/properties
2011-06-20 11:26:44 +08:00
Chun-wei Fan
e2074a6342 Update gsettings/glib-compile-schemas VS Projects
These tools require the use of GModule headers also, so update the include
directories so that the correct gmodule.h will be included instead of the
system-installed version.
2011-06-18 17:58:57 +08:00
Murray Cumming
38220cd31d GDBusServer: Documentation: Improvements.
Provide a fuller description and lead people away if they arrived
here just looking for a way to provide a regular D-Bus service.
2011-06-15 09:35:53 +02:00
Daniel Nylander
2a6e652dae Updated Swedish translation 2011-06-12 20:25:51 +02:00
Gil Forcada
6d78b56d4f [l10n]Updated Catalan translation 2011-06-11 20:34:55 +02:00
Matej Urbančič
38446ab65c Updated Slovenian translation 2011-06-10 20:09:31 +02:00
Mario Blättermann
24d811dd54 [l10n] Updated German translation 2011-06-10 11:16:48 +02:00
Alexander Shopov
7b4155e264 Updated Bulgarian translation 2011-06-09 07:02:20 +03:00
Jorge González
21a13782c2 Updated Spanish translation 2011-06-08 23:11:16 +02:00
Javier Jardón
a635e3be65 gconverter: Improve cross-references 2011-06-08 16:30:06 +01:00
Marek Černocký
fe40636a87 Updated Czech translation 2011-06-07 08:09:48 +02:00
Chun-wei Fan
97901c0c94 Update config.h.win32.in for VS 2010
Missed one type that is defined in the VS2010-shipped stdint.h
2011-06-07 10:37:32 +08:00
Chun-wei Fan
59aa7a3ec5 Update config.h.win32.in
-Make file contents more like the current config.h(.in)
-vsnprintf is shipped with VS 2008+
2011-06-07 10:21:18 +08:00
Chun-wei Fan
34f35595c8 Update the year in the *.rc.in files
Sorry this change came a bit late...
2011-06-07 08:53:11 +08:00
Fran Diéguez
812b4a1951 Updated Galician translations 2011-06-06 13:07:33 +02:00
Piotr Drąg
bfebba8370 Updated Polish translation 2011-06-06 07:37:08 +02:00
Matthias Clasen
736128366e Bump version 2011-06-05 20:10:21 -04:00
Matthias Clasen
d9f9e02777 Update NEWS 2.28.8 2011-06-05 19:24:01 -04:00
Matthias Clasen
b5f53f4bab Fix parameter documentation for many functions
Use the opt-out mechanism introduced in gtk-doc 1.16 to work
around problems with the _utf8 renaming games that the win32
port is playing in our headers.

https://bugzilla.gnome.org/show_bug.cgi?id=638449
2011-06-05 13:28:58 -04:00
Paolo Bonzini
b9cf1c3cfe avoid quadratic behavior of GMainLoop when all fd's have the same priority
https://bugzilla.gnome.org/show_bug.cgi?id=640518
2011-06-05 13:28:33 -04:00
Matthias Clasen
38ef95193f Add a test for the previous fix 2011-06-05 13:28:20 -04:00
Matthias Clasen
f75eafc246 GRand: avoid overflow
Otherwise, g_random_double_range (-G_MAXDOUBLE, G_MAXDOUBLE)
doesn't work as expected.

https://bugzilla.gnome.org/show_bug.cgi?id=502560
2011-06-05 13:28:11 -04:00
Matthias Clasen
2d2d55b772 g_mkdir_with_parents: cope with dirs popping into existence
Don't bail out if a directory suddenly turns out to exist
after all. Proposed in bug 612729.
2011-06-05 13:22:17 -04:00
Mikhail Zabaluev
e668e6e00f Made g_utf8_to_ucs4_fast() even faster
https://bugzilla.gnome.org/show_bug.cgi?id=619435
2011-06-05 13:22:10 -04:00
Mikhail Zabaluev
7c801bac6e Added performance tests for UTF-8 decoding functions
https://bugzilla.gnome.org/show_bug.cgi?id=619418
2011-06-05 13:22:01 -04:00
Wim Taymans
32b57792b1 gthread: avoid locking in _get_mutex_impl
When getting the mutex implementation of a static mutex, avoid taking the global
lock every time but only take the lock when there was no mutex and we need to
create one.

https://bugzilla.gnome.org/show_bug.cgi?id=599954
2011-06-05 13:21:52 -04:00
Giovanni Campagna
e9cb768967 gvariant: fix introspection annotations
g_variant_get_strv and g_variant_get_bytestring return arrays that
are null terminated and have an explicit length. Since gjs doesn't
support (out) arrays with length, mark them also null-terminated
(but leave the length annotation, so pygobject can remove the argument)

https://bugzilla.gnome.org/show_bug.cgi?id=646635
2011-06-05 13:21:32 -04:00
Hanro
cfcd7f5f92 gkeyfile: Only test file descriptors against -1
Windows CE at least will return other (valid) negative values.
2011-06-05 13:21:10 -04:00
Matthias Clasen
4bafdccc63 Expand content type docs slighly 2011-06-05 13:20:51 -04:00
Colin Walters
c19a67ae4f gutils.c: Annotation fixes 2011-06-05 13:20:11 -04:00
Colin Walters
5799f7aadd g_shell_parse_argv: Annotate 2011-06-05 13:20:03 -04:00
Colin Walters
e62dc3ff52 gfileutils: Annotations for g_file_{get,set}_contents
These are actually byte arrays.
2011-06-05 13:19:56 -04:00
muralis
16d5f448d8 gthreadedresolver: fix hang on g_thread_pool_push() failure
In resolve_sync function in gthreadedresolver.c, if g_thread_pool_push
fails due to thread creation failure, we are just simply appending the
data to the queue of work to do. After the failure, we might wait
indefinitely in g_cond_wait. In case of g_thread_pool_push failure,
propagate the error so that this function does not blocks forever in
case of failure.

https://bugzilla.gnome.org/show_bug.cgi?id=651034
2011-06-05 13:19:44 -04:00
Matthias Clasen
f7767ec701 GAsyncQueue: Remove excessive atomic operations
Almost every function was double-checking the ref count,
unnecessarily.
2011-06-05 13:19:13 -04:00
Matthias Clasen
1fe2fcf360 GArray: Avoid unncessary atomic accesses to refcounts
Not really necessary to double-check the ref-count.
2011-06-05 13:19:05 -04:00
Matthias Clasen
8bf68cc661 GHash: Avoid nonatomic access to the reference count
Not really necessary to constantly double-check the ref
count, anyway.
2011-06-05 13:18:57 -04:00
Neil Roberts
a94f498e27 gsocket: Fix some cases of returning error without setting *error
g_socket_shutdown and g_socket_close were calling check_socket with a
NULL error parameter so any errors wouldn't get propagated up.

https://bugzilla.gnome.org/show_bug.cgi?id=651327
2011-06-05 13:18:33 -04:00
Neil Roberts
26bf8c67ba gsocket: Fix the error message for a failed g_socket_shutdown
The GError message for g_socket_shutdown was reporting that it was
"Unable to create socket" which is presumably a cut-and-paste bug.

https://bugzilla.gnome.org/show_bug.cgi?id=651327
2011-06-05 13:18:24 -04:00
Matthias Clasen
61252762cb Trivial: fix a variable name
It is indices, not indeces.
2011-06-05 13:15:10 -04:00
Simon McVittie
9a36b75823 Add a regression test for GNOME#642026
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
2011-06-05 13:15:01 -04:00
Simon McVittie
2b358b082a GStaticPrivate: protect GRealThread.private_data with a bit-lock
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
2011-06-05 13:14:47 -04:00
Simon McVittie
815e18f541 Refactor GStaticPrivate accessors to facilitate protecting them with locks
* g_static_private_get: have a single entry and exit

* g_static_private_set: delay creation of GArray so the whole tail of
  the function can be under the private_data lock without risking
  deadlock with the g_thread lock; call the destructor last, after
  we could have unlocked

* g_static_private_free: choose next thread in list before accessing
  private_data, to keep all accesses together

* g_thread_cleanup: steal private_data first, then work exclusively with
  the stolen array (which doesn't need to be under a lock any more)

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
2011-06-05 13:14:38 -04:00
Simon McVittie
89fb443ba7 g_static_private_free: defer non-trivial destruction til after we unlock
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
2011-06-05 13:14:25 -04:00
Simon McVittie
24aa91b825 GRealThread: remove obsolete comment about gmain.c, which no longer has a copy
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
2011-06-05 13:14:17 -04:00
Matthias Clasen
6274eb1c98 GThread: expand the docs
Mention newer addition to the thread support in the introduction:
bit locks and one-time initialization.
2011-06-05 13:13:55 -04:00
Matthias Clasen
a83581a4f0 glib-compile-schemas: write informational messages to stdout
The fact that we return 0 here makes it clear that this
is not considered an error, so it makes sense to not
write these messages to stderr.
Proposed by Antoine Jacoutot,
https://bugzilla.gnome.org/show_bug.cgi?id=650882
2011-06-05 13:13:46 -04:00
Colin Walters
a06603e7e6 g_variant_new_dict_entry: Fix documentation and annotations
Move @key to not be at the start of a line, otherwise g-ir-scanner
gets confused.

Also two annotation fixes.
2011-06-05 13:13:31 -04:00
Giovanni Campagna
a62eb4237e g_variant_get_child_value: Add a precondition on length
Ensure callers get a warning if they pass a bad length.

Split into a separate commit and changed to order index before
n_children by Colin Walters <walters@verbum.org>
2011-06-05 13:13:01 -04:00