summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* On 'xmllite' branch: Merge changes from trunk.xmlliteivan2019-05-2710-104/+102
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860149 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Update CHANGES file.ivan2019-05-271-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860148 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Fix indentation.ivan2019-05-261-4/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860056 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Increase chunk size for CDATA processing.ivan2019-05-261-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860055 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Merge changes from trunk.ivan2019-05-269-185/+109
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860054 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Fix indentation.ivan2019-05-261-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860053 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Merge changes from trunk.ivan2019-05-2015-148/+151
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859568 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Merge changes from trunk.ivan2019-05-121-0/+87
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859155 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Add initial XmlLite based XML parser implementation.ivan2019-05-121-15/+573
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859151 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Add placeholder for XmlLite support.ivan2019-05-113-12/+121
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859122 13f79535-47bb-0310-9956-ffa450edef68
* Create experimental branch to use XmlLite as library for XML parser on Windows.ivan2019-05-110-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859121 13f79535-47bb-0310-9956-ffa450edef68
* Add another test for apr_xml_parser.ivan2019-05-111-0/+74
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1859117 13f79535-47bb-0310-9956-ffa450edef68
* Use documented GetFileInformationByHandleEx() instead ofivan2019-05-052-37/+3
| | | | | | | | | | | | | ZwQueryInformationFile() to allocated size of file. * file_io/win32/filestat.c (more_finfo): Use GetFileInformationByHandleEx(FileAllocationInfo). * include/arch/win32/apr_arch_misc.h (IOSB, FSI, apr_winapi_ZwQueryInformationFile): Remove. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858659 13f79535-47bb-0310-9956-ffa450edef68
* Fix some missing doxygen documentation (even if ready to use!)jailletc362019-05-041-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858596 13f79535-47bb-0310-9956-ffa450edef68
* * file_io/win32/filestat.civan2019-04-281-1/+2
| | | | | | | (more_finfo): Reduce scope of local variable. No functional changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858338 13f79535-47bb-0310-9956-ffa450edef68
* * file_io/win32/filestat.c: Use IsReparseTagNameSurrogate() macro to test forivan2019-04-281-1/+1
| | | | | | "Name surrogate bit". git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858337 13f79535-47bb-0310-9956-ffa450edef68
* Register test/testjson.c and test/testjose.c in CMake build.ivan2019-04-281-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858336 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1835348: Register json/*.c in CMake build.ivan2019-04-281-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858335 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1839819: Register jose/*.c in CMake build.ivan2019-04-281-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858334 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1834371: Register encoding/apr_encode.c and test/testencode.civan2019-04-281-0/+2
| | | | | | in CMake build. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858333 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1838375: Register util-misc/apr_error.c in CMake build.ivan2019-04-281-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858332 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1841078: Register atomic/win32/apr_atomic64.c in CMake build.ivan2019-04-281-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858331 13f79535-47bb-0310-9956-ffa450edef68
* Add .vs directory to svn:ignore.ivan2019-04-280-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1858330 13f79535-47bb-0310-9956-ffa450edef68
* Address some warnings raised by MSVC-32/64.ylavic2019-04-034-46/+18
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856873 13f79535-47bb-0310-9956-ffa450edef68
* Simplify avoiding the dirread_r deprecated and unwise invocations, by alwayswrowe2019-04-011-4/+2
| | | | | | | | | | presuming READDIR_IS_THREAD_SAFE for our purposes. Users can force-override this to gain dirread_r detection again, but it would not be advised in 1.7.0 and later releases. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856756 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1789258, r1856189, r1856191 following discussion on list, in favorwrowe2019-04-012-28/+4
| | | | | | | | | | | | | | | of a simpler path of avoiding dirread_r always, by default. This saves us various additional detection logic, and follows advice of library maintainers and our library's behavior, any apparent "thread safety" offered by the _r() flavors of this function were not truly supported by APR's allocation or dirread_r reentrancy of parallel threads attemping to access the same open directory descriptor. Retains r1856192, r1856196 to avoid wasteful allocation in the dirread() case. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856755 13f79535-47bb-0310-9956-ffa450edef68
* apr_dir: no need to allocate our dir entry if readdir{,64}_r() is not used.ylavic2019-03-251-9/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856196 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1856189: use NAME_MAX from limits.h when available.ylavic2019-03-251-1/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856192 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1856189: sys/types.h possibly needed.ylavic2019-03-251-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856191 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1789258: configure to detect whether readdir() is thread-safe.ylavic2019-03-252-4/+24
| | | | | | | | | | | | | On platforms where readdir_r() is available but deprecated, readdir() is to be used although it's not in libc_r (e.g. Linux has no libc_r). In this case we can APR_TRY_COMPILE_NO_WARNING readdir_r() and, if it's deprecated, define READDIR_IS_THREAD_SAFE. With this we don't need user-defined APR_USE_READDIR{,64}_R from r1789258. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856189 13f79535-47bb-0310-9956-ffa450edef68
* testencode: better fix compilation on VS.ylavic2019-03-251-256/+72
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856178 13f79535-47bb-0310-9956-ffa450edef68
* testencode: fix compilation on VS.ylavic2019-03-221-28/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856096 13f79535-47bb-0310-9956-ffa450edef68
* Pull out caller actions from AC_CACHE_CHECK in APR_CHECK_TYPES_FMT_COMPATIBLE.ylavic2019-03-221-5/+10
| | | | | | | This allows to print results in the correct order when the function is chained. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856089 13f79535-47bb-0310-9956-ffa450edef68
* The string conversion to apr_off_t is strtoll when it's a long long.ylavic2019-03-221-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856063 13f79535-47bb-0310-9956-ffa450edef68
* Purely cosmetic change for list of features following CMake configurewrowe2019-03-221-3/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856057 13f79535-47bb-0310-9956-ffa450edef68
* stdint.h and inttypes.h may include each other so define __STDC macros first.ylavic2019-03-221-5/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856050 13f79535-47bb-0310-9956-ffa450edef68
* Define __STDC_FORMAT_MACROS for C++'s inttypes.ylavic2019-03-221-2/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856046 13f79535-47bb-0310-9956-ffa450edef68
* Don't mangle Darwin's native [U]INT64_C macros.ylavic2019-03-221-10/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856043 13f79535-47bb-0310-9956-ffa450edef68
* Use stdint/inttypes 64bit types/formats when both available.ylavic2019-03-223-14/+46
| | | | | | | Which should be the case on modern platforms, no change for others. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856042 13f79535-47bb-0310-9956-ffa450edef68
* * file_io/unix/filepath.c (apr_filepath_merge): Fix Coverity warning;jorton2019-03-221-1/+1
| | | | | | | don't copy bogus pointer after apr_filepath_get() error return. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856030 13f79535-47bb-0310-9956-ffa450edef68
* Use proc mutex pthread by default when robust[_np]ylavic2019-03-223-7/+62
| | | | | | | | | | | | | On platforms that support pshared and robust pthread mutex, this is usually the best interprocess mutex mechanism because it's efficient, posix, not limited and not persistent on the system when the program exits (i.e. no need to delete it explicitely before leaving, like IPC SysV or files for instance). Note that on older POSIX systems pthread_mutex_{setrobust,consistent}() funcs existed with the non-posix _np() suffix, and we consider them equivalent. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1856022 13f79535-47bb-0310-9956-ffa450edef68
* Narrow symbolic link detection on NTFSwrowe2019-03-204-15/+97
| | | | | | | | | | | | | | | | | | Read the WIN32_FIND_DATA::dwReserved0 field to determine whether reparse point is a "name surrogate". It's probably more safe to bind to specifig tags. If provided structure (wininfo) was not resulted from FindFile* call, then additional FindFirstFile call is performed. However this may be unnecessary, because the alternate GetFileInformation call is used in the case of an open file handle, and APR_FINFO_LINK has no meaning when it comes to open files. Submitted by: Oleg Liatte <olegliatte gmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855949 13f79535-47bb-0310-9956-ffa450edef68
* User-facing behavior changeswrowe2019-03-201-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855940 13f79535-47bb-0310-9956-ffa450edef68
* apr_thread_cond_timedwait on windows should wait on the semaphore.ylavic2019-03-201-1/+1
| | | | | | | | | | Fix r1792620's bad copy/paste from mutex code. Submitted by: fedormsv gmail.com Reviewed by: ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855877 13f79535-47bb-0310-9956-ffa450edef68
* Fix IPv4-only parsing tests, proposed as git pull req #15 by manusfreedom.wrowe2019-03-191-1/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855867 13f79535-47bb-0310-9956-ffa450edef68
* Small corrections to if_indextoname resolution on win32, compiles cleanwrowe2019-03-192-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855864 13f79535-47bb-0310-9956-ffa450edef68
* Replace the link-time pragma from r1839494 with APR_DECLARE_LATE_DLL_FUNC wrowe2019-03-193-5/+28
| | | | | | | | resolution of if_indextoname and if_nametoindex. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855855 13f79535-47bb-0310-9956-ffa450edef68
* Replace generic off_t logic with APR_CHECK_TYPES_FMT_COMPATIBLE,wrowe2019-03-191-11/+18
| | | | | | | | | | confirming that the best int type is elected for off_t, even where the bytewidth of multiple int types is identical. Resolves issues around APR_OFF_T_FMT reported on modern BSD compilers. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855840 13f79535-47bb-0310-9956-ffa450edef68
* Deprecate APR_CHECK_TYPES_COMPATIBLE for new APR_CHECK_TYPES_FMT_COMPATIBLEwrowe2019-03-192-7/+36
| | | | | | | | | | | | | macro, testing both type compatibility in a more portable way, and verifying the printf format token for these types. Order of preference of long over int is preserved. (Defers off_t fixes for the subsequent patch.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855839 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/trunk@1855558 13f79535-47bb-0310-9956-ffa450edef68