mrpostman-cvs Mailing List for MrPostman (Page 5)
Brought to you by:
chris_humphreys,
mrbook
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(100) |
Feb
(115) |
Mar
(29) |
Apr
(17) |
May
(18) |
Jun
|
Jul
(12) |
Aug
|
Sep
|
Oct
(6) |
Nov
(2) |
Dec
(10) |
2004 |
Jan
(14) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: <mr...@us...> - 2003-03-06 23:36:26
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/yahoo In directory sc8-pr-cvs1:/tmp/cvs-serv6024/src/org/mrbook/mrpostman/yahoo Modified Files: YahooMailSession.java Log Message: added support for message deletion on the Yahoo! module Index: YahooMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/yahoo/YahooMailSession.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** YahooMailSession.java 9 Feb 2003 23:38:17 -0000 1.11 --- YahooMailSession.java 6 Mar 2003 23:36:21 -0000 1.12 *************** *** 67,70 **** --- 67,71 ---- private static String httpsLoginURL = "https://login.yahoo.com/config/login"; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; + private String crumb = null; public static int INVALID_PASSWORD = -200; public static int INVALID_ID = -200; *************** *** 125,128 **** --- 126,130 ---- Pattern unreadMessagesPattern = Pattern.compile("Inbox\\s\\(([0-9]+)\\)"); Pattern unreadMessagesPatternOld = Pattern.compile("Inbox\\s\\(([0-9]+)\\)"); + Matcher unreadMessagesMatcher = null; *************** *** 135,143 **** return INVALID_ID; } ! if (invalidPassword.matcher(line2).find()) { logger.warning("Invalid Password"); return INVALID_PASSWORD; } unreadMessagesMatcher = unreadMessagesPattern.matcher(line2); ; --- 137,147 ---- return INVALID_ID; } ! ! if (invalidPassword.matcher(line2).find()) { logger.warning("Invalid Password"); return INVALID_PASSWORD; } + unreadMessagesMatcher = unreadMessagesPattern.matcher(line2); ; *************** *** 278,282 **** Pattern sizePattern = Pattern.compile("(\\<b\\>|\\A\\s+|\\A)([0-9]+)(b|k)"); Pattern attchPattern = Pattern.compile("\\#attachments"); ! Matcher attchMatcher; boolean flagged = false; boolean have_size = false; --- 282,288 ---- Pattern sizePattern = Pattern.compile("(\\<b\\>|\\A\\s+|\\A)([0-9]+)(b|k)"); Pattern attchPattern = Pattern.compile("\\#attachments"); ! Pattern crumbPattern = Pattern.compile("name=\".crumb\" value=\"(.*?)\""); ! Matcher crumbMatcher = null; ! Matcher attchMatcher = null; boolean flagged = false; boolean have_size = false; *************** *** 285,288 **** --- 291,300 ---- while ((line = br.readLine()) != null) { + crumbMatcher = crumbPattern.matcher(line); + if (crumbMatcher.find()) { + crumb = crumbMatcher.group(1); + logger.info("Found crumb = " + crumb); + } + matcher = msgidPattern.matcher(line); *************** *** 588,593 **** } ! public boolean deleteMessage(int num) throws MailSessionException { ! throw new MailSessionException("deleteMessage not implemented"); } --- 600,632 ---- } ! public boolean deleteMessage(int number) throws MailSessionException { ! if (number >= number_messages) { ! return false; ! } ! logger.info("Deleting message id: " + number + " " + ((MailIdentifier) (filtereMessageIDS.elementAt(number - 1))).MailID); ! String bodyPart1 = "/ym/ShowFolder?box=Inbox&DEL=Delete&Mid="; ! ! /* print the header first */ ! try { ! URL url = new URL(baseUrl + bodyPart1 + ((MailIdentifier) (filtereMessageIDS.elementAt(number - 1))).MailID + "&.crumb=" + crumb); //(String)( messageIDS.elementAt(number))); ! HttpURLConnection conn = (HttpURLConnection) url.openConnection(); ! conn.setRequestProperty("User-Agent", UserAgent); ! conn.setRequestProperty("Accept", "*/*"); ! conn.setRequestProperty("Allowed", "GET HEAD PUT"); ! conn.setInstanceFollowRedirects(false); ! HTTPRedirectHandler hrh = new HTTPRedirectHandler(conn); ! hrh.setCookieJar(cj); ! hrh.connect(); ! cj.addAll(hrh.getCookieJar()); ! BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream())); ! String line = null; ! ! while ((line = br.readLine()) != null) { ! logger.finest("html: " + line); ! } ! } catch (Exception e) { ! logger.log(Level.SEVERE, "should not happen", e); ! } ! return true; } |
From: <lb...@us...> - 2003-03-06 23:04:04
|
Update of /cvsroot/mrpostman/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv10599 Modified Files: build.xml Log Message: Changed the installed so that the installer is now automatically detecting when the jvm is installed! (Mail from SGP) Index: build.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/build.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** build.xml 23 Feb 2003 22:51:58 -0000 1.15 --- build.xml 6 Mar 2003 22:28:26 -0000 1.16 *************** *** 176,180 **** <copy file="CHANGES" tofile="${dist}/CHANGES.txt"/> <!-- Create the batch file to execute --> ! <echo file="${dist}/run.bat" append="no">@javaw -jar ${inst.jarfile}" </echo> <!-- Create the shell script to execute --> --- 176,180 ---- <copy file="CHANGES" tofile="${dist}/CHANGES.txt"/> <!-- Create the batch file to execute --> ! <echo file="${dist}/run.bat" append="no">@"$JAVA_HOME\bin\javaw" -jar "${inst.jarfile}" </echo> <!-- Create the shell script to execute --> |
From: <lb...@us...> - 2003-03-06 23:03:47
|
Update of /cvsroot/mrpostman/mrpostman/install/win32 In directory sc8-pr-cvs1:/tmp/cvs-serv10599/install/win32 Modified Files: install.xml Log Message: Changed the installed so that the installer is now automatically detecting when the jvm is installed! (Mail from SGP) Index: install.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/install/win32/install.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** install.xml 26 Feb 2003 21:07:15 -0000 1.2 --- install.xml 6 Mar 2003 22:28:28 -0000 1.3 *************** *** 82,85 **** --- 82,86 ---- <description>The base files</description> <file src="dist/run.bat" targetdir="$INSTALL_PATH"/> + <parsable targetfile="$INSTALL_PATH/run.bat"/> <file src="dist/run.sh" targetdir="$INSTALL_PATH"/> <file src="LICENSE" targetdir="$INSTALL_PATH"/> |
From: <lb...@us...> - 2003-03-06 21:43:17
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail In directory sc8-pr-cvs1:/tmp/cvs-serv23684/src/org/mrbook/mrpostman/hotmail Modified Files: HotmailMailSession.java Log Message: Remove the GNU License header that is redundent with the one added by Jalopy! Index: HotmailMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail/HotmailMailSession.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** HotmailMailSession.java 9 Feb 2003 23:38:15 -0000 1.18 --- HotmailMailSession.java 6 Mar 2003 21:43:13 -0000 1.19 *************** *** 57,73 **** cookie parsing, only two hardcoded boolean parameters needs changing to enable this. - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ import org.mrbook.mrpostman.WebMailSession; --- 57,60 ---- |
From: <lb...@us...> - 2003-03-06 19:56:08
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui In directory sc8-pr-cvs1:/tmp/cvs-serv1967/src/org/mrbook/mrpostman/gui Modified Files: MrPostmanGui.java Log Message: Add the user and password field for the proxy settings. Index: MrPostmanGui.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/MrPostmanGui.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** MrPostmanGui.java 6 Mar 2003 19:03:27 -0000 1.16 --- MrPostmanGui.java 6 Mar 2003 19:56:04 -0000 1.17 *************** *** 49,52 **** --- 49,56 ---- import java.util.logging.Level; import java.util.logging.Logger; + import java.util.Properties; + + import java.net.Authenticator; + import java.net.PasswordAuthentication; import javax.swing.DefaultListModel; *************** *** 95,100 **** private javax.swing.JTextField proxyAddr; private javax.swing.JTextField proxyPort; ! //private javax.swing.JTextField proxyUser; ! //private javax.swing.JTextField proxyPassword; private javax.swing.JMenu jMenu1; --- 99,104 ---- private javax.swing.JTextField proxyAddr; private javax.swing.JTextField proxyPort; ! private javax.swing.JTextField proxyUser; ! private javax.swing.JTextField proxyPassword; private javax.swing.JMenu jMenu1; *************** *** 191,196 **** proxyAddr = new javax.swing.JTextField(20); proxyPort = new javax.swing.JTextField(20); ! //proxyUser = new javax.swing.JTextField(20); ! //proxyPassword = new javax.swing.JPasswordField(20); setTitle(MessageUtil.getMessage("application.title")); --- 195,200 ---- proxyAddr = new javax.swing.JTextField(20); proxyPort = new javax.swing.JTextField(20); ! proxyUser = new javax.swing.JTextField(20); ! proxyPassword = new javax.swing.JPasswordField(20); setTitle(MessageUtil.getMessage("application.title")); *************** *** 315,319 **** proxyPanel.add(useProxy, gridBagConstraints); useProxy.addItemListener(new java.awt.event.ItemListener() { ! void itemStateChanged(java.awt.event.ItemEvent evt) { useProxyActionPerformed(evt); } --- 319,323 ---- proxyPanel.add(useProxy, gridBagConstraints); useProxy.addItemListener(new java.awt.event.ItemListener() { ! public void itemStateChanged(java.awt.event.ItemEvent evt) { useProxyActionPerformed(evt); } *************** *** 591,594 **** --- 595,603 ---- private void ExitMenuItemActionPerformed(java.awt.event.ActionEvent evt) { //GEN-FIRST:event_ExitMenuItemActionPerformed // Add your handling code here: + MrPostman.getMainInstance().userprefs.putBoolean("useProxy", useProxy.isSelected()); + MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); + MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); + MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); + MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); mpn.exit(); } *************** *** 606,623 **** logFrame.setVisible(!(logFrame.isVisible())); } ! private void useProxyActionPerformed(java.awt.event.ItemEvent evt) { MrPostman.getMainInstance().userprefs.putBoolean("useProxy", useProxy.isSelected()); MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); ! //MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); ! //MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); ! if (evt.getStateChange() == evt.SELECTED) { systemProperties.setProperty("http.proxyHost", proxyAddr.getText()); systemProperties.setProperty("http.proxyPort", proxyPort.getText()); } else { ! systemProperties.setProperty("http.proxyHost", null); ! systemProperties.setProperty("http.proxyPort", null); } } --- 615,651 ---- logFrame.setVisible(!(logFrame.isVisible())); } ! public class SimpleAuthenticator extends Authenticator { ! private String username, password; ! ! public SimpleAuthenticator(String username, String password) { ! this.username = username; ! this.password = password; ! } ! ! protected PasswordAuthentication getPasswordAuthentication() { ! return new PasswordAuthentication(username, password.toCharArray()); ! } ! } ! private void useProxyActionPerformed(java.awt.event.ItemEvent evt) { MrPostman.getMainInstance().userprefs.putBoolean("useProxy", useProxy.isSelected()); MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); ! MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); ! MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); ! Properties systemProperties = System.getProperties(); if (evt.getStateChange() == evt.SELECTED) { systemProperties.setProperty("http.proxyHost", proxyAddr.getText()); systemProperties.setProperty("http.proxyPort", proxyPort.getText()); + if (!proxyUser.getText().equals("")) { + Authenticator.setDefault(new SimpleAuthenticator( + proxyUser.getText(), proxyPassword.getText())); + } else { + Authenticator.setDefault(null); + } } else { ! systemProperties.remove("http.proxyHost"); ! systemProperties.remove("http.proxyPort"); ! Authenticator.setDefault(null); } } *************** *** 661,664 **** --- 689,697 ---- /** Exit the Application */ private void exitForm(java.awt.event.WindowEvent evt) { //GEN-FIRST:event_exitForm + MrPostman.getMainInstance().userprefs.putBoolean("useProxy", useProxy.isSelected()); + MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); + MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); + MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); + MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); mpn.exit(); } *************** *** 673,675 **** } // End of variables declaration//GEN-END:variables ! } \ No newline at end of file --- 706,708 ---- } // End of variables declaration//GEN-END:variables ! } |
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui In directory sc8-pr-cvs1:/tmp/cvs-serv11055/src/org/mrbook/mrpostman/gui Modified Files: MrPostmanGui.java messages.properties messages_es.properties messages_fr.properties Log Message: Added a proxy section where you can specify your proxy config. Index: MrPostmanGui.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/MrPostmanGui.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** MrPostmanGui.java 6 Mar 2003 05:28:10 -0000 1.15 --- MrPostmanGui.java 6 Mar 2003 19:03:27 -0000 1.16 *************** *** 90,93 **** --- 90,101 ---- private javax.swing.JPanel jPanel1; private javax.swing.JCheckBox allowHostsCheckBox; + + private javax.swing.JPanel proxyPanel; + private javax.swing.JCheckBox useProxy; + private javax.swing.JTextField proxyAddr; + private javax.swing.JTextField proxyPort; + //private javax.swing.JTextField proxyUser; + //private javax.swing.JTextField proxyPassword; + private javax.swing.JMenu jMenu1; private javax.swing.JTextField jTextField1; *************** *** 179,182 **** --- 187,196 ---- HelpMenuItem = new javax.swing.JMenuItem(); AboutMenuItem = new javax.swing.JMenuItem(); + proxyPanel = new javax.swing.JPanel(); + useProxy = new javax.swing.JCheckBox(); + proxyAddr = new javax.swing.JTextField(20); + proxyPort = new javax.swing.JTextField(20); + //proxyUser = new javax.swing.JTextField(20); + //proxyPassword = new javax.swing.JPasswordField(20); setTitle(MessageUtil.getMessage("application.title")); *************** *** 189,193 **** } }); ! jPanel1.setLayout(new java.awt.GridBagLayout()); --- 203,210 ---- } }); ! ! ! ! jPanel1.setLayout(new java.awt.GridBagLayout()); *************** *** 287,291 **** jPanel2.add(jScrollPane1, java.awt.BorderLayout.WEST); jTabbedPane1.addTab(MessageUtil.getMessage("tab.modules.title"), jPanel2); ! getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER); --- 304,395 ---- jPanel2.add(jScrollPane1, java.awt.BorderLayout.WEST); jTabbedPane1.addTab(MessageUtil.getMessage("tab.modules.title"), jPanel2); ! ! // proxy Panel ! javax.swing.JLabel tmplabel; ! proxyPanel.setLayout(new java.awt.GridBagLayout()); ! useProxy.setSelected((MrPostman.getMainInstance()).userprefs.getBoolean("UseProxy", false)); ! useProxy.setText(MessageUtil.getMessage("proxy.useproxy")); ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridwidth = 2; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! proxyPanel.add(useProxy, gridBagConstraints); ! useProxy.addItemListener(new java.awt.event.ItemListener() { ! void itemStateChanged(java.awt.event.ItemEvent evt) { ! useProxyActionPerformed(evt); ! } ! }); ! ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 0; ! gridBagConstraints.gridy = 1; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! tmplabel = new javax.swing.JLabel(); ! tmplabel.setText(MessageUtil.getMessage("proxy.addr")); ! tmplabel.setToolTipText(""); ! proxyPanel.add(tmplabel, gridBagConstraints); ! ! proxyAddr.setText(MrPostman.getMainInstance().userprefs.get("proxyAddr", "127.0.0.1")); ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 1; ! gridBagConstraints.gridy = 1; ! gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! proxyPanel.add(proxyAddr, gridBagConstraints); ! ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 0; ! gridBagConstraints.gridy = 2; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! tmplabel = new javax.swing.JLabel(); ! tmplabel.setText(MessageUtil.getMessage("proxy.port")); ! tmplabel.setToolTipText(""); ! proxyPanel.add(tmplabel, gridBagConstraints); ! ! proxyPort.setText(new Integer(MrPostman.getMainInstance().userprefs.getInt("proxyPort", 8080)).toString()); ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 1; ! gridBagConstraints.gridy = 2; ! gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! proxyPanel.add(proxyPort, gridBagConstraints); ! ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 0; ! gridBagConstraints.gridy = 3; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! tmplabel = new javax.swing.JLabel(); ! tmplabel.setText(MessageUtil.getMessage("proxy.user")); ! tmplabel.setToolTipText(""); ! proxyPanel.add(tmplabel, gridBagConstraints); ! ! proxyUser.setText(MrPostman.getMainInstance().userprefs.get("proxyUser", "")); ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 1; ! gridBagConstraints.gridy = 3; ! gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! proxyPanel.add(proxyUser, gridBagConstraints); ! ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 0; ! gridBagConstraints.gridy = 4; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! tmplabel = new javax.swing.JLabel(); ! tmplabel.setText(MessageUtil.getMessage("proxy.password")); ! tmplabel.setToolTipText(""); ! proxyPanel.add(tmplabel, gridBagConstraints); ! ! proxyPassword.setText(MrPostman.getMainInstance().userprefs.get("proxyPassword", "")); ! gridBagConstraints = new java.awt.GridBagConstraints(); ! gridBagConstraints.gridx = 1; ! gridBagConstraints.gridy = 4; ! gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; ! gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; ! proxyPanel.add(proxyPassword, gridBagConstraints); ! ! jTabbedPane1.addTab(MessageUtil.getMessage("tab.proxy.title"), proxyPanel); ! ! // finished panels ! getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER); *************** *** 502,506 **** logFrame.setVisible(!(logFrame.isVisible())); } ! //GEN-LAST:event_logButtonActionPerformed private void CloseGuiMenuItemActionPerformed(java.awt.event.ActionEvent evt) { //GEN-FIRST:event_CloseGuiMenuItemActionPerformed --- 606,625 ---- logFrame.setVisible(!(logFrame.isVisible())); } ! ! private void useProxyActionPerformed(java.awt.event.ItemEvent evt) { ! MrPostman.getMainInstance().userprefs.putBoolean("useProxy", useProxy.isSelected()); ! MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); ! MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); ! //MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); ! //MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); ! ! if (evt.getStateChange() == evt.SELECTED) { ! systemProperties.setProperty("http.proxyHost", proxyAddr.getText()); ! systemProperties.setProperty("http.proxyPort", proxyPort.getText()); ! } else { ! systemProperties.setProperty("http.proxyHost", null); ! systemProperties.setProperty("http.proxyPort", null); ! } ! } //GEN-LAST:event_logButtonActionPerformed private void CloseGuiMenuItemActionPerformed(java.awt.event.ActionEvent evt) { //GEN-FIRST:event_CloseGuiMenuItemActionPerformed Index: messages.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** messages.properties 23 Feb 2003 22:52:00 -0000 1.5 --- messages.properties 6 Mar 2003 19:03:28 -0000 1.6 *************** *** 12,17 **** --- 12,24 ---- button.showlog=Show Log + proxy.useproxy=use Proxy Configuration: + proxy.addr=address: + proxy.port=port: + proxy.user=user: + proxy.password=password: + tab.main.title=Main tab.modules.title=Modules + tab.proxy.title=Proxy menu.file.title=File Index: messages_es.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages_es.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** messages_es.properties 23 Feb 2003 22:52:01 -0000 1.4 --- messages_es.properties 6 Mar 2003 19:03:28 -0000 1.5 *************** *** 12,17 **** --- 12,24 ---- button.showlog=Mostrar mensajes + proxy.useproxy=use Proxy Configuration: + proxy.addr=address: + proxy.port=port: + proxy.user=user: + proxy.password=password: + tab.main.title=Principal tab.modules.title=Modulos + tab.proxy.title=Proxy menu.file.title=Archivo Index: messages_fr.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages_fr.properties,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** messages_fr.properties 23 Feb 2003 22:52:01 -0000 1.7 --- messages_fr.properties 6 Mar 2003 19:03:28 -0000 1.8 *************** *** 14,19 **** --- 14,26 ---- button.showlog=Ouvrir le journal des événements + proxy.useproxy=use Proxy Configuration: + proxy.addr=address: + proxy.port=port: + proxy.user=user: + proxy.password=password: + tab.main.title=Principal tab.modules.title=Modules + tab.proxy.title=Proxy menu.file.title=Fichier |
From: <lb...@us...> - 2003-03-06 18:31:06
|
Update of /cvsroot/mrpostman/mrpostman/docs/html/en/maildotcom In directory sc8-pr-cvs1:/tmp/cvs-serv29309/docs/html/en/maildotcom Modified Files: index.html Log Message: Added some docs for maildotcom... Stuck to the words of the hotmail module. Index: index.html =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/docs/html/en/maildotcom/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.html 26 Jan 2003 18:38:05 -0000 1.1 --- index.html 6 Mar 2003 18:31:02 -0000 1.2 *************** *** 2,7 **** <body> ! <h2>The MrPostman MailDotCom module</h2> </body> </html> --- 2,29 ---- <body> ! <h2>The MrPostman maildotcom module</h2> ! ! <p><b>Introduction</b> ! <br><br> ! This module allows you to collect your mail.com emails using a POP3 email client like Netscape communicator or Microsoft Outlook Express. If you have an email address of the form <i>so...@ma...</i> you can use this module. ! <p><b>License</b> ! <br><br> ! You should be aware that this software is supplied AS IS and without any warranty (please see the full ! <a href="../license.html">license</a>). Use at your own risk! ! The author does not accept any responsibility for lost/corrupted emails or trouble resulting from using this software. Also, it is <b>your</b> responsibility to check whether you have permission ! to use software of this type with your Hotmail account under your license agreement with hotmail.com + <p><b>Features</b> + <br><br> + This module supports collection of emails, text or HTML, but <i>is not currently getting the attachments</i>. It also supports removal of messages from your maildotcom inbox. + <b>If you do not want your maildotcom messages removed after collection you should enable the option to leave messages on the server in your email client!</b> + + <p><b>Configuration</b> + <br><br> + You do not need to configure MrPostman to use this module, but you will need to <a href="../configure.html">configure your email client</a>. + + <p><b>Module Options:</b> + None </body> </html> + |
From: <mr...@us...> - 2003-03-06 05:28:14
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui In directory sc8-pr-cvs1:/tmp/cvs-serv2595/src/org/mrbook/mrpostman/gui Modified Files: MrPostmanGui.java Log Message: Made the port text field functional. I found this "bug" referenced in here: http://illusions.dnsalias.com/blogs/atama/archives/rants/000649.html Would have been nice if the author notified us of the bug rather than just blindly complaint and rant about the problem. Index: MrPostmanGui.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/MrPostmanGui.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** MrPostmanGui.java 21 Feb 2003 21:46:14 -0000 1.14 --- MrPostmanGui.java 6 Mar 2003 05:28:10 -0000 1.15 *************** *** 230,233 **** --- 230,238 ---- jTextField1.setText((new Integer(MrPostman.getMainInstance().userprefs.getInt("ServerPort", MrPostman.DEFAULT_PORT))).toString()); + jTextField1.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + portTextActionPerformed(evt); + } + }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; *************** *** 520,523 **** --- 525,539 ---- // Add your handling code here: MrPostman.getMainInstance().userprefs.putBoolean("AllowOtherHosts", allowHostsCheckBox.isSelected()); + } + + private void portTextActionPerformed(java.awt.event.ActionEvent evt) { + Integer portNumber = null; + try { + portNumber = new Integer(jTextField1.getText()); + } catch (Exception e) { + portNumber = new Integer(MrPostman.getMainInstance().userprefs.getInt("ServerPort", MrPostman.DEFAULT_PORT)); + } + jTextField1.setText(portNumber.toString()); + MrPostman.getMainInstance().userprefs.putInt("ServerPort", portNumber.intValue()); } |
From: <chr...@us...> - 2003-03-05 01:04:05
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/pop In directory sc8-pr-cvs1:/tmp/cvs-serv29881/pop Modified Files: PopConnection.java Log Message: Change log level of pop3 cmds to help debug Index: PopConnection.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/pop/PopConnection.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** PopConnection.java 9 Feb 2003 23:38:16 -0000 1.10 --- PopConnection.java 5 Mar 2003 01:04:00 -0000 1.11 *************** *** 131,137 **** //Modified debug to prevent password from being echoed CH 06/12/02 if (passPat.matcher(line).find()) { ! logger.finer("pop3: PASS ********"); } else { ! logger.finer("pop3: " + line); } --- 131,137 ---- //Modified debug to prevent password from being echoed CH 06/12/02 if (passPat.matcher(line).find()) { ! logger.fine("pop3: PASS ********"); } else { ! logger.fine("pop3: " + line); } |
From: <chr...@us...> - 2003-02-27 05:18:00
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv17678 Modified Files: MrPostman.java Log Message: Removed pops.shutdown() to allow build Index: MrPostman.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/MrPostman.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** MrPostman.java 23 Feb 2003 22:51:59 -0000 1.15 --- MrPostman.java 27 Feb 2003 05:17:55 -0000 1.16 *************** *** 205,209 **** public void exit() { logger.info("Exiting from application"); ! pops.shutdown(); System.exit(1); } --- 205,209 ---- public void exit() { logger.info("Exiting from application"); ! // pops.shutdown(); System.exit(1); } |
From: <chr...@us...> - 2003-02-26 23:24:20
|
Update of /cvsroot/mrpostman/mrpostman/docs In directory sc8-pr-cvs1:/tmp/cvs-serv28167 Modified Files: MrPostman-Service-HOWTO.txt Log Message: Updated for new ntservice directory structure Index: MrPostman-Service-HOWTO.txt =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/docs/MrPostman-Service-HOWTO.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MrPostman-Service-HOWTO.txt 12 Dec 2002 22:23:36 -0000 1.1 --- MrPostman-Service-HOWTO.txt 26 Feb 2003 23:24:13 -0000 1.2 *************** *** 2,6 **** --------------------------------- ! v1.0 (12 Dec 2002) - CH To install MrPostman as a service you require the additional software: --- 2,6 ---- --------------------------------- ! v1.1 (27 Feb 2003) - CH To install MrPostman as a service you require the additional software: *************** *** 21,27 **** 2 - Ensure that JAVA_HOME is configured in your environment variables (if NT service) 3 - Download and extract Java Service Wrapper binary dist for your platform to a temp dir. ! 4 - Copy the contents of the wrapper\bin directory into mrpostman\wrapper\bin ! 5 - Copy the contents of the wrapper\lib directory into mrpostman\wrapper\lib ! 6 - Execute the shell/batch script to install the service for your platform from mr\postman\wrapper\bin For NT - 7 - Use the Services panel in Control Panel to change the start options (automatic/manual etc) --- 21,27 ---- 2 - Ensure that JAVA_HOME is configured in your environment variables (if NT service) 3 - Download and extract Java Service Wrapper binary dist for your platform to a temp dir. ! 4 - Copy the contents of the wrapper\bin directory into mrpostman\install\ntservice\bin ! 5 - Copy the contents of the wrapper\lib directory into mrpostman\install\ntservice\lib ! 6 - Execute the shell/batch script to install the service for your platform from mr\postman\install\ntservice\bin For NT - 7 - Use the Services panel in Control Panel to change the start options (automatic/manual etc) *************** *** 31,33 **** --------- ! Execute the shell/batch script to un-install the service for your platform from mr\postman\wrapper\bin \ No newline at end of file --- 31,33 ---- --------- ! Execute the shell/batch script to un-install the service for your platform from mr\postman\install\ntservice\bin \ No newline at end of file |
From: <chr...@us...> - 2003-02-26 23:19:44
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/conf In directory sc8-pr-cvs1:/tmp/cvs-serv25954/conf Modified Files: wrapper.conf Added Files: LICENSE Log Message: Moved from wrapper/ --- NEW FILE: LICENSE --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. Index: wrapper.conf =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/install/ntservice/conf/wrapper.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** wrapper.conf 26 Feb 2003 22:15:01 -0000 1.1 --- wrapper.conf 26 Feb 2003 23:19:09 -0000 1.2 *************** *** 1,4 **** #******************************************************************** ! # Wrapper parameters #******************************************************************** # Java Application --- 1,6 ---- #******************************************************************** ! # MrPostman Java Service Wrapper Configuration File ! # Chris Humphreys 13/12/02 ! # This file is distributed under the GNU license. #******************************************************************** # Java Application |
From: <chr...@us...> - 2003-02-26 23:19:14
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/lib In directory sc8-pr-cvs1:/tmp/cvs-serv25954/lib Added Files: Wrapper.dll license.txt readme.txt wrapper.jar Log Message: Moved from wrapper/ --- NEW FILE: Wrapper.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: license.txt --- Copyright (c) 2001 Silver Egg Technology Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- NEW FILE: readme.txt --- Files in this directory are from the Java Service Wrapper 2.2.9 distribution http://wrapper.sourceforge.net These are third party libraries and included here for your convenience. All files in this directory are distributed under the MIT license, see license.txt for more info. --- NEW FILE: wrapper.jar --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/bin In directory sc8-pr-cvs1:/tmp/cvs-serv25954/bin Added Files: InstallTestWrapper-NT.bat UninstallTestWrapper-NT.bat Wrapper.exe license.txt readme.txt Log Message: Moved from wrapper/ --- NEW FILE: InstallTestWrapper-NT.bat --- @echo off rem rem Find the application home. rem if "%OS%"=="Windows_NT" goto nt echo This is not NT, so please edit this script and set _APP_HOME manually set _APP_HOME=.. goto conf :nt rem %~dp0 is name of current script under NT set _APP_HOME=%~dp0 rem : operator works similar to make : operator set _APP_HOME=%_APP_HOME:\bin\=% rem rem Find the wrapper.conf rem :conf set _WRAPPER_CONF="%~f1" if not %_WRAPPER_CONF%=="" goto startup set _WRAPPER_CONF="%_APP_HOME%\conf\wrapper.conf" rem rem Run the application. rem At runtime, the current directory will be that of Wrapper.exe rem :startup "%_APP_HOME%\bin\Wrapper.exe" -i %_WRAPPER_CONF% if not errorlevel 1 goto end pause :end set _APP_HOME= set _WRAPPER_CONF= --- NEW FILE: UninstallTestWrapper-NT.bat --- @echo off rem rem Find the application home. rem if "%OS%"=="Windows_NT" goto nt echo This is not NT, so please edit this script and set _APP_HOME manually set _APP_HOME=.. goto conf :nt rem %~dp0 is name of current script under NT set _APP_HOME=%~dp0 rem : operator works similar to make : operator set _APP_HOME=%_APP_HOME:\bin\=% rem rem Find the wrapper.conf rem :conf set _WRAPPER_CONF="%~f1" if not %_WRAPPER_CONF%=="" goto startup set _WRAPPER_CONF="%_APP_HOME%\conf\wrapper.conf" rem rem Run the application. rem At runtime, the current directory will be that of Wrapper.exe rem :startup "%_APP_HOME%\bin\Wrapper.exe" -r %_WRAPPER_CONF% if not errorlevel 1 goto end pause :end set _APP_HOME= set _WRAPPER_CONF= --- NEW FILE: Wrapper.exe --- (This appears to be a binary file; contents omitted.) --- NEW FILE: license.txt --- Copyright (c) 2001 Silver Egg Technology Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- NEW FILE: readme.txt --- Files in this directory are from the Java Service Wrapper 2.2.9 distribution http://wrapper.sourceforge.net These are third party libraries and included here for your convenience. All files in this directory are distributed under the MIT license, see license.txt for more info. |
From: <chr...@us...> - 2003-02-26 23:19:07
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice In directory sc8-pr-cvs1:/tmp/cvs-serv25954 Added Files: readme.txt Log Message: Moved from wrapper/ --- NEW FILE: readme.txt --- MrPostman Service ----------------- Chris Humphreys 13/12/02 This directory contains the resources required to install MrPostman as a service on NT/2000/XP. If you would like to install under unix see ../redhat for info. This feature the excellent Java Service Wrapper application written by: Leif Mortenson <le...@si...> Ryan Shaw <ry...@si...> and published under the MIT license. See http://wrapper.sourceforge.net for more info. The MIT license grants distrubution and modification rights. All resources under this directory, with the exception of conf/wrapper.conf, are (c) the authors of Java Service Wrapper. conf/wrapper.conf is (c) Chris Humphreys and distributed under the GNU license. Please see the License file in the individual directories for more info. For your convenience I've packaged the binaries from the Java Service Wrapper 2.2.9 distribution in these directories so you do not have to download any other components to install MrPostman as a service on NT. If you would rather use another version, see ../../docs/MrPostman-Service-HOWTO.txt for instructions on using another version of Java Service Wrapper. Quick Start!! ------------- 1) Make sure a built jar file exists at mrpostman\dist\mrpostman.jar Note: The build mechanism uses the build date in the filename. You will need to rename the jar file. 2) Execute the batch script bin\InstallTestWrapper-NT.bat 3) Use the Services panel in Control Panel to change the start options (automatic/manual etc) Quick Uninstall --------------- 2) Execute the batch script bin\UninstallTestWrapper-NT.bat Any questions? Feel free to email the MrPostman mailing lists. |
From: <chr...@us...> - 2003-02-26 22:15:09
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/conf In directory sc8-pr-cvs1:/tmp/cvs-serv27402 Added Files: wrapper.conf Log Message: Moved from wrapper/ directory. --- NEW FILE: wrapper.conf --- #******************************************************************** # Wrapper parameters #******************************************************************** # Java Application wrapper.java.command=java # Java Main class wrapper.java.mainclass=com.silveregg.wrapper.WrapperStartStopApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../../dist/MrPostman.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib # Java Additional Parameters #wrapper.java.additional.1= # Initial Java Heap Size (in MB) wrapper.java.initmemory=16 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=64 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.mrbook.mrpostman.service.MrPostmanStart wrapper.app.parameter.2=0 wrapper.app.parameter.3=org.mrbook.mrpostman.service.MrPostmanStop wrapper.app.parameter.4=true wrapper.app.parameter.5=0 # Port which the native wrapper code will attempt to connect to wrapper.port=1777 #******************************************************************** # Wrapper Logging parameters #******************************************************************** # Format of output for the console. (See docs for formats) wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=INFO # Log file to use for wrapper output logging. wrapper.logfile=../logs/wrapper.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=0 # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper Unix daemon parameters #******************************************************************** # File to write process ID to wrapper.pidfile=/var/run/testwrapper.pid #******************************************************************** # Wrapper NT Service parameters #******************************************************************** # WARNING - Do not modify any of these parameters when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. # Name of the service wrapper.ntservice.name=testwrapper # Display name of the service wrapper.ntservice.displayname=MrPostman # Description of the service wrapper.ntservice.description=MrPostman webmail pPOP server # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Priority at which the service is run. NORMAL, LOW, HIGH, or # REALTIME wrapper.ntservice.process_priority=NORMAL |
From: <chr...@us...> - 2003-02-26 22:14:01
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/bin In directory sc8-pr-cvs1:/tmp/cvs-serv26915/bin Log Message: Directory /cvsroot/mrpostman/mrpostman/install/ntservice/bin added to the repository |
From: <chr...@us...> - 2003-02-26 22:14:00
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/lib In directory sc8-pr-cvs1:/tmp/cvs-serv26915/lib Log Message: Directory /cvsroot/mrpostman/mrpostman/install/ntservice/lib added to the repository |
From: <chr...@us...> - 2003-02-26 22:14:00
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice/conf In directory sc8-pr-cvs1:/tmp/cvs-serv26915/conf Log Message: Directory /cvsroot/mrpostman/mrpostman/install/ntservice/conf added to the repository |
From: <chr...@us...> - 2003-02-26 22:13:04
|
Update of /cvsroot/mrpostman/mrpostman/install/ntservice In directory sc8-pr-cvs1:/tmp/cvs-serv26248/ntservice Log Message: Directory /cvsroot/mrpostman/mrpostman/install/ntservice added to the repository |
From: <lb...@us...> - 2003-02-26 21:07:20
|
Update of /cvsroot/mrpostman/mrpostman/install/win32 In directory sc8-pr-cvs1:/tmp/cvs-serv30080/install/win32 Modified Files: install.xml Log Message: This new version of the installer doesnot accept to work when the version of the JDK is less than "1.4" . I'll try to make the message that appears when the version is less than 1.4 more neat with people from IzPack... Index: install.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/install/win32/install.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** install.xml 23 Feb 2003 22:16:52 -0000 1.1 --- install.xml 26 Feb 2003 21:07:15 -0000 1.2 *************** *** 26,29 **** --- 26,30 ---- </authors> <url>http://mrbook.org/mrpostman/</url> + <javaversion>1.4</javaversion> </info> <variables> *************** *** 88,93 **** <file src="install/win32/mrpostman.ico" targetdir="$INSTALL_PATH"/> <file src="install/win32/uninstall.ico" targetdir="$INSTALL_PATH"/> - - </pack> </packs> --- 89,92 ---- |
From: <lb...@us...> - 2003-02-23 22:52:04
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui In directory sc8-pr-cvs1:/tmp/cvs-serv3804/src/org/mrbook/mrpostman/gui Modified Files: messages.properties messages_es.properties messages_fr.properties Log Message: Added a centralized version. You now can use: @VERSION@ -> Replaced before compilation to the version number from the build.xml @DSTAMP@ -> Replaced with the date of compilation @APPNAME@ -> Replaced with the project name. All but binary files (i.e. .gif .utf) are filtered!!! Index: messages.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** messages.properties 17 Feb 2003 22:55:01 -0000 1.4 --- messages.properties 23 Feb 2003 22:52:00 -0000 1.5 *************** *** 24,28 **** about.title=About ! about.info=MrPostman 1.0-RC1\n(C) 2003 The MrPostman Development Team\n\nHector Urtubia\nChris Humphreys\nLucas Bruand\nThomas O'Dowd\n\nLicensed under the terms of the GNU Public License\nVisit http://mrbook.org/mrpostman for updates\nand see how you can contribute using.title=Using MrPostman --- 24,28 ---- about.title=About ! about.info=@APPNAME@ @VERSION@\nBuild @DSTAMP@\n(C) 2003 The MrPostman Development Team\n\nHector Urtubia\nChris Humphreys\nLucas Bruand\nThomas O'Dowd\n\nLicensed under the terms of the GNU Public License\nVisit http://mrbook.org/mrpostman for updates\nand see how you can contribute using.title=Using MrPostman Index: messages_es.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages_es.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** messages_es.properties 17 Feb 2003 22:55:01 -0000 1.3 --- messages_es.properties 23 Feb 2003 22:52:01 -0000 1.4 *************** *** 24,28 **** about.title=Acerca ! about.info=MrPostman 1.0-RC1\n(C) 2003 The MrPostman Development Team\nHector Urtubia\nChris Humphreys\nLucas Bruand\nThomas O'Dowd\nLicensiado bajo los terminos de la licensia GPL.\nVisite http://mrbook.org/mrpostman para actualizaciones\ny vea como ud. puede contribuir con el proyecto. using.title=Usando MrPostman --- 24,28 ---- about.title=Acerca ! about.info=@APPNAME@ @VERSION@\nBuild @DSTAMP@\n(C) 2003 The MrPostman Development Team\nHector Urtubia\nChris Humphreys\nLucas Bruand\nThomas O'Dowd\nLicensiado bajo los terminos de la licensia GPL.\nVisite http://mrbook.org/mrpostman para actualizaciones\ny vea como ud. puede contribuir con el proyecto. using.title=Usando MrPostman Index: messages_fr.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages_fr.properties,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** messages_fr.properties 17 Feb 2003 22:55:02 -0000 1.6 --- messages_fr.properties 23 Feb 2003 22:52:01 -0000 1.7 *************** *** 26,30 **** about.title=A propos ! about.info=MrPostman 1.0-RC1\n(c) 2003 The MrPostman Development Team\nHector Urtubia\nChris Humphreys\nLucas Bruand\nThomas O'Dowd\nDistribué sous licence GNU\nVoir http://mrbook.org/mrpostman pour les mises à jour\net comment contribuer. using.title=Utiliser MrPostman --- 26,30 ---- about.title=A propos ! about.info=@APPNAME@ @VERSION@\nBuild @DSTAMP@\n(c) 2003 The MrPostman Development Team\nHector Urtubia\nChris Humphreys\nLucas Bruand\nThomas O'Dowd\nDistribué sous licence GNU\nVoir http://mrbook.org/mrpostman pour les mises à jour\net comment contribuer. using.title=Utiliser MrPostman |
From: <lb...@us...> - 2003-02-23 22:52:03
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv3804/src/org/mrbook/mrpostman Modified Files: MrPostman.java Log Message: Added a centralized version. You now can use: @VERSION@ -> Replaced before compilation to the version number from the build.xml @DSTAMP@ -> Replaced with the date of compilation @APPNAME@ -> Replaced with the project name. All but binary files (i.e. .gif .utf) are filtered!!! Index: MrPostman.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/MrPostman.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** MrPostman.java 17 Feb 2003 22:02:40 -0000 1.14 --- MrPostman.java 23 Feb 2003 22:51:59 -0000 1.15 *************** *** 205,208 **** --- 205,209 ---- public void exit() { logger.info("Exiting from application"); + pops.shutdown(); System.exit(1); } |
From: <lb...@us...> - 2003-02-23 22:52:02
|
Update of /cvsroot/mrpostman/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv3804 Modified Files: build.xml Log Message: Added a centralized version. You now can use: @VERSION@ -> Replaced before compilation to the version number from the build.xml @DSTAMP@ -> Replaced with the date of compilation @APPNAME@ -> Replaced with the project name. All but binary files (i.e. .gif .utf) are filtered!!! Index: build.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/build.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** build.xml 23 Feb 2003 22:16:50 -0000 1.14 --- build.xml 23 Feb 2003 22:51:58 -0000 1.15 *************** *** 34,38 **** <!-- set global properties for this build --> ! <property name="project.version" value="0.05"/> <property name="src" location="src"/> <property name="build" location="build"/> --- 34,38 ---- <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 2"/> <property name="src" location="src"/> <property name="build" location="build"/> *************** *** 115,127 **** description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> - <javac srcdir="${src}" destdir="${build}" debug="on"/> <copy todir="${build}"> <fileset dir="${src}"> ! <include name="**/*.utf"/> ! <include name="**/*.properties"/> ! <include name="**/*.xml"/> ! <include name="**/*.gif"/> </fileset> </copy> </target> --- 115,133 ---- description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> <copy todir="${build}"> <fileset dir="${src}"> ! <include name="**/*.*" /> ! <!-- Binary files to be copy later on... --> ! <exclude name="**/*.utf"/> ! <exclude name="**/*.gif"/> </fileset> + <filterset> + <filter token="APPNAME" value="${ant.project.name}"/> + <filter token="VERSION" value="${project.version}"/> + <filter token="DSTAMP" value="${DSTAMP}"/> + </filterset> </copy> + <javac srcdir="${build}" debug="on"/> + </target> *************** *** 131,138 **** <mkdir dir="${dist}/"/> <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file --> ! <jar jarfile="${dist}/${inst.jarfile}" basedir="${build}"> <manifest> <attribute name="Main-Class" value="org.mrbook.mrpostman.MrPostman"/> </manifest> </jar> </target> --- 137,153 ---- <mkdir dir="${dist}/"/> <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file --> ! <jar jarfile="${dist}/${inst.jarfile}"> <manifest> <attribute name="Main-Class" value="org.mrbook.mrpostman.MrPostman"/> </manifest> + <fileset dir="${build}"> + <include name="**/*.*"/> + <exclude name="**/*.java"/> + </fileset> + <fileset dir="${src}"> + <include name="**/*.gif"/> + <include name="**/*.utf"/> + <exclude name="**/*.java"/> + </fileset> </jar> </target> |
Update of /cvsroot/mrpostman/mrpostman/installer In directory sc8-pr-cvs1:/tmp/cvs-serv20183/installer Removed Files: install.xml mrpostman.gif mrpostman.ico mrpostman.png shortcutSpec.xml uninstall.ico Log Message: Moved the installer to install/win32 added a few new Shortcuts ( Changes and Readme, much needed) --- install.xml DELETED --- --- mrpostman.gif DELETED --- --- mrpostman.ico DELETED --- --- mrpostman.png DELETED --- --- shortcutSpec.xml DELETED --- --- uninstall.ico DELETED --- |