170 Commits

Author SHA1 Message Date
Ben Gruver
a5d82813f1 Call ContextUtil.getSourcePosition on the debugger manager thread 2016-07-24 15:38:34 -07:00
Ben Gruver
3aad871652 Add more info to troubleshoot crashes related to LazyValue.getValue being null 2016-07-24 15:37:27 -07:00
Ben Gruver
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
Ben Gruver
6f11c52b56 Don't try to resolve smali type references when in dumb mode 2016-07-24 14:06:31 -07:00
Ben Gruver
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
Ben Gruver
616a0738dd Fix the release task for smalidea 2016-02-27 20:11:39 -08:00
Ben Gruver
81e0309ed6 Keep the since/until IDEA versions specified in the plugin.xml 2016-02-27 20:06:20 -08:00
Ben Gruver
5a8a2a47b6 Fix an NPE in SmaliPositionManager.createPrepareRequest 2016-02-27 18:32:53 -08:00
Ben Gruver
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
Ben Gruver
4d8aeebc07 Fix how SmaliPositionManager gets the current class 2016-02-27 17:39:25 -08:00
Ben Gruver
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
Ben Gruver
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
Ben Gruver
66892009f5 Fix a possible NPE in SmaliCodeFragmentFactory 2016-02-27 12:51:26 -08:00
Ben Gruver
3bdedd6380 Fix up the sandbox directory for smalidea tests 2016-02-27 12:50:54 -08:00
Ben Gruver
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
Ben Gruver
ff4c85c5e4 Provide better register type information 2016-02-26 21:13:29 -08:00
Ben Gruver
aebb205aeb Add better support for conditional expressions for breakpoints 2016-02-20 12:04:48 -08:00
Ben Gruver
1df3869a30 Don't add tools.jar when building the idea project files 2016-02-20 12:04:48 -08:00
Ben Gruver
7b387e06c5 Gracefully handle analysis errors 2016-02-20 12:04:47 -08:00
Ben Gruver
4b337cc04d Allow local search scopes when searching class usages 2016-02-20 12:00:05 -08:00
Ben Gruver
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
Ben Gruver
92f8ec50c5 Add the ideadirs task for smalidea 2016-02-14 12:53:56 -08:00
Ben Gruver
df4e74e41c Make smalidea a separate gradle/idea project 2016-02-14 12:53:56 -08:00
Ben Gruver
6e788c8a8e Move META-INF/plugin.xml under resources 2016-02-14 12:50:31 -08:00
Ben Gruver
2e7fe1b8fe Fix the tests that require a real jdk 2016-02-14 12:50:31 -08:00
Ben Gruver
327957ae66 Update for new MethodAnalyzer signature 2016-02-14 12:50:31 -08:00
Ben Gruver
546fdfe3d1 Fix an unprotected read in SmaliClassReferenceSearcher 2015-05-09 11:15:33 -07:00
Ben Gruver
1895a4df82 Fix NPE in SmaliClass.setName() 2015-05-05 20:46:17 -07:00
Ben Gruver
46b359cf21 Fix an NPE related to an array descriptor just before an EOF 2015-05-05 20:40:02 -07:00
Ben Gruver
7061b7871d Fix ClassMoveTest's basicToNoPackage test 2015-05-04 21:07:16 -07:00
Ben Gruver
d9192ae850 Add missing gson dependency 2015-05-04 21:06:33 -07:00
Ben Gruver
3f4e6a388a Fix NPE in SmaliCodeFragmentFactory.isContextAccepted 2015-05-01 21:42:26 -07:00
Ben Gruver
7f54770868 Fix an unprotected read access in SmaliPositionManager.createPrepareRequest 2015-04-03 21:29:38 -07:00
Ben Gruver
660d4b5fd9 Workaround for issue with fake Object field type during indexing 2015-04-03 21:29:07 -07:00
Ben Gruver
4bc2334c39 Bump the version to v0.02 2015-04-03 00:23:46 -07:00
Ben Gruver
5deac6ede2 Add an error reporter that can create issues on github 2015-04-03 00:07:10 -07:00
Ben Gruver
93ae7badcd Ensure that SmaliCodeFragmentFactory is only used for smali files 2015-04-02 20:59:18 -07:00
Ben Gruver
4f16feb476 Ensure that SmaliModifierList's direct parent is a PsiModifierListOwner 2015-04-02 19:48:22 -07:00
Ben Gruver
312921148d Add smali classes to the main shortname index
This ensures the classes are available for autocompletion, e.g. in
a java file or while adding a watch when debugging
2015-03-31 19:59:21 -07:00
Ben Gruver
48aacd2c01 Add support for renaming methods 2015-03-31 18:51:48 -07:00
Ben Gruver
923cc91ea2 Add support for renaming fields 2015-03-30 21:26:03 -07:00
Ben Gruver
07e6ade7fe Add support for renaming/moving classes 2015-03-28 12:50:36 -07:00
Ben Gruver
50810d1f5b Add usage type support for method usages 2015-03-25 19:45:31 -07:00
Ben Gruver
9bedfc8e3e Add usage type support for field usages 2015-03-25 19:45:20 -07:00
Ben Gruver
9b86fcabff Add usage type support for class usages 2015-03-24 22:09:37 -07:00
Ben Gruver
99d0803eda Use createTypeFromText instead of createTypebyFQClassName
createTypeByFQClassName doesn't correctly handle primitive types
2015-03-21 13:39:58 -07:00
Ben Gruver
29a71371ad Implement SmaliClass.isInheritor/isInheritorDeep 2015-03-21 11:09:58 -07:00
Ben Gruver
aa4b0a0506 Remove completed TODO regarding PsiAnnotationMethods 2015-03-18 21:11:58 -07:00
Ben Gruver
75bef01d10 Merge branch 'master' into smalidea 2015-03-18 21:00:32 -07:00
Ben Gruver
ddc7c35e1c Add support for annotation element references
This adds support for both find usages and "go to definition"
functionality on an annotation element.
2015-03-15 14:55:57 -07:00