+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c:
+ * glib/gutils.c:
+ * glib/gtree.c:
+ * glib/gstring.c:
+ * glib/giochannel.c:
+ * glib/gstrfuncs.c: Add versioned deprecation docs.
+
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c:
+ * glib/gutils.c:
+ * glib/gtree.c:
+ * glib/gstring.c:
+ * glib/giochannel.c:
+ * glib/gstrfuncs.c: Add versioned deprecation docs.
+
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c:
+ * glib/gutils.c:
+ * glib/gtree.c:
+ * glib/gstring.c:
+ * glib/giochannel.c:
+ * glib/gstrfuncs.c: Add versioned deprecation docs.
+
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/tmpl/trees-nary.sgml:
+ * glib/tmpl/linked_lists_single.sgml:
+ * glib/tmpl/linked_lists_double.sgml:
+ * glib/tmpl/caches.sgml:
+ * glib/tmpl/strings.sgml:
+ * glib/tmpl/scanner.sgml:
+ * glib/tmpl/main.sgml: Add versioned deprecation.
+
Mon Dec 5 15:53:37 2005 Tim Janik <timj@imendio.com>
* glib/tmpl/memory_slices.sgml: updates to new g_slice API
@cache: a #GCache.
@func: the function to call with each #GCache value.
@user_data: user data to pass to the function.
-@Deprecated: Since it passes pointers to internal data structures
-to @func; use g_cache_key_foreach() instead
+@Deprecated:2.10: The reason is that it passes pointers to internal data
+structures to @func; use g_cache_key_foreach() instead
<!-- ##### USER_FUNCTION GCacheDestroyFunc ##### -->
</para>
@allocator: the #GAllocator to use when allocating #GList elements.
-@Deprecated: Since 2.10, it does nothing, since #GList has been
+@Deprecated:2.10: It does nothing, since #GList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
with <option>--disable-mem-pools</option>
</para>
-@Deprecated: Since 2.10, it does nothing, since #GList has been
+@Deprecated:2.10: It does nothing, since #GList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
-
</para>
@dummy: the #GAllocator to use when allocating #GSList elements.
-@Deprecated: Since 2.10, it does nothing, since #GSList has been
+@Deprecated:2.10: It does nothing, since #GSList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
with <option>--disable-mem-pools</option>
</para>
-@Deprecated: Since 2.10, it does nothing, since #GSList has been
+@Deprecated:2.10: It does nothing, since #GSList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
-
@is_running: set to %TRUE to indicate that the loop is running. This is not
very important since calling g_main_run() will set this to %TRUE anyway.
@Returns: a new #GMainLoop.
-@Deprecated: Use g_main_loop_new() instead.
+@Deprecated:2.2: Use g_main_loop_new() instead.
<!-- ##### MACRO g_main_destroy ##### -->
</para>
@loop: a #GMainLoop.
-@Deprecated: Use g_main_loop_unref() instead.
+@Deprecated:2.2: Use g_main_loop_unref() instead.
<!-- ##### MACRO g_main_run ##### -->
</para>
@loop: a #GMainLoop.
-@Deprecated: Use g_main_loop_run() instead.
+@Deprecated:2.2: Use g_main_loop_run() instead.
<!-- ##### MACRO g_main_quit ##### -->
</para>
@loop: a #GMainLoop.
-@Deprecated: Use g_main_loop_quit() instead.
+@Deprecated:2.2: Use g_main_loop_quit() instead.
<!-- ##### MACRO g_main_is_running ##### -->
@loop: a #GMainLoop.
@Returns: %TRUE if the main loop is running.
-@Deprecated: USe g_main_loop_is_running() instead.
+@Deprecated:2.2: USe g_main_loop_is_running() instead.
<!-- ##### MACRO G_PRIORITY_HIGH ##### -->
If set to %FALSE it will return immediately if no event source is ready to be
processed.
@Returns: %TRUE if more events are pending.
-@Deprecated: Use g_main_context_iteration() instead.
+@Deprecated:2.2: Use g_main_context_iteration() instead.
<!-- ##### FUNCTION g_main_context_pending ##### -->
</para>
@Returns: %TRUE if any events are pending.
-@Deprecated: Use g_main_context_pending() instead.
+@Deprecated:2.2: Use g_main_context_pending() instead.
<!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
</para>
@func: the function to call to poll all file descriptors.
-@Deprecated: Use g_main_context_set_poll_func() instead.
+@Deprecated:2.2: Use g_main_context_set_poll_func() instead.
<!-- ##### FUNCTION g_timeout_source_new ##### -->
<!-- ##### MACRO g_scanner_freeze_symbol_table ##### -->
<para>
-This function is deprecated and will be removed in the next major
-release of GLib. It does nothing.
</para>
@scanner: a #GScanner.
+@Deprecated:2.2: This macro does nothing.
<!-- ##### MACRO g_scanner_thaw_symbol_table ##### -->
<para>
-This function is deprecated and will be removed in the next major
-release of GLib. It does nothing.
</para>
@scanner: a #GScanner.
+@Deprecated:2.2: This macro does nothing.
<!-- ##### FUNCTION g_scanner_lookup_symbol ##### -->
@scanner: a #GScanner.
@symbol: the symbol to add.
@value: the value of the symbol.
-@Deprecated: Use g_scanner_scope_add_symbol() instead.
+@Deprecated:2.2: Use g_scanner_scope_add_symbol() instead.
<!-- ##### MACRO g_scanner_remove_symbol ##### -->
@scanner: a #GScanner.
@symbol: the symbol to remove.
-@Deprecated: Use g_scanner_scope_remove_symbol() instead.
+@Deprecated:2.2: Use g_scanner_scope_remove_symbol() instead.
<!-- ##### MACRO g_scanner_foreach_symbol ##### -->
@scanner: a #GScanner.
@func: the function to call with each symbol.
@data: data to pass to the function.
-@Deprecated: Use g_scanner_scope_foreach_symbol() instead.
+@Deprecated:2.2: Use g_scanner_scope_foreach_symbol() instead.
</para>
@dummy: the #GAllocator to use when allocating #GNode elements.
-@Deprecated: Since 2.10, it does nothing, since #GNode has been
-converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated:2.10: It does nothing, since #GNode has been converted
+ to the <link linkend="glib-Memory-Slices">slice allocator</link>
<!-- ##### FUNCTION g_node_pop_allocator ##### -->
with <option>--disable-mem-pools</option>
</para>
-@Deprecated: Since 2.10, it does nothing, since #GNode has been
-converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated:2.10: It does nothing, since #GNode has been converted
+ to the <link linkend="glib-Memory-Slices">slice allocator</link>
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: duplicated unowned string to be set
-@Deprecated: Use g_value_take_string() instead.
+@Deprecated:2.4: Use g_value_take_string() instead.
<!-- ##### FUNCTION g_value_get_string ##### -->
@value: a valid #GValue of type %G_TYPE_PARAM
@param: the #GParamSpec to be set
-@Deprecated: Use g_value_take_param() instead.
+@Deprecated:2.4: Use g_value_take_param() instead.
<!-- ##### FUNCTION g_value_get_param ##### -->
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: duplicated unowned boxed value to be set
-@Deprecated: Use g_value_take_boxed() instead.
+@Deprecated:2.4: Use g_value_take_boxed() instead.
<!-- ##### FUNCTION g_value_get_boxed ##### -->
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@v_object: object value to be set
-@Deprecated: Use g_value_take_object() instead.
+@Deprecated:2.4: Use g_value_take_object() instead.
<!-- ##### FUNCTION g_value_get_object ##### -->
*
* Sets the value of a date from a #GTime value.
*
- * @Deprecated: Use g_date_set_time_t() instead.
+ * @Deprecated:2.10: Use g_date_set_time_t() instead.
*/
void
g_date_set_time (GDate *date,
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
- * Deprecated: Use g_io_channel_read_chars() instead.
+ * Deprecated:2.2: Use g_io_channel_read_chars() instead.
**/
GIOError
g_io_channel_read (GIOChannel *channel,
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
- * Deprecated: Use g_io_channel_write_chars() instead.
+ * Deprecated:2.2: Use g_io_channel_write_chars() instead.
**/
GIOError
g_io_channel_write (GIOChannel *channel,
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
- * Deprecated: Use g_io_channel_seek_position() instead.
+ * Deprecated:2.2: Use g_io_channel_seek_position() instead.
**/
GIOError
g_io_channel_seek (GIOChannel *channel,
* flushed, ignoring errors. The channel will not be freed until the
* last reference is dropped using g_io_channel_unref().
*
- * Deprecated: Use g_io_channel_shutdown() instead.
+ * Deprecated:2.2: Use g_io_channel_shutdown() instead.
**/
void
g_io_channel_close (GIOChannel *channel)
*
* Return value: the string
*
- * Deprecated: This function is totally broken for the reasons discussed in
- * the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown()
+ * Deprecated:2.2: This function is totally broken for the reasons discussed
+ * in the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown()
* instead.
**/
gchar*
*
* Return value: the string
*
- * Deprecated: This function is totally broken for the reasons discussed in
- * the g_strncasecmp() docs - use g_ascii_strup() or g_utf8_strup() instead.
+ * Deprecated:2.2: This function is totally broken for the reasons discussed
+ * in the g_strncasecmp() docs - use g_ascii_strup() or g_utf8_strup() instead.
**/
gchar*
g_strup (gchar *string)
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
* or a positive value if @s1 > @s2.
*
- * Deprecated: See g_strncasecmp() for a discussion of why this function is
- * deprecated and how to replace it.
+ * Deprecated:2.2: See g_strncasecmp() for a discussion of why this function
+ * is deprecated and how to replace it.
**/
gint
g_strcasecmp (const gchar *s1,
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
* or a positive value if @s1 > @s2.
*
- * Deprecated: The problem with g_strncasecmp() is that it does the
+ * Deprecated:2.2: The problem with g_strncasecmp() is that it does the
* comparison by calling toupper()/tolower(). These functions are
* locale-specific and operate on single bytes. However, it is impossible
* to handle things correctly from an I18N standpoint by operating on
*
* Returns: the #GString.
*
- * Deprecated: This function uses the locale-specific tolower() function,
+ * Deprecated:2.2: This function uses the locale-specific tolower() function,
* which is almost never the right thing. Use g_string_ascii_down() or
* g_utf8_strdown() instead.
*/
*
* Return value: the #GString
*
- * Deprecated: This function uses the locale-specific toupper() function,
+ * Deprecated:2.2: This function uses the locale-specific toupper() function,
* which is almost never the right thing. Use g_string_ascii_up() or
* g_utf8_strup() instead.
**/
*
* Calls the given function for each node in the #GTree.
*
- * Deprecated: The order of a balanced tree is somewhat arbitrary. If you
+ * Deprecated:2.2: The order of a balanced tree is somewhat arbitrary. If you
* just want to visit all nodes in sorted order, use g_tree_foreach()
* instead. If you really need to visit nodes in a different order, consider
* using an <link linkend="glib-N-ary-Trees">N-ary Tree</link>.
*
* Return value: the name of the file without any leading directory components.
*
- * Deprecated: Use g_path_get_basename() instead, but notice that
+ * Deprecated:2.2: Use g_path_get_basename() instead, but notice that
* g_path_get_basename() allocates new memory for the returned string, unlike
* this function which returns a pointer into the argument.
**/