platform/upstream/glib.git
10 years agoEradicate links and xrefs
Matthias Clasen [Sat, 8 Feb 2014 17:26:56 +0000 (12:26 -0500)]
Eradicate links and xrefs

These are all replaced by markdown ref links.

10 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 7 Feb 2014 13:47:16 +0000 (14:47 +0100)]
Updated Spanish translation

10 years agoUpdated Galician translations
Fran Diéguez [Fri, 7 Feb 2014 00:27:18 +0000 (01:27 +0100)]
Updated Galician translations

10 years agoRemove a few overlooked literals
Matthias Clasen [Thu, 6 Feb 2014 21:59:49 +0000 (16:59 -0500)]
Remove a few overlooked literals

10 years agoStop using replaceable tags
Matthias Clasen [Thu, 6 Feb 2014 21:49:29 +0000 (16:49 -0500)]
Stop using replaceable tags

10 years agoStop using <para> for ids
Matthias Clasen [Thu, 6 Feb 2014 21:48:49 +0000 (16:48 -0500)]
Stop using <para> for ids

Instead, use the id support in markdown headings.

10 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Thu, 6 Feb 2014 18:32:02 +0000 (18:32 +0000)]
Updated Brazilian Portuguese translation

10 years agoDocs: replace <literal> by `
Matthias Clasen [Thu, 6 Feb 2014 13:04:52 +0000 (08:04 -0500)]
Docs: replace <literal> by `

10 years agoDocs: use quotes instead of firstterm
Matthias Clasen [Thu, 6 Feb 2014 03:57:27 +0000 (22:57 -0500)]
Docs: use quotes instead of firstterm

10 years agoDocs: don't use option tags
Matthias Clasen [Thu, 6 Feb 2014 03:49:54 +0000 (22:49 -0500)]
Docs: don't use option tags

10 years agoStop using starttag elements
Matthias Clasen [Thu, 6 Feb 2014 03:37:54 +0000 (22:37 -0500)]
Stop using starttag elements

10 years agoUse markdown for images
Matthias Clasen [Thu, 6 Feb 2014 03:02:24 +0000 (22:02 -0500)]
Use markdown for images

10 years agoUse a code block instead of <screen>
Matthias Clasen [Thu, 6 Feb 2014 03:01:54 +0000 (22:01 -0500)]
Use a code block instead of <screen>

10 years agoGApplication: parse command line options
Ryan Lortie [Sun, 12 Jan 2014 23:14:30 +0000 (18:14 -0500)]
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

10 years agoGOption: fix bug in strv mode
Ryan Lortie [Wed, 5 Feb 2014 17:11:50 +0000 (17:11 +0000)]
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.

10 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Thu, 6 Feb 2014 03:24:49 +0000 (10:24 +0700)]
Updated Thai translation

10 years agoConvert external links to markdown syntax
Matthias Clasen [Thu, 6 Feb 2014 02:23:28 +0000 (21:23 -0500)]
Convert external links to markdown syntax

10 years agoDon't use <filename> in docs
Matthias Clasen [Thu, 6 Feb 2014 01:17:46 +0000 (20:17 -0500)]
Don't use <filename> in docs

Switch to simpler markdown, `foo`.

10 years agoDon't use <envar> in docs
Matthias Clasen [Thu, 6 Feb 2014 00:32:41 +0000 (19:32 -0500)]
Don't use <envar> in docs

Switch to simpler markdown, `foo`.

10 years agoupdated kn.po
Shankar Prasad [Wed, 5 Feb 2014 09:49:25 +0000 (15:19 +0530)]
updated kn.po

10 years agogvariant: Document the need to cast varargs when constructing GVariants
Philip Withnall [Thu, 21 Nov 2013 17:39:16 +0000 (17:39 +0000)]
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

10 years agoreturn_if_fail vs. return_val_if_fail fix
Ryan Lortie [Tue, 4 Feb 2014 14:22:55 +0000 (14:22 +0000)]
return_if_fail vs. return_val_if_fail fix

10 years agogobject: box GVariantDict
Ryan Lortie [Tue, 28 Jan 2014 10:55:44 +0000 (10:55 +0000)]
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

10 years agoadd GVariantDict
Ryan Lortie [Fri, 24 Jan 2014 14:42:13 +0000 (09:42 -0500)]
add GVariantDict

...the long-requested mutable dictionary helper for GVariant.

https://bugzilla.gnome.org/show_bug.cgi?id=625408

10 years agoBump version
Matthias Clasen [Tue, 4 Feb 2014 00:34:15 +0000 (19:34 -0500)]
Bump version

10 years ago2.39.4 2.39.4
Matthias Clasen [Tue, 4 Feb 2014 00:06:53 +0000 (19:06 -0500)]
2.39.4

