jarspy-commits Mailing List for JarSpy- Java Archive Spying Utility (Page 10)
Status: Beta
Brought to you by:
brown_j
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(39) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(39) |
Feb
(12) |
Mar
|
Apr
(10) |
May
|
Jun
(24) |
Jul
(38) |
Aug
(9) |
Sep
(58) |
Oct
(34) |
Nov
|
Dec
(13) |
| 2003 |
Jan
(64) |
Feb
(3) |
Mar
(17) |
Apr
(20) |
May
(8) |
Jun
(3) |
Jul
|
Aug
(6) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
|
| 2005 |
Jan
(41) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Jeff B. <br...@us...> - 2002-09-27 00:41:17
|
Update of /cvsroot/jarspy/JarSpy In directory usw-pr-cvs1:/tmp/cvs-serv20261 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.number 27 Sep 2002 00:23:26 -0000 1.5 --- build.number 27 Sep 2002 00:41:14 -0000 1.6 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:21:55 CDT 2002 ! build.number=9 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:39:43 CDT 2002 ! build.number=10 |
|
From: Jeff B. <br...@us...> - 2002-09-27 00:38:41
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv19666/src/com/ociweb/jarspy/gui
Modified Files:
JarSpyGUI.java StatusBar.java
Log Message:
fix status bar to update itself properly when new jar is opened
Index: JarSpyGUI.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyGUI.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** JarSpyGUI.java 27 Sep 2002 00:29:41 -0000 1.39
--- JarSpyGUI.java 27 Sep 2002 00:38:38 -0000 1.40
***************
*** 116,119 ****
--- 116,120 ----
addClassSelectionListener(sb);
+ addJarFileSelectionListener(sb);
cont.add(BorderLayout.SOUTH, sb);
cont.add(BorderLayout.CENTER, splitter);
Index: StatusBar.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/StatusBar.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** StatusBar.java 16 Sep 2002 22:03:21 -0000 1.2
--- StatusBar.java 27 Sep 2002 00:38:38 -0000 1.3
***************
*** 25,28 ****
--- 25,29 ----
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
+ import java.io.File;
import com.ociweb.jarspy.ClassInfo;
import com.ociweb.gui.MemoryMeter;
***************
*** 31,35 ****
* @version $Id$
*/
! public class StatusBar extends JPanel implements ClassSelectionListener {
private JLabel statusLabel = new JLabel("JarSpy");
--- 32,37 ----
* @version $Id$
*/
! public class StatusBar extends JPanel
! implements ClassSelectionListener, JarFileSelectionListener {
private JLabel statusLabel = new JLabel("JarSpy");
***************
*** 58,61 ****
--- 60,67 ----
classInfo.getClassName() :
"JarSpy");
+ }
+
+ public void jarFileSelectionChanged(File jarFile) {
+ statusLabel.setText("JarSpy");
}
}
|
|
From: Jeff B. <br...@us...> - 2002-09-27 00:29:44
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv17913
Modified Files:
JarSpyGUI.java
Log Message:
removed code that was printing version info on stdout
Index: JarSpyGUI.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyGUI.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** JarSpyGUI.java 25 Sep 2002 20:55:59 -0000 1.38
--- JarSpyGUI.java 27 Sep 2002 00:29:41 -0000 1.39
***************
*** 23,27 ****
import com.ociweb.jarspy.ClassInfo;
import com.ociweb.jarspy.JarInspector;
- import com.ociweb.jarspy.ApplicationProperties;
import com.ociweb.jarspy.gui.actions.AboutAction;
import com.ociweb.jarspy.gui.actions.ActionNames;
--- 23,26 ----
***************
*** 33,41 ****
import com.ociweb.jarspy.gui.actions.ViewJarContentsAction;
import com.ociweb.jarspy.gui.actions.ViewManifestAction;
import com.ociweb.jarspy.gui.tree.JarSpyClassTree;
import com.ociweb.jarspy.gui.tree.JarSpyClassTreeNode;
import com.ociweb.jarspy.preferences.JarSpyPreferences;
import com.ociweb.jarspy.preferences.JarSpyPreferencesFactory;
!
import javax.swing.Action;
import javax.swing.BorderFactory;
--- 32,56 ----
import com.ociweb.jarspy.gui.actions.ViewJarContentsAction;
import com.ociweb.jarspy.gui.actions.ViewManifestAction;
+ import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel;
import com.ociweb.jarspy.gui.tree.JarSpyClassTree;
import com.ociweb.jarspy.gui.tree.JarSpyClassTreeNode;
import com.ociweb.jarspy.preferences.JarSpyPreferences;
import com.ociweb.jarspy.preferences.JarSpyPreferencesFactory;
! import java.awt.BorderLayout;
! import java.awt.Component;
! import java.awt.Container;
! import java.awt.Cursor;
! import java.awt.Dimension;
! import java.awt.Font;
! import java.awt.Point;
! import java.awt.event.WindowListener;
! import java.io.File;
! import java.io.IOException;
! import java.lang.reflect.InvocationTargetException;
! import java.util.ArrayList;
! import java.util.HashMap;
! import java.util.List;
! import java.util.Map;
! import java.util.jar.JarFile;
import javax.swing.Action;
import javax.swing.BorderFactory;
***************
*** 57,61 ****
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
- import javax.swing.JButton;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
--- 72,75 ----
***************
*** 63,86 ****
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.TreePath;
! import java.awt.BorderLayout;
! import java.awt.Component;
! import java.awt.Container;
! import java.awt.Cursor;
! import java.awt.Dimension;
! import java.awt.Font;
! import java.awt.Point;
! import java.awt.event.WindowListener;
! import java.awt.event.ActionEvent;
! import java.awt.event.ActionListener;
! import java.io.File;
! import java.io.IOException;
! import java.lang.reflect.InvocationTargetException;
! import java.util.ArrayList;
! import java.util.HashMap;
! import java.util.List;
! import java.util.Map;
! import java.util.Properties;
! import java.util.jar.JarFile;
! import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel;
/**
* @author Jeff Brown
--- 77,81 ----
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.TreePath;
!
/**
* @author Jeff Brown
***************
*** 195,206 ****
actions.put(ActionNames.SHOW_JAR_LIST_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_LIST_VIEW,
! classList,
! "/com/ociweb/jarspy/gui/images/list_mode.gif"));
actions.put(ActionNames.SHOW_JAR_TREE_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_TREE_VIEW,
! classTree,
! "/com/ociweb/jarspy/gui/images/tree_mode.gif"));
}
--- 190,201 ----
actions.put(ActionNames.SHOW_JAR_LIST_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_LIST_VIEW,
! classList,
! "/com/ociweb/jarspy/gui/images/list_mode.gif"));
actions.put(ActionNames.SHOW_JAR_TREE_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_TREE_VIEW,
! classTree,
! "/com/ociweb/jarspy/gui/images/tree_mode.gif"));
}
***************
*** 357,364 ****
toolBar.add(new JarSpyToolbarButton
! ((Action)actions.get(ActionNames.SHOW_JAR_TREE_VIEW)));
toolBar.add(new JarSpyToolbarButton
! ((Action)actions.get(ActionNames.SHOW_JAR_LIST_VIEW)));
toolBar.addSeparator();
--- 352,359 ----
toolBar.add(new JarSpyToolbarButton
! ((Action) actions.get(ActionNames.SHOW_JAR_TREE_VIEW)));
toolBar.add(new JarSpyToolbarButton
! ((Action) actions.get(ActionNames.SHOW_JAR_LIST_VIEW)));
toolBar.addSeparator();
***************
*** 450,465 ****
}
-
- Properties appProperties = ApplicationProperties.INSTANCE;
- String appVersion = appProperties.getProperty(ApplicationProperties.APP_VERSION_KEY);
- String buildNumber = appProperties.getProperty(ApplicationProperties.BUILD_NUMBER_KEY);
-
- System.out.println("JarSpy");
- System.out.println("Version: " + appVersion);
- System.out.println("Build Number: " + buildNumber);
-
new JarSpyGUI();
}
-
-
}
--- 445,449 ----
|
|
From: Jeff B. <br...@us...> - 2002-09-27 00:27:55
|
Update of /cvsroot/jarspy/JarSpy/META-INF In directory usw-pr-cvs1:/tmp/cvs-serv17499 Modified Files: MANIFEST.MF Log Message: removed implementation details Index: MANIFEST.MF =================================================================== RCS file: /cvsroot/jarspy/JarSpy/META-INF/MANIFEST.MF,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MANIFEST.MF 25 Sep 2002 01:05:45 -0000 1.4 --- MANIFEST.MF 27 Sep 2002 00:27:49 -0000 1.5 *************** *** 1,5 **** Main-Class: com.ociweb.jarspy.gui.JarSpyGUI Class-Path: jode-1.1.1-embedded.jar ! Implementation-Title: com.ociweb.jarspy.gui ! Implementation-Version: 0.7 (beta) --- 1,4 ---- Main-Class: com.ociweb.jarspy.gui.JarSpyGUI Class-Path: jode-1.1.1-embedded.jar ! |
|
From: Jeff B. <br...@us...> - 2002-09-27 00:27:25
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv17438
Modified Files:
JarSpyInfoPanel.java
Log Message:
retrieve version and build number from property file
Index: JarSpyInfoPanel.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyInfoPanel.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** JarSpyInfoPanel.java 24 Sep 2002 20:48:04 -0000 1.23
--- JarSpyInfoPanel.java 27 Sep 2002 00:27:22 -0000 1.24
***************
*** 19,24 ****
--- 19,26 ----
package com.ociweb.jarspy.gui;
+ import com.ociweb.jarspy.ApplicationProperties;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
+ import java.util.Properties;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
***************
*** 52,69 ****
gbc.insets.top = gbc.insets.bottom = 0;
! String packageVersion = null;
!
! try {
! Package p = getClass().getPackage();
! packageVersion = p.getImplementationVersion();
! } catch (Exception e) {
! }
!
! if(packageVersion == null) {
! packageVersion = "(unknown)";
! }
add(new JLabel("JarSpy"), gbc);
! add(new JLabel("Version: " + packageVersion), gbc);
add(new JLabel("http://www.jarspy.org/"), gbc);
add(new JLabel("Email: co...@ja..."), gbc);
--- 54,64 ----
gbc.insets.top = gbc.insets.bottom = 0;
! Properties appProperties = ApplicationProperties.INSTANCE;
! String appVersion = appProperties.getProperty(ApplicationProperties.APP_VERSION_KEY);
! String buildNumber = appProperties.getProperty(ApplicationProperties.BUILD_NUMBER_KEY);
add(new JLabel("JarSpy"), gbc);
! add(new JLabel("Version: " + appVersion), gbc);
! add(new JLabel("Build Number: " + buildNumber), gbc);
add(new JLabel("http://www.jarspy.org/"), gbc);
add(new JLabel("Email: co...@ja..."), gbc);
|
|
From: Jeff B. <br...@us...> - 2002-09-27 00:23:29
|
Update of /cvsroot/jarspy/JarSpy In directory usw-pr-cvs1:/tmp/cvs-serv16641 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.number 27 Sep 2002 00:21:03 -0000 1.4 --- build.number 27 Sep 2002 00:23:26 -0000 1.5 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:19:33 CDT 2002 ! build.number=8 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:21:55 CDT 2002 ! build.number=9 |
|
From: Jeff B. <br...@us...> - 2002-09-27 00:23:07
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy In directory usw-pr-cvs1:/tmp/cvs-serv16557 Modified Files: application.properties Log Message: remove build.number Index: application.properties =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/application.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** application.properties 25 Sep 2002 21:00:24 -0000 1.2 --- application.properties 27 Sep 2002 00:23:05 -0000 1.3 *************** *** 1,3 **** #Wed Sep 25 15:58:37 CDT 2002 app.version=0.7.1 - build.number=4 --- 1,2 ---- |
|
From: Jeff B. <br...@us...> - 2002-09-27 00:22:40
|
Update of /cvsroot/jarspy/JarSpy
In directory usw-pr-cvs1:/tmp/cvs-serv16432
Modified Files:
.build.properties build.xml
Log Message:
change build process to put build number in dest property file, not src property file
Index: .build.properties
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/.build.properties,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** .build.properties 25 Sep 2002 21:01:42 -0000 1.18
--- .build.properties 27 Sep 2002 00:22:37 -0000 1.19
***************
*** 18,21 ****
--- 18,22 ----
app.property.file=${src.dir}/com/ociweb/jarspy/application.properties
+ app.property.dest.file=${build.dir}/com/ociweb/jarspy/application.properties
# immediately after building a release, this number is incremented
Index: build.xml
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/build.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** build.xml 25 Sep 2002 21:01:42 -0000 1.16
--- build.xml 27 Sep 2002 00:22:37 -0000 1.17
***************
*** 60,69 ****
<!-- update the build number -->
! <target name="updateBuildNumber">
<buildnumber/>
! <propertyfile file="${app.property.file}">
<entry key="build.number" value="${build.number}"/>
</propertyfile>
! <cvs command="commit -m 'updated build number' ${app.property.file} build.number"/>
</target>
--- 60,69 ----
<!-- update the build number -->
! <target name="updateBuildNumber" depends="props">
<buildnumber/>
! <propertyfile file="${app.property.dest.file}">
<entry key="build.number" value="${build.number}"/>
</propertyfile>
! <cvs command="commit -m 'updated build number' build.number"/>
</target>
|
|
From: Jeff B. <br...@us...> - 2002-09-27 00:21:06
|
Update of /cvsroot/jarspy/JarSpy In directory usw-pr-cvs1:/tmp/cvs-serv16127 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.number 27 Sep 2002 00:19:16 -0000 1.3 --- build.number 27 Sep 2002 00:21:03 -0000 1.4 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:17:44 CDT 2002 ! build.number=7 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:19:33 CDT 2002 ! build.number=8 |
|
From: Jeff B. <br...@us...> - 2002-09-27 00:19:21
|
Update of /cvsroot/jarspy/JarSpy In directory usw-pr-cvs1:/tmp/cvs-serv15500 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.number 25 Sep 2002 21:00:24 -0000 1.2 --- build.number 27 Sep 2002 00:19:16 -0000 1.3 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Wed Sep 25 15:58:36 CDT 2002 ! build.number=5 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Thu Sep 26 19:17:44 CDT 2002 ! build.number=7 |
|
From: Jeff B. <br...@us...> - 2002-09-25 21:01:44
|
Update of /cvsroot/jarspy/JarSpy
In directory usw-pr-cvs1:/tmp/cvs-serv9326
Modified Files:
.build.properties build.xml
Log Message:
added support for auto build number generation
Index: .build.properties
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/.build.properties,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** .build.properties 14 Feb 2002 02:03:17 -0000 1.17
--- .build.properties 25 Sep 2002 21:01:42 -0000 1.18
***************
*** 17,20 ****
--- 17,22 ----
src.dist.file=${dist.dir}/${src.dist.name}.zip
+ app.property.file=${src.dir}/com/ociweb/jarspy/application.properties
+
# immediately after building a release, this number is incremented
# this number always reflects the NEXT release version
Index: build.xml
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/build.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** build.xml 18 Sep 2002 00:36:47 -0000 1.15
--- build.xml 25 Sep 2002 21:01:42 -0000 1.16
***************
*** 29,32 ****
--- 29,42 ----
</target>
+ <!-- copy all of the property files -->
+ <target name="props"
+ description="--> copies all of the property files">
+ <copy todir="${build.dir}">
+ <fileset dir="${src.dir}">
+ <include name="**/*.properties"/>
+ </fileset>
+ </copy>
+ </target>
+
<!-- cleans up the area -->
<target name="clean"
***************
*** 40,44 ****
<!-- build the jar file -->
<target name="jar"
! depends="compile, images"
description="--> Builds the jar file">
<mkdir dir="${lib.dir}"/>
--- 50,54 ----
<!-- build the jar file -->
<target name="jar"
! depends="compile, images, props"
description="--> Builds the jar file">
<mkdir dir="${lib.dir}"/>
***************
*** 48,51 ****
--- 58,72 ----
excludes="**/.dependency-info/"/>
</target>
+
+ <!-- update the build number -->
+ <target name="updateBuildNumber">
+ <buildnumber/>
+ <propertyfile file="${app.property.file}">
+ <entry key="build.number" value="${build.number}"/>
+ </propertyfile>
+ <cvs command="commit -m 'updated build number' ${app.property.file} build.number"/>
+ </target>
+
+ <target name="buildReleaseJar" depends="clean, updateBuildNumber, jar"/>
<!-- target to run the application -->
|
|
From: Jeff B. <br...@us...> - 2002-09-25 21:00:28
|
Update of /cvsroot/jarspy/JarSpy In directory usw-pr-cvs1:/tmp/cvs-serv8727 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.number 25 Sep 2002 20:54:08 -0000 1.1 --- build.number 25 Sep 2002 21:00:24 -0000 1.2 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Wed Sep 25 15:51:05 CDT 2002 ! build.number=4 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Wed Sep 25 15:58:36 CDT 2002 ! build.number=5 |
|
From: Jeff B. <br...@us...> - 2002-09-25 21:00:28
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy In directory usw-pr-cvs1:/tmp/cvs-serv8727/src/com/ociweb/jarspy Modified Files: application.properties Log Message: updated build number Index: application.properties =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/application.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** application.properties 25 Sep 2002 20:55:27 -0000 1.1 --- application.properties 25 Sep 2002 21:00:24 -0000 1.2 *************** *** 1,3 **** ! #Wed Sep 25 15:51:05 CDT 2002 app.version=0.7.1 ! build.number=3 --- 1,3 ---- ! #Wed Sep 25 15:58:37 CDT 2002 app.version=0.7.1 ! build.number=4 |
|
From: Jeff B. <br...@us...> - 2002-09-25 20:56:02
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv7366
Modified Files:
JarSpyGUI.java
Log Message:
added version info to stdout
Index: JarSpyGUI.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyGUI.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** JarSpyGUI.java 17 Sep 2002 21:38:08 -0000 1.37
--- JarSpyGUI.java 25 Sep 2002 20:55:59 -0000 1.38
***************
*** 23,26 ****
--- 23,27 ----
import com.ociweb.jarspy.ClassInfo;
import com.ociweb.jarspy.JarInspector;
+ import com.ociweb.jarspy.ApplicationProperties;
import com.ociweb.jarspy.gui.actions.AboutAction;
import com.ociweb.jarspy.gui.actions.ActionNames;
***************
*** 79,82 ****
--- 80,84 ----
import java.util.List;
import java.util.Map;
+ import java.util.Properties;
import java.util.jar.JarFile;
import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel;
***************
*** 448,452 ****
}
! JarSpyGUI jvg = new JarSpyGUI();
}
--- 450,463 ----
}
!
! Properties appProperties = ApplicationProperties.INSTANCE;
! String appVersion = appProperties.getProperty(ApplicationProperties.APP_VERSION_KEY);
! String buildNumber = appProperties.getProperty(ApplicationProperties.BUILD_NUMBER_KEY);
!
! System.out.println("JarSpy");
! System.out.println("Version: " + appVersion);
! System.out.println("Build Number: " + buildNumber);
!
! new JarSpyGUI();
}
|
|
From: Jeff B. <br...@us...> - 2002-09-25 20:55:30
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy In directory usw-pr-cvs1:/tmp/cvs-serv7188 Added Files: application.properties Log Message: --- NEW FILE: application.properties --- #Wed Sep 25 15:51:05 CDT 2002 app.version=0.7.1 build.number=3 |
|
From: Jeff B. <br...@us...> - 2002-09-25 20:54:49
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy
In directory usw-pr-cvs1:/tmp/cvs-serv6732
Added Files:
ApplicationProperties.java
Log Message:
--- NEW FILE: ApplicationProperties.java ---
package com.ociweb.jarspy;
import java.util.Properties;
import java.util.ResourceBundle;
import java.util.Enumeration;
/**
* JarSpy Application Properties Object
*
* @version $Id: ApplicationProperties.java,v 1.1 2002/09/25 20:54:46 brown_j Exp $
*/
public class ApplicationProperties extends Properties {
public static final String APP_VERSION_KEY = "app.version";
public static final String BUILD_NUMBER_KEY = "build.number";
public static final Properties INSTANCE =
new ApplicationProperties();
private ApplicationProperties() {
// super(System.getProperties());
ResourceBundle bundle =
ResourceBundle.getBundle("com.ociweb.jarspy.application");
Enumeration keys = bundle.getKeys();
while (keys.hasMoreElements()) {
String key = (String) keys.nextElement();
put(key, bundle.getString(key));
}
}
}
|
|
From: Jeff B. <br...@us...> - 2002-09-25 20:54:12
|
Update of /cvsroot/jarspy/JarSpy In directory usw-pr-cvs1:/tmp/cvs-serv6495 Added Files: build.number Log Message: --- NEW FILE: build.number --- #Build Number for ANT. Do not edit! #Wed Sep 25 15:51:05 CDT 2002 build.number=4 |
|
From: Jeff B. <br...@us...> - 2002-09-25 01:05:48
|
Update of /cvsroot/jarspy/JarSpy/META-INF In directory usw-pr-cvs1:/tmp/cvs-serv526/META-INF Modified Files: MANIFEST.MF Log Message: Index: MANIFEST.MF =================================================================== RCS file: /cvsroot/jarspy/JarSpy/META-INF/MANIFEST.MF,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MANIFEST.MF 24 Sep 2002 20:48:04 -0000 1.3 --- MANIFEST.MF 25 Sep 2002 01:05:45 -0000 1.4 *************** *** 2,5 **** Class-Path: jode-1.1.1-embedded.jar Implementation-Title: com.ociweb.jarspy.gui ! Implementation-Version: 0.7 --- 2,5 ---- Class-Path: jode-1.1.1-embedded.jar Implementation-Title: com.ociweb.jarspy.gui ! Implementation-Version: 0.7 (beta) |
|
From: Jeff B. <br...@us...> - 2002-09-25 01:05:48
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails
In directory usw-pr-cvs1:/tmp/cvs-serv526/src/com/ociweb/jarspy/gui/classdetails
Modified Files:
GeneralTab.java
Log Message:
Index: GeneralTab.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/GeneralTab.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GeneralTab.java 14 Sep 2002 00:42:52 -0000 1.2
--- GeneralTab.java 25 Sep 2002 01:05:45 -0000 1.3
***************
*** 55,61 ****
{new JLabel("Name:"), className},
{new JLabel("Type:"), type},
- {new JLabel("Abstract:"), isAbstract},
{new JLabel("Major Version Number:"), classMajorVersion},
{new JLabel("Minor Version Number:"), classMinorVersion},
{new JLabel("Final?:"), isFinal}
};
--- 55,61 ----
{new JLabel("Name:"), className},
{new JLabel("Type:"), type},
{new JLabel("Major Version Number:"), classMajorVersion},
{new JLabel("Minor Version Number:"), classMinorVersion},
+ {new JLabel("Abstract?:"), isAbstract},
{new JLabel("Final?:"), isFinal}
};
|
|
From: Jeff B. <br...@us...> - 2002-09-24 21:03:37
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool
In directory usw-pr-cvs1:/tmp/cvs-serv19387/src/com/ociweb/classinfo/constantpool
Modified Files:
CP_DoubleEntry.java CP_FieldrefEntry.java CP_FloatEntry.java
CP_IntegerEntry.java CP_InterfaceMethodrefEntry.java
CP_LongEntry.java CP_MethodrefEntry.java
CP_NameAndTypeEntry.java
Log Message:
moved cp entity methods into respective interfaces
Index: CP_DoubleEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_DoubleEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_DoubleEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_DoubleEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,26 ----
*/
public interface CP_DoubleEntry extends ConstantPoolEntry {
+ double getValue();
}
Index: CP_FieldrefEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_FieldrefEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_FieldrefEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_FieldrefEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,28 ----
*/
public interface CP_FieldrefEntry extends ConstantPoolEntry {
+ short getClassIndex();
+
+ short getNameAndTypeIndex();
}
Index: CP_FloatEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_FloatEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_FloatEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_FloatEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,26 ----
*/
public interface CP_FloatEntry extends ConstantPoolEntry {
+ float getValue();
}
Index: CP_IntegerEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_IntegerEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_IntegerEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_IntegerEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,26 ----
*/
public interface CP_IntegerEntry extends ConstantPoolEntry {
+ int getValue();
}
Index: CP_InterfaceMethodrefEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_InterfaceMethodrefEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_InterfaceMethodrefEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_InterfaceMethodrefEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,28 ----
*/
public interface CP_InterfaceMethodrefEntry extends ConstantPoolEntry {
+ short getClassIndex();
+
+ short getNameAndTypeIndex();
}
Index: CP_LongEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_LongEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_LongEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_LongEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,26 ----
*/
public interface CP_LongEntry extends ConstantPoolEntry {
+ long getValue();
}
Index: CP_MethodrefEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_MethodrefEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_MethodrefEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_MethodrefEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,28 ----
*/
public interface CP_MethodrefEntry extends ConstantPoolEntry {
+ short getClassIndex();
+
+ short getNameAndTypeIndex();
}
Index: CP_NameAndTypeEntry.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/constantpool/CP_NameAndTypeEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CP_NameAndTypeEntry.java 13 Sep 2002 23:12:00 -0000 1.1
--- CP_NameAndTypeEntry.java 24 Sep 2002 21:03:34 -0000 1.2
***************
*** 23,25 ****
--- 23,28 ----
*/
public interface CP_NameAndTypeEntry extends ConstantPoolEntry {
+ short getNameIndex();
+
+ short getDescriptorIndex();
}
|
|
From: Jeff B. <br...@us...> - 2002-09-24 20:48:07
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv14180/src/com/ociweb/jarspy/gui
Modified Files:
JarSpyInfoPanel.java
Log Message:
use package version to retrieve version number instead of hardcoding in the info panel
Index: JarSpyInfoPanel.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyInfoPanel.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** JarSpyInfoPanel.java 20 Jul 2002 22:31:50 -0000 1.22
--- JarSpyInfoPanel.java 24 Sep 2002 20:48:04 -0000 1.23
***************
*** 19,24 ****
package com.ociweb.jarspy.gui;
! import javax.swing.*;
! import java.awt.*;
/**
--- 19,28 ----
package com.ociweb.jarspy.gui;
! import java.awt.GridBagConstraints;
! import java.awt.GridBagLayout;
! import javax.swing.BorderFactory;
! import javax.swing.ImageIcon;
! import javax.swing.JLabel;
! import javax.swing.JPanel;
/**
***************
*** 30,33 ****
--- 34,38 ----
JarSpyInfoPanel() {
super(new GridBagLayout());
+
GridBagConstraints gbc = new GridBagConstraints();
gbc.insets.top = gbc.insets.bottom =
***************
*** 46,50 ****
gbc.insets.top = gbc.insets.bottom = 0;
! add(new JLabel("JarSpy v0.6.2"), gbc);
add(new JLabel("http://www.jarspy.org/"), gbc);
add(new JLabel("Email: co...@ja..."), gbc);
--- 51,69 ----
gbc.insets.top = gbc.insets.bottom = 0;
!
! String packageVersion = null;
!
! try {
! Package p = getClass().getPackage();
! packageVersion = p.getImplementationVersion();
! } catch (Exception e) {
! }
!
! if(packageVersion == null) {
! packageVersion = "(unknown)";
! }
!
! add(new JLabel("JarSpy"), gbc);
! add(new JLabel("Version: " + packageVersion), gbc);
add(new JLabel("http://www.jarspy.org/"), gbc);
add(new JLabel("Email: co...@ja..."), gbc);
|
|
From: Jeff B. <br...@us...> - 2002-09-24 20:48:07
|
Update of /cvsroot/jarspy/JarSpy/META-INF In directory usw-pr-cvs1:/tmp/cvs-serv14180/META-INF Modified Files: MANIFEST.MF Log Message: use package version to retrieve version number instead of hardcoding in the info panel Index: MANIFEST.MF =================================================================== RCS file: /cvsroot/jarspy/JarSpy/META-INF/MANIFEST.MF,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MANIFEST.MF 14 Feb 2002 02:03:17 -0000 1.2 --- MANIFEST.MF 24 Sep 2002 20:48:04 -0000 1.3 *************** *** 1,3 **** --- 1,5 ---- Main-Class: com.ociweb.jarspy.gui.JarSpyGUI Class-Path: jode-1.1.1-embedded.jar + Implementation-Title: com.ociweb.jarspy.gui + Implementation-Version: 0.7 |
|
From: Jeff B. <br...@us...> - 2002-09-24 20:22:21
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv5467
Modified Files:
DecompilePanel.java
Log Message:
fix layout weights
Index: DecompilePanel.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/DecompilePanel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DecompilePanel.java 19 Jun 2002 01:19:10 -0000 1.3
--- DecompilePanel.java 24 Sep 2002 20:22:17 -0000 1.4
***************
*** 23,33 ****
import com.ociweb.jarspy.ClassInfo;
import com.ociweb.jarspy.JarInspector;
! import jode.decompiler.Decompiler;
!
! import javax.swing.*;
! import java.awt.*;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.io.PrintWriter;
/**
--- 23,38 ----
import com.ociweb.jarspy.ClassInfo;
import com.ociweb.jarspy.JarInspector;
! import java.awt.GridBagConstraints;
! import java.awt.GridBagLayout;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.io.PrintWriter;
+ import javax.swing.BorderFactory;
+ import javax.swing.JComboBox;
+ import javax.swing.JLabel;
+ import javax.swing.JPanel;
+ import javax.swing.JScrollPane;
+ import javax.swing.JTextArea;
+ import jode.decompiler.Decompiler;
/**
***************
*** 66,69 ****
--- 71,75 ----
gbc.fill = gbc.BOTH;
txtArea.setEditable(false);
+ gbc.weightx = gbc.weighty = 1.0;
add(new JScrollPane(txtArea), gbc);
***************
*** 101,106 ****
writer = new TextAreaWriter(txtArea);
decompiler.decompile(className,
! writer,
! null);
} catch (Throwable exc) {
txtArea.append("\nError Occurred During Decompilation:\n");
--- 107,112 ----
writer = new TextAreaWriter(txtArea);
decompiler.decompile(className,
! writer,
! null);
} catch (Throwable exc) {
txtArea.append("\nError Occurred During Decompilation:\n");
|
|
From: Jeff B. <br...@us...> - 2002-09-18 23:14:59
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails
In directory usw-pr-cvs1:/tmp/cvs-serv10819/src/com/ociweb/jarspy/gui/classdetails
Modified Files:
DependencyTab.java FieldsTab.java MethodsTab.java
Log Message:
clear text field before displaying new details
Index: DependencyTab.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/DependencyTab.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** DependencyTab.java 18 Sep 2002 23:07:32 -0000 1.6
--- DependencyTab.java 18 Sep 2002 23:14:55 -0000 1.7
***************
*** 42,45 ****
--- 42,46 ----
public void setClassInfo(ClassInfo classInfo) {
+ dependencyTextArea.setText("");
Vector deps = classInfo.getDependencies();
Iterator iter = deps.iterator();
Index: FieldsTab.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/FieldsTab.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FieldsTab.java 18 Sep 2002 23:07:32 -0000 1.3
--- FieldsTab.java 18 Sep 2002 23:14:56 -0000 1.4
***************
*** 40,43 ****
--- 40,44 ----
public void setClassInfo(ClassInfo classInfo) {
+ fieldsTextArea.setText("");
Object[] fields = classInfo.getFields();
if (fields.length == 0) {
Index: MethodsTab.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/MethodsTab.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MethodsTab.java 18 Sep 2002 23:07:32 -0000 1.3
--- MethodsTab.java 18 Sep 2002 23:14:56 -0000 1.4
***************
*** 40,43 ****
--- 40,44 ----
public void setClassInfo(ClassInfo classInfo) {
+ methodsTextArea.setText("");
Object[] methods = classInfo.getMethods();
|
|
From: Jeff B. <br...@us...> - 2002-09-18 23:14:37
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo
In directory usw-pr-cvs1:/tmp/cvs-serv10704
Modified Files:
CRMethod.java
Log Message:
remove extraneous space in descriptor
Index: CRMethod.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/classinfo/CRMethod.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CRMethod.java 19 Jun 2002 01:19:10 -0000 1.3
--- CRMethod.java 18 Sep 2002 23:14:34 -0000 1.4
***************
*** 41,45 ****
StringBuffer buffer = new StringBuffer();
buffer.append(ClassReader.accessFlagsToString(accessFlags));
! if (buffer.length() > 0) buffer.append(" ");
int indexOfLastParen = descriptor.lastIndexOf(')');
String returnType = descriptor.substring(indexOfLastParen + 1);
--- 41,45 ----
StringBuffer buffer = new StringBuffer();
buffer.append(ClassReader.accessFlagsToString(accessFlags));
! // if (buffer.length() > 0) buffer.append(" ");
int indexOfLastParen = descriptor.lastIndexOf(')');
String returnType = descriptor.substring(indexOfLastParen + 1);
|