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

Changeset 879634 is being indexed.

* subversion/libsvn_subr/dso.c

(svn_dso_initialize2): Wrap declaration of 'status' variable in

#if APR_HAS_THREADS, as all code that uses it is also wrapped in it.

Avoids 'unused variable' warning during compilation with non-threaded APR.

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.
When SVN_DEBUG is defined, print error messages containing details about

failures of dynamic loading of libraries performed by apr_dso_load().

* subversion/libsvn_subr/dso.c

(svn_dso_load): Print message retrieved by apr_dso_error().

* subversion/libsvn_subr/dso.c

(svn_dso_initialize): Move deprecated function to ...

* subversion/libsvn_subr/deprecated.c

(svn_dso_initialize): ... this file.

  1. … 1 more file 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.
Compiler warning cleanups.

* subversion/include/svn_wc.h:

(svn_wc_operation_t): removing trailing comma in enumeration

* subversion/svn/cl.h:

(svn_cl__accept_t): removing trailing comma in enumeration

* subversion/libsvn_subr/sqlite.c:

(svn_sqlite__open): move flags declaration into an inner-block inside

the #ifdef so that compilations against earlier version of SQLite

don't see an unused local variable.

* subversion/libsvn_subr/cache-inprocess.c:

(svn_cache_create_inprocess): remove NULL assignments since the wrapper

structure is created with apr_pcalloc(). the form of the assignment

created weird typing that a strict ISO compilation warned about.

* subversion/libsvn_subr/dso.c:

(svn_dso_initialize, svn_dso_initialize2): add void to declaration.

  1. … 4 more files in changeset.
Bump 'svn_dso_initialize' to 'svn_dso_initialize2' which has a

return type of 'svn_error_t *' with a reason of error.

Fix callers of 'svn_dso_initialize' to make use 'svn_dso_initialize2'

* subversion/include/svn_dso.h

(svn_dso_initialize2): New prototype.

(svn_dso_initialize): Deprecated.

* subversion/libsvn_subr/dso.c

(svn_dso_initialize2): New function.

(svn_dso_initialize): Make use of new 'svn_dso_initialize2' and ignore

error if any.

(svn_dso_load): Make use of 'svn_dso_initialize2' instead of

'svn_dso_initialize'.

* subversion/mod_dav_svn/mod_dav_svn.c

(init_dso):

* subversion/libsvn_subr/cmdline.c

(svn_cmdline_init): Make use of svn_dso_initialize2

instead of 'svn_dso_initialize'.

Suggested by: stsp

blair

  1. … 3 more files in changeset.
Fix 'svn_dso_initialize' which was *silently* failing to create lock

and causing later accessors to fail.

* subversion/libsvn_subr/dso.c

(svn_dso_initialize): When 'apr_thread_mutex_create' is not successful,

abort.

Reviewed by: stsp

Fix several files with svn:eol-style missing.

* subversion/libsvn_subr/constructors.c,

subversion/libsvn_subr/user.c,

subversion/libsvn_subr/atomic.c,

subversion/libsvn_subr/compat.c,

subversion/libsvn_subr/dso.c,

subversion/libsvn_client/util.c,

subversion/libsvn_client/compat_providers.c,

subversion/libsvn_client/repos_diff_summarize.c,

subversion/libsvn_ra_serf/merge.c,

subversion/libsvn_ra_serf/serf.c,

subversion/libsvn_ra_serf/xml.c,

subversion/libsvn_ra_serf/propfind_buckets.c,

subversion/libsvn_ra_serf/locks.c,

subversion/libsvn_ra_serf/getlocks.c,

subversion/libsvn_ra_serf/util.c,

subversion/libsvn_ra_serf/getdate.c,

subversion/libsvn_ra_serf/blame.c,

subversion/libsvn_ra_serf/log.c,

subversion/libsvn_ra_serf/update.c,

subversion/libsvn_ra_serf/property.c,

subversion/libsvn_ra_serf/commit.c,

subversion/libsvn_ra_serf/getlocations.c,

subversion/libsvn_ra_serf/options.c,

subversion/libsvn_ra_serf/replay.c,

subversion/mod_dav_svn/mirror.c,

subversion/mod_dav_svn/reports/replay.c,

subversion/tests/libsvn_subr/error-test.c,

subversion/libsvn_ra_svn/streams.c,

subversion/libsvn_ra_svn/sasl_auth.c,

subversion/libsvn_ra_svn/simple_auth.c,

subversion/libsvn_delta/debug_editor.c,

subversion/libsvn_ra_dav/replay.c,

subversion/svnserve/sasl_auth.c,

tools/server-side/svnauthz-validate.c,

contrib/server-side/mod_dontdothat/mod_dontdothat.c:

Set the svn:eol-style=native.

  1. … 34 more files in changeset.
Fix compile error when APR_HAS_DSO is not defined (e.g. on RISC OS).

* subversion/include/svn_dso.h

* subversion/libsvn_subr/dso.c

(svn_dso_load): Only declare the function when APR_HAS_DSO is

defined (required because apr_dso_handle_t also won't be

available).

Patch by: Alex Waugh <alex@alexwaugh.com>

(Tweaked by me.)

Review by: rooneg

  1. … 1 more file in changeset.
Follow up to r20996 with some cleanups.

* subversion/include/svn_dso.h

(svn_dso_initialize): Make void argument explicit.

* subversion/libsvn_subr/dso.c

(NOT_THERE): Cast to void * to avoid warnings about comparing different

types of pointers.

  1. … 1 more file in changeset.
Make --enable-dso work in the face of global bdb environment caching.

Really this time.

This adds a custom wrapper for APR's dso loading code, which loads the

DSOs into a global pool that will persist long enough that we don't risk

having the DSO unloaded before any cleanup functions it registered are

called. Note that this only works if the new initialization function is

called early enough, otherwise we are still vulnerable to the problem.

Note that I have marked the new functions as being added in 1.4.0, if we

do not backport this revision to 1.4.x then this will have to be changed.

* subversion/include/svn_dso.h: New header.

* subversion/libsvn_subr/dso.c: New function, holds the DSO wrapper code.

* subversion/libsvn_ra/ra_loader.c

Stop including apr_dso.h. Include svn_dso.h.

(load_ra_module): Use svn_dso_load instead of apr_dso_load.

* subversion/libsvn_fs/fs-loader.c

Remove include of apr_dso.h, add include of svn_dso.h.

(load_module): Use svn_dso_load, not apr_dso_load.

* subversion/libsvn_subr/cmdline.c

Include svn_dso.h.

(svn_cmdline_init): Call svn_dso_initialize.

* subversion/mod_dav_svn/mod_dav_svn.c

Include svn_dso.h.

(init_dso): New hook function.

(register_hooks): Register init_dso to be called as early as possible.

  1. … 5 more files in changeset.