10 years agoUpdates
Matthias Clasen [Mon, 3 Feb 2014 22:37:42 +0000 (17:37 -0500)]
Updates

10 years agoFix a typo
Matthias Clasen [Mon, 3 Feb 2014 22:10:45 +0000 (17:10 -0500)]
Fix a typo

10 years agogmain: Note that g_source_destroy() can be called multiple times
Philip Withnall [Fri, 31 Jan 2014 12:16:15 +0000 (12:16 +0000)]
gmain: Note that g_source_destroy() can be called multiple times

https://bugzilla.gnome.org/show_bug.cgi?id=723360

10 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sun, 2 Feb 2014 12:09:16 +0000 (20:09 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

10 years agotests: Remove a compiler warning
Emmanuele Bassi [Sun, 2 Feb 2014 09:32:09 +0000 (09:32 +0000)]
tests: Remove a compiler warning

10 years agoarray: Remove a compiler warning
Emmanuele Bassi [Sun, 2 Feb 2014 09:30:30 +0000 (09:30 +0000)]
array: Remove a compiler warning

The GRealPtrArray variable is not necessary: we're accessing only public
fields of GPtrArray.

10 years agoarray: Fix compilation
Emmanuele Bassi [Sun, 2 Feb 2014 09:28:31 +0000 (09:28 +0000)]
array: Fix compilation

10 years agogio: extend the system_internal lists with BSD paths
Antoine Jacoutot [Tue, 21 Jan 2014 16:25:35 +0000 (17:25 +0100)]
gio: extend the system_internal lists with BSD paths

10 years agoGVariant: Convert docs to markdown
Matthias Clasen [Sun, 2 Feb 2014 02:48:35 +0000 (21:48 -0500)]
GVariant: Convert docs to markdown

Specifically, convert the sections to markdown syntax.

10 years agoDon't use the varname tag
Matthias Clasen [Sun, 2 Feb 2014 02:41:57 +0000 (21:41 -0500)]
Don't use the varname tag

This is just an environment variable, after all.

10 years agogmain: Convert docs to markdown
Matthias Clasen [Sun, 2 Feb 2014 02:40:10 +0000 (21:40 -0500)]
gmain: Convert docs to markdown

Specifically, convert sections to markdown syntax and
drop all the para tags.

10 years agoDon't use the quote tag
Matthias Clasen [Sun, 2 Feb 2014 02:18:29 +0000 (21:18 -0500)]
Don't use the quote tag

It was only used in two places, and we can easily do without.

10 years agoRemove an unnecessary paragraph
Matthias Clasen [Sun, 2 Feb 2014 01:54:18 +0000 (20:54 -0500)]
Remove an unnecessary paragraph

10 years agoMake gtk-doc find another symbol
Matthias Clasen [Sun, 2 Feb 2014 01:53:50 +0000 (20:53 -0500)]
Make gtk-doc find another symbol

10 years agoGTree: formatting fixes
Matthias Clasen [Sun, 2 Feb 2014 01:53:17 +0000 (20:53 -0500)]
GTree: formatting fixes

10 years agogstrfuncs: Fix up gtk-doc warnings
Matthias Clasen [Sun, 2 Feb 2014 01:51:53 +0000 (20:51 -0500)]
gstrfuncs: Fix up gtk-doc warnings

10 years agogrand: formatting cleanups
Matthias Clasen [Sun, 2 Feb 2014 01:50:57 +0000 (20:50 -0500)]
grand: formatting cleanups

10 years agoFormatting cleanups
Matthias Clasen [Sun, 2 Feb 2014 01:50:33 +0000 (20:50 -0500)]
Formatting cleanups

10 years agoAvoid another gtk-doc warning
Matthias Clasen [Sun, 2 Feb 2014 01:49:59 +0000 (20:49 -0500)]
Avoid another gtk-doc warning

10 years agoAvoid a gtk-doc warning
Matthias Clasen [Sun, 2 Feb 2014 01:49:21 +0000 (20:49 -0500)]
Avoid a gtk-doc warning

10 years agoGIOChannel: Move some docs where they are looked for
Matthias Clasen [Sun, 2 Feb 2014 01:48:52 +0000 (20:48 -0500)]
GIOChannel: Move some docs where they are looked for

10 years agoAvoid some gtk-doc warnings
Matthias Clasen [Sun, 2 Feb 2014 01:47:23 +0000 (20:47 -0500)]
Avoid some gtk-doc warnings

10 years agoDrop another use of xinclude
Matthias Clasen [Sun, 2 Feb 2014 01:46:43 +0000 (20:46 -0500)]
Drop another use of xinclude

10 years agoGArray: Documentation cleanups
Matthias Clasen [Sun, 2 Feb 2014 01:45:25 +0000 (20:45 -0500)]
GArray: Documentation cleanups

10 years agoDocs: Avoid a 'returns' at the beginning of the line
Matthias Clasen [Sun, 2 Feb 2014 01:43:53 +0000 (20:43 -0500)]
Docs: Avoid a 'returns' at the beginning of the line

This confuses gtk-doc.

10 years agoAdd some more deprecation guards to shut up gtk-doc
Matthias Clasen [Sun, 2 Feb 2014 01:43:01 +0000 (20:43 -0500)]
Add some more deprecation guards to shut up gtk-doc

10 years agoDrop use of xinclude in GTestDBus docs
Matthias Clasen [Sun, 2 Feb 2014 01:41:47 +0000 (20:41 -0500)]
Drop use of xinclude in GTestDBus docs

10 years agoDocs: Remove another use of xinclude
Matthias Clasen [Sun, 2 Feb 2014 01:41:12 +0000 (20:41 -0500)]
Docs: Remove another use of xinclude

10 years agoFix up missing symbols in glib-sections.txt
Matthias Clasen [Sun, 2 Feb 2014 01:40:41 +0000 (20:40 -0500)]
Fix up missing symbols in glib-sections.txt

10 years agoDrop use of the command tag
Matthias Clasen [Sat, 1 Feb 2014 20:26:38 +0000 (15:26 -0500)]
Drop use of the command tag

It is more useful to link to the included man page, anyway.

10 years agoDocs: Drop use of indexterm tags
Matthias Clasen [Sat, 1 Feb 2014 20:25:43 +0000 (15:25 -0500)]
Docs: Drop use of indexterm tags

These have not been making it into the index, anyway.

10 years agoAnnotate all examples with their language
Matthias Clasen [Sat, 1 Feb 2014 20:11:49 +0000 (15:11 -0500)]
Annotate all examples with their language

The C ones, at least.

10 years agoGApplicationCommandline: Shorten embedded examples
Matthias Clasen [Sat, 1 Feb 2014 20:11:00 +0000 (15:11 -0500)]
GApplicationCommandline: Shorten embedded examples

Just show relevant fragments of the three examples inline,
and link to the full sources. This lets us get rid of
xinclude markup.

10 years agodocs: Stop using the function tag
Matthias Clasen [Sat, 1 Feb 2014 17:19:04 +0000 (12:19 -0500)]
docs: Stop using the function tag

10 years agoDon't use computeroutput tag
Matthias Clasen [Sat, 1 Feb 2014 17:09:14 +0000 (12:09 -0500)]
Don't use computeroutput tag

There was one occurrence of this.

10 years agoDocs: Big entity cleanup
Matthias Clasen [Sat, 1 Feb 2014 16:57:13 +0000 (11:57 -0500)]
Docs: Big entity cleanup

Strip lots of entity use from |[ ]| examples (which are now
implicit CDATA). Also remove many redundant uses of <!-- -->.

10 years agoGModule: Move docs away from markup
Matthias Clasen [Sat, 1 Feb 2014 16:08:23 +0000 (11:08 -0500)]
GModule: Move docs away from markup

10 years agogtestdbus: Use markdown for sections
Matthias Clasen [Sat, 1 Feb 2014 15:48:36 +0000 (10:48 -0500)]
gtestdbus: Use markdown for sections

10 years agoGSettings: use markdown for sections
Matthias Clasen [Sat, 1 Feb 2014 15:48:02 +0000 (10:48 -0500)]
GSettings: use markdown for sections

10 years agogconvert: Stop using footnotes
Matthias Clasen [Sat, 1 Feb 2014 15:47:09 +0000 (10:47 -0500)]
gconvert: Stop using footnotes

These don't really work in the generated docs, so just copy
the content in the few places.

10 years agoGObject: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:19:07 +0000 (10:19 -0500)]
GObject: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agogregex: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:18:07 +0000 (10:18 -0500)]
gregex: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agogoption: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:17:28 +0000 (10:17 -0500)]
goption: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agogmessages: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:17:04 +0000 (10:17 -0500)]
gmessages: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agogmarkup: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:15:52 +0000 (10:15 -0500)]
gmarkup: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agogmain: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:15:20 +0000 (10:15 -0500)]
gmain: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agoGKeyFile: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:14:59 +0000 (10:14 -0500)]
GKeyFile: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agoGIOChannel: remove unneeded markup from the docs
Matthias Clasen [Sat, 1 Feb 2014 15:14:41 +0000 (10:14 -0500)]
GIOChannel: remove unneeded markup from the docs

