summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up dbm documentation and prepare for the next phasewrowe2008-11-211-5/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719502 13f79535-47bb-0310-9956-ffa450edef68
* APU_DSO_BUILD can never be publicly defined.wrowe2008-11-2115-43/+64
| | | | | | | | | | | | | | Win32 and Netware were seeking the same effective result, grant them this with APU_DSO_MODULE_BUILD (a -D to ensure that at loadable-module-build-time, no #defines conflict.) Note ldap/ does not need this, it's strategy is a little different (explicit #define's up-front) while the name change of these defines leaves us lots of room to further build DBM and SSL providers using the same strategy. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719499 13f79535-47bb-0310-9956-ffa450edef68
* Ensure APU_DSO_BUILD on Unix is always defined, and binary [0 or 1]wrowe2008-11-211-6/+15
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719495 13f79535-47bb-0310-9956-ffa450edef68
* replace missing comment lost in r719466wrowe2008-11-211-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719469 13f79535-47bb-0310-9956-ffa450edef68
* Now, revert r719466. Must quit using commit -m ""wrowe2008-11-2111-189/+85
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719468 13f79535-47bb-0310-9956-ffa450edef68
* replace missing commentwrowe2008-11-2111-85/+189
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719467 13f79535-47bb-0310-9956-ffa450edef68
* Avert setting APU_DSO_BUILD if APR_HAS_DSO is false.wrowe2008-11-211-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719466 13f79535-47bb-0310-9956-ffa450edef68
* This was a complete mess; the correct answer is that the entire filewrowe2008-11-211-15/+9
| | | | | | | | | | is meaningless without APU_DSO_BUILD, all functions are internal. The correct "fix" to missing APR_HAS_DSO is to toggle off APU_DSO_BUILD within ./configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719451 13f79535-47bb-0310-9956-ffa450edef68
* Remove redundant and wrongly structured code, *driver would notwrowe2008-11-211-14/+9
| | | | | | | | | | | | | | have been initialized before setting a corrupt value into the drivers hash. Even if re->init is not called for, this code would be better structured + if (rv == APR_SUCCESS && (*driver)->init) { but I believe we must init in the context of apr (not simply the driver's initialization logic). git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719448 13f79535-47bb-0310-9956-ffa450edef68
* * hooks/apr_hooks.cpquerna2008-11-031-0/+4
| | | | | | | (apr_hook_sort_all): If s_aHooksToSort hasn't been used yet, create it inside sort all. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@710107 13f79535-47bb-0310-9956-ffa450edef68
* * misc/apr_thread_pool.cpquerna2008-10-301-12/+15
| | | | | | | (apr_thread_pool_create): Only set the output variable if we were successful. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@709135 13f79535-47bb-0310-9956-ffa450edef68
* dbd odbc driver - don't segfault when params is NULL.tdonovan2008-10-241-15/+52
| | | | | | | | | | | Empty params are now OK. connect will fail with a more useful message. Changed transaction processing to be like the other dbd drivers. After an error in a transaction, all queries/selects will fail until end_transaction unless mode is set to APR_DBD_TRANSACTION_IGNORE_ERRORS git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@707611 13f79535-47bb-0310-9956-ffa450edef68
* Suppress pgsql column-out-of-range warningniq2008-10-152-1/+9
| | | | | | | PR 46012 - patch from Michiel van Loon. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@704986 13f79535-47bb-0310-9956-ffa450edef68
* Remove the len offset from apr_crypto_block_encrypt, it is a holdover from ↵minfrin2008-09-101-1/+1
| | | | | | | | | previous code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@693969 13f79535-47bb-0310-9956-ffa450edef68
* Move APU_HAVE_CRYPTO from private apu_config.h to public apu.h.minfrin2008-09-096-6/+18
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@693436 13f79535-47bb-0310-9956-ffa450edef68
* Ignore testxmldummy* files generated by the testxml test.minfrin2008-09-070-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@692951 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_crypto implementations for OpenSSL and Mozilla NSS. Add a unitminfrin2008-09-0712-6/+2356
| | | | | | | | test to verify the interoperability of the two modules. Builds default to disabled unless explicitly enabled. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@692949 13f79535-47bb-0310-9956-ffa450edef68
* Add the apr_crypto interface, a rewrite of the earlier apr_ssl code,minfrin2008-09-075-0/+1316
| | | | | | | | | | | based on the modular dso interface used for dbd and ldap. Initially, the interface supports symmetrical encryption and decryption. The purpose of the interface is to offer portable and interoperable access to basic crypto using the native crypto libraries present on each platform. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@692929 13f79535-47bb-0310-9956-ffa450edef68
* Expose the apr_dso_handle_t when calling apu_dso_load, so that theminfrin2008-09-075-9/+20
| | | | | | | | | crypto code can call apr_dso_error and find out why the dso load failed. The existing LDAP and DBD code ignores this, as their APIs do not yet allow for errors to be returned. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@692924 13f79535-47bb-0310-9956-ffa450edef68
* Fix a segfault in the DBD testcase when the DBD modules were not present.minfrin2008-09-062-7/+22
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@692751 13f79535-47bb-0310-9956-ffa450edef68
* Update the RPM spec file to depend on the bzip2 binary instead of the gzipminfrin2008-08-301-7/+92
| | | | | | | | | binary. Include the formal path to the source, to match the Fedora spec file. Create separate discrete packages corresponding to the DBD and LDAP modules, as per Bojan Smojver's changes to the Fedora spec file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@690551 13f79535-47bb-0310-9956-ffa450edef68
* Static builds require linking against odbc stillwrowe2008-08-151-2/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@686379 13f79535-47bb-0310-9956-ffa450edef68
* Use of pre_cleanups is not the default for reslists.bojan2008-08-071-0/+2
| | | | | | Explicitly set use of pre_cleanup. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683738 13f79535-47bb-0310-9956-ffa450edef68
* Add API that allows to setup the cleanup order after the reslist was createdmturk2008-08-072-0/+31
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683526 13f79535-47bb-0310-9956-ffa450edef68
* Use default pool cleanup order for reslist create.mturk2008-08-071-8/+2
| | | | | | | Revert r677505 and r677523. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683524 13f79535-47bb-0310-9956-ffa450edef68
* Export internal reslist_maint as public apr_reslist_maintainmturk2008-08-072-3/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683523 13f79535-47bb-0310-9956-ffa450edef68
* Oops. Fix copy/paste typomturk2008-08-071-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683520 13f79535-47bb-0310-9956-ffa450edef68
* Destroy already created resources if create failsmturk2008-08-071-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683517 13f79535-47bb-0310-9956-ffa450edef68
* Revert r683191. Any blocking code should be done before invalidate to deal ↵mturk2008-08-071-2/+1
| | | | | | with serialization. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683515 13f79535-47bb-0310-9956-ffa450edef68
* Do not serialize destructor calls.mturk2008-08-061-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683191 13f79535-47bb-0310-9956-ffa450edef68
* Document that single threaded reslist fix is PR 24325.bojan2008-07-281-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@680527 13f79535-47bb-0310-9956-ffa450edef68
* Implement resource list when threads are unavailable.bojan2008-07-283-8/+63
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@680514 13f79535-47bb-0310-9956-ffa450edef68
* Better enforce reslist limits.bojan2008-07-281-1/+2
| | | | | | Values cannot be negative and hmax must not be zero. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@680511 13f79535-47bb-0310-9956-ffa450edef68
* Avoid compiler warning of unused mc_conn_destruct().bojan2008-07-271-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@680209 13f79535-47bb-0310-9956-ffa450edef68
* Fix parsing of rusage in stats data.bojan2008-07-251-5/+1
| | | | | | | PR 44587. Patch by Bryant Scott <bryantscott gmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@679637 13f79535-47bb-0310-9956-ffa450edef68
* Round out 675817 by avoiding a skip of a 'special' last elementwrowe2008-07-231-0/+4
| | | | | | | APU_DSO_LIBDIR where none existed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678982 13f79535-47bb-0310-9956-ffa450edef68
* Document MySQL DBD driver change.bojan2008-07-221-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678654 13f79535-47bb-0310-9956-ffa450edef68
* Give MySQL DBD driver reconnect option.bojan2008-07-222-9/+16
| | | | | | PR 45407. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678653 13f79535-47bb-0310-9956-ffa450edef68
* Fix missing $.bojan2008-07-211-1/+1
| | | | | | | Patch by Michael Vishchers <mvishchers psi.de>. PR 45399. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678366 13f79535-47bb-0310-9956-ffa450edef68
* Close memory leak.bojan2008-07-201-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678323 13f79535-47bb-0310-9956-ffa450edef68
* * apr_pool_pre_cleanup_register has no child_cleanup parameterrpluem2008-07-171-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@677523 13f79535-47bb-0310-9956-ffa450edef68
* Use apr_pool_pre_cleanup_register for reslist cleanupmturk2008-07-171-2/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@677505 13f79535-47bb-0310-9956-ffa450edef68
* Unlock list mutex before destroying it.bojan2008-07-151-0/+1
| | | | | | | Manual page for pthread_mutex_destroy() states: Attempting to destroy a locked mutex results in undefined behavior. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@676800 13f79535-47bb-0310-9956-ffa450edef68
* There is only one pool argument to apr_reslist_create().bojan2008-07-141-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@676472 13f79535-47bb-0310-9956-ffa450edef68
* When searching for DSOs, look in apr-util-APU_MAJOR_VERSION subdirectorybojan2008-07-112-0/+17
| | | | | | | of each component of APR_DSOPATH. PR 45327 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@675816 13f79535-47bb-0310-9956-ffa450edef68
* Fix build with LDAP on FreeBSD.bojan2008-07-081-0/+10
| | | | | | Patch by Philip M. Gollucci <pgollucci p6m7g8.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@675007 13f79535-47bb-0310-9956-ffa450edef68
* Fix build failure when --disable-util-dso is used.bojan2008-07-071-0/+2
| | | | | | PR45320. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@674637 13f79535-47bb-0310-9956-ffa450edef68
* Detection of PostgreSQL may fail if LIBS contains all libs returned bybojan2008-07-022-12/+63
| | | | | | pg_config. Use it only as the last resort. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@673299 13f79535-47bb-0310-9956-ffa450edef68
* Document PostgreSQL row counting fix.bojan2008-06-301-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@672928 13f79535-47bb-0310-9956-ffa450edef68
* DBD rows are counted from one, but in PostgreSQL they start from zero.bojan2008-06-301-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@672711 13f79535-47bb-0310-9956-ffa450edef68