Commit Graph

3116 Commits

Author SHA1 Message Date
msridhar1 18833137c0 Change Mozilla test cases to not pull in external JS files by default (for performance). In makeHTMLCG(), don't call dumpCG() by default.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4127 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-20 20:55:57 +00:00
msridhar1 816eed480f Change Mozilla test cases to not pull in external JS files by default (for performance). In makeHTMLCG(), don't call dumpCG() by default.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4126 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-20 20:55:39 +00:00
dolby-oss 67d26e74c5 allow IR translator to give warnings and errors via the loader
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4125 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-14 01:16:36 +00:00
msridhar1 1fa8b9b3cd update exported packages, add required execution environment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4124 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:54:24 +00:00
dolby-oss 9006fce690 some bug fixes to CAst IR generation, especially in handling exceptions
cleanup of how JDT analysis engines work, to make using the JDT front end more modular
bug foxes to JavaScript handling, most notably fixing scoping of functions

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4123 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:27:15 +00:00
dolby-oss 2f2c6a2555 clean ups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4122 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:21:47 +00:00
dolby-oss cf0f17f4cd adapt to better handling of function scoping in JS
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4121 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:21:08 +00:00
dolby-oss adca756422 preserve exception control flow when expanding reads
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4120 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:20:31 +00:00
dolby-oss ab0bf42f4a fixes to make forms work better for analysis, and to deal with better handling of function scoping in JS
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4119 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:19:55 +00:00
dolby-oss 1cfde94f59 some simple generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4118 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:18:58 +00:00
dolby-oss cb9482c57b some simple generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4117 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:18:17 +00:00
dolby-oss 006f97a514 better toString method
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4116 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:17:48 +00:00
dolby-oss c726bd87f1 remove dead piece of state
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4115 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:17:20 +00:00
dolby-oss beefde9ecb handle 'const' decls in Rhino (extension, treated like 'var' decls)
model type errors from property reads

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4114 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:16:43 +00:00
msridhar1 2b87f070a7 make getBCInfo() synchronized to prevent duplicate code loading by different threads
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4113 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-12 19:20:13 +00:00
dolby-oss c82117149d new names for handler functions that include tag name and attribute name
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4112 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-08 19:23:10 +00:00
dolby-oss 565f9ca663 hack for CDATA
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4111 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-07 16:58:58 +00:00
dolby-oss 5f47938e7e allow more bad javascript code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4110 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-07 16:57:45 +00:00
dolby-oss a55a25595e turn unneeded field into local
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4109 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-07 16:57:03 +00:00
dolby-oss bc294d76a6 make node types into strings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4108 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-07 15:22:32 +00:00
dolby-oss 78ae5ffece update to latest Rhino, 1.7R2
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4107 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-05 19:18:14 +00:00
dolby-oss e7ac8c25fe move test with not-quite-correct JavaScript code to the Rhino test, since Rhino handles it anyway
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4106 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-05 16:42:49 +00:00
dolby-oss 032f82f713 typing cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4105 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-05 16:41:43 +00:00
dolby-oss b7f3f8b7a8 make getStream accessible
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4104 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-05 10:46:53 +00:00
msridhar1 beacb83132 add jar files to svn ignore
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4103 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 21:27:39 +00:00
dolby-oss bb28cd875f updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4102 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 21:20:31 +00:00
msridhar1 fe6c3030e4 depend on 1.6 execution environment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4101 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 19:17:45 +00:00
dolby-oss 6b47bc0bd1 fix import warning
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4100 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 17:31:19 +00:00
dolby-oss fbc893e2b3 added neglected copyright headers
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4099 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 17:27:16 +00:00
dolby-oss b20b7d2b91 added recording of script tag locations from which script code is included into the analysis of a Web page
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4098 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 17:17:01 +00:00
dolby-oss 684524e4bc added recording of script tag locations from which script code is included into the analysis of a Web page
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4097 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 17:16:18 +00:00
dolby-oss 2f5a769df9 updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4095 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:29:53 +00:00
dolby-oss be5d9df4e9 updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4094 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:28:54 +00:00
dolby-oss 3c35edb899 updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4093 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:27:43 +00:00
dolby-oss 79b44cc3bc updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4092 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:27:11 +00:00
dolby-oss b0849e3ab6 updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4091 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:25:53 +00:00
dolby-oss cdd42a68b6 updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4090 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:23:58 +00:00
dolby-oss 617d3ac876 removed binary jar
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4089 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:19:54 +00:00
dolby-oss c4891ba35d fixes to defining types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4088 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:17:31 +00:00
dolby-oss fce2752c64 cleaned up source module loading
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4087 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:02:28 +00:00
dolby-oss 783fa6ffb9 cleaned up source module loading
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4086 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:01:29 +00:00
dolby-oss 8c3104c74a fix for bizarre eclipse typing error
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4085 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:00:43 +00:00
dolby-oss 4257d9de83 improved toString message
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4084 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 14:59:52 +00:00
dolby-oss fc366d728e added notion of source modules, which are presumed to be text files
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4083 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 14:58:58 +00:00
dolby-oss 3d95532603 added type parameter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4082 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 14:58:15 +00:00
msridhar1 857e456806 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4081 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-03 04:08:05 +00:00
msridhar1 c9db7b1ca0 formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4080 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-03 04:04:59 +00:00
msridhar1 4b0bbddaee added README
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4079 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-03 04:04:48 +00:00
sjfink 1858943369 a few more os queries, from Rodric
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4078 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-01 14:34:46 +00:00
msridhar1 9aa9187edc fix for CFG bug reported by Benedikt N on mailing list, plus test case
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4077 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-03-24 19:41:46 +00:00