10 years agoggettext: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:14:08 +0000 (10:14 -0500)]
ggettext: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agofileutils: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:13:41 +0000 (10:13 -0500)]
fileutils: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agoGError: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:13:17 +0000 (10:13 -0500)]
GError: Convert docs to markdown

In particular, convert lists to markdown syntax.

10 years agoGDateTime: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:11:38 +0000 (10:11 -0500)]
GDateTime: Convert docs to markdown

In particular convert sections and lists to markdown syntax.

10 years agogconvert: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 15:10:19 +0000 (10:10 -0500)]
gconvert: Convert docs to markdown

In particular, we convert sections and lists to markdown syntax
here.

10 years agokqueue: Don't use doc comments
Matthias Clasen [Sat, 1 Feb 2014 14:50:23 +0000 (09:50 -0500)]
kqueue: Don't use doc comments

This is not public API, so no need to confuse gtk-doc by
documentation that it needs to ignore. Also, no need for
markup in here.

10 years agoGVariantType: convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 05:27:22 +0000 (00:27 -0500)]
GVariantType: convert docs to markdown

Convert lists to markdown syntax, and remove lots of <literal>.

10 years agoGVariant: convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 05:26:58 +0000 (00:26 -0500)]
GVariant: convert docs to markdown

Convert lists to markdown syntax, and remove a lot of <literal>.

