Tor Lillqvist
9505ad05ee
Use g_usleep() for portability, bug #644465
2011-03-11 10:19:42 +02:00
Matthias Clasen
a6615ba859
Fix cleanup in g_markup_collect
...
Patch by Matt Barnes,
https://bugzilla.gnome.org/show_bug.cgi?id=644428
2011-03-10 23:27:49 -05:00
Matthias Clasen
949b7c3428
Add a testcase for g_markup_collect cleanup
...
Taken from https://bugzilla.gnome.org/show_bug.cgi?id=644428 .
The test is currently failing.
2011-03-10 23:25:22 -05:00
Andre Klapper
fccaadcdab
Add missing files to POTFILES.in
2011-03-10 12:33:58 +01:00
Chun-wei Fan
b2ebf0526d
Update config.h.win32.in for VS 2010
...
VS2010 ships with stdint.h by default, so update config.h.win32.in
to reflect that
2011-03-10 12:40:57 +08:00
Michael Kotsarinis
b1813f7c9f
l10n: Updated Greek translation for glib
2011-03-10 01:36:54 +02:00
Martin Nordholts
37858f7f5e
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:13:57 +01:00
Matthias Clasen
fc75b2597d
Improve preconditions in action-related GApplication api
...
https://bugzilla.gnome.org/show_bug.cgi?id=643780
2011-03-06 23:08:46 -05:00
Matthias Clasen
121ce56fe1
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:38:17 -05:00
Matthias Clasen
d377367b2c
Forgotten file
2011-03-06 22:38:17 -05:00
Murray Cumming
90ad3c9962
g_application_run(): Add (allow-none) introspection annotation.
2011-03-05 14:51:55 +01:00
Matthias Clasen
3aac417fef
Some more details about GApplicationFlags
2011-03-04 12:10:06 -05:00
Matthias Clasen
34ac69e688
Add more GApplication docs
...
Add more details about ::command-line to the g_application_run docs.
2011-03-04 12:03:15 -05:00
Murray Cumming
91614bb5fe
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 15:16:39 +01:00
Matthias Clasen
1485871ed5
GApplication: More documentation tweaks
2011-03-04 01:55:19 -05:00
Matthias Clasen
54e474931e
Fix a typo
2011-03-04 01:55:18 -05:00
Ryan Lortie
d2a2fe96a3
GVariant docs cleanups
...
Fix some gtk-doc warnings
2011-03-04 00:57:51 -05:00
Ryan Lortie
be04e514c0
GVariant: add G_VARIANT_TYPE_VARDICT for a{sv}
2011-03-04 00:45:14 -05:00
Matthias Clasen
6dd692d858
Small doc correction
...
We don't actually pass @argc to local_command_line().
2011-03-04 00:27:23 -05:00
Matthias Clasen
3c7203cf1a
GApplication: Clarify docs for @argv
...
Clearly state that @argv may be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=643649
2011-03-04 00:12:34 -05:00
Matthias Clasen
1a6455b785
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 00:03:13 -05:00
Matthias Clasen
f05bce027e
GApplication: Improve documentation
...
This commit adds some details regarding platform data.
2011-03-03 23:34:49 -05:00
Matthias Clasen
321682871b
Try harder to explain GApplicationCommandline
...
Trying to answer some of the questions in
https://bugzilla.gnome.org/show_bug.cgi?id=643468
2011-03-03 22:40:48 -05:00
Will Thompson
72016418d3
g_value_array_remove(): clarify docstring formatting
2011-03-03 14:51:41 +00:00
Duarte Loreto
0f59af82d5
Updated Portuguese translation
2011-03-02 01:11:04 +00:00
Yaron Shahrabani
084c3c4304
Updated Hebrew translation.
2011-02-27 22:56:31 +02:00
Luca Ferretti
2b964d890a
Updated Italian translation
2011-02-27 21:48:07 +01:00
Changwoo Ryu
c193b49eee
Updated Korean translation
2011-02-27 14:43:34 +09:00
Bruno Brouard
60e0dab3e6
Updated French translation
2011-02-25 23:53:52 +01:00
Matthias Clasen
e3cff93408
GApplications: Tighten up application-id validity checks
...
Also add tests for these conditions.
https://bugzilla.gnome.org/show_bug.cgi?id=643197
2011-02-25 11:13:55 -05:00
Matthias Clasen
c430ad0b1b
Add some tests for g_hash_table_lookup_extended
2011-02-25 10:41:29 -05:00
Matthias Clasen
d2d756439f
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-02-25 10:40:39 -05:00
Matthias Clasen
52ef73ac8c
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-02-25 10:10:37 -05:00
Matthias Clasen
ee9e38ef68
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-02-25 08:45:28 -05:00
Daniel Mustieles
c68c05a420
Updated Spanish translation
2011-02-24 20:36:04 +01:00
Chun-wei Fan
701ac3cb3d
Fix the VS2010 project generation for GLib
...
The scripts accently pick up gcc-only source files... this fixes that.
2011-02-24 12:38:51 +08:00
Piotr Drąg
74d4fca53a
Updated Polish translation
2011-02-23 22:03:34 +01:00
Chun-wei Fan
abfef39da9
Remove uneeded item form VS10 folder
...
There is no install.vcxproj.filters...oops
2011-02-23 14:22:36 +08:00
Alexander Shopov
1c764f41cc
Updated Bulgarian translation
2011-02-23 08:02:23 +02:00
Matthias Clasen
766d70729b
Allow to list keys in all schemas
...
Make the schema argument to gsettings list-recursively optional.
This allows to search for not exactly known keys by going
gsettings list-recursively | grep 'font'
2011-02-23 00:18:37 -05:00
Cosimo Cecchi
51dd7c5e4a
application: fix a typo in the docs annotation
2011-02-22 22:02:05 -05:00
Andreas Rottmann
fdfb09a793
Bug 638185 - GIOCondition should be annotated as "flags"
...
Add a gtk-doc annotation to GIOCondition marking it as a flags type.
2011-02-22 15:12:30 +01:00
Chun-wei Fan
cd23ae7134
Visual C++ 2010 Project Files
...
These are the actual GLib VS2010 project files (*.vcxproj,
*.vcxproj.filters) and property sheet file (*.props) that are used
to compile the GLib, GModule, GObject, GThread, GIO DLLs, along with
the gspawn-win32-helper* programs, glib-genmarshal utility and
testglib test program. A readme.txt file is also enclosed for
references for building GLib under VS2010.
Note that the project files for GLib, GIO and GObject are templates
that makes use of the autotools items of my last commit so that maintenance
of those files are simplified as new source files are added to these rather
frequently.
Suggestions are welcome for these-please let me know via BugZilla.
Thank you!
2011-02-22 20:08:36 +08:00
Chun-wei Fan
7b118b0c41
Visual C++ 2010 Project Files: autotools files
...
These are the updates to the autotools files to
ensure the expansion of the GIO, GLib and GObject
project files (*.vcxproj, *.vcxproj.filters) and to
enable the distribution of the VS2010 project files
The actual VS2010 project files will follow shortly
2011-02-22 19:58:18 +08:00
Bruce Cowan
aa2ed1dbfb
Updated British English translation
2011-02-20 16:48:48 +00:00
Vincent Untz
f909469e31
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-02-20 16:06:40 +01:00
Tor Lillqvist
1158f9c171
Export _glib_get_locale_dir() as it is now used in gio, too
2011-02-20 01:30:51 +02:00
Matthias Clasen
73af5ab4cf
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-02-19 16:27:51 -05:00
Matthias Clasen
2c0a8ff4dc
Add a testcase for bug 637738
2011-02-18 23:46:09 -05:00
Matthias Clasen
9dd1f75a41
Document G_VALUE_NOCOPY_CONTENTS
...
https://bugzilla.gnome.org/show_bug.cgi?id=624943
2011-02-18 22:42:24 -05:00