You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/06/09 14:21:41 UTC

svn commit: r1133820 - in /subversion/trunk/subversion: include/private/svn_cache.h include/private/svn_temp_serializer.h include/svn_delta.h include/svn_hash.h include/svn_ra_svn.h include/svn_repos.h include/svn_string.h libsvn_fs_fs/temp_serializer.h

Author: julianfoad
Date: Thu Jun  9 12:21:40 2011
New Revision: 1133820

URL: http://svn.apache.org/viewvc?rev=1133820&view=rev
Log:
Doxygen mark-up tweaks: instead of @ref, use # to refer to a structure or
trailing () to refer to a function.

Modified:
    subversion/trunk/subversion/include/private/svn_cache.h
    subversion/trunk/subversion/include/private/svn_temp_serializer.h
    subversion/trunk/subversion/include/svn_delta.h
    subversion/trunk/subversion/include/svn_hash.h
    subversion/trunk/subversion/include/svn_ra_svn.h
    subversion/trunk/subversion/include/svn_repos.h
    subversion/trunk/subversion/include/svn_string.h
    subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.h

Modified: subversion/trunk/subversion/include/private/svn_cache.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_cache.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_cache.h (original)
+++ subversion/trunk/subversion/include/private/svn_cache.h Thu Jun  9 12:21:40 2011
@@ -122,7 +122,7 @@ typedef struct svn_cache__t svn_cache__t
 
 /**
  * A structure containing typical statistics about a given cache instance.
- * Use @ref svn_cache__get_info to get this data. Note that not all types
+ * Use svn_cache__get_info() to get this data. Note that not all types
  * of caches will be able to report complete and correct information.
  */
 typedef struct svn_cache__info_t
@@ -132,7 +132,7 @@ typedef struct svn_cache__info_t
    */
   const char* id;
 
-  /** Number of getter calls (@ref svn_cache__get or @ref svn_cache__get).
+  /** Number of getter calls (svn_cache__get() or svn_cache__get()).
    */
   apr_uint64_t gets;
 
@@ -140,7 +140,7 @@ typedef struct svn_cache__info_t
    */
   apr_uint64_t hits;
 
-  /** Number of setter calls (@ref svn_cache__set).
+  /** Number of setter calls (svn_cache__set()).
    */
   apr_uint64_t sets;
 
@@ -193,7 +193,7 @@ typedef struct svn_cache__info_t
  * If @a thread_safe is true, and APR is compiled with threads, all
  * accesses to the cache will be protected with a mutex. The @a id
  * is a purely user-visible information that will allow coders to
