summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the correct location for installing apr-2 headers (same layout as on nixes)Mladen Turk2021-12-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895528 13f79535-47bb-0310-9956-ffa450edef68
* libapr.rc already appends -2 suffix to DLL_NAMEMladen Turk2021-12-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895527 13f79535-47bb-0310-9956-ffa450edef68
* Add support for building sqlite3 dbd module ... It compiles and pass testsMladen Turk2021-12-032-3/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895526 13f79535-47bb-0310-9956-ffa450edef68
* Use standard configure options for dbd ODBCMladen Turk2021-12-032-8/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895523 13f79535-47bb-0310-9956-ffa450edef68
* Fix testcrypto ensuring it runs only compiled driversMladen Turk2021-12-031-51/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895522 13f79535-47bb-0310-9956-ffa450edef68
* Change rest of variable append directivesMladen Turk2021-12-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895520 13f79535-47bb-0310-9956-ffa450edef68
* Fix module names and use CMake's LIST APPEND instead using SET(foo ${foo} ...Mladen Turk2021-12-031-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895519 13f79535-47bb-0310-9956-ffa450edef68
* TAB police ... get rid of missmatch of TAB and spaces through the codeMladen Turk2021-12-022-95/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895517 13f79535-47bb-0310-9956-ffa450edef68
* TAB police ... get rid of missmatch of TAB and spaces through the codeMladen Turk2021-12-025-200/+200
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895516 13f79535-47bb-0310-9956-ffa450edef68
* Add option to create 'minimal' build without any third-party library ↵Mladen Turk2021-12-021-6/+10
| | | | | | dependencies. This is usable for projects like TomcatNative that do not require APU xml, dbd, or xlate API. Turned OFF by default git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895515 13f79535-47bb-0310-9956-ffa450edef68
* Fix message; The LOCATION property should not be read from target gen_test_charMladen Turk2021-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895514 13f79535-47bb-0310-9956-ffa450edef68
* Fix xml test suite. External parsers do not return APR error codesMladen Turk2021-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895513 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of check for old versions that cannot be run anyhowMladen Turk2021-12-023-35/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895512 13f79535-47bb-0310-9956-ffa450edef68
* Stage 3 in cleaning win95 code ... cleanup headersMladen Turk2021-12-023-85/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895511 13f79535-47bb-0310-9956-ffa450edef68
* Stage 2 in cleaning win95 code ... cleanup filesysMladen Turk2021-12-026-538/+213
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895510 13f79535-47bb-0310-9956-ffa450edef68
* Stage 1 in cleaning win95 code ... cleanup utilsMladen Turk2021-12-024-264/+117
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895509 13f79535-47bb-0310-9956-ffa450edef68
* Stage 3 in dismantling _WIN32_WCE ... cleanup codeMladen Turk2021-12-0220-270/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895508 13f79535-47bb-0310-9956-ffa450edef68
* Stage 2 in dissmantling _WIN_32_WCE ... cleanup private header filesMladen Turk2021-12-024-18/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895507 13f79535-47bb-0310-9956-ffa450edef68
* Stage 1 in dissmantling _WIN_32_WCE ... cleanup header filesMladen Turk2021-12-023-72/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895506 13f79535-47bb-0310-9956-ffa450edef68
* Add missing config directories returned by findIconv moduleMladen Turk2021-12-021-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895503 13f79535-47bb-0310-9956-ffa450edef68
* Add support for APU_HAS_ICONV optionMladen Turk2021-12-023-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895501 13f79535-47bb-0310-9956-ffa450edef68
* Add missing header for getpid()Mladen Turk2021-12-022-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895498 13f79535-47bb-0310-9956-ffa450edef68
* Copy missing file so that testfnmatch passMladen Turk2021-12-021-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895480 13f79535-47bb-0310-9956-ffa450edef68
* Use global variable instead repeating the same name throgh CMakeLists.txtMladen Turk2021-12-011-27/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895471 13f79535-47bb-0310-9956-ffa450edef68
* Fix find package. Cmake has findEXPAT not findExpatMladen Turk2021-12-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895470 13f79535-47bb-0310-9956-ffa450edef68
* Print if OpenSSL was found and use the same dll prefix for modules as for ↵Mladen Turk2021-12-011-6/+7
| | | | | | apr itself git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895468 13f79535-47bb-0310-9956-ffa450edef68
* Use the same dll prefix for modules as for apr itselfMladen Turk2021-12-011-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895466 13f79535-47bb-0310-9956-ffa450edef68
* Fix remaining change when apr_filetype_e was addedMladen Turk2021-12-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895465 13f79535-47bb-0310-9956-ffa450edef68
* Fix pointer arithmetic for 'void *'Mladen Turk2021-12-011-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895464 13f79535-47bb-0310-9956-ffa450edef68
* apr_sleep: use nanosleep() when available.Yann Ylavic2021-11-262-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895361 13f79535-47bb-0310-9956-ffa450edef68
* Add missing bits from CVE-2021-35940 applied to 1.7.x branchMladen Turk2021-11-211-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895239 13f79535-47bb-0310-9956-ffa450edef68
* Use enum instead multiple booleansMladen Turk2021-11-193-17/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895181 13f79535-47bb-0310-9956-ffa450edef68
* Use random bytes like with named pipes as socket pipe identifierMladen Turk2021-11-191-8/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895179 13f79535-47bb-0310-9956-ffa450edef68
* Fix typoMladen Turk2021-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895178 13f79535-47bb-0310-9956-ffa450edef68
* Sync WIN32 local function names with 1.7.x branch -- no functional changeMladen Turk2021-11-193-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895177 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1895106: Use less expensive atomics for wakeup.Yann Ylavic2021-11-198-81/+119
| | | | | | | | | | | | | | | | | | If pipe writers (wakeup) put a single byte until consume it's consumed by the reader (drain), an atomic cas for the writers (still) and an atomic (re)set for the reader is enough (not need to cas on the reader side). This requires that the reader never blocks on read though (e.g. spurious return from poll), so (re)make the read side on the pipe non-blocking (finally). Since synchronous non-blocking read is not a thing for Windows' Readfile(), add a ->socket flag this arch's to apr_file_t (like the existing ->pipe one) which file_socket_pipe_create() will set to make apr_file_read/write() handle non-blocking (nor overlapped) socket pipes with WSARecv/Send(). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895175 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error for C compilers that do not allow variable declarations ↵Mladen Turk2021-11-171-2/+4
| | | | | | after npn-declaration instructions git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895116 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1895106: now we want blocking reads on unix too so revert ↵Yann Ylavic2021-11-171-4/+2
| | | | | | r1894914. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895111 13f79535-47bb-0310-9956-ffa450edef68
* Fix drain wakeup pipe issue when multiple threads call ↵Mladen Turk2021-11-179-23/+35
| | | | | | apr_pollset_wakeup/apr_pollcb_wakeup for the same pollset filling up drain pipe. Use atomics so that wakeup call is noop if some other thread allready done this git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895106 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1894914: non-blocking wakeup pipe reads on Windows too.Yann Ylavic2021-11-101-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894917 13f79535-47bb-0310-9956-ffa450edef68
* poll: Fix possible blocking when draining the wakeup pipe.Yann Ylavic2021-11-101-2/+3
| | | | | | | | | | | | | apr_poll_drain_wakeup_pipe() can block if exactly 512 bytes (or multiple thereof) are available on the drained pipe, fix this by setting read end of the pipe nonblocking (the write end is still blocking). Submitted by: Mihaly Szjatinya <mihaly.szjatinya nxlog.org> Reviewed by: ylavic git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894914 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1894621: restore apr_atomic_init::apr__atomic_generic64_init().Yann Ylavic2021-11-031-1/+1
| | | | | | | | | Even if apr__atomic_generic64_init() is currently a noop when !APR_HAS_THREADS, it may change later without apr_atomic_init() noticing (thanks Rüdiger). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894719 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic: Fix load/store for weak memory ordering architectures.Yann Ylavic2021-10-293-16/+73
| | | | | | | | | | | | | | | | Volatile access prevents compiler reordering of load/store but it's not enough for weakly ordered archs like ARM32 and PowerPC[64]. While __atomic builtins provide load and store, __sync builtins don't so let's use an atomic add of zero for the former and atomic exchange for the latter. The assembly code for PowerPC was not correct either, fix apr_atomic_read32() and apr_atomic_set32() and add the necessary memory barriers for the others. PR 50586. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894622 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic: Use __atomic builtins when available.Yann Ylavic2021-10-294-21/+120
| | | | | | | | | | Unlike Intel's atomic builtins (__sync_*), the more recent __atomic builtins provide atomic load and store for weakly ordered architectures like ARM32 or powerpc[64], so use them when available (gcc 4.6.3+). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894621 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1894618.Yann Ylavic2021-10-2910-230/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894619 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic: Use __atomic builtins when available.Yann Ylavic2021-10-2910-37/+230
| | | | | | | | | | Unlike Intel's atomic builtins (__sync_*), the more recent __atomic builtins provide atomic load and store for weakly ordered architectures like ARM32 or powerpc[64], so use them when available (gcc 4.6.3+). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894618 13f79535-47bb-0310-9956-ffa450edef68
* Remove begin.Graham Leggett2021-10-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894553 13f79535-47bb-0310-9956-ffa450edef68
* apr_brigade_split_boundary: Provide a memmem implementation on platforms thatGraham Leggett2021-10-256-0/+36
| | | | | | | do not have one. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894551 13f79535-47bb-0310-9956-ffa450edef68
* apr_brigade_split_boundary: Make sure the ignore offset is reset afterGraham Leggett2021-10-211-0/+4
| | | | | | | each sending of a bucket downstream. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894446 13f79535-47bb-0310-9956-ffa450edef68
* apr_brigade_split_boundary: Use memmem and memcmp for comparison, allowingGraham Leggett2021-10-211-6/+6
| | | | | | | binary boundaries. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894441 13f79535-47bb-0310-9956-ffa450edef68