subversion

Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 873430 is being indexed.

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

Remove yet more calls to deprecated functions.

* subversion/libsvn_subr/cache-memcache.c

(build_key): Use svn_checksum_t and associated APIs.

* subversion/libsvn_ra_svn/client.c

(ra_svn_get_file): Same.

* subversion/libsvn_client/export.c

(close_file): Same.

* subversion/libsvn_client/commit.c

(import_file): Same.

* subversion/libsvn_ra_neon/fetch.c

(file_write_ctx_t, get_file_reader, svn_ra_neon__get_file): Same.

Remove more calls to deprecated functions.

* subversion/libsvn_subr/checksum.c

(svn_checksum_match): Followup to r33352 by calling the library-internal

version of svn_md5__digests_match().

* subversion/libsvn_subr/config_auth.c

(auth_file_path): Use new svn_checksum_t type and functions.

* subversion/libsvn_wc/adm_ops.c

(process_committed_leaf): Same.

* subversion/libsvn_wc/update_editor.c

(merge_file, close_file): Same.

Followup to r33322: Redefine svn_md5_* functions as svn_md5__*, and wrap the

former with the later. This helps "clean up" our libraries, but allowing us

to use the library-specific version internally in libsvn_subr.

* subversion/libsvn_subr/md5.c

(svn_md5__empty_string_digest): Rename to svn_md5__empty_string_digest_array.

(svn_md5_empty_string_digest): Rename to svn_md5__empty_string_digest().

(svn_md5_digest_to_cstring_display): Rename to

svn_md5__digest_to_cstring_display()

(svn_md5_digest_to_cstring): Rename to svn_md5__digest_to_cstring().

(svn_md5_digests_match): Rename to svn_md5__digests_match().

(svn_md5_empty_string_digest, svn_md5_digest_to_cstring_display,

svn_md5_digest_to_cstring, svn_md5_digests_match): Wrap above.

* subversion/libsvn_subr/md5.h: New.

* subversion/libsvn_subr/checksum.c

(svn_checksum_to_cstring_display, svn_checksum_to_cstring,

svn_checksum_empty_checksum): Use library versions of the above.

    • ?
    /trunk/subversion/libsvn_subr/md5.h
On the issue-3067-deleted-subtrees branch fix some doc string typos.

Found by: arfrever

* subversion/include/svn_ra.h

(svn_ra_get_revision_deleted): It's oh so lovely when the arguments the

doc string mentions actually agree with the argument names in the

declaration. Don't you agree?

Remove deprecated API usage by making older APIs caller newer ones instead of

vice versa.

* subversion/libsvn_repos/load.c

(fns_from_fns2): New.

(svn_repos_get_fs_build_parser2): Build the parser here...

(svn_repos_get_fs_build_parser): ...instead of here.

Follow-up to r33335:

Fix compatibility with Python 2.*.

* build/generator/gen_win.py:

* build/get-py-info.py:

* build/win32/make_dist.py:

* win-tests.py: Fix calls to print().

Found by: lgo

Suggested by: gstein

On the issue-3067-deleted-subtrees branch add new RA interface

svn_ra_get_revision_deleted.

This change implements svn_ra_get_revision_deleted for ra_local only.

Holding off on ra_serf, ra_neon, and ra_svn implementations until I'm sure

this (branch) is going to work.

* subversion/include/svn_ra.h

* subversion/libsvn_ra/ra_loader.c

(svn_ra_get_revision_deleted): New function.

* subversion/libsvn_ra/ra_loader.h

(svn_ra__vtable_t): Add get_revision_deleted.

* subversion/libsvn_ra_local/ra_plugin.c

(svn_ra_local__get_revision_deleted): New implementation.

(ra_local_vtable): Add svn_ra_local__get_revision_deleted.

* subversion/libsvn_ra_neon/ra_neon.h

(svn_ra_neon__get_revision_deleted): New (unimplemented) function.

* subversion/libsvn_ra_neon/get_rev_deleted.c:

New file for svn_ra_neon__get_revision_deleted implementation.

* subversion/libsvn_ra_neon/session.c

(neon_vtable): Add svn_ra_neon__get_revision_deleted.

* subversion/libsvn_ra_serf/ra_serf.h

(svn_ra_serf__get_revision_deleted): New (unimplemented) function.

* subversion/libsvn_ra_serf/get_rev_deleted.c:

New file for svn_ra_serf__get_revision_deleted implementation.

* subversion/libsvn_ra_serf/serf.c

(serf_vtable): Add svn_ra_serf__get_revision_deleted.

* subversion/libsvn_ra_svn/client.c

(ra_svn_get_revision_deleted): New (unimplemented) function.

(ra_svn_vtable): Add ra_svn_get_revision_deleted.

Followup to r33346: More deprecated API removal.

* subversion/libsvn_wc/adm_crawler.c

(svn_wc_transmit_text_deltas2): Use svn_checksum_t and related APIs.

More deprecated API removal.

* subversion/libsvn_wc/adm_ops.c

(process_committed_leaf, revert_admin_things): Use svn_checksum_t and

associated APIs.

* subversion/libsvn_wc/update_editor.c

(apply_textdelta, close_file, svn_wc_add_repos_file2): Same.

Fix compile warning and 80 chars/line issue.

* subversion/libsvn_subr/dirent_uri.c

(is_child): Add parantheses to fix gcc warning (and to improve readability).

Follow up r33342: Make svn_dirent_is_child and

svn_uri_is_child support a NULL pool, as svn_path_is_child does.

* subversion/libsvn_subr/dirent_uri.c

(is_child): If pool is NULL, return the remainder part directly without

duplicating.

Issue #2028: add the svn_dirent_get_absolute function, based on

svn_path_get_absolute but supporting Windows dirents correctly.

* subversion/include/svn_dirent_uri.h

(svn_dirent_get_absolute): New function declarations.

* subversion/libsvn_subr/dirent_uri.c

(svn_dirent_get_absolute): New function definitions.

* subversion/libsvn_subr/path.c

(svn_path_get_absolute): Reimplement as simple wrapper around

svn_dirent_get_absolute.

Issue #2028: add the svn_uri_is_absolute, svn_uri_is_root,

svn_uri_is_child and svn_dirent_is_child functions, based on the svn_path

equivalents but supporting Windows dirents correctly.

* subversion/include/svn_dirent_uri.h

(svn_uri_is_absolute, svn_uri_is_root,

svn_uri_is_child, svn_dirent_is_child): New function declarations.

* subversion/libsvn_subr/dirent_uri.c

(is_child): New internal function, copied from path.c and extended to

support Windows dirent syntax.

(svn_uri_is_root, svn_uri_is_absolute

svn_dirent_is_child, svn_uri_is_child): New function definitions.

* subversion/libsvn_subr/path.c

(svn_path_is_child): Reimplement as simple wrapper around svn_uri_is_child.

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

(test_uri_is_root, test_uri_is_absolute,

test_dirent_is_child, test_uri_is_child): New tests.

(test_funcs): Run the new tests, all pass.

Issue #2028: add the svn_dirent_get_longest_ancestor and

svn_uri_get_longest_ancestor functions, based on the svn_path equivalents

but supporting Windows dirents correctly.

* subversion/include/svn_dirent_uri.h

(svn_dirent_get_longest_ancestor,

svn_uri_get_longest_ancestor): New function declarations.

* subversion/libsvn_subr/dirent_uri.c

(global): Include svn_path.h for svn_path_is_url, svn_path_local_style etc.

(get_longest_ancestor_length): New internal function, copied from path.c

and extended to support Windows dirent syntax.

(svn_dirent_get_longest_ancestor,

svn_uri_get_longest_ancestor): New function definitions.

* subversion/libsvn_subr/path.c

(get_path_ancestor_length): Remove, moved to dirent_uri.c

(svn_path_get_longest_ancestor): Reimplement as simple wrapper around

svn_uri_get_longest_ancestor.

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

(test_dirent_get_longest_ancestor,

test_uri_get_longest_ancestor): New tests.

(test_funcs): Run the new tests, all pass.

* po/ko.po : Korean translation updated

French translation update.

Found by: Niluge KiWi <kiwiiii@gmail.com>

* subversion/po/fr.po: 1 typo fixed

Python 3 compatibility:

Use repr() instead of string conversions.

* subversion/tests/cmdline/basic_tests.py:

* subversion/tests/cmdline/diff_tests.py:

* subversion/tests/cmdline/log_tests.py:

* subversion/tests/cmdline/merge_tests.py:

* subversion/tests/cmdline/svntest/actions.py:

* subversion/tests/cmdline/svntest/main.py: Use repr() instead of string

conversions.

Python 3 compatibility:

Update raise statements.

* build/generator/gen_base.py:

* subversion/bindings/swig/python/svn/repos.py:

* subversion/bindings/swig/python/tests/trac/versioncontrol/main.py:

* subversion/bindings/swig/python/tests/trac/versioncontrol/svn_fs.py:

* subversion/tests/cmdline/blame_tests.py:

* subversion/tests/cmdline/log_tests.py:

* tools/examples/get-location-segments.py:

* tools/hook-scripts/svnperms.py:

* tools/server-side/fsfs-reshard.py:

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

* win-tests.py: Use 'raise exception("string")' instead of

'raise exception, "string"'.

Python 3 compatibility:

Try to import configparser module.

(ConfigParser was renamed to configparser.)

* build/generator/gen_base.py:

* build/generator/gen_make.py:

* build/generator/swig/__init__.py:

* build/win32/make_dist.py:

* gen-make.py:

* tools/hook-scripts/mailer/mailer.py:

* win-tests.py: Try to import configparser module.

Python 3 compatibility:

Update calls to print() in 'build' directory, 'gen-make.py' and 'win-tests.py'.

* build/generator/extractor.py:

* build/generator/gen_win.py:

* build/generator/swig/checkout_swig_header.py:

* build/generator/swig/external_runtime.py:

* build/generator/swig/header_wrappers.py:

* build/get-py-info.py:

* build/getversion.py:

* build/run_tests.py:

* build/strip-po-charset.py:

* build/win32/make_dist.py:

* gen-make.py:

* win-tests.py: Call print() or file.write().

Simplified chinese translation update.

* subversion/po/zh_CN.po: Update to r33329, translate some new strings.

Polish translation update.

* subversion/po/pl.po: Polish translation update.

Simplified chinese translation update on the '1.5.x' branch:

* subversion/po/zh_CN.po: translate new backport strings.

On the 'ctypes-python-bindings' branch:

Python 3 compatibility:

Don't use 'has_key'.

* csvn/txn.py

(Txn._check_path, _txn_operation.open): Use 'in' instead of 'has_key'.

On the 'svnpatch-diff' branch:

Merge r33157:33329 from trunk.

  1. … 154 more files in changeset.
* subversion/include/svn_base64.h

(svn_base64_from_checksum): Followup to r33328: Fix docstring.

Found by: arfrever

More checksum API updating.

* subversion/libsvn_subr/svn_base64.c,

subversion/include/svn_base64.h

(svn_base64_from_checksum): New.

(svn_base64_from_md5): Deprecate.

* subversion/libsvn_subr/checksum.c,

subversion/include/svn_checksum.h

(svn_checksum_size): New.

Delete svn_sha1_*() from public API.

* subversion/include/svn_sha1.h: Rename to ...

* subversion/libsvn_subr/sha1.h: ... this.

* subversion/libsvn_subr/sha1.c

(svn_sha1__empty_string_digest_array): Renamed from

svn_sha1__empty_string_digest.

* subversion/libsvn_subr/sha1.h

* subversion/libsvn_subr/sha1.c

(svn_sha1__empty_string_digest): Renamed from svn_sha1_empty_string_digest().

(svn_sha1__digest_to_cstring_display): Renamed from

svn_sha1_digest_to_cstring_display.

(svn_sha1__digest_to_cstring): Renamed from svn_sha1_digest_to_cstring().

(svn_sha1__digests_match): Renamed from svn_sha1_digests_match().

* subversion/libsvn_subr/checksum.c

(): Include "sha1.h" instead of "svn_sha1.h".

(svn_checksum_match): Call svn_sha1__digests_match() instead of

svn_sha1_digests_match().

(svn_checksum_to_cstring_display): Call

svn_sha1__digest_to_cstring_display() instead of

svn_sha1_digest_to_cstring_display().

(svn_checksum_to_cstring): Call svn_sha1__digest_to_cstring() instead of

svn_sha1_digest_to_cstring().

(svn_checksum_empty_checksum): Call svn_sha1__empty_string_digest() instead

of svn_sha1_empty_string_digest().

* subversion/libsvn_fs_fs/tree.c

(): Don't include "svn_md5.h" and "svn_sha1.h".

    • ?
    /trunk/subversion/libsvn_subr/sha1.h