lots of todo list cleanup, remove dev.processing.org references

This commit is contained in:
benfry
2012-08-05 13:51:09 +00:00
parent 56ca991bd7
commit 9e742a0805
3 changed files with 95 additions and 113 deletions
+63 -65
View File
@@ -1,12 +1,53 @@
0207 android
X lots of cleanup on this todo list
X Support Native Code in Libraries for Android (includes fix)
X http://code.google.com/p/processing/issues/detail?id=1117
_ patch from m4rlonj
cleaning/earlier
X exceptions with StreamPump and adb devices on osx and linux
X http://code.google.com/p/processing/issues/detail?id=252
o when starting the emulator, the adb server gets reset
o then it causes this exception, which kills the thread waiting for input
o so another reset is necessary
Exception in thread "StreamPump 49" java.lang.RuntimeException: Inside processing.app.exec.StreamPump@1ebe8ec for out: adb devices
at processing.app.exec.StreamPump.run(StreamPump.java:82)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:255)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at processing.app.exec.StreamPump.run(StreamPump.java:71)
... 3 more
X when returning to the application after link(), screen stays blank
X http://code.google.com/p/processing/issues/detail?id=237
X fixed in 0195
X remove various debug messages on the console
X right now, there are too many places where errors occur
X http://code.google.com/p/processing/issues/detail?id=204
J only send error text to System.err (i.e. "Launching emulator" is not an error)
J send these debug log messages to System.out
o "Sketch started on emulator" in spite of the emulator only halfway booted
o sent email about this one
o additional manifest gui necessary:
X icons are apparently important, android:icon
X http://developer.android.com/guide/practices/ui_guidelines/icon_design.html
_ inside AndroidPreprocessor
_ processing.mode.java.JavaBuild.scrubComments(sketch.getCode(0).getProgram())
_ PApplet.match(scrubbed, processing.mode.java.JavaBuild.SIZE_REGEX);
_ Support Native Code in Libraries for Android (includes fix)
_ http://code.google.com/p/processing/issues/detail?id=1117
_ test libraries on android
_ no ES2 in the emulator, and no error reported in the PDE
@@ -149,34 +190,6 @@ _ change run/present/export/export application names in the menus
_ throw an error if a file in the 'data' dir ends with .gz
P1 _ exceptions with StreamPump and adb devices on osx and linux
P1 _ http://dev.processing.org/bugs/show_bug.cgi?id=1545
P1 _ http://dev.processing.org/bugs/show_bug.cgi?id=1527
P1 _ when starting the emulator, the adb server gets reset
P1 _ then it causes this exception, which kills the thread waiting for input
P1 _ so another reset is necessary
Exception in thread "StreamPump 49" java.lang.RuntimeException: Inside processing.app.exec.StreamPump@1ebe8ec for out: adb devices
at processing.app.exec.StreamPump.run(StreamPump.java:82)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:255)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at processing.app.exec.StreamPump.run(StreamPump.java:71)
... 3 more
_ additional manifest gui necessary:
X icons are apparently important, android:icon
X http://developer.android.com/guide/practices/ui_guidelines/icon_design.html
_ on export (application)
_ increment manifest/android:versionCode each time 'export' is called
_ Remove the android:debuggable="true" attribute from <application>
@@ -185,10 +198,9 @@ _ setting the default package: manifest/package
_ application/android:label
_ used on home screen, manage applications, my downloads, etc
_ http://developer.android.com/guide/publishing/preparing.html
P1 _ implement certificates (self-signed) for distribution
P1 _ http://developer.android.com/guide/publishing/app-signing.html
P1 _ http://dev.processing.org/bugs/show_bug.cgi?id=1430
P1 _ http://code.google.com/p/processing/issues/detail?id=222
_ implement certificates (self-signed) for distribution
_ http://developer.android.com/guide/publishing/app-signing.html
_ http://code.google.com/p/processing/issues/detail?id=222
create new keystore
location: [ ] (browse)
password: [ ]
@@ -229,41 +241,36 @@ P3 would like to fix before final release
P4 not an immediate need, but very nice to have
P5 nice to have
android bugs, sorted by priority
http://dev.processing.org/bugs/buglist.cgi?bug_status=&field0-0-0=product&type0-0-0=substring&value0-0-0=android&field0-0-1=component&type0-0-1=substring&value0-0-1=android&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=android&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=android&query_format=advanced&order=bugs.priority,bugs.bug_status%2Cbugs.bug_id&query_based_on=
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CORE (PApplet, P2D et al)
P2 _ too many temporary objects (particularly w/ color) created with A2D
P2 _ http://dev.processing.org/bugs/show_bug.cgi?id=1399
_ too many temporary objects (particularly w/ color) created with A2D
_ http://code.google.com/p/processing/issues/detail?id=213
P3 _ mouseClicked() is currently missing
P3 _ implement tap methods to handle mouseClicked()
P3 _ http://dev.processing.org/bugs/show_bug.cgi?id=1406
P3 _ check on multiple pointers and multi-touch
P3 _ http://dev.processing.org/bugs/show_bug.cgi?id=1491
_ mouseClicked() is currently missing
_ implement tap methods to handle mouseClicked()
_ http://code.google.com/p/processing/issues/detail?id=215
_ check on multiple pointers and multi-touch
_ http://code.google.com/p/processing/issues/detail?id=243
P4 _ when returning to the application after link(), screen stays blank
P4 _ http://dev.processing.org/bugs/show_bug.cgi?id=1484
P4 _ excessive rotation of application causes memory to run out
P4 _ this probably means that some memory isn't being freed that should be
P4 _ new window and surfaceview objects are being created in onCreate
P4 _ so they should probably be taken down in onDestroy.. but how?
P4 _ http://dev.processing.org/bugs/show_bug.cgi?id=1480
P4 _ http://code.google.com/p/processing/issues/detail?id=235
P4 _ values for pmouseX/Y aren't great
P4 _ Examples > Topics > Drawing > Continuous Lines shows gaps
P4 _ http://dev.processing.org/bugs/show_bug.cgi?id=1486
P4 _ http://code.google.com/p/processing/issues/detail?id=238
P5 _ Examples > Topics > Effects > Lens uses a ton of memory
P5 _ resize() needs to use the android resize stuff
P5 _ right now using the rather than expensive copy()
P5 _ instead, create a new resized bitmap, and get rid of pixels[]
P5 _ http://dev.processing.org/bugs/show_bug.cgi?id=1487
P5 _ http://code.google.com/p/processing/issues/detail?id=239
P5 _ should alpha PImage stuff use a non-4byte config?
P5 _ http://dev.processing.org/bugs/show_bug.cgi?id=1490
P5 _ http://code.google.com/p/processing/issues/detail?id=242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
@@ -271,11 +278,6 @@ P5 _ http://dev.processing.org/bugs/show_bug.cgi?id=1490
TOOLS
J only send error text to System.err (i.e. "Launching emulator" is not an error)
J send these debug log messages to System.out
o "Sketch started on emulator" in spite of the emulator only halfway booted
o sent email about this one
_ errors in ActivityManager aren't coming through
_ if AVD is deleted while processing still running, things flake out
_ also no error messages, just 'giving up on launching emulator'
@@ -310,14 +312,10 @@ P2 _ move the android tools into its own source package in SVN
P2 _ started, but needs proper Tool or Mode packaging
P2 _ http://code.google.com/p/processing/issues/detail?id=206
P2 _ implement method for selecting the AVD
P2 _ http://dev.processing.org/bugs/show_bug.cgi?id=1390
P3 _ remove various debug messages on the console
P3 _ right now, there are too many places where errors occur
P3 _ http://dev.processing.org/bugs/show_bug.cgi?id=1385
P2 _ http://code.google.com/p/processing/issues/detail?id=208
P3 _ for now, only runs on the first device (findDevice()) found
P3 _ --> implement selector to choose the default device for debugging
P3 _ http://dev.processing.org/bugs/show_bug.cgi?id=1389
P3 _ http://code.google.com/p/processing/issues/detail?id=207
P3 _ if different machines, debug.keystore changes, requiring manual removal
P3 _ or find a way to do it automatically with processing
P3 _ adb -s HT91MLC00031 install -r sketchbook/Hue/android/bin/Hue-debug.apk
@@ -328,13 +326,13 @@ P3 _ can't keep it with the sketch, don't want to give away private key
P3 _ with different machines, users are required to remove signature
P3 _ add a method to remove an application if the debug key is different
P3 _ perhaps the first time an application is installed, remove it?
P3 _ http://dev.processing.org/bugs/show_bug.cgi?id=1481
P3 _ http://code.google.com/p/processing/issues/detail?id=236
P3 _ library support also needs android manifest changes
P3 _ http://dev.processing.org/bugs/show_bug.cgi?id=1439
P3 _ http://code.google.com/p/processing/issues/detail?id=225
P4 _ don't require android tools to be installed already
P4 _ or implement automatic download/install of android tools
P4 _ http://dev.processing.org/bugs/show_bug.cgi?id=1383
P4 _ http://code.google.com/p/processing/issues/detail?id=203
EH _ Remove requirement for Google APIs in Android mode
EH _ http://code.google.com/p/processing/issues/detail?id=613
+16 -21
View File
@@ -1,18 +1,23 @@
0207 core
X switch link() and others to just use java.awt.Desktop classes
X also deprecate param, link() with a target, and others
X added notes about "color(0, 0, 0, 0) produces black" to the Wiki
_ smooth() should be the default in 2.0
_ broken in the recent releases
_ http://code.google.com/p/processing/issues/detail?id=1157
_ add notes about the new shader setup
fixed in 2.0a7 or earlier
fixed earlier
A ArrayIndexOutOfBoundsException inside PFontTexture.updateGlyphsTexCoords()
A http://code.google.com/p/processing/issues/detail?id=1104
A Camera function hot changing the upward axis
A http://code.google.com/p/processing/issues/detail?id=534
C some docs missing (therefore not syntax highlighting)
C http://code.google.com/p/processing/issues/detail?id=84
C constants that are not highlighting (WINDOWS the only one?)
C http://dev.processing.org/bugs/show_bug.cgi?id=662
before beta
@@ -41,9 +46,10 @@ _ 2x and 4x smooth hints no longer needed/supported
_ http://code.google.com/p/processing/issues/detail?id=1144
docs (2.0)
_ add notes about the new shader setup
_ online is there but deprecated
_ doesn't test net connection to see if 'online'
_ only tests whether running inside an applet viewer
_ only tests whether running inside an applet viewer (not relevant)
_ remove 'online' from the docs
_ createGraphics() with no renderer param to point to JAVA2D
_ docs: P2D and P3D are now OpenGL variations
@@ -55,22 +61,18 @@ _ final decision on pg.setQuality(sketchQuality())
_ should probably be setQuality(parent.sketchQuality())
_ add reference/docs for urlEncode() and urlDecode()
_ verify (and document) public access members of PApplet
_ http://dev.processing.org/bugs/show_bug.cgi?id=660
_ some docs missing (therefore not syntax highlighting)
_ http://dev.processing.org/bugs/show_bug.cgi?id=661
_ constants that are not highlighting (WINDOWS the only one?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=662
_ http://code.google.com/p/processing/issues/detail?id=83
_ add explanation to the reference about using beginRecord() with fonts
_ pdf.textMode(SHAPE)
_ also set the font *after* the record has started
_ maybe should instead make textMode(SHAPE) the norm?
_ and people can change it to textMode(MODEL) if they want?
_ http://dev.processing.org/bugs/show_bug.cgi?id=1535
_ http://dev.processing.org/bugs/show_bug.cgi?id=1535 (no gcode)
_ fix regex documentation (assigned to Shiffman)
_ http://code.google.com/p/processing/issues/detail?id=169
_ OpenGL offscreen requires primary surface to be OpenGL
_ can't really change the smoothing/options on offscreen
_ can't really change the smoothing/options on offscreen
_ move requestFocusInWindow() to safter EDT place
_ look into using BufferStrategy again to improve performance
_ there are more improvements to be made ala issue #729
@@ -103,6 +105,8 @@ _ provide a way to clear the PGraphics with plain alpha
_ sort out edge + 1 issue on stroke/fill for rectangles
_ http://code.google.com/p/processing/issues/detail?id=509
_ exactly how should pixel filling work with single pixel strokes?
_ http://dev.processing.org/bugs/show_bug.cgi?id=1025 (no gcode)
_ y2 position of rectangles not same as y2 position of lines
_ happens when the rectangle is flipped on the x or y axis
_ probably a hack that draws the "last" point differently
@@ -431,8 +435,6 @@ CORE / OpenGL (Andres)
_ hint(DISABLE_PERSPECTIVE_CORRECTED_STROKE)
_ textureWrap(CLAMP / REPEAT)
_ first few frames of OpenGL sketches on Windows run slowly
_ http://dev.processing.org/bugs/show_bug.cgi?id=874
_ implement setImpl() instead of set() inside PGraphicsOpenGL
_ http://code.google.com/p/processing/issues/detail?id=121
_ use glCopyPixels() or glReadPixels() instead of copy() method
@@ -622,18 +624,13 @@ _ add a timer(obj, "functionname", 45) method
_ this can be used to schedule something to happen at a specific time
_ or import the swing timer (for actionPerformed)
_ also add interval("functionname", 40)
_ color(0, 0, 0, 0) produces black
_ because color(0, 0, 0, 0) creates an int that is simply '0'
_ although fill(0, 0, 0, 0) does the right thing
_ also, rgb255 not getting set
_ http://dev.processing.org/bugs/show_bug.cgi?id=382
_ should fill(c) instead be fillColor(c)?
_ should color(123, 4, 99) instead be createColor()?
_ rounding errors on color conversion
_ colorMode(RGB, 1.0); colorMode(255); println(red(color(0.5,1,1)));
_ will return 127, instead of 128.
_ gray that's greater than the colorMode() can produce strange colors
_ http://dev.processing.org/bugs/show_bug.cgi?id=432
_ http://dev.processing.org/bugs/show_bug.cgi?id=432 (no gcode)
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083650609
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1082481891
_ add stroke() to type
@@ -644,11 +641,9 @@ _ don't add api to main p5 stuff (though maybe setPaint/noPaint api?)
_ gradient-painted lines and fills
_ java2d will do both line and fill, illusfarter only does fills
_ gradients not supported in java2d
_ http://dev.processing.org/bugs/show_bug.cgi?id=371
_ http://dev.processing.org/bugs/show_bug.cgi?id=371 (no gcode)
_ bspline or nurbs (later, want to do the 3D/arch stuff correctly)
_ non-homogenous coloring for curve vertices
_ exactly how should pixel filling work with single pixel strokes?
_ http://dev.processing.org/bugs/show_bug.cgi?id=1025
_ consider bringing back text/image using cache/names
_ exactly how pixel-filling works for strokes
_ http://processing.org/bugs/bugzilla/1025.html
+16 -27
View File
@@ -33,6 +33,7 @@ X add 'empty sketchbook' indicator when the sketchbook menus are empty
X deleting open sketch (with only one window) attempts to quit
X (and still deletes, but doesn't close, even if quitting is canceled)
X affects Windows and Linux
o shift-tab with no selection should go back two spaces
cleaning
o switching into present mode in info.plist
@@ -217,7 +218,9 @@ o or is that excessive, since Document is in there, etc
o Build does the heavy lifting anyway...
o the code[] array in Sketch is super hokey... switch to an arraylist
o and add compare method to SketchCode so that it can be sorted by name
o can't rename a .pde file as a .java file
X seems to have been fixed earlier? probably this one:
o http://code.google.com/p/processing/issues/detail?id=776
2.0 FINAL / command line
_ kill external editor (for all its quirks) in favor of command line?
@@ -247,6 +250,8 @@ _ is editable in use?
_ what's electricScroll?
_ caretBlinks always true.. just remove the pref?
_ blockCaret always false.. remove it?
_ report from someone about blinking caret
_ http://code.google.com/p/processing/issues/detail?id=1136
_ figure out why modes are not loading classes properly
_ first see if it's something quick
_ excessive CPU usage of PDE after using library manager
@@ -296,7 +301,7 @@ _ casey: accidentally typing a letter at the top of the tab
_ throws you onto the end of the last tab... exactly the worst location
libraries
2.0 FINAL / libraries & classpaths
_ need to deal with classpath conflicts
_ avoid garbage that people have installed on their machines
_ antlr.jar in the classpath will cause trouble..
@@ -333,31 +338,6 @@ _ http://code.google.com/p/processing/issues/detail?id=1050
_ how to catch these?
Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: Could not initialize class javax.media.opengl.GLProfile
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
protected void finalize() throws Throwable {
try {
close();
} catch (Exception e) {
// do something
} finally {
super.finalize();
// more code can be written here as per need of application
}
}
_ fix line endings in revisions.txt for windows
from user Batuff
> sudo apt-get install xvfb
> Xvfb :2 -screen 0 1024x768x24 &
> export DISPLAY=localhost:2.0
> ./<myExportedProcessingApplication>
_ can't rename a .pde file as a .java file
_ shift-tab with no selection should go back two spaces
libraries and classpaths
_ versioning info
_ http://java.sun.com/j2se/1.5.0/docs/guide/extensions/versioning.html
_ java.ext.dirs for /System/Library/Java/Extensions
@@ -900,6 +880,9 @@ _ need to set dock icon title on osx
PDE / Sketch & Sketchbook
_ Large number of files in sketchbook folder can cause slow startup
_ and/or errors with launch4j
_ http://code.google.com/p/processing/issues/detail?id=1152
_ error that sketch is read-only can't be canceled
_ hitting cancel (or ESC?) still brings up the save dialog
_ ArticulatePrint-070103a.pde from ArticulatePrint-070103a loads ok
@@ -1045,6 +1028,7 @@ _ avoid some confusion for when describing the libraries folder to users
DIST / Windows
_ fix line endings in revisions.txt for windows
_ exe instead of bat to make exported apps run in 64-bit
_ http://code.google.com/p/processing/issues/detail?id=885
_ might not be necessary with new launch4j!
@@ -1114,6 +1098,11 @@ Please see <http://developer.apple.com/mac/library/technotes/tn2005/tn2147.html>
DIST / Linux
_ how to run "headless" from user Batuff
_ sudo apt-get install xvfb
_ Xvfb :2 -screen 0 1024x768x24 &
_ export DISPLAY=localhost:2.0
_ ./<myExportedProcessingApplication>
_ finish up debian package support (see the processing.mess folder)
_ http://code.google.com/p/processing/issues/detail?id=75
_ these bits need to be checked to ensure that they work on other distros