Checkout
 

djames in subversion

* subversion/bindings/ctypes-python/csvn/core/__init__.py:

Remove unnecessary shebang line.

Found by: stsp

Fix test_lock in the Python bindings testsuite.

* subversion/bindings/swig/python/tests/wc.py:

(SubversionWorkingCopyTestCase.test_lock): Assign the lock a token, and

lock /trunk/README.txt instead of /.

Patch by: Roman <DXDragon@yandex.ru>

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

(testBatonPlay): Redesign test to avoid depending on SWIG's sometimes-buggy

stringification behavior. Instead, use weak references.

Found by: Roman <DXDragon@yandex.ru>

Fix the python-windows installer generator by making it include the .dll

files in the installer. That list originally consisted only of "*.dll".

When the build system was modified to generate .pyd files for the binary

modules, it was changed to "*.pyd". The Subversion libraries and the

dependencies are still .dll files, though, so "*.dll" needs to be brought

back.

* packages/python-windows/setup.py: Add *.dll to the list of package data.

Patch by: <DXDragon@yandex.ru>

Fixes some python testsuite failures on Windows.

("Can't remove <path>\rep-cache.db")

* subversion/bindings/swig/python/tests/mergeinfo.py,

subversion/bindings/swig/python/tests/wc.py

(tearDown): Close references to the test repository so that

it can be deleted nicely.

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

subversion/bindings/swig/python/tests/repository.py

(tearDown): Override tearDown to close references to the test

repository so that it can be deleted nicely.

Patch by: Jens Peters <jpeters7677{_AT_}gmx.de>

me

* www/tasks.html (ctypes-python): Typo fix. Follow-up to r36681.

* www/tasks.html (ctypes-python): Describe the ctypes python bindings project.

* CHANGES: Update changes to mention new ctypes python bindings

* subversion/bindings/ctypes-python/csvn/repos.py

Reverse-merge accidental merge in 36569

* STATUS: Nominate and vote for r36559

* subversion/bindings/ctypes-python/csvn/repos.py

(LocalRepository.txn): Fix bug where assert is always true. (This also

fixes a warning in Python 2.6 and later.)

* subversion/bindings/ctypes-python/setup.py

(get_apr_config): Include svn_auth_kwallet-1 and svn_auth_gnome_keyring-1

in list of libraries to load.

Fix several segfaults in the ctypes python bindings by fixing pool usage

bugs and other typos.

[ In subversion/bindings/ctypes-python/csvn ]

* repos.py

(RemoteRepos._log_func_wrapper): Typo fix for tmp_file parameter.

(RemoteRepos.svnimport): Return commit info in its own pool so that

it doesn't get deleted before the function exits.

* wc.py

(WC.commit): Ditto.

(WC.copy, WC.move, WC.delete): Pass commit info object into

function instead of NULL pointer, per API spec.

(WC._notify_func_wrapper, WC._status_wrapper, WC._info_wrapper,

WC._list_wrapper): Copy arguments into dedicated pool

to ensure it doesn't get deleted.

* types.py

(Hash.__init__, Hash.__setitem__) Typo fix so items are actually

copied into local pool, as they should be.

* COMMITTERS: Add jwhitlock as a full committer.

Move examples for ctypes-python bindings into separate directory. Also update

README file to remove references to testing bindings using example scripts.

[ In subversion/bindings/ctypes-python ]

* README: Update as described above.

* examples/trunkify.py, examples/log.py, examples/example.py,

examples/mucc.py: Move into separate examples directory.

    • ?
    /trunk/subversion/bindings/ctypes-python/example.py
    • ?
    /trunk/subversion/bindings/ctypes-python/trunkify.py
Merge the ctypes-python-bindings branch to trunk.

Thread: http://svn.haxx.se/dev/archive-2008-09/0830.shtml

In the ctypes-python-bindings branch: Make sure that platform-specific functions

are available, even if we run ctypesgen on older versions of Subversion, which

don't know about ctypesgen. This is only necessary for compatibility with

Subversion 1.5 and earlier.

* csvn/core/__init__.py: Update as described above.

Let ctypesgen see all function definitions on all platforms, so that the

generated wrappers in the ctypes-python-bindings will be platform-independent.

* subversion/include/svn_client.h,

subversion/include/svn_auth.h

(svn_client_get_windows_simple_provider,

svn_auth_get_windows_simple_provider,

svn_auth_get_keychain_simple_provider,

svn_auth_get_keychain_ssl_client_cert_pw_provider):

Let ctypesgen see these functions on all platforms.

In the ctypes-python-bindings branch:

* TODO: Update to reflect that we plan to accomplish these tasks after

we merge the ctypes-python-bindings to trunk. Also, remove autogen.sh

--release task, because I don't think we should include pregenerated

Python headers in the Subversion tarball.

On the ctypes-python-bindings branch:

* TODO: Remove more completed tasks.

In the ctypes-python-bindings branch:

* TODO

(): Remove completed tasks and fix typo.

Suggested by: arfrever

Updated wc.WC.export to no longer pass NULL for the peg_revision argument.

Without this fix, the bindings would not work for Subversion 1.6.x+.

* csvn/wc.py (WC.export): Created an svn_opt_revision_t argument to be

passed for the peg_revision argument instead of NULL.

Patch by: Jeremy Whitlock <jcscoobyrs@gmail.com>

In the ctypes-python-bindings branch: Add TODO file for tasks that need

to be completed before release.

* TODO: Add new file.

    • ?
    /branches/ctypes-python-bindings/TODO
In the ctypes-python-bindings branch.

* trunkify.py: Update example script to initialize itself using

svn_cmdline_init per r32005.

In the ctypes-python-bindings branch.

* log.py: Update example script to initialize itself using svn_cmdline_init

per r32005. Also change verbose to discover_changed_paths per r30346.

In the ctypes-python-bindings branch.

* example.py: Update example script to initialize itself using

svn_cmdline_init.

[ In the ctypes-python-bindings branch ]

* mucc.py

Initialize self using svn_cmdline_init per r32005. Also support propset

and propdel, bringing the functionality of this example script in line

with what is offered on trunk.

In the ctypes-python-bindings branch: Don't call svn_cmdline_init or

do any other initialization at import time. Let users do the

initialization their own way instead.

This commit only updates the core library and the test suite. Example

scripts will be updated in separate commits.

Suggested by: epg

* csvn/core/__init__.py

(): Remove call to svn_cmdline_init. Remove application_pool.

(Pool.__init__, Pool.destroy): Remove all references to application_pool.

* test/setup_path.py

Update test suite to do its own initialization using svn_cmdline_init.

In the ctypes-python-bindings branch: Support propdel.

* csvn/txn.py

(Txn.propdel, _txn_operation.propdel): New method.

(_txn_operation.replay): Support propdel.

In the ctypes-python-bindings branch.

* csvn/repos.py

(RemoteRepository.log, _LogMessageReceiver.collect): Followup to r30346.

Change "verbose" to "discover_changed_paths" in a few more places, fixing

runtime errors.