Checkout Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix various typos detected by codespell

[in subversion/bindings]

* cxx/README, cxx/include/svnxx/tristate.hpp, cxx/src/aprwrap/array.hpp,

javahl/README, javahl/native/JNIStackElement.cpp, javahl/native/JNIUtil.h,

javahl/native/NativeStream.hpp, javahl/native/OperationContext.cpp,

javahl/native/org_apache_subversion_javahl_util_PropLib.cpp,

javahl/src/org/apache/subversion/javahl/ClientNotifyInformation.java,

javahl/src/org/apache/subversion/javahl/ISVNClient.java,

javahl/src/org/apache/subversion/javahl/ISVNRemote.java,

javahl/src/org/apache/subversion/javahl/ISVNRepos.java,

javahl/src/org/apache/subversion/javahl/NativeResources.java,

javahl/src/org/apache/subversion/javahl/SVNClient.java,

javahl/src/org/apache/subversion/javahl/SVNRepos.java,

javahl/src/org/apache/subversion/javahl/SVNUtil.java,

javahl/src/org/apache/subversion/javahl/callback/TunnelAgent.java,

javahl/src/org/apache/subversion/javahl/callback/UserPasswordCallback.java,

javahl/src/org/apache/subversion/javahl/types/Property.java,

javahl/src/org/apache/subversion/javahl/types/Revision.java,

javahl/src/org/apache/subversion/javahl/types/Status.java,

javahl/src/org/apache/subversion/javahl/types/VersionExtended.java,

javahl/src/org/tigris/subversion/javahl/Notify.java,

javahl/src/org/tigris/subversion/javahl/PromptUserPassword2.java,

javahl/src/org/tigris/subversion/javahl/PropertyData.java,

javahl/src/org/tigris/subversion/javahl/Revision.java,

javahl/src/org/tigris/subversion/javahl/SVNAdmin.java,

javahl/src/org/tigris/subversion/javahl/SVNClient.java,

javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java,

javahl/src/org/tigris/subversion/javahl/Status.java,

javahl/src/org/tigris/subversion/javahl/StatusKind.java,

swig/include/proxy.py, swig/perl/libsvn_swig_perl/swigutil_pl.c,

swig/perl/native/Client.pm, swig/perl/native/Core.pm,

swig/python/tests/client.py, swig/python/tests/ra.py,

swig/python/tests/typemap.py:

(): Spelling fixes

  1. … 38 more files in changeset.
* subversion/bindings/swig/perl/native/Core.pm: Reword example to stay below 80

columns.

* subversion/bindings/swig/perl/native/Core.pm: Fix "can't break line" warning

in generated man page.

Add missing POD directives to resolve pod2man warnings

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

(svn_log_entry_t): Add missing "=over 4" and "=back" directives

Patch by: James McCoy <jamessan{_AT_}debian.org>

Followup to r1479563, fix typos in documentation.

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

(svn_opt_revision_t): s/$VN/$SVN/

Make svn_client_log5() callable from the Perl bindings.

* subversion/bindings/swig/svn_client.i:

Make the rule for "apr_array_header_t *REVISION_RANGE_LIST" visible

from Perl, too.

* subversion/bindings/swig/include/svn_containers.swg:

Add an in typemap for "apr_array_header_t *REVISION_RANGE_LIST".

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c,

subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:

Add the corresponding conversion function

svn_swig_pl_array_to_apr_array_revision_range() and its helper

convert_pl_revision_range(). The latter needs a modified

svn_swig_pl_set_revision() that doesn't croak() it it can't convert

its value parameter.

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c,

subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:

Add a boolean parameter croak_on_error to svn_swig_pl_set_revision()

(croak_on_error=TRUE gives the old behaviour). Return NULL if

croak_on_error is FALSE and value can't be converted.

* subversion/bindings/swig/include/svn_types.swg:

Use svn_swig_pl_set_revision() with croak_on_error=TRUE in

the in typemap for svn_opt_revision_t.

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

Add log5 to the list of functions wrapped.

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

Add class magic and documentation for svn_opt_revision_range_t.

Add documentation for svn_opt_revision_t.

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

