Commit Graph

14792 Commits

Author SHA1 Message Date
Enrico Nicoletto
4ec314812e Updated Brazilian Portuguese translation 2014-02-06 18:32:02 +00:00
Matthias Clasen
3232425785 Docs: replace <literal> by ` 2014-02-06 08:07:16 -05:00
Matthias Clasen
a35d8a4c77 Docs: use quotes instead of firstterm 2014-02-06 08:07:16 -05:00
Matthias Clasen
b766db0878 Docs: don't use option tags 2014-02-06 08:07:15 -05:00
Matthias Clasen
4569b8ac2d Stop using starttag elements 2014-02-06 08:07:15 -05:00
Matthias Clasen
73c23d9143 Use markdown for images 2014-02-06 08:07:15 -05:00
Matthias Clasen
49c2223ee6 Use a code block instead of <screen> 2014-02-06 08:07:15 -05:00
Ryan Lortie
0e671286fc GApplication: parse command line options
Add support for parsing command line options with GApplication.

You can add GOptionGroup and GOptionEntry using two new APIs:
g_application_add_option_group() and
g_application_add_main_option_entries().

Also add a "handle-local-options" signal that allows handling of
commandline arguments in the local process without having to override
local_command_line.

As a special feature, you can have a %NULL @arg_data in a GOptionEntry
which will cause the argument to be stored in a GVariantDict.  This
dictionary is available for inspection and modification by the
"handle-local-options" signal and can be forwarded to the primary
instance in cases of command line invocation (where it can be fetched
using g_application_command_line_get_options()).

https://bugzilla.gnome.org/show_bug.cgi?id=721977
2014-02-06 12:02:53 +00:00
Ryan Lortie
7f36233042 GOption: fix bug in strv mode
We are a bit too aggressive about freeing memory in strv mode.  Only
free it in the case that we actually set the pointer to NULL.

Uncovered by the GApplication tests.
2014-02-06 12:02:53 +00:00
Theppitak Karoonboonyanan
6939add283 Updated Thai translation 2014-02-06 10:24:49 +07:00
Matthias Clasen
cb588d4532 Convert external links to markdown syntax 2014-02-05 21:23:28 -05:00
Matthias Clasen
0cc20b7e0b Don't use <filename> in docs
Switch to simpler markdown, `foo`.
2014-02-05 20:17:46 -05:00
Matthias Clasen
111803030d Don't use <envar> in docs
Switch to simpler markdown, `foo`.
2014-02-05 19:32:41 -05:00
Shankar Prasad
2fda00af35 updated kn.po 2014-02-05 15:19:25 +05:30
Philip Withnall
2b8edf234c gvariant: Document the need to cast varargs when constructing GVariants
Slightly expand on the documentation about casting varargs when
constructing GVariants, and link to it from all the functions where it’s
a necessary consideration.

Add an example of passing flags to a ‘t’ type variable (guint64).
Assuming the flags enum does not have many members, the flag variable
will be 32 bits wide, and needs an explicit cast to be passed into
g_variant_new() as a 64-bit value.

https://bugzilla.gnome.org/show_bug.cgi?id=712837
2014-02-05 09:40:49 +00:00
Ryan Lortie
3f3d2976d1 return_if_fail vs. return_val_if_fail fix 2014-02-04 14:23:14 +00:00
Ryan Lortie
78ec35f7ab gobject: box GVariantDict
We will want to use this in GApplication for a signal and a property.

https://bugzilla.gnome.org/show_bug.cgi?id=625408
2014-02-04 12:24:19 +00:00
Ryan Lortie
14e62d1fa2 add GVariantDict
...the long-requested mutable dictionary helper for GVariant.

https://bugzilla.gnome.org/show_bug.cgi?id=625408
2014-02-04 11:56:06 +00:00
Matthias Clasen
7a76ab6f48 Bump version 2014-02-03 19:34:15 -05:00
Matthias Clasen
e7db49b6e3 2.39.4 2014-02-03 19:06:53 -05:00
Matthias Clasen
f7a43ba87d Updates 2014-02-03 17:37:42 -05:00
Matthias Clasen
c8476e9f8f Fix a typo 2014-02-03 17:10:45 -05:00
Philip Withnall
5d71376763 gmain: Note that g_source_destroy() can be called multiple times
https://bugzilla.gnome.org/show_bug.cgi?id=723360
2014-02-03 07:55:44 +00:00
Chao-Hsiung Liao
e1ea008fc8 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2014-02-02 20:09:16 +08:00
Emmanuele Bassi
ecadb5a92d tests: Remove a compiler warning 2014-02-02 09:35:17 +00:00
Emmanuele Bassi
a2c42b4a79 array: Remove a compiler warning
The GRealPtrArray variable is not necessary: we're accessing only public
fields of GPtrArray.
2014-02-02 09:30:30 +00:00
Emmanuele Bassi
017349823c array: Fix compilation 2014-02-02 09:28:31 +00:00
Antoine Jacoutot
7cf221aadb gio: extend the system_internal lists with BSD paths 2014-02-02 10:08:05 +01:00
Matthias Clasen
d8bbc77cb3 GVariant: Convert docs to markdown
Specifically, convert the sections to markdown syntax.
2014-02-01 21:48:35 -05:00
Matthias Clasen
9b6cc973a0 Don't use the varname tag
This is just an environment variable, after all.
2014-02-01 21:41:57 -05:00
Matthias Clasen
d282bd3929 gmain: Convert docs to markdown
Specifically, convert sections to markdown syntax and
drop all the para tags.
2014-02-01 21:40:10 -05:00
Matthias Clasen
ce87d6420c Don't use the quote tag
It was only used in two places, and we can easily do without.
2014-02-01 21:19:00 -05:00
Matthias Clasen
2f26bad026 Remove an unnecessary paragraph 2014-02-01 20:54:18 -05:00
Matthias Clasen
8945da08ac Make gtk-doc find another symbol 2014-02-01 20:53:50 -05:00
Matthias Clasen
efae1126db GTree: formatting fixes 2014-02-01 20:53:17 -05:00
Matthias Clasen
26b4f6b41c gstrfuncs: Fix up gtk-doc warnings 2014-02-01 20:51:53 -05:00
Matthias Clasen
71d842674f grand: formatting cleanups 2014-02-01 20:50:57 -05:00
Matthias Clasen
3bbd15383f Formatting cleanups 2014-02-01 20:50:33 -05:00
Matthias Clasen
ca462d1b59 Avoid another gtk-doc warning 2014-02-01 20:49:59 -05:00
Matthias Clasen
acdd7015fb Avoid a gtk-doc warning 2014-02-01 20:49:21 -05:00
Matthias Clasen
7548dab959 GIOChannel: Move some docs where they are looked for 2014-02-01 20:48:52 -05:00
Matthias Clasen
23dd2b01a1 Avoid some gtk-doc warnings 2014-02-01 20:47:23 -05:00
Matthias Clasen
a556afc970 Drop another use of xinclude 2014-02-01 20:46:43 -05:00
Matthias Clasen
cbd585495c GArray: Documentation cleanups 2014-02-01 20:46:29 -05:00
Matthias Clasen
8f57d6dd1d Docs: Avoid a 'returns' at the beginning of the line
This confuses gtk-doc.
2014-02-01 20:43:53 -05:00
Matthias Clasen
1c33c14c04 Add some more deprecation guards to shut up gtk-doc 2014-02-01 20:43:01 -05:00
Matthias Clasen
6566f746f6 Drop use of xinclude in GTestDBus docs 2014-02-01 20:41:47 -05:00
Matthias Clasen
95aba90d09 Docs: Remove another use of xinclude 2014-02-01 20:41:12 -05:00
Matthias Clasen
0bfb09daf1 Fix up missing symbols in glib-sections.txt 2014-02-01 20:40:41 -05:00
Matthias Clasen
306dfb3292 Drop use of the command tag
It is more useful to link to the included man page, anyway.
2014-02-01 15:26:38 -05:00