Commit Graph

9121 Commits

Author SHA1 Message Date
Havoc Pennington
106bde0a8f GAsyncQueue: use g_queue_init() not g_queue_new()
By using g_queue_init() instead of g_queue_new(), we can avoid
a separate memory allocation.

Bug 626704
2010-08-13 00:33:04 -04:00
Daniel Nylander
f424aa9581 Updated Swedish translation 2010-08-12 13:19:50 +02:00
Tor Lillqvist
398f9841ed Fix gio/win32 build after -I flag changes 2010-08-10 16:01:39 +03:00
Aron Xu
304c0c4746 Update Simplified Chinese translation. 2010-08-09 14:27:55 +08:00
Matthias Clasen
43c0aa9ebe Replace the explicit list of character categories by a reference
to the GUnicodeType docs.
2010-08-08 23:55:12 -04:00
Matthias Clasen
4e42893369 Refer to GUnicodeScript docs instead of listing scripts explicitly 2010-08-08 23:55:11 -04:00
Matthias Clasen
733d209b14 Move GRegex docs inline 2010-08-08 23:55:11 -04:00
Matthias Clasen
c3e5b3cca8 Whitespace cleanup 2010-08-08 23:55:11 -04:00
Matthias Clasen
de3c6efa22 Remove two redundant comments 2010-08-08 23:55:11 -04:00
Matthias Clasen
b5bda64a73 Fix up a doc typo 2010-08-08 23:55:11 -04:00
Matthias Clasen
f5a5863975 Minor cleanup
The definition is now present in pcre.h
2010-08-08 23:55:11 -04:00
Matthias Clasen
def0dc01f7 Move GConvert docs inline 2010-08-08 23:55:11 -04:00
A S Alam
f837e15972 update translation for master 2010-08-10 06:24:02 +05:30
Matthias Clasen
f9a4b4ecc7 Add introspection annotations in gregex.c
Also, make the new getters follow the style of other GRegex getters,
and take a const GRegex *.
2010-08-08 21:32:04 -04:00
Matthias Clasen
14e0ad7c53 Don't compile some unused functions in gio/xdgmime/ 2010-08-08 21:32:04 -04:00
Matthias Clasen
7acdaf6f1d Don't compile an unused function 2010-08-08 21:32:04 -04:00
Matthias Clasen
3fd1fc4f9a Trivial typo fix 2010-08-08 21:32:04 -04:00
Matthias Clasen
c9916d64b1 Improve regex test coverage 2010-08-08 21:32:03 -04:00
Matthias Clasen
584787f580 Improve the async result test coverage 2010-08-08 21:32:03 -04:00
Matthias Clasen
7c129c9011 Improve dbus address test coverage 2010-08-08 21:32:03 -04:00
Fran Diéguez
ae8b375f0f Updated galician translations 2010-08-09 01:11:59 +02:00
Matthias Clasen
bbd1d2a724 Improve regex test coverage 2010-08-08 01:12:05 -04:00
Matthias Clasen
6ada7532b5 Drop some unused code
Some functions in pcre_get.c are not used.
2010-08-08 01:12:05 -04:00
Matthias Clasen
8804d6a98f Simplify gcov generation
lcov seems to handle .libs just fine on its own.
2010-08-08 01:12:04 -04:00
Ryan Lortie
01cae84e47 Bug 578295 - gtester has a race condition
Deal with the race in GMainLoop by installing a do-nothing timeout.
2010-08-07 19:59:36 -04:00
Matthias Clasen
51ad83f711 Make g_dbus_error_unregister_error work 2010-08-07 18:56:12 -04:00
Matthias Clasen
8e236f7ec1 Add some more test about gdbus_error apis 2010-08-07 18:55:21 -04:00
Matthias Clasen
7de6658f74 Make g_simple_async_result_is_valid work without source
The problem was pointed out by Xavier Claessens in bug 626208.
2010-08-07 17:10:17 -04:00
Matthias Clasen
402ad1958c Make the closure variants of name owning and watching actually work
The GClosure API is a bit funky (and badly documented), and requires
you to set a marshaller on the closure, and the marshaller has an
implicit 'this' argument, and the caller is reponsible for unsetting
the values after invoking the closure.

I've added some calls of the _with_closures variants to the
gdbus-names test now.
2010-08-07 17:10:17 -04:00
Kjartan Maraas
c15d20e53a Updated Norwegian bokmål translation 2010-08-07 18:43:01 +02:00
Benjamin Otte
4ac7f8f084 notifyqueue: Dedup pspecs when adding
The previous code dedup'd when thawing and threw nasty warnings your way
if you notified too often. This can now easily be avoided.

Performance should be roughly identical, as both are O(n²).
2010-08-06 23:35:24 +02:00
Ryan Lortie
e88eb04865 Prepare to release glib 2.25.13 2010-08-06 16:48:19 -04:00
Ryan Lortie
80046f36e0 gitignore update 2010-08-06 16:42:36 -04:00
Ryan Lortie
d96b7c5c8a gtester: Run tests only once on 'make check'
The gtester makefile runs 'make test' on 'make check' and also recurses
on 'make test'.  automake recurses on 'make check'.

This means that every level of recursive make that we go through results
in the tests running twice as many times.  If you type 'make check' at
the toplevel, for example, tests in gio/tests/ run 4 times.

Fix that by introducing a 'test-nonrecursive' target and using that one
from 'make check'.  'make test', 'make test-report', etc. are still
recursive.
2010-08-06 15:28:58 -04:00
Ryan Lortie
b91f9274d9 Fix volumemonitor test case
Don't blindly g_object_unref() that which may be NULL.
2010-08-06 13:12:20 -04:00
Ryan Lortie
889a7f81dd gio.symbols: add g_dbus_message_[gs]et_byte_order 2010-08-06 13:11:38 -04:00
Ryan Lortie
5e044a943c typo fix: Dist the data for the test cases
change 'dist_hook:' to 'dist-hook:'
2010-08-06 13:11:20 -04:00
Ryan Lortie
b3b7ea8e22 Replace -I with $(glib_INCLUDES) and friends
Stop using ad hoc -I in all of our Makefile.am.  Use the new variables
instead.
2010-08-06 13:10:34 -04:00
Ryan Lortie
8ad9d9dbe3 configure.ac: define glib_INCLUDES and friends
These macros should be used instead of -I for things in the tree that
depend on various bits of glib.

also gobject_INCLUDES, gthread_INCLUDES, gmodule_INCLUDES, gio_INCLUDES
2010-08-06 13:07:31 -04:00
Ryan Lortie
ba0208b3a8 Clean up improper #includes
We have a lot of broken #including going on around the tree.  This has
gone unnoticed due to our sloppy use of -I.
2010-08-06 13:05:18 -04:00
Ryan Lortie
78f7f14b34 Don't dist 'glibconfig.h'
This is causing very serious problems when doing out-of-tree builds from
tarballs on architectures that are different from the architecture that
the tarball was created on.

This commit breaks the build in those cases, but I'll fix that in the
next commits.

https://bugzilla.gnome.org/show_bug.cgi?id=626107
2010-08-06 10:53:07 -04:00
Ryan Lortie
25c6bdc22a error test case: don't double-free the source
g_propagate_prefixed_error() frees the source already, don't
g_error_free() it.
2010-08-06 10:29:32 -04:00
Hannes Müller
a1b015f7b7 avoid warning in gutils.h when using gcc with -Wconversion
https://bugzilla.gnome.org/show_bug.cgi?id=619026
2010-08-05 23:18:45 +02:00
Fran Diéguez
970d0634e9 Updated Galician translations 2010-08-05 15:36:39 +02:00
Claude Paroz
c789f72f9d Updated French translation
Contributed by Gérard Baylard and Claude Paroz
2010-08-05 15:18:30 +02:00
paul
9f6faaffb6 Add $(top_builddir)/glib to includes
This is required to find glibconfig.h during srcdir != builddir builds
2010-08-05 09:08:34 -04:00
Jorge González
38c3f9964c Updated Spanish translation 2010-08-05 12:11:05 +02:00
Philip Withnall
abe820e0d9 Expand documentation about error quark naming
Closes: bgo#625827
2010-08-05 08:49:54 +01:00
Matthias Clasen
008615f999 Test an option handling corner-case 2010-08-05 02:24:26 -04:00
Matthias Clasen
e2657d8dce Add a not about arguments beginning with dashes 2010-08-05 02:24:25 -04:00