Add tests for SVN::Client->log5() with different forms of

the revision_ranges parameter.

  1. … 7 more files in changeset.
Add SWIG Perl support for svn_client_log3 and svn_client_log4.

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c

(svn_swig_pl_thunk_log_entry_receiver): New.

* subversion/bindings/swig/include/svn_types.swg:

Add the Perl typemap for

(svn_log_entry_receiver_t receiver, void *receiver_baton).

Since we now have typemaps for Perl, Python and Ruby, consolidate

them using the callback_typemap() macro. While we're at it,

do the same for the

(svn_log_message_receiver_t receiver, void *receiver_baton)

typemaps.

* subversion/bindings/swig/svn_client.i

Drop three typemaps. The first two are obviously bogus as the

types don't match, and the third is redundant as it's also in

svn_containers.swg.

* subversion/bindings/swig/include/svn_containers.swg

Add Perl typemaps for PROPHASH and changed_paths2.

Apply them for Perl (i.e. drop the restriction on Python or Ruby).

Similar to Ruby, add a variant STRINGLIST_MAY_BE_NULL of

STRINGLIST_MAY and apply it to the apr_array_header_t* revprops

parameter of svn_client_log3 and others. All functions using

this parameter explicitly allow the value to be NULL

(meaning "retrieve all revprops").

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

Add class magic to use Swig types _p_svn_log_changed_path2_t

and _p_svn_log_entry_t and documents their methods.

Add properly namespaced aliases for the values

of enum svn_tristate_t.

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

(test_log_message_receiver): New, code factored surrounding test.

Run the existing test for $client->log also for $client->log2.

Add similar tests for $client->log3 and $client->log4

especially exercise all getter methods of _p_svn_log_entry_t.

Add a test for $client->log3 with a parameter targets

that is a list of a URL and relative paths (instead of

a single URL).

Patch by: Roderich Schupp <roderich.schupp{_AT_}gmail.com>

  1. … 6 more files in changeset.
Make svn_wc_parse_externals_description3 available from Perl bindings.

* subversion/bindings/swig/include/svn_containers.swg:

Add output typemap for APR array of svn_wc_external_item2_t.

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

Document function svn_wc_parse_externals_description3.

Add the magic to access struct svn_wc_external_item2_t

as an object and document its methods.

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

Fix a typo that prevented the use of

_p_svn_opt_revision_value_t objects.

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h

Unintentionaly committed #undef _, removed in r1445277. Was not part of the

patch.

Patch by: Roderich Schupp <roderich.schupp{_AT_}gmail.com>

  1. … 3 more files in changeset.
Remove some neon references still lingering about.

* get-deps.sh

(get_deps): No reason to warn that we won't be downloading neon if the neon

directory exists, since we won't be downloading neon anyway.

* build/win32

(svn:ignore): build_neon.bat shouldn't be being produced. Let people realize

they can delete this obsolete file.

* subversion/bindings/swig/python/tests/ra.py

(test_namestring): ra_neon is gone and ra_svn supports get_client_string so

allow the test to run against svn:// and make the comment accurate.

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

(SVN::Auth::SSL::OTHER): Update documentation to not refer to a specific

http lib.

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

(@ldpaths): Don't include libsvn_ra_neon in the library paths.

* aclocal.m4: Don't include the neon.m4 file.

  1. … 5 more files in changeset.
swig-pl: Add support and tests for mkdir2, mkdir3, and mkdir4.

This will actually probably make all of the commit functions added in 1.7 with

commit callbacks work, but I haven't specifically tested them and they may have

other issues. Those tests will be forthcoming in a future commit.

* subversion/bindings/swig/include/svn_types.swg

(svn_commit_callback2_t): Add typemaps for both the callback function and

baton tuple used in the RA/Repos and the Client library.

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

(mkdir2, mkdir3, mkdir4): Add tests for these functions.

(update): Adjust the mkdir ahead of the update test to avoid conflict.

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

(svn_commit_info_t): Add package for and documentation.

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

(@_all_fns): Add mkdir4.

(mkdir): Adjust documentation to reference mkdir2.

