Jakub Valtar
25ac5db0ab
Remove problem priority since we're going to do it manually in PDEX.ErrorChecker
2017-09-19 23:04:56 +02:00
Jakub Valtar
46b5e29fb3
Gather error checking code in PDEX.ErrorChecker
2017-09-19 22:52:49 +02:00
Jakub Valtar
c583d2aaa9
To create Problems use pdeCode instead of messing with editor
2017-09-19 16:23:38 +02:00
George Bateman
363d22e955
Merge branch 'master' into featurefixbadquotes
2017-07-20 19:48:59 +01:00
George Bateman
0c828ad433
Fix #5165 . Wrong tab for missing brace
2017-07-18 20:28:20 +01:00
George Bateman
cd7430fc10
Handle curly quotes in error checker
...
Also now prioritizes error messages on a single line for display to the
user, since ECJ doesn't always get that right, reported mismatched
argument lists when there's a syntax error and so on.
2017-06-24 14:35:18 +01:00
George Bateman
96a042f873
Add handler for Antlr "unexpected char"
...
There's a special message for curly quotes.
2017-06-22 19:19:29 +01:00
George Bateman
42f48475b7
Autoformatter: fix curly quotes.
...
Also it now doesn't destroy the rest of the file if a string is left
unterminated. Will never fix "content” since curly quotes are valid
string content.
2017-06-22 12:37:43 +01:00
Jakub Valtar
5e6a147896
Fix "Could not parse -1 for --dsiplay" error
...
When runDisplay was set to -1 no display detection happened. Fixed it so
that editor display is used.
Regression introduced in d960fd1cba
Fixes #5118
2017-06-20 01:24:05 +02:00
George Bateman
e3c822c1d2
Prompt the user to give the L suffix on numbers
...
Fixes #4878
2017-05-20 12:33:22 +01:00
Jakub Valtar
17b9a6480d
PPS: fall back to sketchcode.program if sketchcode.document is null
2017-05-19 17:34:49 +02:00
Jakub Valtar
9c2352fa03
Notify Editor from Change Detector to run error check
2017-05-19 17:33:40 +02:00
Ben Fry
3210bd202e
look into dock name issue, find that it is a Java bug...
2017-05-04 11:59:38 -04:00
Ben Fry
d960fd1cba
prevent "run sketches on display" message from showing up on startup
2017-05-04 11:29:12 -04:00
Ben Fry
10bd76d099
working on macOS Sierra signing issues seen in #4705
2017-05-04 07:07:50 -04:00
Ben Fry
57b221d389
clean up error message about sketchbook folder ( fixes #4942 )
2017-05-03 21:28:31 -04:00
Ben Fry
909a87f1b6
avoid attempts to export 32-bit verrsions of apps on macOS ( fixes #4971 )
2017-04-23 09:22:31 -04:00
Ben Fry
3ba5c42c02
add cell renderer to usage window
2017-04-22 20:09:33 -04:00
Ben Fry
22af325c1b
Merge pull request #5019 from JakubValtar/fix-comment-scrub
...
Scrub comments: skip the second chracter in the escape sequence
2017-04-21 17:23:36 -04:00
Ben Fry
fa836591b0
Merge pull request #5011 from JakubValtar/blow-up
...
Window placement and pixel density cleanup
2017-04-21 16:57:20 -04:00
Jakub Valtar
c2e0cb9705
Scrub comments: skip the second chracter in the escape sequence
...
Fixes #5016
2017-04-21 12:35:52 +02:00
Ben Fry
c890d379c7
Merge pull request #5002 from gohai/arm64
...
Add support for 64-bit ARM boards
2017-04-20 14:37:20 -04:00
Ben Fry
2cca39a176
Merge pull request #4999 from JakubValtar/fix-preproc-comments
...
Fix preproc skipping one char after a block comment
2017-04-17 13:21:28 -04:00
Jakub Valtar
2e36a6c2a8
Styling
2017-04-16 17:24:31 +02:00
Jakub Valtar
f433a1e5ea
Fix breakpoints in inner classes
...
Fixes #2946
2017-04-16 17:22:08 +02:00
gohai
5a5524b197
ARM: Add arm64 support to app, core & mode
...
Currently untested.
2017-04-11 14:44:49 +02:00
Jakub Valtar
ea44b6e22b
Fix preproc skipping one char after a block comment
...
Fixes #4995
2017-04-09 18:52:46 +02:00
Jakub Valtar
6ac2529f80
Pass display density from PDE to sketches as a command line arg
2017-02-16 13:24:09 +01:00
Ben Fry
8414512af9
stumbled across spacing issues
2017-02-15 17:55:57 -05:00
Jakub Valtar
ed17f6d21f
Fix preprocessing of code with double backslash in string or char literal
...
Fixes #4903
2017-02-15 15:03:03 +01:00
Ben Fry
df15bcefe5
Merge pull request #4707 from rzats/feature-4668
...
PDEX: Add 'Jump to Declaration' to right-click menu (#4668 )
2017-02-13 14:16:23 -05:00
Ben Fry
e650d4104d
deal with a handful of warnings
2017-02-03 11:58:22 -05:00
Ben Fry
022c27633c
deal with a handful of warnings
2017-01-29 10:57:44 -05:00
Ben Fry
a43ec78579
Merge pull request #4806 from joelmoniz/bugfix-debug-newline
...
Replace keyChar with keyCode to prevent new line error when debugging
2017-01-29 10:50:12 -05:00
Jakub Valtar
d8e8619f6e
Fix restarting sketch in Debug mode when Run is pressed
...
Disconnect event of the old VM would arrive after the new VM was
created, closing it instantly and leaving user without a running sketch.
2017-01-23 03:09:51 +01:00
Jakub Valtar
95ebcdb825
Add proper synchronization for sketch launching and closing
...
Pressing Run button twice launched two sketch windows, but only one of
them could be closed by Stop button. Pressing Stop had effect only after
sketch VM was launched.
Both of these issues are now fixed and buttons can handle a
frustration-relieving session of aggressive clicking, leaving one sketch
window if Run was the last button pressed or no window if Stop was the
last button pressed.
2017-01-23 03:07:42 +01:00
Jakub Valtar
28052c2b39
Make run button behave
...
When clicking run button while a sketch is running, it will be activated
again when the sketch is restarted. Previously it got deactivated by the
old sketch runner, because it was quitting after the new sketch runner
started.
2017-01-22 23:24:32 +01:00
Jakub Valtar
916e38b98d
Small threading fixes for run/present/tweak
2017-01-21 19:03:12 +01:00
Joel Moniz
c81fc0ac16
Replace keyChar with keyCode to prevent new line error when debugging
2017-01-01 21:02:51 +05:30
Jakub Valtar
0a02898ff1
Don't cache search classpath, only build it when looking for a class
...
Fixes #4748
Libraries imported in opened sketches will be still locked by latest
preprocessed CompilationUnit. Otherwise we would have to copy library
jars somewhere else so they can be available to CompilationUnit while
Contribution Manager updates original unlocked jars.
2016-12-18 00:36:22 +01:00
Jakub Valtar
b72a39564b
Detect missing braces in tabs, ignore other problems until fixed
2016-12-17 20:56:33 +01:00
Jakub Valtar
dd31bf2fbe
Clean up JavaProblem, remove IProblem field
2016-12-16 04:48:11 +01:00
Jakub Valtar
5f464e9558
PDEX: simplify import suggestion handling
2016-12-16 04:45:42 +01:00
Jakub Valtar
d3a6e7ec5b
Fix ErrorMessageSimplifier indents (no functional changes)
2016-12-16 04:45:42 +01:00
Jakub Valtar
508132dff1
Clean up ErrorMessageSimplifier
...
Remove weird unused thread-spawning constructor
Accept IProblem instead of whole JavaProblem
Move fallback process() from JavaProblem to EMSimplifier as a default
case
Add debug switch and move debug logging into if blocks
2016-12-16 04:45:42 +01:00
Jakub Valtar
7b3719ad8f
Fix hex color regex
...
Same problem as with type constructors #4744
Fixes #4752
2016-11-24 22:16:40 +01:00
Jakub Valtar
ab4eb7353f
Fix nested type constructors raising error
...
Replace non-capturing groups by positive lookahead and lookbehind,
because they don't consume the source String and allow for first and
last group to overlap when two constructors are directly nested.
Fixes #4652
2016-11-16 01:36:20 +01:00
Ben Fry
39692cda55
remove other logging references
2016-11-09 21:20:51 -05:00
Ben Fry
9d051cd052
fix copyrights, remove authors per guidelines, replace logging
2016-11-09 21:13:06 -05:00
Ben Fry
9465c67230
remove the Java logger in favor of built-in logging
2016-11-09 17:24:01 -05:00