Commit Graph

1812 Commits

Author SHA1 Message Date
Jakub Valtar
165c2ecdf2 Replace bit operators with boolean operators 2016-05-08 19:46:19 +02:00
Jakub Valtar
84ad45ec85 Move PDEX listeners from JavaEditor to PDEX 2016-05-08 19:39:39 +02:00
Ben Fry
db85400515 Merge pull request #4384 from gohai/arm-next
Add a few IO library examples
2016-05-06 20:03:11 -04:00
Jakub Valtar
8c66f369e7 PDEX + PPS: remove unnecessary problem list 2016-05-07 01:24:48 +02:00
Jakub Valtar
41524cc610 Multiple problems per line 2016-05-07 00:38:58 +02:00
Jakub Valtar
cd160e9b18 Fix indents in ImportStatement 2016-05-07 00:17:05 +02:00
Jakub Valtar
d54b363ea0 Make sure parseXXX functions can be mapped correctly 2016-05-06 23:46:01 +02:00
Jakub Valtar
6aedf09854 Handle edge cases in offset mapping 2016-05-06 23:40:42 +02:00
Jakub Valtar
0ca3181cfa Merge remote-tracking branch 'upstream/master' into javamode-refactoring 2016-05-06 22:40:01 +02:00
Jakub Valtar
350612826e PPS: display all errors at once 2016-05-06 21:12:45 +02:00
Jakub Valtar
a93ac18a94 PDEX: change severity of status messages 2016-05-06 20:38:19 +02:00
Jakub Valtar
2e489b5820 PDEX: make show usage tree nicer 2016-05-06 20:32:47 +02:00
Jakub Valtar
88d0065d58 Fix typo in TextTransform 2016-05-06 19:58:04 +02:00
Jakub Valtar
8bc5fd2427 PDEX + PPS: make rename and undo work together 2016-05-06 19:38:54 +02:00
Jakub Valtar
0e035b09e4 PDEX: clean up rename window positioning 2016-05-06 19:35:19 +02:00
Jakub Valtar
5467d30cf2 PDEX: fix Show Usage window not updating 2016-05-06 19:34:59 +02:00
Jakub Valtar
b1eb7bec15 PDEX + PPS: add blocking callbacks 2016-05-06 19:34:17 +02:00
Jakub Valtar
d16c0a5072 PDEX: add some error messages 2016-05-06 19:33:25 +02:00
Jakub Valtar
ecc6eb1d88 PDEX: make ShowUsage static 2016-05-06 17:55:38 +02:00
Jakub Valtar
dbdb4bd8e0 Make suggestion window flicker (little bit) less 2016-05-06 17:52:57 +02:00
Jakub Valtar
75bc74606d Remove unused Sketch and Tab outlines 2016-05-06 17:52:36 +02:00
Jakub Valtar
08508072ea Rename ECS to preprocessing service, move error checking to PDEX 2016-05-06 17:44:15 +02:00
Jakub Valtar
4fd2ba5e5d PDEX: simplify AST debug tree generation 2016-05-06 13:20:32 +02:00
Jakub Valtar
4f297645ca Move vm-specific classes into Debugger 2016-05-06 12:59:41 +02:00
Jakub Valtar
c31fe2df88 Fix indents in MarkerColumn (tabs -> spaces) 2016-05-06 12:49:50 +02:00
Jakub Valtar
27a61d05a2 Move LineMarker into MarkerColumn 2016-05-06 12:48:15 +02:00
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