Commit Graph

1298 Commits

Author SHA1 Message Date
Sebastian Pipping
64dca0bf4b Changes: Document fix to issue #3 2017-02-14 23:53:53 +01:00
Rhodri James
69c66034fe Remove unused variable and fix comment. No functional changes. 2017-02-14 23:45:32 +01:00
Rhodri James
7ae9c3d3af Don't free a partially allocated element type twice (issue #3)
If memory allocation fails for default attributes of an element type
while copying a DTD, the element type itself was being freed.
Unfortunately it's already stored in the DTD by this point, so is
freed again when the DTD is destroyed.
2017-02-14 23:45:21 +01:00
Rhodri James
4499b07ad8 Add a test for DTD duplication allocation failure 2017-01-31 15:34:30 +00:00
Rhodri James
a35beed126 Add a test case for external entity parser allocation failures. 2017-01-30 17:51:50 +00:00
Rhodri James
0d2018f9bc Add a test case to cover allocation failures in parserCreate() 2017-01-30 16:03:23 +00:00
Rhodri James
89d37b3ee3 Add qa.sh modes for library and application coverage stats 2017-01-30 15:27:54 +00:00
Sebastian Pipping
25a40afb0c CHANGES: Extend special thanks 2016-11-20 18:16:27 +01:00
Sebastian Pipping
12531ad43b Changes: Document pull request #2 2016-11-20 18:12:35 +01:00
Sebastian Pipping
49e00b2a34 CMakeLists.txt: Resolve trailing whitespace 2016-11-20 18:10:01 +01:00
Sebastian Pipping
aa7f61cb0d CMakeLists.txt: Rename BUILD_install to INSTALL 2016-11-20 18:09:13 +01:00
Tobias Taschner
ce686f45ba
CMake: Add BUILD_install to make install optional
For easier integration in other projects via add_subdirectory() make the install() calls optional.
2016-10-26 21:48:34 +02:00
Sebastian Pipping
2074c16a99 CMake: Do not try building docs if MSVC (bug #534) 2016-08-15 18:57:06 +02:00
Sebastian Pipping
a46258d1f6 Extend change log (issue #534) 2016-08-15 18:48:14 +02:00
Sebastian Pipping
b419a6e952 CMake: Fix ninja support 2016-08-15 18:39:28 +02:00
Sebastian Pipping
add34368c6 CMake: Symptom-fix out-of-source builds 2016-08-15 18:13:03 +02:00
Sergei Nikulov
227572030e fix for #534 2016-08-15 18:07:34 +02:00
Sebastian Pipping
25c6393829 Extend change log 2016-08-12 23:43:56 +02:00
Don Lewis
896b6c1fd3 Fix utf8_toUtf16 (bug #539) 2016-08-12 23:41:51 +02:00
Sebastian Pipping
06b9bcf2a6 Start using -fno-strict-aliasing (bug #538) 2016-08-12 15:45:05 +02:00
Sebastian Pipping
11bbfeed89 Extend change log for issue #540 2016-07-30 16:54:50 +02:00
Sebastian Pipping
9b3cb94d46 Address -Wunused-parameter and -Wunused-function 2016-07-30 16:50:32 +02:00
Ed Schouten
01d9dffa02 Make Expat build on CloudABI 2016-07-30 16:42:24 +02:00
Sebastian Pipping
0df2c1446e Changes: Fix description of (conditions for) bug #539 2016-07-17 22:34:57 +02:00
Sebastian Pipping
52fdda154b Changes: Document fix to regression bug #539 2016-07-17 20:30:28 +02:00
Sebastian Pipping
af507cef2c Fix regression bug #539 (needs -DXML_UNICODE)
Thanks to Andy Wang and Karl Waclawek!
2016-07-17 20:30:25 +02:00
Sebastian Pipping
fbc46fa2be Move release date to 2016-06-21 2016-06-21 14:58:38 +02:00
Karl Waclawek
0672d84397 Fixed versioning comment. 2016-06-20 16:43:12 -04:00
Sebastian Pipping
eb0fd8b2b1 CMakeLists.txt: Exclude soversion config on Windows 2016-06-20 18:47:11 +02:00
Sebastian Pipping
87b38b775d Handle XML_ParserCreate* NULL return
Pointed out by Pascal Cuoq
2016-06-18 23:09:20 +02:00
Sebastian Pipping
1d4bc08a37 Fix infinite loop
Regression from 3014589057

https://marcograss.github.io/security/android/chromium/2016/06/17/expat-xml-heap-overflow.html
2016-06-18 16:33:43 +02:00
Sebastian Pipping
5a5b157ba3 doc/xmlwf.1: Migrate from SGML to XML 2016-06-18 01:44:54 +02:00
Sebastian Pipping
80cd16cb06 Extend .gitignore 2016-06-18 00:28:55 +02:00
Sebastian Pipping
a0eaef2d67 Set version 2.2.0/2016-06-18 where missing 2016-06-18 00:16:21 +02:00
Sebastian Pipping
9751416948 Changes: Adjust case 2016-06-17 23:44:15 +02:00
Karl Waclawek
76f5dc2a70 Upgraded setup files for Win32. 2016-06-17 15:04:39 -04:00
Karl Waclawek
309ad17f97 Added Visual Studio 2013 solution/project files. Will also work in Visual Studio 2015 if VS 2013 is installed. Otherwise, open a "Visual Studio 2015 Developer Command Prompt" and execute "devenv.exe /upgrade expat.sln" in the expat directory to upgrade the main solution and project files (Tests have their own solutions). 2016-06-17 14:34:46 -04:00
Sebastian Pipping
d627982040 Address VS2010 compile warning
xmlparse.c(1893): warning C4244: 'return' : conversion from '__int64' to 'XML_Index', possible loss of data

Reported by tbeu <tc@tbeu.de>
2016-06-16 17:20:43 +02:00
Sebastian Pipping
92da19f153 Resolve COMPILING_FOR_WINDOWS (ex COMPILED_FROM_DSP) in favor of WIN32 2016-06-13 17:05:16 +02:00
tbeu
d4123b8f60 Fix MSVC compiler warning 2016-06-07 21:47:15 +02:00
Sebastian Pipping
5b24ad2e51 qa.sh: "set -e" inside "|| exit 1"-ed subshell did not have any effect
http://unix.stackexchange.com/questions/65532/why-does-set-e-not-work-inside/65564#65564
2016-06-06 22:47:52 +02:00
tbeu
da4d6f9b53 Update copyright year 2016-06-06 22:28:57 +02:00
tbeu
e1b1cf953f Fix typos 2016-06-06 21:40:47 +02:00
Sebastian Pipping
2b9cb7f5b5 Bump soversion, skipped one for 2.1.1 2016-06-05 15:43:36 +02:00
Sebastian Pipping
b364f44701 CMake: Create .so.1 symlink, too 2016-06-05 15:41:12 +02:00
Sebastian Pipping
5cfcdc3f40 Have CMake call "$(MAKE) -C doc xmlwf.1"
.. so that the man page is built if missing (e.g. for a Git clone)
2016-06-05 15:17:07 +02:00
Sebastian Pipping
e33d37cb47 doc/Makefile: Do not leave nullbyte XMLWF.1 on error 2016-06-05 15:14:14 +02:00
Sebastian Pipping
3f7f01ec09 Extend change log 2016-06-04 22:17:11 +02:00
Sebastian Pipping
17be9de91d Ensure that unistd.h is included on Linux
(or anywhere except non-Cygwin Windows, to be precise)

Bug reported by László Böszörményi
2016-06-04 22:17:11 +02:00
Sebastian Pipping
f00e1d752a Handle lack of __func__ with ISO C90
Bug reported by László Böszörményi
2016-06-04 22:17:03 +02:00