- * identify this cache instance in a @ref svn_cache__info_t struct.
+ * identify this cache instance in a #svn_cache__info_t struct.
  * It does not influence the behavior of the cache itself.
  *
  * Note that NULL is a legitimate value for cache entries (and 
@@ -326,7 +326,7 @@ svn_cache__set_error_handler(svn_cache__
 
 /**
  * Returns @c TRUE if the @a cache supports objects of the given @a size.
- * There is no guarantee, that @ref svn_cache__set will actually store the
+ * There is no guarantee, that svn_cache__set() will actually store the
  * respective object in that case. However, a @c FALSE return value indicates
  * that an attempt to cache the item will either fail or impair the overall
  * cache performance. @c FALSE will also be returned if @a cache is @c NULL.
@@ -397,7 +397,7 @@ svn_cache__iter(svn_boolean_t *completed
                 apr_pool_t *scratch_pool);
 
 /**
- * Similar to @ref svn_cache__set but will call a specific de-serialization
+ * Similar to svn_cache__set() but will call a specific de-serialization
  * function @a func. @a found will be set depending on whether the @a key
  * has been found. Even if that reports @c TRUE, @a values may still return
  * a @c NULL pointer depending on the logic inside @a func.

Modified: subversion/trunk/subversion/include/private/svn_temp_serializer.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_temp_serializer.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_temp_serializer.h (original)
+++ subversion/trunk/subversion/include/private/svn_temp_serializer.h Thu Jun  9 12:21:40 2011
@@ -54,10 +54,10 @@ typedef struct svn_temp_serializer__cont
  * we can't determine the structure size as part of the function.
  *
  * It is possible to specify a @c NULL source_struct in which case the first
- * call to @ref svn_temp_serializer__push will provide the root struct.
- * Alternatively, one may even call @ref svn_temp_serializer__add_string
+ * call to svn_temp_serializer__push() will provide the root struct.
+ * Alternatively, one may even call svn_temp_serializer__add_string()
  * but there is generally no point in doing so because the result will be
- * simple string object in a @ref svn_stringbuf_t.
+ * simple string object in a #svn_stringbuf_t.
  *
  * You may suggest a larger initial buffer size in @a suggested_buffer_size
  * to minimize the number of internal buffer re-allocations during the
@@ -80,7 +80,7 @@ svn_temp_serializer__init(const void *so
  * Continue the serialization process of the @a source_struct that has
  * already been serialized to @a buffer but contains references to new
  * objects yet to serialize. I.e. this function allows you to append
- * data to serialized structures returned by @ref svn_temp_serializer__get.
+ * data to serialized structures returned by svn_temp_serializer__get().
  *
  * The current size of the serialized data is given in @a currently_used.
  * If the allocated data buffer is actually larger, you may specifiy that
@@ -91,7 +91,7 @@ svn_temp_serializer__init(const void *so
  *
  * Please note that only sub-structures of @a source_struct may be added.
  * To add item referenced from other parts of the buffer, serialize from
- * @a source_struct first, get the result from @ref svn_temp_serializer__get
+ * @a source_struct first, get the result from svn_temp_serializer__get()
  * and call svn_temp_serializer__init_append for the next part.
  *
  * @return the serization context.
@@ -110,14 +110,14 @@ svn_temp_serializer__init_append(void *b
  * the serialized structure can be established. @a struct_size must match
  * the result of @c sizeof() of the actual structure.
  *
- * Only in case that @ref svn_temp_serializer__init has not been provided
+ * Only in case that svn_temp_serializer__init() has not been provided
  * with a root structure and this is the first call after the initialization,
  * @a source_struct will point to a reference to the root structure instead
  * of being related to some other. 
  *
  * Sub-structures and strings will be added in a FIFO fashion. If you need
- * add further sub-structures on the same level, you need to call @ref
- * svn_serializer__pop to realign the serialization context.
+ * add further sub-structures on the same level, you need to call
+ * svn_serializer__pop() to realign the serialization context.
  */
 void
 svn_temp_serializer__push(svn_temp_serializer__context_t *context,
@@ -141,7 +141,7 @@ svn_temp_serializer__pop(svn_temp_serial
  * pointer in the original structure so that the correspondence in the
  * serialized structure can be established.
  *
- * Only in case that @ref svn_temp_serializer__init has not been provided
+ * Only in case that svn_temp_serializer__init() has not been provided
  * with a root structure and this is the first call after the initialization,
  * @a s will not be related to some struct.
  */
@@ -186,7 +186,7 @@ void
 svn_temp_deserializer__resolve(void *buffer, void **ptr);
 
 /**
- * Similar to @ref svn_temp_deserializer__resolve but instead of modifying
+ * Similar to svn_temp_deserializer__resolve() but instead of modifying
  * the buffer content, the resulting pointer is passed back to the caller
  * a the return value.
  */

Modified: subversion/trunk/subversion/include/svn_delta.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_delta.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_delta.h (original)
+++ subversion/trunk/subversion/include/svn_delta.h Thu Jun  9 12:21:40 2011
@@ -486,8 +486,8 @@ svn_txdelta_to_svndiff3(svn_txdelta_wind
                         int compression_level,
                         apr_pool_t *pool);
 
-/** Similar to svn_txdelta_to_svndiff3, but always using the SVN default
- * compression level (@ref SVN_DEFAULT_COMPRESSION_LEVEL).
+/** Similar to svn_txdelta_to_svndiff3(), but always using the SVN default
+ * compression level (#SVN_DEFAULT_COMPRESSION_LEVEL).
  *
  * @since New in 1.4.
  * @deprecated Provided for backward compatibility with the 1.6 API.

Modified: subversion/trunk/subversion/include/svn_hash.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_hash.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_hash.h (original)
+++ subversion/trunk/subversion/include/svn_hash.h Thu Jun  9 12:21:40 2011
@@ -269,7 +269,7 @@ svn_hash_get_cstring(apr_hash_t *hash,
                      const char *key,
                      const char *default_value);
 
-/** Like @ref svn_hash_get_cstring, but for boolean values.
+/** Like svn_hash_get_cstring(), but for boolean values.
  *
  * Parses the value as a boolean value. The recognized representations
  * are 'TRUE'/'FALSE', 'yes'/'no', 'on'/'off', '1'/'0'; case does not

Modified: subversion/trunk/subversion/include/svn_ra_svn.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_ra_svn.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_ra_svn.h (original)
+++ subversion/trunk/subversion/include/svn_ra_svn.h Thu Jun  9 12:21:40 2011
@@ -173,8 +173,8 @@ svn_ra_svn_create_conn2(apr_socket_t *so
                         int compression_level,
                         apr_pool_t *pool);
 
-/** Similar to @ref svn_ra_svn_create_conn2() but uses default
- * compression level (@ref SVN_DEFAULT_COMPRESSION_LEVEL) for network
+/** Similar to svn_ra_svn_create_conn2() but uses default
+ * compression level (#SVN_DEFAULT_COMPRESSION_LEVEL) for network
  * transmissions.
  * 
  * @deprecated Provided for backward compatibility with the 1.6 API.

Modified: subversion/trunk/subversion/include/svn_repos.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_repos.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_repos.h (original)
+++ subversion/trunk/subversion/include/svn_repos.h Thu Jun  9 12:21:40 2011
@@ -344,7 +344,7 @@ svn_repos_open2(svn_repos_t **repos_p,
                 apr_hash_t *fs_config,
                 apr_pool_t *pool);
 
-/** Similar to @ref svn_repos_open2 with @a fs_config set to NULL.
+/** Similar to svn_repos_open2() with @a fs_config set to NULL.
  * 
  * @deprecated Provided for backward compatibility with 1.6 API.
  */

Modified: subversion/trunk/subversion/include/svn_string.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_string.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_string.h (original)
+++ subversion/trunk/subversion/include/svn_string.h Thu Jun  9 12:21:40 2011
@@ -252,7 +252,7 @@ void
 svn_stringbuf_fillchar(svn_stringbuf_t *str, unsigned char c);
 
 /** Append a single character @a byte onto @a targetstr.
- * This is an optimized version of @ref svn_stringbuf_appendbytes
+ * This is an optimized version of svn_stringbuf_appendbytes()
  * that is much faster to call and execute. Gains vary with the ABI.
  * The advantages extend beyond the actual call because the reduced
  * register pressure allows for more optimization within the caller.

Modified: subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.h?rev=1133820&r1=1133819&r2=1133820&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.h (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.h Thu Jun  9 12:21:40 2011
@@ -60,7 +60,7 @@ svn_fs_fs__noderev_deserialize(void *buf
                                node_revision_t **noderev_p);
 
 /**
- * @ref svn_txdelta_window_t is not sufficient for caching the data it
+ * #svn_txdelta_window_t is not sufficient for caching the data it
  * represents because data read process needs auxilliary information.
  */
 typedef struct
@@ -73,8 +73,8 @@ typedef struct
 } svn_fs_fs__txdelta_cached_window_t;
 
 /**
- * Implements @ref svn_cache__serialize_func_t for
- * @ref svn_fs_fs__txdelta_cached_window_t.
+ * Implements #svn_cache__serialize_func_t for
+ * #svn_fs_fs__txdelta_cached_window_t.
  */
 svn_error_t *
 svn_fs_fs__serialize_txdelta_window(char **buffer,
@@ -83,8 +83,8 @@ svn_fs_fs__serialize_txdelta_window(char
                                     apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__deserialize_func_t for
- * @ref svn_fs_fs__txdelta_cached_window_t.
+ * Implements #svn_cache__deserialize_func_t for
+ * #svn_fs_fs__txdelta_cached_window_t.
  */
 svn_error_t *
 svn_fs_fs__deserialize_txdelta_window(void **item,
@@ -93,7 +93,7 @@ svn_fs_fs__deserialize_txdelta_window(vo
                                       apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__serialize_func_t for manifests
+ * Implements #svn_cache__serialize_func_t for manifests
  * (@a apr_array_header_t).
  */
 svn_error_t *
@@ -103,7 +103,7 @@ svn_fs_fs__serialize_manifest(char **dat
                               apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__deserialize_func_t for manifests
+ * Implements #svn_cache__deserialize_func_t for manifests
  * (@a apr_array_header_t).
  */
 svn_error_t *
@@ -113,7 +113,7 @@ svn_fs_fs__deserialize_manifest(void **o
                                 apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__serialize_func_t for @ref svn_fs_id_t
+ * Implements #svn_cache__serialize_func_t for #svn_fs_id_t
  */
 svn_error_t *
 svn_fs_fs__serialize_id(char **data,
@@ -122,7 +122,7 @@ svn_fs_fs__serialize_id(char **data,
                         apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__deserialize_func_t for @ref svn_fs_id_t
+ * Implements #svn_cache__deserialize_func_t for #svn_fs_id_t
  */
 svn_error_t *
 svn_fs_fs__deserialize_id(void **out,
@@ -131,7 +131,7 @@ svn_fs_fs__deserialize_id(void **out,
                           apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__serialize_func_t for @ref node_revision_t
+ * Implements #svn_cache__serialize_func_t for #node_revision_t
  */
 svn_error_t *
 svn_fs_fs__serialize_node_revision(char **buffer,
@@ -140,7 +140,7 @@ svn_fs_fs__serialize_node_revision(char 
                                    apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__deserialize_func_t for @ref node_revision_t
+ * Implements #svn_cache__deserialize_func_t for #node_revision_t
  */
 svn_error_t *
 svn_fs_fs__deserialize_node_revision(void **item,
@@ -149,7 +149,7 @@ svn_fs_fs__deserialize_node_revision(voi
                                      apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__serialize_func_t for a directory contents hash
+ * Implements #svn_cache__serialize_func_t for a directory contents hash
  */
 svn_error_t *
 svn_fs_fs__serialize_dir_entries(char **data,
@@ -158,7 +158,7 @@ svn_fs_fs__serialize_dir_entries(char **
                                  apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__deserialize_func_t for a directory contents hash
+ * Implements #svn_cache__deserialize_func_t for a directory contents hash
  */
 svn_error_t *
 svn_fs_fs__deserialize_dir_entries(void **out,
@@ -167,7 +167,7 @@ svn_fs_fs__deserialize_dir_entries(void 
                                    apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__partial_getter_func_t for a single element
+ * Implements #svn_cache__partial_getter_func_t for a single element
  * identified by its offset in @a baton within a serialized manifest array.
  */
 svn_error_t *
@@ -178,8 +178,8 @@ svn_fs_fs__get_sharded_offset(void **out
                               apr_pool_t *pool);
 
 /**
- * Implements @ref svn_cache__partial_getter_func_t for a single 
- * @ref svn_fs_dirent_t within a serialized directory contents hash,
+ * Implements #svn_cache__partial_getter_func_t for a single 
+ * #svn_fs_dirent_t within a serialized directory contents hash,
  * identified by its name in @a baton.
  */
 svn_error_t *
@@ -205,9 +205,9 @@ typedef struct replace_baton_t
 } replace_baton_t;
 
 /**
- * Implements @ref svn_cache__partial_setter_func_t for a single
- * @ref svn_fs_dirent_t within a serialized directory contents hash,
- * identified by its name in the @ref replace_baton_t in @a baton.
+ * Implements #svn_cache__partial_setter_func_t for a single
+ * #svn_fs_dirent_t within a serialized directory contents hash,
+ * identified by its name in the #replace_baton_t in @a baton.
  */
 svn_error_t *
 svn_fs_fs__replace_dir_entry(char **data,