diff --git a/pdex/pdeX.txt b/pdex/pdeX.txt index 2cc551f78..7c2a3aa85 100644 --- a/pdex/pdeX.txt +++ b/pdex/pdeX.txt @@ -3,5 +3,5 @@ authorList=[The Processing Foundation](http://processing.org) url=https://github.com/processing/processing-experimental sentence=The next generation of PDE paragraph=Intelligent Code Completion, Live Error Checker, Debugger, Auto Refactor, etc. -version=6 -prettyVersion=1.0.3b +version=7 +prettyVersion=1.0.4b diff --git a/pdex/revisions.txt b/pdex/revisions.txt index 5a2a1fd3b..647859ae0 100644 --- a/pdex/revisions.txt +++ b/pdex/revisions.txt @@ -1,11 +1,33 @@ -PDE X v1.0.4b - February , 2014 +PDE X v1.0.4b - May 9, 2014 + +Requires Processing 2.1.2 or above. Bug fixes ++ Disabled auto-save. My sincere apologies to those who lost data due +to this bug. It was wrong of me to release an untested feature without +adding an option to enable/disable it. I've learnt a lesson and I shall +ensure this sort of thing doesn't happen again in the future. + + Autocompletion bug, column is sometimes off by 1 https://github.com/processing/processing-experimental/issues/38 ++ Persistent completion dialog on OS X +https://github.com/processing/processing-experimental/issues/32 + ++ Status bar update bug +https://github.com/processing/processing-experimental/issues/29 + ++ Export application broken +https://github.com/processing/processing-experimental/issues/45 + ++ Status Bar - New Tab prompt bug +https://github.com/processing/processing-experimental/issues/53 + ++ Show usage fails for methods which have javadoc comment +https://github.com/processing/processing-experimental/issues/51 + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PDE X v1.0.3b - January 21, 2014 diff --git a/pdex/src/processing/mode/experimental/ASTNodeWrapper.java b/pdex/src/processing/mode/experimental/ASTNodeWrapper.java index 3acb311ba..2823cc9e7 100644 --- a/pdex/src/processing/mode/experimental/ASTNodeWrapper.java +++ b/pdex/src/processing/mode/experimental/ASTNodeWrapper.java @@ -459,7 +459,7 @@ public class ASTNodeWrapper { sourceAlt = colorMatcher.replaceAll("int"); log("From direct source: "); - sourceAlt = sourceJava; +// sourceAlt = sourceJava; log(sourceAlt); @@ -582,7 +582,7 @@ public class ASTNodeWrapper { int lsto = lineElement.getStartOffset(); while(matcher.find()){ count++; - System.out.println(matcher.start() + lsto); + //log(matcher.start() + lsto); if(lsto + matcher.start() == nodeName.getStartPosition()) break; } diff --git a/pdex/src/processing/mode/experimental/ErrorCheckerService.java b/pdex/src/processing/mode/experimental/ErrorCheckerService.java index b81838cc7..92948c09a 100644 --- a/pdex/src/processing/mode/experimental/ErrorCheckerService.java +++ b/pdex/src/processing/mode/experimental/ErrorCheckerService.java @@ -213,6 +213,7 @@ public class ErrorCheckerService implements Runnable{ protected ErrorMessageSimplifier errorMsgSimplifier; public ErrorCheckerService(DebugEditor debugEditor) { + ensureMinP5Version(); this.editor = debugEditor; stopThread = new AtomicBoolean(false); pauseThread = new AtomicBoolean(false); @@ -283,6 +284,14 @@ public class ErrorCheckerService implements Runnable{ } }); } + + public void ensureMinP5Version(){ + // Processing 2.1.2 - Revision 0225 + if(Base.getRevision() < 225){ +// System.err.println("ERROR: PDE X requires Processing 2.1.2 or higher."); + Base.showWarning("Error", "ERROR: PDE X requires Processing 2.1.2 or higher.", null); + } + } public void run() { stopThread.set(false);