Mark 2.2 API additions.

This commit is contained in:
Matthias Clasen 2002-11-28 00:15:45 +00:00
parent d2c266b3dd
commit a69dc4b65d
16 changed files with 114 additions and 3 deletions

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -1,5 +1,17 @@
2002-11-28 Matthias Clasen <maclas@gmx.de> 2002-11-28 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strreverse):
* glib/gstrfuncs.c (g_str_has_suffix):
(g_str_has_prefix):
* glib/gprintf.c (g_printf):
(g_fprintf):
(g_sprintf):
(g_vprintf):
(g_vfprintf):
(g_vsprintf):
* glib/gmarkup.c (g_markup_parse_context_get_element):
Mark as 2.2 API additions.
* configure.in: Fix the gtk-doc version check. * configure.in: Fix the gtk-doc version check.
2002-11-27 Matthias Clasen <maclas@gmx.de> 2002-11-27 Matthias Clasen <maclas@gmx.de>

View File

@ -24,7 +24,7 @@ To free a #GByteArray, use g_byte_array_free().
</para> </para>
<example> <example>
<title>Using a <structname>GByteArray</structname>.</title> <title>Using a <structname>GByteArray</structname></title>
<programlisting> <programlisting>
GByteArray *gbarray; GByteArray *gbarray;
gint i; gint i;

View File

@ -38,7 +38,7 @@ To set the size of a pointer array, use g_ptr_array_set_size().
To free a pointer array, use g_ptr_array_free(). To free a pointer array, use g_ptr_array_free().
</para> </para>
<example> <example>
<title>Using a <structname>GPtrArray</structname>.</title> <title>Using a <structname>GPtrArray</structname></title>
<programlisting> <programlisting>
GPtrArray *gparray; GPtrArray *gparray;
gchar *string1 = "one", *string2 = "two", *string3 = "three"; gchar *string1 = "one", *string2 = "two", *string3 = "three";

View File

@ -2,7 +2,7 @@
Value arrays Value arrays
<!-- ##### SECTION Short_Description ##### --> <!-- ##### SECTION Short_Description ##### -->
A #GValueArray is a container structure to maintain an array of #GValue elements. A container structure to maintain an array of generic values
<!-- ##### SECTION Long_Description ##### --> <!-- ##### SECTION Long_Description ##### -->
<para> <para>

View File

@ -1711,6 +1711,8 @@ g_markup_parse_context_end_parse (GMarkupParseContext *context,
* @returns: the name of the currently open element, or %NULL * @returns: the name of the currently open element, or %NULL
* *
* Retrieves the name of the currently open element. * Retrieves the name of the currently open element.
*
* Since: 2.2
**/ **/
G_CONST_RETURN gchar * G_CONST_RETURN gchar *
g_markup_parse_context_get_element (GMarkupParseContext *context) g_markup_parse_context_get_element (GMarkupParseContext *context)

View File

@ -34,6 +34,8 @@
* positional parameters, as specified in the Single Unix Specification. * positional parameters, as specified in the Single Unix Specification.
* *
* Returns: the number of characters printed. * Returns: the number of characters printed.
*
* Since: 2.2
**/ **/
gint gint
g_printf (gchar const *fmt, g_printf (gchar const *fmt,
@ -59,6 +61,8 @@ g_printf (gchar const *fmt,
* positional parameters, as specified in the Single Unix Specification. * positional parameters, as specified in the Single Unix Specification.
* *
* Returns: the number of characters printed. * Returns: the number of characters printed.
*
* Since: 2.2
**/ **/
gint gint
g_fprintf (FILE *file, g_fprintf (FILE *file,
@ -85,6 +89,8 @@ g_fprintf (FILE *file,
* positional parameters, as specified in the Single Unix Specification. * positional parameters, as specified in the Single Unix Specification.
* *
* Returns: the number of characters printed. * Returns: the number of characters printed.
*
* Since: 2.2
**/ **/
gint gint
g_sprintf (gchar *str, g_sprintf (gchar *str,
@ -155,6 +161,8 @@ g_snprintf (gchar *str,
* positional parameters, as specified in the Single Unix Specification. * positional parameters, as specified in the Single Unix Specification.
* *
* Returns: the number of characters printed. * Returns: the number of characters printed.
*
* Since: 2.2
**/ **/
gint gint
g_vprintf (gchar const *fmt, g_vprintf (gchar const *fmt,
@ -175,6 +183,8 @@ g_vprintf (gchar const *fmt,
* positional parameters, as specified in the Single Unix Specification. * positional parameters, as specified in the Single Unix Specification.
* *
* Returns: the number of characters printed. * Returns: the number of characters printed.
*
* Since: 2.2
**/ **/
gint gint
g_vfprintf (FILE *file, g_vfprintf (FILE *file,
@ -196,6 +206,8 @@ g_vfprintf (FILE *file,
* positional parameters, as specified in the Single Unix Specification. * positional parameters, as specified in the Single Unix Specification.
* *
* Returns: the number of characters printed. * Returns: the number of characters printed.
*
* Since: 2.2
**/ **/
gint gint
g_vsprintf (gchar *str, g_vsprintf (gchar *str,

View File

@ -2433,6 +2433,8 @@ g_strrstr_len (const gchar *haystack,
* Looks whether the string @str ends with @suffix. * Looks whether the string @str ends with @suffix.
* *
* Return value: %TRUE if @str end with @suffix, %FALSE otherwise. * Return value: %TRUE if @str end with @suffix, %FALSE otherwise.
*
* Since: 2.2
**/ **/
gboolean gboolean
g_str_has_suffix (const gchar *str, g_str_has_suffix (const gchar *str,
@ -2461,6 +2463,8 @@ g_str_has_suffix (const gchar *str,
* Looks whether the string @str begins with @prefix. * Looks whether the string @str begins with @prefix.
* *
* Return value: %TRUE if @str begins with @prefix, %FALSE otherwise. * Return value: %TRUE if @str begins with @prefix, %FALSE otherwise.
*
* Since: 2.2
**/ **/
gboolean gboolean
g_str_has_prefix (const gchar *str, g_str_has_prefix (const gchar *str,

View File

@ -1583,6 +1583,8 @@ g_unichar_validate (gunichar ch)
* no longer needed. * no longer needed.
* *
* Returns: a newly-allocated string which is the reverse of @str. * Returns: a newly-allocated string which is the reverse of @str.
*
* Since: 2.2
*/ */
gchar * gchar *
g_utf8_strreverse (const gchar *str, g_utf8_strreverse (const gchar *str,

View File

@ -1,3 +1,8 @@
2002-11-28 Matthias Clasen <maclas@gmx.de>
* gtype.c (g_type_interface_prerequisites): Document as 2.2
API addition.
Thu Nov 21 16:05:50 2002 Owen Taylor <otaylor@redhat.com> Thu Nov 21 16:05:50 2002 Owen Taylor <otaylor@redhat.com>
* gtype.c (g_type_check_instance_cast): Allow * gtype.c (g_type_check_instance_cast): Allow

View File

@ -1230,6 +1230,8 @@ g_type_interface_add_prerequisite (GType interface_type,
* *
* Return value: a newly-allocated zero-terminated array of #GType containing * Return value: a newly-allocated zero-terminated array of #GType containing
* the prerequisites of @interface_type * the prerequisites of @interface_type
*
* Since: 2.2
**/ **/
GType* /* free result */ GType* /* free result */
g_type_interface_prerequisites (GType interface_type, g_type_interface_prerequisites (GType interface_type,