From b94c3817801d849ba4eadeb5ccbd0d0572325fe0 Mon Sep 17 00:00:00 2001 From: benfry Date: Sat, 24 Nov 2012 15:37:25 +0000 Subject: [PATCH] cleaning todo list, add note to TouchEvent class --- .../core/src/processing/event/TouchEvent.java | 3 ++ android/todo.txt | 53 +++++++++---------- core/src/processing/event/TouchEvent.java | 3 ++ todo.txt | 3 ++ 4 files changed, 34 insertions(+), 28 deletions(-) diff --git a/android/core/src/processing/event/TouchEvent.java b/android/core/src/processing/event/TouchEvent.java index f082e539a..12e8ef391 100644 --- a/android/core/src/processing/event/TouchEvent.java +++ b/android/core/src/processing/event/TouchEvent.java @@ -23,6 +23,9 @@ package processing.event; +// PLACEHOLDER CLASS: DO NOT USE. IT HAS NOT EVEN DECIDED WHETHER +// THIS WILL BE CALLED TOUCHEVENT ONCE IT'S FINISHED. + /* http://developer.android.com/guide/topics/ui/ui-events.html http://developer.android.com/reference/android/view/MotionEvent.html diff --git a/android/todo.txt b/android/todo.txt index a3ec58a9e..43d34c881 100644 --- a/android/todo.txt +++ b/android/todo.txt @@ -12,6 +12,12 @@ X moving away from this anyway X pmouseX/Y not being set properly? X http://code.google.com/p/processing/issues/detail?id=238 X mouseEvent is back (see the Wiki) +o add method to bring up the keyboard in sketches +o actually, just write an example of how to do it, since holding menu works +o http://code.google.com/p/processing/issues/detail?id=234 +X values for pmouseX/Y aren't great +X Examples > Topics > Drawing > Continuous Lines shows gaps +X http://code.google.com/p/processing/issues/detail?id=238 cleaning/earlier A Defects in the tessellation of SVG shapes in A3D @@ -20,6 +26,16 @@ X change run/present/export/export application names in the menus A Blacked-out screen when restoring Android app from background. A http://code.google.com/p/processing/issues/detail?id=381 X android sdk/build location has changed (android-7 not 2.1) fix build.xml +A excessive rotation of application causes memory to run out +A this probably means that some memory isn't being freed that should be +A new window and surfaceview objects are being created in onCreate +A so they should probably be taken down in onDestroy.. but how? +A http://code.google.com/p/processing/issues/detail?id=235 +o should alpha PImage stuff use a non-4byte config? +X http://code.google.com/p/processing/issues/detail?id=242 +X hasn't emerged as a real issue +o try using the internal javac on windows and see if exceptions come through.. +o actually i think that might have been worse... motion events o registerMethod("motionEvent") and "mouseEvent" not implemented @@ -53,8 +69,6 @@ _ emulator not starting up on OS X? _ Android emulator doesn't always start on the first attempt _ http://code.google.com/p/processing/issues/detail?id=1210 - - _ inside AndroidPreprocessor _ processing.mode.java.JavaBuild.scrubComments(sketch.getCode(0).getProgram()) _ PApplet.match(scrubbed, processing.mode.java.JavaBuild.SIZE_REGEX); @@ -84,6 +98,7 @@ _ don't let the examples get overwritten with other mode stuff _ the whole sketch.properties thing is yech _ add INTERNET permissions to the android net examples +_ or other necessary permissions for other examples _ go through all basics/topics examples _ remove those that don't make sense with android @@ -117,15 +132,13 @@ _ check out andres' changes for PShape _ re: android libraries, from shawn van every The most powerful part were the libraries (and the ease with which they could be developed). Location, SMS, Camera/Video, Bluetooth (for Arduino integration) and PClient/PRequest were by far the most used. The ones that came with it, plus the ones from MJSoft were good though I ended up making a couple of very specific ones for my students: http://www.mobvcasting.com/wp/?cat=4 + _ separate activity and view _ process trackball events (they're only deltas) _ handle repeat key events _ implement link() _ need to post android examples -_ try using the internal javac on windows and see if exceptions come through.. -_ actually i think that might have been worse... - _ instructions on installing the usb driver for windows _ http://developer.android.com/sdk/win-usb.html @@ -147,10 +160,6 @@ _ to create the new sdk object _ need to do something to make it easier to do new screen sizes. -_ add method to bring up the keyboard in sketches -_ actually, just write an example of how to do it, since holding menu works -_ http://code.google.com/p/processing/issues/detail?id=234 - _ sketches must be removed manually if the debug keystore changes _ http://code.google.com/p/processing/issues/detail?id=236 @@ -242,28 +251,16 @@ CORE (PApplet, P2D et al) _ too many temporary objects (particularly w/ color) created with A2D _ http://code.google.com/p/processing/issues/detail?id=213 -_ mouseClicked() is currently missing -_ implement tap methods to handle mouseClicked() +_ implement tap detection and set correct click count for mouseClicked() _ http://code.google.com/p/processing/issues/detail?id=215 -_ check on multiple pointers and multi-touch +_ implement multiple pointers and multi-touch _ http://code.google.com/p/processing/issues/detail?id=243 -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://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://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://code.google.com/p/processing/issues/detail?id=239 -P5 _ should alpha PImage stuff use a non-4byte config? -P5 _ http://code.google.com/p/processing/issues/detail?id=242 +_ Examples > Topics > Effects > Lens uses a ton of memory +_ resize() needs to use the android resize stuff +_ right now using the rather than expensive copy() +_ instead, create a new resized bitmap, and get rid of pixels[] +_ http://code.google.com/p/processing/issues/detail?id=239 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . diff --git a/core/src/processing/event/TouchEvent.java b/core/src/processing/event/TouchEvent.java index f082e539a..12e8ef391 100644 --- a/core/src/processing/event/TouchEvent.java +++ b/core/src/processing/event/TouchEvent.java @@ -23,6 +23,9 @@ package processing.event; +// PLACEHOLDER CLASS: DO NOT USE. IT HAS NOT EVEN DECIDED WHETHER +// THIS WILL BE CALLED TOUCHEVENT ONCE IT'S FINISHED. + /* http://developer.android.com/guide/topics/ui/ui-events.html http://developer.android.com/reference/android/view/MotionEvent.html diff --git a/todo.txt b/todo.txt index 1b310ffc5..c32a59cfc 100644 --- a/todo.txt +++ b/todo.txt @@ -32,6 +32,9 @@ _ change error message for serial re: 64-bit _ "To use this library, switch to 32-bit mode in Preferences." (OS X) _ "To use this library, you must use the 32-bit version of Processing." +_ temp files are not deleted +_ http://code.google.com/p/processing/issues/detail?id=562 + _ DebugMode throwing exception about breakpoints when trying to save _ standard "Emacs" keybindings not implemented on OS X