mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
moving major sections around
This commit is contained in:
@@ -255,106 +255,6 @@ _ https://www.microsoft.com/security/blog/2018/08/16/partnering-with-the-indus
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
contribs
|
||||
_ examples handling is less than ideal
|
||||
_ examples not mentioned in warning dialog when installing
|
||||
_ doesn't show in examples window for p5jsMode
|
||||
_ the extra "Contributed Examples" subfolder is awkward
|
||||
_ perhaps more important, examples need to specify their Mode
|
||||
_ not ideal for Android since there's some crossover, but ok for Example sets
|
||||
_ otherwise impossible to know how to populate the Examples window
|
||||
_ several "Could not find a matching .properties file" with clocks pdex
|
||||
_ examples window is per-Mode, but that doesn't seem helpful
|
||||
_ just like sketchbook, you can open one from the other
|
||||
_ or maybe just contribs show everywhere? hrm
|
||||
_ make sure pdex/pdez files working, also on Windows
|
||||
_ contrib examples are just too convoluted to double-click
|
||||
_ folders inside folders, bleh
|
||||
_ what Mode are they for?
|
||||
_ pdez links for contribs, not just the .zip
|
||||
_ fix the code so that the contribs manager will handle it
|
||||
_ though that's bad for earlier contribs, hrm
|
||||
_ document pdez and pdex files so that folks can use them
|
||||
_ load examples from pdez files
|
||||
_ 250 example (folders), would cut ~8-900 files to just those 250
|
||||
_ https://github.com/processing/processing/issues/182
|
||||
_ examples window sketches should load in proper environment
|
||||
_ test for what happens:
|
||||
_ if Java Mode is in front, and user double-clicks another Mode's entry
|
||||
_ write build.xml file to automatically update the examples
|
||||
_ when adding a new library, its examples aren't added to the list until restart
|
||||
|
||||
|
||||
manager/contribs.txt
|
||||
_ remove dorky loading.gif (used in ContributionTab and UpdateContributionTab)
|
||||
_ should be a better way to implement this
|
||||
_ if no internet available, install buttons disabled, but not clear why broken
|
||||
_ also if update check disabled, user isn't notified that contribs unavailable
|
||||
_ currently no indication that contrib download failed
|
||||
_ so the 'try again' won't show up; everything looks fine
|
||||
_ (was this for the contrib listing? or an actual contrib?)
|
||||
_ ContributionTab.updateContributionListing()
|
||||
_ this one shouldn't be in a single tab
|
||||
_ and it should include all contribs (method from Base to get in one swoop?)
|
||||
_ this is also likely the cause of per-Mode weirdness
|
||||
_ Base.setUpdatesAvailable() is called from half a dozen places!?
|
||||
|
||||
|
||||
manager
|
||||
_ how to handle contrib manager download/retry/etc and showing progress
|
||||
_ ListPanel.configureStatusColumnLabel() getting null DetailPanel objects
|
||||
_ seems to be out of sync/unavailable data based on more recent contrib changes?
|
||||
_ ManagerFrame.downloadAndUpdateContributionListing()
|
||||
_ should not even be run, because the contribs load on startup
|
||||
_ but ContributionTab.tryAgainButton needs to be able to request re-download
|
||||
_ ManagerFrame.makeAndShowTab()
|
||||
_ this one looks like it's gonna get called multiple times
|
||||
_ holy s*t ContributionTableModel is using all of the contribs
|
||||
_ after failed update of Mode, the button is no longer available
|
||||
_ have to click something else, then click back on the Mode line again
|
||||
_ when starting in p5jsMode, contrib manager shows no green checks for libs
|
||||
_ tricky because those aren't gonna show up in 'Add Library'
|
||||
_ which is another case for a separate 'contrib manager' thing
|
||||
_ maybe that's the update button? when no updates, it's still a button?
|
||||
_ after opening Editor window, Processing freezes until contribs are loaded
|
||||
_ when opening manager, animation runs briefly then freezes
|
||||
_ DetailPanel setContribution() being called 4x for each contrib on startup
|
||||
_ during install of contrib, progress is halting during the install
|
||||
_ probably too much happening on the EDT that should not be
|
||||
_ optimize ContributionTab addListener() call in constructor
|
||||
X no longer calling addListener() on every single entry, whcih helps
|
||||
_ but what else might that change be breaking?
|
||||
_ StatusPanel seems to be recreated entirely
|
||||
_ StatusPanel being reset twice on each click
|
||||
_ is checking for previous, but apparently that's not working
|
||||
_ AvailableContribution.install() needs status handler
|
||||
_ can either be the StatusPanel *or* EditorStatus *or* console (during startup)
|
||||
_ needs to be EditorStatus when double-clicking a .pdex file
|
||||
_ this is also why Base.handleOpen() does statusError() calls during pdex load
|
||||
_ add indicator for the stats of libraries
|
||||
_ https://download.processing.org/stats
|
||||
_ add rank for libraries/modes/tools (use unicode chars?)
|
||||
_ probably not sort by default to avoid confusion
|
||||
_ lots of rewriting to use SwingWorker
|
||||
_ https://docs.oracle.com/javase/tutorial/uiswing/concurrency/worker.html
|
||||
_ obvious places where this needs to happen, but the code is working for now
|
||||
_ needs a few hours work to untangle all of it, but worth the regressions?
|
||||
_ get rid of IgnorableException
|
||||
_ contrib/mode/lib/example List objects in Base
|
||||
_ which of these should be Set objects?
|
||||
_ JProgressBar in StatusPanel is shared by all installing contribs
|
||||
_ which could make for weird behavior if installs before something has finished
|
||||
_ work to prevent multiple from colliding
|
||||
_ (i.e. get rid of ContribProgress class)
|
||||
X disable hashCode() implementation in Contribution
|
||||
X was getting in the way of comparisons
|
||||
_ but need to compare the entries differently so there aren't dupes
|
||||
_ i.e. it was doing a name comparison, so need to swap by name
|
||||
_ after library/tool changes, rebuild Help > Library/Tool Reference submenus
|
||||
_ could not write to temporary directory (virus checker problems)
|
||||
_ https://github.com/processing/processing/issues/4757
|
||||
|
||||
|
||||
4.0 / with Casey
|
||||
_ what things do we want to call out for the release?
|
||||
_ this is also the welcome screen
|
||||
@@ -388,15 +288,13 @@ old things
|
||||
4.0 / housekeeping
|
||||
_ make sure the numbers scripts are working again before launch
|
||||
_ anything else we need to be tracking?
|
||||
|
||||
o change the license from GPL
|
||||
_ make notes about it in the FAQ
|
||||
|
||||
_ pass through the source to update licenses
|
||||
_ add Processing Foundation as 2012-15
|
||||
_ update license info to state gplv2 not v3
|
||||
_ run through that online license checker
|
||||
_ add warnings to the old wiki pages with links to the newer versions
|
||||
o change the license from GPL
|
||||
_ make notes about the decision in the FAQ
|
||||
|
||||
|
||||
detach sketch names
|
||||
@@ -519,168 +417,6 @@ _ lots of EDT thread stuff, particularly with loading contribs
|
||||
_ handleNew() taking 2-3s?
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
DOC / Misc
|
||||
|
||||
_ thread safety with color() et al
|
||||
_ https://github.com/processing/processing4/issues/431#issuecomment-1057979636
|
||||
_ thread safety for drawing functions in general
|
||||
_ words on how key/mouse events are queued to the end of draw so they're safe
|
||||
_ make reference build process part of dist
|
||||
_ https://github.com/processing/processing-docs/issues/85
|
||||
_ separate ant target, but only require them for dist
|
||||
_ as separate targets, folks can build explicitly if they'd like
|
||||
_ processing-docs/java_generate/ReferenceGenerator/processingrefBuild.sh
|
||||
_ find in reference for copy() (on image) tries to open PVector.copy()
|
||||
_ might need disambiguation pages?
|
||||
_ if a reference page is missing, throws a bunch of exceptions
|
||||
_ i.e. PVector.copy() not in the reference
|
||||
_ yahoo search example is out of date (included in the examples? the book?)
|
||||
_ stop() to shut down a sketch (but not quit/close window)
|
||||
_ actually pause/resume
|
||||
_ MIN_FLOAT, MAX_FLOAT, also the difference from the Java functions
|
||||
_ also MIN_INT and MAX_INT, even though those are more similar
|
||||
_ update the reference to cover parseXxxx() stuff
|
||||
_ also add notes about parseInt/Float(blah, otherwise)
|
||||
_ also parseInt and parseFloat, how they can return another number or NaN
|
||||
_ should the default be NaN or 0?
|
||||
_ get/set are faster way draw screen space images, but no tint, no translations
|
||||
_ make sure the docs include "beginShape() cannot be nested"
|
||||
_ also add error messages to the renderers
|
||||
_ also note that ellipse() et al use beginShape()
|
||||
_ and that java2d should complain if people try it
|
||||
_ method to go from function name to the included examples where used?
|
||||
_ encourage use of set() instead of point() in the drawing api
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116
|
||||
_ other projects on which p5 is built
|
||||
_ no longer oro matcher and jikes
|
||||
_ add: quaqua, jna, registry stuff, .. ?
|
||||
_ noLoop() isn't the same as "finished", though it's sometimes used that way
|
||||
_ to finish, use exit() (though that will make the window close)
|
||||
_ add this to ref once halt() is finished
|
||||
_ errors in pdf/index.html examples
|
||||
_ probably remove these, move the useful ones to the examples folder
|
||||
_ that way people will read the reference
|
||||
_ i can't fix these:
|
||||
An unexpected error has been detected by HotSpot Virtual Machine:
|
||||
# EXCEPTION_ACCESS_VIOLATION
|
||||
all i can do is find things that might trigger them, but it's more likely
|
||||
than not to be a java problem, and not something that can be fixed
|
||||
_ explanation of how we see libraries in the PDE
|
||||
_ We're making an assumption that the idea of a "library" refers to a block of Java-based code. The reasoning is that from within the PDE, we anticipate that it will be Java-compatible versions of other languages (such as Jython, JRuby, or Scala) as opposed to more generic languages. In the future we could open this up, but we'd rather not complicate things for the moment.
|
||||
_ add to troubleshooting
|
||||
_ problem with big floats: http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1061302380
|
||||
_ problem with small floats: http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1115500448
|
||||
_ console stored in prefs location
|
||||
_ console may be useful for debugging
|
||||
|
||||
|
||||
DOC / Text
|
||||
|
||||
_ how to use textMode(SHAPE) with opengl
|
||||
_ things will be extremely slow (fix later)
|
||||
_ things will also be very ugly on-screen
|
||||
_ text being nicer in java2d
|
||||
_ use createFont() to load the font or use a font from your machine
|
||||
_ note that createFont() is no good for applets/export to web
|
||||
_ textMode(SCREEN) for P2D and P3D for nice fast text in screen space
|
||||
_ currently slow in JAVA2D and OPENGL, but this will improve
|
||||
_ what is the vlw font file format?
|
||||
_ shapes from 3D type
|
||||
_ the way to do it (will improve later) is to use some undocumented features
|
||||
_ 1) you have to use the OPENGL renderer
|
||||
_ 2) use textMode(SHAPE);
|
||||
_ 3) use createFont() (which you already are)
|
||||
_ this will convert all the shape data from the fonts for writing.
|
||||
_ it will be *extremely* slow, which is part of why it's not documented yet.
|
||||
_ but it will work with beginRaw().
|
||||
_ improve documentation of the pdf stuff
|
||||
_ be clearer about the font setup stuff
|
||||
_ fonts by default not working that well?
|
||||
|
||||
|
||||
DOC / Other
|
||||
|
||||
_ why strong typing? (link also to language thing on main page)
|
||||
_ we cannot commit to any sort of timeframe on releases
|
||||
_ under the hood - basic
|
||||
_ it's all java
|
||||
_ don't use awt
|
||||
_ most things are imported by default
|
||||
_ under the hood - complex
|
||||
_ how to get started with coding
|
||||
_ everything subclasses PApplet
|
||||
_ if you need a particular name, add it with "extends PApplet"
|
||||
_ all code from tabs is joined to one sketch
|
||||
_ if you want it separate, then you have to make .java files
|
||||
_ in doing so, you'll lose access to 'g'
|
||||
_ add main() to your app to make it run on its own
|
||||
_ preproc stuff.. have to make setup() into public void setup()
|
||||
_ (same for key events and all that)
|
||||
_ is there a way to do xxx?
|
||||
_ advanced users who are outgrowing the basic reference:
|
||||
_ be sure to check the "complete" reference
|
||||
_ change bugs.html to issues.html
|
||||
_ and add a redirect in httpd.conf
|
||||
_ need to document how subclass of pgraphics works
|
||||
_ what are the necessary bits that need to be subclassed
|
||||
_ simple handling of colors, what fields are available
|
||||
_ how to get the matrices
|
||||
_ simple endshape handler
|
||||
_ also mention in keyPressed docs that ASCII key codes will not be coded
|
||||
_ it's just how java is (maybe this is already in there?)
|
||||
_ add note about adding libraries to the sketchbook to the reference
|
||||
_ add note in environment reference about how to add something to the sketch
|
||||
_ (code, .java files, etc)
|
||||
_ make sure that psound has been removed (from docs, ref, mentions)
|
||||
|
||||
|
||||
DOC / Examples
|
||||
|
||||
_ add to key reference a pointer to an example that tracks all keys
|
||||
_ write simple example that tracks all keys
|
||||
_ making things fast with pixel operations
|
||||
_ write a threading example
|
||||
_ show an example of how to handle callback into the app
|
||||
X or handle this some more intelligent way, super.stop() is needed.
|
||||
X registerDispose() does the trick
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083574943
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1067383998
|
||||
_ scripts: how to make a long setup() sleep so that things don't lock way up
|
||||
_ write an example that uses HashMap (or Hashtable)
|
||||
_ write an example that uses ArrayList properly
|
||||
_ get xml library example in there
|
||||
_ simple method for having a clickable region or sprite with rollover
|
||||
_ post to web example
|
||||
_ particularly for uploading image data
|
||||
_ along with php script to handle receive
|
||||
_ this is in hacks, but
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1117194066#7
|
||||
|
||||
|
||||
DOC / Hacks
|
||||
|
||||
_ write a timer class/example library
|
||||
_ how do i add gui to a sketch?
|
||||
_ don't use awt components
|
||||
_ how to use swing and embed components inside p5
|
||||
_ explain how to integrate code with swing
|
||||
_ use a separate environment, call init(), use noLoop(), redraw()
|
||||
_ use JPopupMenu.setDefaultLightWeightPopupEnabled(false); for zorder
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1147670059
|
||||
_ write documentation on general use of processing.core
|
||||
_ note that applet is itself a Component
|
||||
_ eclipse
|
||||
_ document how to properly integrate with eclipse
|
||||
_ add runtime args to opengl library so that it sets path properly
|
||||
_ add explanation for using subclipse to get p5
|
||||
_ make a src folder, data folder location
|
||||
_ export to eclipse
|
||||
_ how to do this with subclipse instructions?
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@@ -842,7 +578,106 @@ _ need better error messages for broken api / library troubles
|
||||
_ e.g. ocd is broken in 0125 because of method signature changes
|
||||
|
||||
|
||||
PDE / Manager
|
||||
PDE / Examples
|
||||
|
||||
_ examples handling is less than ideal
|
||||
_ examples not mentioned in warning dialog when installing
|
||||
_ doesn't show in examples window for p5jsMode
|
||||
_ the extra "Contributed Examples" subfolder is awkward
|
||||
_ perhaps more important, examples need to specify their Mode
|
||||
_ not ideal for Android since there's some crossover, but ok for Example sets
|
||||
_ otherwise impossible to know how to populate the Examples window
|
||||
_ several "Could not find a matching .properties file" with clocks pdex
|
||||
_ examples window is per-Mode, but that doesn't seem helpful
|
||||
_ just like sketchbook, you can open one from the other
|
||||
_ or maybe just contribs show everywhere? hrm
|
||||
_ make sure pdex/pdez files working, also on Windows
|
||||
_ contrib examples are just too convoluted to double-click
|
||||
_ folders inside folders, bleh
|
||||
_ what Mode are they for?
|
||||
_ pdez links for contribs, not just the .zip
|
||||
_ fix the code so that the contribs manager will handle it
|
||||
_ though that's bad for earlier contribs, hrm
|
||||
_ document pdez and pdex files so that folks can use them
|
||||
_ load examples from pdez files
|
||||
_ 250 example (folders), would cut ~8-900 files to just those 250
|
||||
_ https://github.com/processing/processing/issues/182
|
||||
_ examples window sketches should load in proper environment
|
||||
_ test for what happens:
|
||||
_ if Java Mode is in front, and user double-clicks another Mode's entry
|
||||
_ write build.xml file to automatically update the examples
|
||||
_ when adding a new library, its examples aren't added to the list until restart
|
||||
|
||||
|
||||
PDE / Manager (4.x notes)
|
||||
|
||||
_ remove dorky loading.gif (used in ContributionTab and UpdateContributionTab)
|
||||
_ should be a better way to implement this
|
||||
_ if no internet available, install buttons disabled, but not clear why broken
|
||||
_ also if update check disabled, user isn't notified that contribs unavailable
|
||||
_ currently no indication that contrib download failed
|
||||
_ so the 'try again' won't show up; everything looks fine
|
||||
_ (was this for the contrib listing? or an actual contrib?)
|
||||
_ ContributionTab.updateContributionListing()
|
||||
_ this one shouldn't be in a single tab
|
||||
_ and it should include all contribs (method from Base to get in one swoop?)
|
||||
_ this is also likely the cause of per-Mode weirdness
|
||||
_ Base.setUpdatesAvailable() is called from half a dozen places!?
|
||||
_ how to handle contrib manager download/retry/etc and showing progress
|
||||
_ ListPanel.configureStatusColumnLabel() getting null DetailPanel objects
|
||||
_ seems to be out of sync/unavailable data based on more recent contrib changes?
|
||||
_ ManagerFrame.downloadAndUpdateContributionListing()
|
||||
_ should not even be run, because the contribs load on startup
|
||||
_ but ContributionTab.tryAgainButton needs to be able to request re-download
|
||||
_ ManagerFrame.makeAndShowTab()
|
||||
_ this one looks like it's gonna get called multiple times
|
||||
_ holy s*t ContributionTableModel is using all of the contribs
|
||||
_ after failed update of Mode, the button is no longer available
|
||||
_ have to click something else, then click back on the Mode line again
|
||||
_ when starting in p5jsMode, contrib manager shows no green checks for libs
|
||||
_ tricky because those aren't gonna show up in 'Add Library'
|
||||
_ which is another case for a separate 'contrib manager' thing
|
||||
_ maybe that's the update button? when no updates, it's still a button?
|
||||
_ after opening Editor window, Processing freezes until contribs are loaded
|
||||
_ when opening manager, animation runs briefly then freezes
|
||||
_ DetailPanel setContribution() being called 4x for each contrib on startup
|
||||
_ during install of contrib, progress is halting during the install
|
||||
_ probably too much happening on the EDT that should not be
|
||||
_ optimize ContributionTab addListener() call in constructor
|
||||
X no longer calling addListener() on every single entry, whcih helps
|
||||
_ but what else might that change be breaking?
|
||||
_ StatusPanel seems to be recreated entirely
|
||||
_ StatusPanel being reset twice on each click
|
||||
_ is checking for previous, but apparently that's not working
|
||||
_ AvailableContribution.install() needs status handler
|
||||
_ can either be the StatusPanel *or* EditorStatus *or* console (during startup)
|
||||
_ needs to be EditorStatus when double-clicking a .pdex file
|
||||
_ this is also why Base.handleOpen() does statusError() calls during pdex load
|
||||
_ add indicator for the stats of libraries
|
||||
_ https://download.processing.org/stats
|
||||
_ add rank for libraries/modes/tools (use unicode chars?)
|
||||
_ probably not sort by default to avoid confusion
|
||||
_ lots of rewriting to use SwingWorker
|
||||
_ https://docs.oracle.com/javase/tutorial/uiswing/concurrency/worker.html
|
||||
_ obvious places where this needs to happen, but the code is working for now
|
||||
_ needs a few hours work to untangle all of it, but worth the regressions?
|
||||
_ get rid of IgnorableException
|
||||
_ contrib/mode/lib/example List objects in Base
|
||||
_ which of these should be Set objects?
|
||||
_ JProgressBar in StatusPanel is shared by all installing contribs
|
||||
_ which could make for weird behavior if installs before something has finished
|
||||
_ work to prevent multiple from colliding
|
||||
_ (i.e. get rid of ContribProgress class)
|
||||
X disable hashCode() implementation in Contribution
|
||||
X was getting in the way of comparisons
|
||||
_ but need to compare the entries differently so there aren't dupes
|
||||
_ i.e. it was doing a name comparison, so need to swap by name
|
||||
_ after library/tool changes, rebuild Help > Library/Tool Reference submenus
|
||||
_ could not write to temporary directory (virus checker problems)
|
||||
_ https://github.com/processing/processing/issues/4757
|
||||
|
||||
|
||||
PDE / Manager (3.x notes)
|
||||
|
||||
_ Fix vertical placement of top elements in the Manager window
|
||||
_ https://github.com/processing/processing4/issues/520
|
||||
@@ -1251,6 +1086,170 @@ _ https://github.com/processing/processing-docs/issues/645
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
DOC / Misc
|
||||
|
||||
_ thread safety with color() et al
|
||||
_ https://github.com/processing/processing4/issues/431#issuecomment-1057979636
|
||||
_ thread safety for drawing functions in general
|
||||
_ words on how key/mouse events are queued to the end of draw so they're safe
|
||||
_ make reference build process part of dist
|
||||
_ https://github.com/processing/processing-docs/issues/85
|
||||
_ separate ant target, but only require them for dist
|
||||
_ as separate targets, folks can build explicitly if they'd like
|
||||
_ processing-docs/java_generate/ReferenceGenerator/processingrefBuild.sh
|
||||
_ find in reference for copy() (on image) tries to open PVector.copy()
|
||||
_ might need disambiguation pages?
|
||||
_ if a reference page is missing, throws a bunch of exceptions
|
||||
_ i.e. PVector.copy() not in the reference
|
||||
_ yahoo search example is out of date (included in the examples? the book?)
|
||||
_ stop() to shut down a sketch (but not quit/close window)
|
||||
_ actually pause/resume
|
||||
_ MIN_FLOAT, MAX_FLOAT, also the difference from the Java functions
|
||||
_ also MIN_INT and MAX_INT, even though those are more similar
|
||||
_ update the reference to cover parseXxxx() stuff
|
||||
_ also add notes about parseInt/Float(blah, otherwise)
|
||||
_ also parseInt and parseFloat, how they can return another number or NaN
|
||||
_ should the default be NaN or 0?
|
||||
_ get/set are faster way draw screen space images, but no tint, no translations
|
||||
_ make sure the docs include "beginShape() cannot be nested"
|
||||
_ also add error messages to the renderers
|
||||
_ also note that ellipse() et al use beginShape()
|
||||
_ and that java2d should complain if people try it
|
||||
_ method to go from function name to the included examples where used?
|
||||
_ encourage use of set() instead of point() in the drawing api
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116
|
||||
_ other projects on which p5 is built
|
||||
_ no longer oro matcher and jikes
|
||||
_ add: quaqua, jna, registry stuff, .. ?
|
||||
_ noLoop() isn't the same as "finished", though it's sometimes used that way
|
||||
_ to finish, use exit() (though that will make the window close)
|
||||
_ add this to ref once halt() is finished
|
||||
_ errors in pdf/index.html examples
|
||||
_ probably remove these, move the useful ones to the examples folder
|
||||
_ that way people will read the reference
|
||||
_ i can't fix these:
|
||||
An unexpected error has been detected by HotSpot Virtual Machine:
|
||||
# EXCEPTION_ACCESS_VIOLATION
|
||||
all i can do is find things that might trigger them, but it's more likely
|
||||
than not to be a java problem, and not something that can be fixed
|
||||
_ explanation of how we see libraries in the PDE
|
||||
_ We're making an assumption that the idea of a "library" refers to a block of Java-based code. The reasoning is that from within the PDE, we anticipate that it will be Java-compatible versions of other languages (such as Jython, JRuby, or Scala) as opposed to more generic languages. In the future we could open this up, but we'd rather not complicate things for the moment.
|
||||
_ add to troubleshooting
|
||||
_ problem with big floats: http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1061302380
|
||||
_ problem with small floats: http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1115500448
|
||||
_ console stored in prefs location
|
||||
_ console may be useful for debugging
|
||||
|
||||
|
||||
DOC / Text
|
||||
|
||||
_ how to use textMode(SHAPE) with opengl
|
||||
_ things will be extremely slow (fix later)
|
||||
_ things will also be very ugly on-screen
|
||||
_ text being nicer in java2d
|
||||
_ use createFont() to load the font or use a font from your machine
|
||||
_ note that createFont() is no good for applets/export to web
|
||||
_ textMode(SCREEN) for P2D and P3D for nice fast text in screen space
|
||||
_ currently slow in JAVA2D and OPENGL, but this will improve
|
||||
_ what is the vlw font file format?
|
||||
_ shapes from 3D type
|
||||
_ the way to do it (will improve later) is to use some undocumented features
|
||||
_ 1) you have to use the OPENGL renderer
|
||||
_ 2) use textMode(SHAPE);
|
||||
_ 3) use createFont() (which you already are)
|
||||
_ this will convert all the shape data from the fonts for writing.
|
||||
_ it will be *extremely* slow, which is part of why it's not documented yet.
|
||||
_ but it will work with beginRaw().
|
||||
_ improve documentation of the pdf stuff
|
||||
_ be clearer about the font setup stuff
|
||||
_ fonts by default not working that well?
|
||||
|
||||
|
||||
DOC / Other
|
||||
|
||||
_ why strong typing? (link also to language thing on main page)
|
||||
_ we cannot commit to any sort of timeframe on releases
|
||||
_ under the hood - basic
|
||||
_ it's all java
|
||||
_ don't use awt
|
||||
_ most things are imported by default
|
||||
_ under the hood - complex
|
||||
_ how to get started with coding
|
||||
_ everything subclasses PApplet
|
||||
_ if you need a particular name, add it with "extends PApplet"
|
||||
_ all code from tabs is joined to one sketch
|
||||
_ if you want it separate, then you have to make .java files
|
||||
_ in doing so, you'll lose access to 'g'
|
||||
_ add main() to your app to make it run on its own
|
||||
_ preproc stuff.. have to make setup() into public void setup()
|
||||
_ (same for key events and all that)
|
||||
_ is there a way to do xxx?
|
||||
_ advanced users who are outgrowing the basic reference:
|
||||
_ be sure to check the "complete" reference
|
||||
_ change bugs.html to issues.html
|
||||
_ and add a redirect in httpd.conf
|
||||
_ need to document how subclass of pgraphics works
|
||||
_ what are the necessary bits that need to be subclassed
|
||||
_ simple handling of colors, what fields are available
|
||||
_ how to get the matrices
|
||||
_ simple endshape handler
|
||||
_ also mention in keyPressed docs that ASCII key codes will not be coded
|
||||
_ it's just how java is (maybe this is already in there?)
|
||||
_ add note about adding libraries to the sketchbook to the reference
|
||||
_ add note in environment reference about how to add something to the sketch
|
||||
_ (code, .java files, etc)
|
||||
_ make sure that psound has been removed (from docs, ref, mentions)
|
||||
|
||||
|
||||
DOC / Examples
|
||||
|
||||
_ add to key reference a pointer to an example that tracks all keys
|
||||
_ write simple example that tracks all keys
|
||||
_ making things fast with pixel operations
|
||||
_ write a threading example
|
||||
_ show an example of how to handle callback into the app
|
||||
X or handle this some more intelligent way, super.stop() is needed.
|
||||
X registerDispose() does the trick
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083574943
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1067383998
|
||||
_ scripts: how to make a long setup() sleep so that things don't lock way up
|
||||
_ write an example that uses HashMap (or Hashtable)
|
||||
_ write an example that uses ArrayList properly
|
||||
_ get xml library example in there
|
||||
_ simple method for having a clickable region or sprite with rollover
|
||||
_ post to web example
|
||||
_ particularly for uploading image data
|
||||
_ along with php script to handle receive
|
||||
_ this is in hacks, but
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1117194066#7
|
||||
|
||||
|
||||
DOC / Hacks
|
||||
|
||||
_ write a timer class/example library
|
||||
_ how do i add gui to a sketch?
|
||||
_ don't use awt components
|
||||
_ how to use swing and embed components inside p5
|
||||
_ explain how to integrate code with swing
|
||||
_ use a separate environment, call init(), use noLoop(), redraw()
|
||||
_ use JPopupMenu.setDefaultLightWeightPopupEnabled(false); for zorder
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1147670059
|
||||
_ write documentation on general use of processing.core
|
||||
_ note that applet is itself a Component
|
||||
_ eclipse
|
||||
_ document how to properly integrate with eclipse
|
||||
_ add runtime args to opengl library so that it sets path properly
|
||||
_ add explanation for using subclipse to get p5
|
||||
_ make a src folder, data folder location
|
||||
_ export to eclipse
|
||||
_ how to do this with subclipse instructions?
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
FUTURE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user