Checkout Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve some doc strings in libsvn_fs_base.

* subversion/libsvn_fs_base/dag.c

(svn_fs_base__dag_delete_if_mutable): Tweak a comment.

* subversion/libsvn_fs_base/dag.h

(svn_fs_base__dag_delete, svn_fs_base__dag_remove_node,

svn_fs_base__dag_delete_if_mutable): Clarify that node-origins

records may also be deleted.

* subversion/libsvn_fs_base/node-rev.h

(svn_fs_base__delete_node_revision): Fix a typo.

* subversion/libsvn_fs_base/util/fs_skels.h

Tweak doc strings of all functions to clarify that they set the output

parameter to point to a newly allocated object.

  1. … 3 more files in changeset.
Test out my new and fancy ASF commit priviledges by changing the copyright

wording in our license headers to reflect ownership by the ASF.

* NOTICE:

Change terminology to ASF, and update a link.

* subversion/libsvn_subr/opt.c

(svn_opt__print_version_info): Note that the product as a whole is

copyrighted by the ASF, and update the project website.

* everywhere:

Change license text to reflect ASF ownership.

  1. … 891 more files in changeset.
Relicense Subversion under the Apache License, Version 2.0.

* NOTICE: New.

* LICENSE: New.

* COPYING,

subversion/LICENSE: Remove.

* subversion/libsvn_subr/opt.c

(svn_opt__print_version_info): Note that the product as a whole is

copyrighted by the SVN Corp, and that it contains contributions from

many people, as referenced in NOTICE.

* subversion/bindings/swig/python/LICENSE_FOR_PYTHON_BINDINGS:

Relicense the SVN parts under Apache 2.0.

* everywhere:

Change copyright notices in file headers to reflect the Apache 2.0 license.

  1. … 882 more files in changeset.
Follow-up to r35017:

Allow to specify Berkeley DB header.

