Commit Graph

1709 Commits

Author SHA1 Message Date
Sebastian Pipping
a449035d04 Changes: Communicate security aspects in detail (#60) 2017-07-12 16:28:27 +02:00
Rhodri James
196bea60b1 Fix protocolEncodingName. (pull request #70)
Ensure that protocolEncodingName is always either NULL or points
to the correct encoding for the parser, even if the parser is
reset.
2017-07-10 22:10:49 +02:00
Sebastian Pipping
14c59476cf Merge branch 'cmake-fixes-from-vtk' (pull request #72) 2017-07-09 22:41:18 +02:00
Sebastian Pipping
61e1a31fdc Changes: Mention CMake improvements 2017-07-09 22:40:17 +02:00
Ben Boeckel
f01b2c0e27 cmake: use the current binary directory
This is not necessarily the top-level CMake directory (such as when
expat is included inside of another project's source tree directly), so
we should instead use the one relative to this `CMakeLists.txt` file.
2017-07-05 17:13:57 -04:00
Ben Boeckel
c2888d56c0 ConfigureChecks: configure into the build tree
This helps to keep the source tree cleaner.
2017-07-05 17:12:38 -04:00
Ben Boeckel
ab89ae73c7 cmake: include the current directory's ConfigureChecks.cmake
The file we want is always in the same directory. The
`ConfigureChecks.cmake` file is included in many projects and the wrong
`CMAKE_MODULE_PATH` can cause the wrong one to be used here.
2017-07-05 17:11:48 -04:00
Ben Boeckel
dc4422e894 cmake: remove executable bits from cmake files
These files are not executable and should not be stored as such inside
of the repository.
2017-07-05 17:11:30 -04:00
Sebastian Pipping
2994cfc3d9 siphash.h: Ensure <=80 line length 2017-07-05 14:07:10 +02:00
Sebastian Pipping
736d47c8ef siphash.h: Add const qualifiers 2017-07-05 14:06:37 +02:00
Sebastian Pipping
44b8064042 Changes: Add MOX reference 2017-07-01 17:30:19 +02:00
Sebastian Pipping
726cd8cdb8 Merge branch 'xmlts-local-cache' (pull request #67) 2017-07-01 17:26:11 +02:00
Rhodri James
f196feb61f Add means to avoid downloading xmlts.zip in coverage tests
Modifies target tests/xmlts.zip so that if the environment variable
XMLTS_DIR is set, the xmlts.zip will be copied from there rather
than downloaded again from xml.org.  I currently need this
because I have a very limited internet connection.
2017-07-01 17:21:24 +02:00
Sebastian Pipping
6ee259bc84 xmlparse.c: Move includes up to fix macro interference
Guilty is our macro "buffer" resolving to "parser->m_buffer".
Issue #59 is related.
2017-07-01 14:52:24 +02:00
Sebastian Pipping
b37622e679 Changes: Mention parameter validation bug 2017-07-01 14:43:25 +02:00
Sebastian Pipping
ac256dafdf xmlparse.c: Fix parser NULL dereference
errorCode is a macro resolving to parser->m_errorCode.
Issue #59 is related.
2017-07-01 14:36:36 +02:00
Sebastian Pipping
d9ae1958c8 Merge branch 'autoreconf-dash-fix' (pull request #68) 2017-07-01 13:13:05 +02:00
Sebastian Pipping
00bd9dab99 Changes: Mention #68, give credit to Kerin Millar 2017-07-01 13:12:29 +02:00
Kerin Millar
c14a173105 conftools/get-version.sh: Fix unsafe expansions of $hdr
Also, use $() instead of ``. See http://mywiki.wooledge.org/BashFAQ/082.
2017-06-29 17:00:36 +01:00
Kerin Millar
9502963fd2 conftools/get-version.sh: Use printf rather than try to infer non-portable echo options 2017-06-29 16:59:59 +01:00
Sebastian Pipping
e0961e1713 Travis CI: Install dos2unix (#66) 2017-06-28 20:09:28 +02:00
Sebastian Pipping
6a097dd28c Merge branch 'make-run-xmltest-windows' (#66) 2017-06-28 19:42:46 +02:00
Sebastian Pipping
566d4bb019 Makefile.in: Waterproof against differences in line endings
For MinGW cross-compilation, second try.
2017-06-28 18:58:36 +02:00
Sebastian Pipping
58663de348 Merge branch 'mingw-crossdev-wine-linuxmint' (#64) 2017-06-28 16:03:52 +02:00
Sebastian Pipping
85bc1329dd xmlwf/readfilemap.c: Address -Wsign-compare warning
read:
http://pubs.opengroup.org/onlinepubs/009695399/functions/read.html
2017-06-27 23:26:49 +02:00
Sebastian Pipping
552a79bc98 coverage.sh: Symlink libwinpthread-1.dll as well for Linux Mint 2017-06-27 23:09:18 +02:00
Sebastian Pipping
e4f71eeaa0 tests: Address -Wformat compile warnings 2017-06-26 00:31:29 +02:00
Sebastian Pipping
93baf8759b Changes: Give credit to Viktor Szakats (#61) 2017-06-25 20:15:28 +02:00
Viktor Szakats
73a5a2e9c0 LoadLibrary() call to work correctly regardless of _UNICODE setting
This solution allows the build system to chose whichever mode, instead
of forcing the "ANSI" alternative of the API.
2017-06-25 19:42:17 +02:00
Sebastian Pipping
23a533d19b Changes: Mention fix to #60 2017-06-25 17:53:25 +02:00
Václav Slavík
95b95032f9 Fix building on win32 if _UNICODE is defined
Explicitly use LoadLibraryA() instead of the LoadLibrary() macro, which 
may expand to LoadLibraryW() depending on build configuration.
2017-06-25 17:38:11 +02:00
Sebastian Pipping
6dc3273aa5 coverage.sh: Fix two comment typos 2017-06-24 16:11:09 +02:00
Sebastian Pipping
edf77a025f Merge branch 'haypo-win64_warn' (pull request #58) 2017-06-23 21:06:56 +02:00
Sebastian Pipping
3932cc8df4 siphash.h: Compress change log a bit 2017-06-23 21:06:20 +02:00
Sebastian Pipping
a85511958a Changes/siphash.h: Extend log, give credit to Victor Stinner 2017-06-23 21:06:20 +02:00
Victor Stinner
788bff7a3b Fix compiler warnings on Windows 64-bit
Explicitly cast on integer downcasting to fix compiler warnings.
2017-06-23 10:40:05 +02:00
Sebastian Pipping
50756efa25 Merge branch 'travis-matrix' (pull request #54) 2017-06-22 20:38:04 +02:00
Sebastian Pipping
0e7fb70fcd Travis CI: No need to download upfront any more
Since e9e329b4f4
2017-06-22 20:32:02 +02:00
Sebastian Pipping
2d82462393 siphash.h: Fix duplicate/leftover line in the header (#57) 2017-06-22 20:26:53 +02:00
Sebastian Pipping
956147f81a Changes: Mention getrandom detection issues on macOS (#52) 2017-06-19 20:37:34 +02:00
Muhammad Kaisar Arkhan
e9e329b4f4 Travis CI: Use build matrix
Using the build matrix can help speeding up the CI since they run
simultaneously.

Closes https://github.com/libexpat/libexpat/issues/41
2017-06-19 19:26:05 +07:00
Sebastian Pipping
c74d380b8f siphash.h: Address lack of stdint.h for Visual Studio 2003-2008 2017-06-18 22:03:01 +02:00
Sebastian Pipping
1ce8ec1c12 Changes: Start post-2.2.1 section 2017-06-18 21:53:55 +02:00
Sebastian Pipping
602e6c78ca configure.ac: Fix mis-detection of getrandom on Debian GNU/kFreeBSD (#50)
There is no such thing but we need to link (not just compile) to realize.
2017-06-18 18:56:03 +02:00
spzeidler
e5e25fac16 Fix sh syntax in configure.ac (#49)
The old '==' sh-is-not-C issue
It doesn't matter in bash, but some other sh don't like it, so it's a portability issue
2017-06-18 14:30:22 +02:00
Karl Waclawek
c4446687cf Merge branch 'master' of https://github.com/libexpat/libexpat 2017-06-17 12:07:38 -04:00
Karl Waclawek
85718691e5 Windows release: Update README, remove VC++ 6.0 files from installer, fix runtests.vcxproj file. 2017-06-17 12:05:48 -04:00
Sebastian Pipping
82b8241c1c Changes: Add link for SipHash commits 2017-06-17 17:44:32 +02:00
Sebastian Pipping
508b1c3023 Changes: Add reference to SipHash ticket 2017-06-17 12:04:41 +02:00
Sebastian Pipping
e421621fb3 win32/expat.iss: Install AUTHORS file, too 2017-06-17 12:02:29 +02:00