Commit Graph

27 Commits

Author SHA1 Message Date
Török Edvin
08402afa4c fix more compiler warnings (bb #273)
git-svn: trunk@4353
2008-11-07 18:49:47 +00:00
Török Edvin
563582a1ec fix unit tests when mpool is activated
git-svn: trunk@4323
2008-11-03 19:26:57 +00:00
Török Edvin
d5d06eccaa support building with older versions of check
git-svn: trunk@4289
2008-10-22 17:27:44 +00:00
Török Edvin
a66b62f88b handle unfinishes string tokens in JS parser
git-svn: trunk@4247
2008-10-11 10:27:27 +00:00
Török Edvin
6a53bbdf9a JS normalizer fixes (bb #1155)
git-svn: trunk@4202
2008-09-23 20:52:27 +00:00
Török Edvin
1279faf61e add htmlnorm unit tests and fix jsnorm space normalization
git-svn: trunk@4201
2008-09-23 20:52:22 +00:00
Török Edvin
85398f3ed8 fix overlapping arguments in disasm/debug (bb #1150)
move copt out of main, so that valgrind is not reporting false leaks
make distcheck works now

git-svn: trunk@4193
2008-09-18 14:54:36 +00:00
Török Edvin
81040d73db bb #1160
git-svn: trunk@4183
2008-09-16 18:13:07 +00:00
Török Edvin
15d67313c4 allow 'make check' to work even if check is not installed
by skipping checks that require it. (bb #1157)
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.

git-svn: trunk@4172
2008-09-11 11:02:12 +00:00
Török Edvin
72733fbabb fix infloop in jsnorm (bb #1146)
add unit test for bb #1146

git-svn: trunk@4138
2008-08-25 12:39:09 +00:00
Török Edvin
5cd3f734a9 add lots of warnings flags to 'make distcheck',
and turn some warnings into errors (bb #1092)

git-svn: trunk@4129
2008-08-21 20:21:43 +00:00
aCaB
61b295f494 spam if lcheck is too old
git-svn: trunk@4121
2008-08-20 12:55:42 +00:00
aCaB
99f74adcc1 check for check
git-svn: trunk@4098
2008-08-10 16:19:01 +00:00
Török Edvin
dfc0c031cb if there is a version.h.static use that instead of output from svnversion
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112)
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes

git-svn: trunk@4078
2008-08-04 12:44:16 +00:00
Török Edvin
e2354bdb46 fix infloop in screnc detection code (introduced around SVN r3945).
generic safeguard against infinite loops due to state == next_state
add testcase

git-svn: trunk@4062
2008-08-01 17:37:06 +00:00
Török Edvin
fb6208fd12 fixes for bb #177:
if all we have is a script in a html file still normalize it
keep global scope, we need it to parse variable names in the correct scope

git-svn: trunk@4058
2008-08-01 14:50:50 +00:00
Török Edvin
6ba8b9503c lowercase JS parser output
git-svn: trunk@4057
2008-08-01 14:50:45 +00:00
Török Edvin
5ee56e4103 split up regex_list.
begin testing for regex_suffix


git-svn: trunk@3985
2008-07-24 18:48:31 +00:00
Török Edvin
ea5c80854b fix compiler warnings
restore cli_debug state after test


git-svn: trunk@3959
2008-07-16 10:40:03 +00:00
Török Edvin
533e76aa5e cleanup
some more unit tests


git-svn: trunk@3958
2008-07-16 09:53:18 +00:00
Török Edvin
377a2330a1 more unit tests for js-norm
fix js-norm bugs discovered during unit testing


git-svn: trunk@3951
2008-07-15 14:31:33 +00:00
Török Edvin
5be3029f8f fix crash in js parser
fix configure test for check: if it is not available, and we didn't pass
--enable-check, do not complain
add unit test for jsnorm bug


git-svn: trunk@3949
2008-07-14 19:31:56 +00:00
Török Edvin
d5db8faf3b useless code
git-svn: trunk@3938
2008-07-11 15:44:54 +00:00
Török Edvin
a39b29cbfe avoid misleading message when unit tests are disabled (bb #1090)
fix some compiler warnings


git-svn: trunk@3933
2008-07-10 13:29:32 +00:00
Török Edvin
eb2901515b move cli_unescape, and cli_textbuffer_append_normalize to str.c
add unit-test for cli_textbuffer_append_normalize
fix a bug in cli_textbuffer_append_normalize shown by unit-test


git-svn: trunk@3930
2008-07-10 10:29:29 +00:00
Török Edvin
37e6472959 more unit tests for js normalizer
git-svn: trunk@3925
2008-07-08 19:37:18 +00:00
Török Edvin
4a6ade4489 add all needed files to EXTRA_DIST (to fix make distcheck)
create unit tests for js normalizer
cleanups


git-svn: trunk@3924
2008-07-08 19:02:15 +00:00