summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge r1906864 from trunk:1.6.xivan2023-01-213-0/+3
| | | | | | .github/workflows: Enable CI builds for tags. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1906867 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1906751 from 1.8.x:ivan2023-01-171-2/+4
| | | | | | | | | CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED first directive as recommended by CMake documentation [1]. [1] https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1906753 13f79535-47bb-0310-9956-ffa450edef68
* Merge all GitHub Actions related changes from trunk.ivan2023-01-173-0/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1906746 13f79535-47bb-0310-9956-ffa450edef68
* On 1.6.x branch: Merge r1902088 from 1.8.x branch:ivan2023-01-171-2/+2
| | | | | | Merge r1895514 and r1902063 from trunk. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1906741 13f79535-47bb-0310-9956-ffa450edef68
* No autoconf substitution with cmake for APR_TCP_NOPUSH_FLAG.ylavic2022-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1902025 13f79535-47bb-0310-9956-ffa450edef68
* backport 1898799 from 1.7.xcovener2022-06-041-1/+1
| | | | | | | no autoconf substitution, should be defined to 0 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1901618 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2021-08-312-826/+998
| | | | | | | | | | https://git.savannah.gnu.org/cgit/config.git. Backport of r1892754 from trunk, resp. r1892755 from 1.7.x. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1892756 13f79535-47bb-0310-9956-ffa450edef68
* Backport r1865793 from 1.7.x:michaelo2021-05-244-7/+9
| | | | | | | Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov] git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1890174 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2020-01-012-10/+15
| | | | | | | | | | https://git.savannah.gnu.org/cgit/config.git. Backport of r1872203 from trunk resp. r1872204 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1872205 13f79535-47bb-0310-9956-ffa450edef68
* Happy New Year 2020rjung2020-01-012-2/+2
| | | | | | | | Backport of r1872195 from trunk resp. r1872197 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1872198 13f79535-47bb-0310-9956-ffa450edef68
* Add empty stubs for APR pool functions, that arerjung2019-07-172-17/+27
| | | | | | | | | | | | | | only needed when APR_POOL_DEBUG is defined, but can be aor should be called from app code. Providing stubs allows the app code to stay the same when running with or without debugging APR lib (no need for app recompilation). Backport of r1863217 from trunk resp. r1863234 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863235 13f79535-47bb-0310-9956-ffa450edef68
* No functional change, only formatting.rjung2019-07-171-1/+0
| | | | | | | Backport of r1863215 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863216 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2019-07-172-62/+233
| | | | | | | | | https://git.savannah.gnu.org/cgit/config.git. Backport of r1863205 from trunk resp. r1863206 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863214 13f79535-47bb-0310-9956-ffa450edef68
* Register the pool debug log cleanup handler after emitting therjung2019-07-171-7/+7
| | | | | | | | | | global pool creation event. This ensures that the allocation event from the cleanup registration written after the creation event. Backport of r1675982 from trunk resp. r1863204 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863213 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1675967 (trunk) resp. r1863202 (1.7.x)rjung2019-07-171-0/+13
| | | | | | | | | | | | resp. r1863211 (1.6.x): When pool debugging is enabled, make sure we don't try to emit any debug events after the debug log file handle has been closed. Backport of r1675970 from trunk resp. r1863203 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863212 13f79535-47bb-0310-9956-ffa450edef68
* Fix pool debugging output so that creation events arerjung2019-07-172-14/+17
| | | | | | | | | | always emitted before allocation events and subpool destruction events are emitted on pool clear/destroy for proper accounting. Backport of r1675967 from trunk resp. r1863202 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863211 13f79535-47bb-0310-9956-ffa450edef68
* Expand apr pools debug output with parent information.rjung2019-07-171-1/+3
| | | | | | | | | | | * memory/unix/apr_pools.c (apr_pool_initialize): Add parent to debug header. (apr_pool_log_event): Add parent to debug output. Backport of r1674566 from trunk resp. r1863201 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863210 13f79535-47bb-0310-9956-ffa450edef68
* Pool debugging fixesrjung2019-07-171-1/+6
| | | | | | | | | | - avoid using a destroyed mutex in apr_pool_clear() - if we create a sub-pool, we don't need to own the pool. Backport of r1481186 from trunk resp. r1863200 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863209 13f79535-47bb-0310-9956-ffa450edef68
* Split apr_pool_check_integrity() into two partsrjung2019-07-171-3/+17
| | | | | | | | | | | Run the pool owner check part only after pre-cleanups have been run, in order to give them a chance to kill of any threads that may still be accessing the pool. Backport of r1460184 from trunk resp. r1863199 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863208 13f79535-47bb-0310-9956-ffa450edef68
* * memory/unix/apr_pools.c (apr_pool_cleanup_register):rjung2019-07-171-0/+4
| | | | | | | | | | [APR_POOL_DEBUG]: Catch NULL arguments which would lead to strange segfaults later. Backport of r1082177 from trunk resp. r1863198 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1863207 13f79535-47bb-0310-9956-ffa450edef68
* Support canon pre-defined macro (gcc, cc and clang) for macOS which is now ↵jim2019-03-141-0/+7
| | | | | | __APPLE__ git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1855560 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2019-01-012-1547/+1517
| | | | | | | | | | https://git.savannah.gnu.org/cgit/config.git. Backport of r1850095 from trunk resp. r1850096 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1850097 13f79535-47bb-0310-9956-ffa450edef68
* Happy New Year 2019rjung2019-01-012-2/+2
| | | | | | | | Backport of r1850087 from trunk resp. r1850089 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1850090 13f79535-47bb-0310-9956-ffa450edef68
* Fix Python3 compatibility.wrowe2018-11-221-1/+2
| | | | | | | | | | | | | * build/gen-build.py (extract_deps): Do not assume that source files are only ASCII. This fixes a build failure on macOS High Sierra. (Note 1.6 is still in maintainence, 1.7 not yet released.) Backports: r1846806 Submitted by: brane git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1847147 13f79535-47bb-0310-9956-ffa450edef68
* back port r1834495 (python3 support).jfclere2018-11-133-22/+27
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1846510 13f79535-47bb-0310-9956-ffa450edef68
* We are at 1.6.6-devwrowe2018-09-103-2/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840496 13f79535-47bb-0310-9956-ffa450edef68
* Prepare to tag 1.6.5wrowe2018-09-101-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840494 13f79535-47bb-0310-9956-ffa450edef68
* Note non-release of 1.6.4, anticipate lunchtime tag of 1.6.5,wrowe2018-09-102-5/+5
| | | | | | | | explain and credit breaking regression fix for posterity. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840467 13f79535-47bb-0310-9956-ffa450edef68
* Correct cut-n-paste assignment error.wrowe2018-09-081-1/+1
| | | | | | | | Submitted by: rjung Backports: r1840372 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840374 13f79535-47bb-0310-9956-ffa450edef68
* Bump after tag, we are at 1.6.5-devwrowe2018-09-073-2/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840310 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for tagwrowe2018-09-072-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840308 13f79535-47bb-0310-9956-ffa450edef68
* Note user-facing changeswrowe2018-09-071-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840306 13f79535-47bb-0310-9956-ffa450edef68
* Correct copy-paste flaw (inherited by borrowing from readwrite.c) (r1840147)wrowe2018-09-051-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840148 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1834513, in favor of r1840143, which consisted of...wrowe2018-09-051-3/+3
| | | | | | | | | | | | | | Backport the *bugfix* part of r1808457 and further bugfix r1829962, to only manipulate the mutex when opened for XTHREAD. This follows the mutex logic obvious in file_io/win32/readwrite.c This patch ignores the optimizations introduced by r1808457. Submitted by: kotkov, mturk git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840144 13f79535-47bb-0310-9956-ffa450edef68
* Resolve invalid rvalue from void() function, the test is only required in onewrowe2018-08-311-3/+7
| | | | | | | | | | single case of user-provided input, to avoid an index into invalid memory. Backports: 1839769 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839771 13f79535-47bb-0310-9956-ffa450edef68
* Record mergeinfowrowe2018-08-300-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839626 13f79535-47bb-0310-9956-ffa450edef68
* Spelling corrections in docs;wrowe2018-08-304-22/+22
| | | | | | | | | | | | | | | | | Pull request #6 docs/APRDesign.html docs/canonical_filenames.html docs/incomplete_types Submitted by: "Bruno P. Kinoshita" <brunodepaulak yahoo.com.br> Pull request #10 misc/unix/errorcodes.c Submitted by: Jimmy Casey <casey.jimmy gmail.com> Backports: r1839622 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839624 13f79535-47bb-0310-9956-ffa450edef68
* Do not forget to escape characters in the documentation of functions that ↵jailletc362018-08-261-5/+5
| | | | | | | | escape characters, otherwise they look as no-op :) Backport of 1839186 from trunk resp. 1839187 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839188 13f79535-47bb-0310-9956-ffa450edef68
* Slightly improve doxygen generated documentation.jailletc362018-08-266-22/+23
| | | | | | | | Add some links to function Backport of r1839182 from trunk resp. r1839183 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839184 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1832203.jailletc362018-08-251-1/+1
| | | | | | | | Fix missing 'args' declaration Backport of r1839113 in trunk resp. r1939116 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839117 13f79535-47bb-0310-9956-ffa450edef68
* If --with-installbuilddir is not supplied, it unconditially overrides the valuerjung2018-08-253-2/+4
| | | | | | | | | | | | | | | | set by APR_SET_LAYOUT. Disable that and stop showing an invalid default value. PR 56090. Patch provided by Michael Osipov. This fixes #11. Backport of r1839068 from trunk resp. r1839069 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839070 13f79535-47bb-0310-9956-ffa450edef68
* Fix some doxygen commentsrjung2018-08-252-3/+3
| | | | | | | | | Partial backport of r1834253 from trunk resp. full backport of r1839059 from 1.7.x. Other trunk part goes into apr-util. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839060 13f79535-47bb-0310-9956-ffa450edef68
* Make sure rv is not used uninitialised.rjung2018-08-251-1/+1
| | | | | | | | Backport of r1836235 from trunk resp. r1836236 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839053 13f79535-47bb-0310-9956-ffa450edef68
* * test/teststr.c (overflow_strfsize): Iterate from LONG_MAX downwards,rjung2018-08-251-1/+1
| | | | | | | | | | | avoiding signed integer overflow (undefined behaviour which gcc 8.1 turns into a non-terminating loop). Backport of r1832985 from trunk resp. r1834496 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839050 13f79535-47bb-0310-9956-ffa450edef68
* Fix a potential usage of an un-init variable. (i.e. 'wch')rjung2018-08-251-7/+5
| | | | | | | | | | | | | Up to now, this can NOT happen, because the only caller passes -1 for 'args'. So axe this useless parameter to avoid troubles. See PR 60086. Backport of r1832203 from trunk resp. r1839047 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839048 13f79535-47bb-0310-9956-ffa450edef68
* Tidyup of ugly practice that stuck out in review of 1.6 changes.niq2018-08-241-6/+7
| | | | | | | No functional change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1838963 13f79535-47bb-0310-9956-ffa450edef68
* remove the wrong proposal in STATUS and commit a fix for my crash problems.jfclere2018-06-272-7/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1834513 13f79535-47bb-0310-9956-ffa450edef68
* proposal for review.jfclere2018-06-191-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1833786 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1822357 from trunk:ylavic2018-04-041-10/+10
| | | | | | | | | apr_pools: make index(es) an apr_size_t everywhere. Avoids "conversion from 'size_t' to 'apr_uint32_t', possible loss" warnings. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1828361 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1827534 from trunk:ylavic2018-04-032-1/+12
| | | | | | | | | | | | | configure: fix detection of net/if.h on openbsd. Depends on sys/socket.h. PR-61976. Proposed by: David Carlier <devnexen gmail.com> Reviewed by: ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1828284 13f79535-47bb-0310-9956-ffa450edef68