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
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
REAS
c6a2b03d1c
Fresh keywords from Reference updates/additions
2016-11-10 14:59:59 -08: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
Ben Fry
b42ac594f8
detect changes to /etc/hosts and warn user ( #4738 )
2016-11-09 11:52:48 -05:00
Ben Fry
cc8a12cf81
oh, permissions... i blame windows
2016-11-09 11:07:23 -05:00
Ben Fry
10eb4af3be
more error handling and logging to sort out #4735
2016-11-08 13:49:54 -05:00
Ben Fry
7a719e1b5e
trying to clean up DetailPanel
2016-11-05 14:05:07 -04:00
Ben Fry
d596697dee
deal with pedantic code analyzer ( fixes #4670 )
2016-10-29 11:12:39 -04:00
Ben Fry
3a21ba998f
update launch4j to 3.9, fixes #4682
2016-10-29 10:16:19 -04:00
Ben Fry
5634ca28e7
add getRenderer() to SurfaceInfo ( fixes #4441 )
2016-09-02 12:10:59 -04:00
gohai
76043ac0dc
IO: Tweaks to SoftwareServo JavaDoc
2016-08-28 17:50:40 +02:00
gohai
ad28491c25
IO: Add PHONY target to Makefile
2016-08-28 17:50:40 +02:00
Ben Fry
f8e0491517
this was just doubling this stuff up, oops
2016-08-19 17:11:11 -04:00
Ben Fry
eba6ed14e6
fix "Embed Java" for 32-bit Linux export
2016-08-19 17:08:01 -04:00
Ben Fry
2e9357839c
Merge branch 'master' of github.com:processing/processing
2016-08-19 16:42:35 -04:00
Ben Fry
a1e774b874
disable ext.dirs on Linux export and set jna.nosys as well
2016-08-19 16:42:30 -04:00
Ben Fry
534ca5d86f
fixes for java.ext.dirs on Windows (more for #4623 )
2016-08-19 15:39:02 -04:00
Ben Fry
3f0ed67d8c
OS X does not like quotes here
2016-08-19 14:11:22 -04:00
Ben Fry
bcd7f9daf2
work on quoting of java.ext.dirs ( #4623 )
2016-08-19 14:07:04 -04:00
Ben Fry
2c0c1b9a36
bring back getImage() to fix #4473
2016-08-12 21:34:50 -04:00
Ben Fry
1a63018867
remove use of Vector, some dead/commented code
2016-08-12 18:44:31 -04:00
Ben Fry
6041d2e024
sometimes StringList is a beautiful thing
2016-08-12 16:07:54 -04:00
Ben Fry
2ca650aa54
only do these if we are embedding
2016-08-12 16:06:57 -04:00
Ben Fry
c294f0a7b1
Merge branch 'master' of https://github.com/processing/processing
2016-08-12 15:58:26 -04:00
Ben Fry
490755b96c
be more explicit about this
2016-08-12 15:57:47 -04:00
Ben Fry
ff831bcb25
fix ext.dirs for each platform for export
2016-08-12 15:57:25 -04:00
Ben Fry
ef7c4525f3
tweaks and testing for ext.dirs handling
2016-08-12 15:27:18 -04:00
Ben Fry
561da6e837
more platform compatibility fixes, minimum system updates
2016-08-07 12:55:21 -04:00
Ben Fry
7e142e8b54
add template support for Modes
2016-08-07 08:34:42 -04:00
Ben Fry
ff56953060
get styles to work properly, other cleanups
2016-08-06 15:48:55 -04:00
Ben Fry
149fda3d37
remove ErrorMarker hack, make it standard in Editor
2016-08-06 15:03:06 -04:00
Ben Fry
d41e083700
moving more things into Editor
2016-08-06 14:52:42 -04:00
Ben Fry
14f332c050
more function moving
2016-08-06 13:21:52 -04:00
Ben Fry
13e7d40e62
removing some dead code, other cleaning
2016-08-06 12:40:55 -04:00
Ben Fry
3e4f79bbdc
move MarkerColumn into processing.app.ui
2016-08-06 12:36:09 -04:00
Ben Fry
9f57d2a063
heavy refactoring to separate Java and non-Java code for Modes
2016-08-06 12:31:49 -04:00
Ben Fry
e97c6bff21
further refactoring
2016-08-06 11:39:27 -04:00