From f59aac306d4d1c9f334943aacacdffe404cf9759 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 17 Nov 2005 21:33:07 +0000 Subject: [PATCH] Prepare for 2.9.0 --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ docs/reference/glib/tmpl/date.sgml | 20 +++++++++++++++++++- docs/reference/glib/tmpl/hooks.sgml | 2 +- docs/reference/glib/tmpl/linked_lists_single.sgml | 2 ++ docs/reference/glib/tmpl/quarks.sgml | 18 ++++++++++++++++++ docs/reference/glib/tmpl/threads.sgml | 9 +++++++++ docs/reference/glib/tmpl/trees-nary.sgml | 2 ++ docs/reference/glib/tmpl/unicode.sgml | 11 +++++------ docs/reference/gobject/tmpl/generic_values.sgml | 1 + glib/glib.symbols | 18 ++++++++++++++++++ glib/gutf8.c | 4 +++- 13 files changed, 93 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2a09dd..340612c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-11-17 Matthias Clasen + * glib/glib.symbols: Updates + + * glib/gutf8.c (g_utf8_offset_to_pointer): Add some performance + hints to the docs. (Paolo Borelli) + * NEWS: Updates * glib/gthread.c (g_thread_foreach): Mark as new api. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d2a09dd..340612c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,10 @@ 2005-11-17 Matthias Clasen + * glib/glib.symbols: Updates + + * glib/gutf8.c (g_utf8_offset_to_pointer): Add some performance + hints to the docs. (Paolo Borelli) + * NEWS: Updates * glib/gthread.c (g_thread_foreach): Mark as new api. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d2a09dd..340612c 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,10 @@ 2005-11-17 Matthias Clasen + * glib/glib.symbols: Updates + + * glib/gutf8.c (g_utf8_offset_to_pointer): Add some performance + hints to the docs. (Paolo Borelli) + * NEWS: Updates * glib/gthread.c (g_thread_foreach): Mark as new api. diff --git a/docs/reference/glib/tmpl/date.sgml b/docs/reference/glib/tmpl/date.sgml index 7ec4648..d2c741e 100644 --- a/docs/reference/glib/tmpl/date.sgml +++ b/docs/reference/glib/tmpl/date.sgml @@ -353,10 +353,28 @@ Sets the value of a #GDate from a Julian day number. -@date: +@date: @time_: + + + + + +@date: +@timet: + + + + + + + +@date: +@timeval: + + Parses a user-inputted string @str, and try to figure out what date it diff --git a/docs/reference/glib/tmpl/hooks.sgml b/docs/reference/glib/tmpl/hooks.sgml index 79e21db..a2e6587 100644 --- a/docs/reference/glib/tmpl/hooks.sgml +++ b/docs/reference/glib/tmpl/hooks.sgml @@ -30,7 +30,7 @@ list of hook functions. @hook_size: the size of the #GHookList elements, in bytes. @is_setup: 1 if the #GHookList has been initialized. @hooks: the first #GHook element in the list. -@hook_memchunk: the #GMemChunk used for allocating the #GHook elements. +@dummy3: @finalize_hook: the function to call to finalize a #GHook element. The default behaviour is to call the hooks destroy function. @dummy: diff --git a/docs/reference/glib/tmpl/linked_lists_single.sgml b/docs/reference/glib/tmpl/linked_lists_single.sgml index 7d3c3fd..ae418de 100644 --- a/docs/reference/glib/tmpl/linked_lists_single.sgml +++ b/docs/reference/glib/tmpl/linked_lists_single.sgml @@ -424,6 +424,8 @@ Note that this function is not available if GLib has been compiled with +@dummy: + @allocator: the #GAllocator to use when allocating #GSList elements. diff --git a/docs/reference/glib/tmpl/quarks.sgml b/docs/reference/glib/tmpl/quarks.sgml index 72bc1a7..6803cde 100644 --- a/docs/reference/glib/tmpl/quarks.sgml +++ b/docs/reference/glib/tmpl/quarks.sgml @@ -103,3 +103,21 @@ g_quark_from_string() or g_quark_from_static_string(). #GQuark associated with the string. + + + + + +@string: +@Returns: + + + + + + + +@string: +@Returns: + + diff --git a/docs/reference/glib/tmpl/threads.sgml b/docs/reference/glib/tmpl/threads.sgml index a2b1745..60bfbf7 100644 --- a/docs/reference/glib/tmpl/threads.sgml +++ b/docs/reference/glib/tmpl/threads.sgml @@ -457,6 +457,15 @@ that will mess up the bookkeeping and lead to funny and unwanted results. @retval: the return value of this thread. + + + + + +@thread_func: +@user_data: + + diff --git a/docs/reference/glib/tmpl/trees-nary.sgml b/docs/reference/glib/tmpl/trees-nary.sgml index 3cdbc43..041dfdc 100644 --- a/docs/reference/glib/tmpl/trees-nary.sgml +++ b/docs/reference/glib/tmpl/trees-nary.sgml @@ -527,6 +527,8 @@ Note that this function is not available if GLib has been compiled with +@dummy: + @allocator: the #GAllocator to use when allocating #GNode elements. diff --git a/docs/reference/glib/tmpl/unicode.sgml b/docs/reference/glib/tmpl/unicode.sgml index 5396f20..b7be4d2 100644 --- a/docs/reference/glib/tmpl/unicode.sgml +++ b/docs/reference/glib/tmpl/unicode.sgml @@ -320,12 +320,11 @@ See diff --git a/docs/reference/gobject/tmpl/generic_values.sgml b/docs/reference/gobject/tmpl/generic_values.sgml index 6f75c4b..10ddb6c 100644 --- a/docs/reference/gobject/tmpl/generic_values.sgml +++ b/docs/reference/gobject/tmpl/generic_values.sgml @@ -163,6 +163,7 @@ value_table's collect_value() function. @value: An initialized #GValue structure. +@instance: diff --git a/glib/glib.symbols b/glib/glib.symbols index abe997f..a920d03 100644 --- a/glib/glib.symbols +++ b/glib/glib.symbols @@ -465,8 +465,14 @@ g_list_length g_list_nth g_list_nth_data g_list_nth_prev +#ifndef G_DISABLE_DEPRECATED +g_list_pop_allocator +#endif g_list_position g_list_prepend +#ifndef G_DISABLE_DEPRECATED +g_list_push_allocator +#endif g_list_remove g_list_remove_all g_list_remove_link @@ -641,7 +647,13 @@ g_node_n_children g_node_new g_node_n_nodes g_node_nth_child +#ifndef G_DISABLE_DEPRECATED +g_node_pop_allocator +#endif g_node_prepend +#ifndef G_DISABLE_DEPRECATED +g_node_push_allocator +#endif g_node_reverse_children g_node_traverse g_node_unlink @@ -848,8 +860,14 @@ g_slist_last g_slist_length g_slist_nth g_slist_nth_data +#ifndef G_DISABLE_DEPRECATED +g_slist_pop_allocator +#endif g_slist_position g_slist_prepend +#ifndef G_DISABLE_DEPRECATED +g_slist_push_allocator +#endif g_slist_remove g_slist_remove_all g_slist_remove_link diff --git a/glib/gutf8.c b/glib/gutf8.c index 4f7d486..4067884 100644 --- a/glib/gutf8.c +++ b/glib/gutf8.c @@ -285,7 +285,9 @@ g_utf8_get_char (const gchar *p) * within the string. * * Since 2.10, this function allows to pass a negative @offset to - * step backwards. + * step backwards. It is usually worth stepping backwards from the end + * instead of forwards if @offset is in the last fourth of the string, + * since moving forward is about 3 times faster than moving backward. * * Return value: the resulting pointer **/ -- 2.7.4