Skip to content

Commit 291be60

Browse files
committed
throw exception if Server constructor fails
1 parent e827414 commit 291be60

3 files changed

Lines changed: 20 additions & 14 deletions

File tree

core/todo.txt

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,26 @@ X https://github.com/processing/processing/pull/2659
3030
X done with an approximation, if re-saving this will destroy data (docs)
3131
X fix typo in StringList.insert()
3232
X https://github.com/processing/processing/pull/2672
33+
X StingList.insert() error (should be an easy fix)
34+
X https://github.com/processing/processing/issues/2548
3335

36+
earlier
37+
X default font fixes (merged for 2.2.1 or earlier)
38+
X https://github.com/processing/processing/issues/2331
39+
X https://github.com/processing/processing/pull/2338
3440

35-
applet removal
41+
42+
applet/component
3643
_ remove Applet as base class
3744
_ performance issues on OS X (might be threading due to Applet)
3845
_ https://github.com/processing/processing/issues/2423
3946
_ play with improvements to full screen here
4047
_ new full screen sometimes causes sketch to temporarily be in the wrong spot
48+
_ add option to have full screen span across screens
49+
_ display=all in cmd line
50+
_ sketchDisplay() -> 0 for all, or 1, 2, 3...
51+
_ clean up requestFocus() stuff
52+
_ make sure it works with retina/canvas/strategy as well
4153

4254

4355
processing.data
@@ -66,8 +78,6 @@ _ maybe once we make the PVector change
6678
high
6779
_ Closing opengl sketch from the PDE doesn't stop java process on windows
6880
_ https://github.com/processing/processing/issues/2335
69-
_ StingList.insert() error (should be an easy fix)
70-
_ https://github.com/processing/processing/issues/2548
7181
_ dataPath() not working when app is not run from app dir on Linux
7282
_ https://github.com/processing/processing/issues/2195
7383
_ "Buffers have not been created" error for sketches w/o draw()
@@ -85,23 +95,13 @@ _ internally, we probably have to call set() if it's a 1 pixel point
8595
_ but that's going to be a mess.. need to first check the CTM
8696
_ tint() not working in PDF (regression between 2.0.3 and 2.1)
8797
_ https://github.com/processing/processing/issues/2428
88-
_ default font fixes
89-
_ https://github.com/processing/processing/issues/2331
90-
_ https://github.com/processing/processing/pull/2338
9198
_ Sort out blending differences with P2D/P3D
9299
_ might be that compatible images not setting alpha mode correctly
93100
_ image = gc.createCompatibleVolatileImage(source.width, source.height, Transparency.TRANSLUCENT);
94101
_ https://github.com/processing/processing/issues/1844
95-
_ add option to have full screen span across screens
96-
_ display=all in cmd line
97-
_ sketchDisplay() -> 0 for all, or 1, 2, 3...
98-
_ clean up requestFocus() stuff
99-
_ make sure it works with retina/canvas/strategy as well
100102
_ finish PFont.getShape() implementation
101103
_ needs to have a way to set width/height properly
102104
_ draw(s) doesn't work on the returned PShape
103-
_ TGA files writing strangely
104-
_ https://github.com/processing/processing/issues/2096
105105

106106

107107
hidpi
@@ -366,6 +366,9 @@ _ https://github.com/processing/processing/issues/1727
366366

367367
CORE / PImage
368368

369+
_ TGA files writing strangely
370+
_ https://github.com/processing/processing/issues/2096
371+
369372
_ don't grab pixels of java2d images unless asked
370373
_ this is the difference between a lot of loadPixels() and not
371374
_ so important to have it in before beta if that's the change

java/libraries/net/src/processing/net/Server.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ public Server(PApplet parent, int port, String host) {
107107
}
108108

109109
} catch (IOException e) {
110-
e.printStackTrace();
110+
//e.printStackTrace();
111111
thread = null;
112+
throw new RuntimeException(e);
112113
//errorMessage("<init>", e);
113114
}
114115
}

todo.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ X remove welcome message from the sound library
3131
X URL opening problem fixed by use of getCanonicalPath() on Windows
3232
X https://github.com/processing/processing/issues/2656
3333
X add a new pref for the 3.0 sketchbook location
34+
X if Server constructor fails, throw an exception
35+
X https://github.com/processing/processing/issues/2604
3436
_ when renaming a tab, include the previous name to be edited
3537

3638
gsoc

0 commit comments

Comments
 (0)