pixelle-commit Mailing List for pixelle (Page 13)
Brought to you by:
dbrosius
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(129) |
Jul
(39) |
Aug
|
Sep
|
Oct
|
Nov
(63) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
(1) |
Feb
(24) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(41) |
Aug
(1) |
Sep
(7) |
Oct
|
Nov
|
Dec
(5) |
| 2010 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(2) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <dbr...@us...> - 2008-06-18 03:53:17
|
Revision: 22
http://pixelle.svn.sourceforge.net/pixelle/?rev=22&view=rev
Author: dbrosius
Date: 2008-06-17 20:53:25 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
add title to expression dialog
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java
trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2008-06-18 03:41:22 UTC (rev 21)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2008-06-18 03:53:25 UTC (rev 22)
@@ -50,6 +50,7 @@
public static final String BLUE_FORMULA = "formula.blue";
public static final String TRANSPARENCY_FORMULA = "formula.transparency";
public static final String SELECTION_FORMULA = "formula.selection";
+ public static final String PIXEL_ALGORITHMS = "title.algorithms";
public static final String RED_LABEL = "label.red";
public static final String GREEN_LABEL = "label.green";
public static final String BLUE_LABEL = "label.blue";
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java 2008-06-18 03:41:22 UTC (rev 21)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java 2008-06-18 03:53:25 UTC (rev 22)
@@ -76,7 +76,7 @@
boolean clickedOK = false;
public PixelleExpressionDialog(PixelleFrame owner) {
- super(owner);
+ super(owner, PixelleBundle.getString(PixelleBundle.PIXEL_ALGORITHMS));
initComponents();
initListeners();
}
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties 2008-06-18 03:41:22 UTC (rev 21)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties 2008-06-18 03:53:25 UTC (rev 22)
@@ -51,6 +51,7 @@
formula.transparency = p[x,y].t
formula.selection = p[x,y].s
+title.algorithms = Pixel Algorithms
label.red = (Red)
label.green = (Green)
label.blue = (Blue)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 03:41:15
|
Revision: 21
http://pixelle.svn.sourceforge.net/pixelle/?rev=21&view=rev
Author: dbrosius
Date: 2008-06-17 20:41:22 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
fix zip target
Modified Paths:
--------------
trunk/pixelle/build.xml
Modified: trunk/pixelle/build.xml
===================================================================
--- trunk/pixelle/build.xml 2008-06-18 03:35:56 UTC (rev 20)
+++ trunk/pixelle/build.xml 2008-06-18 03:41:22 UTC (rev 21)
@@ -118,7 +118,7 @@
<include name="license.txt"/>
</fileset>
<manifest>
- <attribute name="pixelle-version" value="${fb-contrib.version}"/>
+ <attribute name="pixelle-version" value="${pixelle.version}"/>
<attribute name="Main-Class" value="com.mebigfatguy.pixelle.Pixelle"/>
<attribute name="Bundle-ManifestVersion" value="2"/>
<attribute name="Bundle-Name" value="pixelle plugin"/>
@@ -130,7 +130,7 @@
</target>
<target name="srczip" description="builds the source distribution zip file">
- <zip destfile="${basedir}/fb-contrib-src-${pixelle.version}.zip" basedir="${basedir}">
+ <zip destfile="${basedir}/pixelle-src-${pixelle.version}.zip" basedir="${basedir}">
<fileset dir="${basedir}">
<include name="**/*.java"/>
<include name="**/*.properties"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 03:35:47
|
Revision: 20
http://pixelle.svn.sourceforge.net/pixelle/?rev=20&view=rev
Author: dbrosius
Date: 2008-06-17 20:35:56 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
add snapshot ability
Modified Paths:
--------------
trunk/pixelle/build.xml
Modified: trunk/pixelle/build.xml
===================================================================
--- trunk/pixelle/build.xml 2008-06-18 03:27:13 UTC (rev 19)
+++ trunk/pixelle/build.xml 2008-06-18 03:35:56 UTC (rev 20)
@@ -183,4 +183,9 @@
<target name="release" depends="build, jnlp, srczip, binzip, javadoc" description="prepares everything for a release"/>
+ <target name="snapshot">
+ <antcall target="release">
+ <param name="pixelle.version" value="${pixelle.version}-SNAPSHOT"/>
+ </antcall>
+ </target>
</project>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 03:27:05
|
Revision: 19
http://pixelle.svn.sourceforge.net/pixelle/?rev=19&view=rev
Author: dbrosius
Date: 2008-06-17 20:27:13 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
fix up release targets
Modified Paths:
--------------
trunk/pixelle/build.xml
Modified: trunk/pixelle/build.xml
===================================================================
--- trunk/pixelle/build.xml 2008-06-18 03:26:21 UTC (rev 18)
+++ trunk/pixelle/build.xml 2008-06-18 03:27:13 UTC (rev 19)
@@ -151,9 +151,36 @@
</javadoc>
</target>
+ <target name="jnlp" description="copy jars to jnlp directory">
+ <copy todir="${jnlp.dir}">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${basedir}">
+ <include name="*.jar"/>
+ </fileset>
+ </copy>
+ <input message="Enter keystore password" addproperty="pass"/>
+ <signjar keystore="pixelle.store"
+ alias="pixelle"
+ keypass="${pass}"
+ storepass="${pass}">
+ <fileset dir="${jnlp.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ </signjar>
+ </target>
+
+
<target name="build" depends="clean, -init, compile, jar" description="builds the plugin jar">
</target>
- <target name="release" depends="build, srczip, javadoc" description="prepares everything for a release"/>
+ <target name="binzip" depends="build" description="zips up all jars">
+ <zip destfile="${basedir}/pixelle-bin-${pixelle.version}.zip"
+ basedir="${jnlp.dir}"
+ includes="pixelle-${pixelle.version}.jar antlr-2.7.7.jar antlr-3.1b1.jar antlr-runtime-3.1b1.jar asm-3.1.jar stringtemplate-3.1.jar"/>
+ </target>
+ <target name="release" depends="build, jnlp, srczip, binzip, javadoc" description="prepares everything for a release"/>
+
</project>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 03:26:12
|
Revision: 18
http://pixelle.svn.sourceforge.net/pixelle/?rev=18&view=rev
Author: dbrosius
Date: 2008-06-17 20:26:21 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
keystore for jnlp
Added Paths:
-----------
trunk/pixelle/pixelle.store
Added: trunk/pixelle/pixelle.store
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/pixelle.store
___________________________________________________________________
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-06-18 03:08:42
|
Revision: 17
http://pixelle.svn.sourceforge.net/pixelle/?rev=17&view=rev
Author: dbrosius
Date: 2008-06-17 20:08:48 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
add jnlp building
Modified Paths:
--------------
trunk/pixelle/build.xml
Modified: trunk/pixelle/build.xml
===================================================================
--- trunk/pixelle/build.xml 2008-06-18 03:03:28 UTC (rev 16)
+++ trunk/pixelle/build.xml 2008-06-18 03:08:48 UTC (rev 17)
@@ -27,6 +27,9 @@
<property name="classes.dir" value="${basedir}/classes"/>
<property name="lib.dir" value="${basedir}/lib"/>
<property name="etc.dir" value="${basedir}/etc"/>
+ <property name="htdocs.dir" value="${basedir}/htdocs"/>
+ <property name="jnlp.dir" value="${htdocs.dir}/jnlp"/>
+ <property name="javadoc.dir" value="${htdocs.dir}/javadoc"/>
<property name="antlr.gen.dir" value="${src.dir}/com/mebigfatguy/pixelle/antlr"/>
<property name="javac.source" value="1.5"/>
<property name="javac.target" value="1.5"/>
@@ -38,12 +41,23 @@
<target name="clean" description="removes all generated collateral">
<delete dir="${classes.dir}"/>
<delete dir="${antlr.gen.dir}"/>
+ <delete dir="${javadoc.dir}"/>
+ <delete>
+ <fileset dir="${jnlp.dir}">
+ <include name="pixelle*.jar"/>
+ <include name="*.jnlp"/>
+ </fileset>
+ </delete>
+ <delete>
+ <fileset dir="${basedir}" includes="*.zip"/>
+ </delete>
</target>
<target name="-init" description="prepares repository for a build">
<mkdir dir="${classes.dir}"/>
<mkdir dir="${antlr.gen.dir}"/>
<mkdir dir="${src.dir}/com/mebigfatguy"/>
+ <mkdir dir="${javadoc.dir}"/>
<path id="pixelle.classpath">
<pathelement location="${lib.dir}/antlr-runtime-3.1b1.jar"/>
<pathelement location="${lib.dir}/asm-3.1.jar"/>
@@ -62,6 +76,27 @@
</exec>
</target>
+ <target name="resources" depends="-init" description="copies required files">
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}">
+ <include name="**/*.properties"/>
+ </fileset>
+ </copy>
+ <copy todir="${jnlp.dir}">
+ <fileset dir="${etc.dir}">
+ <include name="*.jnlp"/>
+ </fileset>
+ </copy>
+ <replaceregexp byline="true">
+ <regexp pattern="\$VERSION"/>
+ <substitution expression="${pixelle.version}"/>
+ <fileset dir="${jnlp.dir}">
+ <include name="*.jnlp"/>
+ </fileset>
+ </replaceregexp>
+ </target>
+
+
<target name="compile" depends="-init, -gen" description="compiles java files">
<javac srcdir="${src.dir}"
destdir="${classes.dir}"
@@ -73,10 +108,11 @@
</javac>
</target>
- <target name="jar" depends="compile" description="produces the pixelle jar file">
+ <target name="jar" depends="compile,resources" description="produces the pixelle jar file">
<jar destfile="${basedir}/pixelle-${pixelle.version}.jar">
<fileset dir="${classes.dir}">
<include name="**/*.class"/>
+ <include name="**/*.properties"/>
</fileset>
<fileset dir="${basedir}">
<include name="license.txt"/>
@@ -97,6 +133,7 @@
<zip destfile="${basedir}/fb-contrib-src-${pixelle.version}.zip" basedir="${basedir}">
<fileset dir="${basedir}">
<include name="**/*.java"/>
+ <include name="**/*.properties"/>
<include name="**/*.g"/>
<include name="lib/*.jar"/>
</fileset>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 03:03:19
|
Revision: 16
http://pixelle.svn.sourceforge.net/pixelle/?rev=16&view=rev
Author: dbrosius
Date: 2008-06-17 20:03:28 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
LGPL license
Added Paths:
-----------
trunk/pixelle/license.txt
Added: trunk/pixelle/license.txt
===================================================================
--- trunk/pixelle/license.txt (rev 0)
+++ trunk/pixelle/license.txt 2008-06-18 03:03:28 UTC (rev 16)
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ 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
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
Property changes on: trunk/pixelle/license.txt
___________________________________________________________________
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-06-18 03:02:06
|
Revision: 15
http://pixelle.svn.sourceforge.net/pixelle/?rev=15&view=rev
Author: dbrosius
Date: 2008-06-17 20:02:14 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
source jnlp
Added Paths:
-----------
trunk/pixelle/etc/pixelle.jnlp
Added: trunk/pixelle/etc/pixelle.jnlp
===================================================================
--- trunk/pixelle/etc/pixelle.jnlp (rev 0)
+++ trunk/pixelle/etc/pixelle.jnlp 2008-06-18 03:02:14 UTC (rev 15)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<jnlp
+ spec="1.0+"
+ codebase="http://pixelle.sourceforge.net/jnlp"
+ href="pixelle.jnlp">
+ <information>
+ <title>Pixelle</title>
+ <vendor>MeBigFatGuy.com</vendor>
+ <homepage href="http://pixelle.sourceforge.net"/>
+ <description>Bitmap transformation tool</description>
+ <description kind="short">A tool for transforming bitmaps thru pixel algorithms</description>
+ <offline-allowed/>
+ </information>
+ <security>
+ <all-permissions/>
+ </security>
+ <resources>
+ <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/>
+ <jar href="pixelle-$VERSION.jar"/>
+ <jar href="antlr-2.7.7.jar"/>
+ <jar href="antlr-3.1b1.jar"/>
+ <jar href="antlr-runtime-3.1b1.jar"/>
+ <jar href="asm-3.1.jar"/>
+ <jar href="stringtemplate-3.1.jar"/>
+ </resources>
+ <application-desc main-class="com.mebigfatguy.pixelle.Pixelle"/>
+</jnlp>
+
Property changes on: trunk/pixelle/etc/pixelle.jnlp
___________________________________________________________________
Name: svn:mime-type
+ text/xml
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-06-18 02:49:25
|
Revision: 14
http://pixelle.svn.sourceforge.net/pixelle/?rev=14&view=rev
Author: dbrosius
Date: 2008-06-17 19:49:34 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
directories for the web site
Added Paths:
-----------
trunk/pixelle/htdocs/javadoc/
trunk/pixelle/htdocs/jnlp/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:46:17
|
Revision: 13
http://pixelle.svn.sourceforge.net/pixelle/?rev=13&view=rev
Author: dbrosius
Date: 2008-06-17 19:46:25 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
initial web site content
Added Paths:
-----------
trunk/pixelle/htdocs/
trunk/pixelle/htdocs/blend.jpg
trunk/pixelle/htdocs/index.html
trunk/pixelle/htdocs/vbar.gif
Added: trunk/pixelle/htdocs/blend.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/htdocs/blend.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/pixelle/htdocs/index.html
===================================================================
--- trunk/pixelle/htdocs/index.html (rev 0)
+++ trunk/pixelle/htdocs/index.html 2008-06-18 02:46:25 UTC (rev 13)
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <title>Pixelle - A Bitmap transformation tool</title>
+ <meta name="Keywords" content="bitmap image pixel transform convolution mebigfatguy">
+ </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:3;">
+ <h1>Pixelle</h1>
+ <hr/>
+ <a href="http://www.sourceforge.net/projects/pixelle">Project Page</a>
+ <img src="vbar.gif" height="12"/>
+ <a href="javadoc/index.html">JavaDoc</a>
+ <img src="vbar.gif" height="12"/>
+ <a href="jnlp/patchanim.jnlp">Web Start</a>
+ <hr/>
+
+ <p>Thanks for your interest in Pixelle.</p>
+
+ <p>This project has just been started, check back soon for more information.</p>
+ </div>
+ </body>
+</html>
Property changes on: trunk/pixelle/htdocs/index.html
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ native
Added: trunk/pixelle/htdocs/vbar.gif
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/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-06-18 02:37:41
|
Revision: 12
http://pixelle.svn.sourceforge.net/pixelle/?rev=12&view=rev
Author: dbrosius
Date: 2008-06-17 19:37:49 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
collatoral files
Added Paths:
-----------
trunk/pixelle/build.xml
trunk/pixelle/pixelle.fb
Added: trunk/pixelle/build.xml
===================================================================
--- trunk/pixelle/build.xml (rev 0)
+++ trunk/pixelle/build.xml 2008-06-18 02:37:49 UTC (rev 12)
@@ -0,0 +1,122 @@
+<!--
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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
+ */
+ -->
+
+<project name="pixelle" default="build">
+
+ <property file="build.properties"/>
+
+ <property name="src.dir" value="${basedir}/src"/>
+ <property name="classes.dir" value="${basedir}/classes"/>
+ <property name="lib.dir" value="${basedir}/lib"/>
+ <property name="etc.dir" value="${basedir}/etc"/>
+ <property name="antlr.gen.dir" value="${src.dir}/com/mebigfatguy/pixelle/antlr"/>
+ <property name="javac.source" value="1.5"/>
+ <property name="javac.target" value="1.5"/>
+ <property name="javac.deprecation" value="on"/>
+ <property name="javac.debug" value="on"/>
+
+ <property name="pixelle.version" value="0.1.0"/>
+
+ <target name="clean" description="removes all generated collateral">
+ <delete dir="${classes.dir}"/>
+ <delete dir="${antlr.gen.dir}"/>
+ </target>
+
+ <target name="-init" description="prepares repository for a build">
+ <mkdir dir="${classes.dir}"/>
+ <mkdir dir="${antlr.gen.dir}"/>
+ <mkdir dir="${src.dir}/com/mebigfatguy"/>
+ <path id="pixelle.classpath">
+ <pathelement location="${lib.dir}/antlr-runtime-3.1b1.jar"/>
+ <pathelement location="${lib.dir}/asm-3.1.jar"/>
+ </path>
+ </target>
+
+ <target name="-gen" description="generate antlr files">
+ <exec executable="java" failonerror="true">
+ <arg value="-classpath"/>
+ <arg value="${lib.dir}\antlr-2.7.7.jar;${lib.dir}\antlr-3.1b1.jar;${lib.dir}\antlr-runtime-3.1b1.jar;${lib.dir}\stringtemplate-3.1.jar"/>
+ <arg value="org.antlr.Tool"/>
+ <arg value="-target"/>
+ <arg value="${etc.dir}/Pixelle.g"/>
+ <arg value="-o"/>
+ <arg value="${antlr.gen.dir}"/>
+ </exec>
+ </target>
+
+ <target name="compile" depends="-init, -gen" description="compiles java files">
+ <javac srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ source="${javac.source}"
+ target="${javac.target}"
+ deprecation="${javac.deprecation}"
+ debug="${javac.debug}">
+ <classpath refid="pixelle.classpath"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile" description="produces the pixelle jar file">
+ <jar destfile="${basedir}/pixelle-${pixelle.version}.jar">
+ <fileset dir="${classes.dir}">
+ <include name="**/*.class"/>
+ </fileset>
+ <fileset dir="${basedir}">
+ <include name="license.txt"/>
+ </fileset>
+ <manifest>
+ <attribute name="pixelle-version" value="${fb-contrib.version}"/>
+ <attribute name="Main-Class" value="com.mebigfatguy.pixelle.Pixelle"/>
+ <attribute name="Bundle-ManifestVersion" value="2"/>
+ <attribute name="Bundle-Name" value="pixelle plugin"/>
+ <attribute name="Bundle-SymbolicName" value="com.mebigfatguy.pixelle"/>
+ <attribute name="Bundle-Version" value="${pixelle.version}"/>
+ <attribute name="Export-Package" value="com.mebigfatguy.pixelle"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="srczip" description="builds the source distribution zip file">
+ <zip destfile="${basedir}/fb-contrib-src-${pixelle.version}.zip" basedir="${basedir}">
+ <fileset dir="${basedir}">
+ <include name="**/*.java"/>
+ <include name="**/*.g"/>
+ <include name="lib/*.jar"/>
+ </fileset>
+ </zip>
+ </target>
+
+ <target name="javadoc" depends="-init" description="build the javadoc for the project">
+ <javadoc packagenames="com.mebigfatguy.*"
+ sourcepath="${src.dir}"
+ classpathref="pixelle.classpath"
+ destdir="${javadoc.dir}"
+ windowtitle="pixelle api">
+ <doctitle><![CDATA[<h1>pixelle javadoc</h1>]]></doctitle>
+ <bottom><![CDATA[<i>Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.</i>]]></bottom>
+ </javadoc>
+ </target>
+
+ <target name="build" depends="clean, -init, compile, jar" description="builds the plugin jar">
+ </target>
+
+ <target name="release" depends="build, srczip, javadoc" description="prepares everything for a release"/>
+
+</project>
\ No newline at end of file
Property changes on: trunk/pixelle/build.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/pixelle.fb
===================================================================
--- trunk/pixelle/pixelle.fb (rev 0)
+++ trunk/pixelle/pixelle.fb 2008-06-18 02:37:49 UTC (rev 12)
@@ -0,0 +1,12 @@
+[Jar files]
+.\classes
+[Source dirs]
+.\src
+[Aux classpath entries]
+.\lib\antlr-2.7.7.jar
+.\lib\antlr-3.1b1.jar
+.\lib\antlr-runtime-3.1b1.jar
+.\lib\asm-3.1.jar
+.\lib\stringtemplate-3.1.jar
+[Options]
+relative_paths=true
Property changes on: trunk/pixelle/pixelle.fb
___________________________________________________________________
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-06-18 02:36:33
|
Revision: 11
http://pixelle.svn.sourceforge.net/pixelle/?rev=11&view=rev
Author: dbrosius
Date: 2008-06-17 19:36:40 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
Initial source code commit
Added Paths:
-----------
trunk/pixelle/src/com/
trunk/pixelle/src/com/mebigfatguy/
trunk/pixelle/src/com/mebigfatguy/pixelle/
trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelComponent.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelEval.java
trunk/pixelle/src/com/mebigfatguy/pixelle/Pixelle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpr.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleFrame.java
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleTransformer.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/CloseFileAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/NewFileAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/OpenFileAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PageSetupAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PrintAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/QuitAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAsAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/ZoomAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties
trunk/pixelle/src/com/mebigfatguy/pixelle/utils/
trunk/pixelle/src/com/mebigfatguy/pixelle/utils/GuiUtils.java
trunk/pixelle/src/com/mebigfatguy/pixelle/utils/ZoomLevel.java
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,48 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import javax.swing.JFrame;
+
+public class FrameMgr {
+
+ private static FrameMgr mgr = new FrameMgr();
+ public Set<JFrame> frames = new HashSet<JFrame>();
+
+ private FrameMgr() {}
+
+ public static FrameMgr getInstance() {
+ return mgr;
+ }
+
+ public void add(JFrame frame) {
+ frames.add(frame);
+ }
+
+ public void remove(JFrame frame) {
+ frames.remove(frame);
+ }
+
+ public Set<JFrame> getFrames() {
+ return new HashSet<JFrame>(frames);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelComponent.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelComponent.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelComponent.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,38 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+
+public enum PixelComponent {
+ RED('r'),
+ GREEN('g'),
+ BLUE('b'),
+ TRANSPARENCY('t'),
+ SELECTION('s');
+
+ private char pixelSpec;
+
+ PixelComponent(char c) {
+ pixelSpec = c;
+ }
+
+ public char getPixelSpec() {
+ return pixelSpec;
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelComponent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelEval.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelEval.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelEval.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,77 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.awt.image.BufferedImage;
+import java.awt.image.DataBuffer;
+
+public class PixelEval {
+
+ private DataBuffer buffer;
+ private int width;
+ private int height;
+
+ public PixelEval(BufferedImage bufferedImage) {
+ buffer = bufferedImage.getRaster().getDataBuffer();
+ width = bufferedImage.getWidth();
+ height = bufferedImage.getHeight();
+ }
+
+ public double getValue(int x, int y, char pixelSpec) {
+ if ((x < 0) || (x >= width))
+ return 1.0;
+ if ((y < 0) || (y >= height))
+ return 1.0;
+
+ int offset;
+ switch (pixelSpec) {
+ case 'r':
+ offset = 2;
+ break;
+
+ case 'g':
+ offset = 1;
+ break;
+
+ case 'b':
+ offset = 0;
+ break;
+
+ case 't':
+ offset = 3;
+ break;
+
+ case 's':
+ return 0.0;
+
+ default:
+ return 0.0;
+ }
+
+ return buffer.getElemDouble(y * width * 3 + x * 3 + offset);
+ }
+
+ public int getWidth() {
+ return width;
+ }
+
+ public int getHeight() {
+ return height;
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelEval.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/Pixelle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/Pixelle.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/Pixelle.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,33 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.awt.Rectangle;
+
+import com.mebigfatguy.pixelle.utils.GuiUtils;
+
+public class Pixelle {
+
+ public static void main(String[] args) {
+ PixelleFrame pf = new PixelleFrame();
+ Rectangle bounds = GuiUtils.getScreenBounds();
+ pf.setBounds(bounds);
+ pf.setVisible(true);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/Pixelle.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,68 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.util.ResourceBundle;
+
+public class PixelleBundle {
+
+ public static final String OK = "ok";
+ public static final String CANCEL = "cancel";
+ public static final String TITLE = "pixelle.title";
+ public static final String FILE_MENU = "menu.file.title";
+ public static final String NEW_ITEM = "menu.file.new";
+ public static final String OPEN_ITEM = "menu.file.open";
+ public static final String CLOSE_ITEM = "menu.file.close";
+ public static final String SAVE_ITEM = "menu.file.save";
+ public static final String SAVEAS_ITEM = "menu.file.saveas";
+ public static final String PAGESETUP_ITEM = "menu.file.pagesetup";
+ public static final String PRINT_ITEM = "menu.file.print";
+ public static final String QUIT_ITEM = "menu.file.quit";
+ public static final String VIEW_MENU = "menu.view.title";
+ public static final String ONEEIGHT_ITEM = "menu.view.one_eighth";
+ public static final String ONEFOURTH_ITEM = "menu.view.one_fourth";
+ public static final String ONEHALF_ITEM = "menu.view.one_half";
+ public static final String FULLSIZE_ITEM = "menu.view.full_size";
+ public static final String DOUBLE_ITEM = "menu.view.double";
+ public static final String FOURTIMES_ITEM = "menu.view.four_times";
+ public static final String EIGHTTIMES_ITEM = "menu.view.eight_times";
+ public static final String FITTOWINDOW_ITEM = "menu.view.fit_to_window";
+ public static final String TRANSFORM_MENU = "menu.transform.title";
+ public static final String TRANSFORM_ITEM = "menu.transform.transform";
+ public static final String RED_FORMULA = "formula.red";
+ public static final String GREEN_FORMULA = "formula.green";
+ public static final String BLUE_FORMULA = "formula.blue";
+ public static final String TRANSPARENCY_FORMULA = "formula.transparency";
+ public static final String SELECTION_FORMULA = "formula.selection";
+ public static final String RED_LABEL = "label.red";
+ public static final String GREEN_LABEL = "label.green";
+ public static final String BLUE_LABEL = "label.blue";
+ public static final String TRANSPARENCY_LABEL = "label.transparency";
+ public static final String SELECTION_LABEL = "label.selection";
+
+ private static ResourceBundle rb = ResourceBundle.getBundle("com/mebigfatguy/pixelle/pixelle");
+
+ private PixelleBundle()
+ {
+ }
+
+ public static String getString(String key) {
+ return rb.getString(key);
+ }
+}
\ No newline at end of file
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,29 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+public class PixelleClassLoader extends ClassLoader {
+ public PixelleClassLoader(ClassLoader parent) {
+ super(parent);
+ }
+
+ public void addClass(String name, byte[] byteCode) {
+ defineClass(name, byteCode, 0, byteCode.length);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpr.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpr.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpr.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,23 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+public interface PixelleExpr {
+ double eval(PixelEval e, int x, int y);
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpr.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,148 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.awt.BorderLayout;
+import java.awt.Container;
+import java.awt.GridLayout;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.util.EnumMap;
+import java.util.Map;
+
+import javax.swing.BorderFactory;
+import javax.swing.Box;
+import javax.swing.BoxLayout;
+import javax.swing.JButton;
+import javax.swing.JComponent;
+import javax.swing.JDialog;
+import javax.swing.JFrame;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JTextField;
+
+import com.mebigfatguy.pixelle.utils.GuiUtils;
+
+public class PixelleExpressionDialog extends JDialog {
+ private static final long serialVersionUID = -4549468926608244333L;
+
+ private static final int NUM_LABELS = 5;
+
+ private final JLabel lhs[] =
+ {
+ new JLabel(PixelleBundle.getString(PixelleBundle.RED_FORMULA) + " = "),
+ new JLabel(PixelleBundle.getString(PixelleBundle.GREEN_FORMULA) + " = "),
+ new JLabel(PixelleBundle.getString(PixelleBundle.BLUE_FORMULA) + " = "),
+ new JLabel(PixelleBundle.getString(PixelleBundle.TRANSPARENCY_FORMULA) + " = "),
+ new JLabel(PixelleBundle.getString(PixelleBundle.SELECTION_FORMULA) + " = ")
+ };
+
+ private final JTextField editor[] =
+ {
+ new JTextField(PixelleBundle.getString(PixelleBundle.RED_FORMULA), 80),
+ new JTextField(PixelleBundle.getString(PixelleBundle.GREEN_FORMULA), 80),
+ new JTextField(PixelleBundle.getString(PixelleBundle.BLUE_FORMULA), 80),
+ new JTextField(PixelleBundle.getString(PixelleBundle.TRANSPARENCY_FORMULA), 80),
+ new JTextField(PixelleBundle.getString(PixelleBundle.SELECTION_FORMULA), 80)
+ };
+
+ private final JLabel labels[] =
+ {
+ new JLabel(PixelleBundle.getString(PixelleBundle.RED_LABEL)),
+ new JLabel(PixelleBundle.getString(PixelleBundle.GREEN_LABEL)),
+ new JLabel(PixelleBundle.getString(PixelleBundle.BLUE_LABEL)),
+ new JLabel(PixelleBundle.getString(PixelleBundle.TRANSPARENCY_LABEL)),
+ new JLabel(PixelleBundle.getString(PixelleBundle.SELECTION_LABEL))
+ };
+
+ JButton ok;
+ JButton cancel;
+ boolean clickedOK = false;
+
+ public PixelleExpressionDialog(PixelleFrame owner) {
+ super(owner);
+ initComponents();
+ initListeners();
+ }
+
+ public boolean isOK() {
+ return clickedOK;
+ }
+
+ public Map<PixelComponent, String> getAlgorithms() {
+ Map<PixelComponent, String> algorithms = new EnumMap<PixelComponent, String>(PixelComponent.class);
+ algorithms.put(PixelComponent.RED, editor[0].getText());
+ algorithms.put(PixelComponent.GREEN, editor[1].getText());
+ algorithms.put(PixelComponent.BLUE, editor[2].getText());
+ algorithms.put(PixelComponent.TRANSPARENCY, editor[3].getText());
+ algorithms.put(PixelComponent.SELECTION, editor[4].getText());
+ return algorithms;
+ }
+
+ private void initComponents() {
+ Container cp = getContentPane();
+ cp.setLayout(new GridLayout(6, 1));
+
+ GuiUtils.sizeUniformly(GuiUtils.Sizing.Both, lhs);
+ GuiUtils.sizeUniformly(GuiUtils.Sizing.Both, editor);
+ GuiUtils.sizeUniformly(GuiUtils.Sizing.Both, labels);
+
+ for (int i = 0; i < NUM_LABELS; i++) {
+ JPanel p = new JPanel();
+ p.setLayout(new BorderLayout(10, 10));
+ p.add(lhs[i], BorderLayout.WEST);
+ p.add(editor[i], BorderLayout.CENTER);
+ p.add(labels[i], BorderLayout.EAST);
+ p.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
+ cp.add(p);
+ }
+
+ ok = new JButton(PixelleBundle.getString(PixelleBundle.OK));
+ cancel = new JButton(PixelleBundle.getString(PixelleBundle.CANCEL));
+ GuiUtils.sizeUniformly(GuiUtils.Sizing.Both, new JComponent[] {ok, cancel});
+
+ JPanel p = new JPanel();
+ p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS));
+ p.add(Box.createHorizontalGlue());
+ p.add(ok);
+ p.add(Box.createHorizontalStrut(10));
+ p.add(cancel);
+ p.add(Box.createHorizontalGlue());
+ p.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
+ cp.add(p);
+ pack();
+ }
+
+ private void initListeners() {
+ ok.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent ae) {
+ clickedOK = true;
+ dispose();
+ }
+ });
+
+ cancel.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent ae) {
+ dispose();
+ }
+ });
+
+ setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleExpressionDialog.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleFrame.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleFrame.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleFrame.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,244 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.awt.BorderLayout;
+import java.awt.Color;
+import java.awt.Container;
+import java.awt.Dimension;
+import java.awt.Graphics;
+import java.awt.image.BufferedImage;
+import java.io.File;
+import java.io.IOException;
+import java.util.ResourceBundle;
+
+import javax.imageio.ImageIO;
+import javax.swing.ButtonGroup;
+import javax.swing.JCheckBoxMenuItem;
+import javax.swing.JFrame;
+import javax.swing.JMenu;
+import javax.swing.JMenuBar;
+import javax.swing.JMenuItem;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.SwingUtilities;
+
+import com.mebigfatguy.pixelle.actions.CloseFileAction;
+import com.mebigfatguy.pixelle.actions.NewFileAction;
+import com.mebigfatguy.pixelle.actions.OpenFileAction;
+import com.mebigfatguy.pixelle.actions.PageSetupAction;
+import com.mebigfatguy.pixelle.actions.PrintAction;
+import com.mebigfatguy.pixelle.actions.QuitAction;
+import com.mebigfatguy.pixelle.actions.SaveFileAction;
+import com.mebigfatguy.pixelle.actions.SaveFileAsAction;
+import com.mebigfatguy.pixelle.actions.TransformAction;
+import com.mebigfatguy.pixelle.actions.ZoomAction;
+import com.mebigfatguy.pixelle.utils.ZoomLevel;
+
+public class PixelleFrame extends JFrame {
+ private static final long serialVersionUID = 6867461092986841877L;
+
+ JMenu fileMenu;
+ JMenuItem newItem;
+ JMenuItem openItem;
+ JMenuItem closeItem;
+ JMenuItem saveItem;
+ JMenuItem saveAsItem;
+ JMenuItem pageSetupItem;
+ JMenuItem printItem;
+ JMenuItem quitItem;
+
+ JMenu viewMenu;
+ JCheckBoxMenuItem oneEighthItem;
+ JCheckBoxMenuItem oneFourthItem;
+ JCheckBoxMenuItem oneHalfItem;
+ JCheckBoxMenuItem fullSizeItem;
+ JCheckBoxMenuItem twoTimesItem;
+ JCheckBoxMenuItem fourTimesItem;
+ JCheckBoxMenuItem eightTimesItem;
+ JCheckBoxMenuItem fitToWindowItem;
+
+ JMenu transformMenu;
+ JMenuItem transformItem;
+
+ ResourceBundle rb = ResourceBundle.getBundle("com.mebigfatguy.pixelle.pixelle");
+ JScrollPane scroll;
+ ImagePanel panel = new ImagePanel();
+ BufferedImage image;
+
+ public PixelleFrame() {
+ initComponents();
+ setTitle(rb.getString("pixelle.title"));
+ }
+
+ private void initComponents() {
+ JMenuBar mb = new JMenuBar();
+
+ fileMenu = new JMenu(PixelleBundle.getString(PixelleBundle.FILE_MENU));
+ newItem = new JMenuItem(new NewFileAction());
+ fileMenu.add(newItem);
+ openItem = new JMenuItem(new OpenFileAction(this));
+ fileMenu.add(openItem);
+ fileMenu.addSeparator();
+ closeItem = new JMenuItem(new CloseFileAction(this));
+ fileMenu.add(closeItem);
+ fileMenu.addSeparator();
+ saveItem = new JMenuItem(new SaveFileAction(this));
+ fileMenu.add(saveItem);
+ saveAsItem = new JMenuItem(new SaveFileAsAction(this));
+ fileMenu.add(saveAsItem);
+ fileMenu.addSeparator();
+ pageSetupItem = new JMenuItem(new PageSetupAction(this));
+ fileMenu.add(pageSetupItem);
+ printItem = new JMenuItem(new PrintAction(this));
+ fileMenu.add(printItem);
+ fileMenu.addSeparator();
+ quitItem = new JMenuItem(new QuitAction());
+ fileMenu.add(quitItem);
+
+ mb.add(fileMenu);
+
+ viewMenu = new JMenu(rb.getString(PixelleBundle.VIEW_MENU));
+ oneEighthItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.OneEighth));
+ viewMenu.add(oneEighthItem);
+ oneFourthItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.OneFourth));
+ viewMenu.add(oneFourthItem);
+ oneHalfItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.OneHalf));
+ viewMenu.add(oneHalfItem);
+ fullSizeItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.FullSize));
+ viewMenu.add(fullSizeItem);
+ twoTimesItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.Double));
+ viewMenu.add(twoTimesItem);
+ fourTimesItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.FourTimes));
+ viewMenu.add(fourTimesItem);
+ eightTimesItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.EightTimes));
+ viewMenu.add(eightTimesItem);
+ viewMenu.addSeparator();
+ fitToWindowItem = new JCheckBoxMenuItem(new ZoomAction(this, ZoomLevel.FitToWindow));
+ viewMenu.add(fitToWindowItem);
+
+ ButtonGroup bg = new ButtonGroup();
+ bg.add(oneEighthItem);
+ bg.add(oneFourthItem);
+ bg.add(oneHalfItem);
+ bg.add(fullSizeItem);
+ bg.add(twoTimesItem);
+ bg.add(fourTimesItem);
+ bg.add(eightTimesItem);
+ bg.add(fitToWindowItem);
+
+ fitToWindowItem.setSelected(true);
+
+ mb.add(viewMenu);
+
+ transformMenu = new JMenu(rb.getString(PixelleBundle.TRANSFORM_MENU));
+ transformItem = new JMenuItem(new TransformAction(this));
+ transformMenu.add(transformItem);
+
+ mb.add(transformMenu);
+
+ setJMenuBar(mb);
+
+ FrameMgr.getInstance().add(this);
+
+ Container cp = getContentPane();
+ cp.setLayout(new BorderLayout());
+ }
+
+ public BufferedImage getImage() {
+ return image;
+ }
+
+ public void openFile(File f) {
+ setTitle(f.getName());
+ try {
+ image = ImageIO.read(f);
+ SwingUtilities.invokeLater(new Runnable() {
+ public void run() {
+ Container cp = getContentPane();
+ cp.removeAll();
+ setZoom(ZoomLevel.FitToWindow);
+ scroll = new JScrollPane(panel);
+ cp.add(scroll, BorderLayout.CENTER);
+ invalidate();
+ validate();
+ repaint();
+ }
+ });
+
+ } catch (IOException e) {
+ JOptionPane.showMessageDialog(this, e.getMessage());
+ }
+ }
+
+ public void setZoom(final ZoomLevel zoom) {
+ if (image == null)
+ return;
+
+ double zoomFactor = zoom.getZoom();
+ final int h = (int)(image.getHeight() * zoomFactor);
+ final int w = (int)(image.getWidth() * zoomFactor);
+ SwingUtilities.invokeLater(new Runnable() {
+ public void run() {
+ int width = w;
+ int height = h;
+ if ((h == 0) || (w == 0)) {
+ Container cp = PixelleFrame.this.getContentPane();
+ height = cp.getHeight();
+ width = cp.getWidth();
+ int imageH = image.getHeight();
+ int imageW = image.getWidth();
+ double divH = (double)height / (double)imageH;
+ double divW = (double)width / (double)imageW;
+ double div = Math.min(divH, divW);
+ height = (int)(div * imageH);
+ width = (int)(div * imageW);
+ }
+ panel.setSize(width, height);
+ panel.setImageDim(new Dimension(width, height));
+ invalidate();
+ validate();
+ repaint();
+ }
+ });
+ }
+
+ public class ImagePanel extends JPanel {
+ private static final long serialVersionUID = -1572146409734928935L;
+ Dimension dim = new Dimension(10, 10);
+
+ @Override
+ public void paintComponent(Graphics g) {
+ super.paintComponent(g);
+ if (image != null) {
+ g.drawImage(image, 0, 0, dim.width, dim.height, Color.WHITE, null);
+ }
+ }
+
+ public void setImageDim(Dimension d) {
+ dim = d;
+ }
+
+ @Override
+ public Dimension getPreferredSize() {
+ return getSize();
+ }
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleFrame.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleTransformer.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleTransformer.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleTransformer.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,112 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle;
+
+import java.awt.image.BufferedImage;
+import java.awt.image.DataBuffer;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.util.Map;
+
+import org.antlr.runtime.ANTLRStringStream;
+import org.antlr.runtime.CharStream;
+import org.antlr.runtime.CommonTokenStream;
+
+import com.mebigfatguy.pixelle.antlr.PixelleLexer;
+import com.mebigfatguy.pixelle.antlr.PixelleParser;
+
+public class PixelleTransformer {
+
+ private BufferedImage srcImage;
+ private Map<PixelComponent, String> algorithms = null;
+
+ public PixelleTransformer(BufferedImage image, Map<PixelComponent, String> algos) {
+ srcImage = image;
+ algorithms = algos;
+ }
+
+ public BufferedImage transform() {
+ try {
+ PixelEval pe = new PixelEval(srcImage);
+ PixelleClassLoader pcl = AccessController.doPrivileged(new PrivilegedAction<PixelleClassLoader>() {
+ public PixelleClassLoader run() {
+ return new PixelleClassLoader(Thread.currentThread().getContextClassLoader());
+ }
+ });
+
+ for (Map.Entry<PixelComponent, String> entry : algorithms.entrySet()) {
+ CharStream cs = new ANTLRStringStream(entry.getValue());
+ PixelleLexer pl = new PixelleLexer(cs);
+ CommonTokenStream tokens = new CommonTokenStream();
+ tokens.setTokenSource(pl);
+
+ String clsName = "com.mebigfatguy.pixelle.asm.PixelleExpr" + entry.getKey().name();
+ PixelleParser pp = new PixelleParser(tokens, clsName);
+ pp.pixelle();
+
+ byte[] bytes = pp.getClassBytes();
+ dump(bytes, clsName + ".class");
+
+ pcl.addClass(clsName, bytes);
+ Class<?> cl = pcl.loadClass(clsName);
+ PixelleExpr expr = (PixelleExpr)cl.newInstance();
+
+ DataBuffer buffer = srcImage.getRaster().getDataBuffer();
+ int width = srcImage.getWidth();
+ int height = srcImage.getHeight();
+ for (int y = 0; y < height; y++) {
+ for (int x = 0; x < width; x++) {
+ double value = expr.eval(pe, x, y);
+ buffer.setElemDouble(y * width * 3 + x * 3 + 2, value);
+ }
+ }
+ }
+ return null;
+ } catch (Exception e) {
+ return null;
+ }
+ }
+
+ /** for debugging */
+ private static void dump(byte[] byteCode, String name)
+ {
+ FileOutputStream fos = null;
+ try
+ {
+ fos = new FileOutputStream("c:\\temp\\" + name);
+ fos.write(byteCode);
+ fos.flush();
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ finally
+ {
+ try {
+ if (fos != null)
+ fos.close();
+ } catch (IOException ioe) {
+ }
+ }
+ }
+
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleTransformer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/CloseFileAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/CloseFileAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/CloseFileAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,43 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.FrameMgr;
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+
+public class CloseFileAction extends AbstractAction {
+
+ private static final long serialVersionUID = -6860345801345095089L;
+ PixelleFrame frame;
+
+ public CloseFileAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.CLOSE_ITEM));
+ frame = pf;
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ frame.dispose();
+ FrameMgr.getInstance().remove(frame);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/CloseFileAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/NewFileAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/NewFileAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/NewFileAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,44 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.FrameMgr;
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+import com.mebigfatguy.pixelle.utils.GuiUtils;
+
+public class NewFileAction extends AbstractAction {
+
+ private static final long serialVersionUID = 7977411917585137527L;
+
+ public NewFileAction() {
+ super(PixelleBundle.getString(PixelleBundle.NEW_ITEM));
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ PixelleFrame pf = new PixelleFrame();
+ pf.setBounds(GuiUtils.getScreenBounds());
+ pf.setVisible(true);
+ FrameMgr.getInstance().add(pf);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/NewFileAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/OpenFileAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/OpenFileAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/OpenFileAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,70 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+import java.io.File;
+
+import javax.swing.AbstractAction;
+import javax.swing.JFileChooser;
+import javax.swing.filechooser.FileFilter;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+
+public class OpenFileAction extends AbstractAction {
+
+ private static final long serialVersionUID = -143429629947905056L;
+ PixelleFrame frame;
+ File lastDir = null;
+
+ public OpenFileAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.OPEN_ITEM));
+ frame = pf;
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ JFileChooser jf = new JFileChooser(lastDir);
+ jf.setFileFilter(new FileFilter() {
+
+ @Override
+ public boolean accept(File f) {
+ if (f.isDirectory())
+ return true;
+
+ String path = f.getPath();
+ return (path.endsWith(".gif") || path.endsWith(".jpg"));
+ }
+
+ @Override
+ public String getDescription() {
+ return "Graphic Files";
+ }
+ });
+
+ jf.setFileSelectionMode(JFileChooser.FILES_ONLY);
+ jf.showOpenDialog(frame);
+ File f = jf.getSelectedFile();
+ if (f != null) {
+ frame.openFile(f);
+ lastDir = f.getParentFile();
+ }
+
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/OpenFileAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PageSetupAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PageSetupAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PageSetupAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,38 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+
+public class PageSetupAction extends AbstractAction {
+
+ private static final long serialVersionUID = -3397949264743769800L;
+
+ public PageSetupAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.PAGESETUP_ITEM));
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PageSetupAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PrintAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PrintAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PrintAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,38 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+
+public class PrintAction extends AbstractAction {
+
+ private static final long serialVersionUID = 5826553084556182790L;
+
+ public PrintAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.PRINT_ITEM));
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/PrintAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/QuitAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/QuitAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/QuitAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,46 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+import java.util.Set;
+
+import javax.swing.AbstractAction;
+import javax.swing.JFrame;
+
+import com.mebigfatguy.pixelle.FrameMgr;
+import com.mebigfatguy.pixelle.PixelleBundle;
+
+public class QuitAction extends AbstractAction {
+
+ private static final long serialVersionUID = -8604632433532502563L;
+
+ public QuitAction() {
+ super(PixelleBundle.getString(PixelleBundle.QUIT_ITEM));
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ Set<JFrame> frames = FrameMgr.getInstance().getFrames();
+ for (JFrame f : frames) {
+ f.dispose();
+ FrameMgr.getInstance().remove(f);
+ }
+ System.exit(0);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/QuitAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,38 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+
+public class SaveFileAction extends AbstractAction {
+
+ private static final long serialVersionUID = 4019520448443204442L;
+
+ public SaveFileAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.SAVE_ITEM));
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAsAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAsAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAsAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,38 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+
+public class SaveFileAsAction extends AbstractAction {
+
+ private static final long serialVersionUID = -5814929763886809475L;
+
+ public SaveFileAsAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.SAVEAS_ITEM));
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/SaveFileAsAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,52 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+import java.awt.image.BufferedImage;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleExpressionDialog;
+import com.mebigfatguy.pixelle.PixelleFrame;
+import com.mebigfatguy.pixelle.PixelleTransformer;
+
+public class TransformAction extends AbstractAction {
+
+ private static final long serialVersionUID = 3609590839274864129L;
+ PixelleFrame frame;
+
+ public TransformAction(PixelleFrame pf) {
+ super(PixelleBundle.getString(PixelleBundle.TRANSFORM_ITEM));
+ frame = pf;
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ PixelleExpressionDialog d = new PixelleExpressionDialog(frame);
+ d.setLocationRelativeTo(frame);
+ d.setModal(true);
+ d.setVisible(true);
+ if (d.isOK()) {
+ PixelleTransformer transformer = new PixelleTransformer(frame.getImage(), d.getAlgorithms());
+ BufferedImage dstImage = transformer.transform();
+ frame.repaint();
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/ZoomAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/ZoomAction.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/ZoomAction.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,44 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.actions;
+
+import java.awt.event.ActionEvent;
+
+import javax.swing.AbstractAction;
+
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleFrame;
+import com.mebigfatguy.pixelle.utils.ZoomLevel;
+
+public class ZoomAction extends AbstractAction {
+
+ private static final long serialVersionUID = -4154911527858500196L;
+ PixelleFrame frame;
+ ZoomLevel zoom;
+
+ public ZoomAction(PixelleFrame pf, ZoomLevel level) {
+ super(PixelleBundle.getString(level.getKey()));
+ frame = pf;
+ zoom = level;
+ }
+
+ public void actionPerformed(ActionEvent e) {
+ frame.setZoom(zoom);
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/ZoomAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,58 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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
+ */
+
+ok = OK
+cancel = CANCEL
+
+pixelle.title = Pixelle
+
+menu.file.title = File
+menu.file.new = New
+menu.file.open = Open
+menu.file.close = Close
+menu.file.save = Save
+menu.file.saveas = Save As
+menu.file.pagesetup = Page Setup
+menu.file.print = Print
+menu.file.quit = Quit
+
+menu.view.title = View
+menu.view.one_eighth = 12.5%
+menu.view.one_fourth = 25%
+menu.view.one_half = 50%
+menu.view.full_size = 100%
+menu.view.double = 200%
+menu.view.four_times = 400%
+menu.view.eight_times = 800%
+menu.view.fit_to_window = Fit to Window
+
+menu.transform.title = Transform
+menu.transform.transform = Transform
+
+formula.red = p[x,y].r
+formula.green = p[x,y].g
+formula.blue = p[x,y].b
+formula.transparency = p[x,y].t
+formula.selection = p[x,y].s
+
+label.red = (Red)
+label.green = (Green)
+label.blue = (Blue)
+label.transparency = (Transparency)
+label.selection = (Selection)
\ No newline at end of file
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/pixelle.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/utils/GuiUtils.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/utils/GuiUtils.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/utils/GuiUtils.java 2008-06-18 02:36:40 UTC (rev 11)
@@ -0,0 +1,76 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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.pixelle.utils;
+
+import java.awt.Dimension;
+import java.awt.GraphicsConfiguration;
+import java.awt.GraphicsDevice;
+import java.awt.GraphicsEnvironment;
+import java.awt.Rectangle;
+
+import javax.swing.JComponent;
+
+public class GuiUtils {
+ public enum Sizing {Width, Height, Both};
+
+ ...
[truncated message content] |
|
From: <dbr...@us...> - 2008-06-18 02:32:21
|
Revision: 10
http://pixelle.svn.sourceforge.net/pixelle/?rev=10&view=rev
Author: dbrosius
Date: 2008-06-17 19:32:26 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
required libraries
Added Paths:
-----------
trunk/pixelle/lib/antlr-2.7.7.jar
trunk/pixelle/lib/antlr-3.1b1.jar
trunk/pixelle/lib/antlr-runtime-3.1b1.jar
trunk/pixelle/lib/asm-3.1.jar
trunk/pixelle/lib/stringtemplate-3.1.jar
Added: trunk/pixelle/lib/antlr-2.7.7.jar
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/lib/antlr-2.7.7.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/pixelle/lib/antlr-3.1b1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/lib/antlr-3.1b1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/pixelle/lib/antlr-runtime-3.1b1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/lib/antlr-runtime-3.1b1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/pixelle/lib/asm-3.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/lib/asm-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/pixelle/lib/stringtemplate-3.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/pixelle/lib/stringtemplate-3.1.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-06-18 02:30:56
|
Revision: 9
http://pixelle.svn.sourceforge.net/pixelle/?rev=9&view=rev
Author: dbrosius
Date: 2008-06-17 19:30:50 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
main grammar file
Added Paths:
-----------
trunk/pixelle/etc/Pixelle.g
Added: trunk/pixelle/etc/Pixelle.g
===================================================================
--- trunk/pixelle/etc/Pixelle.g (rev 0)
+++ trunk/pixelle/etc/Pixelle.g 2008-06-18 02:30:50 UTC (rev 9)
@@ -0,0 +1,87 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * 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
+ */
+ grammar Pixelle;
+
+@header {
+package com.mebigfatguy.pixelle.antlr;
+import org.objectweb.asm.ClassWriter;
+import org.objectweb.asm.MethodVisitor;
+import org.objectweb.asm.Opcodes;
+}
+
+@lexer::header {
+package com.mebigfatguy.pixelle.antlr;
+}
+
+@members {
+ ClassWriter cw;
+ MethodVisitor mv;
+
+ public PixelleParser(CommonTokenStream tokens, String clsName) {
+ super(tokens, new RecognizerSharedState());
+
+ clsName = clsName.replace('.', '/');
+ cw = new ClassWriter(ClassWriter.COMPUTE_MAXS);
+ cw.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, clsName, null, "java/lang/Object", new String[] {"com/mebigfatguy/pixelle/PixelleExpr"});
+ mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "()V", null, new String[0]);
+ mv.visitVarInsn(Opcodes.ALOAD, 0);
+ mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/lang/Object", "<init>", "()V");
+ mv.visitInsn(Opcodes.RETURN);
+ mv.visitMaxs(0,0);
+ mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "eval", "(Lcom/mebigfatguy/pixelle/PixelEval;II)D", null, new String[0]);
+ }
+
+ public byte[] getClassBytes() {
+ mv.visitInsn(Opcodes.DRETURN);
+ mv.visitMaxs(0,0);
+ cw.visitEnd();
+ return cw.toByteArray();
+ }
+}
+
+pixelle : expr;
+
+expr
+ : term
+ ('+' term
+ {mv.visitInsn(Opcodes.DADD);}
+ | '-' term
+ {mv.visitInsn(Opcodes.DSUB);})*;
+
+term
+ : factor {}
+ ('*' factor
+ {mv.visitInsn(Opcodes.DMUL);}
+ | '/' factor
+ {mv.visitInsn(Opcodes.DDIV);})*;
+
+factor
+ : NUMBER
+ {mv.visitLdcInsn(Double.valueOf($NUMBER.text));}
+ | 'p' {mv.visitVarInsn(Opcodes.ALOAD, 1);} '[' expr { mv.visitInsn(Opcodes.D2I); } ',' expr { mv.visitInsn(Opcodes.D2I); } ']' '.' spec=('r'|'g'|'b'|'t'|'s') {String s = $spec.text; mv.visitLdcInsn(Character.valueOf(s.charAt(0))); mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "com/mebigfatguy/pixelle/PixelEval", "getValue", "(IIC)D" );}
+ | 'x' {mv.visitVarInsn(Opcodes.ILOAD, 2); mv.visitInsn(Opcodes.I2D);}
+ | 'y' {mv.visitVarInsn(Opcodes.ILOAD, 3); mv.visitInsn(Opcodes.I2D);}
+ | 'width' {mv.visitVarInsn(Opcodes.ALOAD, 1); mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "com/mebigfatguy/pixelle/PixelEval", "getWidth", "()D" );}
+ | 'height' {mv.visitVarInsn(Opcodes.ALOAD, 1); mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "com/mebigfatguy/pixelle/PixelEval", "getHeight", "()D" );};
+
+NUMBER : '0'..'9'+ ( '.' ('0'..'9'+))?;
+
+NEWLINE:'\r'? '\n' ;
+
+
Property changes on: trunk/pixelle/etc/Pixelle.g
___________________________________________________________________
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-06-18 02:28:35
|
Revision: 8
http://pixelle.svn.sourceforge.net/pixelle/?rev=8&view=rev
Author: dbrosius
Date: 2008-06-17 19:28:42 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
folder for 3rdparty libs
Added Paths:
-----------
trunk/pixelle/lib/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:28:07
|
Revision: 7
http://pixelle.svn.sourceforge.net/pixelle/?rev=7&view=rev
Author: dbrosius
Date: 2008-06-17 19:28:04 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
folder for non distribution items
Added Paths:
-----------
trunk/pixelle/etc/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:27:09
|
Revision: 6
http://pixelle.svn.sourceforge.net/pixelle/?rev=6&view=rev
Author: dbrosius
Date: 2008-06-17 19:27:07 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
main src folder
Added Paths:
-----------
trunk/pixelle/src/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:25:25
|
Revision: 5
http://pixelle.svn.sourceforge.net/pixelle/?rev=5&view=rev
Author: dbrosius
Date: 2008-06-17 19:25:28 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
initial project folder
Added Paths:
-----------
trunk/pixelle/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:24:04
|
Revision: 4
http://pixelle.svn.sourceforge.net/pixelle/?rev=4&view=rev
Author: dbrosius
Date: 2008-06-17 19:24:10 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
folder for tags
Added Paths:
-----------
tags/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:23:37
|
Revision: 3
http://pixelle.svn.sourceforge.net/pixelle/?rev=3&view=rev
Author: dbrosius
Date: 2008-06-17 19:23:46 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
folder for trunk
Added Paths:
-----------
trunk/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 02:23:10
|
Revision: 2
http://pixelle.svn.sourceforge.net/pixelle/?rev=2&view=rev
Author: dbrosius
Date: 2008-06-17 19:23:18 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
Removed file/folder
Removed Paths:
-------------
pixelle/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2008-06-18 00:20:46
|
Revision: 1
http://pixelle.svn.sourceforge.net/pixelle/?rev=1&view=rev
Author: dbrosius
Date: 2008-06-17 17:20:55 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
Initial project folder
Added Paths:
-----------
pixelle/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|