Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1064163 is being indexed.

* subversion/include/svn_fs.h,

* subversion/include/svn_diff.h,

* subversion/include/svn_dav.h,

* subversion/include/svn_mergeinfo.h,

* subversion/include/svn_editor.h,

* subversion/include/svn_repos.h,

* subversion/include/svn_delta.h,

* subversion/include/svn_subst.h,

* subversion/include/svn_types.h,

* subversion/include/svn_config.h,

* subversion/include/svn_io.h,

* subversion/include/svn_wc.h,

* subversion/include/svn_cmdline.h,

* subversion/include/svn_client.h,

* subversion/include/svn_ra.h

Fix typos in comments.

  1. … 14 more files in changeset.
Once and for all, name all our anonymous struct/enum typedefs.

Follows up on r1040058, and with thanks to Danny Trebbien.

* everywhere:

Change 'typedef struct {} foo_t;' to 'typedef struct foo_t {} foo_t;'.

* subversion/libsvn_ra_serf/fake_sspi.h

(PSecurityFunctionTable, SecurityFunctionTable):

Manually effect the same change in the single pointer-to-struct typedef.

  1. … 95 more files in changeset.
In this revision a mass spelling correction OCCURRED.

* subversion/bindings/javahl/native/JNIUtil.h (JNIUtil),

subversion/include/svn_editor.h (svn_editor_t),

subversion/libsvn_subr/eol.c (svn_eol__detect_file_eol),

subversion/tests/cmdline/merge_tests.py (natural_history_filtering):

s/occured/occurred/ in comments.

* subversion/svn/export-cmd.c (svn_cl__export),

subversion/svn/switch-cmd.c (svn_cl__switch),

subversion/svn/update-cmd.c (svn_cl__update):

s/occured/occurred/ in an error message.

  1. … 6 more files in changeset.
* subversion/include/svn_editor.h: Ask a question.

* subversion/include/svn_editor.h:

(): answer stsp's question

* subversion/include/svn_editor.h: Ask a question about this API.

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.
Some more doxygen improvements.

* subversion/include/svn_editor.h,

subversion/include/svn_delta.h:

Explicitly link various doxygen entities.

  1. … 1 more file in changeset.
Scrub trailing whitespace throughout (see r35894).

  1. … 146 more files in changeset.
We no longer want to talk about a "tree delta" as a first-order concept.

Experience shows there is coupling between driver/receiver, such that a

tree delta is not an independent entity. The v2 interface is a

prototypical pattern for describing a set of changes to edit a *known*

target tree into a desired state. There will always be an underlying

coupling, but the editor interface helps to establish a calling pattern

and semantics which can be carried across these various pairings.

* subversion/include/svn_editor.h:

(...): in the docstrings, remove the "producer", "consumer", and the

"tree delta" concepts. Only talk about series of operations between a

driver and a receiver. Add some more history to place this interface.

* subversion/include/svn_editor.h: Comments -- additions, minor fixes and more

todos in editor v2's API docs. Checked doxygen syntax.

* subversion/include/svn_editor.h: Kick off editor-v2's documentation.

Copy-paste the intro from svn_delta_editor.h. Add comment groups and

start individual comments for structs and functions.

### Note, this is yet incomplete and unreviewed. More to follow.

editor v2: Also add REPLACES_REV arguments to "copy" and "move" callbacks,

as discussed in:

http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2382628

* subversion/include/svn_editor.h,

* subversion/libsvn_delta/editor.c

(svn_editor_copy, svn_editor_move): Add parameter REPLACES_REV.

### Documentation pending

  1. … 1 more file in changeset.
Enable an atomic replace in editor v2.

If you want to know why a revnum is chosen as replace indicator, read

notes/editor-v2.txt as of r38396 (later note).

* subversion/include/svn_editor.h

(svn_editor_add_directory_t, svn_editor_add_directory,

svn_editor_add_file_t, svn_editor_add_file,

svn_editor_add_symlink_t, svn_editor_add_symlink,

svn_editor_add_absent_t, svn_editor_add_absent):

Add parameter REPLACES_REV.

* subversion/libsvn_delta/editor.c

(svn_editor_add_directory,

svn_editor_add_file,

svn_editor_add_symlink,

svn_editor_add_absent):

Add parameter REPLACES_REV and pass to callbacks.

  1. … 1 more file 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.
The streamy list of children is a good idea, but the simple fact is that

ALL of subversion thinks it can load a set of children into memory. To

truly solve this problem requires a huge, concerted effort. Short of that,

this small effort on the editor interface is reduced to a wart rather than

a shining example of a new future. (sigh) ... remove it.

* subversion/include/svn_editor.h:

(svn_editor_cb_add_directory_streamy_t): remove

(svn_editor_setcb_add_directory_streamy): remove

(svn_editor_cb_many_t): remove 'cb_add_directory_streamy' member

(svn_editor_add_directory_streamy): remove

* subversion/libsvn_delta/editor.c:

(svn_editor_setcb_add_directory_streamy): remove

(svn_editor_setcb_many): do not copy 'cb_add_directory_streamy' member

(svn_editor_add_directory_streamy): remove

  1. … 1 more file in changeset.
More eol-style property fixing.

* subversion/libsvn_subr/debug.c,

subversion/tests/cmdline/entries_tests.py,

subversion/include/svn_editor.h,

subversion/include/private/svn_debug.h,

subversion/libsvn_ra_serf/auth_kerb.c,

subversion/libsvn_ra_serf/auth_kerb.h,

subversion/libsvn_delta/editor.c:

Set the eol-style to native.

  1. … 6 more files in changeset.
Some more refinement of the new editor code:

- add cancellation support into the core editor

- assert that callbacks are provided, if they get invoked

* subversion/include/svn_editor.h:

(svn_editor_create): accept CANCEL_FUNC and CANCEL_BATON params

* subversion/libsvn_delta/editor.c:

(svn_editor_t): add CANCEL_FUNC and CANCEL_BATON members

(svn_editor_create): add CANCEL_FUNC and CANCEL_BATON params, and store

them into the editor structure.

(svn_editor_add_directory, svn_editor_add_directory_streamy,

svn_editor_add_file, svn_editor_add_symlink, svn_editor_add_absent,

svn_editor_set_props, svn_editor_set_text, svn_editor_set_target,

svn_editor_delete, svn_editor_copy, svn_editor_move): call the new

cancellation functions, and test for the callback

(svn_editor_complete, svn_editor_abort): test for the callback. these

functions do not test for cancellation since they are the last things

to be called, and we may as well let them wrap up.

  1. … 1 more file in changeset.
Switch the editor's scratch_pool to clear-on-exit rather than entry. This

is a bit more code, but it should help to keep peak memory a bit lower.

Another change in this revision is modifying the "child stream" on

add_directory_streamy to move to an iterative callback to fetch children,

rather than a stream. Much easier than setting up stream readers/writers

and serialization mechanisms.

* subversion/include/svn_editor.h:

(svn_editor_cb_add_directory_streamy_t): adjust this callback type to

have an iterative callback, rather than an svn_stream_t.

(svn_editor_add_directory_streamy): adjust params to provide a callback

to fetch child names, rather than a stream.

* subversion/libsvn_delta/editor.c:

(svn_editor_add_directory, svn_editor_add_file, svn_editor_add_symlink,

svn_editor_add_absent, svn_editor_set_props, svn_editor_set_text,

svn_editor_set_target, svn_editor_delete, svn_editor_copy,

svn_editor_move, svn_editor_complete, svn_editor_abort): switch the

scratch_pool to clear-on-exit

(svn_editor_add_directory_streamy): adjust parameters to a callback

rather than a stream. change scratch_pool to clear-on-exit.

Suggested by: rhuijben

  1. … 1 more file in changeset.
Switch to using an internal scratch_pool for all of the callbacks. This

will help ensure/optimize pool usage within the editor drive.

* subversion/include/svn_editor.h:

(svn_editor_add_directory, svn_editor_add_directory_streamy,

svn_editor_add_file, svn_editor_add_symlink, svn_editor_add_absent,

svn_editor_set_props, svn_editor_set_text, svn_editor_set_target,

svn_editor_delete, svn_editor_copy, svn_editor_move,

svn_editor_complete, svn_editor_abort): remove SCRATCH_POOL param

* subversion/libsvn_delta/editor.c:

(svn_editor_t): add SCRATCH_POOL member

(svn_editor_create): construct a scratch pool as a subpool of the result

pool (ie. a pool that lives at least as long as this editor)

(svn_editor_add_directory, svn_editor_add_directory_streamy,

svn_editor_add_file, svn_editor_add_symlink, svn_editor_add_absent,

svn_editor_set_props, svn_editor_set_text, svn_editor_set_target,

svn_editor_delete, svn_editor_copy, svn_editor_move,

svn_editor_complete, svn_editor_abort): remove SCRATCH_POOL param.

clear the pool on entry, then pass to the callback.

  1. … 1 more file in changeset.
Dump out some basic skeleton structure for a new editor interface.

* subversion/include/svn_editor.h: new interface

* subversion/libsvn_delta/editor.c: new implementation

  1. … 1 more file in changeset.