9537 Commits

Author SHA1 Message Date
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
Matthias Clasen
f1d5501bd7 Fix the tm.tm_gmtoff check 2011-02-17 23:33:11 -05:00
Matthias Clasen
f948a0fd39 Docs: Mention gettext setup requirements in i18n section 2011-02-17 23:32:53 -05:00
Benjamin Otte
ee41cd61f7 doc: Fix typo in previous commit
Yuck. I blame it on the weekend.
2011-02-17 23:32:44 -05:00
Benjamin Otte
936c7a895b docs: Fix return value for g_datetime_compare()
Previous code confused dt1 and dt2. The new formulation is stolen from
man strcmp() and g_strcmp0().
(cherry picked from commit 17eea8fa60915c5711a99eebe5025eadb04c3f3f)
2011-02-17 23:32:37 -05:00
Colin Walters
74efccfc4b gdesktopappinfo: Handle g_get_prgname() being NULL
Reported-By: Sebastien Bacher <seb128@ubuntu.com>

https://bugzilla.gnome.org/show_bug.cgi?id=642490
2011-02-16 13:59:44 -05:00
Ryan Lortie
78c8f5cc69 Bug 642052 - g_timeout_add(_seconds) overflow
Fix integer overflow error.
2011-02-14 23:24:10 -05:00
Ryan Lortie
7aa6620d20 Bug 642052: add currently-broken test case
The test case fails for now.  It will be fixed by the next commit.
2011-02-14 23:24:09 -05:00
Ryan Lortie
7e525f9547 GVariant: doc the format of g_variant_parse/print
This is a backport from master, including changes made by Will Thompson.
2011-02-11 14:17:32 -05:00
Will Thompson
c2d98c5609 GObject: correct documentation typos 2011-02-11 15:21:12 +00:00
Ryan Lortie
b1d02f9323 GVariant: support NULL for empty arrays in varargs
g_variant_new("as", NULL); now gives an empty array of strings, for
example.

This was documented as working already, but was never actually
implemented (due to the fact that it muddies the water when considering
maybe types).  It's being implemented now because its convenience to
programmers exceeds any damage done to the conceptual purity of the API.
2011-02-11 10:14:29 -05:00
Runa Bhattacharjee
d25dca2d74 Updated Bengali India Translation 2011-02-11 19:01:05 +05:30
Colin Walters
4196dfbc4a gsettings: Minor typo in previous commit 2011-02-10 23:42:34 -05:00
Ryan Lortie
0f8d1933ad GSettings: add paragraph with performance notes
summary: reads are very fast.  writes are fast for you, but expensive
for the system, so don't do them except in response to explicit user
action.
2011-02-09 11:55:35 -05:00
Matthias Clasen
214d1bdd20 Bump version 2011-02-08 13:21:37 -05:00
Piotr Drąg
939d5131dd Updated Polish translation 2011-02-08 18:22:44 +01:00
Matthias Clasen
a6caaebea7 Document new API 2.28.0 2011-02-08 10:05:00 -05:00
Matthias Clasen
78dcafc5cb Fix some parameter mismatches in GVariant docs 2011-02-08 10:04:36 -05:00
Matthias Clasen
4368a07e02 Avoid more compiler warnings 2011-02-08 07:41:49 -05:00