Commit Graph

17 Commits

Author SHA1 Message Date
yinnon_haviv 38f8a44044 Fix prototype contamination bug (described in added test).
When someone writes: 
MyFunction.prototype.myMethod = ...
we want "myMethod" to be accessible only for objects of type "MyFunction".

- Change how generated ctors look like - now they have a private prototype object into which methods can be added
- Change the PropertyReadExpander to have a different handling when reading the "prototype" field, avoid performing a loop on the prototype chain, so that the points to set of fetched field will be accurate (and allow us to set only the fields of it)


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3959 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-02 19:30:03 +00:00
dolby-oss 1f8da24940 add support for base urls
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3923 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-09 14:09:16 +00:00
msridhar1 8b41d7fc88 update to JUnit 4
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3747 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-27 23:21:22 +00:00
dolby-oss a3dc6411ae separate Rhino-specific portions of javascript analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3731 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-16 18:09:54 +00:00
sjfink a0efbee8ff Major refactoring to introduce com.ibm.wala.ide. Many related changes and patches from Marcelo Paternostro.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-22 15:06:12 +00:00
dolby-oss 159e25f52e fixes for Rhino issue---ignoring multiple variables in a single var declaration
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3201 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-02 20:46:51 +00:00
dolby-oss 9979d0899c more fixes to lexical scoping for JavaScript
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3196 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-30 16:33:22 +00:00
sjfink 656c15b16c remove unused import
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3178 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-19 19:37:53 +00:00
dolby-oss 8d3c76715c misc. fixes motivated by JavaScript
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3175 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-19 15:12:39 +00:00
dolby-oss 637f06b2c0 further work on lexical scoping
more bug fixes for Anders


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3136 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-16 14:54:09 +00:00
dolby-oss 7be15e3137 additional test from Anders
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3112 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-02 14:09:49 +00:00
sjfink 4773a53b68 thread IProgressMonitor and CancelException through many APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2577 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 22:34:36 +00:00
sjfink dab36d8d6f add CancelException to interact with Eclipse progress monitors and thread it through some APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2003 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:18:48 +00:00
dolby-oss e6cceb103b support for 1-CFA analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1986 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-06 04:14:53 +00:00
sjfink d6f9af13f3 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1440 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:26 +00:00
dolby-oss 90d49382b5 move call graph shape testing support for generic CAst test project
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1237 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-03 21:56:39 +00:00
dolby-oss 50fd961772 Initial contribution of core script analysis code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@624 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:28:04 +00:00