mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add Server bind option (#2356) and todo notes
This commit is contained in:
+13
-14
@@ -16,6 +16,12 @@ X https://github.com/processing/processing/issues/2331
|
||||
X https://github.com/processing/processing/pull/2338
|
||||
X bug in relative moveto commands for SVG
|
||||
X https://github.com/processing/processing/issues/2377
|
||||
X Add a constructor to bind Server to a specific address
|
||||
X https://github.com/processing/processing/issues/2356
|
||||
X add disconnectEvent() to Server
|
||||
X https://github.com/processing/processing/pull/2466
|
||||
X https://github.com/processing/processing/issues/2133
|
||||
X don't document for now
|
||||
|
||||
cleaning
|
||||
o how much of com.benfry.* should go in?
|
||||
@@ -46,23 +52,11 @@ X https://github.com/processing/processing/issues/2465
|
||||
X loadPixels problem in OpenGL
|
||||
X https://github.com/processing/processing/issues/2493
|
||||
|
||||
|
||||
high
|
||||
_ "Buffers have not been created" error for sketches w/o draw()
|
||||
_ https://github.com/processing/processing/issues/2469
|
||||
_ could not reproduce
|
||||
|
||||
net
|
||||
X add disconnectEvent() to Server
|
||||
X https://github.com/processing/processing/pull/2466
|
||||
X https://github.com/processing/processing/issues/2133
|
||||
_ decide how this should actually be handled
|
||||
_ was disconnect always there?
|
||||
_ will need documentation
|
||||
_ modernize Client/Server code to use synchronized lists
|
||||
_ do we let people use the public vars in Server and Client?
|
||||
_ are they documented?
|
||||
|
||||
|
||||
high
|
||||
_ Sketch runs with default size if size() is followed by large memory allocation
|
||||
_ some sort of threading issue happening here
|
||||
_ https://github.com/processing/processing/issues/1672
|
||||
@@ -223,6 +217,9 @@ _ OpenGL offscreen requires primary surface to be OpenGL
|
||||
_ explain the new PGL interface
|
||||
_ can't really change the smoothing/options on offscreen
|
||||
_ is this still true?
|
||||
_ decide how disconnectEvent should actually be handled (and name?)
|
||||
_ was disconnect always there?
|
||||
_ will need documentation
|
||||
|
||||
|
||||
|
||||
@@ -526,6 +523,8 @@ _ Updating graphics drivers may prevent the problem
|
||||
_ ellipse scaling method isn't great
|
||||
_ http://code.google.com/p/processing/issues/detail?id=87
|
||||
_ improve hint(ENABLE_DEPTH_SORT) to use proper painter's algo
|
||||
_ https://github.com/processing/processing/issues/90
|
||||
_ for begin/endRaw: https://github.com/processing/processing/issues/2235
|
||||
_ http://code.google.com/p/processing/issues/detail?id=51
|
||||
_ polygon z-order depth sorting with alpha in opengl
|
||||
_ complete the implementation of hint() with proper implementation
|
||||
|
||||
@@ -67,11 +67,25 @@ public class Server implements Runnable {
|
||||
* @param port port used to transfer data
|
||||
*/
|
||||
public Server(PApplet parent, int port) {
|
||||
this(parent, port, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param parent typically use "this"
|
||||
* @param port port used to transfer data
|
||||
* @param host when multiple NICs are in use, the ip (or name) to bind from
|
||||
*/
|
||||
public Server(PApplet parent, int port, String host) {
|
||||
this.parent = parent;
|
||||
this.port = port;
|
||||
|
||||
try {
|
||||
server = new ServerSocket(this.port);
|
||||
if (host == null) {
|
||||
server = new ServerSocket(this.port);
|
||||
} else {
|
||||
server = new ServerSocket(this.port, 10, InetAddress.getByName(host));
|
||||
}
|
||||
//clients = new Vector();
|
||||
clients = new Client[10];
|
||||
|
||||
@@ -168,8 +182,8 @@ public class Server implements Runnable {
|
||||
return InetAddress.getLocalHost().getHostAddress();
|
||||
} catch (UnknownHostException e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -41,6 +41,18 @@ X QuickReference tool was able to bring down the environment
|
||||
X https://github.com/processing/processing/issues/2229
|
||||
X save the previous open dialog so that we return to the directory
|
||||
X https://github.com/processing/processing/pull/2366
|
||||
X "if-else" block formatting doesn't follow Processing conventions
|
||||
X https://github.com/processing/processing/issues/364
|
||||
X https://github.com/processing/processing/pull/2477
|
||||
X tab characters not recognized/drawn in the editor (2.1)
|
||||
X https://github.com/processing/processing/issues/2180
|
||||
X https://github.com/processing/processing/issues/2183
|
||||
o udp library has tabs in the text
|
||||
X decision to be made on nextTabStop() inside TextAreaPainter
|
||||
X Chinese text is overlapped in Processing 2.1 editor
|
||||
X https://github.com/processing/processing/issues/2173
|
||||
X https://github.com/processing/processing/pull/2318
|
||||
X https://github.com/processing/processing/pull/2323
|
||||
|
||||
earlier (2.1.2)
|
||||
X added get/set methods for status lines (Manindra)
|
||||
@@ -49,7 +61,6 @@ X https://github.com/processing/processing/pull/2433
|
||||
X allow non-pde file extensions (JDF)
|
||||
X https://github.com/processing/processing/issues/2420
|
||||
|
||||
|
||||
export
|
||||
X incorporate new launch4j 3.4
|
||||
X http://sourceforge.net/projects/launch4j/files/launch4j-3/3.4/
|
||||
@@ -69,21 +80,9 @@ _ OS X applications can only be exported from OS X
|
||||
_ embed Java only works for the current platform
|
||||
|
||||
|
||||
high
|
||||
_ tab characters not recognized/drawn in the editor (2.1)
|
||||
_ https://github.com/processing/processing/issues/2180
|
||||
_ https://github.com/processing/processing/issues/2183
|
||||
_ udp library has tabs in the text
|
||||
_ decision to be made on nextTabStop() inside TextAreaPainter
|
||||
_ Chinese text is overlapped in Processing 2.1 editor
|
||||
_ https://github.com/processing/processing/issues/2173
|
||||
_ https://github.com/processing/processing/pull/2318
|
||||
_ https://github.com/processing/processing/pull/2323
|
||||
medium
|
||||
_ check on why 2x core.jar inside the Java folder
|
||||
_ maybe OS X Java can't look in subfolders? (just auto-adds things)
|
||||
|
||||
|
||||
medium
|
||||
_ display "1" is not correct in 2.1.2
|
||||
_ https://github.com/processing/processing/issues/2502
|
||||
_ re/move things from Google Code downloads
|
||||
@@ -808,6 +807,13 @@ _ need to unpack InvocationTargetException in xxxxxxEvent calls
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1116850328#3
|
||||
|
||||
|
||||
LIBRARIES / Net
|
||||
|
||||
_ modernize Client/Server code to use synchronized lists
|
||||
_ do we let people use the public vars in Server and Client?
|
||||
_ are they documented?
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user