9727 Commits

Author SHA1 Message Date
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
Matthias Clasen
8d572f5d22 g_date_time_format: drop an unused variable 2011-02-08 07:35:54 -05:00
Matthias Clasen
ab2112a77b Add release note about GApplication 2011-02-08 07:33:02 -05:00
Matthias Clasen
f93d2f1b08 Update NEWS 2011-02-08 00:00:08 -05:00
Matthias Clasen
7839c46897 Bump version to 2.28.0 2011-02-07 23:53:29 -05:00
Matthias Clasen
126beeee33 Fix a typo 2011-02-07 23:46:02 -05:00
Michal Hruby
d43b2d52b4 Add more data about origin application to the "Launched" signal.
This will help applications such as zeitgeist's datahub to collect
more complete information about application launches, as the "actor"
of a launch is important for zeitgeist's magic to work properly.
2011-02-07 23:39:07 -05:00
Colin Walters
d6954c785d gdesktopappinfo: Asynchronously flush after sending notification
If we were the initial connection owner, unref will destroy the
connection immediately, and we may lose messages.  Asynchronously
flush to avoid that.

https://bugzilla.gnome.org/show_bug.cgi?id=641411
2011-02-07 23:37:14 -05:00
Matthias Clasen
626f197ee3 Clarify GInitable docs
Mention explicitly that the object is unrefed on error.
Pointed out by Philip Van Hoof,
https://bugzilla.gnome.org/show_bug.cgi?id=641363
2011-02-07 23:35:21 -05:00
Matthias Clasen
761fc9a8e7 Append .exe to glib-compile-schemas in .pc file
This makes the binary name correct on Windows.
Pointed out by David Schleef,
https://bugzilla.gnome.org/show_bug.cgi?id=641572
2011-02-07 23:30:56 -05:00
Matthias Clasen
fb2d30b9ff Change the id of the gsettings section
This tricks gtk-doc into generating a html file with a different
name, avoiding the case-only GSettings.html vs gsettings.html.
https://bugzilla.gnome.org/show_bug.cgi?id=641688
2011-02-07 23:28:26 -05:00