Browse files

2.17.3

svn path=/trunk/; revision=7152
  • Loading branch information...
1 parent 0227089 commit 7a5b6f0057562230468448c57b759dda90fcd088 Matthias Clasen committed Jul 3, 2008
Sorry, we could not display the entire diff because it was too big.
View
4 ChangeLog
@@ -1,5 +1,9 @@
2008-07-02 Matthias Clasen <mclasen@redhat.com>
+ * === Released 2.17.3 ===
+
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
* configure.in: Better endianness fix. From Tomas Mraz.
2008-07-02 Matthias Clasen <mclasen@redhat.com>
View
4 INSTALL
@@ -1,8 +1,8 @@
Simple install procedure
========================
- % gzip -cd glib-2.17.2.tar.gz | tar xvf - # unpack the sources
- % cd glib-2.17.2 # change to the toplevel directory
+ % gzip -cd glib-2.17.3.tar.gz | tar xvf - # unpack the sources
+ % cd glib-2.17.3 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GLIB
View
4 NEWS
@@ -33,6 +33,10 @@ Overview of Changes from GLib 2.17.1 to GLib 2.17.3
538564 gio should have gio-types.h
540047 glib-genmarshal.c: '#include <io.h>' is too before
+Updated translations:
+ Korean (ko)
+ Occitan (oc)
+
Overview of Changes from GLib 2.17.0 to GLib 2.17.1
===================================================
View
2 README
@@ -1,7 +1,7 @@
General Information
===================
-This is GLib version 2.17.2. GLib is the low-level core
+This is GLib version 2.17.3. GLib is the low-level core
library that forms the basis for projects such as GTK+ and GNOME. It
provides data structure handling for C, portability wrappers, and
interfaces for such runtime functionality as an event loop, threads,
View
4 docs/reference/ChangeLog
@@ -1,5 +1,9 @@
2008-07-02 Matthias Clasen <mclasen@redhat.com>
+ * === Released 2.17.3 ===
+
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
* gio/gio-sections.txt: Add g_desktop_app_info_new_from_keyfile
and g_file_monitor
View
189 docs/reference/glib/tmpl/byte_order.sgml
@@ -52,15 +52,6 @@ side-effects.
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### MACRO G_BYTE_ORDER ##### -->
-<para>
-The host byte order.
-This can be either #G_LITTLE_ENDIAN or #G_BIG_ENDIAN (support for
-#G_PDP_ENDIAN may be added in future.)
-</para>
-
-
-
<!-- ##### MACRO G_LITTLE_ENDIAN ##### -->
<para>
Specifies one of the possible types of byte order.
@@ -139,24 +130,6 @@ Converts a #gint value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GINT_TO_BE ##### -->
-<para>
-Converts a #gint value from host byte order to big-endian.
-</para>
-
-@val: a #gint value in host byte order.
-@Returns: @val converted to big-endian byte order.
-
-
-<!-- ##### MACRO GINT_TO_LE ##### -->
-<para>
-Converts a #gint value from host byte order to little-endian.
-</para>
-
-@val: a #gint value in host byte order.
-@Returns: @val converted to little-endian byte order.
-
-
<!-- ##### MACRO GUINT_FROM_BE ##### -->
<para>
Converts a #guint value from big-endian to host byte order.
@@ -175,24 +148,6 @@ Converts a #guint value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GUINT_TO_BE ##### -->
-<para>
-Converts a #guint value from host byte order to big-endian.
-</para>
-
-@val: a #guint value in host byte order.
-@Returns: @val converted to big-endian byte order.
-
-
-<!-- ##### MACRO GUINT_TO_LE ##### -->
-<para>
-Converts a #guint value from host byte order to little-endian.
-</para>
-
-@val: a #guint value in host byte order.
-@Returns: @val converted to little-endian byte order.
-
-
<!-- ##### MACRO GLONG_FROM_BE ##### -->
<para>
Converts a #glong value from big-endian to the host byte order.
@@ -211,24 +166,6 @@ Converts a #glong value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GLONG_TO_BE ##### -->
-<para>
-Converts a #glong value from host byte order to big-endian.
-</para>
-
-@val: a #glong value in host byte order.
-@Returns: @val converted to big-endian byte order.
-
-
-<!-- ##### MACRO GLONG_TO_LE ##### -->
-<para>
-Converts a #glong value from host byte order to little-endian.
-</para>
-
-@val: a #glong value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GULONG_FROM_BE ##### -->
<para>
Converts a #gulong value from big-endian to host byte order.
@@ -247,24 +184,6 @@ Converts a #gulong value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GULONG_TO_BE ##### -->
-<para>
-Converts a #gulong value from host byte order to big-endian.
-</para>
-
-@val: a #gulong value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GULONG_TO_LE ##### -->
-<para>
-Converts a #gulong value from host byte order to little-endian.
-</para>
-
-@val: a #gulong value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GINT16_FROM_BE ##### -->
<para>
Converts a #gint16 value from big-endian to host byte order.
@@ -283,24 +202,6 @@ Converts a #gint16 value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GINT16_TO_BE ##### -->
-<para>
-Converts a #gint16 value from host byte order to big-endian.
-</para>
-
-@val: a #gint16 value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GINT16_TO_LE ##### -->
-<para>
-Converts a #gint16 value from host byte order to little-endian.
-</para>
-
-@val: a #gint16 value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GUINT16_FROM_BE ##### -->
<para>
Converts a #guint16 value from big-endian to host byte order.
@@ -319,24 +220,6 @@ Converts a #guint16 value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GUINT16_TO_BE ##### -->
-<para>
-Converts a #guint16 value from host byte order to big-endian.
-</para>
-
-@val: a #guint16 value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GUINT16_TO_LE ##### -->
-<para>
-Converts a #guint16 value from host byte order to little-endian.
-</para>
-
-@val: a #guint16 value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GINT32_FROM_BE ##### -->
<para>
Converts a #gint32 value from big-endian to host byte order.
@@ -355,24 +238,6 @@ Converts a #gint32 value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GINT32_TO_BE ##### -->
-<para>
-Converts a #gint32 value from host byte order to big-endian.
-</para>
-
-@val: a #gint32 value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GINT32_TO_LE ##### -->
-<para>
-Converts a #gint32 value from host byte order to little-endian.
-</para>
-
-@val: a #gint32 value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GUINT32_FROM_BE ##### -->
<para>
Converts a #guint32 value from big-endian to host byte order.
@@ -391,24 +256,6 @@ Converts a #guint32 value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GUINT32_TO_BE ##### -->
-<para>
-Converts a #guint32 value from host byte order to big-endian.
-</para>
-
-@val: a #guint32 value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GUINT32_TO_LE ##### -->
-<para>
-Converts a #guint32 value from host byte order to little-endian.
-</para>
-
-@val: a #guint32 value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GINT64_FROM_BE ##### -->
<para>
Converts a #gint64 value from big-endian to host byte order.
@@ -427,24 +274,6 @@ Converts a #gint64 value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GINT64_TO_BE ##### -->
-<para>
-Converts a #gint64 value from host byte order to big-endian.
-</para>
-
-@val: a #gint64 value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GINT64_TO_LE ##### -->
-<para>
-Converts a #gint64 value from host byte order to little-endian.
-</para>
-
-@val: a #gint64 value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GUINT64_FROM_BE ##### -->
<para>
Converts a #guint64 value from big-endian to host byte order.
@@ -463,24 +292,6 @@ Converts a #guint64 value from little-endian to host byte order.
@Returns: @val converted to host byte order.
-<!-- ##### MACRO GUINT64_TO_BE ##### -->
-<para>
-Converts a #guint64 value from host byte order to big-endian.
-</para>
-
-@val: a #guint64 value in host byte order.
-@Returns: @val converted to big-endian.
-
-
-<!-- ##### MACRO GUINT64_TO_LE ##### -->
-<para>
-Converts a #guint64 value from host byte order to little-endian.
-</para>
-
-@val: a #guint64 value in host byte order.
-@Returns: @val converted to little-endian.
-
-
<!-- ##### MACRO GUINT16_SWAP_BE_PDP ##### -->
<para>
Converts a #guint16 value between big-endian and pdp-endian byte order.
View
11 docs/reference/glib/tmpl/error_reporting.sgml
@@ -455,6 +455,17 @@ information about an error that has occurred.
@Varargs:
+<!-- ##### FUNCTION g_set_error_literal ##### -->
+<para>
+
+</para>
+
+@err:
+@domain:
+@code:
+@message:
+
+
<!-- ##### FUNCTION g_propagate_error ##### -->
<para>
View
836 docs/reference/glib/tmpl/glib-unused.sgml
@@ -180,6 +180,83 @@ Specifies the type of function passed to g_set_error_handler().
@hook_list:
@hook:
+<!-- ##### MACRO GINT16_TO_BE ##### -->
+<para>
+Converts a #gint16 value from host byte order to big-endian.
+</para>
+
+@val: a #gint16 value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GINT16_TO_LE ##### -->
+<para>
+Converts a #gint16 value from host byte order to little-endian.
+</para>
+
+@val: a #gint16 value in host byte order.
+@Returns: @val converted to little-endian.
+
+<!-- ##### MACRO GINT32_TO_BE ##### -->
+<para>
+Converts a #gint32 value from host byte order to big-endian.
+</para>
+
+@val: a #gint32 value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GINT32_TO_LE ##### -->
+<para>
+Converts a #gint32 value from host byte order to little-endian.
+</para>
+
+@val: a #gint32 value in host byte order.
+@Returns: @val converted to little-endian.
+
+<!-- ##### MACRO GINT64_TO_BE ##### -->
+<para>
+Converts a #gint64 value from host byte order to big-endian.
+</para>
+
+@val: a #gint64 value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GINT64_TO_LE ##### -->
+<para>
+Converts a #gint64 value from host byte order to little-endian.
+</para>
+
+@val: a #gint64 value in host byte order.
+@Returns: @val converted to little-endian.
+
+<!-- ##### MACRO GINT_TO_BE ##### -->
+<para>
+Converts a #gint value from host byte order to big-endian.
+</para>
+
+@val: a #gint value in host byte order.
+@Returns: @val converted to big-endian byte order.
+
+<!-- ##### MACRO GINT_TO_LE ##### -->
+<para>
+Converts a #gint value from host byte order to little-endian.
+</para>
+
+@val: a #gint value in host byte order.
+@Returns: @val converted to little-endian byte order.
+
+<!-- ##### MACRO GINT_TO_POINTER ##### -->
+<para>
+Stuffs an integer into a pointer type.
+</para>
+<para>
+Remember, YOU MAY NOT STORE POINTERS IN INTEGERS. THIS IS NOT PORTABLE
+IN ANY WAY SHAPE OR FORM. These macros <emphasis>ONLY</emphasis> allow
+storing integers in pointers, and only preserve 32 bits of the
+integer; values outside the range of a 32-bit integer will be mangled.
+</para>
+
+@i: integer to stuff into a pointer.
+
<!-- ##### ENUM GIOFileMode ##### -->
<para>
@@ -192,6 +269,49 @@ Specifies the type of function passed to g_set_error_handler().
@G_IO_FILE_MODE_READ_WRITE_TRUNCATE:
@G_IO_FILE_MODE_READ_WRITE_APPEND:
+<!-- ##### MACRO GLIB_MAJOR_VERSION ##### -->
+<para>
+The major version number of the GLib library.
+Like #glib_major_version, but from the headers used at
+application compile time, rather than from the library linked against
+at application run time.
+</para>
+
+
+<!-- ##### MACRO GLIB_MICRO_VERSION ##### -->
+<para>
+The micro version number of the GLib library.
+Like #gtk_micro_version, but from the headers used at
+application compile time, rather than from the library linked against
+at application run time.
+</para>
+
+
+<!-- ##### MACRO GLIB_MINOR_VERSION ##### -->
+<para>
+The minor version number of the GLib library.
+Like #gtk_minor_version, but from the headers used at
+application compile time, rather than from the library linked against
+at application run time.
+</para>
+
+
+<!-- ##### MACRO GLONG_TO_BE ##### -->
+<para>
+Converts a #glong value from host byte order to big-endian.
+</para>
+
+@val: a #glong value in host byte order.
+@Returns: @val converted to big-endian byte order.
+
+<!-- ##### MACRO GLONG_TO_LE ##### -->
+<para>
+Converts a #glong value from host byte order to little-endian.
+</para>
+
+@val: a #glong value in host byte order.
+@Returns: @val converted to little-endian.
+
<!-- ##### ENUM GMatchType ##### -->
<para>
Enumeration representing different kinds of patterns. This is only used
@@ -206,13 +326,183 @@ the end of the string.
@G_MATCH_EXACT: a pattern matching exactly one string.
@G_MATCH_LAST:
+<!-- ##### STRUCT GModule ##### -->
+<para>
+The #GModule struct is an opaque data structure to represent a
+<link linkend="glib-Dynamic-Loading-of-Modules">Dynamically-Loaded Module</link>.
+It should only be accessed via the following functions.
+</para>
+
+
+<!-- ##### USER_FUNCTION GModuleCheckInit ##### -->
+<para>
+Specifies the type of the module initialization function.
+If a module contains a function named g_module_check_init() it is called
+automatically when the module is loaded. It is passed the #GModule structure
+and should return %NULL on success or a string describing the initialization
+error.
+</para>
+
+@module: the #GModule corresponding to the module which has just been loaded.
+@Returns: %NULL on success, or a string describing the initialization error.
+
+<!-- ##### ENUM GModuleFlags ##### -->
+<para>
+Flags passed to g_module_open(). Note that these flags are
+not supported on all platforms.
+</para>
+
+@G_MODULE_BIND_LAZY: specifies that symbols are only resolved when needed.
+ The default action is to bind all symbols when the module is loaded.
+@G_MODULE_BIND_LOCAL: specifies that symbols in the module should
+ not be added to the global name space. The default action on most
+ platforms is to place symbols in the module in the global name space,
+ which may cause conflicts with existing symbols.
+@G_MODULE_BIND_MASK: mask for all flags.
+
+<!-- ##### USER_FUNCTION GModuleUnload ##### -->
+<para>
+Specifies the type of the module function called when it is unloaded.
+If a module contains a function named g_module_unload() it is called
+automatically when the module is unloaded.
+It is passed the #GModule structure.
+</para>
+
+@module: the #GModule about to be unloaded.
+
+<!-- ##### MACRO GPOINTER_TO_INT ##### -->
+<para>
+Extracts an integer from a pointer. The integer must have
+been stored in the pointer with GINT_TO_POINTER().
+</para>
+<para>
+Remember, YOU MAY NOT STORE POINTERS IN INTEGERS. THIS IS NOT PORTABLE
+IN ANY WAY SHAPE OR FORM. These macros <emphasis>ONLY</emphasis> allow
+storing integers in pointers, and only preserve 32 bits of the
+integer; values outside the range of a 32-bit integer will be mangled.
+</para>
+
+@p: pointer containing an integer.
+
+<!-- ##### MACRO GPOINTER_TO_UINT ##### -->
+<para>
+Extracts an unsigned integer from a pointer. The integer must have
+been stored in the pointer with GUINT_TO_POINTER().
+</para>
+
+@p: pointer to extract an unsigned integer from.
+
+<!-- ##### TYPEDEF GPid ##### -->
+<para>
+A type which is used to hold a process identification.
+On Unix, processes are identified by a process id (an
+integer), while Windows uses process handles (which are
+pointers).
+</para>
+
+
+<!-- ##### MACRO GUINT16_TO_BE ##### -->
+<para>
+Converts a #guint16 value from host byte order to big-endian.
+</para>
+
+@val: a #guint16 value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GUINT16_TO_LE ##### -->
+<para>
+Converts a #guint16 value from host byte order to little-endian.
+</para>
+
+@val: a #guint16 value in host byte order.
+@Returns: @val converted to little-endian.
+
+<!-- ##### MACRO GUINT32_TO_BE ##### -->
+<para>
+Converts a #guint32 value from host byte order to big-endian.
+</para>
+
+@val: a #guint32 value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GUINT32_TO_LE ##### -->
+<para>
+Converts a #guint32 value from host byte order to little-endian.
+</para>
+
+@val: a #guint32 value in host byte order.
+@Returns: @val converted to little-endian.
+
+<!-- ##### MACRO GUINT64_TO_BE ##### -->
+<para>
+Converts a #guint64 value from host byte order to big-endian.
+</para>
+
+@val: a #guint64 value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GUINT64_TO_LE ##### -->
+<para>
+Converts a #guint64 value from host byte order to little-endian.
+</para>
+
+@val: a #guint64 value in host byte order.
+@Returns: @val converted to little-endian.
+
+<!-- ##### MACRO GUINT_TO_BE ##### -->
+<para>
+Converts a #guint value from host byte order to big-endian.
+</para>
+
+@val: a #guint value in host byte order.
+@Returns: @val converted to big-endian byte order.
+
+<!-- ##### MACRO GUINT_TO_LE ##### -->
+<para>
+Converts a #guint value from host byte order to little-endian.
+</para>
+
+@val: a #guint value in host byte order.
+@Returns: @val converted to little-endian byte order.
+
+<!-- ##### MACRO GUINT_TO_POINTER ##### -->
+<para>
+Stuffs an unsigned integer into a pointer type.
+</para>
+
+@u: unsigned integer to stuff into the pointer.
+
+<!-- ##### MACRO GULONG_TO_BE ##### -->
+<para>
+Converts a #gulong value from host byte order to big-endian.
+</para>
+
+@val: a #gulong value in host byte order.
+@Returns: @val converted to big-endian.
+
+<!-- ##### MACRO GULONG_TO_LE ##### -->
+<para>
+Converts a #gulong value from host byte order to little-endian.
+</para>
+
+@val: a #gulong value in host byte order.
+@Returns: @val converted to little-endian.
+
<!-- ##### USER_FUNCTION GWarningFunc ##### -->
<para>
Specifies the type of function passed to g_set_warning_handler().
</para>
@str: the warning message.
+<!-- ##### MACRO G_BYTE_ORDER ##### -->
+<para>
+The host byte order.
+This can be either #G_LITTLE_ENDIAN or #G_BIG_ENDIAN (support for
+#G_PDP_ENDIAN may be added in future.)
+</para>
+
+
<!-- ##### MACRO G_CHANNEL_ERROR ##### -->
<para>
@@ -227,6 +517,214 @@ error domains.
</para>
+<!-- ##### MACRO G_GINT16_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #gint16. It is a string literal, but doesn't
+include the percent-sign, such that you can add precision and length
+modifiers between percent-sign and conversion specifier.
+</para>
+
+<para>
+<informalexample>
+<programlisting>
+gint16 in;
+gint32 out;
+sscanf ("42", "%" G_GINT16_FORMAT, &amp;in)
+out = in * 1000;
+g_print ("%" G_GINT32_FORMAT, out);
+</programlisting>
+</informalexample>
+</para>
+
+
+<!-- ##### MACRO G_GINT16_MODIFIER ##### -->
+<para>
+The platform dependent length modifier for constructing printf() conversion
+specifiers for values of type #gint16 or #guint16. It is a string literal,
+but doesn't include the percent-sign, such that you can add precision and
+length modifiers between percent-sign and conversion specifier and append a
+conversion specifier.
+</para>
+
+<para>
+The following example prints "0x7b";
+<informalexample>
+<programlisting>
+gint16 value = 123;
+g_print ("%#" G_GINT16_MODIFIER "x", value);
+</programlisting>
+</informalexample>
+</para>
+
+@Since: 2.4
+
+<!-- ##### MACRO G_GINT32_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #gint32. See also #G_GINT16_FORMAT.
+</para>
+
+
+<!-- ##### MACRO G_GINT32_MODIFIER ##### -->
+<para>
+The platform dependent length modifier for constructing printf() conversion
+specifiers for values of type #gint32 or #guint32. See also #G_GINT16_MODIFIER.
+</para>
+
+@Since: 2.4
+
+<!-- ##### MACRO G_GINT64_CONSTANT ##### -->
+<para>
+This macro is used to insert 64-bit integer literals into the source code.
+</para>
+
+@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
+
+<!-- ##### MACRO G_GINT64_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #gint64. See also #G_GINT16_FORMAT.
+</para>
+
+<note>
+<para>
+Some platforms do not support scanning and printing 64 bit integers,
+even though the types are supported. On such platforms #G_GINT64_FORMAT
+is not defined. Note that scanf() may not support 64 bit integers, even
+if #G_GINT64_FORMAT is defined. Due to its weak error handling, scanf() is not
+recommended for parsing anyway; consider using g_strtoull() instead.
+</para>
+</note>
+
+
+<!-- ##### MACRO G_GINT64_MODIFIER ##### -->
+<para>
+The platform dependent length modifier for constructing printf() conversion
+specifiers for values of type #gint64 or #guint64. See also #G_GINT16_MODIFIER.
+</para>
+
+<note>
+<para>
+Some platforms do not support printing 64 bit integers,
+even though the types are supported. On such platforms #G_GINT64_MODIFIER
+is not defined.
+</para>
+</note>
+
+@Since: 2.4
+
+<!-- ##### MACRO G_GNUC_INTERNAL ##### -->
+<para>
+This attribute can be used for marking library functions as being used
+internally to the library only, which may allow the compiler to handle
+function calls more efficiently.
+Note that static functions do not need to be marked as internal in this way.
+See the GNU C documentation for details.
+</para>
+<para>
+When using a compiler that supports the GNU C hidden visibility attribute,
+this macro expands to <literal>__attribute__((visibility("hidden")))</literal>.
+When using the Sun Studio compiler, it expands to <literal>__hidden</literal>.
+</para>
+<para>
+Note that for portability, the attribute should be placed before the
+function declaration. While GCC allows the macro after the declaration,
+Sun Studio does not.
+</para>
+<informalexample><programlisting>
+G_GNUC_INTERNAL
+void _g_log_fallback_handler (const gchar *log_domain,
+ GLogLevelFlags log_level,
+ const gchar *message,
+ gpointer unused_data);
+</programlisting></informalexample>
+
+Since: 2.6
+
+
+<!-- ##### MACRO G_GSIZE_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #gsize. See also #G_GINT16_FORMAT.
+</para>
+
+@Since: 2.6
+
+<!-- ##### MACRO G_GSIZE_MODIFIER ##### -->
+<para>
+The platform dependent length modifier for constructing printf() conversion
+specifiers for values of type #gsize or #gssize. See also #G_GINT16_MODIFIER.
+</para>
+
+@Since: 2.6
+
+<!-- ##### MACRO G_GSSIZE_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #gssize. See also #G_GINT16_FORMAT.
+</para>
+
+@Since: 2.6
+
+<!-- ##### MACRO G_GUINT16_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #guint16. See also #G_GINT16_FORMAT.
+</para>
+
+
+<!-- ##### MACRO G_GUINT32_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #guint32. See also #G_GINT16_FORMAT.
+</para>
+
+
+<!-- ##### MACRO G_GUINT64_CONSTANT ##### -->
+<para>
+This macro is used to insert 64-bit unsigned integer literals into the
+source code.
+</para>
+
+@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
+@Since: 2.10
+
+<!-- ##### MACRO G_GUINT64_FORMAT ##### -->
+<para>
+This is the platform dependent conversion specifier for scanning and
+printing values of type #guint64. See also #G_GINT16_FORMAT.
+</para>
+
+<note>
+<para>
+Some platforms do not support scanning and printing 64 bit integers,
+even though the types are supported. On such platforms #G_GUINT64_FORMAT
+is not defined. Note that scanf() may not support 64 bit integers, even
+if #G_GINT64_FORMAT is defined. Due to its weak error handling, scanf() is not
+recommended for parsing anyway; consider using g_strtoull() instead.
+</para>
+</note>
+
+
+<!-- ##### MACRO G_HAVE_GINT64 ##### -->
+<para>
+This macro is defined if 64-bit signed and unsigned integers are available
+on the platform.
+</para>
+
+@Deprecated: GLib requires 64-bit integer support since version 2.0, therefore
+%G_HAVE_GINT64 is <emphasis>always</emphasis> defined.
+
+<!-- ##### MACRO G_HAVE_GNUC_VISIBILITY ##### -->
+<para>
+This macro is defined as 1 if the compiler supports ELF visibility
+attributes (currently only <command>gcc</command>).
+</para>
+
+Since: 2.6
+
+
<!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
<para>
@@ -267,6 +765,159 @@ not work.
</para>
+<!-- ##### MACRO G_MAXDOUBLE ##### -->
+<para>
+The maximum value which can be held in a #gdouble.
+</para>
+
+
+<!-- ##### MACRO G_MAXFLOAT ##### -->
+<para>
+The maximum value which can be held in a #gfloat.
+</para>
+
+
+<!-- ##### MACRO G_MAXINT ##### -->
+<para>
+The maximum value which can be held in a #gint.
+</para>
+
+
+<!-- ##### MACRO G_MAXLONG ##### -->
+<para>
+The maximum value which can be held in a #glong.
+</para>
+
+
+<!-- ##### MACRO G_MAXOFFSET ##### -->
+<para>
+The maximum value which can be held in a #goffset.
+</para>
+
+
+<!-- ##### MACRO G_MAXSHORT ##### -->
+<para>
+The maximum value which can be held in a #gshort.
+</para>
+
+
+<!-- ##### MACRO G_MAXSIZE ##### -->
+<para>
+The maximum value which can be held in a #gsize.
+</para>
+
+@Since: 2.4
+
+<!-- ##### MACRO G_MAXSSIZE ##### -->
+<para>
+The maximum value which can be held in a #gssize.
+</para>
+
+@Since: 2.14
+
+<!-- ##### MACRO G_MAXUINT ##### -->
+<para>
+The maximum value which can be held in a #guint.
+</para>
+
+
+<!-- ##### MACRO G_MAXULONG ##### -->
+<para>
+The maximum value which can be held in a #gulong.
+</para>
+
+
+<!-- ##### MACRO G_MAXUSHORT ##### -->
+<para>
+The maximum value which can be held in a #gushort.
+</para>
+
+
+<!-- ##### MACRO G_MINDOUBLE ##### -->
+<para>
+The minimum positive value which can be held in a #gdouble.
+</para>
+<para>
+If you are interested in the smallest value which can be held in a #gdouble,
+use -G_MAXDOUBLE.
+</para>
+
+
+<!-- ##### MACRO G_MINFLOAT ##### -->
+<para>
+The minimum positive value which can be held in a #gfloat.
+</para>
+<para>
+If you are interested in the smallest value which can be held in a #gfloat,
+use -G_MAX_FLOAT.
+</para>
+
+
+<!-- ##### MACRO G_MININT ##### -->
+<para>
+The minimum value which can be held in a #gint.
+</para>
+
+
+<!-- ##### MACRO G_MINLONG ##### -->
+<para>
+The minimum value which can be held in a #glong.
+</para>
+
+
+<!-- ##### MACRO G_MINOFFSET ##### -->
+<para>
+The minimum value which can be held in a #goffset.
+</para>
+
+
+<!-- ##### MACRO G_MINSHORT ##### -->
+<para>
+The minimum value which can be held in a #gshort.
+</para>
+
+
+<!-- ##### MACRO G_MINSSIZE ##### -->
+<para>
+The minimum value which can be held in a #gssize.
+</para>
+
+@Since: 2.14
+
+<!-- ##### MACRO G_MODULE_EXPORT ##### -->
+<para>
+Used to declare functions exported by modules. This is a no-op on Linux and
+Unices, but when compiling for Windows, it marks a symbol to be exported from
+the library or executable being built.
+</para>
+
+
+<!-- ##### MACRO G_MODULE_IMPORT ##### -->
+<para>
+Used to declare functions imported from modules.
+</para>
+
+
+<!-- ##### MACRO G_MODULE_SUFFIX ##### -->
+<para>
+Expands to the proper shared library suffix for the current platform
+without the leading dot. For the most Unices and Linux this is "so",
+for some HP-UX versions this is "sl" and for Windows this is "dll".
+</para>
+
+
+<!-- ##### MACRO G_THREADS_ENABLED ##### -->
+
+<para>
+This macro is defined if GLib was compiled with thread support. This
+does not necessarily mean that there is a thread implementation
+available, but it does mean that the infrastructure is in place and
+that once you provide a thread implementation to g_thread_init(), GLib
+will be multi-thread safe. If #G_THREADS_ENABLED is not defined, then
+Glib is not, and cannot be, multi-thread safe.
+</para>
+
+
<!-- ##### MACRO NAME_MAX ##### -->
<para>
Provided for UNIX emulation on Windows; equivalent to UNIX macro
@@ -753,6 +1404,117 @@ To use this function you must configure glib with the flag
@mem: the memory to check.
+<!-- ##### MACRO g_memmove ##### -->
+<para>
+
+</para>
+
+@dest:
+@src:
+@len:
+
+<!-- ##### FUNCTION g_module_build_path ##### -->
+<para>
+A portable way to build the filename of a module. The platform-specific
+prefix and suffix are added to the filename, if needed, and the result is
+added to the directory, using the correct separator character.
+</para>
+<para>
+The directory should specify the directory where the module can be found.
+It can be %NULL or an empty string to indicate that the module is in a standard
+platform-specific directory, though this is not recommended since the
+wrong module may be found.
+</para>
+<para>
+For example, calling g_module_build_path() on a Linux system with a @directory
+of <filename>/lib</filename> and a @module_name of "mylibrary" will return
+<filename>/lib/libmylibrary.so</filename>. On a Windows system, using
+<filename>\Windows</filename> as the directory it will return
+<filename>\Windows\mylibrary.dll</filename>.
+</para>
+
+@directory: the directory where the module is. This can be %NULL or the empty
+string to indicate that the standard platform-specific directories will be
+used, though that is not recommended.
+@module_name: the name of the module.
+@Returns: the complete path of the module, including the standard library
+prefix and suffix. This should be freed when no longer needed.
+
+<!-- ##### FUNCTION g_module_close ##### -->
+<para>
+Closes a module.
+</para>
+
+@module: a #GModule to close.
+@Returns: %TRUE on success.
+
+<!-- ##### FUNCTION g_module_error ##### -->
+<para>
+Gets a string describing the last module error.
+</para>
+
+@Returns: a string describing the last module error.
+
+<!-- ##### FUNCTION g_module_make_resident ##### -->
+<para>
+Ensures that a module will never be unloaded.
+Any future g_module_close() calls on the module will be ignored.
+</para>
+
+@module: a #GModule to make permanently resident.
+
+<!-- ##### FUNCTION g_module_name ##### -->
+<para>
+Gets the filename from a #GModule.
+</para>
+
+@module: a #GModule.
+@Returns: the filename of the module, or "main" if the module is the main
+program itself.
+
+<!-- ##### FUNCTION g_module_open ##### -->
+<para>
+Opens a module. If the module has already been opened, its reference
+count is incremented.
+</para>
+
+<para>
+First of all g_module_open() tries to open @file_name as a module. If
+that fails and @file_name has the ".la"-suffix (and is a libtool archive)
+it tries to open the corresponding module. If that fails and it doesn't
+have the proper module suffix for the platform (#G_MODULE_SUFFIX), this
+suffix will be appended and the corresponding module will be opended. If
+that fails and @file_name doesn't have the ".la"-suffix, this suffix is
+appended and g_module_open() tries to open the corresponding module. If
+eventually that fails as well, %NULL is returned.
+</para>
+
+@file_name: the name of the file containing the module, or %NULL to obtain
+ a #GModule representing the main program itself.
+@flags: the flags used for opening the module. This can be the logical
+OR of any of the #GModuleFlags.
+@Returns: a #GModule on success, or %NULL on failure.
+
+<!-- ##### FUNCTION g_module_supported ##### -->
+<para>
+Checks if modules are supported on the current platform.
+</para>
+
+@Returns: %TRUE if modules are supported.
+
+<!-- ##### FUNCTION g_module_symbol ##### -->
+<para>
+Gets a symbol pointer from a module, such as one exported by #G_MODULE_EXPORT.
+</para>
+<para>
+Note that a valid symbol can be %NULL.
+</para>
+
+@module: a #GModule.
+@symbol_name: the name of the symbol to find.
+@symbol: returns the pointer to the symbol value.
+@Returns: %TRUE on success.
+
<!-- ##### FUNCTION g_regex_error_quark ##### -->
<para>
@@ -900,6 +1662,80 @@ Turns the argument into a string literal by using the '#' stringizing operator.
</para>
+<!-- ##### TYPEDEF gint16 ##### -->
+<para>
+A signed integer guaranteed to be 16 bits on all platforms.
+Values of this type can range from -32,768 to 32,767.
+</para>
+
+
+<!-- ##### TYPEDEF gint32 ##### -->
+<para>
+A signed integer guaranteed to be 32 bits on all platforms.
+Values of this type can range from -2,147,483,648 to 2,147,483,647.
+</para>
+
+
+<!-- ##### TYPEDEF gint64 ##### -->
+<para>
+A signed integer guaranteed to be 64 bits on all platforms.
+Values of this type can range from -9,223,372,036,854,775,808 to
+9,223,372,036,854,775,807.
+</para>
+
+
+<!-- ##### TYPEDEF gint8 ##### -->
+<para>
+A signed integer guaranteed to be 8 bits on all platforms.
+Values of this type can range from -128 to 127.
+</para>
+
+
+<!-- ##### TYPEDEF goffset ##### -->
+<para>
+A signed integer type that is used for file offsets, corresponding to the
+C99 type off64_t.
+</para>
+
+Since: 2.14
+
+
+<!-- ##### TYPEDEF gsize ##### -->
+<para>
+An unsigned integer type of the result of the sizeof operator, corresponding
+to the size_t type defined in C99. This type is wide enough to hold the numeric
+value of a pointer, so it is usually 32bit wide on a 32bit platform and
+64bit wide on a 64bit platform.
+</para>
+
+
+<!-- ##### TYPEDEF gssize ##### -->
+<para>
+A signed variant of gsize, corresponding to the ssize_t defined on most platforms.
+</para>
+
+
+<!-- ##### TYPEDEF guint16 ##### -->
+<para>
+An unsigned integer guaranteed to be 16 bits on all platforms.
+Values of this type can range from 0 to 65,535.
+</para>
+
+
+<!-- ##### TYPEDEF guint32 ##### -->
+<para>
+An unsigned integer guaranteed to be 32 bits on all platforms.
+Values of this type can range from 0 to 4,294,967,295.
+</para>
+
+
+<!-- ##### TYPEDEF guint8 ##### -->
+<para>
+An unsigned integer guaranteed to be 8 bits on all platforms.
+Values of this type can range from 0 to 255.
+</para>
+
+
<!-- ##### MACRO lseek ##### -->
<para>
View
137 docs/reference/glib/tmpl/limits.sgml
@@ -18,69 +18,6 @@ the standard integer and floating point types.
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### MACRO G_MININT ##### -->
-<para>
-The minimum value which can be held in a #gint.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXINT ##### -->
-<para>
-The maximum value which can be held in a #gint.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXUINT ##### -->
-<para>
-The maximum value which can be held in a #guint.
-</para>
-
-
-
-<!-- ##### MACRO G_MINSHORT ##### -->
-<para>
-The minimum value which can be held in a #gshort.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXSHORT ##### -->
-<para>
-The maximum value which can be held in a #gshort.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXUSHORT ##### -->
-<para>
-The maximum value which can be held in a #gushort.
-</para>
-
-
-
-<!-- ##### MACRO G_MINLONG ##### -->
-<para>
-The minimum value which can be held in a #glong.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXLONG ##### -->
-<para>
-The maximum value which can be held in a #glong.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXULONG ##### -->
-<para>
-The maximum value which can be held in a #gulong.
-</para>
-
-
-
<!-- ##### MACRO G_MININT8 ##### -->
<para>
The minimum value which can be held in a #gint8.
@@ -174,77 +111,3 @@ The maximum value which can be held in a #guint64.
-<!-- ##### MACRO G_MAXSIZE ##### -->
-<para>
-The maximum value which can be held in a #gsize.
-</para>
-
-@Since: 2.4
-
-
-<!-- ##### MACRO G_MINSSIZE ##### -->
-<para>
-The minimum value which can be held in a #gssize.
-</para>
-
-@Since: 2.14
-
-
-<!-- ##### MACRO G_MAXSSIZE ##### -->
-<para>
-The maximum value which can be held in a #gssize.
-</para>
-
-@Since: 2.14
-
-
-<!-- ##### MACRO G_MINOFFSET ##### -->
-<para>
-The minimum value which can be held in a #goffset.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXOFFSET ##### -->
-<para>
-The maximum value which can be held in a #goffset.
-</para>
-
-
-
-<!-- ##### MACRO G_MINFLOAT ##### -->
-<para>
-The minimum positive value which can be held in a #gfloat.
-</para>
-<para>
-If you are interested in the smallest value which can be held in a #gfloat,
-use -G_MAX_FLOAT.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXFLOAT ##### -->
-<para>
-The maximum value which can be held in a #gfloat.
-</para>
-
-
-
-<!-- ##### MACRO G_MINDOUBLE ##### -->
-<para>
-The minimum positive value which can be held in a #gdouble.
-</para>
-<para>
-If you are interested in the smallest value which can be held in a #gdouble,
-use -G_MAXDOUBLE.
-</para>
-
-
-
-<!-- ##### MACRO G_MAXDOUBLE ##### -->
-<para>
-The maximum value which can be held in a #gdouble.
-</para>
-
-
-
View
198 docs/reference/glib/tmpl/macros_misc.sgml
@@ -320,46 +320,6 @@ See the GNU C documentation for details.
-<!-- ##### MACRO G_HAVE_GNUC_VISIBILITY ##### -->
-<para>
-This macro is defined as 1 if the compiler supports ELF visibility
-attributes (currently only <command>gcc</command>).
-</para>
-
-Since: 2.6
-
-
-
-<!-- ##### MACRO G_GNUC_INTERNAL ##### -->
-<para>
-This attribute can be used for marking library functions as being used
-internally to the library only, which may allow the compiler to handle
-function calls more efficiently.
-Note that static functions do not need to be marked as internal in this way.
-See the GNU C documentation for details.
-</para>
-<para>
-When using a compiler that supports the GNU C hidden visibility attribute,
-this macro expands to <literal>__attribute__((visibility("hidden")))</literal>.
-When using the Sun Studio compiler, it expands to <literal>__hidden</literal>.
-</para>
-<para>
-Note that for portability, the attribute should be placed before the
-function declaration. While GCC allows the macro after the declaration,
-Sun Studio does not.
-</para>
-<informalexample><programlisting>
-G_GNUC_INTERNAL
-void _g_log_fallback_handler (const gchar *log_domain,
- GLogLevelFlags log_level,
- const gchar *message,
- gpointer unused_data);
-</programlisting></informalexample>
-
-Since: 2.6
-
-
-
<!-- ##### MACRO G_GNUC_MAY_ALIAS ##### -->
<para>
Expands to the GNU C <literal>may_alias</literal> type attribute
@@ -372,6 +332,7 @@ See the GNU C documentation for details.
Since: 2.14
+
<!-- ##### FUNCTION G_LIKELY ##### -->
<para>
Hints the compiler that the expression is likely to evaluate to a true
@@ -418,160 +379,3 @@ Expands to a string identifying the current function.
@Since: 2.4
-<!-- ##### MACRO G_GINT16_MODIFIER ##### -->
-<para>
-The platform dependent length modifier for constructing printf() conversion
-specifiers for values of type #gint16 or #guint16. It is a string literal,
-but doesn't include the percent-sign, such that you can add precision and
-length modifiers between percent-sign and conversion specifier and append a
-conversion specifier.
-</para>
-
-<para>
-The following example prints "0x7b";
-<informalexample>
-<programlisting>
-gint16 value = 123;
-g_print ("%#" G_GINT16_MODIFIER "x", value);
-</programlisting>
-</informalexample>
-</para>
-
-@Since: 2.4
-
-
-<!-- ##### MACRO G_GINT16_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #gint16. It is a string literal, but doesn't
-include the percent-sign, such that you can add precision and length
-modifiers between percent-sign and conversion specifier.
-</para>
-
-<para>
-<informalexample>
-<programlisting>
-gint16 in;
-gint32 out;
-sscanf ("42", "%" G_GINT16_FORMAT, &amp;in)
-out = in * 1000;
-g_print ("%" G_GINT32_FORMAT, out);
-</programlisting>
-</informalexample>
-</para>
-
-
-
-<!-- ##### MACRO G_GUINT16_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #guint16. See also #G_GINT16_FORMAT.
-</para>
-
-
-
-<!-- ##### MACRO G_GINT32_MODIFIER ##### -->
-<para>
-The platform dependent length modifier for constructing printf() conversion
-specifiers for values of type #gint32 or #guint32. See also #G_GINT16_MODIFIER.
-</para>
-
-@Since: 2.4
-
-
-<!-- ##### MACRO G_GINT32_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #gint32. See also #G_GINT16_FORMAT.
-</para>
-
-
-
-<!-- ##### MACRO G_GUINT32_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #guint32. See also #G_GINT16_FORMAT.
-</para>
-
-
-
-<!-- ##### MACRO G_GINT64_MODIFIER ##### -->
-<para>
-The platform dependent length modifier for constructing printf() conversion
-specifiers for values of type #gint64 or #guint64. See also #G_GINT16_MODIFIER.
-</para>
-
-<note>
-<para>
-Some platforms do not support printing 64 bit integers,
-even though the types are supported. On such platforms #G_GINT64_MODIFIER
-is not defined.
-</para>
-</note>
-
-@Since: 2.4
-
-
-<!-- ##### MACRO G_GINT64_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #gint64. See also #G_GINT16_FORMAT.
-</para>
-
-<note>
-<para>
-Some platforms do not support scanning and printing 64 bit integers,
-even though the types are supported. On such platforms #G_GINT64_FORMAT
-is not defined. Note that scanf() may not support 64 bit integers, even
-if #G_GINT64_FORMAT is defined. Due to its weak error handling, scanf() is not
-recommended for parsing anyway; consider using g_strtoull() instead.
-</para>
-</note>
-
-
-
-<!-- ##### MACRO G_GUINT64_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #guint64. See also #G_GINT16_FORMAT.
-</para>
-
-<note>
-<para>
-Some platforms do not support scanning and printing 64 bit integers,
-even though the types are supported. On such platforms #G_GUINT64_FORMAT
-is not defined. Note that scanf() may not support 64 bit integers, even
-if #G_GINT64_FORMAT is defined. Due to its weak error handling, scanf() is not
-recommended for parsing anyway; consider using g_strtoull() instead.
-</para>
-</note>
-
-
-
-<!-- ##### MACRO G_GSIZE_MODIFIER ##### -->
-<para>
-The platform dependent length modifier for constructing printf() conversion
-specifiers for values of type #gsize or #gssize. See also #G_GINT16_MODIFIER.
-</para>
-
-@Since: 2.6
-
-
-<!-- ##### MACRO G_GSIZE_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #gsize. See also #G_GINT16_FORMAT.
-</para>
-
-@Since: 2.6
-
-
-<!-- ##### MACRO G_GSSIZE_FORMAT ##### -->
-<para>
-This is the platform dependent conversion specifier for scanning and
-printing values of type #gssize. See also #G_GINT16_FORMAT.
-</para>
-
-@Since: 2.6
-
-
View
9 docs/reference/glib/tmpl/main.sgml
@@ -645,15 +645,6 @@ for the default main context.
@Returns:
-<!-- ##### TYPEDEF GPid ##### -->
-<para>
-A type which is used to hold a process identification.
-On Unix, processes are identified by a process id (an
-integer), while Windows uses process handles (which are
-pointers).
-</para>
-
-
<!-- ##### USER_FUNCTION GChildWatchFunc ##### -->
<para>
The type of functions to be called when a child exists.
View
10 docs/reference/glib/tmpl/memory.sgml
@@ -258,16 +258,6 @@ Wraps g_alloca() in a more typesafe manner.
@Returns: Pointer to stack space for @n_structs chunks of type @struct_type
-<!-- ##### MACRO g_memmove ##### -->
-<para>
-
-</para>
-
-@dest:
-@src:
-@len:
-
-
<!-- ##### FUNCTION g_memdup ##### -->
<para>
Allocates @byte_size bytes of memory, and copies @byte_size bytes into it
View
181 docs/reference/glib/tmpl/modules.sgml
@@ -99,184 +99,3 @@ just_say_hello (const char *filename, GError **error)
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### STRUCT GModule ##### -->
-<para>
-The #GModule struct is an opaque data structure to represent a
-<link linkend="glib-Dynamic-Loading-of-Modules">Dynamically-Loaded Module</link>.
-It should only be accessed via the following functions.
-</para>
-
-
-<!-- ##### FUNCTION g_module_supported ##### -->
-<para>
-Checks if modules are supported on the current platform.
-</para>
-
-@Returns: %TRUE if modules are supported.
-
-
-<!-- ##### FUNCTION g_module_build_path ##### -->
-<para>
-A portable way to build the filename of a module. The platform-specific
-prefix and suffix are added to the filename, if needed, and the result is
-added to the directory, using the correct separator character.
-</para>
-<para>
-The directory should specify the directory where the module can be found.
-It can be %NULL or an empty string to indicate that the module is in a standard
-platform-specific directory, though this is not recommended since the
-wrong module may be found.
-</para>
-<para>
-For example, calling g_module_build_path() on a Linux system with a @directory
-of <filename>/lib</filename> and a @module_name of "mylibrary" will return
-<filename>/lib/libmylibrary.so</filename>. On a Windows system, using
-<filename>\Windows</filename> as the directory it will return
-<filename>\Windows\mylibrary.dll</filename>.
-</para>
-
-@directory: the directory where the module is. This can be %NULL or the empty
-string to indicate that the standard platform-specific directories will be
-used, though that is not recommended.
-@module_name: the name of the module.
-@Returns: the complete path of the module, including the standard library
-prefix and suffix. This should be freed when no longer needed.
-
-
-<!-- ##### FUNCTION g_module_open ##### -->
-<para>
-Opens a module. If the module has already been opened, its reference
-count is incremented.
-</para>
-
-<para>
-First of all g_module_open() tries to open @file_name as a module. If
-that fails and @file_name has the ".la"-suffix (and is a libtool archive)
-it tries to open the corresponding module. If that fails and it doesn't
-have the proper module suffix for the platform (#G_MODULE_SUFFIX), this
-suffix will be appended and the corresponding module will be opended. If
-that fails and @file_name doesn't have the ".la"-suffix, this suffix is
-appended and g_module_open() tries to open the corresponding module. If
-eventually that fails as well, %NULL is returned.
-</para>
-
-@file_name: the name of the file containing the module, or %NULL to obtain
- a #GModule representing the main program itself.
-@flags: the flags used for opening the module. This can be the logical
-OR of any of the #GModuleFlags.
-@Returns: a #GModule on success, or %NULL on failure.
-
-
-<!-- ##### ENUM GModuleFlags ##### -->
-<para>
-Flags passed to g_module_open(). Note that these flags are
-not supported on all platforms.
-</para>
-
-@G_MODULE_BIND_LAZY: specifies that symbols are only resolved when needed.
- The default action is to bind all symbols when the module is loaded.
-@G_MODULE_BIND_LOCAL: specifies that symbols in the module should
- not be added to the global name space. The default action on most
- platforms is to place symbols in the module in the global name space,
- which may cause conflicts with existing symbols.
-@G_MODULE_BIND_MASK: mask for all flags.
-
-<!-- ##### FUNCTION g_module_symbol ##### -->
-<para>
-Gets a symbol pointer from a module, such as one exported by #G_MODULE_EXPORT.
-</para>
-<para>
-Note that a valid symbol can be %NULL.
-</para>
-
-@module: a #GModule.
-@symbol_name: the name of the symbol to find.
-@symbol: returns the pointer to the symbol value.
-@Returns: %TRUE on success.
-
-
-<!-- ##### FUNCTION g_module_name ##### -->
-<para>
-Gets the filename from a #GModule.
-</para>
-
-@module: a #GModule.
-@Returns: the filename of the module, or "main" if the module is the main
-program itself.
-
-
-<!-- ##### FUNCTION g_module_make_resident ##### -->
-<para>
-Ensures that a module will never be unloaded.
-Any future g_module_close() calls on the module will be ignored.
-</para>
-
-@module: a #GModule to make permanently resident.
-
-
-<!-- ##### FUNCTION g_module_close ##### -->
-<para>
-Closes a module.
-</para>
-
-@module: a #GModule to close.
-@Returns: %TRUE on success.
-
-
-<!-- ##### FUNCTION g_module_error ##### -->
-<para>
-Gets a string describing the last module error.
-</para>
-
-@Returns: a string describing the last module error.
-
-
-<!-- ##### USER_FUNCTION GModuleCheckInit ##### -->
-<para>
-Specifies the type of the module initialization function.
-If a module contains a function named g_module_check_init() it is called
-automatically when the module is loaded. It is passed the #GModule structure
-and should return %NULL on success or a string describing the initialization
-error.
-</para>
-
-@module: the #GModule corresponding to the module which has just been loaded.
-@Returns: %NULL on success, or a string describing the initialization error.
-
-
-<!-- ##### USER_FUNCTION GModuleUnload ##### -->
-<para>
-Specifies the type of the module function called when it is unloaded.
-If a module contains a function named g_module_unload() it is called
-automatically when the module is unloaded.
-It is passed the #GModule structure.
-</para>
-
-@module: the #GModule about to be unloaded.
-
-
-<!-- ##### MACRO G_MODULE_SUFFIX ##### -->
-<para>
-Expands to the proper shared library suffix for the current platform
-without the leading dot. For the most Unices and Linux this is "so",
-for some HP-UX versions this is "sl" and for Windows this is "dll".
-</para>
-
-
-
-<!-- ##### MACRO G_MODULE_EXPORT ##### -->
-<para>
-Used to declare functions exported by modules. This is a no-op on Linux and
-Unices, but when compiling for Windows, it marks a symbol to be exported from
-the library or executable being built.
-</para>
-
-
-
-<!-- ##### MACRO G_MODULE_IMPORT ##### -->
-<para>
-Used to declare functions imported from modules.
-</para>
-
-
-
View
3 docs/reference/glib/tmpl/testing.sgml
@@ -264,17 +264,14 @@ determine what traps to set.
<filename>/dev/null</filename> so it cannot be observed on the
console during test runs. The actual output is still captured
though to allow later tests with g_test_trap_assert_stdout().
-
@G_TEST_TRAP_SILENCE_STDERR: Redirect stderr of the test child to
<filename>/dev/null</filename> so it cannot be observed on the
console during test runs. The actual output is still captured
though to allow later tests with g_test_trap_assert_stderr().
-
@G_TEST_TRAP_INHERIT_STDIN: If this flag is given, stdin of the forked
child process is shared with stdin of its parent process. It is
redirected to <filename>/dev/null</filename> otherwise.
-
<!-- ##### FUNCTION g_test_trap_fork ##### -->
<para>
View
13 docs/reference/glib/tmpl/threads.sgml
@@ -71,19 +71,6 @@ common problems. To use error-checking mutexes, define the symbol
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### MACRO G_THREADS_ENABLED ##### -->
-
-<para>
-This macro is defined if GLib was compiled with thread support. This
-does not necessarily mean that there is a thread implementation
-available, but it does mean that the infrastructure is in place and
-that once you provide a thread implementation to g_thread_init(), GLib
-will be multi-thread safe. If #G_THREADS_ENABLED is not defined, then
-Glib is not, and cannot be, multi-thread safe.
-</para>
-
-
-
<!-- ##### MACRO G_THREADS_IMPL_POSIX ##### -->
<para>
View
46 docs/reference/glib/tmpl/type_conversion.sgml
@@ -57,52 +57,6 @@ integer; values outside the range of a 32-bit integer will be mangled.
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### MACRO GINT_TO_POINTER ##### -->
-<para>
-Stuffs an integer into a pointer type.
-</para>
-<para>
-Remember, YOU MAY NOT STORE POINTERS IN INTEGERS. THIS IS NOT PORTABLE
-IN ANY WAY SHAPE OR FORM. These macros <emphasis>ONLY</emphasis> allow
-storing integers in pointers, and only preserve 32 bits of the
-integer; values outside the range of a 32-bit integer will be mangled.
-</para>
-
-@i: integer to stuff into a pointer.
-
-
-<!-- ##### MACRO GPOINTER_TO_INT ##### -->
-<para>
-Extracts an integer from a pointer. The integer must have
-been stored in the pointer with GINT_TO_POINTER().
-</para>
-<para>
-Remember, YOU MAY NOT STORE POINTERS IN INTEGERS. THIS IS NOT PORTABLE
-IN ANY WAY SHAPE OR FORM. These macros <emphasis>ONLY</emphasis> allow
-storing integers in pointers, and only preserve 32 bits of the
-integer; values outside the range of a 32-bit integer will be mangled.
-</para>
-
-@p: pointer containing an integer.
-
-
-<!-- ##### MACRO GUINT_TO_POINTER ##### -->
-<para>
-Stuffs an unsigned integer into a pointer type.
-</para>
-
-@u: unsigned integer to stuff into the pointer.
-
-
-<!-- ##### MACRO GPOINTER_TO_UINT ##### -->
-<para>
-Extracts an unsigned integer from a pointer. The integer must have
-been stored in the pointer with GUINT_TO_POINTER().
-</para>
-
-@p: pointer to extract an unsigned integer from.
-
-
<!-- ##### MACRO GSIZE_TO_POINTER ##### -->
<para>
Stuffs a #gsize into a pointer type.
View
102 docs/reference/glib/tmpl/types.sgml
@@ -119,66 +119,6 @@ Values of this type can range from 0 to #G_MAXULONG.
</para>
-<!-- ##### TYPEDEF gint8 ##### -->
-<para>
-A signed integer guaranteed to be 8 bits on all platforms.
-Values of this type can range from -128 to 127.
-</para>
-
-
-<!-- ##### TYPEDEF guint8 ##### -->
-<para>
-An unsigned integer guaranteed to be 8 bits on all platforms.
-Values of this type can range from 0 to 255.
-</para>
-
-
-<!-- ##### TYPEDEF gint16 ##### -->
-<para>
-A signed integer guaranteed to be 16 bits on all platforms.
-Values of this type can range from -32,768 to 32,767.
-</para>
-
-
-<!-- ##### TYPEDEF guint16 ##### -->
-<para>
-An unsigned integer guaranteed to be 16 bits on all platforms.
-Values of this type can range from 0 to 65,535.
-</para>
-
-
-<!-- ##### TYPEDEF gint32 ##### -->
-<para>
-A signed integer guaranteed to be 32 bits on all platforms.
-Values of this type can range from -2,147,483,648 to 2,147,483,647.
-</para>
-
-
-<!-- ##### TYPEDEF guint32 ##### -->
-<para>
-An unsigned integer guaranteed to be 32 bits on all platforms.
-Values of this type can range from 0 to 4,294,967,295.
-</para>
-
-
-<!-- ##### MACRO G_HAVE_GINT64 ##### -->
-<para>
-This macro is defined if 64-bit signed and unsigned integers are available
-on the platform.
-</para>
-
-@Deprecated: GLib requires 64-bit integer support since version 2.0, therefore
-%G_HAVE_GINT64 is <emphasis>always</emphasis> defined.
-
-
-<!-- ##### TYPEDEF gint64 ##### -->
-<para>
-A signed integer guaranteed to be 64 bits on all platforms.
-Values of this type can range from -9,223,372,036,854,775,808 to
-9,223,372,036,854,775,807.
-</para>
-
-
<!-- ##### FUNCTION guint64 ##### -->
<para>
An unsigned integer guaranteed to be 64 bits on all platforms.
@@ -188,24 +128,6 @@ Values of this type can range from 0 to 18,446,744,073,709,551,615.
@Returns:
-<!-- ##### MACRO G_GINT64_CONSTANT ##### -->
-<para>
-This macro is used to insert 64-bit integer literals into the source code.
-</para>
-
-@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
-
-
-<!-- ##### MACRO G_GUINT64_CONSTANT ##### -->
-<para>
-This macro is used to insert 64-bit unsigned integer literals into the
-source code.
-</para>
-
-@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
-@Since: 2.10
-
-
<!-- ##### TYPEDEF gfloat ##### -->
<para>
Corresponds to the standard C <type>float</type> type.
@@ -220,27 +142,3 @@ Values of this type can range from -#G_MAXDOUBLE to #G_MAXDOUBLE.
</para>
-<!-- ##### TYPEDEF gsize ##### -->
-<para>
-An unsigned integer type of the result of the sizeof operator, corresponding
-to the size_t type defined in C99. This type is wide enough to hold the numeric
-value of a pointer, so it is usually 32bit wide on a 32bit platform and
-64bit wide on a 64bit platform.
-</para>
-
-
-<!-- ##### TYPEDEF gssize ##### -->
-<para>
-A signed variant of gsize, corresponding to the ssize_t defined on most platforms.
-</para>
-
-
-<!-- ##### TYPEDEF goffset ##### -->
-<para>
-A signed integer type that is used for file offsets, corresponding to the
-C99 type off64_t.
-</para>
-
-Since: 2.14
-
-
View
2 docs/reference/glib/tmpl/unicode.sgml
@@ -330,7 +330,7 @@ See <ulink url="http://www.unicode.org/unicode/reports/tr14/"
@G_UNICODE_BREAK_SURROGATE: Surrogates (SG)
@G_UNICODE_BREAK_ZERO_WIDTH_SPACE: Zero Width Space (ZW)
@G_UNICODE_BREAK_INSEPARABLE: Inseparable (IN)
-@G_UNICODE_BREAK_NON_BREAKING_GLUE: Non-breaking ("Glue") (GL)
+@G_UNICODE_BREAK_NON_BREAKING_GLUE: Non-breaking ("Glue") (GL)
@G_UNICODE_BREAK_CONTINGENT: Contingent Break Opportunity (CB)
@G_UNICODE_BREAK_SPACE: Space (SP)
@G_UNICODE_BREAK_AFTER: Break Opportunity After (BA)
View
30 docs/reference/glib/tmpl/version.sgml
@@ -87,36 +87,6 @@ about it. ;-)
@Returns:
-<!-- ##### MACRO GLIB_MAJOR_VERSION ##### -->
-<para>
-The major version number of the GLib library.
-Like #glib_major_version, but from the headers used at
-application compile time, rather than from the library linked against
-at application run time.
-</para>
-
-
-
-<!-- ##### MACRO GLIB_MINOR_VERSION ##### -->
-<para>
-The minor version number of the GLib library.
-Like #gtk_minor_version, but from the headers used at
-application compile time, rather than from the library linked against
-at application run time.
-</para>
-
-
-
-<!-- ##### MACRO GLIB_MICRO_VERSION ##### -->
-<para>
-The micro version number of the GLib library.
-Like #gtk_micro_version, but from the headers used at
-application compile time, rather than from the library linked against
-at application run time.
-</para>
-
-
-
<!-- ##### MACRO GLIB_CHECK_VERSION ##### -->
<para>
Checks the version of the GLib library.
View
4 gio/ChangeLog
@@ -1,5 +1,9 @@
2008-07-02 Matthias Clasen <mclasen@redhat.com>
+ * === Released 2.17.3 ===
+
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
* gfilemonitor.c: Fix the build.
2008-07-02 Matthias Clasen <mclasen@redhat.com>
View
4 gmodule/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
+ * === Released 2.17.3 ===
+
2008-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.2 ===
View
4 gobject/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
+ * === Released 2.17.3 ===
+
2008-07-01 Matthias Clasen <mclasen@redhat.com>
* *.c: Fix up section comments far enough to avoid regressions.
View
4 gthread/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
+ * === Released 2.17.3 ===
+
2008-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.2 ===
View
4 po/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-02 Matthias Clasen <mclasen@redhat.com>
+
+ * === Released 2.17.3 ===
+
2008-07-02 Yannig Marchegay <yannig@marchegay.org>
* oc.po: Updated Occitan translation.
View
280 po/am.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: glib VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-06-12 13:04-0400\n"
+"POT-Creation-Date: 2008-07-02 20:10-0400\n"
"PO-Revision-Date: 2003-01-16 08:39+EDT\n"
"Last-Translator: Ge'ez Frontier Foundation <locales@geez.org>\n"
"Language-Team: Amharic <locales@geez.org>\n"
@@ -41,7 +41,6 @@ msgid "Unexpected tag '%s' inside '%s'"
msgstr ""
#: glib/gbookmarkfile.c:1798
-#, c-format
msgid "No valid bookmark file found in data dirs"
msgstr ""
@@ -99,21 +98,19 @@ msgid "Could not open converter from '%s' to '%s'"
msgstr ""
#: glib/gconvert.c:632 glib/gconvert.c:1017 glib/giochannel.c:1330
-#: glib/giochannel.c:1372 glib/giochannel.c:2215 glib/gutf8.c:956
+#: glib/giochannel.c:1372 glib/giochannel.c:2216 glib/gutf8.c:956
#: glib/gutf8.c:1405
-#, c-format
msgid "Invalid byte sequence in conversion input"
msgstr ""
#: glib/gconvert.c:638 glib/gconvert.c:944 glib/giochannel.c:1337
-#: glib/giochannel.c:2227
+#: glib/giochannel.c:2228
#, c-format
msgid "Error during conversion: %s"
msgstr ""
#: glib/gconvert.c:669 glib/gutf8.c:952 glib/gutf8.c:1156 glib/gutf8.c:1297
#: glib/gutf8.c:1401
-#, c-format
msgid "Partial character sequence at end of input"
msgstr ""
@@ -153,7 +150,6 @@ msgid "The pathname '%s' is not an absolute path"
msgstr ""
#: glib/gconvert.c:1894
-#, c-format
msgid "Invalid hostname"
msgstr "የእንግዳ ተቀባይ ስም ተቀብሏል"
@@ -253,7 +249,6 @@ msgid "Failed to read the symbolic link '%s': %s"
msgstr ""
#: glib/gfileutils.c:1908
-#, c-format
msgid "Symbolic links not supported"
msgstr ""
@@ -263,22 +258,18 @@ msgid "Could not open converter from '%s' to '%s': %s"
msgstr ""
#: glib/giochannel.c:1507
-#, c-format
msgid "Can't do a raw read in g_io_channel_read_line_string"
msgstr ""
-#: glib/giochannel.c:1554 glib/giochannel.c:1811 glib/giochannel.c:1898
-#, c-format
+#: glib/giochannel.c:1554 glib/giochannel.c:1812 glib/giochannel.c:1899
msgid "Leftover unconverted data in read buffer"
msgstr ""
-#: glib/giochannel.c:1634 glib/giochannel.c:1711
-#, c-format
+#: glib/giochannel.c:1635 glib/giochannel.c:1712
msgid "Channel terminates in a partial character"
msgstr ""
-#: glib/giochannel.c:1697
-#, c-format
+#: glib/giochannel.c:1698
msgid "Can't do a raw read in g_io_channel_read_to_end"
msgstr ""
@@ -513,7 +504,7 @@ msgstr ""
msgid "the pattern contains items not supported for partial matching"
msgstr ""
-#: glib/gregex.c:154 gio/glocalfile.c:1975
+#: glib/gregex.c:154 gio/glocalfile.c:1981
msgid "internal error"
msgstr ""
@@ -810,12 +801,10 @@ msgid "Text ended before matching quote was found for %c. (The text was '%s')"
msgstr ""
#: glib/gshell.c:557
-#, c-format
msgid "Text was empty (or contained only whitespace)"
msgstr ""
#: glib/gspawn-win32.c:279
-#, c-format
msgid "Failed to read data from child process"
msgstr ""
@@ -865,7 +854,6 @@ msgid "Failed to execute helper program (%s)"
msgstr ""
#: glib/gspawn-win32.c:1002
-#, c-format
msgid ""
"Unexpected error in g_io_channel_win32_poll() reading data from a child "
"process"
@@ -917,18 +905,15 @@ msgid "Failed to read enough data from child pid pipe (%s)"
msgstr ""
#: glib/gutf8.c:1030
-#, c-format
msgid "Character out of range for UTF-8"
msgstr ""
#: glib/gutf8.c:1124 glib/gutf8.c:1133 glib/gutf8.c:1265 glib/gutf8.c:1274
#: glib/gutf8.c:1415 glib/gutf8.c:1511
-#, c-format
msgid "Invalid sequence in conversion input"
msgstr ""
#: glib/gutf8.c:1426 glib/gutf8.c:1522
-#, c-format
msgid "Character out of range for UTF-16"
msgstr ""
@@ -992,17 +977,14 @@ msgid "Unknown option %s"
msgstr ""
#: glib/gkeyfile.c:358
-#, c-format
msgid "Valid key file could not be found in search dirs"
msgstr ""
#: glib/gkeyfile.c:393
-#, c-format
msgid "Not a regular file"
msgstr ""
#: glib/gkeyfile.c:401
-#, c-format
msgid "File is empty"
msgstr ""
@@ -1018,7 +1000,6 @@ msgid "Invalid group name: %s"
msgstr "የእንግዳ ተቀባይ ስም ተቀብሏል"
#: glib/gkeyfile.c:843
-#, c-format
msgid "Key file does not start with a group"
msgstr ""
@@ -1067,7 +1048,6 @@ msgid "Key file does not have key '%s' in group '%s'"
msgstr ""
#: glib/gkeyfile.c:3474
-#, c-format
msgid "Key file contains escape character at end of line"
msgstr ""
@@ -1096,90 +1076,84 @@ msgstr ""
msgid "Value '%s' cannot be interpreted as a boolean."
msgstr ""
-#: gio/gbufferedinputstream.c:483 gio/ginputstream.c:186
-#: gio/ginputstream.c:318 gio/ginputstream.c:559 gio/ginputstream.c:684
-#: gio/goutputstream.c:193 gio/goutputstream.c:647
+#: gio/gbufferedinputstream.c:485 gio/ginputstream.c:187
+#: gio/ginputstream.c:319 gio/ginputstream.c:560 gio/ginputstream.c:685
+#: gio/goutputstream.c:195 gio/goutputstream.c:649
#, c-format
msgid "Too large count value passed to %s"
msgstr ""
-#: gio/gbufferedinputstream.c:870 gio/ginputstream.c:894
-#: gio/goutputstream.c:1076
-#, c-format
+#: gio/gbufferedinputstream.c:872 gio/ginputstream.c:895
+#: gio/goutputstream.c:1078
msgid "Stream is already closed"
msgstr ""
-#: gio/gcancellable.c:296 gio/glocalfile.c:1968 gio/gsimpleasyncresult.c:611
-#, c-format
+#: gio/gcancellable.c:295 gio/glocalfile.c:1974 gio/gsimpleasyncresult.c:612
msgid "Operation was cancelled"
msgstr ""
-#: gio/gcontenttype.c:159
+#: gio/gcontenttype.c:176
msgid "Unknown type"
msgstr ""
-#: gio/gcontenttype.c:160
+#: gio/gcontenttype.c:177
#, c-format
msgid "%s filetype"
msgstr ""
-#: gio/gcontenttype.c:606
+#: gio/gcontenttype.c:667
#, c-format
msgid "%s type"
msgstr ""
-#: gio/gdatainputstream.c:309
-#, c-format
+#: gio/gdatainputstream.c:310
msgid "Unexpected early end-of-stream"
msgstr ""
-#: gio/gdesktopappinfo.c:411 gio/gwin32appinfo.c:222
+#: gio/gdesktopappinfo.c:430 gio/gwin32appinfo.c:222
msgid "Unnamed"
msgstr ""
-#: gio/gdesktopappinfo.c:588
-#, c-format
+#: gio/gdesktopappinfo.c:607
msgid "Desktop file didn't specify Exec field"
msgstr ""
-#: gio/gdesktopappinfo.c:882
-#, c-format
+#: gio/gdesktopappinfo.c:901
msgid "Unable to find terminal required for application"
msgstr ""
-#: gio/gdesktopappinfo.c:1114
+#: gio/gdesktopappinfo.c:1133
#, c-format
msgid "Can't create user application configuration folder %s: %s"
msgstr ""
-#: gio/gdesktopappinfo.c:1118
+#: gio/gdesktopappinfo.c:1137
#, c-format