(mkdir2,mkdir3): Add documentation.

(mkdir4): Steal the original mkdir documentation and adjust it to apply.

* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c

subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h

(svn_swig_pl_thunk_commit_callback2): New thunk.

  1. … 5 more files in changeset.
* subversion/bindings/swig/perl/natvie/Core.pm: Fix pod error.

Add support for status3 function to swig-pl. Work towards resolving issue #2646

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

(SVN::Depth::unknown, SVN::Depth::exclude, SVN::Depth::empty, SVN::Depth::files,

SVN::Depth::immediates, SVN::Depth::infinity): Add.

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

(status2): Update status2 documentation to just reference status3.

(status3): Add.

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

(status3): Add tests for status3.

  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.
* subversion/bindings/swig/perl/native/Core.pm

(expanded_message): Avoid an undef warning.

Patch by: Ivan Krasilnikov <infnty{_AT_}gmail.com>

me

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.
* subversion/bindings/swig/perl/native/Core.pm

Fix typo in POD.

Patch by: <alexmv@mit.edu>

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.
* subversion/bindings/swig/perl/native/Core.pm:

Fix grammatical errors in the documentation.

Also improve wording here and there to make the documentation

more clear and accessible.

Also, there is no 'destroy' function in the code, the author

probably meant the 'DESTROY' function.

Patch by: Stefan Sperling <stsp@elego.de>

(tweaked by me)

Tweak the initial pool in Perl bindings, so that perl -MSVN::Core -c -e1

won't segfault.

* perl/native/Core.pm:

(gpool): New function for returning and holding the global pool.

This is to avoid 'our's which appears to have different destruction

order.

(SVN::Pool::DESTROY): Skip destroy for SCALAR-typed SVN::Pool, as they

appear to be caused by bugs in Perl.

* perl/native/Ra.pm:

Use the gpool method to get the pool for init_ra_libs.

  1. … 1 more file in changeset.
[ In subversion/bindings/swig/perl/native ]

* Core.pm, Fs.pm, Ra.pm:

Add more documentation for some parts of the Perl API.

No changes to the actual code, except for some tidying of whitespace.

There are 'TODO' markers in some of this, but for the most part they

act as warnings of unexpected behaviour and unimplemented features, so

it's probably best to leave them in.

Patch by: Geoff Richards <qef@ungwe.org>

  1. … 2 more files in changeset.
* perl/native/Client.pm

* perl/native/Core.pm

* perl/native/Core.pm

Make the quote style for SVN::Base import unified.

  1. … 2 more files in changeset.
Some older perl module build utilities panic on VERSION set on

two lines.

* perl/native/Core.pm:

Put the version string in one line.

Fix perl bindings digest-related function segfault, and actually

populate digest when requested.

* build/generator/swig/header_wrappers.py

Don't ignore svn_md5.h.

* swig/core.i

Include svn_md5.

* swig/include/svn_types.swg

Varioues changes to typemaps for char digest[] in different uses.

* swig/perl/libsvn_swig_perl/swigutil_pl.[ch]

New.

* swig/perl/native/Core.pm

(SVN::MD5): New overloaded class.

* swig/perl/native/Delta.pm

(apply): Revert to use coderef-goto.

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

All tests pass.

  1. … 7 more files in changeset.
Follow-up to r15695, more defined-ness tests.

* perl/native/Core.pm:

(SVN::Core::Stream::READLINE, getline): Fix bugs that content

with literal "0" will not be read and returned.

Patch by: Pawel Chmielowski <prefiks@civ.pl>

* perl/native/Core.pm:

(SVN::Core::Stream::READLINE): Fix a bug that content with

literal "0" will not be read and returned.

Reported by: Pawel Chmielowski <prefiks@civ.pl>

* native/Core.pm:

Make $gpool the default pool. A default pool was implicitly

prepared by Ra.pm before.

Perl bindings lock accessors and fs methods support.

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

svn_lock_t accessors.

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

svn_fs_access_t accessors.

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

  1. … 2 more files in changeset.
Call utf_initialize in BEGIN of SVN::Core.

* perl/native/Core.pm:

Call utf_initialize.