svn path=/trunk/; revision=5419
This commit is contained in:
Matthias Clasen
2007-03-16 22:11:15 +00:00
parent c182fecfa1
commit 1cb4af3e96
100 changed files with 15413 additions and 13745 deletions

View File

@@ -1,3 +1,7 @@
2007-03-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.0 ===
Fri Mar 16 16:04:42 2007 Tim Janik <timj@gtk.org>
* glib/tmpl/scanner.sgml: some fixups, mention that changing scanner

View File

@@ -504,6 +504,8 @@ Flags which influence the parsing.
@key_file:
@group_name:
@key:
@list:
@length:
<!-- ##### FUNCTION g_key_file_set_locale_string_list ##### -->
@@ -515,6 +517,8 @@ Flags which influence the parsing.
@group_name:
@key:
@locale:
@list:
@length:
<!-- ##### FUNCTION g_key_file_set_boolean_list ##### -->

View File

@@ -337,7 +337,7 @@ Since: 2.6
<!-- ##### MACRO G_LIKELY ##### -->
<!-- ##### FUNCTION G_LIKELY ##### -->
<para>
Hints the compiler that the expression is likely to evaluate to a true
value. The compiler may use this information for optimizations.
@@ -347,8 +347,10 @@ if (G_LIKELY (random () != 1))
g_print ("not one");
</programlisting></informalexample>
@expr: the expression
@Returns:
@Since: 2.2
<!-- # Unused Parameters # -->
@expr: the expression
<!-- ##### MACRO G_UNLIKELY ##### -->

View File

@@ -716,8 +716,6 @@ you would use %G_IO_IN | %G_IO_HUP | %G_IO_ERR, and for writing you would use
</para>
@fd:
@events:
@revents:
<!-- ##### STRUCT GSource ##### -->

View File