10 years agogthread: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 05:26:38 +0000 (00:26 -0500)]
gthread: Convert docs to markdown

Convert lists to markdown syntax.

10 years agotestutils: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 05:26:05 +0000 (00:26 -0500)]
testutils: Convert docs to markdown

Convert lists to markdown.

10 years agoGApplication: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 04:47:57 +0000 (23:47 -0500)]
GApplication: Convert docs to markdown

10 years agogdbusnameowning: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 04:47:42 +0000 (23:47 -0500)]
gdbusnameowning: Convert docs to markdown

10 years agoGDBusConnection: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 04:42:40 +0000 (23:42 -0500)]
GDBusConnection: Convert docs to markdown

And straighten out capitalization across the file.

10 years agoGIcon: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 04:01:30 +0000 (23:01 -0500)]
GIcon: Convert docs to markdown

10 years agoGDBusProxy: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 04:01:13 +0000 (23:01 -0500)]
GDBusProxy: Convert docs to markdown

10 years agoGMenuModel: Convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 04:00:58 +0000 (23:00 -0500)]
GMenuModel: Convert docs to markdown

10 years agoGSimpleProxyResolver: convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 03:49:44 +0000 (22:49 -0500)]
GSimpleProxyResolver: convert docs to markdown

10 years agoGSocketClient: convert docs to markdown
Matthias Clasen [Sat, 1 Feb 2014 03:42:21 +0000 (22:42 -0500)]
GSocketClient: convert docs to markdown

10 years agoGTask: convert long desc to markdown
Matthias Clasen [Sat, 1 Feb 2014 03:29:13 +0000 (22:29 -0500)]
GTask: convert long desc to markdown

Use markdown sections and lists here.

10 years agogio/tests/network-address: fix for systems with large ifindexes
Dan Winship [Sat, 1 Feb 2014 12:37:07 +0000 (13:37 +0100)]
gio/tests/network-address: fix for systems with large ifindexes

In some virtualization setups, ifindexes can end up becoming very
large, and so the existing code that assumes that *some* interface
must have an index less than 255 fails.

Fix this by explicitly looking for "lo" first. And then if that fails
(on Windows, or other systems where the loopback interface is not
called "lo"), try indexes up to 1024 rather than 255.

https://bugzilla.gnome.org/show_bug.cgi?id=723048

10 years agoUnbreak glib/tests/markup-parse after FSF address change patch
Dan Winship [Sat, 1 Feb 2014 12:27:19 +0000 (13:27 +0100)]
Unbreak glib/tests/markup-parse after FSF address change patch

10 years agognetworkmonitornetlink: filter out IPv6 LL MC changes
Dan Winship [Tue, 28 Jan 2014 19:46:37 +0000 (14:46 -0500)]
gnetworkmonitornetlink: filter out IPv6 LL MC changes

For some reason, IPv6 link-local multicast routing changes all the
time. GNetworkMonitorBase was already ignoring them for purposes of
emitting network-changed, but GNetworkMonitorNetlink would still
trigger a re-dump after getting one, so network-changed would end up
getting emitted anyway.

10 years agoFix the docs build
Matthias Clasen [Sat, 1 Feb 2014 03:14:01 +0000 (22:14 -0500)]
Fix the docs build

10 years agoDocs: Don't use the code tag
Matthias Clasen [Sat, 1 Feb 2014 03:05:04 +0000 (22:05 -0500)]
Docs: Don't use the code tag

10 years agoDocs: Convert examples to |[ ]|
Matthias Clasen [Sat, 1 Feb 2014 02:56:33 +0000 (21:56 -0500)]
Docs: Convert examples to |[ ]|

10 years agoDocs: Don't use the emphasis tag
Matthias Clasen [Sat, 1 Feb 2014 01:34:33 +0000 (20:34 -0500)]
Docs: Don't use the emphasis tag

Most of the time, the text read just as well without the extra
boldness.