platform/upstream/glib.git
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.

10 years agoDocs: don't use the warning tag
Matthias Clasen [Fri, 31 Jan 2014 22:38:27 +0000 (17:38 -0500)]
Docs: don't use the warning tag

More markup removal

10 years agoDocs: Don't use the note tag
Matthias Clasen [Fri, 31 Jan 2014 19:56:10 +0000 (14:56 -0500)]
Docs: Don't use the note tag

More markup avoidance.

10 years agoRestore executability for other files
Colin Walters [Fri, 31 Jan 2014 14:36:52 +0000 (09:36 -0500)]
Restore executability for other files

10 years agoRestore executability on data-to-c.pl
Colin Walters [Fri, 31 Jan 2014 14:23:45 +0000 (09:23 -0500)]
Restore executability on data-to-c.pl

10 years agoUpdated FSF's address
Daniel Mustieles [Thu, 23 Jan 2014 11:58:29 +0000 (12:58 +0100)]
Updated FSF's address

10 years agoDocs: don't use the type tag
Matthias Clasen [Fri, 31 Jan 2014 10:58:17 +0000 (05:58 -0500)]
Docs: don't use the type tag

Just avoid explicit docbook markup.

10 years agoDocs: don't use the structname tag
Matthias Clasen [Fri, 31 Jan 2014 05:29:14 +0000 (00:29 -0500)]
Docs: don't use the structname tag

Just avoid explicit docbook markup.

10 years agoDocs: don't use structfield tags
Matthias Clasen [Fri, 31 Jan 2014 04:59:06 +0000 (23:59 -0500)]
Docs: don't use structfield tags

They don't add anything over @foo, and we want to avoid explicit
docbook markup as far as possible.

10 years agoDocs: don't use <footnote>
Matthias Clasen [Fri, 31 Jan 2014 04:52:58 +0000 (23:52 -0500)]
Docs: don't use <footnote>

It basically does not work in the HTML output.

10 years agoTamil Translations Updated
Shantha kumar [Thu, 30 Jan 2014 09:33:08 +0000 (15:03 +0530)]
Tamil Translations Updated

10 years agoDrop a no-longer-existing example from the docs
Matthias Clasen [Sat, 25 Jan 2014 23:18:42 +0000 (18:18 -0500)]
Drop a no-longer-existing example from the docs

gapplication-example-menu.c was dropped in
0c094d660769a00564ef33a775a387f62cf2ff41, two years ago.
Time to remove its inclusion in the docs too.

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

10 years agogobject: Add missing transfer annotation to g_boxed_copy
Rico Tzschichholz [Thu, 23 Jan 2014 16:22:19 +0000 (17:22 +0100)]
gobject: Add missing transfer annotation to g_boxed_copy

10 years agogio: Add missing transfer annotation to g_simple_proxy_resolver_new
Rico Tzschichholz [Thu, 23 Jan 2014 16:21:32 +0000 (17:21 +0100)]
gio: Add missing transfer annotation to g_simple_proxy_resolver_new

10 years agoglib/goption.c: Fix build on MSVC
Chun-wei Fan [Thu, 23 Jan 2014 09:32:50 +0000 (17:32 +0800)]
glib/goption.c: Fix build on MSVC

Use #ifdef rather than #if, as MSVC does not like #if <macro> without
parens, and this is the normal usage in other cases like this.

10 years agoglib: annotate some memory functions with allow-none
William Jon McCann [Wed, 22 Jan 2014 22:51:12 +0000 (17:51 -0500)]
glib: annotate some memory functions with allow-none

10 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 22 Jan 2014 16:55:26 +0000 (22:25 +0530)]
Assamese translation updated

10 years agogio: Fix some header/source parameter-naming mismatches
Rico Tzschichholz [Wed, 22 Jan 2014 13:21:41 +0000 (14:21 +0100)]
gio: Fix some header/source parameter-naming mismatches

10 years agogsubprocess: Add missing transfer annotations to get_*_pipe()
Rico Tzschichholz [Wed, 22 Jan 2014 13:06:10 +0000 (14:06 +0100)]
gsubprocess: Add missing transfer annotations to get_*_pipe()

10 years agotest default GSimpleAction activation
Ryan Lortie [Sat, 18 Jan 2014 19:29:16 +0000 (14:29 -0500)]
test default GSimpleAction activation

Test the default handling of the "activate" signal on GSimpleAction.

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

10 years agostrfuncs: Make g_str_tokenize_and_fold introspectable
Jasper St. Pierre [Tue, 21 Jan 2014 17:08:03 +0000 (12:08 -0500)]
strfuncs: Make g_str_tokenize_and_fold introspectable

10 years agogsettings: Fix annotations
Jasper St. Pierre [Tue, 21 Jan 2014 17:00:35 +0000 (12:00 -0500)]
gsettings: Fix annotations

10 years agodocs: Add missing GTest functions
Emmanuele Bassi [Mon, 20 Jan 2014 20:03:40 +0000 (20:03 +0000)]
docs: Add missing GTest functions

The GTest message API is missing from the reference.

10 years agoglib/gtimezone.c: Check the size of tzi.DaylightName
Chun-wei Fan [Tue, 7 Jan 2014 05:34:09 +0000 (13:34 +0800)]
glib/gtimezone.c: Check the size of tzi.DaylightName

We need to re-get the size of tzi.DaylightName before we call
RegQueryValue() because the buffer might not have enough room to hold the
value for tzi.DaylightName that would be acquired by RegQueryValueExA(),
even though the size of tzi.DaylightName and tzi.StandardName is the same.

This is a pitfall of RegQueryValue()[1] as not doing this can result in an
ERROR_MORE_DATA (234) failure, causing the acquisition of tzi.DaylightName
to fail.

This will fix the gdatetime/equal test, amongst some other tests in
gdatetime, at least on certain non-English version of Windows.

[1]: http://social.msdn.microsoft.com/Forums/vstudio/en-US/84f90854-e90c-4b63-8fc1-655a0b4645fd/regqueryvalueex-returns-errormoredata

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

10 years agoUse __asm__ instead of asm
Matthias Clasen [Mon, 20 Jan 2014 13:43:02 +0000 (08:43 -0500)]
Use __asm__ instead of asm

This is a little more robust as various compiler flags make
gcc forget about asm.

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

10 years agoFix CFLAGS manipulation
Matthias Clasen [Mon, 20 Jan 2014 13:16:09 +0000 (08:16 -0500)]
Fix CFLAGS manipulation

The code for ensuring that CFLAGS contain -g if
--enable-debug has been specified did not work right.

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

10 years agoGAction: remove a lie
Matthias Clasen [Mon, 20 Jan 2014 12:37:42 +0000 (07:37 -0500)]
GAction: remove a lie

Not only was the link to GtkAction broken, it is not true.

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