dispose() fix from 0100 to make size() work again

This commit is contained in:
benfry
2006-01-14 18:24:23 +00:00
parent b103311e26
commit ec1f7ab93d
5 changed files with 23 additions and 10 deletions
+11
View File
@@ -7,6 +7,17 @@ releases will be super crusty.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0101 - 14 January 2005
Something I said about quick releases to follow...
0101 fixes a bug in 0100 that prevented output from working properly
when the size() command was used to specify PDF rendering.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0100 - 13 January 2005
This is a pre-release of the PDF generating code. There will be a couple
+3 -3
View File
@@ -534,6 +534,9 @@ public class PApplet extends Applet
if (thread == null) return;
thread = null;
// call to shut down renderer, in case it needs it (pdf does)
if (g != null) g.dispose();
disposeMethods.handle();
}
@@ -1175,9 +1178,6 @@ public class PApplet extends Applet
}
} catch (Exception e) {
// formerly in kjcapplet, now just checks to see
// if someone wants to leech off errors
// note that this will not catch errors inside setup()
// those are caught by the PdeRuntime
+1
View File
@@ -18,6 +18,7 @@ X inside dispose method? explicit close?
X call exit() at end of pdf apps? exit calls dispose on gfx?
X beginRecord() and endRecord() so that record doesn't stop after frame?
X enable PGraphicsPDF for inclusion
X write documentation on images (they suck) and fonts (use ttf)
0099 core
+7 -7
View File
@@ -1,11 +1,16 @@
0101 core
more pdf stuff for 0101
more pdf/recording stuff
_ don't open a window the size of the pdf if in pdf mode
_ need to have some sort of flag in the gfx context that it's visible or not
_ handled inside updateSize()?
_ make dxf writer that'll work with recordRaw()
_ write documentation on images (they suck) and fonts (use ttf)
_ add option to sort triangles back to front so alpha works
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1076660476
_ polygon z-order with alpha in opengl
_ at least add it to the faq, or this would be a test case w/ the sorting
_ http://dev.processing.org/bugs/show_bug.cgi?id=176
_ check min/max texture sizes when binding to avoid problems
_ minimum texture size may be 64x64
@@ -554,8 +559,6 @@ _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action
_ Stroking a rect() leaves off the upper right pixel
_ PPolygon no longer in use and PLine is a mess
_ make a version of PGraphics3 that uses it for more accurate rendering?
_ add option to sort triangles back to front so alpha works
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1076660476
_ texture mapping
_ very odd, "doom era" stuff
_ would it be possible to have a 'slow but accurate' mode?
@@ -657,9 +660,6 @@ _ leave smooth off, get the gl object, then enable line smooth
_ ortho() behaving differently in P3D vs OPENGL
_ http://dev.processing.org/bugs/show_bug.cgi?id=100
_ gl points not working again
_ polygon z-order with alpha in opengl
_ at least add it to the faq, or this would be a test case w/ the sorting
_ http://dev.processing.org/bugs/show_bug.cgi?id=176
_ invocationtargetexception in gl with aioobe:
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115185737
_ don't let users with java < 1.4 load OPENGL
+1
View File
@@ -1,4 +1,5 @@
0101 pde
_ need method for showing prefs for the tools
_ add pref to handle date vs. increment on archive sketch