Jakub Valtar
7e1517f4b7
ASTGen: rename to CompletionGenerator
2016-05-06 12:37:53 +02:00
Jakub Valtar
7b13d1d2dd
ASTGen: break the revised stuff out into PDEX
2016-05-06 12:36:40 +02:00
Jakub Valtar
2796026cf6
JavaBuild: fix output path when java tabs have package declaration
2016-05-06 00:19:50 +02:00
Jakub Valtar
cbfad51dec
Handle last line correctly while building Show Usage Tree Node
2016-05-06 00:05:46 +02:00
Jakub Valtar
f81e98e49d
Fix NPE while logging exceptions in JavaTextArea
2016-05-06 00:04:34 +02:00
Jakub Valtar
09e4552ceb
Offset mapping: clip tab index before using it
2016-05-06 00:01:37 +02:00
gohai
fe2082dcce
IO: Simulate on all unsupported platforms
...
Instead of throwing an exception early on, this makes it possible to test all other parts of sketches that make light use of the IO library. A warning is printed once after startup for those environments.
This was tested on OS X against all examples that come with the IO library. Note: x86 and x64 are technically supported platforms. If a user on those prefers to use simulation instead, it is necessary to call NativeInterface.alwaysSimulate() before any other IO library function.
2016-05-05 19:33:37 +02:00
gohai
ef1490566b
IO: Fix LedCounter example
2016-05-05 19:27:19 +02:00
Jakub Valtar
8885c38b68
ECS: make library lookup thread safe
2016-05-03 12:16:58 +02:00
Jakub Valtar
694436c724
ECS: rebuild class paths only when needed
2016-05-03 12:14:32 +02:00
Jakub Valtar
58e802b1da
ECS: catch and report exceptions form preprocessing loop
2016-05-03 09:02:55 +02:00
gohai
f1077d0a86
IO: Prepare for standalone distribution in Contribution Manager
2016-05-02 18:28:20 +02:00
Jakub Valtar
531a6aaaf3
ECS: clean up problem handling, move editor functions to JavaEditor
2016-04-30 19:07:08 +02:00
Jakub Valtar
e3296c48de
ECS: handle java tabs and preference changes better
2016-04-30 17:41:25 +02:00
Jakub Valtar
59b4fb2b7f
Notify ECS that sketch changed on adding/removing tab
2016-04-30 17:08:37 +02:00
Jakub Valtar
824fdd8a59
Fix mode core library being null
2016-04-30 16:50:45 +02:00
Jakub Valtar
1cb8773ba5
Let Mac users have some fun too
...
- enables BUTTON2 click as an alternative for (ctrl/meta)+click on OSX
2016-04-29 18:20:16 +02:00
Jakub Valtar
8e40b89acc
ECS + ASTGen: threading
...
- when continuous error checking is disabled, the sketch is preprocessed
on demand
- disable whole infrastructure when there are java tabs
- error checker now accepts callbacks which run after error check
finishes
- preprocessed sketch can be no longer obtained directly via public
field; ASTGenerator was refactored to allow passing the preprocessed
sketch down through the hierarchy (should be refactored later)
- rename, go to declaration and show usage now run in background thread
2016-04-29 16:44:29 +02:00
Jakub Valtar
a83f957856
remove unnecessary ecs dependence
2016-04-29 01:24:29 +02:00
Jakub Valtar
a8eb88ec94
ECS: name the ecs thread
2016-04-29 01:24:09 +02:00
Jakub Valtar
c01cb85bc1
ECS: remove old import regex
2016-04-27 17:53:58 +02:00
Jakub Valtar
cf9059f142
ECS: remove duplicated code for building class paths
2016-04-27 16:49:02 +02:00
Jakub Valtar
7c76e30543
ECS + ASTGen: offset mapping and error check overhaul
2016-04-27 15:52:17 +02:00
Jakub Valtar
e8856e9d6d
ECS + ASTGen: simplify mapping, rename SourceMapping to TextTransform
2016-04-26 11:33:41 +02:00
Jakub Valtar
852c691fc2
ASTGen: cleanup
2016-04-26 01:20:05 +02:00
Jakub Valtar
d49cd72cc6
ASTGen: rename classes and constructors together
2016-04-26 01:09:14 +02:00
Jakub Valtar
8900236161
ASTGen: don't allow renaming nodes not declared in sketch
2016-04-26 01:08:43 +02:00
Jakub Valtar
5ff341a747
ECS: streamline check, resolve bindings in CUs with syntax errors
2016-04-25 23:10:01 +02:00
Jakub Valtar
c4498299a6
ECS: class path cleanup
2016-04-25 23:07:23 +02:00
Jakub Valtar
7adaa9cc76
ASTGen: make rename dialog modal
2016-04-22 14:18:41 +02:00
Jakub Valtar
0647c7d248
ASTGen: ctrl click on declaration shows usage
2016-04-22 14:16:09 +02:00
Jakub Valtar
3ca2d9aa9e
JavaTextAreaPainter: go to declaration on middle click too
2016-04-22 11:43:36 +02:00
Jakub Valtar
0b0d3fdbf4
ASTGen: show usage tree visual enhancements
2016-04-22 11:42:34 +02:00
Jakub Valtar
8a5297b33c
ASTGen: remove lastClickedWord
2016-04-22 10:51:26 +02:00
Jakub Valtar
5343a2e988
ASTGen: fix rename
2016-04-22 10:47:22 +02:00
Jakub Valtar
a1edc84c73
ASTGen: show usage - fancy tree nodes
2016-04-22 09:26:48 +02:00
Jakub Valtar
5f375c198d
ASTGen: parametrized & raw binding resolution
2016-04-22 09:24:53 +02:00
Jakub Valtar
0b1f1b9283
ASTGen: getSimpleNameAt - return null if nothing not found
2016-04-22 01:53:44 +02:00
Jakub Valtar
d2c73cf97b
ASTGen: show usage refactoring
2016-04-21 22:37:08 +02:00
Jakub Valtar
396b5846d6
ECS + ASTGen: delete unused code
2016-04-18 00:46:28 +02:00
Jakub Valtar
d73dc886f8
ASTGen: fix find usage
2016-04-18 00:15:42 +02:00
Jakub Valtar
1cd8bd7b07
Fix drawing lines with tabs
...
Fixes #3975
2016-04-17 12:58:38 +02:00
Jakub Valtar
47d6dbcecd
ASTGen: fix debug tree labels & highlighting
2016-04-17 03:14:47 +02:00
Jakub Valtar
efdeb84dae
ECS + ASTGen: fix minor mapping inaccuracies
2016-04-17 03:14:34 +02:00
Jakub Valtar
270cf8c7d0
ECS: fix problem highlighting
2016-04-16 23:03:45 +02:00
Jakub Valtar
55e955b9fb
ECS + ASTGen: big offset fix
...
- PreprocessedSketch is now top level class
- go do declaration (ctrl+click) was fixed and is now handled via JDT
- various offset conversions were simplified and code completion now
works as before
2016-04-16 22:55:21 +02:00
Jakub Valtar
68264f228d
ECS: generate AST with bindings
2016-04-16 12:42:28 +02:00
Jakub Valtar
56a2582aea
ECS: preserve class path array
2016-04-16 12:41:21 +02:00
Jakub Valtar
1a255f8025
ASTGen: use compilation unit from preprocessed sketch
2016-04-14 20:07:04 +02:00
Jakub Valtar
1f78c75db0
ASTGen: use classpath from preprocessed sketch
2016-04-14 20:02:28 +02:00