Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
2.17.4
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=7234
  • Loading branch information
Matthias Clasen committed Jul 21, 2008
1 parent e8516ee commit 282805b
Show file tree
Hide file tree
Showing 100 changed files with 12,672 additions and 11,780 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,9 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com> 2008-07-21 Matthias Clasen <mclasen2redhat.com>


* === Released 2.17.4 ===

* configure.in: Bump version

* NEWS: Updates * NEWS: Updates


2008-07-21 Emmanuele Bassi <ebassi@gnome.org> 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
Expand Down
4 changes: 2 additions & 2 deletions INSTALL
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,8 @@
Simple install procedure Simple install procedure
======================== ========================


% gzip -cd glib-2.17.3.tar.gz | tar xvf - # unpack the sources % gzip -cd glib-2.17.4.tar.gz | tar xvf - # unpack the sources
% cd glib-2.17.3 # change to the toplevel directory % cd glib-2.17.4 # change to the toplevel directory
% ./configure # run the `configure' script % ./configure # run the `configure' script
% make # build GLIB % make # build GLIB


Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
General Information General Information
=================== ===================


This is GLib version 2.17.3. GLib is the low-level core This is GLib version 2.17.4. GLib is the low-level core
library that forms the basis for projects such as GTK+ and GNOME. It library that forms the basis for projects such as GTK+ and GNOME. It
provides data structure handling for C, portability wrappers, and provides data structure handling for C, portability wrappers, and
interfaces for such runtime functionality as an event loop, threads, interfaces for such runtime functionality as an event loop, threads,
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ m4_define(glib_configure_in)
# #
m4_define([glib_major_version], [2]) m4_define([glib_major_version], [2])
m4_define([glib_minor_version], [17]) m4_define([glib_minor_version], [17])
m4_define([glib_micro_version], [3]) m4_define([glib_micro_version], [4])
m4_define([glib_interface_age], [0]) m4_define([glib_interface_age], [0])
m4_define([glib_binary_age], m4_define([glib_binary_age],
[m4_eval(100 * glib_minor_version + glib_micro_version)]) [m4_eval(100 * glib_minor_version + glib_micro_version)])
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com>

* === Released 2.17.4 ===

2008-07-18 Matthias Clasen <mclasen@redhat.com> 2008-07-18 Matthias Clasen <mclasen@redhat.com>


* gobject/gobject-sections.txt: Add new signal api. * gobject/gobject-sections.txt: Add new signal api.
Expand Down
70 changes: 40 additions & 30 deletions docs/reference/glib/tmpl/i18n.sgml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -115,6 +115,40 @@ To get the translated string, call gettext() at runtime.
@Since: 2.4 @Since: 2.4




<!-- ##### MACRO NC_ ##### -->
<para>
Only marks a string for translation, with context.
This is useful in situations where the translated strings can't
be directly used, e.g. in string array initializers.
To get the translated string, you should call g_dpgettext2() at runtime.
</para>
|[
{
static const char *messages[] = {
NC_("some context", "some very meaningful message"),
NC_("some context", "and another one")
};
const char *string;
...
string
= index &gt; 1 ? g_dpgettext2 (NULL, "some context", "a default message") : g_dpgettext2 (NULL, "some context", messages[index]);
<!-- -->
fputs (string);
...
}
]|

<note><para>
If you are using the NC_() macro, you need to make sure that you
pass <option>--keyword=NC_:1c,2</option> to xgettext when extracting
messages. Note that this only works with GNU gettext >= 0.15.
</para></note>

@Context: a message context, must be a string literal
@String: a message id, must be a string literal
@Since: 2.18


<!-- ##### FUNCTION g_dgettext ##### --> <!-- ##### FUNCTION g_dgettext ##### -->
<para> <para>


Expand Down Expand Up @@ -148,39 +182,15 @@ To get the translated string, call gettext() at runtime.
@Returns: @Returns:




<!-- ##### MACRO NC_ ##### --> <!-- ##### FUNCTION g_dpgettext2 ##### -->
<para> <para>
Only marks a string for translation, with context.
This is useful in situations where the translated strings can't
be directly used, e.g. in string array initializers.
To get the translated string, you should call g_dpgettext2() at runtime.
</para>
|[
{
static const char *messages[] = {
NC_("some context", "some very meaningful message"),
NC_("some context", "and another one")
};
const char *string;
...
string
= index &gt; 1 ? g_dpgettext2 (NULL, "some context", "a default message") : g_dpgettext2 (NULL, "some context", messages[index]);
<!-- -->
fputs (string);
...
}
]|

