Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Perl bindings: run test in the C locale.

[in subversion/bindings/swig/perl]

* native/t/1repos.t: Run test in the C locale as we check for localized

messages.

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.
Adjust swig-pl tests to have Test::Count markers and add a make target to

update the counts. Resolves issue #4236

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

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

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

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

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/6ra.t

subversion/bindings/swig/perl/native/t/7editor.t

subversion/bindings/swig/perl/native/t/8lock.t

Add '# TEST' markers.

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

(update_test_counts): Add target.

  1. … 10 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.
More license cleanup, this time in the swig-pl bindings.

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

* t/4pool.t,

t/7editor.t,

t/5delta.t,

t/5delta-compat.t,

t/8lock.t,

t/3client.t,

t/6ra.t,

t/1repos.t,

t/2fs.t,

t/0use.t,

Fs.pm,

Wc.pm,

Makefile.PL.in:

Add the ALv2 blurb.

  1. … 12 more files in changeset.
Make perl bindings testsuite clean up its subdirs from /tmp.

Submitted by: Peter Samuelson <peter@p12n.org>

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

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

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

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

subversion/bindings/swig/perl/native/t/6ra.t,

subversion/bindings/swig/perl/native/t/7editor.t,

subversion/bindings/swig/perl/native/t/8lock.t:

Pass CLEANUP => 1 to File::Temp::tempdir().

  1. … 6 more files in changeset.
* perl/native/t/1repos.t:

Get rid of the Internals requirement incidentally committed.

Fix the reference count of svn_commit_callback_t in Perl Bindings.

* perl/libsvn_swig_perl/swigutil_pl.c

(cleanup_refcnt, svn_swig_pl_hold_ref_in_pool): New.

* perl/libsvn_swig_perl/swigutil_pl.h

(svn_swig_pl_hold_ref_in_pool): New.

* perl/native/t/1repos.t

Test for proper garbage collection for symbols referenced in commit

callback.

* svn_types.i

(svn_commit_callback_t):

Hold the callback reference in pool instead of blindly increase

its refcount.

  1. … 3 more files in changeset.