You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(15) |
Feb
(33) |
Mar
(35) |
Apr
(53) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <kil...@us...> - 2008-04-18 07:45:17
|
Revision: 134 http://davinspector.svn.sourceforge.net/davinspector/?rev=134&view=rev Author: killerjoe Date: 2008-04-18 00:44:55 -0700 (Fri, 18 Apr 2008) Log Message: ----------- First attempt of translation in plugins. Modified Paths: -------------- branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java Added Paths: ----------- branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_de.properties branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_en.properties Modified: branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java =================================================================== --- branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java 2008-04-17 20:43:46 UTC (rev 133) +++ branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java 2008-04-18 07:44:55 UTC (rev 134) @@ -30,6 +30,9 @@ import java.io.File; import java.io.FileWriter; import java.io.IOException; +import java.util.Locale; +import java.util.MissingResourceException; +import java.util.ResourceBundle; import javax.swing.JComponent; @@ -48,7 +51,7 @@ */ public class RecordingPlugin implements IViewPlugin { - /** State of the plugin. */ + /** State of the plugin. */ private Boolean isActive = true; /** The UI of the RecordingPlugin. */ @@ -105,7 +108,8 @@ * @see de.dlr.davinspector.plugin.IPlugin#getName() */ public String getName() { - return "RecordingPlugin"; + return translate("PLUGIN_NAME"); + //return "RecordingPlugin"; } /** @@ -119,7 +123,7 @@ /** * {@inheritDoc} - * + * extends PluginTranslator * @see de.dlr.davinspector.plugin.IPlugin#getVersion() */ public int getVersion() { @@ -225,5 +229,32 @@ */ public void setRecordingFile(File file) { myFilename = file.getAbsolutePath(); - } + } + + /** + * Reads the translated String of the ResourceBundle. Trys to load local language. If this fails it loads english + * @param key Key for loading + * @return needed String + */ + public static String translate(String key) { + + String BUNDLE_NAME = "de.dlr.davinspector.plugins.recordingplugin.recordingplugin_" + Locale.getDefault().getLanguage().toLowerCase(); //$NON-NLS-1$ + /** + * Resourcebundle for local language + */ + ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); + + if (RESOURCE_BUNDLE == null) { + try { + RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); + } catch (Exception e) { + RESOURCE_BUNDLE = ResourceBundle.getBundle("de.dlr.davinspector.plugins.recordingplugin.recordingplugin_en"); + } + } + try { + return RESOURCE_BUNDLE.getString(key); + } catch (MissingResourceException e) { + return '!' + key + '!'; + } + } } Added: branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_de.properties =================================================================== --- branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_de.properties (rev 0) +++ branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_de.properties 2008-04-18 07:44:55 UTC (rev 134) @@ -0,0 +1,2 @@ +PLUGIN_NAME=RecordingPluginDE + Added: branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_en.properties =================================================================== --- branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_en.properties (rev 0) +++ branches/davinspector_plugin_internationalization/src/de/dlr/davinspector/plugins/recordingplugin/recordingplugin_en.properties 2008-04-18 07:44:55 UTC (rev 134) @@ -0,0 +1,2 @@ +PLUGIN_NAME=RecordingPluginEN + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 20:43:49
|
Revision: 133 http://davinspector.svn.sourceforge.net/davinspector/?rev=133&view=rev Author: wuest Date: 2008-04-17 13:43:46 -0700 (Thu, 17 Apr 2008) Log Message: ----------- HeaderPlugin now available for client and server. Added parsing of request-, response- and misc-header-lines. Modified Paths: -------------- trunk/DAVInspector/src/de/dlr/davinspector/plugins/headerplugin/HeaderPlugin.java Modified: trunk/DAVInspector/src/de/dlr/davinspector/plugins/headerplugin/HeaderPlugin.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/plugins/headerplugin/HeaderPlugin.java 2008-04-17 20:10:39 UTC (rev 132) +++ trunk/DAVInspector/src/de/dlr/davinspector/plugins/headerplugin/HeaderPlugin.java 2008-04-17 20:43:46 UTC (rev 133) @@ -25,6 +25,9 @@ package de.dlr.davinspector.plugins.headerplugin; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + import javax.swing.BoxLayout; import javax.swing.JComponent; import javax.swing.JPanel; @@ -43,6 +46,16 @@ */ public class HeaderPlugin implements IViewPlugin { + /** This REGEX parses key-value pairs: (key): (value)\r\n. */ + private static final String HEADER_KEY_VALUE = "([\\w| |\\t|-]+): ([\\w| |\\t|:|\\.|=|\\$|\"|/|,|;|-]+)"; + + /** REGEX for the request line: (method) (uri) (version)\r\n. */ + private static final String REQUEST_LINE = "^(\\b[a-zA-Z]+\\b){1} ([\\w|/|~|.|_|-]+) " + + "(\\bHTTP/1.1\\b|\\bHTTP/1.0\\b|\\bHTTP/0.9\\b){1}\r\n"; + + /** REGEX for the response line: (version) (status-code) (status-text)\r\n. */ + private static final String RESPONSE_LINE = "(\\bHTTP/1.1\\b|\\bHTTP/1.0\\b|\\bHTTP/0.9\\b){1} ([0-9]{3}) ([\\w|-]+)\r\n"; + /** The direction the plugin is assigned to. */ private PluginDirection myPlugInDirection; @@ -106,7 +119,7 @@ * @see de.dlr.DAVInspector.Plugin.IPlugin#getType() */ public PluginType getType() { - return PluginType.VIEW_CLIENT; + return PluginType.VIEW_GENERAL; } /** @@ -136,15 +149,12 @@ myMiscHeaders = new JCategoryTable(myJPanel, "Misc"); myJPanel.add(myCommonHeaders); - myJPanel.add(myResponseHeaders); - myJPanel.add(myRequestHeaders); + if (myPlugInDirection == PluginDirection.CLIENT) { + myJPanel.add(myRequestHeaders); + } else { + myJPanel.add(myResponseHeaders); + } myJPanel.add(myMiscHeaders); - - // test data - myCommonHeaders.addRow(new Object[]{"ert", "zui"}); - myResponseHeaders.addRow(new Object[]{"test", "test2"}); - myRequestHeaders.addRow(new Object[]{"test3", "test4"}); - myMiscHeaders.addRow(new Object[]{"ghj", "l\xF6\xE4"}); } Util.setUIDesign(); } @@ -191,12 +201,14 @@ * @see de.dlr.DAVInspector.Plugin.IPlugin#update(java.lang.String) */ public void update(AMessage msg) { + clear(); if (isActive && myJPanel != null) { - // TODO: Update tables; -// myCommonHeaders.clearTable(); -// myResponseHeaders.clearTable(); -// myRequestHeaders.clearTable(); -// myMiscHeaders.clearTable(); + if (myPlugInDirection == PluginDirection.CLIENT) { + parseRequest(msg.getHeader()); + } else { + parseResponse(msg.getHeader()); + } + parseKeyValuePairs(msg.getHeader()); } } @@ -213,4 +225,70 @@ myMiscHeaders.clearTable(); } } + + /** + * This Method parses the request line. + * + * @param header String header-data + */ + private void parseRequest(String header) { + Pattern pattern = Pattern.compile(REQUEST_LINE, Pattern.CASE_INSENSITIVE); + Matcher matcher = pattern.matcher(header); + if (matcher.find()) { + myRequestHeaders.addRow(new Object[]{"Method", matcher.group(1)}); + myRequestHeaders.addRow(new Object[]{"Url", matcher.group(2)}); + myCommonHeaders.addRow(new Object[]{"Protocol Version", matcher.group(3)}); + } + } + + /** + * This Method parses the response line. + * + * @param header String header-data + */ + private void parseResponse(String header) { + Pattern pattern = Pattern.compile(RESPONSE_LINE, Pattern.CASE_INSENSITIVE); + Matcher matcher = pattern.matcher(header); + if (matcher.find()) { + myCommonHeaders.addRow(new Object[]{"Protocol Version", matcher.group(1)}); + myResponseHeaders.addRow(new Object[]{"Status Code", matcher.group(2)}); + myResponseHeaders.addRow(new Object[]{"Status Code Text", matcher.group(3)}); + } + } + + /** + * This method parses all key-value header lines. Every key-value pair can be + * assigned to one or more categories. + * + * @param header String header-data + */ + private void parseKeyValuePairs(String header) { + String key = ""; + // extract key value pairs + Pattern pattern = Pattern.compile(HEADER_KEY_VALUE, Pattern.CASE_INSENSITIVE); + Matcher matcher = pattern.matcher(header); + while (matcher.find()) { + // this is not so nice, but something to start with ... + key = matcher.group(1); + if (key.equals("Host")) { + myCommonHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("Server")) { + myResponseHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("Content-Type")) { + myCommonHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("Transfer-Encoding")) { + myCommonHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("Date")) { + myResponseHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("Content-length")) { + myCommonHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("User-Agent")) { + myRequestHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else if (key.equals("Accept-Encoding")) { + myRequestHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } else { + myMiscHeaders.addRow(new Object[]{matcher.group(1), matcher.group(2)}); + } + } + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-17 20:11:00
|
Revision: 132 http://davinspector.svn.sourceforge.net/davinspector/?rev=132&view=rev Author: killerjoe Date: 2008-04-17 13:10:39 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Branched for ugly internationalization code... Added Paths: ----------- branches/davinspector_plugin_internationalization/DAVInspector/ Copied: branches/davinspector_plugin_internationalization/DAVInspector (from rev 131, trunk/DAVInspector) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-17 20:09:48
|
Revision: 131 http://davinspector.svn.sourceforge.net/davinspector/?rev=131&view=rev Author: killerjoe Date: 2008-04-17 13:09:29 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Branched for ugly internationalization code... Added Paths: ----------- branches/davinspector_plugin_internationalization/ Copied: branches/davinspector_plugin_internationalization (from rev 130, trunk/DAVInspector) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-17 18:32:50
|
Revision: 130 http://davinspector.svn.sourceforge.net/davinspector/?rev=130&view=rev Author: killerjoe Date: 2008-04-17 11:32:39 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Added example view plugin to project. Modified Paths: -------------- trunk/DAVInspector/build-user.xml Added Paths: ----------- trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/ trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/ExampleViewPlugin.java trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/package.html Modified: trunk/DAVInspector/build-user.xml =================================================================== --- trunk/DAVInspector/build-user.xml 2008-04-17 18:25:54 UTC (rev 129) +++ trunk/DAVInspector/build-user.xml 2008-04-17 18:32:39 UTC (rev 130) @@ -57,6 +57,10 @@ basedir="bin" includes="de/dlr/davinspector/plugins/raweditplugin/**"> </jar> + <jar jarfile="${dist}/plugins/ExampleViewPlugin.jar" + basedir="bin" + includes="de/dlr/davinspector/plugins/exampleviewplugin/**"> + </jar> <!-- Copy DAVInspector resource files --> <copy todir="bin/de/dlr/davinspector/resource"> Added: trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/ExampleViewPlugin.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/ExampleViewPlugin.java (rev 0) +++ trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/ExampleViewPlugin.java 2008-04-17 18:32:39 UTC (rev 130) @@ -0,0 +1,186 @@ +/* + * ExamplePlugin.java + * + * This class contains the Example-View-Plugin. + * + * Created: 17.04.2008 Jochen Wuest <joc...@dl...> + * Changed: + * + * $Id$ + * + * Copyright 2007 Deutsches Zentrum fuer Luft- und Raumfahrt e.V. (DLR) + * + * Licensed under the Apache License, Version 2.0 (the 'License'); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package de.dlr.davinspector.plugins.exampleviewplugin; + +import javax.swing.JComponent; +import javax.swing.JScrollPane; +import javax.swing.JTextPane; + +import de.dlr.davinspector.common.Util; +import de.dlr.davinspector.history.AMessage; +import de.dlr.davinspector.plugin.IViewPlugin; +import de.dlr.davinspector.plugin.PluginManager; + + +/** + * This class contains the Example-View-Plugin. + * + * @version $LastChangedRevision$ + * @author Jochen Wuest + */ +public class ExampleViewPlugin implements IViewPlugin { + + /** The direction the plugin is assigned to. */ + private PluginDirection myPlugInDirection; + + /** State of the plugin. */ + private Boolean isActive = true; + + /** The scroll pane of the view. */ + private JScrollPane myJScrollPane = null; + + /** The text pane of the view. */ + private JTextPane myJTextPane = null; + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IViewPlugin#getUI() + */ + public JComponent getUI() { + return myJScrollPane; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getAuthor() + */ + public String getAuthor() { + return "Jochen Wuest"; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getDescription() + */ + public String getDescription() { + return "This is an example"; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getName() + */ + public String getName() { + return "Example View"; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getType() + */ + public PluginType getType() { + return PluginType.VIEW_GENERAL; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getVersion() + */ + public int getVersion() { + return 1; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#init() + */ + public void init(PluginManager pluginManager, PluginDirection direction) { + myPlugInDirection = direction; + if (myJScrollPane == null) { + myJTextPane = new JTextPane(); + + myJScrollPane = new JScrollPane(); + myJScrollPane.setViewportView(myJTextPane); + } + myJTextPane.setText(""); + Util.setUIDesign(); + } + + /** + * {@inheritDoc} + * + * @see de.dlr.davinspector.plugin.IPlugin#getPluginDirection() + */ + public PluginDirection getPluginDirection() { + return myPlugInDirection; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.davinspector.plugin.IPlugin#shutdown() + */ + public void shutdown() { + // do nothing + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#isActive() + */ + public Boolean isActive() { + return isActive; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#setActive(java.lang.Boolean) + */ + public void setActive(Boolean state) { + isActive = state; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#update(java.lang.String) + */ + public void update(AMessage msg) { + if (isActive && myJTextPane != null) { + myJTextPane.setText(msg.getBody()); + } + } + + /** + * {@inheritDoc} + * + * @see de.dlr.davinspector.plugin.IPlugin#clear() + */ + public void clear() { + if (myJTextPane != null) { + myJTextPane.setText(""); + } + } +} Added: trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/package.html =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/package.html (rev 0) +++ trunk/DAVInspector/src/de/dlr/davinspector/plugins/exampleviewplugin/package.html 2008-04-17 18:32:39 UTC (rev 130) @@ -0,0 +1,6 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" +"http://www.w3.org/TR/REC-html40/loose.dtd"> + +<html><head><title>Example View Plugin</title></head><body> +This package contains the Example-View-Plugin. +</body></html> \ 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: <wu...@us...> - 2008-04-17 18:26:01
|
Revision: 129 http://davinspector.svn.sourceforge.net/davinspector/?rev=129&view=rev Author: wuest Date: 2008-04-17 11:25:54 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Resized export window. Modified Paths: -------------- trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java Modified: trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java 2008-04-17 16:55:47 UTC (rev 128) +++ trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java 2008-04-17 18:25:54 UTC (rev 129) @@ -64,7 +64,7 @@ public static final int UI_EXPORT_DIALOG_WIDTH = 500; /** Export dialog height. */ - public static final int UI_EXPORT_DIALOG_HEIGTH = 175; + public static final int UI_EXPORT_DIALOG_HEIGTH = 200; /** Background color of replies. */ public static final Color UI_REPLY_COLOR = new Color(255, 232, 140); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 16:56:03
|
Revision: 128 http://davinspector.svn.sourceforge.net/davinspector/?rev=128&view=rev Author: wuest Date: 2008-04-17 09:55:47 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Added template for view plugins. Added Paths: ----------- trunk/Documents/exampleplugin.java Added: trunk/Documents/exampleplugin.java =================================================================== --- trunk/Documents/exampleplugin.java (rev 0) +++ trunk/Documents/exampleplugin.java 2008-04-17 16:55:47 UTC (rev 128) @@ -0,0 +1,183 @@ +/* + * ExamplePlugin.java + * + * This class contains the Example-View-Plugin. + * + * Created: 17.04.2008 Jochen Wuest <joc...@dl...> + * Changed: + * + * $Id$ + * + * Copyright 2007 Deutsches Zentrum fuer Luft- und Raumfahrt e.V. (DLR) + * + * Licensed under the Apache License, Version 2.0 (the 'License'); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package de.dlr.davinspector.plugins.exampleplugin; + + +import de.dlr.davinspector.common.Util; +import de.dlr.davinspector.history.AMessage; +import de.dlr.davinspector.plugin.IViewPlugin; +import de.dlr.davinspector.plugin.PluginManager; + + +/** + * This class contains the Example-View-Plugin. + * + * @version $LastChangedRevision$ + * @author Jochen Wuest + */ +public class ExamplePlugin implements IViewPlugin { + + /** The direction the plugin is assigned to. */ + private PluginDirection myPlugInDirection; + + /** State of the plugin. */ + private Boolean isActive = true; + + /** The scroll pane of the view. */ + private JScrollPane myJScrollPane = null; + + /** The text pane of the view. */ + private JTextPane myJTextPane = null; + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IViewPlugin#getUI() + */ + public JComponent getUI() { + return myJScrollPane; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getAuthor() + */ + public String getAuthor() { + return "Jochen Wuest"; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getDescription() + */ + public String getDescription() { + return "This is an example"; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getName() + */ + public String getName() { + return "Example View"; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getType() + */ + public PluginType getType() { + return PluginType.VIEW_GENERAL; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#getVersion() + */ + public int getVersion() { + return 1; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#init() + */ + public void init(PluginManager pluginManager, PluginDirection direction) { + myPlugInDirection = direction; + if (myJScrollPane == null) { + myJTextPane = new JTextPane(); + + myJScrollPane = new JScrollPane(); + myJScrollPane.setViewportView(myJTextPane); + } + myJTextPane.setText(""); + Util.setUIDesign(); + } + + /** + * {@inheritDoc} + * + * @see de.dlr.davinspector.plugin.IPlugin#getPluginDirection() + */ + public PluginDirection getPluginDirection() { + return myPlugInDirection; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.davinspector.plugin.IPlugin#shutdown() + */ + public void shutdown() { + // do nothing + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#isActive() + */ + public Boolean isActive() { + return isActive; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#setActive(java.lang.Boolean) + */ + public void setActive(Boolean state) { + isActive = state; + } + + /** + * {@inheritDoc} + * + * @see de.dlr.DAVInspector.Plugin.IPlugin#update(java.lang.String) + */ + public void update(AMessage msg) { + if (isActive && myJTextPane != null) { + myJTextPane.setText(msg.getBody()); + } + } + + /** + * {@inheritDoc} + * + * @see de.dlr.davinspector.plugin.IPlugin#clear() + */ + public void clear() { + if (myJTextPane != null) { + myJTextPane.setText(""); + } + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 16:41:33
|
Revision: 127 http://davinspector.svn.sourceforge.net/davinspector/?rev=127&view=rev Author: wuest Date: 2008-04-17 09:41:31 -0700 (Thu, 17 Apr 2008) Log Message: ----------- First checkin. Added Paths: ----------- trunk/Documents/howto-release.txt Added: trunk/Documents/howto-release.txt =================================================================== --- trunk/Documents/howto-release.txt (rev 0) +++ trunk/Documents/howto-release.txt 2008-04-17 16:41:31 UTC (rev 127) @@ -0,0 +1,31 @@ +Release-Management + +A Release should contain at least the following parts: +- The Application +- User documentation (e.g. Readme, Javadoc, Howto) +- CHANGES file containing the changes from the SF-wiki / SF-tracker +- RELEASE file containing the release notes +- The License + +A Release should be named after the following pattern: +<major number>.<minor number>.<bugfix number>[-releasetype] +The major number should be increased if, for example, the GUI is replaced or +core modules are redesigned. The minor number should be even if the version is +under development/unstable. The minor number should be odd if the version is +stable. The bugfix number should only be used for security related patches. The +releasetype is optional and could be Alpha, Beta, RC or Release. + +Update these files before the release: +- Constant.java (Version) +- build-user.xml (Version) + +Release steps: +- Set the version number according to the above defined pattern and check in. +- Tag the release (SVN). +- After the tagging is done, change the version number again. +- Build the release +- Check the release +- Create CHANGES file +- Create RELEASE file +- Upload the release to ftp://upload.sourceforge.net/incoming +- Login on SF.NET, got to "Admin->File Releases" and add the release. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 16:35:31
|
Revision: 126 http://davinspector.svn.sourceforge.net/davinspector/?rev=126&view=rev Author: wuest Date: 2008-04-17 09:35:23 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Added "select all" option to the popup menu of the raw pane. Copy & Paste now working correct. Modified Paths: -------------- trunk/DAVInspector/resource/TextBundle.properties trunk/DAVInspector/resource/TextBundle_de_DE.properties trunk/DAVInspector/src/de/dlr/davinspector/ui/JRawTextPane.java Modified: trunk/DAVInspector/resource/TextBundle.properties =================================================================== --- trunk/DAVInspector/resource/TextBundle.properties 2008-04-17 14:45:46 UTC (rev 125) +++ trunk/DAVInspector/resource/TextBundle.properties 2008-04-17 16:35:23 UTC (rev 126) @@ -35,6 +35,8 @@ ac_cut_description=Cut ac_copy=Copy ac_copy_description=Copy +ac_select_all=Select all +ac_select_all_description=Select all ac_saveas=Save as ... ac_saveas_description=Save text in a file #save as dialog file chooser Modified: trunk/DAVInspector/resource/TextBundle_de_DE.properties =================================================================== --- trunk/DAVInspector/resource/TextBundle_de_DE.properties 2008-04-17 14:45:46 UTC (rev 125) +++ trunk/DAVInspector/resource/TextBundle_de_DE.properties 2008-04-17 16:35:23 UTC (rev 126) @@ -35,6 +35,8 @@ ac_cut_description=Text ausschneiden und in die Zwischenablage einf\xFCgen ac_copy=Kopieren ac_copy_description=Text in die Zwischenablage einf\xFCgen +ac_select_all=Alles ausw\xE4hlen +ac_select_all_description=Alles ausw\xE4hlen ac_saveas=Speichern unter ... ac_saveas_description=Text in einer Datei speichern #save as dialog file chooser Modified: trunk/DAVInspector/src/de/dlr/davinspector/ui/JRawTextPane.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/ui/JRawTextPane.java 2008-04-17 14:45:46 UTC (rev 125) +++ trunk/DAVInspector/src/de/dlr/davinspector/ui/JRawTextPane.java 2008-04-17 16:35:23 UTC (rev 126) @@ -97,28 +97,17 @@ public void actionPerformed(ActionEvent e) { // paste - int pos = getCaretPosition(); - int start = getSelectionStart(); - int end = getSelectionEnd(); - Transferable content = myClipboard.getContents(this); if (content != null) { try { String s = (String) content.getTransferData(DataFlavor.stringFlavor); - if ((start >= 0) && (end >= 0) && (start < end)) { - // some text is selected, overwrite with clip board - setText(getText(0, start) + s + getText(end, getText().length() - end)); - } else { - // no text selected, insert clip board at cursor - setText(getText(0, pos) + s + getText(pos, getText().length() - pos)); + if (s.length() > 0) { + replaceSelection(s); } - // TODO: place the cursor at the end of the edited text } catch (IOException ioe) { myLogger.error(ioe.getMessage(), ioe); } catch (UnsupportedFlavorException usfe) { myLogger.error(usfe.getMessage(), usfe); - } catch (BadLocationException ble) { - myLogger.error(ble.getMessage(), ble); } } } @@ -138,11 +127,11 @@ public void actionPerformed(ActionEvent e) { // copy int start = getSelectionStart(); - int end = getSelectionEnd(); + int end = getSelectionEnd(); + try { StringSelection content = new StringSelection(getText(start, end - start)); myClipboard.setContents(content, myRawTextPane); - setText(getText(0, start) + getText(end, getText().length() - end)); } catch (IllegalStateException ise) { myLogger.error(ise.getMessage(), ise); } catch (BadLocationException ble) { @@ -164,11 +153,13 @@ public void actionPerformed(ActionEvent e) { // cut - int start = getSelectionStart(); - int end = getSelectionEnd(); + int cutStart = getSelectionStart(); + int cutEnd = getSelectionEnd(); + try { - StringSelection content = new StringSelection(getText(start, end - start)); - myClipboard.setContents(content, myRawTextPane); + StringSelection content = new StringSelection(getText(cutStart, cutEnd - cutStart)); + myClipboard.setContents(content, myRawTextPane); + replaceSelection(""); } catch (IllegalStateException ise) { myLogger.error(ise.getMessage(), ise); } catch (BadLocationException ble) { @@ -227,6 +218,26 @@ }; /** + * Action: Select all. + */ + private Action selectAllAction = new AbstractAction() { + static final long serialVersionUID = 1L; + { + putValue(Action.NAME, Internationalization.getTranslation("ac_select_all")); + putValue(Action.SHORT_DESCRIPTION, Internationalization.getTranslation("ac_select_all_description")); + } + + public void actionPerformed(ActionEvent e) { + // select all + try { + selectAll(); + } catch (IllegalStateException ise) { + myLogger.error(ise.getMessage(), ise); + } + } + }; + + /** * Constructor of JRawTextPane. * * @param direction Direction the text pane is used for displaying content (client or server). @@ -247,6 +258,7 @@ myJPopupMenu.add(new JMenuItem(cutAction)); myJPopupMenu.add(new JMenuItem(copyAction)); myJPopupMenu.add(new JMenuItem(pasteAction)); + myJPopupMenu.add(new JMenuItem(selectAllAction)); myJPopupMenu.add(new JMenuItem(saveAsAction)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 14:46:12
|
Revision: 125 http://davinspector.svn.sourceforge.net/davinspector/?rev=125&view=rev Author: wuest Date: 2008-04-17 07:45:46 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Added release target to build file. Modified Paths: -------------- trunk/DAVInspector/build-user.xml Modified: trunk/DAVInspector/build-user.xml =================================================================== --- trunk/DAVInspector/build-user.xml 2008-04-17 13:08:50 UTC (rev 124) +++ trunk/DAVInspector/build-user.xml 2008-04-17 14:45:46 UTC (rev 125) @@ -2,7 +2,7 @@ <?eclipse.ant.import?> <project> <property name="project.name" value="DAVInspector"/> - <property name="project.version" value="0.1"/> + <property name="project.version" value="1.0-RC1-dev"/> <target name="dist" description="Generates distribution in subdirectory dist"> <!-- Handle OS-specific properties --> @@ -95,4 +95,8 @@ </copy> </target> + + <target name="release" depends="dist,linux,win32,os-independent"> + <zip destfile="${project.name}-${project.version}.zip" basedir="${dist}" /> + </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: <kil...@us...> - 2008-04-17 13:09:25
|
Revision: 124 http://davinspector.svn.sourceforge.net/davinspector/?rev=124&view=rev Author: killerjoe Date: 2008-04-17 06:08:50 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Removed dates from download.html. Modified Paths: -------------- trunk/www/download.html Modified: trunk/www/download.html =================================================================== --- trunk/www/download.html 2008-04-17 12:57:17 UTC (rev 123) +++ trunk/www/download.html 2008-04-17 13:08:50 UTC (rev 124) @@ -20,7 +20,6 @@ <p> <h2>Release</h2> - <p class="meta">17.04.2008</p> <p> To build or run DAVInspector you need a Java 2 Runtime Environment (JRE) with a version number 1.5.0 and higher. You can download the JRE for a number of platforms from http://java.sun.com. <br /> If you want to build DAVInspector you additionally need a recent version of the Jakarta Ant build tool. You can download Ant from http://jakarta.apache.org. @@ -28,7 +27,6 @@ <p> </p> <h2>Get a stable version of DAVInspector</h2> - <p class="meta">17.04.2008</p> <p> <a href="http://sourceforge.net/project/showfiles.php?group_id=206242&package_id=246714&release_id=592882">Download</a> the latest stable release build of DAVInspector from SF.NET <a href="http://sourceforge.net/project/showfiles.php?group_id=206242&package_id=246714&release_id=592882">download page</a>. </p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-17 12:57:26
|
Revision: 123 http://davinspector.svn.sourceforge.net/davinspector/?rev=123&view=rev Author: killerjoe Date: 2008-04-17 05:57:17 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Added RC1-release news and download to website. Modified Paths: -------------- trunk/www/download.html trunk/www/index.html Modified: trunk/www/download.html =================================================================== --- trunk/www/download.html 2008-04-17 12:17:59 UTC (rev 122) +++ trunk/www/download.html 2008-04-17 12:57:17 UTC (rev 123) @@ -18,6 +18,21 @@ <div id="content"> <h2><a href="#">Download DAVInspector</a></h2> <p> + +<h2>Release</h2> + <p class="meta">17.04.2008</p> + <p> +To build or run DAVInspector you need a Java 2 Runtime Environment (JRE) with a version number 1.5.0 and higher. You can download the JRE for a number of platforms from http://java.sun.com. <br /> +If you want to build DAVInspector you additionally need a recent version of the Jakarta Ant build tool. You can download Ant from http://jakarta.apache.org. + </p> + <p> </p> + +<h2>Get a stable version of DAVInspector</h2> + <p class="meta">17.04.2008</p> + <p> +<a href="http://sourceforge.net/project/showfiles.php?group_id=206242&package_id=246714&release_id=592882">Download</a> the latest stable release build of DAVInspector from SF.NET <a href="http://sourceforge.net/project/showfiles.php?group_id=206242&package_id=246714&release_id=592882">download page</a>. + </p> + <p> </p> </div> <div id="footer">© 2007-2008 <a href="http://www.dlr.de/sc">Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)</a> </div> Modified: trunk/www/index.html =================================================================== --- trunk/www/index.html 2008-04-17 12:17:59 UTC (rev 122) +++ trunk/www/index.html 2008-04-17 12:57:17 UTC (rev 123) @@ -27,8 +27,8 @@ <h2><a href="news.html">Latest news</a></h2> - <p class="meta">04.03.2008</p> - <p>DAVInspector is still in alpha phase...</p> + <p class="meta">17.04.2008</p> + <p>DAVInspector Release Candidate 1 released</p> <p> </p> <h2><a href="download.html">Download</a></h2> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-17 12:18:03
|
Revision: 122 http://davinspector.svn.sourceforge.net/davinspector/?rev=122&view=rev Author: killerjoe Date: 2008-04-17 05:17:59 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Moved LICENSE and README. Added Paths: ----------- trunk/DAVInspector/LICENSE trunk/DAVInspector/README.txt Removed Paths: ------------- trunk/Documents/LICENSE trunk/Documents/README.txt Copied: trunk/DAVInspector/LICENSE (from rev 121, trunk/Documents/LICENSE) =================================================================== --- trunk/DAVInspector/LICENSE (rev 0) +++ trunk/DAVInspector/LICENSE 2008-04-17 12:17:59 UTC (rev 122) @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 1999-2005 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. Copied: trunk/DAVInspector/README.txt (from rev 121, trunk/Documents/README.txt) =================================================================== --- trunk/DAVInspector/README.txt (rev 0) +++ trunk/DAVInspector/README.txt 2008-04-17 12:17:59 UTC (rev 122) @@ -0,0 +1,50 @@ + DAVInspector Readme +================================================================================ +About DAVInspector +------------------ +DAVInpector is a tool for debugging and monitoring HTTP and WebDAV capable applications. It is mainly written to help developers creating HTTP/WebDAV clients or servers, but could also be used by sysadmins. The open plugin technology makes it possible that in future other network protocols will be support too. + +DAVInspector is developed by employees of the the institution "Simulation and Software Technology" (SISTEC) at the German Aerospace Center DLR. + +We are happy about any support for this project - for example you might participate as a developer, bug reporter or simply by telling us your needs. Just visit our forums or join our mailing-lists on Sourceforge. + + +Starting DAVInspector +--------------------- +- Windows + +- Linux + java -jar davinspector.jar + +Please note that DAVnspector requires JAVA 5 or later. + + + + +Documentation +------------- +For Documentation please visit DAVInspectors main website: + http://davinspector.sourceforge.net/ + + + + +Bugs, Support, Help, Feature Requests +------------------------------------- +DAVInspector is an open volunteer project based on the spirit of the Open Development and Free Software. You can visit the project home, joind mailing lists and contribute ideas at SourceForge.net: + +http://sourceforge.net/projects/davinspector/ + + + + +License +------- +Copyright 2006 Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + Deleted: trunk/Documents/LICENSE =================================================================== --- trunk/Documents/LICENSE 2008-04-17 12:07:16 UTC (rev 121) +++ trunk/Documents/LICENSE 2008-04-17 12:17:59 UTC (rev 122) @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 1999-2005 The Apache Software Foundation - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. Deleted: trunk/Documents/README.txt =================================================================== --- trunk/Documents/README.txt 2008-04-17 12:07:16 UTC (rev 121) +++ trunk/Documents/README.txt 2008-04-17 12:17:59 UTC (rev 122) @@ -1,50 +0,0 @@ - DAVInspector Readme -================================================================================ -About DAVInspector ------------------- -DAVInpector is a tool for debugging and monitoring HTTP and WebDAV capable applications. It is mainly written to help developers creating HTTP/WebDAV clients or servers, but could also be used by sysadmins. The open plugin technology makes it possible that in future other network protocols will be support too. - -DAVInspector is developed by employees of the the institution "Simulation and Software Technology" (SISTEC) at the German Aerospace Center DLR. - -We are happy about any support for this project - for example you might participate as a developer, bug reporter or simply by telling us your needs. Just visit our forums or join our mailing-lists on Sourceforge. - - -Starting DAVInspector ---------------------- -- Windows - -- Linux - java -jar davinspector.jar - -Please note that DAVnspector requires JAVA 5 or later. - - - - -Documentation -------------- -For Documentation please visit DAVInspectors main website: - http://davinspector.sourceforge.net/ - - - - -Bugs, Support, Help, Feature Requests -------------------------------------- -DAVInspector is an open volunteer project based on the spirit of the Open Development and Free Software. You can visit the project home, joind mailing lists and contribute ideas at SourceForge.net: - -http://sourceforge.net/projects/davinspector/ - - - - -License -------- -Copyright 2006 Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 12:07:20
|
Revision: 121 http://davinspector.svn.sourceforge.net/davinspector/?rev=121&view=rev Author: wuest Date: 2008-04-17 05:07:16 -0700 (Thu, 17 Apr 2008) Log Message: ----------- DAVI Release Candidate 1 Added Paths: ----------- tags/DAVInspector-1.0-RC1/ Copied: tags/DAVInspector-1.0-RC1 (from rev 120, trunk/DAVInspector) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 12:05:38
|
Revision: 120 http://davinspector.svn.sourceforge.net/davinspector/?rev=120&view=rev Author: wuest Date: 2008-04-17 05:05:35 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Changed Version number to 1.0-RC1 Modified Paths: -------------- trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java Modified: trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java 2008-04-17 09:49:25 UTC (rev 119) +++ trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java 2008-04-17 12:05:35 UTC (rev 120) @@ -88,7 +88,7 @@ public static final String APP_TITLE = "DAVInspector"; /** Version of the application. */ - public static final String APP_VERSION = "0.1"; + public static final String APP_VERSION = "1.0-RC1"; /** Filename of the configuration file. */ public static final String APP_CONFIGURATION_FILENAME = "config.properties"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 09:56:28
|
Revision: 119 http://davinspector.svn.sourceforge.net/davinspector/?rev=119&view=rev Author: wuest Date: 2008-04-17 02:49:25 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Corrected errors during relay restart or stopping. If you change the configuration of the relay you have to restart the relay manually. Otherwise the changes will have no effect. Modified Paths: -------------- trunk/DAVInspector/src/de/dlr/davinspector/relay/ChannelThread.java trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayModel.java trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayThread.java trunk/DAVInspector/src/de/dlr/davinspector/ui/ConfigurationDialog.java trunk/DAVInspector/src/de/dlr/davinspector/ui/MainController.java trunk/DAVInspector/src/de/dlr/davinspector/ui/MainView.java Modified: trunk/DAVInspector/src/de/dlr/davinspector/relay/ChannelThread.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/relay/ChannelThread.java 2008-04-17 07:24:17 UTC (rev 118) +++ trunk/DAVInspector/src/de/dlr/davinspector/relay/ChannelThread.java 2008-04-17 09:49:25 UTC (rev 119) @@ -29,7 +29,6 @@ import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; -import java.net.SocketException; import org.apache.log4j.Logger; @@ -57,6 +56,12 @@ private Socket myOutputSocket; /** */ + private InputStream myInputStream; + + /** */ + private OutputStream myOutputStream; + + /** */ private boolean myDone = false; /** */ @@ -82,6 +87,12 @@ myInputSocket = inputSocket; myOutputSocket = outputSocket; myRelayThread = relayThread; + try { + myInputStream = myInputSocket.getInputStream(); + myOutputStream = myOutputSocket.getOutputStream(); + } catch (IOException ioe) { + myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); + } } /** @@ -94,46 +105,24 @@ int count = Constant.EOF; try { - InputStream in = myInputSocket.getInputStream(); - try { - count = in.read(buffer); - while ((count != Constant.EOF) && !isInterrupted()) { - synchronized (myRelayThread) { - // INFO: add encoding to configuration and set encoding from configuration - myLogger.debug(myThreadName + COLON + "Got input " + myDirection); - - myRelayThread.newData(new String(buffer, 0, count, "utf-8"), myDirection); - } - count = in.read(buffer); + count = myInputStream.read(buffer); + while ((count != Constant.EOF) && !isInterrupted()) { + synchronized (myRelayThread) { + // INFO: add encoding to configuration and set encoding from configuration + myLogger.debug(myThreadName + COLON + "Got input " + myDirection); + myRelayThread.newData(new String(buffer, 0, count, "utf-8"), myDirection); } - } catch (IOException ioe) { - myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); - } finally { - myLogger.debug(myThreadName + COLON + "Flushing " + activeCount()); - flushOut(); + // INFO: if shutdown is forced, receive fails... + count = myInputStream.read(buffer); } } catch (IOException ioe) { - myLogger.error(myThreadName + ioe.getMessage(), ioe); + myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); + } finally { + flushOut(); } synchronized (myRelayThread) { - myLogger.debug(myThreadName + COLON + "Done " + activeCount()); - myDone = true; - try { - if ((myPeer == null) || myPeer.isDone()) { - // if the peer is already closed or has transferred all data, shutdown - myInputSocket.close(); - myOutputSocket.close(); - // TODO: irgendwie mitteilen, dass sockets nun geschlossen sind - myLogger.debug(myThreadName + COLON + "Closing sockets " + activeCount()); - } else { - // signal the peer we are done - myPeer.interrupt(); - myLogger.debug(myThreadName + COLON + "Interrupting peer " + activeCount()); - } - } catch (IOException ioe) { - myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); - } + shutdown(); } } @@ -182,12 +171,11 @@ public void write(String data) { try { myLogger.debug(myThreadName + COLON + "Writing data"); - OutputStream out = myOutputSocket.getOutputStream(); if (isChunked(data)) { - sendChunkedData(out, data); + sendChunkedData(data); } else { - out.write(data.getBytes()); - out.flush(); + myOutputStream.write(data.getBytes()); + myOutputStream.flush(); } } catch (IOException ioe) { myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); @@ -198,10 +186,9 @@ * This method flushes the output stream. */ private void flushOut() { + myLogger.debug(myThreadName + COLON + "Flushing " + activeCount()); try { - myOutputSocket.getOutputStream().flush(); - } catch (SocketException se) { - myLogger.error(myThreadName + COLON + se.getMessage(), se); + myOutputStream.flush(); } catch (IOException ioe) { myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); } @@ -245,10 +232,9 @@ /** * Sends the chunked Data. Each chunk is send separately. * - * @param outStream Socket to stream the data to. * @param data String with the data to send. */ - private void sendChunkedData(OutputStream outStream, String data) { + private void sendChunkedData(String data) { String buffer = ""; Boolean header = true; @@ -273,11 +259,37 @@ buffer = chunkLength + buffer; } - outStream.write(buffer.getBytes()); - outStream.flush(); + myOutputStream.write(buffer.getBytes()); + myOutputStream.flush(); } catch (IOException ioe) { myLogger.error(myThreadName + COLON + ioe.getMessage(), ioe); } } } + + /** + * This method flushes the output buffers and tries to close the sockets and streams. + * If the peer is not ready and done yet, the peer is interrupted. + */ + public void shutdown() { + myLogger.debug(myThreadName + COLON + "Shutting down " + activeCount()); + myDone = true; + try { + if ((myPeer == null) || myPeer.isDone()) { + // if the peer is already closed or has transferred all data, shutdown + myInputStream.close(); + myOutputStream.close(); + myLogger.debug(myThreadName + COLON + "Closing streams"); + myInputSocket.close(); + myOutputSocket.close(); + myLogger.debug(myThreadName + COLON + "Closing sockets " + activeCount()); + } else { + // signal the peer we are done + myPeer.interrupt(); + myLogger.debug(myThreadName + COLON + "Interrupting peer " + activeCount()); + } + } catch (IOException ioe) { + myLogger.debug(myThreadName + COLON + ioe.getMessage(), ioe); + } + } } Modified: trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayModel.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayModel.java 2008-04-17 07:24:17 UTC (rev 118) +++ trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayModel.java 2008-04-17 09:49:25 UTC (rev 119) @@ -245,7 +245,9 @@ * @see de.dlr.davinspector.relay.IRelayModel#stopRelay() */ public void stopRelay() { - theRelay.stopRelay(); + if (theRelay != null) { + theRelay.stopRelay(); + } theRelay = null; myStateRelay = false; } Modified: trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayThread.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayThread.java 2008-04-17 07:24:17 UTC (rev 118) +++ trunk/DAVInspector/src/de/dlr/davinspector/relay/RelayThread.java 2008-04-17 09:49:25 UTC (rev 119) @@ -74,7 +74,7 @@ /** */ private Boolean isActive = false; - + /** * The constructor of the RelayThread. * @@ -143,7 +143,7 @@ } } } catch (IOException ioe) { - myLogger.error(ioe.getMessage(), ioe); + myLogger.debug(ioe.getMessage(), ioe); } } @@ -153,21 +153,15 @@ * @see de.dlr.davinspector.relay.IRelayThread#stopRelay() */ public void stopRelay() { - myLogger.debug("Stopping stage: Active -> false " + activeCount()); synchronized (lock) { isActive = false; - clientToServerChannel.interrupt(); - serverToClientChannel.interrupt(); + myLogger.debug("Stopping stage: Shutting down ChannelThreads " + activeCount()); + serverToClientChannel.shutdown(); + clientToServerChannel.shutdown(); } try { - clientToServerChannel.join(); - serverToClientChannel.join(); - } catch (InterruptedException ie) { - myLogger.debug(ie.getMessage(), ie); - } - this.interrupt(); - try { - myLogger.debug("Stopping stage: Closing Server Socket " + activeCount()); + // INFO: A "java.net.SocketException: socket closed" is thrown, but that's okay with us + myLogger.debug("Stopping stage: Closing Server Socket " + activeCount()); relayServerSocket.close(); } catch (IOException ioe) { myLogger.fatal(ioe.getMessage(), ioe); Modified: trunk/DAVInspector/src/de/dlr/davinspector/ui/ConfigurationDialog.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/ui/ConfigurationDialog.java 2008-04-17 07:24:17 UTC (rev 118) +++ trunk/DAVInspector/src/de/dlr/davinspector/ui/ConfigurationDialog.java 2008-04-17 09:49:25 UTC (rev 119) @@ -97,18 +97,13 @@ /** */ private JPanel jPanelGrid = null; - /** The View. */ - private MainView myMainView = null; - /** * Constructor of the configuration dialog. * * @param owner Frame - * @param main MainView */ - public ConfigurationDialog(Frame owner, MainView main) { + public ConfigurationDialog(Frame owner) { super(owner); - myMainView = main; initialize(); } @@ -219,8 +214,6 @@ config.setServerAddress(jTextFieldServerAddress.getText()); config.setServerPort(jTextFieldServerPort.getText()); config.storeConfiguration(); - // Restart the relay with the new configuration. - myMainView.restartRelay(); } /** Modified: trunk/DAVInspector/src/de/dlr/davinspector/ui/MainController.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/ui/MainController.java 2008-04-17 07:24:17 UTC (rev 118) +++ trunk/DAVInspector/src/de/dlr/davinspector/ui/MainController.java 2008-04-17 09:49:25 UTC (rev 119) @@ -84,6 +84,7 @@ * @see de.dlr.DAVInspector.UI.IMainController#stopRelay() */ public void disableRelay() { + shutdownActivePlugins(); myRelay.stopRelay(); myView.disableSendToActions(); } Modified: trunk/DAVInspector/src/de/dlr/davinspector/ui/MainView.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/ui/MainView.java 2008-04-17 07:24:17 UTC (rev 118) +++ trunk/DAVInspector/src/de/dlr/davinspector/ui/MainView.java 2008-04-17 09:49:25 UTC (rev 119) @@ -256,6 +256,7 @@ /** * Action: Open configuration dialog. + * TODO: Display active configuration in main window. */ private Action configureAction = new AbstractAction() { static final long serialVersionUID = 1L; @@ -267,7 +268,7 @@ public void actionPerformed(ActionEvent e) { if (myConfigDialog == null) { - myConfigDialog = new ConfigurationDialog(jFrame, myController.getView()); + myConfigDialog = new ConfigurationDialog(jFrame); } myConfigDialog.setVisible(true); } @@ -332,7 +333,6 @@ putValue(Action.SHORT_DESCRIPTION, Internationalization.getTranslation("ac_start_relay_description")); putValue(Action.SMALL_ICON, UIResource.getIcon(UIResource.ICON_START)); myRelayIsActive = false; - myController.shutdownActivePlugins(); myController.disableRelay(); } else { putValue(Action.NAME, Internationalization.getTranslation("ac_stop_relay")); @@ -931,17 +931,8 @@ jSplitPaneHorizontal.repaint(); } } - + /** - * This method restarts the relay with the new configuration. - */ - public void restartRelay() { - myController.disableRelay(); - // ### wait - myController.enableRelay(); - } - - /** * This method initializes jSplitPaneVertical. * * @return javax.swing.JSplitPane This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-17 07:24:22
|
Revision: 118 http://davinspector.svn.sourceforge.net/davinspector/?rev=118&view=rev Author: wuest Date: 2008-04-17 00:24:17 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Deleted not working i18n statements. Modified Paths: -------------- trunk/DAVInspector/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java Modified: trunk/DAVInspector/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java 2008-04-16 12:21:28 UTC (rev 117) +++ trunk/DAVInspector/src/de/dlr/davinspector/plugins/recordingplugin/RecordingPlugin.java 2008-04-17 07:24:17 UTC (rev 118) @@ -48,13 +48,6 @@ */ public class RecordingPlugin implements IViewPlugin { -// /** The resource bundle. */ -// static final ResourceBundle RESOURCE_BUNDLE = -// ResourceBundle.getBundle(RecordingPlugin.class.getPackage() + "." + "TextBundle", Locale.getDefault()); - -// /** */ -// private static final String PACKAGENAME = RecordingPlugin.class.getPackage().getName(); - /** State of the plugin. */ private Boolean isActive = true; @@ -112,9 +105,7 @@ * @see de.dlr.davinspector.plugin.IPlugin#getName() */ public String getName() { -// return RESOURCE_BUNDLE.getString("plugin_name"); -// return Internationalization.getTranslationPlugin(PACKAGENAME, "plugin_name"); - return "Test"; + return "RecordingPlugin"; } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-16 12:21:58
|
Revision: 117 http://davinspector.svn.sourceforge.net/davinspector/?rev=117&view=rev Author: killerjoe Date: 2008-04-16 05:21:28 -0700 (Wed, 16 Apr 2008) Log Message: ----------- Added required java version in README. Modified Paths: -------------- trunk/Documents/README.txt Modified: trunk/Documents/README.txt =================================================================== --- trunk/Documents/README.txt 2008-04-16 11:47:32 UTC (rev 116) +++ trunk/Documents/README.txt 2008-04-16 12:21:28 UTC (rev 117) @@ -16,7 +16,7 @@ - Linux java -jar davinspector.jar -WELCHE JAVA VERSION MINDESTENS? +Please note that DAVnspector requires JAVA 5 or later. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-16 11:58:45
|
Revision: 116 http://davinspector.svn.sourceforge.net/davinspector/?rev=116&view=rev Author: killerjoe Date: 2008-04-16 04:47:32 -0700 (Wed, 16 Apr 2008) Log Message: ----------- Updated releaseplan. Modified Paths: -------------- trunk/Documents/DAVInspector_Releaseplan.mm Modified: trunk/Documents/DAVInspector_Releaseplan.mm =================================================================== --- trunk/Documents/DAVInspector_Releaseplan.mm 2008-04-14 15:44:22 UTC (rev 115) +++ trunk/Documents/DAVInspector_Releaseplan.mm 2008-04-16 11:47:32 UTC (rev 116) @@ -13,15 +13,19 @@ release guide </p> </body> -</html> -</richcontent> +</html></richcontent> <font NAME="SansSerif" SIZE="20"/> <hook NAME="accessories/plugins/AutomaticLayout.properties"/> -<node COLOR="#0033ff" CREATED="1207688054427" HGAP="32" ID="ID_291581825" MODIFIED="1207688888843" POSITION="right" TEXT="Version number?" VSHIFT="-20"> +<node COLOR="#0033ff" CREATED="1207688054427" HGAP="32" ID="ID_291581825" MODIFIED="1208346344421" POSITION="right" TEXT="Version number" VSHIFT="-20"> <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-1"/> +<node COLOR="#00b439" CREATED="1208346345187" ID="ID_1399865566" MODIFIED="1208346356406" TEXT="1.0 alpha"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +<icon BUILTIN="help"/> </node> +</node> <node COLOR="#0033ff" CREATED="1207688062310" HGAP="30" ID="ID_1840373071" MODIFIED="1207688893933" POSITION="right" TEXT="Code changes" VSHIFT="35"> <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> @@ -39,7 +43,7 @@ <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-3"/> -<node COLOR="#00b439" CREATED="1207688248343" ID="ID_1564232314" MODIFIED="1207688444924" TEXT="CHANGES"> +<node COLOR="#00b439" CREATED="1207688248343" ID="ID_1564232314" MODIFIED="1208346412000" TEXT="CHANGES (moved to wiki)"> <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> @@ -47,7 +51,7 @@ <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> -<node COLOR="#00b439" CREATED="1207688474399" ID="ID_152244746" MODIFIED="1207688480017" TEXT="README"> +<node COLOR="#00b439" CREATED="1207688474399" ID="ID_152244746" MODIFIED="1208346333171" TEXT="README"> <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> @@ -61,6 +65,14 @@ <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-4"/> +<node COLOR="#00b439" CREATED="1208346305484" ID="ID_1060295690" MODIFIED="1208346309109" TEXT="Freshmeat"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> </node> +<node COLOR="#00b439" CREATED="1208346309390" ID="ID_1621240162" MODIFIED="1208346313546" TEXT="sf.net"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> </node> +</node> +</node> </map> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-14 15:44:29
|
Revision: 115 http://davinspector.svn.sourceforge.net/davinspector/?rev=115&view=rev Author: killerjoe Date: 2008-04-14 08:44:22 -0700 (Mon, 14 Apr 2008) Log Message: ----------- Added first version of README and LICENSE file. Added Paths: ----------- trunk/Documents/LICENSE trunk/Documents/README.txt Added: trunk/Documents/LICENSE =================================================================== --- trunk/Documents/LICENSE (rev 0) +++ trunk/Documents/LICENSE 2008-04-14 15:44:22 UTC (rev 115) @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 1999-2005 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. Added: trunk/Documents/README.txt =================================================================== --- trunk/Documents/README.txt (rev 0) +++ trunk/Documents/README.txt 2008-04-14 15:44:22 UTC (rev 115) @@ -0,0 +1,50 @@ + DAVInspector Readme +================================================================================ +About DAVInspector +------------------ +DAVInpector is a tool for debugging and monitoring HTTP and WebDAV capable applications. It is mainly written to help developers creating HTTP/WebDAV clients or servers, but could also be used by sysadmins. The open plugin technology makes it possible that in future other network protocols will be support too. + +DAVInspector is developed by employees of the the institution "Simulation and Software Technology" (SISTEC) at the German Aerospace Center DLR. + +We are happy about any support for this project - for example you might participate as a developer, bug reporter or simply by telling us your needs. Just visit our forums or join our mailing-lists on Sourceforge. + + +Starting DAVInspector +--------------------- +- Windows + +- Linux + java -jar davinspector.jar + +WELCHE JAVA VERSION MINDESTENS? + + + + +Documentation +------------- +For Documentation please visit DAVInspectors main website: + http://davinspector.sourceforge.net/ + + + + +Bugs, Support, Help, Feature Requests +------------------------------------- +DAVInspector is an open volunteer project based on the spirit of the Open Development and Free Software. You can visit the project home, joind mailing lists and contribute ideas at SourceForge.net: + +http://sourceforge.net/projects/davinspector/ + + + + +License +------- +Copyright 2006 Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-09 12:49:24
|
Revision: 114 http://davinspector.svn.sourceforge.net/davinspector/?rev=114&view=rev Author: wuest Date: 2008-04-09 05:36:34 -0700 (Wed, 09 Apr 2008) Log Message: ----------- Added "export all" option to export dialog. Modified Paths: -------------- trunk/DAVInspector/resource/TextBundle.properties trunk/DAVInspector/resource/TextBundle_de_DE.properties trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java trunk/DAVInspector/src/de/dlr/davinspector/history/MessageHistory.java trunk/DAVInspector/src/de/dlr/davinspector/ui/ExportDialog.java Modified: trunk/DAVInspector/resource/TextBundle.properties =================================================================== --- trunk/DAVInspector/resource/TextBundle.properties 2008-04-09 11:38:30 UTC (rev 113) +++ trunk/DAVInspector/resource/TextBundle.properties 2008-04-09 12:36:34 UTC (rev 114) @@ -77,6 +77,7 @@ dlg_export_label_file=File dlg_export_radio_client=Export Client Messages dlg_export_radio_server=Export Server Messages +dlg_export_radio_all=Export All Messages dlg_export_save_dialog_title=Save Export to ... #PluginConfigurationTableModel Modified: trunk/DAVInspector/resource/TextBundle_de_DE.properties =================================================================== --- trunk/DAVInspector/resource/TextBundle_de_DE.properties 2008-04-09 11:38:30 UTC (rev 113) +++ trunk/DAVInspector/resource/TextBundle_de_DE.properties 2008-04-09 12:36:34 UTC (rev 114) @@ -86,6 +86,7 @@ dlg_export_label_file=Datei dlg_export_radio_client=Exportiere Client-Nachrichten dlg_export_radio_server=Exportiere Server-Nachrichten +dlg_export_radio_all=Exportiere alle Nachrichten dlg_export_save_dialog_title=Speichere Export unter ... #HistoryTableModel Modified: trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java 2008-04-09 11:38:30 UTC (rev 113) +++ trunk/DAVInspector/src/de/dlr/davinspector/common/Constant.java 2008-04-09 12:36:34 UTC (rev 114) @@ -141,6 +141,9 @@ /** Basis of the hexadecimal number system. */ public static final int HEX_RADIX = 16; + /** Delimiter for export of messages. */ + public static final String EXPORT_DELIMITER = LFCR + LFCR + LFCR; + /** * Indicates the direction of the message. * @@ -151,7 +154,9 @@ /** From client to server. */ ClientToServer, /** From server to client. */ - ServerToClient + ServerToClient, + /** All messages, don't mind the direction. */ + DontCare } /** Modified: trunk/DAVInspector/src/de/dlr/davinspector/history/MessageHistory.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/history/MessageHistory.java 2008-04-09 11:38:30 UTC (rev 113) +++ trunk/DAVInspector/src/de/dlr/davinspector/history/MessageHistory.java 2008-04-09 12:36:34 UTC (rev 114) @@ -34,6 +34,7 @@ import javax.swing.event.EventListenerList; +import de.dlr.davinspector.common.Constant; import de.dlr.davinspector.common.Constant.Direction; import de.dlr.davinspector.common.Util; @@ -89,10 +90,11 @@ FileOutputStream out = new FileOutputStream(file); for (Iterator<AMessage> iterator = myMessages.iterator(); iterator.hasNext();) { AMessage message = (AMessage) iterator.next(); - if (message.getDirection() == direction) { + if (message.getDirection() == direction || direction == Direction.DontCare) { // INFO: maybe let the user choose to export full data, only headers or body ... - // TODO: write delimiter for export buffer = message.getRawData(); + // INFO: let the user choose a delimiter for export + buffer += Constant.EXPORT_DELIMITER; out.write(buffer.getBytes()); } } Modified: trunk/DAVInspector/src/de/dlr/davinspector/ui/ExportDialog.java =================================================================== --- trunk/DAVInspector/src/de/dlr/davinspector/ui/ExportDialog.java 2008-04-09 11:38:30 UTC (rev 113) +++ trunk/DAVInspector/src/de/dlr/davinspector/ui/ExportDialog.java 2008-04-09 12:36:34 UTC (rev 114) @@ -95,6 +95,9 @@ private JRadioButton jRadioButtonServer = new JRadioButton(); /** */ + private JRadioButton jRadioButtonAll = new JRadioButton(); + + /** */ private JPanel jPanelButtonBar = null; /** */ @@ -200,6 +203,8 @@ String side = "_server_"; if (jRadioButtonClient.isSelected()) { side = "_client_"; + } else if (jRadioButtonAll.isSelected()) { + side = "_all_"; } return path + "export" + side + dateFormat.format(now) + ".rec"; } @@ -240,8 +245,10 @@ private Direction getDirection() { if (jRadioButtonClient.isSelected()) { return Direction.ClientToServer; + } else if (jRadioButtonServer.isSelected()) { + return Direction.ServerToClient; } else { - return Direction.ServerToClient; + return Direction.DontCare; } } @@ -310,6 +317,14 @@ } }); + buttonGroup.add(jRadioButtonAll); + jRadioButtonAll.setText(Internationalization.getTranslation("dlg_export_radio_all")); + jRadioButtonAll.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jTextField.setText(getDefaultFileName()); + } + }); + jLabel.setText(Internationalization.getTranslation("dlg_export_label_file") + ':'); jTextField.setText(getDefaultFileName()); jButton.setText("..."); @@ -329,6 +344,7 @@ .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addComponent(jRadioButtonClient) .addComponent(jRadioButtonServer) + .addComponent(jRadioButtonAll) .addGroup(layout.createSequentialGroup() .addComponent(jTextField, GroupLayout.DEFAULT_SIZE, Byte.MAX_VALUE * 3, Short.MAX_VALUE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) @@ -345,7 +361,9 @@ .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(jRadioButtonClient) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jRadioButtonServer)) + .addComponent(jRadioButtonServer) + .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jRadioButtonAll)) ); } return jPanelExport; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wu...@us...> - 2008-04-09 11:39:13
|
Revision: 113 http://davinspector.svn.sourceforge.net/davinspector/?rev=113&view=rev Author: wuest Date: 2008-04-09 04:38:30 -0700 (Wed, 09 Apr 2008) Log Message: ----------- New Design from Malte Modified Paths: -------------- trunk/www/development.html trunk/www/download.html trunk/www/index.html trunk/www/news.html trunk/www/overview.html Added Paths: ----------- trunk/www/style/ trunk/www/style/background-x.gif trunk/www/style/logo.gif trunk/www/style/style.css Removed Paths: ------------- trunk/www/style.css Modified: trunk/www/development.html =================================================================== --- trunk/www/development.html 2008-04-08 21:22:36 UTC (rev 112) +++ trunk/www/development.html 2008-04-09 11:38:30 UTC (rev 113) @@ -5,13 +5,14 @@ <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> + <link rel="stylesheet" type="text/css" href="style/style.css" media="screen"> </head> <body> <div id="wrap"> <div id="header"> - <h1><a href="#">DAVInspector</a></h1> + <h1>DAVInspector</h1> <h2>HTTP and WebDAV test- and debugging tool. </h2> + <div id="logo"> </div> </div> <div id="menu"> <a href="index.html">Home</a> <a href="overview.html">Overview</a> <a href="news.html">News</a> <a href="download.html">Download</a> <a href="development.html">Development</a></div> <div id="content"> Modified: trunk/www/download.html =================================================================== --- trunk/www/download.html 2008-04-08 21:22:36 UTC (rev 112) +++ trunk/www/download.html 2008-04-09 11:38:30 UTC (rev 113) @@ -5,13 +5,14 @@ <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> + <link rel="stylesheet" type="text/css" href="style/style.css" media="screen"> </head> <body> <div id="wrap"> <div id="header"> - <h1><a href="#">DAVInspector</a></h1> + <h1>DAVInspector</h1> <h2>HTTP and WebDAV test- and debugging tool. </h2> + <div id="logo"> </div> </div> <div id="menu"> <a href="index.html">Home</a> <a href="overview.html">Overview</a> <a href="news.html">News</a> <a href="download.html">Download</a> <a href="development.html">Development</a></div> <div id="content"> Modified: trunk/www/index.html =================================================================== --- trunk/www/index.html 2008-04-08 21:22:36 UTC (rev 112) +++ trunk/www/index.html 2008-04-09 11:38:30 UTC (rev 113) @@ -5,13 +5,14 @@ <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> + <link rel="stylesheet" type="text/css" href="style/style.css" media="screen"> </head> <body> <div id="wrap"> <div id="header"> - <h1><a href="#">DAVInspector</a></h1> + <h1>DAVInspector</h1> <h2>HTTP and WebDAV test- and debugging tool. </h2> + <div id="logo"> </div> </div> <div id="menu"> <a href="index.html">Home</a> <a href="overview.html">Overview</a> <a href="news.html">News</a> <a href="download.html">Download</a> <a href="development.html">Development</a></div> <div id="content"> Modified: trunk/www/news.html =================================================================== --- trunk/www/news.html 2008-04-08 21:22:36 UTC (rev 112) +++ trunk/www/news.html 2008-04-09 11:38:30 UTC (rev 113) @@ -5,13 +5,14 @@ <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> + <link rel="stylesheet" type="text/css" href="style/style.css" media="screen"> </head> <body> <div id="wrap"> <div id="header"> - <h1><a href="#">DAVInspector</a></h1> + <h1>DAVInspector</h1> <h2>HTTP and WebDAV test- and debugging tool. </h2> + <div id="logo"> </div> </div> <div id="menu"> <a href="index.html">Home</a> <a href="overview.html">Overview</a> <a href="news.html">News</a> <a href="download.html">Download</a> <a href="development.html">Development</a></div> <div id="content"> Modified: trunk/www/overview.html =================================================================== --- trunk/www/overview.html 2008-04-08 21:22:36 UTC (rev 112) +++ trunk/www/overview.html 2008-04-09 11:38:30 UTC (rev 113) @@ -5,13 +5,14 @@ <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> + <link rel="stylesheet" type="text/css" href="style/style.css" media="screen"> </head> <body> <div id="wrap"> <div id="header"> - <h1><a href="#">DAVInspector</a></h1> + <h1>DAVInspector</h1> <h2>HTTP and WebDAV test- and debugging tool. </h2> + <div id="logo"> </div> </div> <div id="menu"> <a href="index.html">Home</a> <a href="overview.html">Overview</a> <a href="news.html">News</a> <a href="download.html">Download</a> <a href="development.html">Development</a></div> <div id="content"> Added: trunk/www/style/background-x.gif =================================================================== (Binary files differ) Property changes on: trunk/www/style/background-x.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/www/style/logo.gif =================================================================== (Binary files differ) Property changes on: trunk/www/style/logo.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/www/style/style.css =================================================================== --- trunk/www/style/style.css (rev 0) +++ trunk/www/style/style.css 2008-04-09 11:38:30 UTC (rev 113) @@ -0,0 +1,144 @@ +* { +padding: 0; +margin: 0; +} + +body { +font: .10em tahoma,verdana,sans-serif; +background-color: #fff;background-repeat: repeat; +font-size:84%; +} + +a { +text-decoration: none; +color: #000; +} + +a:hover { +color: #000; +text-decoration : underline; +} + +#wrap +{ +margin: 0px auto; +width: 1000px; +padding: 10px; +} + + +#header +{ +position: relative; +width: 1000px; +height : 100px; +background-image: url(background-x.gif); +text-align:right; +} + +#header h1 { padding-right: 150px; padding-top: 12px; font-size: 30px; color: #000000; } +#header h1 a { font-size: 35px; color: #000000; text-decoration: none;} +#header h2 { padding-right: 150px; padding-top: 0px; font-size: 17px; color: #666666; } + +#logo { + position: absolute; + right: 20px; + top:5px; + width: 90px; + height : 90px; + background-image: url(logo.gif); + background-repeat: no-repeat; + +} + +#menu { +text-align: left; +margin-top: 0px; +font-size : 14px; +padding:2px; +font-weight: bold; +font-family:tahoma,verdana,sans-serif; +border: 0px solid #D8E3EE; +background: #0f3250; +} + +#menu a { +color : #ffffff; +text-decoration : none; +padding: 10px; +} + +#menu a:hover { +color : #ffffff; +text-decoration : underline; +} + + +#content { +text-align: left; +margin-top: 5px; +padding: 13px; +font-size: 11px; +} + +#content h2 { +font-size: 17px; color : #000; +padding: 0 0 5px 0; +} + +#footer { +margin-top: 25px; +clear: both; +text-align: center; +color: #ffffff; +font-size:11px; +background-color:#576f85; +padding:2px; +} + +#footer a { +color : #ffffff; +text-decoration : none; +} + +#footer a:hover { +color : #ffffff; +text-decoration : underline; +} + +.meta { +padding-bottom:2px; +font-size: 12px; +color:#999999; +font:Arial, Helvetica, sans-serif; +} + +#bottom { + font-size:13px; + padding: 10px 0 0 0; +} + +#bottomleft { +width:45%; +float:left; +background:#fff; +padding-bottom:10px; +padding-left:5px; +} + + +#bottomright { +width:45%; +float:right; +background:#fff; +padding-bottom:10px; +padding-right:5px; +} + +#divider { +text-align: center; +font-size : 13px; +padding:2px; +font-weight: bold; +font-family:Arial, Helvetica, sans-serif; +} Deleted: trunk/www/style.css =================================================================== --- trunk/www/style.css 2008-04-08 21:22:36 UTC (rev 112) +++ trunk/www/style.css 2008-04-09 11:38:30 UTC (rev 113) @@ -1,120 +0,0 @@ -* { -padding: 0; -margin: 0; -} - -body { -font: .10em tahoma,verdana,sans-serif; -background-image: url(image/optsbg.gif); -background-repeat: repeat; -} - -a { -text-decoration: none; -color: #3B85CA; -} - -a:hover { -color: #000; -} - -#wrap -{ -margin: 20px auto; -width: 500px; -padding: 10px; -background-color: #fff; -} - - -#header -{ -height : 90px; -background-color : #A0DCF8; -text-align:center; -} - -#header h1 { padding-left: 10px; padding-top: 12px; font-size: 30px; color: #31799F; } -#header h1 a { font-size: 35px; color: #31799F; text-decoration: none;} -#header h2 { padding-left: 10px; padding-top: 0px; font-size: 17px; color: #fff; } - -#menu { -text-align: center; -margin-top: 10px; -font-size : 14px; -padding:2px; -font-weight: bold; -font-family:tahoma,verdana,sans-serif; -border: 0px solid #D8E3EE; -background: #F9FCFC; -} - -#menu a { -color : #3B85CA; -text-decoration : none; -padding: 10px; -} - -#menu a:hover { -color : #000; -} - - -#content { -text-align: left; -margin-top: 5px; -padding: 13px; -font-size: 11px; -} - -#content h2 { -font-size: 17px; color : #444; -padding: 0 0 5px 0; -} - -#footer { -margin-top: 25px; -clear: both; -text-align: center; -color: #fff; -font-size:11px; -background-color:#A0DCF8; -padding:2px; -} - -.meta { -padding-bottom:2px; -font-size: 12px; -color:#999999; -font:Arial, Helvetica, sans-serif; -} - -#bottom { - font-size:13px; - padding: 10px 0 0 0; -} - -#bottomleft { -width:45%; -float:left; -background:#fff; -padding-bottom:10px; -padding-left:5px; -} - - -#bottomright { -width:45%; -float:right; -background:#fff; -padding-bottom:10px; -padding-right:5px; -} - -#divider { -text-align: center; -font-size : 13px; -padding:2px; -font-weight: bold; -font-family:Arial, Helvetica, sans-serif; -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-08 21:22:44
|
Revision: 112 http://davinspector.svn.sourceforge.net/davinspector/?rev=112&view=rev Author: killerjoe Date: 2008-04-08 14:22:36 -0700 (Tue, 08 Apr 2008) Log Message: ----------- removed old test file Removed Paths: ------------- trunk/Documents/test.txt Deleted: trunk/Documents/test.txt =================================================================== --- trunk/Documents/test.txt 2008-04-08 21:11:04 UTC (rev 111) +++ trunk/Documents/test.txt 2008-04-08 21:22:36 UTC (rev 112) @@ -1 +0,0 @@ -Test \ 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: <kil...@us...> - 2008-04-08 21:11:10
|
Revision: 111 http://davinspector.svn.sourceforge.net/davinspector/?rev=111&view=rev Author: killerjoe Date: 2008-04-08 14:11:04 -0700 (Tue, 08 Apr 2008) Log Message: ----------- Updated version of a releaseguide. Modified Paths: -------------- trunk/Documents/DAVInspector_Releaseplan.mm Modified: trunk/Documents/DAVInspector_Releaseplan.mm =================================================================== --- trunk/Documents/DAVInspector_Releaseplan.mm 2008-04-08 21:02:38 UTC (rev 110) +++ trunk/Documents/DAVInspector_Releaseplan.mm 2008-04-08 21:11:04 UTC (rev 111) @@ -1,6 +1,6 @@ <map version="0.9.0_Beta_8"> <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net --> -<node COLOR="#000000" CREATED="1207688023156" ID="ID_1055769703" MODIFIED="1207688381827"> +<node COLOR="#000000" CREATED="1207688023156" ID="ID_1055769703" MODIFIED="1207688983422"> <richcontent TYPE="NODE"><html> <head> @@ -10,32 +10,32 @@ DAVInspector </p> <p style="text-align: center"> - Releaseplan + release guide </p> </body> </html> </richcontent> <font NAME="SansSerif" SIZE="20"/> <hook NAME="accessories/plugins/AutomaticLayout.properties"/> -<node COLOR="#0033ff" CREATED="1207688054427" ID="ID_291581825" MODIFIED="1207688168353" POSITION="right" TEXT="Versionsnummer?"> +<node COLOR="#0033ff" CREATED="1207688054427" HGAP="32" ID="ID_291581825" MODIFIED="1207688888843" POSITION="right" TEXT="Version number?" VSHIFT="-20"> <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-1"/> </node> -<node COLOR="#0033ff" CREATED="1207688062310" ID="ID_1840373071" MODIFIED="1207688170513" POSITION="right" TEXT="Codeänderungen"> +<node COLOR="#0033ff" CREATED="1207688062310" HGAP="30" ID="ID_1840373071" MODIFIED="1207688893933" POSITION="right" TEXT="Code changes" VSHIFT="35"> <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-2"/> -<node COLOR="#00b439" CREATED="1207688073301" ID="ID_261957720" MODIFIED="1207688083271" TEXT="Codestand taggen"> +<node COLOR="#00b439" CREATED="1207688461018" ID="ID_1286480592" MODIFIED="1207688913336" TEXT="Adding empty plugin"> <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> -<node COLOR="#00b439" CREATED="1207688461018" ID="ID_1286480592" MODIFIED="1207688472107" TEXT="Empty Plugin einpflegen"> +<node COLOR="#00b439" CREATED="1207688073301" ID="ID_261957720" MODIFIED="1207689011817" TEXT="Code tagging"> <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> </node> -<node COLOR="#0033ff" CREATED="1207688215958" ID="ID_1642439193" MODIFIED="1207688244568" POSITION="left" TEXT="Release-Dateien"> +<node COLOR="#0033ff" CREATED="1207688215958" HGAP="19" ID="ID_1642439193" MODIFIED="1207688922791" POSITION="left" TEXT="Release files" VSHIFT="-38"> <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-3"/> @@ -43,7 +43,7 @@ <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> -<node COLOR="#00b439" CREATED="1207688445419" ID="ID_1892372580" MODIFIED="1207688451353" TEXT="Apache2 Lizenzfile"> +<node COLOR="#00b439" CREATED="1207688445419" ID="ID_1892372580" MODIFIED="1207688931981" TEXT="Apache2 license file"> <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> @@ -51,12 +51,13 @@ <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> </node> -<node COLOR="#00b439" CREATED="1207688480421" ID="ID_1374245086" MODIFIED="1207688483886" TEXT="Userguide?"> +<node COLOR="#00b439" CREATED="1207688480421" ID="ID_1374245086" MODIFIED="1207688939414" TEXT="Userguide"> <edge STYLE="bezier" WIDTH="thin"/> <font NAME="SansSerif" SIZE="16"/> +<icon BUILTIN="help"/> </node> </node> -<node COLOR="#0033ff" CREATED="1207688186942" ID="ID_1815944067" MODIFIED="1207688242912" POSITION="left" TEXT="Bekanntmachung"> +<node COLOR="#0033ff" CREATED="1207688186942" ID="ID_1815944067" MODIFIED="1207689009502" POSITION="left" TEXT="Announcement"> <edge STYLE="sharp_bezier" WIDTH="8"/> <font NAME="SansSerif" SIZE="18"/> <icon BUILTIN="full-4"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kil...@us...> - 2008-04-08 21:03:13
|
Revision: 110 http://davinspector.svn.sourceforge.net/davinspector/?rev=110&view=rev Author: killerjoe Date: 2008-04-08 14:02:38 -0700 (Tue, 08 Apr 2008) Log Message: ----------- Added first version of a releaseguide. Added Paths: ----------- trunk/Documents/DAVInspector_Releaseplan.mm Added: trunk/Documents/DAVInspector_Releaseplan.mm =================================================================== --- trunk/Documents/DAVInspector_Releaseplan.mm (rev 0) +++ trunk/Documents/DAVInspector_Releaseplan.mm 2008-04-08 21:02:38 UTC (rev 110) @@ -0,0 +1,65 @@ +<map version="0.9.0_Beta_8"> +<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net --> +<node COLOR="#000000" CREATED="1207688023156" ID="ID_1055769703" MODIFIED="1207688381827"> +<richcontent TYPE="NODE"><html> + <head> + + </head> + <body> + <p style="text-align: center"> + DAVInspector + </p> + <p style="text-align: center"> + Releaseplan + </p> + </body> +</html> +</richcontent> +<font NAME="SansSerif" SIZE="20"/> +<hook NAME="accessories/plugins/AutomaticLayout.properties"/> +<node COLOR="#0033ff" CREATED="1207688054427" ID="ID_291581825" MODIFIED="1207688168353" POSITION="right" TEXT="Versionsnummer?"> +<edge STYLE="sharp_bezier" WIDTH="8"/> +<font NAME="SansSerif" SIZE="18"/> +<icon BUILTIN="full-1"/> +</node> +<node COLOR="#0033ff" CREATED="1207688062310" ID="ID_1840373071" MODIFIED="1207688170513" POSITION="right" TEXT="Codeänderungen"> +<edge STYLE="sharp_bezier" WIDTH="8"/> +<font NAME="SansSerif" SIZE="18"/> +<icon BUILTIN="full-2"/> +<node COLOR="#00b439" CREATED="1207688073301" ID="ID_261957720" MODIFIED="1207688083271" TEXT="Codestand taggen"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +</node> +<node COLOR="#00b439" CREATED="1207688461018" ID="ID_1286480592" MODIFIED="1207688472107" TEXT="Empty Plugin einpflegen"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +</node> +</node> +<node COLOR="#0033ff" CREATED="1207688215958" ID="ID_1642439193" MODIFIED="1207688244568" POSITION="left" TEXT="Release-Dateien"> +<edge STYLE="sharp_bezier" WIDTH="8"/> +<font NAME="SansSerif" SIZE="18"/> +<icon BUILTIN="full-3"/> +<node COLOR="#00b439" CREATED="1207688248343" ID="ID_1564232314" MODIFIED="1207688444924" TEXT="CHANGES"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +</node> +<node COLOR="#00b439" CREATED="1207688445419" ID="ID_1892372580" MODIFIED="1207688451353" TEXT="Apache2 Lizenzfile"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +</node> +<node COLOR="#00b439" CREATED="1207688474399" ID="ID_152244746" MODIFIED="1207688480017" TEXT="README"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +</node> +<node COLOR="#00b439" CREATED="1207688480421" ID="ID_1374245086" MODIFIED="1207688483886" TEXT="Userguide?"> +<edge STYLE="bezier" WIDTH="thin"/> +<font NAME="SansSerif" SIZE="16"/> +</node> +</node> +<node COLOR="#0033ff" CREATED="1207688186942" ID="ID_1815944067" MODIFIED="1207688242912" POSITION="left" TEXT="Bekanntmachung"> +<edge STYLE="sharp_bezier" WIDTH="8"/> +<font NAME="SansSerif" SIZE="18"/> +<icon BUILTIN="full-4"/> +</node> +</node> +</map> Property changes on: trunk/Documents/DAVInspector_Releaseplan.mm ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |