9655 Commits

Author SHA1 Message Date
Matthias Clasen
156d249b7b Update symbol lists 2.28.3 2011-03-14 01:27:19 -04:00
Matthias Clasen
f8017fd186 Update for 2.28.3 2011-03-14 01:14:48 -04:00
Owen W. Taylor
b0e63cb477 Correct internal definition of C_()
* Since the GLib translations are lazily initialized, we need an
  internal wrapper for g_dpgettext() that does the initialization
  in the same way as glib_gettext()
* We need to use the glib domain defined by GETTEXT_PACKAGE
  rather than than the application's domain.

https://bugzilla.gnome.org/show_bug.cgi?id=644607
2011-03-13 18:53:04 -04:00
Gabor Kelemen
0caf9ee66f Updated Hungarian translation 2011-03-13 02:21:55 +01:00
Emilio Pozuelo Monfort
7fc46fa278 Document g_timeout_add_seconds first call latency
And fix /timeout/rounding to not fail if the first call
happens after 2 seconds.

https://bugzilla.gnome.org/show_bug.cgi?id=644552
2011-03-12 19:00:40 +00:00
Claude Paroz
cd72732835 Updated French translation 2011-03-12 11:20:45 +01:00
Bruno Brouard
b54aa61dd5 Updated French translation 2011-03-12 11:16:47 +01:00
Duarte Loreto
639956eb43 Updated Portuguese translation 2011-03-12 01:14:01 +00:00
Tor Lillqvist
b6027dbcc0 Use g_usleep() for portability, bug #644465 2011-03-11 10:21:39 +02:00
Martin Nordholts
f837fb3cef Check availability of linux/magic.h
Check availability of linux/magic.h. It isn't available in Linux
versions before 2.6.19.
2011-03-08 19:22:29 +01:00
Matthias Clasen
8a82319458 Bump version 2011-03-07 13:43:13 -05:00
Matthias Clasen
90b18cdacd Make timeout test less likely to fail 2.28.2 2011-03-07 13:42:33 -05:00
Matthias Clasen
1841ab81e5 Update NEWS 2011-03-07 12:05:38 -05:00
Luca Ferretti
a4bc52d59a Updated Italian transation from master 2011-03-07 12:57:56 +01:00
Matthias Clasen
471a029fa6 Improve preconditions in action-related GApplication api
https://bugzilla.gnome.org/show_bug.cgi?id=643780
2011-03-06 23:09:56 -05:00
Matthias Clasen
b0ec12ef76 Go back to the old logic in set_expiration
It was more complicated, but also more correct...
Also add a test to ensure that our rounding works as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=643795
2011-03-06 22:39:10 -05:00
Matthias Clasen
6416e01e11 Prime the NEWS for 2.28.2 2011-03-04 13:07:14 -05:00
Matthias Clasen
c16a12c7a9 Some more details about GApplicationFlags 2011-03-04 12:52:43 -05:00
Matthias Clasen
5fe6f2beb4 Add more GApplication docs
Add more details about ::command-line to the g_application_run docs.
2011-03-04 12:52:39 -05:00
Murray Cumming
a01af94c35 GApplication: Check more before warning about a missing signal handler.
* gio/application.c (g_application_real_command_line): Check that the
default signal handler is not the current one before complaining, because
it is not unusual for overloads to call the base class implementation as
a matter of habit.
g_application_real_open() and g_application_real_activate() already do this
extra check.
2011-03-04 12:52:33 -05:00
Matthias Clasen
841d2a3fff GApplication: More documentation tweaks 2011-03-04 12:52:26 -05:00
Matthias Clasen
fe4d9ab763 Fix a typo 2011-03-04 12:52:18 -05:00
Ryan Lortie
7b315afae9 GVariant docs cleanups
Fix some gtk-doc warnings
2011-03-04 12:52:11 -05:00
Matthias Clasen
bd0e8775b6 Small doc correction
We don't actually pass @argc to local_command_line().
2011-03-04 12:51:48 -05:00
Matthias Clasen
f21b28c3f1 GApplication: Clarify docs for @argv
Clearly state that @argv may be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=643649
2011-03-04 12:51:39 -05:00
Matthias Clasen
15236daefd GApplication: Beef up the local_command_line() docs
This adds some details, such as the meaning of @argc, @argv and @status,
even though gtk-doc does not make it easy to document vfunc arguments.
Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=643478
2011-03-04 12:51:29 -05:00
Matthias Clasen
4efbf92b7f GApplication: Improve documentation
This commit adds some details regarding platform data.
2011-03-04 12:51:24 -05:00
Matthias Clasen
93918189ef Try harder to explain GApplicationCommandline
Trying to answer some of the questions in
https://bugzilla.gnome.org/show_bug.cgi?id=643468
2011-03-04 12:51:18 -05:00
Will Thompson
6e6b2db613 g_value_array_remove(): clarify docstring formatting 2011-03-04 12:51:04 -05:00
Matthias Clasen
3b373b7541 GApplications: Tighten up application-id validity checks
Also add tests for these conditions.
https://bugzilla.gnome.org/show_bug.cgi?id=643197
2011-03-04 12:50:57 -05:00
Matthias Clasen
16cf8ab2e5 Add some tests for g_hash_table_lookup_extended 2011-03-04 12:50:51 -05:00
Matthias Clasen
002c6074a6 GHashTable: Clarify g_hash_table_lookup_extended docs
Passing NULL as a key is only ok if your hash and equal functions
can deal with it.
https://bugzilla.gnome.org/show_bug.cgi?id=642944
2011-03-04 12:50:45 -05:00
Matthias Clasen
989088308a GOptionContext: Warn about invalid arg/flag combinations
This was proposed by Kjell Ahlstedt in bug 642825.
Also adding a few tests for this new behaviour.
2011-03-04 12:50:39 -05:00
Matthias Clasen
563d1e3e75 Treat optional arguments the same for long and short options
This was noticed in bug 642825 and the change was proposed
by Kjell Ahlstedt.
2011-03-04 12:50:33 -05:00
Andreas Rottmann
1adbb5a02a Bug 638185 - GIOCondition should be annotated as "flags"
Add a gtk-doc annotation to GIOCondition marking it as a flags type.
2011-03-04 12:50:05 -05:00
Vincent Untz
ffbd230d6d appinfo: Do not override system default handler with less specific one
We were considering explicitly configured defaults for parent types
after we already got results for the specific type we're interested in.

This resulted in the explicit default for text/plain to override all
system defaults for subtypes of text/plain, for example. The explicit
default should not apply to subtypes that have a system default.

https://bugzilla.gnome.org/show_bug.cgi?id=642797
2011-03-04 12:49:45 -05:00
Matthias Clasen
24e6a27d23 Be more forgiving when parsing introspection xml
Accept (and silently ignore) version attributes on <interface>
and <method> elements - these occur in the wild, and ignoring
them does not cost us anything.
2011-03-04 12:47:27 -05:00
Matthias Clasen
83e344fee4 Add a testcase for bug 637738 2011-03-04 12:47:22 -05:00
Matthias Clasen
1f39997da2 Document G_VALUE_NOCOPY_CONTENTS
https://bugzilla.gnome.org/show_bug.cgi?id=624943
2011-03-04 12:47:16 -05:00
Matthias Clasen
1ec5c4401a Expand the documentation of g_type_get_qdata()
https://bugzilla.gnome.org/show_bug.cgi?id=613269
2011-03-04 12:47:10 -05:00
Cosimo Cecchi
e3516c7f89 application: fix a typo in the docs annotation 2011-02-22 22:08:50 -05:00
Bruce Cowan
053edf751b Updated British English translation 2011-02-20 16:47:56 +00:00
Matthias Clasen
2ce2fc1256 Post release version bump to 2.28.2 2011-02-18 11:04:32 -05:00
Matthias Clasen
bb395d23ae Update NEWS for 2.28.1 2.28.1 2011-02-18 07:20:14 -05:00
Matthias Clasen
4f82aa99d7 Silence a few unused variable warnings 2011-02-17 23:59:58 -05:00
Lin Ma
712fbdd9cc Fixed bugster 7007407. Do not clear stat info until a node is really
deleted.
2011-02-17 23:34:41 -05:00
Stef Walter
872d0776ae Better documentation for g_value_dup_object().
State that NULL is returned when value is NULL.
2011-02-17 23:34:25 -05:00
Matthias Clasen
1d44e5cf4d Don't report standard interfaces more than once
If they have a custom implementation, don't add the canned
introspection XML, just rely on the generated XML. Fixes
https://bugzilla.gnome.org/show_bug.cgi?id=642042
2011-02-17 23:34:15 -05:00
Matthias Clasen
2414218a9d Fix memory leaks in the gdbus introspection parser
We were getting our length zero, yet NULL-terminated arrays in
a twist in some places. Stop passing around ignored length arguments
at the same time.
https://bugzilla.gnome.org/show_bug.cgi?id=635099
2011-02-17 23:34:02 -05:00
Matthias Clasen
7b18bf4b95 Add schema name in error message
Why not be helpful if it doesn't cost anything...
2011-02-17 23:33:24 -05:00