(It allows to build libsvn_fs_base when APR-Util isn't built with support for Berkeley DB.)

* build/ac-macros/berkeley-db.m4

(SVN_LIB_BERKELEY_DB, SVN_LIB_BERKELEY_DB_TRY): Allow to specify Berkeley DB

header in argument of the '--with-berkeley-db' option. Add conditional

inclusion of Berkeley DB header to 'subversion/svn_private_config.h'.

* configure.ac: Substitute '@SVN_DB_HEADER@' with appropriate value

in 'subversion/svn_private_config.h'.

* subversion/svn_private_config.hw: Include Berkeley DB header when

SVN_WANT_BDB is defined.

* subversion/libsvn_fs_base/bdb/bdb_compat.h:

* subversion/libsvn_fs_base/bdb/bdb-err.c:

* subversion/libsvn_fs_base/bdb/changes-table.h:

* subversion/libsvn_fs_base/bdb/dbt.c:

* subversion/libsvn_fs_base/bdb/dbt.h:

* subversion/libsvn_fs_base/bdb/env.h:

* subversion/libsvn_fs_base/bdb/nodes-table.h:

* subversion/libsvn_fs_base/bdb/reps-table.h:

* subversion/libsvn_fs_base/bdb/rev-table.h:

* subversion/libsvn_fs_base/bdb/strings-table.h:

* subversion/libsvn_fs_base/bdb/uuids-table.h:

* subversion/libsvn_fs_base/fs.c:

* subversion/libsvn_fs_base/fs.h:

* subversion/libsvn_fs_base/node-rev.c:

* subversion/libsvn_fs_base/node-rev.h:

* subversion/libsvn_fs_base/reps-strings.c:

* subversion/libsvn_fs_base/reps-strings.h:

* subversion/libsvn_fs_base/revs-txns.h:

* subversion/libsvn_fs_base/trail.c:

* subversion/libsvn_fs_base/trail.h:

* subversion/libsvn_fs_base/util/fs_skels.h: Define SVN_WANT_BDB and

include "svn_private_config.h" instead of defining APU_WANT_DB and

including <apu_want.h>.

  1. … 23 more files in changeset.
Enable generation of node-origins records for new lines of history.

* subversion/libsvn_fs_base/node-rev.h,

* subversion/libsvn_fs_base/node-rev.c

(svn_fs_base__delete_node_revision): Add 'origin_also' parameter and

functionality.

* subversion/libsvn_fs_base/dag.c

(svn_fs_base__dag_remove_node): Update call to

svn_fs_base__delete_node_revision().

  1. … 2 more files in changeset.
Reformat the code to use a consistent no-space-before-param-list-paren style.

See here for the vote that decided this:

http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=111877

From: "Peter N. Lundblad" <peter@famlundblad.se>

To: "Peter N. Lundblad" <peter@famlundblad.se>

cc: dev@subversion.tigris.org

Subject: Results of: [VOTE] New space-before-parens style

Date: Wed, 8 Feb 2006 12:00:35 +0100 (CET)

Message-ID: <Pine.LNX.4.55.0602080918350.10805@localhost.localdomain>

I took the opportunity to make spacing among all parens in SVN_ERR

macro calls consistent. But I did not address consistency of casts,

nor whether a function name should always appear below its return type

in declarations and definitions, nor whether there should be a space

before/after the "*" when declaring pointer return types.

* www/hacking.html

(coding-style): Document that we are no-space-before-paren now.

* everywhere: Reformat.

  1. … 365 more files in changeset.
Finish (as far as I can tell) making all the libsvn_fs_base functions

which accept trail_t's, but which are not txn_body_* functions, also

accept pool parameters. Generally speaking, txn_body_* callers of

these functions pass their trail->pool for this new parameter; other

functions pass the pools directly provided to them.

* subversion/libsvn_fs_base/node-rev.h,

subversion/libsvn_fs_base/node-rev.c

(svn_fs_base__create_node, svn_fs_base__create_successor,

svn_fs_base__delete_node_revision): Add 'pool' parameter.

* subversion/libsvn_fs_base/reps-strings.h

(svn_fs_base__get_mutable_rep, svn_fs_base__rep_deltify,

svn_fs_base__delete_rep_if_mutable, svn_fs_base__rep_contents_size,

svn_fs_base__rep_contents_checksum, svn_fs_base__rep_contents,

svn_fs_base__rep_deltify, svn_fs_base__rep_undeltify): Add 'pool' parameter.

* subversion/libsvn_fs_base/reps-strings.c

(rep_undeltify_range, rep_read_range, svn_fs_base__get_mutable_rep,

svn_fs_base__delete_rep_if_mutable, svn_fs_base__rep_contents_size,

svn_fs_base__rep_contents_checksum, svn_fs_base__rep_contents_checksum,

txn_body_read_rep, rep_write, txn_body_write_rep, txn_body_write_close_rep,

rep_contents_clear, svn_fs_base__rep_deltify): Add 'pool' parameter.

(delete_strings): Add 'pool' parameter, and use an iteration subpool.

* subversion/libsvn_fs_base/revs-txns.h

(svn_fs_base__rev_get_root, svn_fs_base__rev_get_txn_id,

svn_fs_base__set_rev_prop, svn_fs_base__txn_make_committed,

svn_fs_base__txn_get_revision, svn_fs_base__get_txn_ids,

svn_fs_base__set_txn_root, svn_fs_base__add_txn_copy,

svn_fs_base__set_txn_base, svn_fs_base__set_txn_prop): Add 'pool' parameter.

* subversion/libsvn_fs_base/revs-txns.c

(get_txn, get_rev_txn, svn_fs_base__rev_get_root,

svn_fs_base__rev_get_txn_id, txn_body_youngest_rev,

txn_body_revision_proplist, svn_fs_base__set_rev_prop,

txn_body_change_rev_prop, svn_fs_base__txn_make_committed,

svn_fs_base__txn_get_revision, svn_fs_base__get_txn_ids,

svn_fs_base__set_txn_root, svn_fs_base__set_txn_base,

svn_fs_base__add_txn_copy, txn_body_txn_proplist,

svn_fs_base__set_txn_prop, txn_body_change_txn_prop,

txn_body_begin_txn, txn_body_open_txn, txn_body_cleanup_txn,

txn_body_cleanup_txn_copy, txn_body_cleanup_txn_changes,

txn_body_get_dirents, txn_body_remove_node, txn_body_delete_txn,

txn_body_abort_txn, txn_body_list_transactions): Add 'pool' parameter.

* subversion/libsvn_fs_base/tree.c

(root_node, mutable_root_node, get_copy_inheritance, open_path,

make_path_mutable, get_dag, add_change, id_check_ancestor,

update_ancestry, undelete_change, examine_copy_inheritance,

merge): Add 'pool' parameter.

  1. … 8 more files in changeset.
Merge the changes from the fs-abstraction branch. This allows the

libsvn_fs_fs filesystem to sit alongside the old BDB filesystem in the

same executable.

  1. … 89 more files in changeset.