From 4bbcc4c0f5c3d8d285befaf23df80e5e8544d8c6 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 21 Jun 2004 23:28:37 +0000 Subject: [PATCH] add newlines to the feedback from jikes error messages --- app/PdeCompiler.java | 5 +++-- todo.txt | 9 ++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/PdeCompiler.java b/app/PdeCompiler.java index eedf3d6f3..efc9316fc 100644 --- a/app/PdeCompiler.java +++ b/app/PdeCompiler.java @@ -183,8 +183,9 @@ public class PdeCompiler implements PdeMessageConsumer { * and line number, which is then reported back to PdeEditor. */ public void message(String s) { - //System.err.println("MSG: " + s); - System.err.print(s); + // This receives messages as full lines, so a newline needs + // to be added as they're printed to the console. + System.err.println(s); // ignore cautions if (s.indexOf("Caution") != -1) return; diff --git a/todo.txt b/todo.txt index 9ecf5c2d9..c3f06413c 100644 --- a/todo.txt +++ b/todo.txt @@ -79,6 +79,10 @@ X was adding all folders in the classpath X workaround for the // causing an OutOfMemoryError X http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1067717095 +040622 monday evening +X jikes errors have no newlines because it's a buffered reader +X and the newlines are removed when read + _ dashes shouldn't be allowed in filenames for sketches _ actually, lost the naming stuff because now using FileDialog _ this also needs to be checked when building the sketch menu @@ -168,11 +172,6 @@ _ final stop() for static shutdown of lib _ but also potential stop() for individual items -BUGS / PDE -_ jikes errors have no newlines because it's a buffered reader -_ and the newlines are removed when read - - BUGS / preproc _ preproc bug: text(String.valueOf(i+1), left + i*20, top); _ unexpected token "String"