Commit Graph

183 Commits

Author SHA1 Message Date
76d69c7466 Bump smalidea version to v0.05 2017-03-31 17:06:53 -07:00
10fd792f59 Correctly calculate the offset for switch targets in smalidea
This fixes an issue where watches on registers (among other things) don't
work inside a method containing a switch statement, due to a failure
analyzing the method.
2017-03-31 17:06:53 -07:00
e72e07fc2e Update version to 0.04 2017-03-21 23:53:11 -07:00
8ed2f18601 Add Project argument to SmaliClassFinder constructor
In some cases, scope.getProject() may be null. Apparently, IDEA will
automatically pass in the project if you specify one in the constructor.
See, e.g. MigrationElementFinder in the IDEA source.
2017-03-21 23:26:06 -07:00
a15fc84ace Add missing read actions in SmaliPositionManager 2017-03-21 22:03:42 -07:00
fa13b13bbd Update linked version of IDEA to 2016.3.5 2017-03-21 21:59:02 -07:00
1390c6cff6 getStubOrPsiParent() -> getParentByStub() 2017-03-21 21:22:29 -07:00
7a95aa296f Add additional exception info if StringReference doesn't resolve to a String 2016-10-23 13:55:23 -07:00
8f7d1a897d Fix null start/end locations in SmaliCodeFragmentFactory.evaluateRegister 2016-10-23 13:15:32 -07:00
0e773cbe9b Don't attempt to evaluate an out-of-bounds register 2016-10-23 12:49:19 -07:00
458398ff7c Fix the smalidea build for gradle 3.1 2016-10-02 18:12:22 -07:00
8f27f45fb1 Add Opcodes.getDefault
This replace various uses of hardcoded Opcodes.forApi() with
Opcodes.getDefault() or other alternatives as applicable
2016-10-01 17:07:18 -07:00
d7d995cc2d Remove the now-unused experimental opcodes flag/functionality 2016-09-17 21:30:28 -07:00
a5d82813f1 Call ContextUtil.getSourcePosition on the debugger manager thread 2016-07-24 15:38:34 -07:00
3aad871652 Add more info to troubleshoot crashes related to LazyValue.getValue being null 2016-07-24 15:37:27 -07:00
a95d0a43a5 Implement SmaliClass.getPresentation
This fixes an issue when trying to use ctrl+n to find a smali class
2016-07-24 14:37:57 -07:00
6f11c52b56 Don't try to resolve smali type references when in dumb mode 2016-07-24 14:06:31 -07:00
f8f4e32240 Update smalidea to work with newer versions of IDEA
This moves from using the deprecated DebuggerSupport class to the new
JvmSteppingCommandProvider

This also bumps the minimum required IDEA version to 15
2016-07-24 14:06:31 -07:00
616a0738dd Fix the release task for smalidea 2016-02-27 20:11:39 -08:00
81e0309ed6 Keep the since/until IDEA versions specified in the plugin.xml 2016-02-27 20:06:20 -08:00
5a8a2a47b6 Fix an NPE in SmaliPositionManager.createPrepareRequest 2016-02-27 18:32:53 -08:00
d018443797 Return an empty list from SmaliClass.getVisibleSignatures()
Don't return null from a @NotNull method, silly.
2016-02-27 17:42:47 -08:00
4d8aeebc07 Fix how SmaliPositionManager gets the current class 2016-02-27 17:39:25 -08:00
37fbbe8e15 Submit issues to the smalidea-issues repo
Let's not spam the nice people who watch the smali repo. (I'm looking
at you jcase)
2016-02-27 17:39:03 -08:00
82f031210e Add support for java inner classes
It's now possible to reference java inner classes based on what their
name would be in smali
2016-02-27 13:00:19 -08:00
66892009f5 Fix a possible NPE in SmaliCodeFragmentFactory 2016-02-27 12:51:26 -08:00
3bdedd6380 Fix up the sandbox directory for smalidea tests 2016-02-27 12:50:54 -08:00
29d714f71f Conditionally add the smalidea project to the root project
The smalidea project is only added when you're actually in the
smalidea directory
2016-02-26 22:09:08 -08:00
ff4c85c5e4 Provide better register type information 2016-02-26 21:13:29 -08:00
aebb205aeb Add better support for conditional expressions for breakpoints 2016-02-20 12:04:48 -08:00
1df3869a30 Don't add tools.jar when building the idea project files 2016-02-20 12:04:48 -08:00
7b387e06c5 Gracefully handle analysis errors 2016-02-20 12:04:47 -08:00
4b337cc04d Allow local search scopes when searching class usages 2016-02-20 12:00:05 -08:00
f16ea398a1 Don't require an active debugging session when making a code fragment
This is needed, e.g. when editing a conditional statement in the
breakpoint window.
2016-02-20 12:00:05 -08:00
92f8ec50c5 Add the ideadirs task for smalidea 2016-02-14 12:53:56 -08:00
df4e74e41c Make smalidea a separate gradle/idea project 2016-02-14 12:53:56 -08:00
6e788c8a8e Move META-INF/plugin.xml under resources 2016-02-14 12:50:31 -08:00
2e7fe1b8fe Fix the tests that require a real jdk 2016-02-14 12:50:31 -08:00
327957ae66 Update for new MethodAnalyzer signature 2016-02-14 12:50:31 -08:00
546fdfe3d1 Fix an unprotected read in SmaliClassReferenceSearcher 2015-05-09 11:15:33 -07:00
1895a4df82 Fix NPE in SmaliClass.setName() 2015-05-05 20:46:17 -07:00
46b359cf21 Fix an NPE related to an array descriptor just before an EOF 2015-05-05 20:40:02 -07:00
7061b7871d Fix ClassMoveTest's basicToNoPackage test 2015-05-04 21:07:16 -07:00
d9192ae850 Add missing gson dependency 2015-05-04 21:06:33 -07:00
3f4e6a388a Fix NPE in SmaliCodeFragmentFactory.isContextAccepted 2015-05-01 21:42:26 -07:00
7f54770868 Fix an unprotected read access in SmaliPositionManager.createPrepareRequest 2015-04-03 21:29:38 -07:00
660d4b5fd9 Workaround for issue with fake Object field type during indexing 2015-04-03 21:29:07 -07:00
4bc2334c39 Bump the version to v0.02 2015-04-03 00:23:46 -07:00
5deac6ede2 Add an error reporter that can create issues on github 2015-04-03 00:07:10 -07:00
93ae7badcd Ensure that SmaliCodeFragmentFactory is only used for smali files 2015-04-02 20:59:18 -07:00