mod_dav_fs.c

Checkout Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix use of StateDir directive after r1852982:

* server/core.c (reset_config): Rename from reset_config_defines;

tie core_state_dir to pconf lifetime in this cleanup.

(core_pre_config): Adjust accordingly.

* modules/md/mod_md_config.c (md_config_post_config): Pick up base_dir

from statedir in post-config phase so StateDir can influence it.

* modules/dav/fs/mod_dav_fs.c (dav_fs_create_server_config): Don't

init lockdb_path here. (dav_fs_post_config): New function; set

lockdb_path based on configured statedir.

  1. … 2 more files in changeset.
* modules/dav/fs/mod_dav_fs.c (dav_fs_create_server_config): Use

statedir-relative default lock database path.

Third try, follows up 1694901 and 1694902

MinGW32 and MSVC both define WIN32

MSVC and Netware do not use autoconf

followup to r1694901, it was too greedy

ap_config_auto.h is not used/created in non-Autoconf compilers like MSVC

* mod_dav_fs: set default value of DavLockDB using installation layout

  1. … 3 more files in changeset.
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take

advantage of per-module loglevels

  1. … 169 more files in changeset.
update license header text
  1. … 316 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 497 more files in changeset.
Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 522 more files in changeset.
general property cleanup

  1. … 712 more files in changeset.
fix name of The Apache Software Foundation

  1. … 361 more files in changeset.
apply Apache License, Version 2.0

  1. … 262 more files in changeset.
update license to 2004.

  1. … 281 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.

Detabbify. With extreme prejudice.

  1. … 8 more files in changeset.

Eliminate potential ap_server_root_relative segfaults, with the input

of Jeff Trawick's style changes to the first patches. Doesn't include

the fixes to ssl [more complex], and we won't trap errors that involve

ap_serverroot, since we presume that was normalized on the way in.

Therefore, testing ap_server_root_relative(DEFAULT_FOO) cases

should never become necessary.

  1. … 17 more files in changeset.
Update our copyright for this year.

  1. … 260 more files in changeset.

Canonicalization will now occur on all sub_req_lookup_file() calls,

and the ap_server_root_relative() will handle canonicalization as well.

  1. … 1 more file in changeset.
Update copyright to 2001

  1. … 205 more files in changeset.

The big change. This is part 3 of the apr-util symbols rename, please

see the first commit of srclib/apr-util/include (cvs apr-util/include)

for the quick glance at symbols changed.

  1. … 85 more files in changeset.

Provide apr_pool_t arg to register_hooks, since anything they do in that

step -must- be done with a pool that will not outlive the cmd pool, from

which they may have been dynamically loaded.

  1. … 47 more files in changeset.
adjust remaining modules to use the new handler hook method (Alan Edwards)

bring back the old handler prototype by reusing r->handler (dougm)

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 29 more files in changeset.
Get dav-fs building again.

Here it is, mod_dav should build quite nicely on Win32 (two last mild

warnings to contend with.)

  1. … 6 more files in changeset.
clean up the provider stuff some more: don't allow pick-and-choose of

pieces, but just a complete provider. they aren't really separable anyways.

  1. … 4 more files in changeset.
The "get resource" functionality is no longer a hook. Instead, providers

register themselves by name with mod_dav. The user configures a particular

provider for a location/directory. mod_dav looks up that provider and uses

it explicitly. (the prior behavior simply asked "anybody" to satisfy the

get_resource, but it did not mesh well with user-specified providers)

*) add providers.c to deal with provider registration

*) rejigger mod_dav.c to toss the hook and use the provider

*) clean out dav/fs/ of the old scheme and have it register itself

  1. … 6 more files in changeset.
prefix libapr functions and types with apr_

  1. … 143 more files in changeset.
complete the removal of the old dav_dyn crap. dav plugins are now

implemented entirely through standard Apache modules, hooks, and some

additional registration.

  1. … 6 more files in changeset.
new liveprop namespace registration and lookup. modules register each

namespace they will use, which then receives a process-wide index.

get rid of old dav_liveprop_uris global (and minor cleaning in dav_dyn);

encapsulate liveprop handling in liveprop.c.

do not build/use an ns_map; use dav_get_liveprop_ns_index().

  1. … 6 more files in changeset.