Commit Graph

172 Commits

Author SHA1 Message Date
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
4f16feb476 Ensure that SmaliModifierList's direct parent is a PsiModifierListOwner 2015-04-02 19:48:22 -07:00
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
48aacd2c01 Add support for renaming methods 2015-03-31 18:51:48 -07:00
923cc91ea2 Add support for renaming fields 2015-03-30 21:26:03 -07:00
07e6ade7fe Add support for renaming/moving classes 2015-03-28 12:50:36 -07:00
50810d1f5b Add usage type support for method usages 2015-03-25 19:45:31 -07:00
9bedfc8e3e Add usage type support for field usages 2015-03-25 19:45:20 -07:00
9b86fcabff Add usage type support for class usages 2015-03-24 22:09:37 -07:00
99d0803eda Use createTypeFromText instead of createTypebyFQClassName
createTypeByFQClassName doesn't correctly handle primitive types
2015-03-21 13:39:58 -07:00
29a71371ad Implement SmaliClass.isInheritor/isInheritorDeep 2015-03-21 11:09:58 -07:00
aa4b0a0506 Remove completed TODO regarding PsiAnnotationMethods 2015-03-18 21:11:58 -07:00