<note><para>
If you are using the NC_() macro, you need to make sure that you
pass <option>--keyword=NC_:1c,2</option> to xgettext when extracting
messages. Note that this only works with GNU gettext >= 0.15.
</para></note>


</para>


@Context: a message context, must be a string literal @domain:
@String: a message id, must be a string literal @context:
@Since: 2.18 @msgid:
@Returns:




<!-- ##### FUNCTION g_strip_context ##### --> <!-- ##### FUNCTION g_strip_context ##### -->
Expand Down
19 changes: 19 additions & 0 deletions docs/reference/glib/tmpl/markup.sgml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -267,6 +267,25 @@ g_markup_parse_context_parse() will report that error back to its caller.
@Returns: @Returns:




<!-- ##### FUNCTION g_markup_parse_context_push ##### -->
<para>

</para>

@context:
@parser:
@user_data:


<!-- ##### FUNCTION g_markup_parse_context_pop ##### -->
<para>

</para>

@context:
@Returns:


<!-- ##### ENUM GMarkupCollectType ##### --> <!-- ##### ENUM GMarkupCollectType ##### -->
<para> <para>


Expand Down
10 changes: 10 additions & 0 deletions docs/reference/glib/tmpl/string_utils.sgml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -141,6 +141,16 @@ The returned string should be freed when no longer needed.
@Returns: @Returns:




<!-- ##### FUNCTION g_strcmp0 ##### -->
<para>

</para>

@str1:
@str2:
@Returns:


<!-- ##### FUNCTION g_strlcpy ##### --> <!-- ##### FUNCTION g_strlcpy ##### -->
<para> <para>
Portability wrapper that calls strlcpy() on systems which have it, and emulates Portability wrapper that calls strlcpy() on systems which have it, and emulates
Expand Down
10 changes: 0 additions & 10 deletions docs/reference/glib/tmpl/testing.sgml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -515,16 +515,6 @@ and @n2.
@Since: 2.16 @Since: 2.16




<!-- ##### FUNCTION g_strcmp0 ##### -->
<para>

</para>

@str1:
@str2:
@Returns:


<!-- ##### TYPEDEF GTestCase ##### --> <!-- ##### TYPEDEF GTestCase ##### -->
<para> <para>
An opaque structure representing a test case. An opaque structure representing a test case.
Expand Down
4 changes: 4 additions & 0 deletions gio/ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com>

* === Released 2.17.4 ===

2008-07-20 Matthias Clasen <mclasen@redhat.com> 2008-07-20 Matthias Clasen <mclasen@redhat.com>


* gvolumemonitor.[hc]: * gvolumemonitor.[hc]:
Expand Down
4 changes: 4 additions & 0 deletions gmodule/ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com>

* === Released 2.17.4 ===

2008-07-02 Matthias Clasen <mclasen@redhat.com> 2008-07-02 Matthias Clasen <mclasen@redhat.com>


* === Released 2.17.3 === * === Released 2.17.3 ===
Expand Down
4 changes: 4 additions & 0 deletions gobject/ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com>

* === Released 2.17.4 ===

2008-07-21 Michael Natterer <mitch@imendio.com> 2008-07-21 Michael Natterer <mitch@imendio.com>


Reviewed by Tim Janik: Reviewed by Tim Janik:
Expand Down
4 changes: 4 additions & 0 deletions gthread/ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com>

* === Released 2.17.4 ===

2008-07-02 Matthias Clasen <mclasen@redhat.com> 2008-07-02 Matthias Clasen <mclasen@redhat.com>


* === Released 2.17.3 === * === Released 2.17.3 ===
Expand Down
4 changes: 4 additions & 0 deletions po/ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-07-21 Matthias Clasen <mclasen2redhat.com>

* === Released 2.17.4 ===

2008-07-20 Leonardo Ferreira Fontenelle <leonardof@gnome.org> 2008-07-20 Leonardo Ferreira Fontenelle <leonardof@gnome.org>


* pt_BR.po: Brazilian Portuguese translation improvements. * pt_BR.po: Brazilian Portuguese translation improvements.
Expand Down
Loading

0 comments on commit 282805b

Please sign in to comment.