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
Tomasz Kojm
bd02147fe4
fix typo in previous commit
...
git-svn: trunk@4135
2008-08-24 21:25:42 +00:00
Tomasz Kojm
c73454f99c
add missing include
...
git-svn: trunk@4134
2008-08-24 21:13:28 +00:00
Török Edvin
70335df6f6
remove wrong prototype
...
git-svn: trunk@4128
2008-08-21 19:39:16 +00:00
Tomasz Kojm
69df34a08a
fix possible oob idx
...
git-svn: trunk@4106
2008-08-12 10:09:15 +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
d39b528106
recursion limit for self-protection
...
remove some TODOs that no longer apply
git-svn: trunk@4027
2008-07-29 16:52:48 +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
474431d506
use the pointer returned from realloc, because it can change location.
...
not doing so leads to hard to reproduce bugs!
git-svn: trunk@3956
2008-07-16 08:44:37 +00:00
Török Edvin
ff97b85be3
add comment
...
git-svn: trunk@3952
2008-07-15 14:41:36 +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
61eb9432e8
fix OpenBSD build problem
...
git-svn: trunk@3932
2008-07-10 11:10:54 +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
Török Edvin
8be1d5a4bb
enable JS normalizer
...
git-svn: trunk@3919
2008-07-08 11:33:32 +00:00
Török Edvin
ba47dee1df
disable main()
...
git-svn: trunk@3918
2008-07-07 19:12:18 +00:00
Török Edvin
fd08e02ea3
add Javascript normalizer (not yet enabled)
...
git-svn: trunk@3917
2008-07-07 19:10:50 +00:00