Commit graph

2109 commits

Author SHA1 Message Date
Sebastian Pipping
6ea9606489 xmlparse.c: Use Curl_load_library 2017-07-26 15:07:49 +02:00
Sebastian Pipping
931697b9b8 Integrate loadlibrary.c into build systems 2017-07-26 15:03:55 +02:00
Sebastian Pipping
3c6c0b7ba9 loadlibrary.c: Strip down, make ready to use 2017-07-26 15:02:39 +02:00
Sebastian Pipping
c9951a41ce loadlibrary.c: Inline copyright notice
using text from
https://raw.githubusercontent.com/curl/curl/7fc0e1dfc475930eada0180ee552f7b6deb3f04e/COPYING

postprocessed with `par-format 73j | sed 's,^, * ,'`.
2017-07-26 15:02:15 +02:00
Sebastian Pipping
d1751bb60e Add unmodified system_win32.c of cURL as lib/loadlibrary.c
Exact revision / source:
f7df67cff0/lib/system_win32.c
2017-07-26 15:02:15 +02:00
Sebastian Pipping
71bb94f591 runtests.c: Address MinGW compile warnings 2017-07-26 15:00:17 +02:00
Sebastian Pipping
6f4858c057 Merge branch 'vadz-SIPHASH_MAIN-warn-fix' (pull request #100) 2017-07-25 20:12:59 +02:00
Sebastian Pipping
27eaebc409 Document fix to use of SIPHASH_MAIN macro 2017-07-25 19:46:47 +02:00
Vadim Zeitlin
01a5c39218 Check for possibly undefined SIPHASH_MAIN using #ifdef
"#if SIPHASH_MAIN" results in -Wundef warning with recent gcc/clang and
this change suppresses it.
2017-07-25 16:17:31 +02:00
Sebastian Pipping
9a1ede8d14 Address warning about unused gather_time_entropy (#84)
.. with HAVE_ARC4RANDOM and/or HAVE_ARC4RANDOM_BUF defined
2017-07-25 00:59:20 +02:00
Rhodri James
7eb3cbcec6 Check UTF-16 endianness matches (Issue #86)
When an XML declaration specifies a UTF-16 encoding, check that
the endianness matches what the parser has already deduced.
2017-07-25 00:30:40 +02:00
Sebastian Pipping
611bf03530 Merge branch 'coverage' 2017-07-22 23:34:06 +02:00
Sebastian Pipping
9c9b41f7a3 runtests.c: Fix memleaks 2017-07-22 23:32:28 +02:00
Rhodri James
fe1adcaa84 Comment change: exclude error() role handler from coverage 2017-07-22 22:49:22 +02:00
Rhodri James
17243b79c3 Test NOTATION marked SYSTEM but with no ID 2017-07-22 22:49:22 +02:00
Rhodri James
9940f71578 Test parameter entity marked SYSTEM but with no ID 2017-07-22 22:49:21 +02:00
Rhodri James
7d4bb8631d Test parameter entity marked PUBLIC but with no ID 2017-07-22 22:49:21 +02:00
Rhodri James
5596cbbbcc Test parameter entity with invalid keyword (not SYSTEM or PUBLIC) 2017-07-22 22:49:21 +02:00
Rhodri James
81a3f2f73f Test Entity declaration marked PUBLIC with no ID 2017-07-22 22:49:21 +02:00
Rhodri James
e5c61fed18 Test that Doctype with an extra ID is rejected 2017-07-22 22:49:21 +02:00
Rhodri James
cb16ead042 Test Doctype marked SYSTEM but with no ID is rejected 2017-07-22 22:49:21 +02:00
Rhodri James
b78b96f6df Test Doctype marked PUBLIC but with no ID is rejected 2017-07-22 22:49:21 +02:00
Rhodri James
5bbc983e7d Test overly brief doctype is rejected 2017-07-22 22:49:21 +02:00
Rhodri James
63dc602a12 Comment change: exclude unreachable case in prolog1 2017-07-22 22:49:21 +02:00
Rhodri James
069a0da15c Extend UTF-16 LE entity test to hex entities 2017-07-22 22:49:21 +02:00
Rhodri James
ff20944a1a Extend UTF-16 BE entity test to hex entities 2017-07-22 22:49:21 +02:00
Rhodri James
c3963ec9a1 Test that comments are picked up from UTF-16 little-endian 2017-07-22 22:49:21 +02:00
Rhodri James
0275ef9330 Test that comments are picked up from UTF-16 big-endian 2017-07-22 22:49:21 +02:00
Rhodri James
16c9fa852f Test public external parameter entity in UTF-16 little-endian 2017-07-22 22:49:21 +02:00
Rhodri James
19d4c9e2c3 Test public external param entity in UTF-16 big-endian 2017-07-22 22:49:21 +02:00
Rhodri James
eee8ad3e33 Test ignore section in UTF-16 big-endian encoding 2017-07-22 22:49:21 +02:00
Rhodri James
9032ba09e8 Test CDATA is passed correctly from little-endian UTF-16 input 2017-07-22 22:49:21 +02:00
Rhodri James
15261c078c Test entity substitution in attributes, UTF-16 little endian 2017-07-22 22:49:21 +02:00
Rhodri James
3536d8749a Test entity substitution in attributes UTF-16 big-endian 2017-07-22 22:49:21 +02:00
Rhodri James
950382c0c1 Test PI in big-endian UTF-16 2017-07-22 22:49:20 +02:00
Rhodri James
3c8d9300f6 Comment change: exclude unreachable line from coverage figures 2017-07-22 22:49:20 +02:00
Rhodri James
7979e831ed Comment change: exclude sameName from coverage 2017-07-22 22:49:20 +02:00
Rhodri James
a35f012501 Test entities with similar names to predefined entity are rejected 2017-07-22 22:49:20 +02:00
Rhodri James
80945fba17 Test invalid character reference with a decimal value
Previous limit test used hexed, which has a difference parse path.
2017-07-22 22:49:20 +02:00
Rhodri James
fc25cfd750 Test IGNORE rejection with an unknown encoding 2017-07-22 22:49:20 +02:00
Rhodri James
0df93c5619 Test IGNORE section with UTF-16 data 2017-07-22 22:49:20 +02:00
Rhodri James
8be7b89885 Comment change: exclude paranoia check from coverage 2017-07-22 22:49:20 +02:00
Rhodri James
36e47058dc Comment change: exclude paranoia check from coverage 2017-07-22 22:49:20 +02:00
Rhodri James
c53aba8bf7 Test multi-byte characters in ATTLIST default attribute value 2017-07-22 22:49:20 +02:00
Rhodri James
ca1cb78164 Fix error messages in test_bad_doctype_* tests 2017-07-22 22:49:20 +02:00
Rhodri James
c73e63de42 Test document name of "1?" is rejected in doctype declaration 2017-07-22 22:49:20 +02:00
Rhodri James
61db6a8a93 Test document name of "1*" is rejected in a doctype declaration 2017-07-22 22:49:20 +02:00
Rhodri James
bb60b30a68 Test document name of "1+" is rejected in doctype
Following a codepath that requires a character valid in a name but
not at the start (or '-' or ':') followed by a '+'
2017-07-22 22:49:20 +02:00
Rhodri James
b003c9fea5 Test two colons in the document name in a doctype is rejected 2017-07-22 22:49:20 +02:00
Rhodri James
b93735f15b Test invalid character in document local name is faulted 2017-07-22 22:49:20 +02:00