Thread: [Patchanim-commit] SF.net SVN: patchanim: [8] trunk/patchanim
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-01-25 04:55:05
|
Revision: 8 http://patchanim.svn.sourceforge.net/patchanim/?rev=8&view=rev Author: dbrosius Date: 2008-01-24 20:55:10 -0800 (Thu, 24 Jan 2008) Log Message: ----------- website collatoral Added Paths: ----------- trunk/patchanim/htdocs/ trunk/patchanim/htdocs/blend.jpg trunk/patchanim/htdocs/index.html trunk/patchanim/htdocs/vbar.gif Added: trunk/patchanim/htdocs/blend.jpg =================================================================== (Binary files differ) Property changes on: trunk/patchanim/htdocs/blend.jpg ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/patchanim/htdocs/index.html =================================================================== --- trunk/patchanim/htdocs/index.html (rev 0) +++ trunk/patchanim/htdocs/index.html 2008-01-25 04:55:10 UTC (rev 8) @@ -0,0 +1,26 @@ +<html> + <head> + <title>PatchAnim - A Bezier Surface based blend animation tool</title> + </head> + <body background> + <div style="position:absolute;top:0;left:0;width:256;height:65535;z-index:1;background-image:url(blend.jpg);"> + </div> + <div style="position:absolute;top:20;left:20;z-index:2;"> + <h1>PatchAnim</h1> + <hr/> + <a href="http://www.sourceforge.net/projects/patchanim">Project Page</a> + <img src="vbar.gif" height="12"/> + <a href="javadoc/index.html">JavaDoc</a> + <hr/> + + <p>Thanks for your interest in PatchAnim.</p> + <p>This tool generates a series of bitmaps that are color blends calculated from bezier surface patch values, where + the z coordinate of the patch corresponds to the color intensity that is rendered at that u,v parameter. + There are three patches available to tailor, one for red, green and blue, each. These three patches are + combined into one blend. A series of these patches can be created, and then the software creates a tween + between them to get a nicely continuous animated blend.</p> + <p><b>This tool is not finished at this time, it is a work in process.</b></p> + <p><b>Look for a java web start link here in the near future.</b></p> + </div> + </body> +</html> Property changes on: trunk/patchanim/htdocs/index.html ___________________________________________________________________ Name: svn:mime-type + text/html Name: svn:eol-style + native Added: trunk/patchanim/htdocs/vbar.gif =================================================================== (Binary files differ) Property changes on: trunk/patchanim/htdocs/vbar.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-01-30 02:58:29
|
Revision: 68 http://patchanim.svn.sourceforge.net/patchanim/?rev=68&view=rev Author: dbrosius Date: 2008-01-29 18:55:22 -0800 (Tue, 29 Jan 2008) Log Message: ----------- minor cleanups Modified Paths: -------------- trunk/patchanim/htdocs/index.html trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java Modified: trunk/patchanim/htdocs/index.html =================================================================== --- trunk/patchanim/htdocs/index.html 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/htdocs/index.html 2008-01-30 02:55:22 UTC (rev 68) @@ -45,11 +45,11 @@ very easy to generate in-between images from two separate blend descriptions.</p> - <p><b>Jan 29, 2008 - This tool is not finished at this time, although the patch animations work</b><br/> + <p><b>Jan 30, 2008 - This tool is not finished at this time, although the patch animations work</b><br/> Still to be done: <ul> - <li>Export to GIF, MPEG, etc</li> - <li>redraw glitches</li> + <li>export to mpeg</li> + <li>redraw glitches - better</li> <li>Performance Improvements</li> <li>Patch Library</li> <li>Color Swatch for editing values</li> Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java 2008-01-30 02:55:22 UTC (rev 68) @@ -1,3 +1,21 @@ +/* + * patchanim - A bezier surface patch color blend gif builder + * Copyright (C) 2008 Dave Brosius + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ package com.mebigfatguy.patchanim.gui; import java.awt.BorderLayout; @@ -2,3 +20,2 @@ import java.awt.Container; -import java.awt.Dimension; import java.util.ResourceBundle; @@ -31,7 +48,6 @@ cp.add(bar, BorderLayout.CENTER); pack(); setTitle(rb.getString(PatchAnimBundle.EXPORTINGFILE)); - Dimension d = getPreferredSize(); } public void imageExported(final ExportEvent ee) { Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java 2008-01-30 02:55:22 UTC (rev 68) @@ -334,7 +334,6 @@ } private File getExportLocation(final ExportType type) { - final ResourceBundle rb = PatchAnimBundle.getBundle(); JFileChooser chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); File defLocation; @@ -346,6 +345,7 @@ if (!type.isMultipleFiles()) { chooser.setFileFilter(new FileFilter() { + private final ResourceBundle rb = PatchAnimBundle.getBundle(); @Override public boolean accept(File f) { Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java 2008-01-30 02:55:22 UTC (rev 68) @@ -31,7 +31,6 @@ private static final long serialVersionUID = 7719900566976553103L; private JPatchControlPanel ctrl; - private JPatchSamplePanel sample; public JPatchAnimPanel() { initComponents(); @@ -43,7 +42,7 @@ p.setLayout(new BorderLayout(4, 4)); ctrl = new JPatchControlPanel(); p.add(ctrl, BorderLayout.WEST); - sample = new JPatchSamplePanel(PatchColor.Combined); + JPatchSamplePanel sample = new JPatchSamplePanel(PatchColor.Combined); JPanel q = new JPanel(); q.setLayout(new BoxLayout(q, BoxLayout.X_AXIS)); q.add(Box.createHorizontalGlue()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-01-31 05:57:18
|
Revision: 77 http://patchanim.svn.sourceforge.net/patchanim/?rev=77&view=rev Author: dbrosius Date: 2008-01-30 21:57:23 -0800 (Wed, 30 Jan 2008) Log Message: ----------- set version to 0.3.0 Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/htdocs/jnlp/patchanim.jnlp Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-01-31 05:56:26 UTC (rev 76) +++ trunk/patchanim/build.xml 2008-01-31 05:57:23 UTC (rev 77) @@ -32,7 +32,7 @@ <property name="javac.deprecation" value="on"/> <property name="javac.debug" value="on"/> - <property name="patchanim.version" value="0.2.0"/> + <property name="patchanim.version" value="0.3.0"/> <target name="clean" description="removes all generated collateral"> <delete dir="${classes.dir}"/> Modified: trunk/patchanim/htdocs/jnlp/patchanim.jnlp =================================================================== --- trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-01-31 05:56:26 UTC (rev 76) +++ trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-01-31 05:57:23 UTC (rev 77) @@ -16,7 +16,7 @@ </security> <resources> <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/> - <jar href="patchanim-0.2.0.jar"/> + <jar href="patchanim-0.3.0.jar"/> </resources> <application-desc main-class="com.mebigfatguy.patchanim.main.PatchMain"/> </jnlp> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-03 00:10:30
|
Revision: 87 http://patchanim.svn.sourceforge.net/patchanim/?rev=87&view=rev Author: dbrosius Date: 2008-02-02 16:10:34 -0800 (Sat, 02 Feb 2008) Log Message: ----------- add up down controls for patch list Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java trunk/patchanim/src/com/mebigfatguy/patchanim/gui/PatchListModel.java Added Paths: ----------- trunk/patchanim/src/com/mebigfatguy/patchanim/down.gif trunk/patchanim/src/com/mebigfatguy/patchanim/up.gif Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-02 23:36:35 UTC (rev 86) +++ trunk/patchanim/build.xml 2008-02-03 00:10:34 UTC (rev 87) @@ -63,6 +63,7 @@ <copy todir="${classes.dir}"> <fileset dir="${src.dir}"> <include name="**/*.properties"/> + <include name="**/*.gif"/> </fileset> </copy> </target> Added: trunk/patchanim/src/com/mebigfatguy/patchanim/down.gif =================================================================== (Binary files differ) Property changes on: trunk/patchanim/src/com/mebigfatguy/patchanim/down.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java 2008-02-02 23:36:35 UTC (rev 86) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java 2008-02-03 00:10:34 UTC (rev 87) @@ -26,6 +26,7 @@ import javax.swing.Box; import javax.swing.BoxLayout; +import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JList; @@ -42,12 +43,16 @@ import com.mebigfatguy.patchanim.surface.CombinedPatch; public class JPatchListPanel extends JPanel { - private static final long serialVersionUID = -6673383252840039387L; + private static final long serialVersionUID = -5365174588964238457L; + private static final String UPBUTTON = "/com/mebigfatguy/patchanim/up.gif"; + private static final String DOWNBUTTON = "/com/mebigfatguy/patchanim/down.gif"; private JList patchList; private PatchListModel patchListModel; private JButton addButton; private JButton removeButton; + private JButton upButton; + private JButton downButton; public JPatchListPanel() { initComponents(); @@ -76,7 +81,21 @@ modCtrls.add(Box.createHorizontalStrut(10)); modCtrls.add(removeButton); modCtrls.add(Box.createHorizontalGlue()); - add(modCtrls, BorderLayout.SOUTH); + add(modCtrls, BorderLayout.SOUTH); + + JPanel moveCtrls = new JPanel(); + upButton = new JButton(new ImageIcon(getClass().getResource(UPBUTTON))); + downButton = new JButton(new ImageIcon(getClass().getResource(DOWNBUTTON))); + upButton.setEnabled(false); + downButton.setEnabled(false); + Utils.sizeUniformly(new JComponent[] {upButton, downButton}, Utils.Sizing.Both); + moveCtrls.setLayout(new BoxLayout(moveCtrls, BoxLayout.Y_AXIS)); + moveCtrls.add(Box.createVerticalGlue()); + moveCtrls.add(upButton); + moveCtrls.add(Box.createVerticalStrut(10)); + moveCtrls.add(downButton); + moveCtrls.add(Box.createVerticalGlue()); + add(moveCtrls, BorderLayout.EAST); } private void initListeners() { @@ -89,6 +108,7 @@ patchListModel = new PatchListModel(dce.getDocument()); patchList.setModel(patchListModel); mediator.setNewActivePatch((CombinedPatch)patchListModel.getElementAt(0)); + enabledMovementCtrls(); } }); } @@ -106,6 +126,7 @@ patchListModel.add(selIndex, newPatch); patchList.setSelectedIndex(selIndex); removeButton.setEnabled(patchListModel.getSize() > 1); + enabledMovementCtrls(); } }); @@ -121,10 +142,40 @@ PatchPanelMediator mediator = PatchPanelMediator.getMediator(); mediator.setNewActivePatch((CombinedPatch)patchListModel.getElementAt(selIndex)); removeButton.setEnabled(patchListModel.getSize() > 1); + enabledMovementCtrls(); } } }); + + upButton.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent ae) { + int selIndex = patchList.getSelectedIndex(); + if (selIndex > 0) { + CombinedPatch patch = (CombinedPatch) patchListModel.getElementAt(selIndex); + patchListModel.remove(selIndex); + selIndex--; + patchListModel.add(selIndex, patch); + patchList.setSelectedIndex(selIndex); + enabledMovementCtrls(); + } + } + }); + + downButton.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent ae) { + int selIndex = patchList.getSelectedIndex(); + if ((selIndex >= 0) && (selIndex < (patchListModel.getSize() - 1))) { + CombinedPatch patch = (CombinedPatch) patchListModel.getElementAt(selIndex); + patchListModel.remove(selIndex); + selIndex++; + patchListModel.add(selIndex, patch); + patchList.setSelectedIndex(selIndex); + enabledMovementCtrls(); + } + } + }); + patchList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { @@ -133,9 +184,23 @@ CombinedPatch newPatch = (CombinedPatch)patchListModel.getElementAt(selIndex); PatchPanelMediator mediator = PatchPanelMediator.getMediator(); mediator.setNewActivePatch(newPatch); + enabledMovementCtrls(); } } } }); } + + private void enabledMovementCtrls() { + int selIndex = patchList.getSelectedIndex(); + int lastIndex = patchListModel.getSize() - 1; + + if ((lastIndex <= 0) || (selIndex < 0)) { + upButton.setEnabled(false); + downButton.setEnabled(false); + } else { + upButton.setEnabled(selIndex > 0); + downButton.setEnabled(selIndex < lastIndex); + } + } } Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/PatchListModel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/PatchListModel.java 2008-02-02 23:36:35 UTC (rev 86) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/PatchListModel.java 2008-02-03 00:10:34 UTC (rev 87) @@ -44,7 +44,7 @@ return; List<CombinedPatch> patches = doc.getPatches(); - patches.add(patch); + patches.add(pos, patch); doc.setDirty(true); fireIntervalAdded(this, pos, pos); } Added: trunk/patchanim/src/com/mebigfatguy/patchanim/up.gif =================================================================== (Binary files differ) Property changes on: trunk/patchanim/src/com/mebigfatguy/patchanim/up.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-09 05:52:56
|
Revision: 109 http://patchanim.svn.sourceforge.net/patchanim/?rev=109&view=rev Author: dbrosius Date: 2008-02-08 21:51:40 -0800 (Fri, 08 Feb 2008) Log Message: ----------- add xml libraries Modified Paths: -------------- trunk/patchanim/.classpath Added Paths: ----------- trunk/patchanim/lib/ trunk/patchanim/lib/serializer.jar trunk/patchanim/lib/xalan.jar trunk/patchanim/lib/xercesImpl.jar trunk/patchanim/lib/xml-apis.jar Modified: trunk/patchanim/.classpath =================================================================== --- trunk/patchanim/.classpath 2008-02-09 05:49:59 UTC (rev 108) +++ trunk/patchanim/.classpath 2008-02-09 05:51:40 UTC (rev 109) @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> + <classpathentry kind="lib" path="O:/patchanim/lib/xalan.jar"/> + <classpathentry kind="lib" path="O:/patchanim/lib/serializer.jar"/> + <classpathentry kind="lib" path="O:/patchanim/lib/xml-apis.jar"/> + <classpathentry kind="lib" path="O:/patchanim/lib/xercesImpl.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="classes"/> </classpath> Added: trunk/patchanim/lib/serializer.jar =================================================================== (Binary files differ) Property changes on: trunk/patchanim/lib/serializer.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/patchanim/lib/xalan.jar =================================================================== (Binary files differ) Property changes on: trunk/patchanim/lib/xalan.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/patchanim/lib/xercesImpl.jar =================================================================== (Binary files differ) Property changes on: trunk/patchanim/lib/xercesImpl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/patchanim/lib/xml-apis.jar =================================================================== (Binary files differ) Property changes on: trunk/patchanim/lib/xml-apis.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-09 16:15:15
|
Revision: 123 http://patchanim.svn.sourceforge.net/patchanim/?rev=123&view=rev Author: dbrosius Date: 2008-02-09 08:15:18 -0800 (Sat, 09 Feb 2008) Log Message: ----------- auto generate the file version Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsl trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-09 16:01:47 UTC (rev 122) +++ trunk/patchanim/build.xml 2008-02-09 16:15:18 UTC (rev 123) @@ -34,7 +34,7 @@ <property name="javac.deprecation" value="on"/> <property name="javac.debug" value="on"/> - <property name="patchanim.version" value="0.3.0"/> + <property name="patchanim.version" value="0.4.0"/> <target name="clean" description="removes all generated collateral"> <delete dir="${classes.dir}"/> @@ -74,6 +74,7 @@ <include name="**/*.xsl"/> </fileset> </copy> + <echo message="${patchanim.version}" file="${classes.dir}/com/mebigfatguy/patchanim/io/Version.txt"/> </target> <target name="jar" depends="compile, resources" description="produces the patchanim jar file"> @@ -84,6 +85,7 @@ <include name="**/*.gif"/> <include name="**/*.xsd"/> <include name="**/*.xsl"/> + <include name="**/*.txt"/> </fileset> <fileset dir="${basedir}"> <include name="license.txt"/> @@ -105,6 +107,7 @@ <include name="${src.dir}/**/*.xsd"/> <include name="${src.dir}/**/*.xsl"/> <include name="${lib.dir}/**/*.jar"/> + <include name="*.txt"/> </fileset> </zip> </target> Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsl =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsl 2008-02-09 16:01:47 UTC (rev 122) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsl 2008-02-09 16:15:18 UTC (rev 123) @@ -32,7 +32,10 @@ <xsl:variable name="ext" select="pae:new($doc)"/> <xsl:template match="/"> - <PatchAnimDoc version="0.2.0"> + <PatchAnimDoc> + <xsl:attribute name="version"> + <xsl:value-of select="pae:getVersion($ext)"/> + </xsl:attribute> <Settings> <xsl:attribute name="width"> <xsl:value-of select="pae:getWidth($ext)"/> Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java 2008-02-09 16:01:47 UTC (rev 122) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java 2008-02-09 16:15:18 UTC (rev 123) @@ -18,6 +18,10 @@ */ package com.mebigfatguy.patchanim.io; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; + import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; @@ -33,7 +37,7 @@ import com.mebigfatguy.patchanim.surface.PatchCoords; public class PatchAnimExtension { - + private static final String VERSION_URL = "/com/mebigfatguy/patchanim/io/Version.txt"; private PatchAnimDocument paDoc; private Document d; @@ -44,6 +48,18 @@ d = db.newDocument(); } + public String getVersion(@SuppressWarnings("unused") ExpressionContext context) { + BufferedReader br = null; + try { + br = new BufferedReader(new InputStreamReader(PatchAnimExtension.class.getResourceAsStream(VERSION_URL))); + return br.readLine(); + } catch (IOException ioe) { + return "0.0.0"; + } finally { + Closer.close(br); + } + } + public String getWidth(@SuppressWarnings("unused") ExpressionContext context) { return String.valueOf(paDoc.getWidth()); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-10 05:46:00
|
Revision: 135 http://patchanim.svn.sourceforge.net/patchanim/?rev=135&view=rev Author: dbrosius Date: 2008-02-09 21:46:03 -0800 (Sat, 09 Feb 2008) Log Message: ----------- move to 0.5.0 Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/htdocs/jnlp/patchanim.jnlp Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-10 05:37:00 UTC (rev 134) +++ trunk/patchanim/build.xml 2008-02-10 05:46:03 UTC (rev 135) @@ -34,7 +34,7 @@ <property name="javac.deprecation" value="on"/> <property name="javac.debug" value="on"/> - <property name="patchanim.version" value="0.4.0"/> + <property name="patchanim.version" value="0.5.0"/> <target name="clean" description="removes all generated collateral"> <delete dir="${classes.dir}"/> Modified: trunk/patchanim/htdocs/jnlp/patchanim.jnlp =================================================================== --- trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-02-10 05:37:00 UTC (rev 134) +++ trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-02-10 05:46:03 UTC (rev 135) @@ -16,7 +16,7 @@ </security> <resources> <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/> - <jar href="patchanim-0.4.0.jar"/> + <jar href="patchanim-0.5.0.jar"/> <jar href="xml-apis.jar"/> <jar href="xalan.jar"/> <jar href="xercesImpl.jar"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-10 23:21:50
|
Revision: 155 http://patchanim.svn.sourceforge.net/patchanim/?rev=155&view=rev Author: dbrosius Date: 2008-02-10 15:21:55 -0800 (Sun, 10 Feb 2008) Log Message: ----------- get ready for 0.6.0 release Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/htdocs/jnlp/patchanim.jnlp Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-10 19:00:45 UTC (rev 154) +++ trunk/patchanim/build.xml 2008-02-10 23:21:55 UTC (rev 155) @@ -34,7 +34,7 @@ <property name="javac.deprecation" value="on"/> <property name="javac.debug" value="on"/> - <property name="patchanim.version" value="0.5.0"/> + <property name="patchanim.version" value="0.6.0"/> <target name="clean" description="removes all generated collateral"> <delete dir="${classes.dir}"/> Modified: trunk/patchanim/htdocs/jnlp/patchanim.jnlp =================================================================== --- trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-02-10 19:00:45 UTC (rev 154) +++ trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-02-10 23:21:55 UTC (rev 155) @@ -16,7 +16,7 @@ </security> <resources> <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/> - <jar href="patchanim-0.5.0.jar"/> + <jar href="patchanim-0.6.0.jar"/> <jar href="xml-apis.jar"/> <jar href="xalan.jar"/> <jar href="xercesImpl.jar"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-10 23:50:00
|
Revision: 160 http://patchanim.svn.sourceforge.net/patchanim/?rev=160&view=rev Author: dbrosius Date: 2008-02-10 15:50:04 -0800 (Sun, 10 Feb 2008) Log Message: ----------- move up to 0.7.0 Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/htdocs/jnlp/patchanim.jnlp Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-10 23:32:29 UTC (rev 159) +++ trunk/patchanim/build.xml 2008-02-10 23:50:04 UTC (rev 160) @@ -34,7 +34,7 @@ <property name="javac.deprecation" value="on"/> <property name="javac.debug" value="on"/> - <property name="patchanim.version" value="0.6.0"/> + <property name="patchanim.version" value="0.7.0"/> <target name="clean" description="removes all generated collateral"> <delete dir="${classes.dir}"/> Modified: trunk/patchanim/htdocs/jnlp/patchanim.jnlp =================================================================== --- trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-02-10 23:32:29 UTC (rev 159) +++ trunk/patchanim/htdocs/jnlp/patchanim.jnlp 2008-02-10 23:50:04 UTC (rev 160) @@ -16,7 +16,7 @@ </security> <resources> <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/> - <jar href="patchanim-0.6.0.jar"/> + <jar href="patchanim-0.7.0.jar"/> <jar href="xml-apis.jar"/> <jar href="xalan.jar"/> <jar href="xercesImpl.jar"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-11 00:16:15
|
Revision: 163 http://patchanim.svn.sourceforge.net/patchanim/?rev=163&view=rev Author: dbrosius Date: 2008-02-10 16:16:20 -0800 (Sun, 10 Feb 2008) Log Message: ----------- move jnlp template to etc directory, and dynamically inject the version Added Paths: ----------- trunk/patchanim/etc/ trunk/patchanim/etc/patchanim.jnlp Added: trunk/patchanim/etc/patchanim.jnlp =================================================================== --- trunk/patchanim/etc/patchanim.jnlp (rev 0) +++ trunk/patchanim/etc/patchanim.jnlp 2008-02-11 00:16:20 UTC (rev 163) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<jnlp + spec="1.0+" + codebase="http://patchanim.sourceforge.net/jnlp" + href="patchanim.jnlp"> + <information> + <title>PatchAnim</title> + <vendor>MeBigFatGuy.com</vendor> + <homepage href="http://patchanim.sourceforge.net"/> + <description>Bezier Surface Patch Blend creation tool</description> + <description kind="short">A tool for creating animated color blends based on Bezier Surface patches</description> + <offline-allowed/> + </information> + <security> + <all-permissions/> + </security> + <resources> + <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/> + <jar href="patchanim-$VERSION.jar"/> + <jar href="xml-apis.jar"/> + <jar href="xalan.jar"/> + <jar href="xercesImpl.jar"/> + <jar href="serializer.jar"/> + </resources> + <application-desc main-class="com.mebigfatguy.patchanim.main.PatchMain"/> +</jnlp> + Property changes on: trunk/patchanim/etc/patchanim.jnlp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-14 04:58:29
|
Revision: 181 http://patchanim.svn.sourceforge.net/patchanim/?rev=181&view=rev Author: dbrosius Date: 2008-02-13 20:58:33 -0800 (Wed, 13 Feb 2008) Log Message: ----------- add a custom JFrame icon Modified Paths: -------------- trunk/patchanim/build.xml trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java Added Paths: ----------- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/patchanimicon.jpg Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-12 21:27:15 UTC (rev 180) +++ trunk/patchanim/build.xml 2008-02-14 04:58:33 UTC (rev 181) @@ -80,6 +80,7 @@ <include name="**/*.gif"/> <include name="**/*.xsd"/> <include name="**/*.xsl"/> + <include name="**/*.jpg"/> </fileset> </copy> <echo message="${patchanim.version}" file="${classes.dir}/com/mebigfatguy/patchanim/io/Version.txt"/> @@ -106,6 +107,7 @@ <include name="**/*.xsd"/> <include name="**/*.xsl"/> <include name="**/*.txt"/> + <include name="**/*.jpg"/> </fileset> <fileset dir="${basedir}"> <include name="license.txt"/> Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java 2008-02-12 21:27:15 UTC (rev 180) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java 2008-02-14 04:58:33 UTC (rev 181) @@ -29,6 +29,7 @@ import java.io.IOException; import java.util.ResourceBundle; +import javax.swing.ImageIcon; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JMenu; @@ -52,6 +53,7 @@ public class JPatchAnimFrame extends JFrame { private static final long serialVersionUID = -4610407923936772733L; + private static final String ICON_URL = "/com/mebigfatguy/patchanim/gui/patchanimicon.jpg"; private JMenuItem newItem; private JMenuItem openItem; @@ -87,6 +89,8 @@ cp.add(patchPanel, BorderLayout.CENTER); setTitle(rb.getString(PatchAnimBundle.TITLE)); + + setIconImage(new ImageIcon(JPatchAnimFrame.class.getResource(ICON_URL)).getImage()); pack(); } Added: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/patchanimicon.jpg =================================================================== (Binary files differ) Property changes on: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/patchanimicon.jpg ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-02-14 07:42:39
|
Revision: 187 http://patchanim.svn.sourceforge.net/patchanim/?rev=187&view=rev Author: dbrosius Date: 2008-02-13 23:42:44 -0800 (Wed, 13 Feb 2008) Log Message: ----------- add rename patch to context menu, and update doc Modified Paths: -------------- trunk/patchanim/htdocs/nameediting.jpg trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties Modified: trunk/patchanim/htdocs/nameediting.jpg =================================================================== (Binary files differ) Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java 2008-02-14 07:34:15 UTC (rev 186) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchListPanel.java 2008-02-14 07:42:44 UTC (rev 187) @@ -205,16 +205,7 @@ if (me.getClickCount() == 2) { CombinedPatch patch = (CombinedPatch)patchList.getSelectedValue(); if (patch != null) { - ResourceBundle rb = PatchAnimBundle.getBundle(); - String newName = JOptionPane.showInputDialog(JPatchListPanel.this, rb.getString(PatchAnimBundle.ENTERNEWPATCHNAME), patch.getName()); - if (newName != null) { - patch.setName(newName); - PatchPanelMediator mediator = PatchPanelMediator.getMediator(); - mediator.getDocument().setDirty(true); - patchList.invalidate(); - patchList.revalidate(); - patchList.repaint(); - } + renamePatch(patch); } } } @@ -235,9 +226,34 @@ }); } + private void renamePatch(CombinedPatch patch) { + if (patch != null) { + ResourceBundle rb = PatchAnimBundle.getBundle(); + String newName = JOptionPane.showInputDialog(JPatchListPanel.this, rb.getString(PatchAnimBundle.ENTERNEWPATCHNAME), patch.getName()); + if (newName != null) { + patch.setName(newName); + PatchPanelMediator mediator = PatchPanelMediator.getMediator(); + mediator.getDocument().setDirty(true); + patchList.invalidate(); + patchList.revalidate(); + patchList.repaint(); + } + } + } + private void showPatchListMenu(MouseEvent me) { ResourceBundle rb = PatchAnimBundle.getBundle(); JPopupMenu patchMenu = new JPopupMenu(); + JMenuItem renameItem = new JMenuItem(rb.getString(PatchAnimBundle.RENAME)); + renameItem.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent ae) { + CombinedPatch patch = (CombinedPatch)patchList.getSelectedValue(); + if (patch != null) { + renamePatch(patch); + } + } + }); + patchMenu.add(renameItem); JMenuItem cloneItem = new JMenuItem(rb.getString(PatchAnimBundle.CLONE)); cloneItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java 2008-02-14 07:34:15 UTC (rev 186) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java 2008-02-14 07:42:44 UTC (rev 187) @@ -69,6 +69,7 @@ public static final String ENTERNEWPATCHNAME = "patchanim.enternewpatchname"; public static final String ADD = "patchanim.add"; public static final String REMOVE = "patchanim.remove"; + public static final String RENAME = "patchanim.rename"; public static final String CLONE = "patchanim.clone"; public static final String COLOR = "patchanim.color"; public static final String SETALLPOINTS = "patchanim.setallpoints"; Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties 2008-02-14 07:34:15 UTC (rev 186) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties 2008-02-14 07:42:44 UTC (rev 187) @@ -62,6 +62,7 @@ patchanim.enternewpatchname = Rename Patch to patchanim.add = Add patchanim.remove = Remove +patchanim.rename = Rename patchanim.clone = Clone patchanim.color = Color patchanim.setallpoints = Set all control points to... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |