Checkout Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Doc string tweaks.

* subversion/include/svn_dso.h

(svn_dso_initialize): Re-document in terms of svn_dso_initialize2().

(svn_dso_load): Show the pointer is deferenced.

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.
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.
Adjust a bunch of our public header files:

- make sure everything the header needs is included

- make sure nothing is included which is NOT needed

Added an exception to svn_types.h: it now explicitly includes svn_error.h

since Everybody needs that thing. We go ahead and make it easy for them,

even though that is counter-philosophy.

After altering the header files, some .c files in our codebase would not

compile -- they used stuff that they did not explicitly include. Thus, a

goodly number of .c files were updated, too.

* subversion/libsvn_ra/wrapper_template.h:

* subversion/libsvn_ra/deprecated.c:

* subversion/libsvn_ra/compat.c:

* subversion/libsvn_subr/iter.c:

* subversion/libsvn_subr/cmdline.c:

* subversion/libsvn_subr/ssl_client_cert_pw_providers.c:

* subversion/libsvn_subr/error.c:

* subversion/libsvn_subr/auth.c:

* subversion/libsvn_subr/opt.c:

* subversion/libsvn_subr/checksum.c:

* subversion/libsvn_subr/compat.c:

* subversion/libsvn_subr/sha1.c:

* subversion/libsvn_subr/deprecated.c:

* subversion/libsvn_subr/ssl_server_trust_providers.c:

* subversion/mod_dav_svn/activity.c:

* subversion/mod_dav_svn/reports/log.c:

* subversion/tests/libsvn_fs/fs-test.c:

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

* subversion/svn/list-cmd.c:

* subversion/svn/changelist-cmd.c:

* subversion/svn/log-cmd.c:

* subversion/svn/conflict-callbacks.c:

* subversion/libsvn_fs_base/dag.c:

* subversion/libsvn_fs_base/util/fs_skels.c:

* subversion/include/svn_dirent_uri.h:

* subversion/include/svn_error_codes.h:

* subversion/include/svn_fs.h:

* subversion/include/svn_diff.h:

* subversion/include/svn_sorts.h:

* subversion/include/svn_mergeinfo.h:

* subversion/include/svn_base64.h:

* subversion/include/svn_dso.h:

* subversion/include/svn_ra_svn.h:

* subversion/include/svn_repos.h:

* subversion/include/svn_delta.h:

* subversion/include/svn_path.h:

* subversion/include/svn_subst.h:

* subversion/include/svn_xml.h:

* subversion/include/svn_props.h:

* subversion/include/svn_iter.h:

* subversion/include/svn_types.h:

* subversion/include/svn_config.h:

* subversion/include/svn_string.h:

* subversion/include/svn_io.h:

* subversion/include/svn_wc.h:

* subversion/include/svn_cmdline.h:

* subversion/include/svn_client.h:

* subversion/include/svn_user.h:

* subversion/include/svn_hash.h:

* subversion/include/svn_md5.h:

* subversion/include/svn_error.h:

* subversion/include/svn_pools.h:

* subversion/include/private/svn_log.h:

* subversion/include/svn_time.h:

* subversion/include/svn_utf.h:

* subversion/include/svn_auth.h:

* subversion/include/svn_ra.h:

* subversion/include/svn_opt.h:

* subversion/include/svn_checksum.h:

* subversion/libsvn_wc/deprecated.c:

* subversion/libsvn_wc/util.c:

* subversion/libsvn_wc/merge.c:

* subversion/libsvn_wc/tree_conflicts.c:

* subversion/libsvn_client/list.c:

* subversion/libsvn_client/log.c:

* subversion/libsvn_ra_neon/util.c:

* subversion/libsvn_ra_neon/log.c:

* subversion/libsvn_repos/deprecated.c:

* subversion/libsvn_fs_fs/tree.c:

* subversion/libsvn_fs_fs/fs_fs.c:

(): adjust #include statements appropriately

  1. … 69 more files in changeset.
Mark deprecated functions with SVN_DEPRECATED.

* subversion/include/svn_types.h

(SVN_DEPRECATED): Define.

* subversion/include/svn_auth.h:

* subversion/include/svn_base64.h:

* subversion/include/svn_client.h:

* subversion/include/svn_cmdline.h:

* subversion/include/svn_config.h:

* subversion/include/svn_delta.h:

* subversion/include/svn_diff.h:

* subversion/include/svn_dso.h:

* subversion/include/svn_error.h:

* subversion/include/svn_fs.h:

* subversion/include/svn_hash.h:

* subversion/include/svn_io.h:

* subversion/include/svn_opt.h:

* subversion/include/svn_ra.h:

* subversion/include/svn_ra_svn.h:

* subversion/include/svn_repos.h:

* subversion/include/svn_subst.h:

* subversion/include/svn_utf.h:

* subversion/include/svn_wc.h: Mark deprecated functions with SVN_DEPRECATED.

* www/hacking.html

  (deprecation): Update example.

Review by: blair

julianfoad

  1. … 20 more files in changeset.
Fix code formatting in some headers.

* subversion/include/svn_auth.h:

* subversion/include/svn_base64.h:

* subversion/include/svn_client.h:

* subversion/include/svn_config.h:

* subversion/include/svn_delta.h:

* subversion/include/svn_dso.h:

* subversion/include/svn_error.h:

* subversion/include/svn_fs.h:

* subversion/include/svn_hash.h:

* subversion/include/svn_io.h:

* subversion/include/svn_ra.h:

* subversion/include/svn_ra_svn.h:

* subversion/include/svn_repos.h:

* subversion/include/svn_utf.h: Place function types on separate lines.

Suggested by: julianfoad

  1. … 13 more files in changeset.
* subversion/include/svn_dso.h

(svn_dso_load): s/1.4.0/1.4/

* subversion/include/private/svn_dep_compat.h

(APR_VERSION_AT_LEAST, SERF_VERSION_AT_LEAST): s/1.5.0/1.5/

  1. … 1 more file in changeset.
Doc string fix.

* subversion/include/svn_dso.h

(svn_dso_initialize2): 1.6.0 -> 1.6

(svn_dso_initialize): 1.4.0 -> 1.4, Fix the backward compatibility

specification to 1.5 instead of 1.4.

Suggested by: hwright

* subversion/include/svn_dso.h

(svn_dso_initialize2):

List before svn_dso_initialize() to be consistent with the listing

of all our other deprecated APIs.

* subversion/include/svn_dso.h:

Coding style fix.

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.
More svn:eol-style fixes.

* subversion/include/svn_dso.h,

subversion/include/svn_user.h,

subversion/include/private/svn_compat.h,

subversion/include/private/svn_wc_private.h,

subversion/include/private/ra_svn_sasl.h,

subversion/include/private/svn_atomic.h,

subversion/bindings/java/javahl/native/ProgressListener.h,

subversion/bindings/java/javahl/native/CopySources.h,

subversion/bindings/java/javahl/native/DiffSummaryReceiver.h,

subversion/libsvn_ra_serf/ra_serf.h,

subversion/libsvn_delta/debug_editor.h:

Set the svn:eol-style property to 'native'.

  1. … 10 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.