/[Apache-SVN]
ViewVC logotype

Revision 1548823


Jump to revision: Previous Next
Author: stefan2
Date: Sat Dec 7 09:30:42 2013 UTC (10 years, 4 months ago)
Changed paths: 5
Log Message:
Add a pool member to the internal representation of FSX IDs and
thus allow the ID vtable functions to perform actual data lookups
in the future.  The pool is the one used to allocate the ID.

This is a first step towards making FSX IDs leaner and smarter.  

* subversion/libsvn_fs_x/id.h
  (svn_fs_x__id_deserialize):  Add POOL parameter that is already
                               available to calling functions.

* subversion/libsvn_fs_x/id.c
  (fs_x__id_t): Extend internal ID representation.
  (svn_fs_x__id_eq): Adjust the amount of data to compare.
  (svn_fs_x__id_txn_create_root,
   svn_fs_x__id_create_root,
   svn_fs_x__id_txn_create,
   svn_fs_x__id_rev_create): Initialize the new struct member.
  (svn_fs_x__id_copy): Ditto, plus use a more efficient duplication func.
  (svn_fs_x__id_parse,
   svn_fs_x__id_deserialize): Initialize the new struct member.

* subversion/libsvn_fs_x/temp_serializer.h
  (svn_fs_x__noderev_deserialize): Add POOL parameter as pass-through.

* subversion/libsvn_fs_x/temp_serializer.c
  (deserialize_dir,
   svn_fs_x__noderev_deserialize,
   svn_fs_x__deserialize_id,
   svn_fs_x__deserialize_node_revision,
   svn_fs_x__extract_dir_entry,
   deserialize_change,
   svn_fs_x__deserialize_changes): Provide everyone who needs it with
                                   a POOL parameter.

* subversion/libsvn_fs_x/dag.c
  (svn_fs_x__dag_deserialize): Update API caller.

Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_x/dag.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_x/id.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_x/id.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_x/temp_serializer.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_x/temp_serializer.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26