Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* build/generator/extractor.py: Transfer some knowledge from a log message.
Fix the Windows build afer r1471662.

* build/generator/extractor.py

(_filter_names): Remove exemptions.

Fix the windows build, after r1466597.

* build/generator/extractor.py

(_filter_names): Add some exceptions.

* build/generator/extractor.py

(_filter_names): Following up on r1150783, add a few more functions to the

not-available-on-windows list.

Attempt to fix the windows build in light of r1097488.

svn_wc__internal_walk_children() is now internal to libsvn_wc. But

entries-dump.c still wants to call that function, so we need to export it

on Windows. Here's hopin' this works...

* build/generator/extractor.py:

As above.

* build/generator/extractor.py:

(): remove an obsolete import of the 'string' module

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.
Revert wrong changes committed in r40417 and r40418. Also revert r40419.

  1. … 4 more files in changeset.
Attempt to fix building on Windows.

* build/generator/extractor.py

(_filter_names): Add svn_dbg__preamble and svn_dbg__printf.

* build/generator/extractor.py

Revert r38399. Even though constant is deprecated, it seems to have side

undocumented side effects breaking the build.

* build/generator/extractor.py

Use DATA to specify that a variable is exported.

(CONSTANT has been deprecated for ages).

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.
Delete trailing whitespace.

Follow-up to r26317 and r27598.

* build/generator/extractor.py:

* build/generator/gen_vcnet_vcproj.py:

* build/generator/gen_win.py:

* contrib/client-side/svnmerge/svnmerge-migrate-history-remotely.py:

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

* subversion/bindings/ctypes-python/csvn/wc.py:

* subversion/bindings/ctypes-python/examples/mucc.py:

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

* subversion/bindings/ctypes-python/test/localrepos.py:

* subversion/bindings/ctypes-python/test/remoterepos.py:

* subversion/bindings/ctypes-python/test/run_all.py:

* subversion/bindings/ctypes-python/test/svntypes.py:

* subversion/bindings/ctypes-python/test/wc.py:

* subversion/bindings/javahl/src/org/tigris/subversion/javahl/Operation.java:

* subversion/include/private/svn_auth_private.h:

* subversion/include/private/svn_sqlite.h:

* subversion/include/private/svn_wc_private.h:

* subversion/include/svn_auth.h:

* subversion/include/svn_checksum.h:

* subversion/include/svn_client.h:

* subversion/include/svn_cmdline.h:

* subversion/include/svn_dirent_uri.h:

* subversion/include/svn_path.h:

* subversion/include/svn_props.h:

* subversion/libsvn_client/commit_util.c:

* subversion/libsvn_client/copy.c:

* subversion/libsvn_client/deprecated.c:

* subversion/libsvn_client/export.c:

* subversion/libsvn_client/externals.c:

* subversion/libsvn_client/info.c:

* subversion/libsvn_client/merge.c:

* subversion/libsvn_client/mergeinfo.h:

* subversion/libsvn_client/ra.c:

* subversion/libsvn_client/repos_diff.c:

* subversion/libsvn_fs_base/bdb/checksum-reps-table.c:

* subversion/libsvn_fs_base/bdb/checksum-reps-table.h:

* subversion/libsvn_fs_base/bdb/miscellaneous-table.c:

* subversion/libsvn_fs_base/bdb/reps-table.c:

* subversion/libsvn_fs_base/dag.c:

* subversion/libsvn_fs_base/dag.h:

* subversion/libsvn_fs_base/err.h:

* subversion/libsvn_fs_base/fs.c:

* subversion/libsvn_fs_base/reps-strings.c:

* subversion/libsvn_fs_base/tree.c:

* subversion/libsvn_fs_base/tree.h:

* subversion/libsvn_fs_base/util/fs_skels.c:

* subversion/libsvn_fs_fs/dag.h:

* subversion/libsvn_fs_fs/fs_fs.h:

* subversion/libsvn_fs/fs-loader.c:

* subversion/libsvn_fs/fs-loader.h:

* subversion/libsvn_fs_fs/rep-cache.c:

* subversion/libsvn_fs_fs/rep-cache.h:

* subversion/libsvn_fs_fs/tree.c:

* subversion/libsvn_ra/compat.c:

* subversion/libsvn_ra_neon/log.c:

* subversion/libsvn_ra_neon/session.c:

* subversion/libsvn_ra_serf/log.c:

* subversion/libsvn_ra_serf/update.c:

* subversion/libsvn_ra_serf/util.c:

* subversion/libsvn_ra_serf/win32_auth_sspi.c:

* subversion/libsvn_repos/hooks.c:

* subversion/libsvn_repos/log.c:

* subversion/libsvn_repos/repos.h:

* subversion/libsvn_subr/checksum.c:

* subversion/libsvn_subr/cmdline.c:

* subversion/libsvn_subr/config_file.c:

* subversion/libsvn_subr/config_win.c:

* subversion/libsvn_subr/dirent_uri.c:

* subversion/libsvn_subr/dso.c:

* subversion/libsvn_subr/io.c:

* subversion/libsvn_subr/nls.c:

* subversion/libsvn_subr/simple_providers.c:

* subversion/libsvn_subr/sqlite.c:

* subversion/libsvn_subr/ssl_client_cert_pw_providers.c:

* subversion/libsvn_subr/stream.c:

* subversion/libsvn_subr/win32_crypto.c:

* subversion/libsvn_wc/adm_ops.c:

* subversion/libsvn_wc/diff.c:

* subversion/libsvn_wc/props.c:

* subversion/libsvn_wc/status.c:

* subversion/libsvn_wc/tree_conflicts.c:

* subversion/libsvn_wc/tree_conflicts.h:

* subversion/libsvn_wc/update_editor.c:

* subversion/libsvn_wc/wc_db.h:

* subversion/svn/cl.h:

* subversion/svndumpfilter/main.c:

* subversion/svnlook/main.c:

* subversion/svn/propedit-cmd.c:

* subversion/svn/propget-cmd.c:

* subversion/svnserve/main.c:

* subversion/svn/status-cmd.c:

* subversion/svn/tree-conflicts.c:

* subversion/svn/util.c:

* subversion/tests/cmdline/commit_tests.py:

* subversion/tests/cmdline/copy_tests.py:

* subversion/tests/cmdline/info_tests.py:

* subversion/tests/cmdline/log_tests.py:

* subversion/tests/cmdline/merge_tests.py:

* subversion/tests/cmdline/prop_tests.py:

* subversion/tests/cmdline/revert_tests.py:

* subversion/tests/cmdline/stat_tests.py:

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

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

* subversion/tests/cmdline/switch_tests.py:

* subversion/tests/cmdline/tree_conflict_tests.py:

* subversion/tests/cmdline/update_tests.py:

* subversion/tests/libsvn_repos/repos-test.c:

* subversion/tests/libsvn_subr/checksum-test.c:

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

* subversion/tests/libsvn_subr/path-test.c:

* subversion/tests/libsvn_subr/target-test.c:

* subversion/tests/libsvn_wc/tree-conflict-data-test.c:

* tools/examples/svnlook.py: Delete trailing whitespace.

  1. … 112 more files in changeset.
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().

  1. … 11 more files in changeset.
* build/generator/extractor.py

(_filter_names): Following up to r33305 added

svn_auth_gnome_keyring_version and svn_auth_kwallet_version

to the list of functions not available on Windows.

Move declarations of svn_auth_get_(gnome_keyring|kwallet)_* to svn_auth.h.

* subversion/include/svn_auth.h

(svn_auth_get_gnome_keyring_simple_provider,

svn_auth_get_gnome_keyring_ssl_client_cert_pw_provider,

svn_auth_get_kwallet_simple_provider,

svn_auth_get_kwallet_ssl_client_cert_pw_provider): Move to here from

svn_auth_dso.h.

* subversion/include/svn_auth_dso.h: Delete.

* subversion/libsvn_auth_gnome_keyring/gnome_keyring.c:

* subversion/libsvn_auth_kwallet/kwallet.cpp: Don't include "svn_auth_dso.h".

* build/generator/extractor.py

(_filter_names): Append svn_auth_get_*_provider.

  1. … 4 more files in changeset.
* build/generator/extractor.py

(_filter_names): Revert r32880, which accidentally overwrote a similar

change by Bert Huijben in r32873.

* build/generator/extractor.py

(_filter_names): Add svn_auth_get_keychain_ssl_client_cert_pw_provider,

which is not available on Windows.

* build/generator/extractor.py

(_filter_names): Following up to r32860 added

svn_auth_get_keychain_ssl_client_cert_pw_provider to the list of functions

not available on Windows.

