mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
cleanup for rev 0099.. remove pdf from dist script, remove external editor
launcher, undo psound tweaks
This commit is contained in:
@@ -672,6 +672,7 @@ public class Editor extends JFrame
|
||||
});
|
||||
menu.add(item);
|
||||
|
||||
/*
|
||||
item = new JMenuItem("Open in External Editor");
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
@@ -687,6 +688,7 @@ public class Editor extends JFrame
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
*/
|
||||
|
||||
return menu;
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ cp -r ../shared processing
|
||||
cp -r ../../net processing/libraries/
|
||||
cp -r ../../opengl processing/libraries/
|
||||
cp -r ../../serial processing/libraries/
|
||||
cp -r ../../pdf processing/libraries/
|
||||
#cp -r ../../pdf processing/libraries/
|
||||
|
||||
# new style examples thing ala reas
|
||||
cd processing
|
||||
|
||||
@@ -28,7 +28,7 @@ cp -r ../../net processing/libraries/
|
||||
cp -r ../../opengl processing/libraries/
|
||||
cp -r ../../serial processing/libraries/
|
||||
cp -r ../../video processing/libraries/
|
||||
cp -r ../../pdf processing/libraries/
|
||||
#cp -r ../../pdf processing/libraries/
|
||||
|
||||
# new style examples thing ala reas
|
||||
cd processing
|
||||
|
||||
Binary file not shown.
@@ -28,7 +28,7 @@ cp -r ../../net processing/libraries/
|
||||
cp -r ../../opengl processing/libraries/
|
||||
cp -r ../../serial processing/libraries/
|
||||
cp -r ../../video processing/libraries/
|
||||
cp -r ../../pdf processing/libraries/
|
||||
#cp -r ../../pdf processing/libraries/
|
||||
|
||||
# new style examples thing ala reas
|
||||
cd processing
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+28
-8
@@ -131,7 +131,7 @@ public class PSound2 extends PSound {
|
||||
clip.stop();
|
||||
clip.setFramePosition(0);
|
||||
} else {
|
||||
// if not playing, just needs to reset things
|
||||
// if not playing, call stop() to reset clip internally
|
||||
clip.stop();
|
||||
}
|
||||
}
|
||||
@@ -165,15 +165,38 @@ public class PSound2 extends PSound {
|
||||
}
|
||||
|
||||
|
||||
//public boolean playing() {
|
||||
//return clip.isActive();
|
||||
/**
|
||||
* Free up resources used by this clip, otherwise an exception
|
||||
* that reads "LineUnavailableException: No Free Voices" will be thrown
|
||||
* after about 32 attempts. [thanks to daniel shiffman for this fix]
|
||||
*/
|
||||
//public void destroy() {
|
||||
protected void finalize() throws Throwable {
|
||||
//try {
|
||||
if (clip != null) {
|
||||
clip.flush();
|
||||
clip.close();
|
||||
}
|
||||
//} catch (Exception e) {
|
||||
//System.err.println("Error destroying clip: " + e);
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* either sets repeat flag, or begins playing (and sets)
|
||||
*/
|
||||
public void loop() {
|
||||
/*
|
||||
// other possible solution for the looping issues
|
||||
looping = true;
|
||||
//System.out.println("loop() clip active = " + clip.isActive());
|
||||
if (!clip.isActive()) {
|
||||
clip.stop();
|
||||
clip.setFramePosition(0);
|
||||
clip.start();
|
||||
}
|
||||
*/
|
||||
clip.loop(Clip.LOOP_CONTINUOUSLY);
|
||||
}
|
||||
|
||||
@@ -185,14 +208,11 @@ public class PSound2 extends PSound {
|
||||
*/
|
||||
public void noLoop() {
|
||||
clip.loop(0);
|
||||
//looping = false;
|
||||
//if (clip.isActive()) stop();
|
||||
}
|
||||
|
||||
|
||||
// Play and repeat for a certain number of times
|
||||
//int numberOfPlays = 3;
|
||||
//clip.loop(numberOfPlays-1);
|
||||
|
||||
|
||||
public void pause() {
|
||||
clip.stop();
|
||||
}
|
||||
|
||||
+12
-16
@@ -1,7 +1,6 @@
|
||||
0099 core
|
||||
X PSound.play() won't play the sound a 2nd time (reopened)
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=208
|
||||
X removed playing() method
|
||||
X removed playing() method from PSound
|
||||
X integrate destroy() method from shiffman as dispose() in PSound2
|
||||
X ComponentListener is probably what's needed for resize()
|
||||
X make sure that components can be resized properly via size()
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=209
|
||||
@@ -11,11 +10,20 @@ X A second call to size almost works.
|
||||
X The buffer apparently gets allocated and saveFrame saves the
|
||||
X new size but drawing appears to be disabled.
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=243
|
||||
X update to java 1.4.2_09
|
||||
|
||||
_ make dxf writer that'll work with recordRaw()
|
||||
_ enable PGraphicsPDF for inclusion
|
||||
_ write documentation on images (they suck) and fonts (use ttf)
|
||||
|
||||
_ PSound.play() won't play the sound a 2nd time (reopened)
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=208
|
||||
|
||||
_ figure out why 1024x768 image takes 3.5 seconds to load
|
||||
_ would using a BufferedImage work better?
|
||||
_ is the image actually a BufferedImage so PixelGrabber is a waste?
|
||||
|
||||
_ too much object creation in java2d
|
||||
_ causes inconsistency/hiccups as the gc runs
|
||||
_ fix the flicker in java2d mode
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=122
|
||||
_ framerate(30) is still flickery and jumpy..
|
||||
@@ -26,23 +34,12 @@ _ framerate that's reported is out of joint with actual
|
||||
_ seems to be aliasing effect of low resolution on millis()
|
||||
_ so rates coming out double or half of their actual
|
||||
_ probably need to integrate over a rolling array of 10 frames or so
|
||||
|
||||
_ don't block on loadImage()
|
||||
_ use a MediaTracker that's shared, so that while an image is still
|
||||
_ loading, other calls to loadImage might be able to add things to the
|
||||
_ queue. or maybe beginImage() and endImage()? or a mode that lets
|
||||
_ you wait for the images to download (size is zero until they're ready)
|
||||
|
||||
_ noLoop() at end of setup is prolly b/c of interruptedex
|
||||
_ need to not call Thread.interrupt()
|
||||
|
||||
_ dataFolder() might be flawed b/c it's referring to contents of jar file
|
||||
_ for input, better to use openStream
|
||||
|
||||
_ make dxf writer that'll work with recordRaw()
|
||||
_ enable PGraphicsPDF for inclusion
|
||||
_ write documentation on images (they suck) and fonts (use ttf)
|
||||
|
||||
this should be fixed, test
|
||||
_ 404 error because first searches applet directory in isometricblocks
|
||||
_ "this file is named" errors don't like subdirectories
|
||||
@@ -110,7 +107,6 @@ _ add a e2mouseX and e2mouseY
|
||||
_ so that the prev mouse location is still good on mouseReleased
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=170
|
||||
|
||||
_ update to java 1.4.2_09
|
||||
_ add auto-install of cab file inside applet.html
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=181
|
||||
_ http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
|
||||
|
||||
@@ -63,21 +63,20 @@ _ (i.e. we really need those replacements for JOptionPane)
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
the biggies (from casey)
|
||||
the biggies
|
||||
_ finish record() and addition of the pdf library
|
||||
_ bring back P2D with proper stuff
|
||||
_ it's something we had and we lost
|
||||
_ use javac?
|
||||
_ ask japanese students about whether jikes is working ok
|
||||
|
||||
other biggies
|
||||
_ properly handle non-ascii chars in p5 folder name
|
||||
_ use javac?
|
||||
X ask japanese students about whether jikes is working ok
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=49
|
||||
_ or at least warn the user to install somehwere else
|
||||
_ perhaps the get around this by building into sketch folder
|
||||
_ when non-ascii chars in use, just launch everything externally
|
||||
|
||||
last minute regression from 0097
|
||||
_ exported movies seem to have trouble
|
||||
_ exported movies seem to have trouble (windows only?)
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=231
|
||||
|
||||
_ make .pde files double-clickable from windows
|
||||
@@ -200,6 +199,11 @@ _ write a simple example for threaded image loading "load several"
|
||||
_ MediaTracker blocking is prolly making jar download really slow
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089914280
|
||||
_ scripts: how to make a long setup() sleep so that things don't lock way up
|
||||
_ example for no block on loadImage()
|
||||
_ use a MediaTracker that's shared, so that while an image is still
|
||||
_ loading, other calls to loadImage might be able to add things to the
|
||||
_ queue. or maybe beginImage() and endImage()? or a mode that lets
|
||||
_ you wait for the images to download (size is zero until they're ready)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user