@@ -116,38 +116,6 @@ A convenience function/macro to log a normal message.
@...: format string, followed by parameters to insert into the format string (as with printf())
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
<!-- ##### MACRO g_warning ##### -->
<para>
@@ -161,38 +129,6 @@ variable (see <ulink url="glib-running.html">Running GLib Applications</ulink>).
@...: format string, followed by parameters to insert into the format string (as with printf())
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
<!-- ##### MACRO g_critical ##### -->
<para>
@@ -211,38 +147,6 @@ the %G_DEBUG environment variable (see
@...: format string, followed by parameters to insert into the format string (as with printf())
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
<!-- ##### MACRO g_error ##### -->
<para>
@@ -256,38 +160,6 @@ assertion failure.
@...: format string, followed by parameters to insert into the format string (as with printf())
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
<!-- ##### MACRO g_debug ##### -->
<para>
@@ -295,38 +167,6 @@ A convenience function/macro to log a debug message.
</para>
@...: format string, followed by parameters to insert into the format string (as with printf())
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@...:
@Since: 2.6

View File

@@ -222,6 +222,14 @@ If you pass %NULL then the default settings are used.
@Returns: the new #GScanner.
<!-- ##### FUNCTION g_scanner_destroy ##### -->
<para>
Frees all memory used by the #GScanner.
</para>
@scanner: a #GScanner.
<!-- ##### FUNCTION g_scanner_input_file ##### -->
<para>
Prepares to scan a file.
@@ -290,6 +298,15 @@ The token data is placed in the
@Returns: the type of the token.
<!-- ##### FUNCTION g_scanner_eof ##### -->
<para>
Returns %TRUE if the scanner has reached the end of the file or text buffer.
</para>
@scanner: a #GScanner.
@Returns: %TRUE if the scanner has reached the end of the file or text buffer.
<!-- ##### FUNCTION g_scanner_cur_line ##### -->
<para>
Returns the current line in the input stream (counting from 1).
@@ -332,15 +349,6 @@ structure.
@Returns: the current token value.
<!-- ##### FUNCTION g_scanner_eof ##### -->
<para>
Returns %TRUE if the scanner has reached the end of the file or text buffer.
</para>
@scanner: a #GScanner.
@Returns: %TRUE if the scanner has reached the end of the file or text buffer.
<!-- ##### FUNCTION g_scanner_set_scope ##### -->
<para>
Sets the current scope.
@@ -398,6 +406,38 @@ Removes a symbol from a scope.
@symbol: the symbol to remove.
<!-- ##### MACRO g_scanner_add_symbol ##### -->
<para>
Adds a symbol to the default scope.
</para>
@scanner: a #GScanner.
@symbol: the symbol to add.
@value: the value of the symbol.
@Deprecated: 2.2: Use g_scanner_scope_add_symbol() instead.
<!-- ##### MACRO g_scanner_remove_symbol ##### -->
<para>
Removes a symbol from the default scope.
</para>
@scanner: a #GScanner.
@symbol: the symbol to remove.
@Deprecated: 2.2: Use g_scanner_scope_remove_symbol() instead.
<!-- ##### MACRO g_scanner_foreach_symbol ##### -->
<para>
Calls a function for each symbol in the default scope.
</para>
@scanner: a #GScanner.
@func: the function to call with each symbol.
@data: data to pass to the function.
@Deprecated: 2.2: Use g_scanner_scope_foreach_symbol() instead.
<!-- ##### MACRO g_scanner_freeze_symbol_table ##### -->
<para>
There is no reason to use this macro, since it does nothing.
@@ -489,45 +529,6 @@ Specifies the type of the message handler function.
signals a warning.
<!-- ##### FUNCTION g_scanner_destroy ##### -->
<para>
Frees all memory used by the #GScanner.
</para>
@scanner: a #GScanner.
<!-- ##### ENUM GTokenType ##### -->
<para>
The possible types of token returned from each g_scanner_get_next_token() call.
</para>
@G_TOKEN_EOF: the end of the file.
@G_TOKEN_LEFT_PAREN: a '(' character.
@G_TOKEN_LEFT_CURLY: a '{' character.
@G_TOKEN_RIGHT_CURLY: a '}' character.
<!-- ##### UNION GTokenValue ##### -->
<para>
A union holding the value of the token.
</para>
<!-- ##### ENUM GErrorType ##### -->
<para>
The possible errors, used in the <structfield>v_error</structfield> field
of #GTokenValue, when the token is a #G_TOKEN_ERROR.
</para>
@G_ERR_UNKNOWN: unknown error.
@G_ERR_UNEXP_EOF: unexpected end of file.
@G_ERR_UNEXP_EOF_IN_STRING: unterminated string constant.
@G_ERR_UNEXP_EOF_IN_COMMENT: unterminated comment.
@G_ERR_NON_DIGIT_IN_CONST: non-digit character in a number.
@G_ERR_DIGIT_RADIX: digit beyond radix in a number.
@G_ERR_FLOAT_RADIX: non-decimal floating point number.
@G_ERR_FLOAT_MALFORMED: malformed floating point number.
<!-- ##### MACRO G_CSET_a_2_z ##### -->
<para>
The set of lowercase ASCII alphabet characters.
@@ -570,35 +571,34 @@ Used for specifying valid identifier characters in #GScannerConfig.
<!-- ##### MACRO g_scanner_add_symbol ##### -->
<!-- ##### ENUM GTokenType ##### -->
<para>
Adds a symbol to the default scope.
The possible types of token returned from each g_scanner_get_next_token() call.
</para>
@scanner: a #GScanner.
@symbol: the symbol to add.
@value: the value of the symbol.
@Deprecated: 2.2: Use g_scanner_scope_add_symbol() instead.
@G_TOKEN_EOF: the end of the file.
@G_TOKEN_LEFT_PAREN: a '(' character.
@G_TOKEN_LEFT_CURLY: a '{' character.
@G_TOKEN_RIGHT_CURLY: a '}' character.
<!-- ##### MACRO g_scanner_remove_symbol ##### -->
<!-- ##### UNION GTokenValue ##### -->
<para>
Removes a symbol from the default scope.
A union holding the value of the token.
</para>
@scanner: a #GScanner.
@symbol: the symbol to remove.
@Deprecated: 2.2: Use g_scanner_scope_remove_symbol() instead.
<!-- ##### MACRO g_scanner_foreach_symbol ##### -->
<!-- ##### ENUM GErrorType ##### -->
<para>
Calls a function for each symbol in the default scope.
The possible errors, used in the <structfield>v_error</structfield> field
of #GTokenValue, when the token is a #G_TOKEN_ERROR.
</para>
@scanner: a #GScanner.
@func: the function to call with each symbol.
@data: data to pass to the function.
@Deprecated: 2.2: Use g_scanner_scope_foreach_symbol() instead.
@G_ERR_UNKNOWN: unknown error.
@G_ERR_UNEXP_EOF: unexpected end of file.
@G_ERR_UNEXP_EOF_IN_STRING: unterminated string constant.
@G_ERR_UNEXP_EOF_IN_COMMENT: unterminated comment.
@G_ERR_NON_DIGIT_IN_CONST: non-digit character in a number.
@G_ERR_DIGIT_RADIX: digit beyond radix in a number.
@G_ERR_FLOAT_RADIX: non-decimal floating point number.
@G_ERR_FLOAT_MALFORMED: malformed floating point number.

View File

@@ -53,7 +53,6 @@ it. The only operation that will invalidate an iterator is when the
element it points to is removed from any sequence.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>

View File

@@ -179,12 +179,14 @@ Values of this type can range from -9,223,372,036,854,775,808 to
</para>
<!-- ##### TYPEDEF guint64 ##### -->
<!-- ##### FUNCTION guint64 ##### -->
<para>
An unsigned integer guaranteed to be 64 bits on all platforms.
Values of this type can range from 0 to 18,446,744,073,709,551,615.
</para>
@Returns:
<!-- ##### MACRO G_GINT64_CONSTANT ##### -->
<para>

View File

@@ -415,6 +415,7 @@ GParamSpec
GParamSpecClass
GParamFlags
G_PARAM_READWRITE
G_PARAM_STATIC_STRINGS
G_PARAM_MASK
G_PARAM_USER_SHIFT
g_param_spec_ref

View File

@@ -149,11 +149,6 @@ can be configured.
parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter.
Since 2.8
@G_PARAM_PRIVATE:
@G_PARAM_STATIC_NICK: the string used as nick when constructing the
parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter.
Since 2.8
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter.