Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6450 commits
Select commit Hold shift + click to select a range
431c525
fixing drawPixels implementation...
codeanticode Nov 28, 2012
e60d439
drawPixels() is finally working
codeanticode Nov 28, 2012
210c22d
changed order of vertices in quad tessellation to make it same as in …
codeanticode Nov 28, 2012
f282f04
don't attempt to tessellate edges if edge count == 0. Solves issue #1421
codeanticode Nov 29, 2012
fb0f20c
add FUNCTION1 and FUNCTION2 for better keyword coloring
benfry Nov 29, 2012
189981d
set quality level higher when exporting JPEG images (issue #58)
benfry Nov 29, 2012
652ea51
New colors for text editor
REAS Nov 29, 2012
bcc8ad1
Fixes axis-orientation inconsistency in ortho() and fustrum() (issue …
codeanticode Nov 30, 2012
ce2d191
added shift in ortho() so the default 2D projection is ortho(0, width…
codeanticode Nov 30, 2012
3872cfb
using processing Y-axis orientation for ortho() and frustum(), center…
codeanticode Nov 30, 2012
328805a
fix 32/64-bit setting on OS X (issue #1426)
benfry Dec 1, 2012
38c4267
fix com.sun classes (issue #1424) and background() with blendMode()
benfry Dec 1, 2012
13479f5
disable Quartz rendering on OS X to fix compositing problem
benfry Dec 2, 2012
abc59e8
fix double error report about textMode(SCREEN)
benfry Dec 2, 2012
e4f27d5
Cleanups to JavaScript mode. Reference now opens Java reference, impo…
fjenett Dec 2, 2012
c365fd5
prevent ant from clobbering UTF-8 files
benfry Dec 5, 2012
2a895ad
error/debug messages from Android not showing up (issue #1440)
benfry Dec 5, 2012
eaf5f62
add new colors and descriptions from Casey
benfry Dec 5, 2012
b388ca3
fix "no library found" errors on Android
benfry Dec 5, 2012
b023db6
todo items for recent changes
benfry Dec 5, 2012
35ccf7f
prevent errors on first line of a new tab from highlighting on previo…
benfry Dec 5, 2012
f79a1bc
Sync with Java: added showWarning() that takes a parsed string, and a…
codeanticode Dec 5, 2012
a26733d
Android OpenGL sync
codeanticode Dec 5, 2012
0807cad
minor name changes to make it same as PGL on Android
codeanticode Dec 5, 2012
e428f0b
removing Google APIs requirement (issue #613)
benfry Dec 6, 2012
98966ca
todo items
benfry Dec 6, 2012
95ed8d6
Minor reference changes for v215
REAS Dec 6, 2012
9834cd1
test whether inside quotes when scrubbing comments
benfry Dec 6, 2012
3d450de
add Eclipse setting to ignore warnings
benfry Dec 6, 2012
60b2c2f
change hint to DISABLE_OPTIMIZED_STROKE (issue #1302)
benfry Dec 6, 2012
31ecfb2
incorporating updates for experimental mode
benfry Dec 6, 2012
673993f
moving to new location
benfry Dec 6, 2012
9633d26
checking in as Eclipse project on its own
benfry Dec 6, 2012
507cb86
change heading2D() to heading()
benfry Dec 6, 2012
6022e0d
change heading2D() to heading()
benfry Dec 6, 2012
c7db683
fix up the Eclipse build after moving modes a bit
benfry Dec 6, 2012
cbc56bc
copying base keywords to the other modes
benfry Dec 6, 2012
ffd137f
change how keywords are loaded
benfry Dec 6, 2012
e177075
adding java2/experimental to the build
benfry Dec 6, 2012
eca72f0
renaming the java2 mode
benfry Dec 6, 2012
54ac5f9
changing package for this feller
benfry Dec 6, 2012
2387412
experimental now building from ant as its own unit
benfry Dec 6, 2012
b76ff5b
Mods for v215 reference
REAS Dec 7, 2012
e35cd62
Removing redundant example, was renamed
REAS Dec 7, 2012
ba8e3ec
New reference.zip for 2b7
REAS Dec 7, 2012
30d7650
Added NoBackgroundTest example to Demos/Tests
codeanticode Dec 7, 2012
aeb93fa
finalizing 2.0b7
benfry Dec 7, 2012
238ca11
removed andres todo list
codeanticode Dec 7, 2012
c009e2f
experimental mode updates from Manindra
benfry Dec 7, 2012
8ca7d2c
adding colors for experimental mode
benfry Dec 7, 2012
bc95b82
hrm, maybe not
benfry Dec 7, 2012
0d4c4bb
starting the next release
benfry Dec 7, 2012
ad78395
looking into Windows 8 MovieMaker issue
benfry Dec 8, 2012
1f230f4
remove extra separator at the top of the Help menu on Windows and Linux
benfry Dec 8, 2012
e0a86c2
make note of MovieMaker issues
benfry Dec 8, 2012
9900c39
add clear() to replace background(0, 0, 0, 0)
benfry Dec 8, 2012
2ea6c3c
updating build args
benfry Dec 8, 2012
8319861
fix typo, start new revisions
benfry Dec 8, 2012
791957d
clear() method auto-added to PApplet
benfry Dec 8, 2012
553baef
add 6u37 as the Java runtime
benfry Dec 8, 2012
e149323
close opened streams
benfry Dec 8, 2012
f5d7618
updated javadoc
benfry Dec 8, 2012
4e96a18
move notes out of source and into bug report
benfry Dec 8, 2012
1d5d2f0
add java.io.File to the default imports (issue 1453)
benfry Dec 8, 2012
1a63ff0
adding new classes
benfry Dec 8, 2012
5ac6569
close open stream
benfry Dec 8, 2012
76a55e0
updating todo list
benfry Dec 8, 2012
1bc996b
Windows 7 reference
benfry Dec 8, 2012
6c65224
removing time stamp from the javadoc
benfry Dec 8, 2012
ac952c3
adding unused items
benfry Dec 8, 2012
07d2830
removing unused files
benfry Dec 8, 2012
dcee5b3
hopefully the last word on javadoc
benfry Dec 8, 2012
97a4e62
moved into the build script
benfry Dec 8, 2012
e769bef
Improved FBO layer handling on Android. Fixes problem on N1 (issue #1…
codeanticode Dec 8, 2012
6cbc658
setting property for text/html on all html files
benfry Dec 8, 2012
980cc88
fixes from Manindra (issue #1449)
benfry Dec 8, 2012
03d03a1
misc todo items
benfry Dec 8, 2012
acb9ff3
add KEYWORD4 and KEYWORD5
benfry Dec 9, 2012
af0ae6a
add KEYWORD4 and KEYWORD5
benfry Dec 9, 2012
d7194f3
js todo update
fjenett Dec 9, 2012
b47043d
Keywords changes, currently not entirely working
REAS Dec 9, 2012
e0e55d0
Moving to direct buffers in GL renderer
codeanticode Dec 9, 2012
197479c
Keyword color alteration, getting closer
REAS Dec 9, 2012
b2cc314
For color coding FUNCTION3 changes added
REAS Dec 9, 2012
af445fa
For color coding FUNCTION3 changes added
REAS Dec 9, 2012
40ad7ad
More direct buffer changes
codeanticode Dec 9, 2012
5794ecb
syntax coloring fixes, and clean up code layout a bit
benfry Dec 9, 2012
c796fbd
Code color coding scheme candidate for 2b8
REAS Dec 9, 2012
8b6d576
continue working with direct buffers
codeanticode Dec 9, 2012
234fc45
working on new Table class setup
benfry Dec 9, 2012
f8165a3
add ESC and cmd/ctrl-W to the Examples window
benfry Dec 9, 2012
16c6115
updated js mode theme to have new colors and additional keywords, upd…
fjenett Dec 9, 2012
4ecc669
major work on Table to finalize API
benfry Dec 9, 2012
e53c4b7
closing up Table work, moving functions a bit, hide unapproved
benfry Dec 9, 2012
e201f5a
completed transition to direct buffers
codeanticode Dec 9, 2012
e108fb4
New code colors for testing 2b8
REAS Dec 9, 2012
6748e60
Added @see related links to all PShape fields and methods
scotthmurray Dec 9, 2012
8a09d27
fix theme on Android, and todo notes
benfry Dec 9, 2012
913e76b
New theme.txt for android with new color coding keywords
REAS Dec 10, 2012
64adbae
Two new Capture examples from David Muth
REAS Dec 10, 2012
504dba0
starting to move syntax coloring out of theme.txt and back into Prefe…
benfry Dec 10, 2012
74b0666
GL renderer with direct buffers working on Android
codeanticode Dec 10, 2012
b7a6f53
some cleanup
codeanticode Dec 10, 2012
6b80531
using PGL methods in update, etc
codeanticode Dec 10, 2012
3c83e51
sync with java mode
codeanticode Dec 10, 2012
1d09dff
uh-oh
benfry Dec 10, 2012
e9f473f
renaming and starting to make the mess
benfry Dec 10, 2012
dc2cac2
more cleaning
benfry Dec 11, 2012
d2b7683
more scrubbing
benfry Dec 11, 2012
9e5da5b
renaming again
benfry Dec 11, 2012
e566bd5
and some culling
benfry Dec 11, 2012
863536d
removed checkOrthoProjection. Properly update projmodelview upon chan…
codeanticode Dec 11, 2012
3cb1fb1
Added reference documentation for XML.parse() per issue 1379
scotthmurray Dec 11, 2012
7b1294a
Added XML.parse() as related to loadXML()
scotthmurray Dec 11, 2012
ed3b17d
removing old nature of code examples before adding new ones
shiffman Dec 11, 2012
0b7c2f0
new Nature of Code examples
shiffman Dec 11, 2012
78ca588
updated js mode todo
fjenett Dec 11, 2012
da6e875
copy projmodelview fixes to android
codeanticode Dec 11, 2012
7767ff2
fix table loading quirk with extensions
benfry Dec 11, 2012
7f6ed4e
reverse order of the Recent menu
benfry Dec 11, 2012
bce9598
added buffer swap in Display() to solve the garbage problem
codeanticode Dec 11, 2012
a450f34
Added reference pages for new PVector methods
scotthmurray Dec 11, 2012
9a37e06
Simple reference updates
REAS Dec 12, 2012
927ceb6
direct buffers for pixel and texture operations, added GL thread check
codeanticode Dec 12, 2012
928d1cb
re-added android files
codeanticode Dec 12, 2012
024a520
updated shader examples for android
codeanticode Dec 12, 2012
6ed4fd4
Clarified reference for PVector.lerp()
scotthmurray Dec 12, 2012
b5cae31
fix for header rows
benfry Dec 13, 2012
a18a857
cleaning up JSON a bit, remove bad import
benfry Dec 13, 2012
c8d47e6
Removed a @see reference from PVector.lerp() as it wasn't being parse…
scotthmurray Dec 13, 2012
d4d9746
several opengl fixes (among them, major memory leak due to incorrectl…
codeanticode Dec 14, 2012
a760e39
uncommented allocate() in Texture, removed some debug printlns
codeanticode Dec 14, 2012
f2850e4
rgba pixels array in Texture is persistent
codeanticode Dec 14, 2012
6defa67
cleaned-up handling of direct/indirect buffers in android
codeanticode Dec 15, 2012
fd18824
basic retina support for the PDE itself
benfry Dec 15, 2012
a37f3a4
attempt to improve full-screen detection, make notes
benfry Dec 15, 2012
bef89c7
working on JSON API
benfry Dec 15, 2012
3802186
additional cleanup of JSON
benfry Dec 15, 2012
90da95d
weird xToOffset problem, hide exception
benfry Dec 15, 2012
f601238
create retina version of EditorStatus
benfry Dec 15, 2012
c9b4fe1
remove hint(ENABLE_NATIVE_FONTS)
benfry Dec 15, 2012
7d59ed4
PImage.resize() greater than image size hangs (issue #1464)
benfry Dec 15, 2012
401f09b
remove warning, and initial startup noise
benfry Dec 15, 2012
6b91577
add warning message when registering AWT mouse/key events
benfry Dec 15, 2012
982c533
attempting some canvas stuff
benfry Dec 16, 2012
77bb5d8
move that composite around a bit
benfry Dec 16, 2012
007b040
fix illegal state when closing window
benfry Dec 16, 2012
82a8ad7
fix another options bug in loadTable
benfry Dec 16, 2012
ff9ab8a
improve Find in Reference to handle functions vs vars, expand selection
benfry Dec 16, 2012
26795d3
renamed utility getPixels/putPixels methods
codeanticode Dec 16, 2012
306e064
more cleanup of mouse/key event handling and arg passing
benfry Dec 16, 2012
2efb421
sync java and android
codeanticode Dec 16, 2012
7324a09
add missing font
benfry Dec 16, 2012
242a85b
work on wrapping up XML changes
benfry Dec 16, 2012
320b99f
fix indents with XML writing, finalize toString() and format() syntax
benfry Dec 16, 2012
7ade01d
add check to make sure preceding slash not used w/ getChild
benfry Dec 16, 2012
9d05b8d
copying Table and XML updates to Android
benfry Dec 16, 2012
0810749
some fixes in the surface handling logic
codeanticode Dec 16, 2012
f0717eb
only set static variables in PGL from main renderer
codeanticode Dec 16, 2012
238c26f
put back MSAA
codeanticode Dec 17, 2012
9dd66de
add temporary option to enable/disable JOGL's FBO layer
codeanticode Dec 17, 2012
331104b
add cmd-shift-O to "Open Examples" on OS X with no window open
benfry Dec 17, 2012
58e52e4
go through vida examples to make sure everything still runs
benfry Dec 17, 2012
1f91d59
FBO layer is enabled when sketch tries to use the front texture (prev…
codeanticode Dec 17, 2012
c935734
clean up sync of constructor and load methods
benfry Dec 17, 2012
b1d2124
new Table example
shiffman Dec 17, 2012
5b5bf11
remove pbuffer initialization warning from LWJGL
codeanticode Dec 17, 2012
eec9329
lwjgl is amazing
codeanticode Dec 18, 2012
ce81826
updated jogl jars
codeanticode Dec 18, 2012
f4a7ed1
changed visibility
codeanticode Dec 18, 2012
419bf42
reworked logic in PGL to let JOGL choose the best surface for the giv…
codeanticode Dec 18, 2012
25e020e
copy projection and modelview matrices to opengl
codeanticode Dec 19, 2012
9a0cc2c
add note about certs
benfry Dec 19, 2012
c095cce
use splitTokens() on keywords to make less fussy, fix constant
benfry Dec 19, 2012
fef7d7a
notes about Microsoft event model and W3C
benfry Dec 19, 2012
8168ad9
vida notes
benfry Dec 19, 2012
e73a140
fix categorical data bug
benfry Dec 19, 2012
dd54715
Updates for 2b8 color coding
REAS Dec 19, 2012
0360580
Replaced old XML.parse() reference with PApplet.parseXML() reference
scotthmurray Dec 19, 2012
12bebe1
Updates for 2b8 color coding, removing italic comments
REAS Dec 19, 2012
6276b23
add createXML()
benfry Dec 19, 2012
ea22671
Added reference for saveXML()
scotthmurray Dec 19, 2012
a285420
Added reference page for createXML()
scotthmurray Dec 19, 2012
4a024e9
Minor changes to examples, more code color tweaks for 2b8
REAS Dec 20, 2012
b668de0
Added XML reference for format() and toString()
scotthmurray Dec 20, 2012
2427372
solves transparency issue with multisample offscreen buffers
codeanticode Dec 21, 2012
a0cb1c8
Fixes issue #1495
codeanticode Dec 21, 2012
bfc2182
Added NEWT window listener to catch window focus events. Fixes issue …
codeanticode Dec 21, 2012
e3b9f6d
testing focus handling
codeanticode Dec 21, 2012
89ee7fb
removed println in window listener
codeanticode Dec 21, 2012
681e150
This patch fixes a serious bug that was causing the Debugger to point…
benfry Dec 21, 2012
95a306e
more fixes from Manindra (issue #1504)
benfry Dec 22, 2012
7bba17f
removing quaqua (issue #1509)
benfry Dec 22, 2012
08be9c0
not using this anymore
benfry Dec 22, 2012
fdfa5dc
renaming to use the old version
benfry Dec 22, 2012
f5226a9
tweaking MovieMaker now that it's back in
benfry Dec 22, 2012
e1a04d6
doing battle with XML and format()
benfry Dec 22, 2012
1865aac
fix XML indentation and Android issues (issue #1512)
benfry Dec 22, 2012
1c2d632
don't show Changes page when running from command line (issue #1520)
benfry Dec 23, 2012
efcf9ff
Added ref pages for Table, corrected minor typos elsewhere, updated t…
scotthmurray Dec 27, 2012
0e9f4f3
PShape API updates
codeanticode Dec 30, 2012
8c726b3
Examples updated accordingly
codeanticode Dec 30, 2012
31a78f1
Re-enabled all variants of fill, stroke, etc in PShape. Better warnin…
codeanticode Dec 30, 2012
55217f2
More warning messages
codeanticode Dec 31, 2012
daf3b08
Update examples
codeanticode Dec 31, 2012
dfcd0e1
added PShape.setTexture(), PShape.setTextureMode()
codeanticode Dec 31, 2012
7cdb010
Updated PShape examples to use setTexture
codeanticode Dec 31, 2012
332ab28
removed Normalize duplicate example
shiffman Jan 4, 2013
f02bb10
adding generics syntax to ArrayList and HashMap
shiffman Jan 4, 2013
9d1d878
Handling coded keys in NEWT
codeanticode Jan 7, 2013
5c4f3fa
support for reading/writing binary tables
benfry Jan 8, 2013
03aae39
Table additions, insideDraw for huge speedup, disabled rendering work
benfry Jan 8, 2013
a400d64
removing unused var
benfry Jan 10, 2013
e4525ea
adding in-progress work for on canvas, retina, etc
benfry Jan 10, 2013
9645635
switch to active painting, redo noCursor() handling
benfry Jan 10, 2013
686f26c
pair of retina tweaks to fix bad assumptions
benfry Jan 13, 2013
bbebc95
close InputStream on loadBytes and loadStrings (issue #1542)
benfry Jan 14, 2013
b20a7a2
don't re-create graphics context on each frame
benfry Jan 14, 2013
6ac3fe2
JOGL update
codeanticode Jan 15, 2013
13c1bab
Removed PGL.Context subclass
codeanticode Jan 16, 2013
9d96fdd
PGL.getBackTextureName, PGL.getFrontTextureName are protected
codeanticode Jan 16, 2013
6e862dc
PGL.threadIsCurrent() is not static to avoid problems with subclassed…
codeanticode Jan 16, 2013
e0fed03
Solving some class visibility issues
codeanticode Jan 16, 2013
ca75431
Added PGraphics2D and 3D to LWJGL renderer
codeanticode Jan 16, 2013
8ba2dfb
PShapeOpenGL.createShape3D() is public
codeanticode Jan 16, 2013
4b63475
added build.xml for LWJGL library
codeanticode Jan 16, 2013
9af4ff5
Added LWJGL interface to hold the P2D/P3D constants
codeanticode Jan 16, 2013
f02f9f2
fixed null pointer exception in PShader
codeanticode Jan 16, 2013
031588b
Added a couple of LWJGL examples
codeanticode Jan 16, 2013
204f136
Propper use of PShape.setStroke()
codeanticode Jan 16, 2013
776a28e
Removed DummyContext and re-ordered init calls in LWJGL renderer
codeanticode Jan 18, 2013
2f1228b
Updated to latest version of LWJGL packages and native libs
codeanticode Jan 18, 2013
6f5e35b
add randomGaussian()
benfry Jan 19, 2013
1b91cba
prevent inertia scrolling on OS X from making editor jumpy
benfry Jan 19, 2013
5119ac4
more testing
benfry Jan 19, 2013
702df5f
preliminary implementation of wheel events (issue #1423)
benfry Jan 19, 2013
e42c45f
modify font tool to read from local dir
benfry Jan 19, 2013
9abc30b
further work on retina and improving performance
benfry Jan 20, 2013
e65a59d
suggest common imports (issue #1550)
benfry Jan 21, 2013
51fadc0
prevent error when sketch line not located from Commander (issue 1548)
benfry Jan 21, 2013
04b737c
delete temp files created by library manager downloads (issue #1527)
benfry Jan 21, 2013
7158c71
prevent auto format from scrolling (issue #1533)
benfry Jan 21, 2013
f0da564
set buffer limits when copying vector and matrix uniforms
codeanticode Jan 22, 2013
cf163f7
more fixes for temporary files
benfry Jan 22, 2013
57e588a
add TAU as alias for TWO_PI (issue #1488)
benfry Jan 22, 2013
b3f7509
Merge branch 'master' of github.com:processing/processing
benfry Jan 25, 2013
4640ab6
minor tweaks and notes
benfry Jan 25, 2013
ab00362
Adding an ignore file for sanity.
benfry Jan 25, 2013
e238cde
Merge remote-tracking branch 'upstream/master'
Manindra29 Jan 27, 2013
1466c87
Error Check now happens only on text update, instead of running forever.
Manindra29 Jan 27, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ _ add to the API docs
_ decide on getAmount() and weirdness w/ clickCount
_ get mouseWheel() added to api ref
_ also added to keywords.txt
_ JOGL might be reporting backwards values
_ action WHEEL only set with OpenGL?

_ make hint(ENABLE_STROKE_PURE) the default

andres
_ P2D/P3D sketches don't get focus until click
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -221,6 +222,11 @@ public void run() {
});
}

/**
* checkCode() only on text area update
*/
protected AtomicInteger textModified = new AtomicInteger(0);

public void run() {
stopThread = false;

Expand All @@ -237,12 +243,18 @@ public void run() {
if (pauseThread)
continue;

if(textModified.get() == 0)
continue;

// Check every x seconds
checkCode();

}
}




private boolean checkCode() {

lastTimeStamp = System.currentTimeMillis();
Expand Down Expand Up @@ -270,6 +282,17 @@ private boolean checkCode() {
editor.updateErrorBar(problemsList);
updateEditorStatus();
updateTextAreaPainter();
int x = textModified.get();
//System.out.println("TM " + x);
if(x>=3){
textModified.set(3);
x = 3;
}

if(x>0)
textModified.set(x - 1);
else
textModified.set(0);
return true;

} catch (Exception e) {
Expand Down
12 changes: 11 additions & 1 deletion experimental/src/processing/mode/experimental/TextArea.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import java.awt.Cursor;
import java.awt.FontMetrics;
import java.awt.event.ComponentListener;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
Expand Down Expand Up @@ -50,6 +51,7 @@ public class TextArea extends JEditTextArea {
protected Map<Integer, String> gutterText = new HashMap(); // maps line index to gutter text
protected Map<Integer, Color> gutterTextColors = new HashMap(); // maps line index to gutter text color
protected TextAreaPainter customPainter;
protected ErrorCheckerService errorCheckerService;

public TextArea(TextAreaDefaults defaults, DebugEditor editor) {
super(defaults);
Expand Down Expand Up @@ -99,7 +101,15 @@ public TextArea(TextAreaDefaults defaults, DebugEditor editor) {
*/
public void setECSandThemeforTextArea(ErrorCheckerService ecs, ExperimentalMode mode)
{
customPainter.setECSandTheme(ecs, mode);
errorCheckerService = ecs;
customPainter.setECSandTheme(ecs, mode);
}

public void processKeyEvent(KeyEvent evt) {
super.processKeyEvent(evt);
if(evt.getID() == KeyEvent.KEY_TYPED){
errorCheckerService.textModified.incrementAndGet();
}
}

/**
Expand Down