Support building DLLs on Windows. This closes #1627.

Patch by: Vlad Georgescu <vgeorgescu@gmail.com>

rey4

(Tweaked by me.)

* build.conf:

(libsvn_client, libsvn_delta, libsvn_diff, libsvn_fs,

libsvn_ra, libsvn_repos, libsvn_subr, libsvn_wc):

Replace the msvc_static option with a msvc_export option containing the

list of public header files for that library.

(swig_client, swig_delta, swig_fs, swig_ra, swig_repos):

Add dependency on APR.

(svnserve): Add dependency on advapi32.lib

* build/generator/extractor.py:

Handle svn_ctype_table.

(_filter_names): Add svn_auth_get_keychain_simple_provider.

* build/generator/gen_win.py

(create_dll_target): New. Given a static library, it creates a new

dynamic library target that depends on that library.

(get_install_targets): Call create_dll_target for each target that has

msvc_export set.

(get_linked_win_depends): Scan the dependency tree in breadth-first

order, allowing us to prevent cases when both a dll and its

corresponding static library are linked into a project.

(get_def_file): Return a name that's in a generated directory, not

in the source tree.

* build/generator/vcnet_vcproj.ezt,

build/generator/msvc_dsp.ezt:

Add empty.c as a source file for dll projects, because Visual Studio

refuses to build a project's outputs if it has no source files.

* build/win32/empty.c: New file.

* gen-make.py:

Handle the new --disable-shared option.

* subversion/libsvn_ra/ra_loader.c

(svn_ra_dav_init, svn_ra_svn_init, svn_ra_local_init, svn_ra_serf_init):

Implement these here if their corresponding libraries are not linked in,

and have them return a "not implemented" error.

* subversion/libsvn_subr/ctype.c

(svn_ctype_table_internal): Rename from ctype_table. Remove 'static'

qualifier.

* win-tests.py:

Append the paths to our libraries' dlls to the PATH environment variable.

  1. … 9 more files in changeset.
For all executable Python scripts:

- set svn:executable if not already set.

- add/change shebang to '#!/usr/bin/env python' if not already that.

* build/generator/extractor.py

* build/strip-po-charset.py

* build/run_tests.py

* subversion/libsvn_subr/genctype.py

* tools/test-scripts/svntest/encode-base64.py

* tools/hook-scripts/log-police.py

* tools/bdb/erase-all-text-data.py

* tools/bdb/svn-bdb-view.py

* tools/bdb/whatis-rep.py

* tools/dev/mlpatch.py

* tools/dev/verify-history.py

* tools/dev/normalize-dump.py

* tools/examples/check-modified.py

* contrib/hook-scripts/case-insensitive.py

* contrib/hook-scripts/check-case-insensitive.py

* contrib/server-side/authz_svn_group.py

  1. … 15 more files in changeset.
Even more groundwork for Issue 1627 "create subversion DLLs on Windows."

Change extractor.py (the script that scans subversion public headers and

produces lists of functions that need to be exported from dlls) to work

with current headers and to output valid module definition files

(.def files).

* build/generator/extractor.py

(_funcs, extract_funcs):

make regular expression for finding function declarations a

little more tolerant

(scan_headers, headers_to_libraries):

removed. header information is now stored in build.conf

(global code):

change to output function list in .def format

Update copyright notices for 2004, resolving issue #1651.

(See also revision 8019, which fixed a couple of missed spots.)

  1. … 361 more files in changeset.
Add some code to associate extracted function names with the libraries

that they belong to.

* build/generator/extractor.py:

(scan_headers): new function to scan all headers

(headers_to_libraries): new dict to map header names to library names

(__main__): adjust the types of invocation

Final fixes for the function name extraction tool.

* build/generator/extractor.py:

(extract_funcs): restructure a bit to set a 'name' variable so that

we can run tests on it. check the name for emptiness (which also

tests for something wacky occuring with the regex match), and also

check for filtering the name against a forbidden list.

(_filter_names): the names to omit for whatever reason.

(__main__): don't print anything (a blank line) if there are no

function declarations in the header file.

An initial draft of a module to extract function names from our

headers. Comparing the output of this against running 'nm' on our

libraries to see the actual exports produces a *very* close list.

Additional refinements to close the gap will be committed RSN.

* build/generator/extractor.py: new module

(extract_funcs): new function to extract a list of function names

for a given header file.