- r983144: 2010-08-06 23:37:43 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c [diff, log, file]
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h [diff, log, file]
/subversion/bindings/swig/python/tests/delta.py [diff, log, file]
/subversion/bindings/swig/svn_delta.i [diff, log, file]
As a (hopefully) final follow-up to r981683, set the parent pool correctly
on the returned op object proxies.
[in subversion/bindings/swig]
* python/libsvn_swig_py/swigutil_py.c,
python/libsvn_swig_py/swigutil_py.h:
(svn_swig_py_txdelta_window_t_ops_get): Add a new parameter for the pool to
use when wrapping the op objects.
* svn_delta.i:
(svn_txdelta_window_t_ops_get): Retrieve the parent pool for the window
object and pass it to svn_swig_py_txdelta_window_t_ops_get.
* python/tests/delta.py:
(DeltaTestCase.testTxdeltaWindowT): Add a new assertion to ensure the above
works.
- r983139: 2010-08-06 22:53:21 [rdonch] Роман Донченко
-
/subversion/bindings/swig/svn_delta.i [diff, log, file]
As a follow-up to r981683, make svn_txdelta_window_t.ops work _really_
properly - make sure we are holding the global interpreter lock before
we do Python calls.
* subversion/bindings/swig/svn_delta.i:
(svn_txdelta_window_t_ops_get): Change the parameter to PyObject* to
gather all processing in the same place, add a big helpful comment and
wrap in svn_swig_py_{acquire,release}_py_lock.
- r982064: 2010-08-03 23:18:36 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/delta.py [diff, log, file]
* subversion/bindings/swig/python/tests/delta.py:
(DeltaTestCase.testTxdeltaWindowT): New test to cover the fix made in
r981683 and r981701.
- r981701: 2010-08-02 23:00:48 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c [diff, log, file]
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h [diff, log, file]
/subversion/bindings/swig/svn_delta.i [diff, log, file]
Move the descriptor query for "svn_txdelta_op_t *" into the module code;
when it's in libsvn_swig_py, SWIG crashes.
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c,
subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h:
(svn_swig_py_txdelta_window_t_ops_get): Add the op_type_info parameter,
and get the descriptor from it, instead of querying directly.
* subversion/bindings/swig/svn_delta.i:
(svn_txdelta_window_t_ops_get): Do the query here, and pass the result
to svn_swig_py_txdelta_window_t_ops_get.
- r981683: 2010-08-02 20:49:57 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c [diff, log, file]
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h [diff, log, file]
/subversion/bindings/swig/python/svn/delta.py [diff, log, file]
/subversion/bindings/swig/svn_delta.i [diff, log, file]
SWIG/Python: make svn_txdelta_window_t.ops work properly.
[in subversion/bindings/swig]
* svn_delta.i: disable the auto-generated accessors for
svn_txdelta_window_t.ops, for they assume it's a pointer
to a single element. Declare svn_txdelta_window_t_ops_get,
a replacement accessor.
* python/libsvn_swig_py/swigutil_py.c,
python/libsvn_swig_py/swigutil_py.h:
(svn_swig_py_txdelta_window_t_ops_get): A new function to power up the
aforementioned accessor.
* python/svn/delta.py: Graft the aforementioned accessor to the
svn_txdelta_window_t wrapper class.
- r981564: 2010-08-02 15:36:51 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/core.py [diff, log, file]
* subversion/bindings/swig/python/tests/core.py:
(SubversionCoreTestCase.test_exception_interoperability): Use the old-style
try statement syntax for Python 2.4 compatibility.
- r981339: 2010-08-01 22:54:06 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/auth.py [diff, log, file]
/subversion/bindings/swig/python/tests/client.py [diff, log, file]
/subversion/bindings/swig/python/tests/core.py [diff, log, file]
/subversion/bindings/swig/python/tests/delta.py [diff, log, file]
/subversion/bindings/swig/python/tests/mergeinfo.py [diff, log, file]
/subversion/bindings/swig/python/tests/pool.py [diff, log, file]
/subversion/bindings/swig/python/tests/ra.py [diff, log, file]
/subversion/bindings/swig/python/tests/repository.py [diff, log, file]
/subversion/bindings/swig/python/tests/trac/versioncontrol/tests/svn_fs.py [diff, log, file]
/subversion/bindings/swig/python/tests/wc.py [diff, log, file]
SWIG/Python testsuite: stop using the obsolete unittest.makeSuite function.
[in subversion/bindings/swig/python/tests]
* auth.py,
client.py,
core.py,
delta.py,
mergeinfo.py,
pool.py,
ra.py,
repository.py,
wc.py: Use unittest.defaultTestLoader instead.
* trac/versioncontrol/tests/svn_fs.py: Use a custom unittest.TestLoader.
- r981330: 2010-08-01 22:19:59 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c [diff, log, file]
/subversion/bindings/swig/python/tests/core.py [diff, log, file]
SWIG/Python: enhance the exception translation mechanism so that a
SubversionException thrown from a callback would be fully translated into an
svn_error_t, including any nested exceptions.
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:
(callback_exception_error): Split into two, the other half being
exception_to_error.
(exception_to_error): New function for handling the conversion itself.
* subversion/bindings/swig/python/tests/core.py:
(SubversionCoreTestCase.test_exception_interoperability): New test for
the exception translation mechanism, including this revision's
improvements.
- r981313: 2010-08-01 20:37:38 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/client.py [diff, log, file]
/subversion/bindings/swig/python/tests/mergeinfo.py [diff, log, file]
/subversion/bindings/swig/python/tests/ra.py [diff, log, file]
/subversion/bindings/swig/python/tests/repository.py [diff, log, file]
/subversion/bindings/swig/python/tests/wc.py [diff, log, file]
SWIG/Python testsuite: migrate from piggybacking on Trac's test case to using
Temper. After this, the testsuite no longer depends on Trac's testsuite, except
that we still use its test dump file.
* subversion/bindings/swig/python/tests/client.py,
* subversion/bindings/swig/python/tests/mergeinfo.py,
* subversion/bindings/swig/python/tests/ra.py,
* subversion/bindings/swig/python/tests/repository.py,
* subversion/bindings/swig/python/tests/wc.py: Remove all references to
trac.versioncontrol.tests. Use utils.Temper for making temporary entities.
- r981282: 2010-08-01 18:49:50 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/utils.py [diff, log, file]
SWIG/Python testsuite: more development on the utilities.
* subversion/bindings/swig/python/tests/utils.py:
(): Simplify imports.
(Temper.alloc_repo): Rename to alloc_empty_repo.
(Temper.alloc_known_repo): New function.
(Temper._file_uri_for_path): Turn into a global function and rename to
file_uri_for_path.
- r949551: 2010-05-30 18:17:57 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/client.py [diff, log, file]
/subversion/bindings/swig/python/tests/utils.py [log, file]
Move temporary dir creation/cleanup code from r879456 into its own module,
and add a function for repository creation.
* subversion/bindings/swig/python/tests/utils.py: New file.
* subversion/bindings/swig/python/tests/client.py:
(SubversionClientTestCase.allocate_temp_dir): Remove.
(SubversionClientTestCase.setUp),
(SubversionClientTestCase.tearDown),
(SubversionClientTestCase.test_checkout),
(SubversionClientTestCase.test_url_from_path),
(SubversionClientTestCase.test_uuid_from_path),
(SubversionClientTestCase.test_info_file),
(SubversionClientTestCase.test_merge_peg3): Defer all temporary directory
creation and cleanup to utils.Temper.
- r949321: 2010-05-28 23:39:00 [rdonch] Роман Донченко
-
/subversion/bindings/swig/include/svn_types.swg [diff, log, file]
* subversion/bindings/swig/include/svn_types.swg: Implement the missing
Python typemap for const unsigned char *digest.
- r949280: 2010-05-28 20:20:42 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c [diff, log, file]
/subversion/bindings/swig/python/svn/core.py [diff, log, file]
Revert r949242 and do something better instead: give SubversionException a
__str__ which will dump the whole error chain.
* subversion/bindings/swig/python/svn/core.py:
(SubversionException.__str__): New function.
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:
(svn_swig_py_svn_exception): Don't strip traced errors.
- r949274: 2010-05-28 20:09:09 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/trac/versioncontrol/tests/svn_fs.py [diff, log, file]
* subversion/bindings/swig/python/tests/trac/versioncontrol/tests/svn_fs.py:
It's possible for REPOS_URL to be initialized to a non-canonical URI, so
canonicalize it explicitly.
- r927222: 2010-03-24 23:29:20 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c [diff, log, file]
/subversion/bindings/swig/python/tests/repository.py [diff, log, file]
SWIG/Python: enable callback functions to return Subversion errors (by
throwing a SubversionException).
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:
(callback_exception_error): Extend to check for a SubversionException
and attempt to translate it into an svn_error_t*.
* subversion/bindings/swig/python/tests/repository.py:
(SubversionRepositoryTestCase.test_cease_invocation): New test for
the above functionality.
Patch by: Alexey Neyman <stilor@...>
me
Review by: Jon Foster <Jon.Foster@...>
- r927211: 2010-03-24 22:39:24 [rdonch] Роман Донченко
-
/subversion/libsvn_wc/wc_db.c [diff, log, file]
* subversion/libsvn_wc/wc_db.c:
(svn_wc__db_wclock_set): Pass levels_to_lock to svn_sqlite__bindf
as a 64-bit value, as required by the latter.
Approved by: rhuijben
- r926704: 2010-03-23 18:22:46 [rdonch] Роман Донченко
-
/subversion/bindings/swig/core.i [diff, log, file]
* subversion/bindings/swig/core.i: Immutablize svn_patch_t::patch_file
in Perl, since the existing typemaps can't handle setting it. See also:
r926343.
- r926343: 2010-03-22 21:20:18 [rdonch] Роман Донченко
-
/subversion/bindings/swig/svn_diff.i [diff, log, file]
* subversion/bindings/swig/svn_diff.i: Immutablize some struct members,
setting which is not supported.
- r920133: 2010-03-07 22:25:54 [rdonch] Роман Донченко
-
/subversion/site/publish/style/site.css [diff, log, file]
* publish/style/site.css: Amend a typo/syntax error. Obvious fix.
- r920074: 2010-03-07 19:52:49 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/auth.py [diff, log, file]
/subversion/bindings/swig/python/tests/client.py [diff, log, file]
/subversion/bindings/swig/python/tests/core.py [diff, log, file]
/subversion/bindings/swig/python/tests/delta.py [diff, log, file]
/subversion/bindings/swig/python/tests/mergeinfo.py [diff, log, file]
/subversion/bindings/swig/python/tests/pool.py [diff, log, file]
/subversion/bindings/swig/python/tests/ra.py [diff, log, file]
/subversion/bindings/swig/python/tests/repository.py [diff, log, file]
/subversion/bindings/swig/python/tests/run_all.py [diff, log, file]
/subversion/bindings/swig/python/tests/wc.py [diff, log, file]
[in subversion/bindings/swig/python/tests]
* core.py,
delta.py,
pool.py,
wc.py,
mergeinfo.py,
run_all.py,
auth.py,
ra.py: Fix some code style issues found by pylint. This mostly includes
inserting whitespace, removing unneeded imports and semicolons, and
renaming identifiers colliding with reserved names.
Suggested by: bhuvan
- r911617: 2010-02-18 22:21:43 [rdonch] Роман Донченко
-
/build/generator/svn_config.vcproj.ezt [diff, log, file]
/build/win32 [diff, log, file]
Move the build log for the __CONFIG__ VS 200x project into the top-level
Debug/Release directories, so that it's automatically svn:ignored.
* build/generator/svn_config.vcproj.ezt: Change IntermediateDirectory (whose
sole inhabitant is the build log).
* build/win32/ (svn:ignore): Remove BuildLog.htm, which no longer exists.
- r911536: 2010-02-18 19:31:59 [rdonch] Роман Донченко
-
/subversion/bindings/swig/include/svn_containers.swg [diff, log, file]
Finish the refactoring started in r901007. The new version no longer
leaks svn_auth_provider_object_t references during the call to svn_auth_open;
r911236 ensures backwards-compatible behavior.
* subversion/bindings/swig/include/svn_containers.swg: Replace the body of the
Python apr_array_header_t *providers input typemap with a call to
svn_swig_py_seq_to_array.
- r911480: 2010-02-18 16:44:48 [rdonch] Роман Донченко
-
/subversion/bindings/swig/core.i [diff, log, file]
* subversion/bindings/swig/core.i: Fix an indentation error from r911236.
This also works around a bug in old SWIGs, which don't auto-correct
indentation in %pythonappend blocks.
- r911236: 2010-02-18 00:34:29 [rdonch] Роман Донченко
-
/subversion/bindings/swig/core.i [diff, log, file]
SWIG/Python: make the auth baton reference its providers, so that it remains
valid even if the user didn't keep any references himself.
Note: currently, it remains valid as well, but that's because of an object
leak in a typemap, which will be fixed shortly.
* subversion/bindings/swig/core.i: Insert a helper that stores a reference
to providers in the auth baton wrapper after svn_auth_open.
- r910102: 2010-02-14 22:37:49 [rdonch] Роман Донченко
-
/subversion/bindings/swig/python/tests/ra.py [diff, log, file]
* src-trunk/subversion/bindings/swig/python/tests/ra.py:
(SubversionRepositoryAccessTestCase.setUp): alter the call to ra.open2 in
order to better test functionality implemented in r909644 (and remove an
extraneous None argument).