Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Perl bindings: document cancel callbacks and add some tests.

[in subversion/bindings/swig/perl/native]

* Client.pm: Move POD paragraphs about cancel calbacks into their own

chapter so that we can refer to them from other PODs.

Also fix the cancel arguments in an example.

* Repos.pm: Document cancel callbacks for dump_fs() and dump_fs2().

* t/1repos.t, t/3client.t: Add some tests for cancel callbacks.

  1. … 3 more files in changeset.
In this revision a mass spelling correction OCCURRED (not occured).

* subversion/bindings/javahl/native/Path.cpp,

subversion/bindings/javahl/native/Path.h

(m_error_occured): Rename to 'm_error_occurred'.

(error_occured): Rename to 'error_occurred'.

* subversion/bindings/javahl/native/Targets.cpp,

subversion/bindings/javahl/native/Targets.h

(Targets): Same.

* subversion/bindings/javahl/native/SVNClient.cpp

Track the renames.

* subversion/bindings/swig/perl/native/Repos.pm

(get_logs): Fix spelling in a doc string.

* subversion/libsvn_subr/cache_config.c

(svn_cache__get_global_membuffer_cache): Fix spelling in a comment.

* subversion/tests/libsvn_subr/stream-test.c

(test_stream_base64_2): Fix spelling in a doc string.

* tools/server-side/svn-backup-dumps.py

(__main__): Fix spelling in printed output.

* contrib/client-side/svnmerge/svnmerge_test.py

(TestCase_TestRepo.testMergeAndRollbackEmptyRevisionRange): Fix spelling

in a doc string.

  1. … 9 more files in changeset.
swig-pl: Documentation formatting fixes.

* subversion/bindings/swig/perl/native/Fs.pm

subversion/bindings/swig/perl/native/Repos.pm

subversion/bindings/swig/perl/native/Client.pm

Fix bare > characters that podlint was complaining about.

  1. … 2 more files in changeset.
* subversion/bindings/swig/perl/native/Core.pm

* subversion/bindings/swig/perl/native/Fs.pm

* subversion/bindings/swig/perl/native/Repos.pm

* subversion/bindings/swig/perl/native/t/4pool.t

* subversion/bindings/swig/perl/native/t/5delta.t

* subversion/bindings/swig/perl/native/t/5delta-compat.t

* subversion/bindings/swig/perl/native/t/3client.t

* subversion/bindings/swig/perl/native/t/1repos.t

* subversion/bindings/swig/perl/native/t/2fs.t

* subversion/bindings/swig/perl/native/t/0use.t

* subversion/bindings/swig/perl/native/Wc.pm

* subversion/bindings/swig/perl/native/Delta.pm

* subversion/bindings/swig/perl/native/Base.pm

* subversion/bindings/swig/perl/native/Client.pm

* subversion/bindings/swig/perl/native/Ra.pm

Apply svn:eol-style native property.

  1. … 14 more files in changeset.
In subversion/bindings/swig/perl/native: Whitespace cleanups.

Untabify. (Various instances seemed to be 2- and 4-space tabs, though

most were 8-space.) Kill trailing whitespace. Enforce

no-space-before-( in function calls. A few other indentation fixes as

I came across them. I kept the 4-space convention here, rather than

convert to 2-space, because 4-space seems to be pretty well established

in this dir.

No non-whitespace changes. svn diff -x-w is empty.

* Makefile.PL.in

* Base.pm

* Client.pm

* Core.pm

* Delta.pm

* Fs.pm

* Repos.pm

* Ra.pm

* t/1repos.t

* t/2fs.t

* t/4pool.t

* t/3client.t

* t/5delta.t

* t/5delta-compat.t

* t/7editor.t

* t/8lock.t

* scripts/fast_svnbase.pl

* scripts/compile_all.pl:

Whitespace fixes.

  1. … 17 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.
r27506 accidentally removed a few SVN::Repos methods.

Submitted by: Cheng-Lung Sung <clsung@bestpractical.com>

* swig/perl/native/Repos.pm:

Bring back methods: get_commit_editor, get_commit_editor2,

fs_commit_txn.

Housekeeping: In the spirit of r26317, remove trailing whitespace in our

repository.

(This touches files in various and sundry parts of the tree, which I shan't

enumerate here.)

  1. … 93 more files in changeset.
Make many functions added since version 1.0 in the Client API visible

to users of the Perl bindings. They are already swig-wrapped, just not

exported. (issue 2646)

* subversion/bindings/swig/perl/native/Repos.pm:

Export more API functions.

(POD Documentation): Added entries documenting dump_fs2 and load_fs2.

Patch by: Troy Curtis Jr <troycurtisjr@gmail.com>

me

Approved by: dlr

* subversion/bindings/swig/perl/native/Repos.pm:

Move the code for building up the list of methods down to the methods

section.

* subversion/bindings/swig/perl/native/Repos.pm:

Don't mark "open" as "create" as methods -- they're actually

constructors. Followup to r21741.

Add more detail to the documentation for the SVN::Repos Perl bindings

Rearrange how methods are wrapped in this file, to make it easier to add new

methods in the future while keeping the documentation in sync.

Patch by: Nik Clayton <nik@ngo.org.uk>

* subversion/bindings/swig/perl/native/Repos.pm

(@methods): Build up the list of exported methods throughout the file,

which keeps a method's export point nearer its point of documentation.

(POD Documentation): Add documentation for get_logs(). Explicitly list

the other methods that are exported. Bring the example up to date, and

update the copyright date.

* perl/native/Repos.pm:

Wrap svn_repos_get_commit_editor2 as repos method.

Add use warnings to perl bindings files.

* subversion/bindings/swig/perl/native/Repos.pm

* subversion/bindings/swig/perl/native/Core.pm

* subversion/bindings/swig/perl/native/Fs.pm

* subversion/bindings/swig/perl/native/Delta.pm

* subversion/bindings/swig/perl/native/Wc.pm

* subversion/bindings/swig/perl/native/Client.pm

* subversion/bindings/swig/perl/native/Ra.pm

use warnings;

  1. … 6 more files in changeset.
Fixups for using strict under perl.

* subversion/bindings/swig/perl/native/Repos.pm

* subversion/bindings/swig/perl/native/Core.pm

* subversion/bindings/swig/perl/native/Fs.pm

* subversion/bindings/swig/perl/native/Delta.pm

* subversion/bindings/swig/perl/native/Wc.pm

* subversion/bindings/swig/perl/native/Client.pm

* subversion/bindings/swig/perl/native/Ra.pm

Move use strict to the top of the file or add it when missing.

Only turn off strict refs where we really need to.

* subversion/bindings/swig/perl/native/Core.pm

Avoid a bareword, add () to the end of SVN::_Core::apr_initialize and

SVN::_Core::apr_terminate

* subversion/bindings/swig/perl/native/Fs.pm

Avoid an unnecessary use of a string symbol reference.

* subversion/bindings/swig/perl/native/Ra.pm

init_ra_libs should be init_ra_libs()

  1. … 6 more files in changeset.
Fix perl bindings to build after the reorg and move native perl bindings

stuff into its own subdir.

* subversion/bindings/swig/perl

Remove the svn:ignore property.

* subversion/bindings/swig/perl/native

New container directory.

Set svn:ignore property to what the subversion/bindings/swig/perl used to be.

* subversion/bindings/swig/perl/t

* subversion/bindings/swig/perl/Fs.pm

* subversion/bindings/swig/perl/Core.pm

* subversion/bindings/swig/perl/Repos.pm

* subversion/bindings/swig/perl/Wc.pm

* subversion/bindings/swig/perl/Delta.pm

* subversion/bindings/swig/perl/Makefile.PL

* subversion/bindings/swig/perl/Client.pm

* subversion/bindings/swig/perl/h2i.pl

* subversion/bindings/swig/perl/Ra.pm

* subversion/bindings/swig/perl/Base.pm

Move these ...

* subversion/bindings/swig/perl/native/Core.pm

* subversion/bindings/swig/perl/native/Fs.pm

* subversion/bindings/swig/perl/native/Repos.pm

* subversion/bindings/swig/perl/native/t

* subversion/bindings/swig/perl/native/Delta.pm

* subversion/bindings/swig/perl/native/Wc.pm

* subversion/bindings/swig/perl/native/Base.pm

* subversion/bindings/swig/perl/native/Makefile.PL

* subversion/bindings/swig/perl/native/Client.pm

* subversion/bindings/swig/perl/native/h2i.pl

* subversion/bindings/swig/perl/native/Ra.pm

... here.

* subversion/bindings/swig/perl/native/Makefile.PL

Fix various paths to match the new locations.

* subversion/bindings/swig/INSTALL

Update documentation to include the proper path for the perl bindings.

  1. … 24 more files in changeset.