Commit Graph

2681 Commits

Author SHA1 Message Date
dolby-oss 0890ed0795 trivial bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3585 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 16:41:10 +00:00
sjfink f39b9cf43a revert previous checkin (a major API change to IClass.getSourceFile())
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3584 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:38:07 +00:00
omertripp 2113f3e601 REFACTOR: - code changes to accommodate .NET into WALA. A .NET class maps onto multiple source files, and thus these changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3583 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:14:28 +00:00
omertripp 2ca8a07943 REFACTOR: - code changes to accommodate .NET into WALA. A .NET class maps onto multiple source files, and thus these changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3582 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:14:18 +00:00
omertripp d5e6dd443f REFACTOR: - code changes to accommodate .NET into WALA. A .NET class maps onto multiple source files, and thus these changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3581 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:13:52 +00:00
msridhar1 d3cd3d894c remove unnecessary @Override
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3580 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:09:49 +00:00
sjfink 228ba981f6 format source code. no semantic change.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:01:17 +00:00
sjfink 08de74a508 deprecate some old unused code.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3578 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 13:57:33 +00:00
sjfink db1bc2fadc fix broken CAst builds.
deprecate Internal and NonNull annotations

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3577 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 13:51:24 +00:00
omertripp b3c992d620 MAINT: - added isVoidType() query to Language interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3576 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 10:57:45 +00:00
rmfuhrer b900acd137 Made ctor taking an IClassHierarchy public, and added another flavor that also takes a TypeReference (so that clients can create a fake root class associated with a class loader of their choosing).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3575 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:28:04 +00:00
rmfuhrer 1e01e258af Made buildAnalysisScope() public so that, e.g., one can build a class hierarchy without building a call graph.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3574 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:27:21 +00:00
rmfuhrer 125dcbedd9 Made buildAnalysisScope() public so that, e.g., one can build a class hierarchy without building a call graph.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3573 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:25:32 +00:00
sjfink ec02ad887c comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3572 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 18:25:37 +00:00
sjfink d36f4f6d2b format and clean up comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3571 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 18:13:30 +00:00
sjfink 91d3a71c3c format comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3570 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 15:57:37 +00:00
pistoia 913fd56249 augmented preamble.js and Generator.java to have a better handle of the DOM
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3569 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 18:29:07 +00:00
rmfuhrer d498070dcf JavaClass can now represent the root class, in case it resides in source (previously, it required every class to have a superclass).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3568 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 17:22:57 +00:00
rmfuhrer ff82965836 Extracted a common subexpression to a local in defineFunction().
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3567 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 15:52:32 +00:00
rmfuhrer d38bfeb577 Added toString() impl.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3565 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 15:38:27 +00:00
sjfink ab5716c6ca add method getMaxChildIndex(). make constructor protected.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3564 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 20:00:29 +00:00
msridhar1 0062e051d4 some more debugging output
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3563 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 17:47:29 +00:00
dolby-oss c3769d5717 performance and other fixes driven by models of Web pages for JavaScript
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3562 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 14:11:31 +00:00
dolby-oss 99f7883d0c fix to demandpa regression failures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3561 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 14:09:58 +00:00
sjfink de6adbc4d7 more migration to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3559 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 17:42:28 +00:00
sjfink 17c2aa7588 remove unnecessary ClassHierarchyExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3558 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 13:04:33 +00:00
sjfink 948dab4d0d remove ClassHierarchyException from IClass.getAllMethods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3557 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 12:50:17 +00:00
sjfink 9939142eae switch from Assertions._assert to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3555 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 13:16:52 +00:00
sjfink 27a8cf22c0 comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3554 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:50:34 +00:00
sjfink 2506b78ff2 comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3553 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:46:55 +00:00
sjfink 71935d0562 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3552 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:44:08 +00:00
sjfink 2ca3536340 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3551 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:40:31 +00:00
dolby-oss 74609400e7 jni fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3550 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:04:14 +00:00
dolby-oss 45b1c34d2d support for 'rethrow' within a catch block
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3549 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:03:56 +00:00
dolby-oss 4a491686bd support for pop(0) as no-op
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3548 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:03:12 +00:00
dolby-oss 64fc356f49 not all languages capitalize class loader ref names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3547 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:02:47 +00:00
dolby-oss 43cf48ae67 support for EPS format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3546 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:01:31 +00:00
egeay 193fc85cdd - Updated test cases to 1.7 syntax
- Added one-level directory structure to separate the constructs tested.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3545 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-29 18:17:20 +00:00
egeay f5613864de git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3544 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 2009-04-29 18:13:14 +00:00
msridhar1 7f6fe71d4c comments, rename some variables
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3543 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-29 18:04:03 +00:00
msridhar1 3d816dc160 fix how we decide if we got reuse at a call site
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3542 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:55:46 +00:00
msridhar1 0bd511af9e changed propagate() to return a boolean indicating whether new propagation was performed
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3541 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:43:59 +00:00
sjfink 193560f977 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3540 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:14:15 +00:00
sjfink 829145e97b Nuke ClassHierarchyException from IClass.getSuperclass()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3539 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 19:52:34 +00:00
sjfink 50e093779a add getOuterClass()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3538 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 19:34:29 +00:00
pistoia 01272cd6e9 Minor change allows the HTML call graph builder to analyze charsets different from traditional ones. Before, it would throw an IOExcpeption.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3537 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 21:34:24 +00:00
msridhar1 da00944765 temporary debug print
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3536 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 14:18:03 +00:00
sjfink 86ff335b8d attempt to fix a bug relating to disposed or out-of-sync Model instances
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3535 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 13:52:13 +00:00
sjfink 76d72d1200 small tweak to precondition for isJunitMethod
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3534 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 13:51:49 +00:00
sjfink a5edb7eeda minor formatting and comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3533 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-24 14:47:08 +00:00