notes and fixes to remove errant 1.4-specific code

This commit is contained in:
benfry
2005-09-14 17:14:53 +00:00
parent 4bf202a7f8
commit 95e9e7023a
2 changed files with 20 additions and 6 deletions

View File

@@ -867,18 +867,20 @@ public class PApplet extends Applet
outgoing = (PGraphics) constructor.newInstance(constructorValues);
} catch (InvocationTargetException ite) {
//Throwable target = ((InvocationTargetException) t).getTargetException();
throw new RuntimeException(ite.getTargetException());
//ite.getTargetException().printStackTrace();
Throwable target = ite.getTargetException();
target.printStackTrace();
throw new RuntimeException(target.getMessage());
//throw new RuntimeException(ite.getTargetException()); // java 1.4
} catch (ClassNotFoundException cnfe) {
throw new RuntimeException("You need to use \"Import Library\" " +
"to add " + renderer + " to your sketch.");
} catch (Exception e) {
throw new RuntimeException(e);
//e.printStackTrace();
//die("Could not start because of a problem with size()", e);
//throw new RuntimeException(e); // java 1.4
e.printStackTrace();
throw new RuntimeException("Could not start because of a " +
"problem inside size()");
}
// clear things out to get started

View File

@@ -13,6 +13,8 @@ X error message saying that strokeCap and strokeJoin don't work in P3D
X textMode(SHAPE) throws ex when drawing and font not installed
X fix a bug with filename capitalization error throwing
X add NO_DEPTH_TEST to PGraphics3
X java 1.4 code snuck into PApplet, causing problems on the mac
X http://dev.processing.org/bugs/show_bug.cgi?id=146
nixed or fixed in previous releases
X textMode(SCREEN) having issues on Mac OS X
@@ -23,6 +25,11 @@ X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpen
o noLoop() is behaving strangely
o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1116002432;start=0
_ STROKE_WEIGHT field in PGraphics3 is a disaster, because it's an int
_ use the SW from vertex instead.. why set stroke in triangle vars at all?
_ currently truncating to an int inside add_line_no_clip
_ need to clean all this crap up
_ how to handle gluTessVertex calls
_ need to re-map through the regular "vertex" command,
_ but that makes things messy because the glu calls make calls to vertex()
@@ -65,6 +72,8 @@ _ new PGraphics2 objects are set as RGB, but on loadPixels/updatePixels
_ they're drawn as transparent and don't have their high bits set
_ why aren't background() / defaults() being called for opengl?
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1118784331
_ some optimizations from zach
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_core_pde;action=display;num=1121670787
_ sonia is locking up on load in rev 91
_ prolly something w/ the threading issues
@@ -558,6 +567,9 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=127
PGraphicsGL
_ images are memory leaking pretty badly
_ texture re-allocated on each frame
_ http://dev.processing.org/bugs/show_bug.cgi?id=150
_ point() doesn't work with some graphics card setups
_ http://dev.processing.org/bugs/show_bug.cgi?id=121
_ blend(), get(), set(), loadPixels, updatePixels() are broken in opengl