You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(99) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Stig T. <jw...@us...> - 2005-03-20 20:45:35
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/i18n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12849/net/sf/jpim/contact/gui/i18n Modified Files: MyResources.java Log Message: Index: MyResources.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/i18n/MyResources.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MyResources.java 3 Apr 2004 07:56:52 -0000 1.1 --- MyResources.java 20 Mar 2005 20:45:25 -0000 1.2 *************** *** 185,189 **** ? Use DateFormat: DateFormat fmt "," DateFormat.getDateTimeInstance( DateFormat.FULL, DateFormat.DEFAULT); ! System.out.println(fmt.format(new Date())); ? Use MessageFormat: MessageFormat.format("It is {0,time,medium} on {0,date,full}.",new Object[] { new Date() } ); --- 185,189 ---- ? Use DateFormat: DateFormat fmt "," DateFormat.getDateTimeInstance( DateFormat.FULL, DateFormat.DEFAULT); ! //System.out.println(fmt.format(new Date())); ? Use MessageFormat: MessageFormat.format("It is {0,time,medium} on {0,date,full}.",new Object[] { new Date() } ); |
From: Stig T. <jw...@us...> - 2005-03-20 20:45:35
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12849/net/sf/jpim/contact/gui Modified Files: NamePanel.java SummaryPanel.java ContactPropertiesFrame.java PersonalPanel.java OtherPanel.java ImageProperties.java Utils.java JCalendarComboBox.java Log Message: Index: Utils.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/Utils.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Utils.java 3 Apr 2004 07:56:52 -0000 1.1 --- Utils.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 65,69 **** } catch (IOException f) { ! System.out.println(f.getMessage()); f.printStackTrace(); } --- 65,69 ---- } catch (IOException f) { ! //System.out.println(f.getMessage()); f.printStackTrace(); } Index: PersonalPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/PersonalPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PersonalPanel.java 3 Apr 2004 07:56:52 -0000 1.1 --- PersonalPanel.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 278,282 **** protected void setData() { ! System.out.println("call set data"); if (contact == null || !isInited()) --- 278,282 ---- protected void setData() { ! //System.out.println("call set data"); if (contact == null || !isInited()) *************** *** 323,327 **** if (m_SimpleExtension_FM != null) { String[] values = m_SimpleExtension_FM.listValues(); ! System.out.println(m_SimpleExtension_FM.getValue()); try { m_temp_spouse = values[0]; --- 323,327 ---- if (m_SimpleExtension_FM != null) { String[] values = m_SimpleExtension_FM.listValues(); ! //System.out.println(m_SimpleExtension_FM.getValue()); try { m_temp_spouse = values[0]; Index: NamePanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/NamePanel.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NamePanel.java 16 Mar 2005 18:17:36 -0000 1.2 --- NamePanel.java 20 Mar 2005 20:45:24 -0000 1.3 *************** *** 83,87 **** public void lazyInit() { ! System.out.println("call lazy init"); loadResources(); // Load i18n resources --- 83,87 ---- public void lazyInit() { ! //System.out.println("call lazy init"); loadResources(); // Load i18n resources *************** *** 219,223 **** protected void setData() { ! System.out.println("call set data"); if(contact == null || !isInited()) return; --- 219,223 ---- protected void setData() { ! //System.out.println("call set data"); if(contact == null || !isInited()) return; *************** *** 230,234 **** middlenameField.setText(pid.getAdditionalName(0)); lastnameField.setText(pid.getLastname()); ! System.out.println((pid.listPrefixes()).length + " Title"); if ((pid.listPrefixes()).length != 0) { titleField.setText(pid.getPrefix(0)); --- 230,234 ---- middlenameField.setText(pid.getAdditionalName(0)); lastnameField.setText(pid.getLastname()); ! //System.out.println((pid.listPrefixes()).length + " Title"); if ((pid.listPrefixes()).length != 0) { titleField.setText(pid.getPrefix(0)); Index: ImageProperties.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/ImageProperties.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImageProperties.java 3 Apr 2004 07:56:52 -0000 1.1 --- ImageProperties.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 93,97 **** newM_Image.setData(newM_Image.getDataFromURI()); } catch ( java.io.IOException iee1 ) { ! System.out.println(iee1); } } --- 93,97 ---- newM_Image.setData(newM_Image.getDataFromURI()); } catch ( java.io.IOException iee1 ) { ! //System.out.println(iee1); } } *************** *** 160,164 **** if ("OK".equals(actionevent.getActionCommand())) { m_s_uri = m_f_uri.getText(); ! System.out.println("OK PRESSED: " + m_s_uri ); if ( ( m_s_uri.startsWith ("http")) | ( m_s_uri.startsWith ("HTTP")) | ( m_s_uri.startsWith ("ftp")) | ( m_s_uri.startsWith ("FTP")) ) --- 160,164 ---- if ("OK".equals(actionevent.getActionCommand())) { m_s_uri = m_f_uri.getText(); ! //System.out.println("OK PRESSED: " + m_s_uri ); if ( ( m_s_uri.startsWith ("http")) | ( m_s_uri.startsWith ("HTTP")) | ( m_s_uri.startsWith ("ftp")) | ( m_s_uri.startsWith ("FTP")) ) *************** *** 170,174 **** if ( m_rb_none.isSelected() ) { ! System.out.println("Setting URI to '' because none is selected"); setM_ImageURI ( "" , false ); } --- 170,174 ---- if ( m_rb_none.isSelected() ) { ! //System.out.println("Setting URI to '' because none is selected"); setM_ImageURI ( "" , false ); } Index: OtherPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/OtherPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** OtherPanel.java 3 Apr 2004 07:56:52 -0000 1.1 --- OtherPanel.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 225,229 **** if ( m_SimpleExtension_IM != null ) { String [] values = m_SimpleExtension_IM.listValues(); ! //System.out.println( m_SimpleExtension_IM.getValue() ); try { --- 225,229 ---- if ( m_SimpleExtension_IM != null ) { String [] values = m_SimpleExtension_IM.listValues(); ! ////System.out.println( m_SimpleExtension_IM.getValue() ); try { *************** *** 233,237 **** m_temp_aol = values[3]; } catch ( java.lang.IndexOutOfBoundsException ie ) { ! System.out.println("This exception should never be caught, unless a user has manually edited a vcard file."); } } --- 233,237 ---- m_temp_aol = values[3]; } catch ( java.lang.IndexOutOfBoundsException ie ) { ! //System.out.println("This exception should never be caught, unless a user has manually edited a vcard file."); } } Index: SummaryPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/SummaryPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SummaryPanel.java 3 Apr 2004 07:56:52 -0000 1.1 --- SummaryPanel.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 243,247 **** protected void setData(Contact contact) { ! System.out.println("set data summary panel"); // Set Personal Identity data --- 243,247 ---- protected void setData(Contact contact) { ! //System.out.println("set data summary panel"); // Set Personal Identity data *************** *** 271,275 **** m_Image = null; m_awt_Image = null; ! System.out.println("SummaryPanel : pid.hasPhoto() == false "); } --- 271,275 ---- m_Image = null; m_awt_Image = null; ! //System.out.println("SummaryPanel : pid.hasPhoto() == false "); } *************** *** 304,308 **** email += "</a>"; ! //System.out.println(email); m_l_email2.setText(email); --- 304,308 ---- email += "</a>"; ! ////System.out.println(email); m_l_email2.setText(email); *************** *** 377,381 **** if (contact.hasExtensions()) { Extensions _extensions = contact.getExtensions(); ! //System.out.println("X-IM extensions = " + _extensions.size("X-IM")); SimpleExtension im_extension = (SimpleExtension) (_extensions.get("X-IM")); --- 377,381 ---- if (contact.hasExtensions()) { Extensions _extensions = contact.getExtensions(); ! ////System.out.println("X-IM extensions = " + _extensions.size("X-IM")); SimpleExtension im_extension = (SimpleExtension) (_extensions.get("X-IM")); *************** *** 386,390 **** m_l_aol.setText(im_extension.getValue(3)); } catch (IndexOutOfBoundsException ie) { ! System.out.println(ie); } } else { --- 386,390 ---- m_l_aol.setText(im_extension.getValue(3)); } catch (IndexOutOfBoundsException ie) { ! //System.out.println(ie); } } else { *************** *** 524,528 **** "Some PropertyChangeEvent :" + evt.getPropertyName()); if (evt.getPropertyName().equals("image")) { ! System.out.println("PropertyChangeEvent evt caught"); // get new values m_Image = (net.sf.jpim.contact.model.Image) evt.getNewValue(); --- 524,528 ---- "Some PropertyChangeEvent :" + evt.getPropertyName()); if (evt.getPropertyName().equals("image")) { ! //System.out.println("PropertyChangeEvent evt caught"); // get new values m_Image = (net.sf.jpim.contact.model.Image) evt.getNewValue(); *************** *** 540,545 **** /* for ( int i=0 ; i< 40 ; i++ ) { ! System.out.println("URIIIII" + m_Image.getURI()); ! System.out.println("DATAAAA" + m_Image.getData()); } */ --- 540,545 ---- /* for ( int i=0 ; i< 40 ; i++ ) { ! //System.out.println("URIIIII" + m_Image.getURI()); ! //System.out.println("DATAAAA" + m_Image.getData()); } */ *************** *** 552,556 **** m_Image.getData()); } catch (java.lang.NullPointerException ne) { ! System.out.println("No such file, or unsupported file"); } } --- 552,556 ---- m_Image.getData()); } catch (java.lang.NullPointerException ne) { ! //System.out.println("No such file, or unsupported file"); } } *************** *** 630,634 **** if ( m_Image == null ) { m_Image = Pim.getContactModelFactory().createImage(); ! System.out.println("NULLLL"); String m_s_photo_path = "file://D:/JAVA/SOFTWARE/eclipse/workspace/jpim/src/net/wimpi/pim/contact/gui/images/alg0_small.jpg"; m_Image.setURI ( m_s_photo_path ); --- 630,634 ---- if ( m_Image == null ) { m_Image = Pim.getContactModelFactory().createImage(); ! //System.out.println("NULLLL"); String m_s_photo_path = "file://D:/JAVA/SOFTWARE/eclipse/workspace/jpim/src/net/wimpi/pim/contact/gui/images/alg0_small.jpg"; m_Image.setURI ( m_s_photo_path ); Index: JCalendarComboBox.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/JCalendarComboBox.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JCalendarComboBox.java 3 Apr 2004 07:56:52 -0000 1.1 --- JCalendarComboBox.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 216,220 **** /* if (evt.getPropertyName().equals("calendar")) { ! System.out.println("Calendar event caught"); // get new values Calendar newCalendar = (Calendar) evt.getNewValue(); --- 216,220 ---- /* if (evt.getPropertyName().equals("calendar")) { ! //System.out.println("Calendar event caught"); // get new values Calendar newCalendar = (Calendar) evt.getNewValue(); *************** *** 264,268 **** s_calendar = s_calendar + (month+1); ! System.out.println(s_calendar); return s_calendar; } --- 264,268 ---- s_calendar = s_calendar + (month+1); ! //System.out.println(s_calendar); return s_calendar; } Index: ContactPropertiesFrame.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/gui/ContactPropertiesFrame.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ContactPropertiesFrame.java 3 Apr 2004 07:56:52 -0000 1.1 --- ContactPropertiesFrame.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 40,44 **** * vCards. * ! * System.out.println() are allowed only inside Main.java * The rest of the classes should use a logging mechanism. * --- 40,44 ---- * vCards. * ! * //System.out.println() are allowed only inside Main.java * The rest of the classes should use a logging mechanism. * *************** *** 258,262 **** */ public void openFile(File inFile) { ! //System.out.println("loading:" + inFile); ContactUnmarshaller unmarshaller = new vCardUnmarshaller(); try { --- 258,262 ---- */ public void openFile(File inFile) { ! ////System.out.println("loading:" + inFile); ContactUnmarshaller unmarshaller = new vCardUnmarshaller(); try { *************** *** 343,347 **** */ public void saveFile(File inFile) { ! //System.out.println("saving:" + inFile); if (contact == null) { --- 343,347 ---- */ public void saveFile(File inFile) { ! ////System.out.println("saving:" + inFile); if (contact == null) { *************** *** 475,479 **** */ } catch (net.sf.jpim.util.versitio.versitException ve) { ! System.out.println("EXCEPTION IN Main.initComponents: " + ve); } --- 475,479 ---- */ } catch (net.sf.jpim.util.versitio.versitException ve) { ! //System.out.println("EXCEPTION IN Main.initComponents: " + ve); } *************** *** 580,584 **** myCC.show(); ! System.out.println(System.currentTimeMillis() - l); } --- 580,584 ---- myCC.show(); ! //System.out.println(System.currentTimeMillis() - l); } |
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12849/net/sf/jpim/contact/io/vcard Modified Files: LABELItemHandler.java FNItemHandler.java REVItemHandler.java vCardUnmarshaller.java TZItemHandler.java ADRItemHandler.java Log Message: Index: LABELItemHandler.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard/LABELItemHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LABELItemHandler.java 3 Apr 2004 07:56:49 -0000 1.1 --- LABELItemHandler.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 33,38 **** public void handleItem(Contact ct, versitItem item) { ! //FIXME: based on assumption that the Label ! //corresponds to the last address added. String label = item.getValue(); int pos = ct.getAddressCount() - 1; --- 33,37 ---- public void handleItem(Contact ct, versitItem item) { ! String label = item.getValue(); int pos = ct.getAddressCount() - 1; Index: ADRItemHandler.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard/ADRItemHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ADRItemHandler.java 3 Apr 2004 07:56:49 -0000 1.1 --- ADRItemHandler.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 35,39 **** String[] components = StringUtil.split(item.getValue(), ";"); ! //System.out.println("DEBUG::"+StringUtil.joinList(components)); //String[] multi=null; Address adr = Pim.getContactModelFactory().createAddress(); --- 35,39 ---- String[] components = StringUtil.split(item.getValue(), ";"); ! ////System.out.println("DEBUG::"+StringUtil.joinList(components)); //String[] multi=null; Address adr = Pim.getContactModelFactory().createAddress(); Index: REVItemHandler.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard/REVItemHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** REVItemHandler.java 3 Apr 2004 07:56:49 -0000 1.1 --- REVItemHandler.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 43,47 **** m_ExtendedDateFormat = new SimpleDateFormat("yyyy-MM-dd"); m_SimpleDateTimeFormat = new SimpleDateFormat("yyyyMMdd'T'HHmmss"); ! //System.out.println(m_SimpleDateTimeFormat.format(new Date())); m_ExtendedDateTimeFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); }//constructor --- 43,47 ---- m_ExtendedDateFormat = new SimpleDateFormat("yyyy-MM-dd"); m_SimpleDateTimeFormat = new SimpleDateFormat("yyyyMMdd'T'HHmmss"); ! ////System.out.println(m_SimpleDateTimeFormat.format(new Date())); m_ExtendedDateTimeFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); }//constructor *************** *** 54,58 **** datestr = datestr.substring(0, pos); } ! //System.out.println("DEBUG::"+datestr); Date rev = null; --- 54,58 ---- datestr = datestr.substring(0, pos); } ! ////System.out.println("DEBUG::"+datestr); Date rev = null; Index: FNItemHandler.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard/FNItemHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FNItemHandler.java 3 Apr 2004 07:56:49 -0000 1.1 --- FNItemHandler.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 41,45 **** public versitItem createItem(Contact ct) { ! //FIXME: vcard requires FN attribute if (!ct.hasPersonalIdentity()) { return null; --- 41,45 ---- public versitItem createItem(Contact ct) { ! if (!ct.hasPersonalIdentity()) { return null; Index: vCardUnmarshaller.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard/vCardUnmarshaller.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** vCardUnmarshaller.java 3 Apr 2004 07:56:49 -0000 1.1 --- vCardUnmarshaller.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 86,90 **** } parser.parse(); ! //System.out.println("DEBUG:parS #"+parser.getCardObjects().size()); return parser.getCardObjects(); }//parseStream --- 86,90 ---- } parser.parse(); ! ////System.out.println("DEBUG:parS #"+parser.getCardObjects().size()); return parser.getCardObjects(); }//parseStream Index: TZItemHandler.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/jpim/contact/io/vcard/TZItemHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TZItemHandler.java 3 Apr 2004 07:56:49 -0000 1.1 --- TZItemHandler.java 20 Mar 2005 20:45:24 -0000 1.2 *************** *** 46,50 **** return; } ! //System.out.println("DEBUG::"+t); String[] tz = processTZ(t); geoinfo.setTimeZone( --- 46,50 ---- return; } ! ////System.out.println("DEBUG::"+t); String[] tz = processTZ(t); geoinfo.setTimeZone( |
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12392/net/sf/mailsomething/text/html Modified Files: HtmlCanvas.java TextElement.java ElementRow.java CellElement.java HtmlTable.java HtmlLayout.java Log Message: Index: HtmlCanvas.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html/HtmlCanvas.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlCanvas.java 3 Apr 2004 07:56:45 -0000 1.1 --- HtmlCanvas.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 65,69 **** r = g.getClipBounds(); ! System.out.println(r); d = getSize(); --- 65,69 ---- r = g.getClipBounds(); ! //System.out.println(r); d = getSize(); *************** *** 121,125 **** if(element.isBreakable()) { ! System.out.println("element is breakable"); element.paint(g.create(x, y, d.width - linewidth, lineheight)); --- 121,125 ---- if(element.isBreakable()) { ! //System.out.println("element is breakable"); element.paint(g.create(x, y, d.width - linewidth, lineheight)); *************** *** 165,169 **** int left = (element.getPreferredSize(g).width - (d.width - linewidth)) % d.width; ! System.out.println("left = " + left + "blockheight = " + blockheight); if(left > 0) blockheight++; --- 165,169 ---- int left = (element.getPreferredSize(g).width - (d.width - linewidth)) % d.width; ! //System.out.println("left = " + left + "blockheight = " + blockheight); if(left > 0) blockheight++; *************** *** 224,228 **** int left = (element.getPreferredSize(g).width - (d.width - linewidth)) % d.width; ! System.out.println("left = " + left + "blockheight = " + blockheight); if(left > 0) blockheight++; --- 224,228 ---- int left = (element.getPreferredSize(g).width - (d.width - linewidth)) % d.width; ! //System.out.println("left = " + left + "blockheight = " + blockheight); if(left > 0) blockheight++; Index: CellElement.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html/CellElement.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CellElement.java 3 Apr 2004 07:56:45 -0000 1.1 --- CellElement.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 126,132 **** ! //System.out.println(" " + r + " " + actualSize + " " + preferredSize); ! //System.out.println(r); metrics = g.getFontMetrics(); --- 126,132 ---- ! ////System.out.println(" " + r + " " + actualSize + " " + preferredSize); ! ////System.out.println(r); metrics = g.getFontMetrics(); *************** *** 141,145 **** ! //if(y + font.getHeight() > r.height) System.out.println("y > r.height ????"); --- 141,145 ---- ! //if(y + font.getHeight() > r.height) //System.out.println("y > r.height ????"); *************** *** 154,158 **** width += metrics.charWidth(chars[start]); start++; ! //System.out.println("" + start); } if(start > 0) start--; --- 154,158 ---- width += metrics.charWidth(chars[start]); start++; ! ////System.out.println("" + start); } if(start > 0) start--; *************** *** 187,191 **** ! //System.out.println("start = " + start); //} --- 187,191 ---- ! ////System.out.println("start = " + start); //} *************** *** 237,241 **** if(preferredSize.width > maxwidth) { ! System.out.println("cellelement preferredsize width > maxwidth"); if(preferredSize.width/2 <= maxwidth) { --- 237,241 ---- if(preferredSize.width > maxwidth) { ! //System.out.println("cellelement preferredsize width > maxwidth"); if(preferredSize.width/2 <= maxwidth) { Index: ElementRow.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html/ElementRow.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ElementRow.java 3 Apr 2004 07:56:45 -0000 1.1 --- ElementRow.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 100,104 **** if(x >= -p.x && x <= -p.x + r.width) { ! //System.out.println("elementrow paint 1"); //e.paint(g.create(x, r.y, e.getPreferredSize().width, preferredSize.height)); --- 100,104 ---- if(x >= -p.x && x <= -p.x + r.width) { ! ////System.out.println("elementrow paint 1"); //e.paint(g.create(x, r.y, e.getPreferredSize().width, preferredSize.height)); *************** *** 108,112 **** } else if(-p.x > x && -p.x < x + e.getPreferredSize().width) { ! //System.out.println("elementrow paint 2"); //e.paint(g.create(r.x, r.y, x + e.getPreferredSize().width - r.y, preferredSize.height)); --- 108,112 ---- } else if(-p.x > x && -p.x < x + e.getPreferredSize().width) { ! ////System.out.println("elementrow paint 2"); //e.paint(g.create(r.x, r.y, x + e.getPreferredSize().width - r.y, preferredSize.height)); *************** *** 183,191 **** } ! //System.out.println("preferredsize height=" + preferredSize.height); //if(breaks > 1) preferredSize.height = preferredSize.height*breaks; ! //System.out.println("preferredsize height=" + preferredSize.height); return preferredSize; --- 183,191 ---- } ! ////System.out.println("preferredsize height=" + preferredSize.height); //if(breaks > 1) preferredSize.height = preferredSize.height*breaks; ! ////System.out.println("preferredsize height=" + preferredSize.height); return preferredSize; Index: HtmlLayout.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html/HtmlLayout.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlLayout.java 3 Apr 2004 07:56:45 -0000 1.1 --- HtmlLayout.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 234,238 **** if(isPainting) { ! System.out.println("ispainting"); } else { --- 234,238 ---- if(isPainting) { ! //System.out.println("ispainting"); } else { *************** *** 268,272 **** }*/ ! //System.out.println(r); Element e; --- 268,272 ---- }*/ ! ////System.out.println(r); Element e; *************** *** 284,292 **** if((r.y >= y && r.y <= (y + e.getPreferredSize().height))) { ! //System.out.println("" + r.y + " >= " + y + " && " + r.y + " <= " + y + " + " + e.getPreferredSize().height); Graphics k = g.create(r.x, r.y , r.width, e.getPreferredSize().height); ! //System.out.println("k" + k.getClipBounds()); e.paint(k, new Point(-r.x, y - r.y)); --- 284,292 ---- if((r.y >= y && r.y <= (y + e.getPreferredSize().height))) { ! ////System.out.println("" + r.y + " >= " + y + " && " + r.y + " <= " + y + " + " + e.getPreferredSize().height); Graphics k = g.create(r.x, r.y , r.width, e.getPreferredSize().height); ! ////System.out.println("k" + k.getClipBounds()); e.paint(k, new Point(-r.x, y - r.y)); *************** *** 300,304 **** Graphics k = g.create(r.x, y , r.width, e.getPreferredSize().height); ! //System.out.println("k" + k.getClipBounds()); e.paint(k, new Point(-r.x,0)); --- 300,304 ---- Graphics k = g.create(r.x, y , r.width, e.getPreferredSize().height); ! ////System.out.println("k" + k.getClipBounds()); e.paint(k, new Point(-r.x,0)); Index: HtmlTable.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html/HtmlTable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlTable.java 3 Apr 2004 07:56:45 -0000 1.1 --- HtmlTable.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 149,153 **** public void insertElement(CellElement element) { ! //System.out.println("insercellelement"); element.setBorder(borderWidth); --- 149,153 ---- public void insertElement(CellElement element) { ! ////System.out.println("insercellelement"); element.setBorder(borderWidth); Index: TextElement.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/html/TextElement.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TextElement.java 3 Apr 2004 07:56:45 -0000 1.1 --- TextElement.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 67,71 **** } ! //System.out.println("textelement " + preferredSize); return preferredSize; --- 67,71 ---- } ! ////System.out.println("textelement " + preferredSize); return preferredSize; *************** *** 87,91 **** } ! //System.out.println("textelement " + preferredSize); return preferredSize; --- 87,91 ---- } ! ////System.out.println("textelement " + preferredSize); return preferredSize; *************** *** 149,153 **** y += preferredSize.height; ! System.out.println("start = " + start); } --- 149,153 ---- y += preferredSize.height; ! //System.out.println("start = " + start); } *************** *** 183,187 **** Rectangle r = g.getClipBounds(); ! //System.out.println(r); metrics = g.getFontMetrics(); --- 183,187 ---- Rectangle r = g.getClipBounds(); ! ////System.out.println(r); metrics = g.getFontMetrics(); *************** *** 196,200 **** ! //if(y + font.getHeight() > r.height) System.out.println("y > r.height ????"); --- 196,200 ---- ! //if(y + font.getHeight() > r.height) //System.out.println("y > r.height ????"); *************** *** 209,213 **** width += metrics.charWidth(chars[j]); start++; ! //System.out.println("" + start); } --- 209,213 ---- width += metrics.charWidth(chars[j]); start++; ! ////System.out.println("" + start); } *************** *** 242,246 **** ! //System.out.println("start = " + start); //} --- 242,246 ---- ! ////System.out.println("start = " + start); //} |
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12392/net/sf/mailsomething/text/htmltable Modified Files: SpringUtilities.java EmptyCell.java HtmlParser.java HtmlTableCellRenderer.java TableCell.java HtmlTable.java Log Message: Index: HtmlTableCellRenderer.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable/HtmlTableCellRenderer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlTableCellRenderer.java 3 Apr 2004 07:56:52 -0000 1.1 --- HtmlTableCellRenderer.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 226,230 **** } catch (BadLocationException f) { ! System.out.println("badlocationexception"); } --- 226,230 ---- } catch (BadLocationException f) { ! //System.out.println("badlocationexception"); } *************** *** 237,245 **** LinkRef ref = (LinkRef) links.elementAt(i); ! //System.out.println("offsets = " + ref.getOffset() + index); if (ref.getOffset() == index) { ! //System.out.println("Anchor = " + ref.getAnchor()); return ref.getAnchor(); --- 237,245 ---- LinkRef ref = (LinkRef) links.elementAt(i); ! ////System.out.println("offsets = " + ref.getOffset() + index); if (ref.getOffset() == index) { ! ////System.out.println("Anchor = " + ref.getAnchor()); return ref.getAnchor(); *************** *** 339,343 **** } catch (BadLocationException f) { ! System.out.println(f.getStackTrace()); } --- 339,343 ---- } catch (BadLocationException f) { ! //System.out.println(f.getStackTrace()); } *************** *** 358,362 **** node = e.nextNode(); ! System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); --- 358,362 ---- node = e.nextNode(); ! //System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); *************** *** 381,385 **** looop : while ((startTag = text.indexOf("<", index)) != -1) { ! //System.out.println(text.substring(stag, stag + 4)); if (startTag > index) { --- 381,385 ---- looop : while ((startTag = text.indexOf("<", index)) != -1) { ! ////System.out.println(text.substring(stag, stag + 4)); if (startTag > index) { *************** *** 437,441 **** try { ! //System.out.println("endstring " + text.substring(etag + 1)); super.insertString(offset, text.substring(endTag), style); --- 437,441 ---- try { ! ////System.out.println("endstring " + text.substring(etag + 1)); super.insertString(offset, text.substring(endTag), style); *************** *** 470,474 **** htmlstring.indexOf(">")); ! //System.out.println("tag=" + tag); if (tag.equals("br")) { --- 470,474 ---- htmlstring.indexOf(">")); ! ////System.out.println("tag=" + tag); if (tag.equals("br")) { *************** *** 553,557 **** String text = ressources.getText(path); ! //System.out.println(text); if (text != null) --- 553,557 ---- String text = ressources.getText(path); ! ////System.out.println(text); if (text != null) *************** *** 893,897 **** node = e.nextNode(); ! System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); --- 893,897 ---- node = e.nextNode(); ! //System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); *************** *** 921,925 **** insertStyle.removeAttributes(link); ! //System.out.println("found linebreak"); } else if (htmlnode.toLowerCase().startsWith("<a href")) { --- 921,925 ---- insertStyle.removeAttributes(link); ! ////System.out.println("found linebreak"); } else if (htmlnode.toLowerCase().startsWith("<a href")) { *************** *** 932,936 **** insertStyle.removeAttributes(h1); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h1>")) { --- 932,936 ---- insertStyle.removeAttributes(h1); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h1>")) { *************** *** 945,949 **** insertStyle.removeAttributes(h2); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h2>")) { --- 945,949 ---- insertStyle.removeAttributes(h2); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h2>")) { *************** *** 958,962 **** insertStyle.removeAttributes(h3); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h3>")) { --- 958,962 ---- insertStyle.removeAttributes(h3); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h3>")) { *************** *** 971,975 **** insertStyle.removeAttributes(h4); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h4>")) { --- 971,975 ---- insertStyle.removeAttributes(h4); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h4>")) { Index: HtmlParser.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable/HtmlParser.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlParser.java 3 Apr 2004 07:56:52 -0000 1.1 --- HtmlParser.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 35,39 **** if(end == -1) return null; ! System.out.println("start=" + (start+1) + "end=" + end); return line.substring(start+2, end); --- 35,39 ---- if(end == -1) return null; ! //System.out.println("start=" + (start+1) + "end=" + end); return line.substring(start+2, end); Index: HtmlTable.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable/HtmlTable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlTable.java 3 Apr 2004 07:56:52 -0000 1.1 --- HtmlTable.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 116,120 **** //try { ! //System.out.println("node get param " + ((Tag)node).getAttribute("width")); //} catch (ClassCastException f) { --- 116,120 ---- //try { ! ////System.out.println("node get param " + ((Tag)node).getAttribute("width")); //} catch (ClassCastException f) { *************** *** 122,126 **** ! //System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); --- 122,126 ---- ! ////System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); *************** *** 271,277 **** ! System.out.println(panel.getMinimumSize()); ! System.out.println(panel.getPreferredSize()); --- 271,277 ---- ! //System.out.println(panel.getMinimumSize()); ! //System.out.println(panel.getPreferredSize()); *************** *** 344,348 **** int width = cell.getWidth(); ! /*System.out.println("addempty cell width=" + width); Box.Filler box = new Box.Filler(new Dimension(cell.getWidth(),0), new Dimension(cell.getWidth(),0), new Dimension(1000,500)); --- 344,348 ---- int width = cell.getWidth(); ! /*//System.out.println("addempty cell width=" + width); Box.Filler box = new Box.Filler(new Dimension(cell.getWidth(),0), new Dimension(cell.getWidth(),0), new Dimension(1000,500)); *************** *** 448,452 **** public void mouseClicked(MouseEvent e) { ! System.out.println(panel.getSize()); Object o = e.getSource(); --- 448,452 ---- public void mouseClicked(MouseEvent e) { ! //System.out.println(panel.getSize()); Object o = e.getSource(); *************** *** 456,460 **** HelpTextPane pane = (HelpTextPane)o; ! System.out.println(pane.getSize()); } catch (ClassCastException f) { --- 456,460 ---- HelpTextPane pane = (HelpTextPane)o; ! //System.out.println(pane.getSize()); } catch (ClassCastException f) { Index: TableCell.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable/TableCell.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TableCell.java 3 Apr 2004 07:56:52 -0000 1.1 --- TableCell.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 118,122 **** int w = Integer.parseInt(width); ! System.out.println("tablecell width " + w); cell.setWidth(w); --- 118,122 ---- int w = Integer.parseInt(width); ! //System.out.println("tablecell width " + w); cell.setWidth(w); Index: EmptyCell.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable/EmptyCell.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EmptyCell.java 3 Apr 2004 07:56:52 -0000 1.1 --- EmptyCell.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 32,36 **** public Dimension getPreferredSize() { ! //System.out.println("emptycell " + cellsize); return cellsize; --- 32,36 ---- public Dimension getPreferredSize() { ! ////System.out.println("emptycell " + cellsize); return cellsize; Index: SpringUtilities.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/htmltable/SpringUtilities.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SpringUtilities.java 3 Apr 2004 07:56:52 -0000 1.1 --- SpringUtilities.java 20 Mar 2005 20:44:30 -0000 1.2 *************** *** 22,28 **** */ public static void printSizes(Component c) { ! System.out.println("minimumSize = " + c.getMinimumSize()); ! System.out.println("preferredSize = " + c.getPreferredSize()); ! System.out.println("maximumSize = " + c.getMaximumSize()); } --- 22,28 ---- */ public static void printSizes(Component c) { ! //System.out.println("minimumSize = " + c.getMinimumSize()); ! //System.out.println("preferredSize = " + c.getPreferredSize()); ! //System.out.println("maximumSize = " + c.getMaximumSize()); } *************** *** 240,244 **** pCons.setConstraint(SpringLayout.EAST, x); ! //System.out.println("springlayout " + x + y); } } --- 240,244 ---- pCons.setConstraint(SpringLayout.EAST, x); ! ////System.out.println("springlayout " + x + y); } } |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:44
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11648/net/sf/mailsomething/text Modified Files: StyledViewDocument.java ContentTemplateImpl.java MailEditorDocument.java StyleAttribute.java StyleTemplateExample.java HelpEditorKit.java MailEditorKit.java StyledMailDocument.java StyledJavaDocument.java TextUtils.java MutableTextNote.java StyledViewEditorKit.java HtmlFactory.java Log Message: Index: TextUtils.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/TextUtils.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TextUtils.java 3 Apr 2004 07:56:50 -0000 1.1 --- TextUtils.java 20 Mar 2005 20:43:33 -0000 1.2 *************** *** 42,46 **** node = e.nextNode(); ! System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); --- 42,46 ---- node = e.nextNode(); ! //System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); Index: MailEditorKit.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/MailEditorKit.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailEditorKit.java 3 Apr 2004 07:56:50 -0000 1.1 --- MailEditorKit.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 123,129 **** if (lastWasCR) { if (counter > (last + 1)) { ! //System.out.println("buffer[last]=" + buff[last + 1] + "="); ! //if(buff[last] == '>') System.out.println("replyline"); ! // System.out.println("replyline"); if (buff[last + 1] == '>') { --- 123,129 ---- if (lastWasCR) { if (counter > (last + 1)) { ! ////System.out.println("buffer[last]=" + buff[last + 1] + "="); ! //if(buff[last] == '>') //System.out.println("replyline"); ! // //System.out.println("replyline"); if (buff[last + 1] == '>') { *************** *** 325,329 **** if (editor.getCursor().equals(linkCursor)) { ! System.out.println("����� + href"); activateHelpLink( pos, --- 325,329 ---- if (editor.getCursor().equals(linkCursor)) { ! //System.out.println("����� + href"); activateHelpLink( pos, *************** *** 392,396 **** href = href.trim(); ! System.out.println("##### " + href); } catch (BadLocationException f) { } --- 392,396 ---- href = href.trim(); ! //System.out.println("##### " + href); } catch (BadLocationException f) { } *************** *** 410,414 **** if (newCursor.equals(linkCursor)) { ! //System.out.println("test"); if (curElem != null) { --- 410,414 ---- if (newCursor.equals(linkCursor)) { ! ////System.out.println("test"); if (curElem != null) { *************** *** 500,508 **** u = new URL(href); } catch (MalformedURLException m) { ! System.out.println("malformed url" + m.getMessage()); u = null; } ! System.out.println("maileditorkit hyperlinkevent fired"); HyperlinkEvent event = new HyperlinkEvent(editor, type, u, href); editor.fireHyperlinkUpdate(event); --- 500,508 ---- u = new URL(href); } catch (MalformedURLException m) { ! //System.out.println("malformed url" + m.getMessage()); u = null; } ! //System.out.println("maileditorkit hyperlinkevent fired"); HyperlinkEvent event = new HyperlinkEvent(editor, type, u, href); editor.fireHyperlinkUpdate(event); *************** *** 517,521 **** if (handler.getFontFamily() != null) { ! System.out.println("changing font"); Style def = --- 517,521 ---- if (handler.getFontFamily() != null) { ! //System.out.println("changing font"); Style def = Index: MutableTextNote.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/MutableTextNote.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MutableTextNote.java 3 Apr 2004 07:56:50 -0000 1.1 --- MutableTextNote.java 20 Mar 2005 20:43:33 -0000 1.2 *************** *** 157,161 **** /*if(mutateDate != null) if(mutateDate.compareTo(date) > 0) { ! //System.out.println("error"); return text; } --- 157,161 ---- /*if(mutateDate != null) if(mutateDate.compareTo(date) > 0) { ! ////System.out.println("error"); return text; } *************** *** 163,167 **** if (notes.size() < 1) { ! //System.out.println(text); return text; }* --- 163,167 ---- if (notes.size() < 1) { ! ////System.out.println(text); return text; }* *************** *** 171,184 **** for (int i = 0; i < notes.size(); i++) { ! //System.out.println("traverse"); MutableTextNote note = (MutableTextNote) notes.elementAt(i); if(note.isDeleted()) { ! //System.out.println("deleted: " + note.getText(date)); //debug continue; } ! //System.out.println(note.getText(date)); text += note.getText(date); --- 171,184 ---- for (int i = 0; i < notes.size(); i++) { ! ////System.out.println("traverse"); MutableTextNote note = (MutableTextNote) notes.elementAt(i); if(note.isDeleted()) { ! ////System.out.println("deleted: " + note.getText(date)); //debug continue; } ! ////System.out.println(note.getText(date)); text += note.getText(date); *************** *** 203,207 **** return 0; } else if (notes.size() < 1) { ! System.out.println("getlength " + text.length()); return text.length(); } --- 203,207 ---- return 0; } else if (notes.size() < 1) { ! //System.out.println("getlength " + text.length()); return text.length(); } *************** *** 315,327 **** notes.add(new MutableTextNote(this.text.substring(0, position), this)); ! //System.out.println("in delete " + this.text.substring(0, position)); notes.add(new MutableTextNote(text, true, this)); ! //System.out.println("in delete " + text); notes.add(new MutableTextNote(this.text.substring(position + text.length()), this)); ! //System.out.println("in delete " + this.text.substring(position + text.length())); mutateDate = new Date(); --- 315,327 ---- notes.add(new MutableTextNote(this.text.substring(0, position), this)); ! ////System.out.println("in delete " + this.text.substring(0, position)); notes.add(new MutableTextNote(text, true, this)); ! ////System.out.println("in delete " + text); notes.add(new MutableTextNote(this.text.substring(position + text.length()), this)); ! ////System.out.println("in delete " + this.text.substring(position + text.length())); mutateDate = new Date(); *************** *** 390,394 **** for(int i = 0; i < notes.size(); i++) { ! if(((MutableTextNote)notes.elementAt(i)).isDeleted()) System.out.println("yahhh"); size += ((MutableTextNote)notes.elementAt(i)).getNotesSize(); } --- 390,394 ---- for(int i = 0; i < notes.size(); i++) { ! if(((MutableTextNote)notes.elementAt(i)).isDeleted()) //System.out.println("yahhh"); size += ((MutableTextNote)notes.elementAt(i)).getNotesSize(); } *************** *** 401,405 **** public String getText(int offset, int length) { ! System.out.println("getText offset = " + offset + "length = " + length); if(offset > getLength()) return null; --- 401,405 ---- public String getText(int offset, int length) { ! //System.out.println("getText offset = " + offset + "length = " + length); if(offset > getLength()) return null; *************** *** 478,482 **** public Element getElement(int index) { ! System.out.println("getElement " + index); //if(notes.size() < 1) return this; --- 478,482 ---- public Element getElement(int index) { ! //System.out.println("getElement " + index); //if(notes.size() < 1) return this; *************** *** 490,494 **** public int getElementCount() { ! System.out.println("getelementcount"); //if(notes.size() < 1) return 1; --- 490,494 ---- public int getElementCount() { ! //System.out.println("getelementcount"); //if(notes.size() < 1) return 1; *************** *** 502,506 **** public int getElementIndex(int offset) { ! System.out.println("getelementIndex " + offset); if(notes.size() < 1) return -1; //element is leaf --- 502,506 ---- public int getElementIndex(int offset) { ! //System.out.println("getelementIndex " + offset); if(notes.size() < 1) return -1; //element is leaf *************** *** 539,543 **** public int getEndOffset() { ! System.out.println("getendoffset "); Document doc = getDocument(); --- 539,543 ---- public int getEndOffset() { ! //System.out.println("getendoffset "); Document doc = getDocument(); *************** *** 559,563 **** public int getStartOffset() { ! System.out.println("getstartoffset"); Document doc = getDocument(); --- 559,563 ---- public int getStartOffset() { ! //System.out.println("getstartoffset"); Document doc = getDocument(); *************** *** 582,586 **** public Element getParentElement() { ! System.out.println("getParentElement"); return parent; --- 582,586 ---- public Element getParentElement() { ! //System.out.println("getParentElement"); return parent; *************** *** 590,594 **** public boolean isLeaf() { ! System.out.println("isleaf"); if(notes.size() < 1) return true; --- 590,594 ---- public boolean isLeaf() { ! //System.out.println("isleaf"); if(notes.size() < 1) return true; *************** *** 632,636 **** public void render(Runnable r) { ! System.out.println("render....."); //readLock(); --- 632,636 ---- public void render(Runnable r) { ! //System.out.println("render....."); //readLock(); *************** *** 651,655 **** */ public void addDocumentListener(DocumentListener listener) { ! System.out.println("adddocumentlistener"); listenerList.add(DocumentListener.class, listener); } --- 651,655 ---- */ public void addDocumentListener(DocumentListener listener) { ! //System.out.println("adddocumentlistener"); listenerList.add(DocumentListener.class, listener); } *************** *** 694,698 **** public Object getProperty(Object key) { ! System.out.println("getproperty " + key + doc.getProperty(key)); return doc.getProperty(key); --- 694,698 ---- public Object getProperty(Object key) { ! //System.out.println("getproperty " + key + doc.getProperty(key)); return doc.getProperty(key); *************** *** 701,705 **** public void putProperty(Object key, Object value) { ! System.out.println("putproperty key = " + key + "value = " + value); } --- 701,705 ---- public void putProperty(Object key, Object value) { ! //System.out.println("putproperty key = " + key + "value = " + value); } *************** *** 711,715 **** public void getText(int where, int len, Segment txt) throws BadLocationException { ! System.out.println("getText where=" + where + " len=" + len + " segment..."); --- 711,715 ---- public void getText(int where, int len, Segment txt) throws BadLocationException { ! //System.out.println("getText where=" + where + " len=" + len + " segment..."); *************** *** 741,745 **** public Element getDefaultRootElement() { ! System.out.println("getdefaultrootelements"); return getRootDocument(); --- 741,745 ---- public Element getDefaultRootElement() { ! //System.out.println("getdefaultrootelements"); return getRootDocument(); *************** *** 749,753 **** public Element[] getRootElements() { ! System.out.println("getrootelements"); Element[] roots = new Element[1]; --- 749,753 ---- public Element[] getRootElements() { ! //System.out.println("getrootelements"); Element[] roots = new Element[1]; Index: StyledJavaDocument.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/StyledJavaDocument.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StyledJavaDocument.java 3 Apr 2004 07:56:50 -0000 1.1 --- StyledJavaDocument.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 166,170 **** } } else { ! //System.out.println("-" + link + "-"); temp += link; clear = false; --- 166,170 ---- } } else { ! ////System.out.println("-" + link + "-"); temp += link; clear = false; *************** *** 172,176 **** } ! //System.out.println(temp); if (!clear) { --- 172,176 ---- } ! ////System.out.println(temp); if (!clear) { *************** *** 184,188 **** //super.insertString(offset, string, a); ! //System.out.println("teststyleddocument insertstring"); } --- 184,188 ---- //super.insertString(offset, string, a); ! ////System.out.println("teststyleddocument insertstring"); } *************** *** 195,199 **** protected void create(ElementSpec[] data) { super.create(data); ! //System.out.println("create elementSpec"); } --- 195,199 ---- protected void create(ElementSpec[] data) { super.create(data); ! ////System.out.println("create elementSpec"); } *************** *** 208,212 **** throws BadLocationException { super.insert(offset, data); ! //System.out.println("insert elementSpec"); } --- 208,212 ---- throws BadLocationException { super.insert(offset, data); ! ////System.out.println("insert elementSpec"); } Index: StyleTemplateExample.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/StyleTemplateExample.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StyleTemplateExample.java 3 Apr 2004 07:56:50 -0000 1.1 --- StyleTemplateExample.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 142,146 **** template.addStyle("b", b); ! System.out.println(template.toString()); --- 142,146 ---- template.addStyle("b", b); ! //System.out.println(template.toString()); Index: HelpEditorKit.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/HelpEditorKit.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpEditorKit.java 3 Apr 2004 07:56:50 -0000 1.1 --- HelpEditorKit.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 217,221 **** newCursor = linkCursor; ! System.out.println("found link"); }*/ --- 217,221 ---- newCursor = linkCursor; ! //System.out.println("found link"); }*/ *************** *** 227,231 **** } ! //System.out.println( // a.getAttribute(StyleConstants.NameAttribute)); --- 227,231 ---- } ! ////System.out.println( // a.getAttribute(StyleConstants.NameAttribute)); *************** *** 240,244 **** linkoffset = elem.getStartOffset(); ! //System.out.println("test + " + pos); try { --- 240,244 ---- linkoffset = elem.getStartOffset(); ! ////System.out.println("test + " + pos); try { *************** *** 356,360 **** String href) { ! //System.out.println("Activatehelplink"); StyledViewDocument hdoc = (StyledViewDocument) editor.getDocument(); --- 356,360 ---- String href) { ! ////System.out.println("Activatehelplink"); StyledViewDocument hdoc = (StyledViewDocument) editor.getDocument(); *************** *** 393,397 **** && type == HyperlinkEvent.EventType.ACTIVATED) { ! //System.out.println("activate action: " + anc.getText()); //some date code for testing speed --- 393,397 ---- && type == HyperlinkEvent.EventType.ACTIVATED) { ! ////System.out.println("activate action: " + anc.getText()); //some date code for testing speed *************** *** 412,416 **** if (a != null) { ! //System.out.println("activate action"); ActionEvent e = --- 412,416 ---- if (a != null) { ! ////System.out.println("activate action"); ActionEvent e = *************** *** 432,436 **** //Date date1 = new Date(); ! //System.out.println("" + (date.getTime() - date1.getTime())); } else if (anc.getType() == Anchor.ACTION) { --- 432,436 ---- //Date date1 = new Date(); ! ////System.out.println("" + (date.getTime() - date1.getTime())); } else if (anc.getType() == Anchor.ACTION) { Index: StyledViewDocument.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/StyledViewDocument.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StyledViewDocument.java 3 Apr 2004 07:56:50 -0000 1.1 --- StyledViewDocument.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 272,276 **** if(ref.getAnchor() == anchor) { ! System.out.println("" + ref.getOffset()); return ref.position; --- 272,276 ---- if(ref.getAnchor() == anchor) { ! //System.out.println("" + ref.getOffset()); return ref.position; *************** *** 391,395 **** } catch (BadLocationException f) { ! System.out.println(f.getStackTrace()); } --- 391,395 ---- } catch (BadLocationException f) { ! //System.out.println(f.getStackTrace()); } *************** *** 642,646 **** node = e.nextNode(); ! //System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); --- 642,646 ---- node = e.nextNode(); ! ////System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); *************** *** 671,675 **** } else if (htmlnode.toLowerCase().startsWith("<img")) { ! System.out.println("found image tag"); if (ressources == null) { --- 671,675 ---- } else if (htmlnode.toLowerCase().startsWith("<img")) { ! //System.out.println("found image tag"); if (ressources == null) { *************** *** 687,691 **** return; ! System.out.println("image " + path); StyleContext context = --- 687,691 ---- return; ! //System.out.println("image " + path); StyleContext context = *************** *** 726,730 **** insertStyle.removeAttributes(StyledViewDocument.link); ! //System.out.println("found linebreak"); } else if ( htmlnode.toLowerCase().startsWith("<a href") --- 726,730 ---- insertStyle.removeAttributes(StyledViewDocument.link); ! ////System.out.println("found linebreak"); } else if ( htmlnode.toLowerCase().startsWith("<a href") *************** *** 768,772 **** String action = ((Tag) node).getAttribute("action"); ! System.out.println("action = " + action); Anchor anchor = --- 768,772 ---- String action = ((Tag) node).getAttribute("action"); ! //System.out.println("action = " + action); Anchor anchor = *************** *** 797,801 **** insertStyle.removeAttributes(StyledViewDocument.h1); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h1>")) { --- 797,801 ---- insertStyle.removeAttributes(StyledViewDocument.h1); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h1>")) { *************** *** 821,825 **** insertStyle.removeAttributes(tstyle); ! //System.out.println("found linebreak"); } else if ( htmlnode.equalsIgnoreCase("<h2>") --- 821,825 ---- insertStyle.removeAttributes(tstyle); ! ////System.out.println("found linebreak"); } else if ( htmlnode.equalsIgnoreCase("<h2>") *************** *** 845,849 **** insertStyle.removeAttributes(StyledViewDocument.h3); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h3>")) { --- 845,849 ---- insertStyle.removeAttributes(StyledViewDocument.h3); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h3>")) { *************** *** 858,862 **** insertStyle.removeAttributes(StyledViewDocument.h4); ! //System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h4>")) { --- 858,862 ---- insertStyle.removeAttributes(StyledViewDocument.h4); ! ////System.out.println("found linebreak"); } else if (htmlnode.equalsIgnoreCase("<h4>")) { *************** *** 1122,1126 **** try { ! System.out.println("start element " + currElement + " ofset " + getOffset()); elem.offset = createPosition(getOffset()); --- 1122,1126 ---- try { ! //System.out.println("start element " + currElement + " ofset " + getOffset()); elem.offset = createPosition(getOffset()); *************** *** 1149,1153 **** public int getElementAt(int offset) { ! System.out.println("getelementat " + offset); for (int i = 0; i < elements.size(); i++) { --- 1149,1153 ---- public int getElementAt(int offset) { ! //System.out.println("getelementat " + offset); for (int i = 0; i < elements.size(); i++) { *************** *** 1155,1159 **** BlockElement elem = (BlockElement) elements.elementAt(i); ! System.out.println("elements" + elem.offset.getOffset() + " end " + elem.endset.getOffset()); } --- 1155,1159 ---- BlockElement elem = (BlockElement) elements.elementAt(i); ! //System.out.println("elements" + elem.offset.getOffset() + " end " + elem.endset.getOffset()); } *************** *** 1178,1182 **** public void removeElement(int index) { ! System.out.println("removeelement " + index); BlockElement elem = (BlockElement) elements.elementAt(index); --- 1178,1182 ---- public void removeElement(int index) { ! //System.out.println("removeelement " + index); BlockElement elem = (BlockElement) elements.elementAt(index); *************** *** 1186,1190 **** int length = elem.endset.getOffset() - elem.offset.getOffset(); ! System.out.println("removeelement length " + length + " " + elem.offset.getOffset()); remove(elem.offset.getOffset(), length); --- 1186,1190 ---- int length = elem.endset.getOffset() - elem.offset.getOffset(); ! //System.out.println("removeelement length " + length + " " + elem.offset.getOffset()); remove(elem.offset.getOffset(), length); Index: ContentTemplateImpl.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/ContentTemplateImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ContentTemplateImpl.java 3 Apr 2004 07:56:50 -0000 1.1 --- ContentTemplateImpl.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 40,44 **** for (int i = 0; i < properties.length; i++) { ! System.out.println(properties[i].getName()); } --- 40,44 ---- for (int i = 0; i < properties.length; i++) { ! //System.out.println(properties[i].getName()); } *************** *** 154,158 **** protected static String removeTagEnclosers(String tag) { ! //System.out.println(tag); if(tag.startsWith("<")) { --- 154,158 ---- protected static String removeTagEnclosers(String tag) { ! ////System.out.println(tag); if(tag.startsWith("<")) { *************** *** 172,176 **** } ! //System.out.println(tag); return tag; --- 172,176 ---- } ! ////System.out.println(tag); return tag; *************** *** 197,201 **** for(int i = 0; i < tags.length; i++) { ! System.out.println(tags[i]); } --- 197,201 ---- for(int i = 0; i < tags.length; i++) { ! //System.out.println(tags[i]); } Index: MailEditorDocument.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/MailEditorDocument.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailEditorDocument.java 3 Apr 2004 07:56:50 -0000 1.1 --- MailEditorDocument.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 75,79 **** String elem = token.nextToken(); ! //System.out.println("elem" + elem); if (elem.startsWith(">")) --- 75,79 ---- String elem = token.nextToken(); ! ////System.out.println("elem" + elem); if (elem.startsWith(">")) Index: StyleAttribute.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/StyleAttribute.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StyleAttribute.java 3 Apr 2004 07:56:50 -0000 1.1 --- StyleAttribute.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 111,115 **** String token = tokenizer.nextToken(); ! //System.out.println("token " + token); int index = 0; --- 111,115 ---- String token = tokenizer.nextToken(); ! ////System.out.println("token " + token); int index = 0; *************** *** 127,131 **** char second = token.charAt(index + 1); ! //System.out.println("first " + first + second); String number = ""; --- 127,131 ---- char second = token.charAt(index + 1); ! ////System.out.println("first " + first + second); String number = ""; *************** *** 252,259 **** ! System.out.println("fontsize=" + atrib.getAttribute(FONT_SIZE)); ! System.out.println("color=" + atrib.getAttribute(COLOR)); ! System.out.println(atrib.toString()); } --- 252,259 ---- ! //System.out.println("fontsize=" + atrib.getAttribute(FONT_SIZE)); ! //System.out.println("color=" + atrib.getAttribute(COLOR)); ! //System.out.println(atrib.toString()); } Index: HtmlFactory.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/HtmlFactory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HtmlFactory.java 3 Apr 2004 07:56:50 -0000 1.1 --- HtmlFactory.java 20 Mar 2005 20:43:33 -0000 1.2 *************** *** 120,124 **** if (curStyle == null) ! System.out.println("curstyle is null"); if (element.isLeaf()) { --- 120,124 ---- if (curStyle == null) ! //System.out.println("curstyle is null"); if (element.isLeaf()) { Index: StyledMailDocument.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/StyledMailDocument.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StyledMailDocument.java 3 Apr 2004 07:56:50 -0000 1.1 --- StyledMailDocument.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 69,73 **** } } else { ! //System.out.println("-" + link + "-"); temp += link; clear = false; --- 69,73 ---- } } else { ! ////System.out.println("-" + link + "-"); temp += link; clear = false; *************** *** 75,79 **** } ! //System.out.println(temp); if (!clear) { --- 75,79 ---- } ! ////System.out.println(temp); if (!clear) { *************** *** 83,87 **** //super.insertString(offset, string, a); ! //System.out.println("teststyleddocument insertstring"); } --- 83,87 ---- //super.insertString(offset, string, a); ! ////System.out.println("teststyleddocument insertstring"); } *************** *** 95,99 **** protected void create(ElementSpec[] data) { super.create(data); ! System.out.println("create elementSpec"); } --- 95,99 ---- protected void create(ElementSpec[] data) { super.create(data); ! //System.out.println("create elementSpec"); } *************** *** 108,112 **** protected void insert(int offset, ElementSpec[] data) throws BadLocationException { super.insert(offset, data); ! System.out.println("insert elementSpec"); } --- 108,112 ---- protected void insert(int offset, ElementSpec[] data) throws BadLocationException { super.insert(offset, data); ! //System.out.println("insert elementSpec"); } Index: StyledViewEditorKit.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/text/StyledViewEditorKit.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StyledViewEditorKit.java 3 Apr 2004 07:56:50 -0000 1.1 --- StyledViewEditorKit.java 20 Mar 2005 20:43:33 -0000 1.2 *************** *** 57,61 **** super.install(c); ! System.out.println("install stylededitorkit on editorpane"); } --- 57,61 ---- super.install(c); ! //System.out.println("install stylededitorkit on editorpane"); } *************** *** 168,172 **** if (newCursor.equals(linkCursor)) { ! //System.out.println("test"); if(curElem != null) { --- 168,172 ---- if (newCursor.equals(linkCursor)) { ! ////System.out.println("test"); if(curElem != null) { *************** *** 262,266 **** u = new URL("http://" + href); } catch (MalformedURLException m) { ! System.out.println("malformed url" + m.getMessage()); u = null; } --- 262,266 ---- u = new URL("http://" + href); } catch (MalformedURLException m) { ! //System.out.println("malformed url" + m.getMessage()); u = null; } *************** *** 292,296 **** u = new URL("http://" + href); } catch (MalformedURLException m) { ! System.out.println("malformed url" + m.getMessage()); u = null; } --- 292,296 ---- u = new URL("http://" + href); } catch (MalformedURLException m) { ! //System.out.println("malformed url" + m.getMessage()); u = null; } |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:43
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/security In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11648/net/sf/mailsomething/security Modified Files: MyX509TrustManager.java Log Message: Index: MyX509TrustManager.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/security/MyX509TrustManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MyX509TrustManager.java 3 Apr 2004 07:56:52 -0000 1.1 --- MyX509TrustManager.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 31,35 **** //TODO: do something here //if(chain.length > 0) ! // System.out.println(chain[0].toString()); } --- 31,35 ---- //TODO: do something here //if(chain.length > 0) ! // //System.out.println(chain[0].toString()); } |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:43
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/taskmodel/dbimpl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11648/net/sf/mailsomething/taskmodel/dbimpl Modified Files: DBContext.java DBTask.java DBIdentity.java DBTaskList.java Log Message: Index: DBIdentity.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/taskmodel/dbimpl/DBIdentity.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DBIdentity.java 3 Apr 2004 07:56:53 -0000 1.1 --- DBIdentity.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 64,68 **** public String getID() { ! System.out.println("id of dbuser" + id); return "" + id; --- 64,68 ---- public String getID() { ! //System.out.println("id of dbuser" + id); return "" + id; Index: DBTask.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/taskmodel/dbimpl/DBTask.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DBTask.java 3 Apr 2004 07:56:53 -0000 1.1 --- DBTask.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 125,129 **** ! //System.out.println("lastupdate" + rs.getTimestamp("lastupdate")); describ = new DBComment(); --- 125,129 ---- ! ////System.out.println("lastupdate" + rs.getTimestamp("lastupdate")); describ = new DBComment(); *************** *** 436,440 **** } ! System.out.println("id of comment"); return id; --- 436,440 ---- } ! //System.out.println("id of comment"); return id; Index: DBContext.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/taskmodel/dbimpl/DBContext.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DBContext.java 3 Apr 2004 07:56:53 -0000 1.1 --- DBContext.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 134,138 **** while(rs.next()) { ! //System.out.println("get user context"); DBIdentity ident = new DBIdentity(); --- 134,138 ---- while(rs.next()) { ! ////System.out.println("get user context"); DBIdentity ident = new DBIdentity(); Index: DBTaskList.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/taskmodel/dbimpl/DBTaskList.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DBTaskList.java 3 Apr 2004 07:56:53 -0000 1.1 --- DBTaskList.java 20 Mar 2005 20:43:32 -0000 1.2 *************** *** 107,111 **** while (rs.next()) { ! //System.out.println(rs.getString(0)); int id = rs.getInt("id"); --- 107,111 ---- while (rs.next()) { ! ////System.out.println(rs.getString(0)); int id = rs.getInt("id"); *************** *** 629,633 **** } ! System.out.println("id of comment"); return id; --- 629,633 ---- } ! //System.out.println("id of comment"); return id; *************** *** 828,832 **** for (int i = 0; i < drops.length; i++) { ! System.out.println(drops[i]); stmt = conn.createStatement(); --- 828,832 ---- for (int i = 0; i < drops.length; i++) { ! //System.out.println(drops[i]); stmt = conn.createStatement(); *************** *** 837,841 **** for (int i = 0; i < creates.length; i++) { ! System.out.println(creates[i]); stmt = conn.createStatement(); --- 837,841 ---- for (int i = 0; i < creates.length; i++) { ! //System.out.println(creates[i]); stmt = conn.createStatement(); *************** *** 863,867 **** for (int i = 0; i < cats.length; i++) { ! System.out.println(cats[i].getName() + " " + cats[i].getPurpose()); }*/ --- 863,867 ---- for (int i = 0; i < cats.length; i++) { ! //System.out.println(cats[i].getName() + " " + cats[i].getPurpose()); }*/ *************** *** 870,878 **** for (int i = 0; i < tasks.length; i++) { ! System.out.println(tasks[i].getSummary()); ! System.out.println(tasks[i].getAssignee().getAlias()); ! System.out.println(tasks[i].getDescription().getComment()); }*/ --- 870,878 ---- for (int i = 0; i < tasks.length; i++) { ! //System.out.println(tasks[i].getSummary()); ! //System.out.println(tasks[i].getAssignee().getAlias()); ! //System.out.println(tasks[i].getDescription().getComment()); }*/ |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:13
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/search/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11279/net/sf/mailsomething/search/impl Modified Files: MailboxSearchable.java GoogleFormat.java SearchImpl.java SearchDefinitionImpl.java Log Message: Index: SearchDefinitionImpl.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/search/impl/SearchDefinitionImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SearchDefinitionImpl.java 3 Apr 2004 07:56:52 -0000 1.1 --- SearchDefinitionImpl.java 20 Mar 2005 20:43:04 -0000 1.2 *************** *** 98,102 **** } ! System.out.println(condition); if (conditions[i].required()) { --- 98,102 ---- } ! //System.out.println(condition); if (conditions[i].required()) { *************** *** 250,254 **** String line = token.nextToken(); ! //System.out.println(line); inner : for (int i = 0; i < conditions.length; i++) { --- 250,254 ---- String line = token.nextToken(); ! ////System.out.println(line); inner : for (int i = 0; i < conditions.length; i++) { Index: SearchImpl.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/search/impl/SearchImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SearchImpl.java 3 Apr 2004 07:56:52 -0000 1.1 --- SearchImpl.java 20 Mar 2005 20:43:04 -0000 1.2 *************** *** 88,92 **** (SearchDefinition) criterias.elementAt(criterias.size() - 1); ! System.out.println(searchobject + searchobject.getSearchString()); ResultListImpl templist = new ResultListImpl(); --- 88,92 ---- (SearchDefinition) criterias.elementAt(criterias.size() - 1); ! //System.out.println(searchobject + searchobject.getSearchString()); ResultListImpl templist = new ResultListImpl(); *************** *** 135,139 **** for (int i = 0; i < searchables.length; i++) { ! //System.out.println("searching"); if (searchables[i] --- 135,139 ---- for (int i = 0; i < searchables.length; i++) { ! ////System.out.println("searching"); if (searchables[i] Index: MailboxSearchable.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/search/impl/MailboxSearchable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxSearchable.java 3 Apr 2004 07:56:52 -0000 1.1 --- MailboxSearchable.java 20 Mar 2005 20:43:04 -0000 1.2 *************** *** 41,45 **** public ResultList search(SearchDefinition search, ResultList list) { ! System.out.println("getsearchlengthestimate " + mailbox.getMessageCount()); MailService mailService = MailService.getInstance(); --- 41,45 ---- public ResultList search(SearchDefinition search, ResultList list) { ! //System.out.println("getsearchlengthestimate " + mailbox.getMessageCount()); MailService mailService = MailService.getInstance(); *************** *** 62,66 **** public int getSearchLengthEstimate(String[] classnames) { ! System.out.println("getsearchlengthestimate " + mailbox.getMessageCount()); return mailbox.getMessageCount(); --- 62,66 ---- public int getSearchLengthEstimate(String[] classnames) { ! //System.out.println("getsearchlengthestimate " + mailbox.getMessageCount()); return mailbox.getMessageCount(); Index: GoogleFormat.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/search/impl/GoogleFormat.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GoogleFormat.java 3 Apr 2004 07:56:52 -0000 1.1 --- GoogleFormat.java 20 Mar 2005 20:43:04 -0000 1.2 *************** *** 39,43 **** String token = searchString.substring(start+1, end); ! System.out.println(" stoff seperated token=" + token); conditions.add(new GoogleCondition(token)); --- 39,43 ---- String token = searchString.substring(start+1, end); ! //System.out.println(" stoff seperated token=" + token); conditions.add(new GoogleCondition(token)); *************** *** 45,49 **** searchString = searchString.substring(0, start) + searchString.substring(end+1); ! //System.out.println(" stoff seperated tokenleft=" + searchString); } --- 45,49 ---- searchString = searchString.substring(0, start) + searchString.substring(end+1); ! ////System.out.println(" stoff seperated tokenleft=" + searchString); } *************** *** 74,78 **** public GoogleCondition(String token) { ! //System.out.println("new googlecondition = " + token); if (token.startsWith("+")) { --- 74,78 ---- public GoogleCondition(String token) { ! ////System.out.println("new googlecondition = " + token); if (token.startsWith("+")) { |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:12
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/notes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11279/net/sf/mailsomething/notes Modified Files: NoteService.java Log Message: Index: NoteService.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/notes/NoteService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NoteService.java 3 Apr 2004 07:56:51 -0000 1.1 --- NoteService.java 20 Mar 2005 20:43:03 -0000 1.2 *************** *** 71,75 **** public void init() { ! System.out.println("NOTESERVICE INIT"); module = new HelpSystem(); --- 71,75 ---- public void init() { ! //System.out.println("NOTESERVICE INIT"); module = new HelpSystem(); |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:12
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/natif/windows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11279/net/sf/mailsomething/natif/windows Modified Files: Registry.java Log Message: Index: Registry.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/natif/windows/Registry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Registry.java 3 Apr 2004 07:56:54 -0000 1.1 --- Registry.java 20 Mar 2005 20:43:03 -0000 1.2 *************** *** 75,79 **** String s = (String)reg.readKey(Registry.HKEY_LOCAL_MACHINE, "SOFTWARE\\Clients\\Mail\\Mailsomething\\shell\\open\\command"); ! System.out.println("returnvalue=" + s); --- 75,79 ---- String s = (String)reg.readKey(Registry.HKEY_LOCAL_MACHINE, "SOFTWARE\\Clients\\Mail\\Mailsomething\\shell\\open\\command"); ! //System.out.println("returnvalue=" + s); |
From: Stig T. <jw...@us...> - 2005-03-20 20:43:12
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/notes/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11279/net/sf/mailsomething/notes/db Modified Files: DBBlogger.java Log Message: Index: DBBlogger.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/notes/db/DBBlogger.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DBBlogger.java 3 Apr 2004 07:56:55 -0000 1.1 --- DBBlogger.java 20 Mar 2005 20:43:03 -0000 1.2 *************** *** 415,421 **** public void propertyChange(PropertyChangeEvent ev) { ! System.out.println("propertychangeevent"); ! System.out.println(ev.getPropertyName()); ! //System.out.println(ev.getNewValue());*/ if (!ev.getPropertyName().equalsIgnoreCase("text")) --- 415,421 ---- public void propertyChange(PropertyChangeEvent ev) { ! //System.out.println("propertychangeevent"); ! //System.out.println(ev.getPropertyName()); ! ////System.out.println(ev.getNewValue());*/ if (!ev.getPropertyName().equalsIgnoreCase("text")) *************** *** 426,431 **** //if(date.i) ! System.out.println( ! "propertychangeevent" + DATE_FORMATTER.format(note.getDate())); String update = --- 426,431 ---- //if(date.i) ! //System.out.println( ! // "propertychangeevent" + DATE_FORMATTER.format(note.getDate())); String update = |
From: Stig T. <jw...@us...> - 2005-03-20 20:42:29
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10839/net/sf/mailsomething/mail/util Modified Files: Base64.java QuotedPrintable.java Log Message: Index: QuotedPrintable.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/util/QuotedPrintable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** QuotedPrintable.java 3 Apr 2004 07:56:55 -0000 1.1 --- QuotedPrintable.java 20 Mar 2005 20:42:21 -0000 1.2 *************** *** 113,117 **** return decoded; } catch (UnsupportedEncodingException e) { ! System.out.println("qp decodechar"); } return "?"; --- 113,117 ---- return decoded; } catch (UnsupportedEncodingException e) { ! //System.out.println("qp decodechar"); } return "?"; Index: Base64.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/util/Base64.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Base64.java 11 Mar 2005 13:32:27 -0000 1.2 --- Base64.java 20 Mar 2005 20:42:21 -0000 1.3 *************** *** 125,129 **** } ! //System.out.println("decode64"); byte[] bytearray = new byte[byteArray.length]; byte[] treesome = new byte[3]; --- 125,129 ---- } ! ////System.out.println("decode64"); byte[] bytearray = new byte[byteArray.length]; byte[] treesome = new byte[3]; *************** *** 133,137 **** int i; for ( i = 0; i + 3 < byteArray.length; i += 4) { ! //System.out.println("decoding64 " + i); treesome = fourBytes2three(byteArray[i], byteArray[i + 1], byteArray[i + 2], byteArray[i + 3]); --- 133,137 ---- int i; for ( i = 0; i + 3 < byteArray.length; i += 4) { ! ////System.out.println("decoding64 " + i); treesome = fourBytes2three(byteArray[i], byteArray[i + 1], byteArray[i + 2], byteArray[i + 3]); *************** *** 139,143 **** for (int j = 0; j < 3; j++) { ! // System.out.println("j = " + j); bytearray[xx] = treesome[j]; --- 139,143 ---- for (int j = 0; j < 3; j++) { ! // //System.out.println("j = " + j); bytearray[xx] = treesome[j]; *************** *** 164,168 **** byte[] body = new byte[xx]; ! //System.out.println(xx + " " + body.length + " " + xx); System.arraycopy(bytearray, 0, body, 0, ((xx))); --- 164,168 ---- byte[] body = new byte[xx]; ! ////System.out.println(xx + " " + body.length + " " + xx); System.arraycopy(bytearray, 0, body, 0, ((xx))); *************** *** 287,291 **** //for(int i = 0; i < foursome.length; i++) ! //System.out.println("" + (int)foursome[i]); return foursome; --- 287,291 ---- //for(int i = 0; i < foursome.length; i++) ! ////System.out.println("" + (int)foursome[i]); return foursome; |
From: Stig T. <jw...@us...> - 2005-03-20 20:41:48
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10513/net/sf/mailsomething/mail/server Modified Files: Pop3ServerProtocol.java Pop3Server.java Log Message: Index: Pop3ServerProtocol.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/server/Pop3ServerProtocol.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Pop3ServerProtocol.java 3 Apr 2004 07:56:54 -0000 1.1 --- Pop3ServerProtocol.java 20 Mar 2005 20:41:39 -0000 1.2 *************** *** 83,87 **** command = command.substring(0, command.length() - 2); ! System.out.println("pop3 protocol command: " + command); String[] params = getTokens(command); --- 83,87 ---- command = command.substring(0, command.length() - 2); ! //System.out.println("pop3 protocol command: " + command); String[] params = getTokens(command); Index: Pop3Server.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/server/Pop3Server.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Pop3Server.java 3 Apr 2004 07:56:54 -0000 1.1 --- Pop3Server.java 20 Mar 2005 20:41:39 -0000 1.2 *************** *** 118,122 **** public void start() { ! //System.out.println("popserver start"); ServerImpl channel = new ServerImpl(); --- 118,122 ---- public void start() { ! ////System.out.println("popserver start"); ServerImpl channel = new ServerImpl(); |
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10075/net/sf/mailsomething/mail/parsers Modified Files: HeaderIterator.java MailDecoder.java ProtocolAdapter.java NntpController.java SmtpSocketSession.java ImapController.java ImapSession.java SessionAdapter.java PopController.java ImapHeaderIterator.java MailEncoder.java SmtpSessionHandler.java NntpSession.java PopSession.java Log Message: Index: PopSession.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/PopSession.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PopSession.java 3 Apr 2004 07:56:50 -0000 1.1 --- PopSession.java 20 Mar 2005 20:41:14 -0000 1.2 *************** *** 138,142 **** while ((line = reader.readLine()) != null) { ! System.out.println(line); buffer.add(line); --- 138,142 ---- while ((line = reader.readLine()) != null) { ! //System.out.println(line); buffer.add(line); *************** *** 252,256 **** while ((z = in.read(buffer)) != -1) { ! //System.out.println("read buffer popsession" + z + new String(buffer)); totalbytesread += z; --- 252,256 ---- while ((z = in.read(buffer)) != -1) { ! ////System.out.println("read buffer popsession" + z + new String(buffer)); totalbytesread += z; *************** *** 307,311 **** notifyTo("DELE " + messagenr); ! //System.out.println("DELE " + messagenr); writeLine("DELE " + messagenr); --- 307,311 ---- notifyTo("DELE " + messagenr); ! ////System.out.println("DELE " + messagenr); writeLine("DELE " + messagenr); *************** *** 314,318 **** notifyFrom(reply); ! //System.out.println(reply); } catch (IOException e) { --- 314,318 ---- notifyFrom(reply); ! ////System.out.println(reply); } catch (IOException e) { *************** *** 359,363 **** /*} catch (IOException e) { ! System.out.println("ioex in session.noop"); }*/ --- 359,363 ---- /*} catch (IOException e) { ! //System.out.println("ioex in session.noop"); }*/ Index: SmtpSessionHandler.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/SmtpSessionHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SmtpSessionHandler.java 3 Apr 2004 07:56:49 -0000 1.1 --- SmtpSessionHandler.java 20 Mar 2005 20:41:14 -0000 1.2 *************** *** 138,142 **** } ! //System.out.println(string); } --- 138,142 ---- } ! ////System.out.println(string); } *************** *** 153,157 **** super.to(string); ! //System.out.println(string); } --- 153,157 ---- super.to(string); ! ////System.out.println(string); } Index: ImapSession.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/ImapSession.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ImapSession.java 20 Mar 2005 17:43:22 -0000 1.2 --- ImapSession.java 20 Mar 2005 20:41:13 -0000 1.3 *************** *** 303,307 **** } } catch (SecurityException e) { ! System.out.println("securytiexc"); } --- 303,307 ---- } } catch (SecurityException e) { ! //System.out.println("securytiexc"); } *************** *** 595,601 **** } ! //System.out.println(command); ! //System.out.println(new String(body)); notifyTo(command); --- 595,601 ---- } ! ////System.out.println(command); ! ////System.out.println(new String(body)); notifyTo(command); *************** *** 611,615 **** bufferedOut.write(body, 0, body.length); ! //System.out.println(new String(body)); bufferedOut.write(13); --- 611,615 ---- bufferedOut.write(body, 0, body.length); ! ////System.out.println(new String(body)); bufferedOut.write(13); *************** *** 624,628 **** while ((line = reader.readLine()) != null) { ! //System.out.println(line); notifyFrom(line); --- 624,628 ---- while ((line = reader.readLine()) != null) { ! ////System.out.println(line); notifyFrom(line); *************** *** 704,708 **** while ((line = reader.readLine()) != null) { ! System.out.println(line); //if(flags == "UID") logger.info(line); if (line.indexOf(tag) != -1) { --- 704,708 ---- while ((line = reader.readLine()) != null) { ! //System.out.println(line); //if(flags == "UID") logger.info(line); if (line.indexOf(tag) != -1) { *************** *** 728,732 **** while ((line = reader.readLine()) != null) { ! //System.out.println(line); //if(flags == "UID") logger.info(line); if (line.indexOf(tag) != -1) { --- 728,732 ---- while ((line = reader.readLine()) != null) { ! ////System.out.println(line); //if(flags == "UID") logger.info(line); if (line.indexOf(tag) != -1) { *************** *** 748,752 **** getNextTag() + "FETCH " + startIndex + ":" + endIndex + " " + flags; ! System.out.println(command); writeLine(command); --- 748,752 ---- getNextTag() + "FETCH " + startIndex + ":" + endIndex + " " + flags; ! //System.out.println(command); writeLine(command); *************** *** 905,911 **** /* * try { ! * System.out.println("new buffer" + new String(buffer, "ASCII")); * } catch (UnsupportedEncodingException e) { ! * System.out.println("unsupported encoding"); * } */ --- 905,911 ---- /* * try { ! * //System.out.println("new buffer" + new String(buffer, "ASCII")); * } catch (UnsupportedEncodingException e) { ! * //System.out.println("unsupported encoding"); * } */ *************** *** 920,924 **** line = new String(bb, "ASCII"); } catch (UnsupportedEncodingException e) { ! System.out.println("unsupported encoding"); } --- 920,924 ---- line = new String(bb, "ASCII"); } catch (UnsupportedEncodingException e) { ! //System.out.println("unsupported encoding"); } *************** *** 940,944 **** notifyFrom(new String(stopbytes, "ASCII")); } catch (UnsupportedEncodingException e) { ! System.out.println("unsupported encoding"); } --- 940,944 ---- notifyFrom(new String(stopbytes, "ASCII")); } catch (UnsupportedEncodingException e) { ! //System.out.println("unsupported encoding"); } *************** *** 956,960 **** } ! System.out.println("Totalbytes read = " + totalbytesRead); } catch (IOException e) { --- 956,960 ---- } ! //System.out.println("Totalbytes read = " + totalbytesRead); } catch (IOException e) { *************** *** 962,966 **** e.printStackTrace(); ! System.out.println("IOEXCEPTION imapsession"); } --- 962,966 ---- e.printStackTrace(); ! //System.out.println("IOEXCEPTION imapsession"); } Index: MailDecoder.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/MailDecoder.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MailDecoder.java 16 Mar 2005 20:21:17 -0000 1.5 --- MailDecoder.java 20 Mar 2005 20:41:13 -0000 1.6 *************** *** 127,131 **** byte[] headerBytes = extractHeader(body); ! //System.out.println(new String(header)); String[] headerLines = unfoldLines(getHeaderLines(headerBytes)); --- 127,131 ---- byte[] headerBytes = extractHeader(body); ! ////System.out.println(new String(header)); String[] headerLines = unfoldLines(getHeaderLines(headerBytes)); *************** *** 154,158 **** public static void decodeMail(byte[] message, Message m) { ! //System.out.println(new String(message)); message = doCRLFCheck(message); --- 154,158 ---- public static void decodeMail(byte[] message, Message m) { ! ////System.out.println(new String(message)); message = doCRLFCheck(message); *************** *** 378,382 **** lines.add(line); ! System.out.println(line); } --- 378,382 ---- lines.add(line); ! //System.out.println(line); } *************** *** 414,418 **** value = temp[i].substring(k + 1); value = value.trim(); ! //System.out.println(name + " " + value); /* Headerfieldnames which requires speciel decoding */ --- 414,418 ---- value = temp[i].substring(k + 1); value = value.trim(); ! ////System.out.println(name + " " + value); /* Headerfieldnames which requires speciel decoding */ *************** *** 472,476 **** value = temp[i].substring(k + 1); value = value.trim(); ! //System.out.println(name + " " + value); /* Headerfieldnames which requires speciel decoding */ --- 472,476 ---- value = temp[i].substring(k + 1); value = value.trim(); ! ////System.out.println(name + " " + value); /* Headerfieldnames which requires speciel decoding */ *************** *** 508,512 **** Message header) { ! //System.out.println(name + " " + value); value = decodeField(value); --- 508,512 ---- Message header) { ! ////System.out.println(name + " " + value); value = decodeField(value); *************** *** 541,545 **** MimeTypeObject header) { ! //System.out.println(name + " " + value); value = decodeField(value); --- 541,545 ---- MimeTypeObject header) { ! ////System.out.println(name + " " + value); value = decodeField(value); *************** *** 605,609 **** byte[] body, MimeTypeObject object) { ! //System.out.println("decodebodystructure"); MimeType mtype = object.getMimeType(); --- 605,609 ---- byte[] body, MimeTypeObject object) { ! ////System.out.println("decodebodystructure"); MimeType mtype = object.getMimeType(); *************** *** 613,617 **** ("--" + mtype.getParameter(BOUNDARY) + "--").getBytes(); ! //System.out.println(mtype.getParameter(BOUNDARY) + " " + body.length); //object.setObject(body); int j = 0; --- 613,617 ---- ("--" + mtype.getParameter(BOUNDARY) + "--").getBytes(); ! ////System.out.println(mtype.getParameter(BOUNDARY) + " " + body.length); //object.setObject(body); int j = 0; *************** *** 653,657 **** } else { ! //System.out.println("bodybyte = " + (int) body[i + 1]); if ((body.length > i + 1 --- 653,657 ---- } else { ! ////System.out.println("bodybyte = " + (int) body[i + 1]); if ((body.length > i + 1 *************** *** 863,867 **** object.setMimeType(m); ! //System.out.println(m.getPrimaryType() + m.getParameter("charset")); } catch (MimeTypeParseException e) { --- 863,867 ---- object.setMimeType(m); ! ////System.out.println(m.getPrimaryType() + m.getParameter("charset")); } catch (MimeTypeParseException e) { *************** *** 1133,1137 **** } ! //System.out.println("uid," + uid + ","); m.setUID(uid); --- 1133,1137 ---- } ! ////System.out.println("uid," + uid + ","); m.setUID(uid); *************** *** 1168,1172 **** for (int i = 0; i < lines.length; i++) { byte[] bytes = lines[i].getBytes(); ! //System.out.println(i + " " + lines[i]); if (bytes == null) bytes = "fd".getBytes(); --- 1168,1172 ---- for (int i = 0; i < lines.length; i++) { byte[] bytes = lines[i].getBytes(); ! ////System.out.println(i + " " + lines[i]); if (bytes == null) bytes = "fd".getBytes(); *************** *** 1177,1183 **** || bytes[0] == f || bytes[0] == g) { ! //System.out.println("line to unfold " + line); line = line + lines[i]; ! //System.out.println("line to unfold " + line); if (set == false && i > 0) buffer.remove(buffer.size() - 1); --- 1177,1183 ---- || bytes[0] == f || bytes[0] == g) { ! ////System.out.println("line to unfold " + line); line = line + lines[i]; ! ////System.out.println("line to unfold " + line); if (set == false && i > 0) buffer.remove(buffer.size() - 1); *************** *** 1206,1210 **** //for(int i = 0; i < output.length; i++) ! // System.out.println(i + " " + output[i]); return output; --- 1206,1210 ---- //for(int i = 0; i < output.length; i++) ! // //System.out.println(i + " " + output[i]); return output; *************** *** 1536,1540 **** for (int i = 0; i < engMonth.length; i++) { ! //System.out.println(monthString + engMonth[i]); engMonth[i] = engMonth[i].toLowerCase(); --- 1536,1540 ---- for (int i = 0; i < engMonth.length; i++) { ! ////System.out.println(monthString + engMonth[i]); engMonth[i] = engMonth[i].toLowerCase(); *************** *** 1583,1587 **** } ! System.out.println("after locale check - " + datestring); //datestring = datestring.replaceAll("Oct", "Okt"); --- 1583,1587 ---- } ! //System.out.println("after locale check - " + datestring); //datestring = datestring.replaceAll("Oct", "Okt"); *************** *** 1615,1619 **** } catch (ParseException f) { ! System.out.println("without day - " + datestring); //writeDate("not parseable= " + datestring); --- 1615,1619 ---- } catch (ParseException f) { ! //System.out.println("without day - " + datestring); //writeDate("not parseable= " + datestring); *************** *** 1708,1712 **** replace = st.substring(index, end); ! System.out.println("+" + replace + "+"); } else { --- 1708,1712 ---- replace = st.substring(index, end); ! //System.out.println("+" + replace + "+"); } else { *************** *** 1879,1883 **** node = e.nextNode(); ! //System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); --- 1879,1883 ---- node = e.nextNode(); ! ////System.out.println("node: " + node.toHtml()); String htmlnode = node.toHtml(); *************** *** 1939,1943 **** } /*else if (htmlnode.toLowerCase().startsWith("<img")) { ! System.out.println(node.toHtml()); }*/ --- 1939,1943 ---- } /*else if (htmlnode.toLowerCase().startsWith("<img")) { ! //System.out.println(node.toHtml()); }*/ *************** *** 2100,2104 **** public static String decodeUID(String line) { ! //System.out.println("maildecoder decode uid + " + line); int start = line.indexOf("UID") + 3; --- 2100,2104 ---- public static String decodeUID(String line) { ! ////System.out.println("maildecoder decode uid + " + line); int start = line.indexOf("UID") + 3; *************** *** 2121,2125 **** end = line.length(); ! //System.out.println( // "maildecoder UID=" + line.substring(start + 1, end) + "="); --- 2121,2125 ---- end = line.length(); ! ////System.out.println( // "maildecoder UID=" + line.substring(start + 1, end) + "="); *************** *** 2151,2155 **** end = line.length(); ! //System.out.println( // "maildecoder Size=" + line.substring(start + 1, end) + "="); --- 2151,2155 ---- end = line.length(); ! ////System.out.println( // "maildecoder Size=" + line.substring(start + 1, end) + "="); *************** *** 2178,2182 **** public static void decodeFlags(String line, Message m) { ! //System.out.println(line); line = line.toLowerCase(); --- 2178,2182 ---- public static void decodeFlags(String line, Message m) { ! ////System.out.println(line); line = line.toLowerCase(); Index: ImapHeaderIterator.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/ImapHeaderIterator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImapHeaderIterator.java 3 Apr 2004 07:56:49 -0000 1.1 --- ImapHeaderIterator.java 20 Mar 2005 20:41:13 -0000 1.2 *************** *** 89,93 **** while ((line = in.readLine()) != null) { ! //System.out.println(line); --- 89,93 ---- while ((line = in.readLine()) != null) { ! ////System.out.println(line); *************** *** 121,129 **** if(parsingHeader) { ! //System.out.println("parsing body"); if(line.equals(endBodyString)) { ! //System.out.println("found end bodystring"); message.setHeader((String[]) lines.toArray(new String[] {})); --- 121,129 ---- if(parsingHeader) { ! ////System.out.println("parsing body"); if(line.equals(endBodyString)) { ! ////System.out.println("found end bodystring"); message.setHeader((String[]) lines.toArray(new String[] {})); Index: MailEncoder.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/MailEncoder.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MailEncoder.java 12 Mar 2005 15:31:45 -0000 1.4 --- MailEncoder.java 20 Mar 2005 20:41:13 -0000 1.5 *************** *** 95,99 **** "ASCII"); ! System.out.println( "mailencoder " + bytes.length + new String(bytes, "ASCII")); --- 95,99 ---- "ASCII"); ! //System.out.println( "mailencoder " + bytes.length + new String(bytes, "ASCII")); *************** *** 110,117 **** try { ! System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return; } --- 110,117 ---- try { ! //System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return; } *************** *** 198,205 **** try { ! System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return; } --- 198,205 ---- try { ! //System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return; } *************** *** 292,296 **** == null) { ! System.out.println("boundary is null"); boundary = "----=_NextPart_" + MailUtils.getUniqeID(); --- 292,296 ---- == null) { ! //System.out.println("boundary is null"); boundary = "----=_NextPart_" + MailUtils.getUniqeID(); *************** *** 318,322 **** + message.getMimeType().getParameter("boundary"); ! System.out.println("boundary = " + boundary); } --- 318,322 ---- + message.getMimeType().getParameter("boundary"); ! //System.out.println("boundary = " + boundary); } *************** *** 867,871 **** "ASCII"); ! System.out.println( "mailencoder " + bytes.length + new String(bytes, "ASCII")); --- 867,871 ---- "ASCII"); ! //System.out.println( "mailencoder " + bytes.length + new String(bytes, "ASCII")); *************** *** 882,889 **** try { ! System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return; } --- 882,889 ---- try { ! //System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return; } *************** *** 970,977 **** try { ! System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return; } --- 970,977 ---- try { ! //System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return; } *************** *** 1052,1056 **** == null) { ! System.out.println("boundary is null"); boundary = "----=_NextPart_" + MailUtils.getUniqeID(); --- 1052,1056 ---- == null) { ! //System.out.println("boundary is null"); boundary = "----=_NextPart_" + MailUtils.getUniqeID(); *************** *** 1070,1074 **** + message.getMimeType().getParameter("boundary"); ! System.out.println("boundary = " + boundary); } --- 1070,1074 ---- + message.getMimeType().getParameter("boundary"); ! //System.out.println("boundary = " + boundary); } *************** *** 1137,1141 **** "ASCII"); ! System.out.println( "mailencoder " + bytes.length + new String(bytes, "ASCII")); --- 1137,1141 ---- "ASCII"); ! //System.out.println( "mailencoder " + bytes.length + new String(bytes, "ASCII")); *************** *** 1152,1159 **** try { ! System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return; } --- 1152,1159 ---- try { ! //System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return; } *************** *** 1240,1247 **** try { ! System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return; } --- 1240,1247 ---- try { ! //System.out.println( new String(out.toByteArray(), "iso-8859-1")); } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return; } *************** *** 1745,1749 **** String cctype = mime.getPrimaryType() + "/" + mime.getSubType(); ! //System.out.println(cctype); if (cctype.indexOf(contentType) != -1) --- 1745,1749 ---- String cctype = mime.getPrimaryType() + "/" + mime.getSubType(); ! ////System.out.println(cctype); if (cctype.indexOf(contentType) != -1) *************** *** 1762,1766 **** mimetype.getPrimaryType() + "/" + mimetype.getSubType(); ! //System.out.println(ctype); if (ctype.indexOf(contentType) != -1) --- 1762,1766 ---- mimetype.getPrimaryType() + "/" + mimetype.getSubType(); ! ////System.out.println(ctype); if (ctype.indexOf(contentType) != -1) *************** *** 1783,1787 **** mimetype.getPrimaryType() + "/" + mimetype.getSubType(); ! //System.out.println("2" + ctype); if (ctype.indexOf(contentType) != -1) --- 1783,1787 ---- mimetype.getPrimaryType() + "/" + mimetype.getSubType(); ! ////System.out.println("2" + ctype); if (ctype.indexOf(contentType) != -1) Index: NntpController.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/NntpController.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NntpController.java 3 Apr 2004 07:56:49 -0000 1.1 --- NntpController.java 20 Mar 2005 20:41:13 -0000 1.2 *************** *** 129,133 **** ! System.out.println("connecting nntpcontroller"); try { --- 129,133 ---- ! //System.out.println("connecting nntpcontroller"); try { *************** *** 176,180 **** if (factory == null) { ! System.out.println("factory is null"); return; } --- 176,180 ---- if (factory == null) { ! //System.out.println("factory is null"); return; } *************** *** 326,330 **** Vector buffer = new Vector(); ! System.out.println("lastid=" + lastid); if (!stat.messageid.equals(lastid)) { --- 326,330 ---- Vector buffer = new Vector(); ! //System.out.println("lastid=" + lastid); if (!stat.messageid.equals(lastid)) { *************** *** 366,370 **** index++; ! //System.out.println("messagesfetched " + index); if (useMaxFetchCount && index > messagesToFetch) --- 366,370 ---- index++; ! ////System.out.println("messagesfetched " + index); if (useMaxFetchCount && index > messagesToFetch) *************** *** 523,527 **** String ref = refstring.substring(start + 1, end); ! System.out.println(ref); buffer.add(ref); --- 523,527 ---- String ref = refstring.substring(start + 1, end); ! //System.out.println(ref); buffer.add(ref); *************** *** 585,589 **** reply = session.group(name); ! //System.out.println(reply); if (reply != null) { --- 585,589 ---- reply = session.group(name); ! ////System.out.println(reply); if (reply != null) { Index: ProtocolAdapter.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/ProtocolAdapter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ProtocolAdapter.java 3 Apr 2004 07:56:50 -0000 1.1 --- ProtocolAdapter.java 20 Mar 2005 20:41:13 -0000 1.2 *************** *** 95,99 **** protected synchronized void writeLine(String command) { ! //System.out.println("protocol adapter writeline " + command); try { --- 95,99 ---- protected synchronized void writeLine(String command) { ! ////System.out.println("protocol adapter writeline " + command); try { *************** *** 116,120 **** buff = reader.readLine(); ! System.out.println("readline protocoladapter " + buff); return (buff); --- 116,120 ---- buff = reader.readLine(); ! //System.out.println("readline protocoladapter " + buff); return (buff); *************** *** 138,142 **** if (b == LF) { if (i > 1 && buffer[i - 2] == CR) { ! //System.out.println("break in imapsession readline"); break; } --- 138,142 ---- if (b == LF) { if (i > 1 && buffer[i - 2] == CR) { ! ////System.out.println("break in imapsession readline"); break; } *************** *** 218,222 **** protected void notifyTo(String string) { ! System.out.println("notify to " + string); if(conversationListeners == null) return; --- 218,222 ---- protected void notifyTo(String string) { ! //System.out.println("notify to " + string); if(conversationListeners == null) return; *************** *** 236,240 **** protected void notifyFrom(String string) { ! System.out.println("notify from " + string); if(conversationListeners == null) return; --- 236,240 ---- protected void notifyFrom(String string) { ! //System.out.println("notify from " + string); if(conversationListeners == null) return; Index: NntpSession.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/NntpSession.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NntpSession.java 3 Apr 2004 07:56:49 -0000 1.1 --- NntpSession.java 20 Mar 2005 20:41:14 -0000 1.2 *************** *** 91,95 **** reply = readLine(); ! System.out.println(reply); if(reply.indexOf("281") != -1) return (String[])buffer.toArray(new String[]{}); --- 91,95 ---- reply = readLine(); ! //System.out.println(reply); if(reply.indexOf("281") != -1) return (String[])buffer.toArray(new String[]{}); *************** *** 101,105 **** } else if(reply.indexOf("50") != -1 ) { ! System.out.println("WHAT??"); return (String[])buffer.toArray(new String[]{}); --- 101,105 ---- } else if(reply.indexOf("50") != -1 ) { ! //System.out.println("WHAT??"); return (String[])buffer.toArray(new String[]{}); *************** *** 107,111 **** } else if(reply.indexOf("281") != -1) { ! System.out.println("NOWAY??"); return (String[])buffer.toArray(new String[]{}); --- 107,111 ---- } else if(reply.indexOf("281") != -1) { ! //System.out.println("NOWAY??"); return (String[])buffer.toArray(new String[]{}); *************** *** 176,180 **** while ((line = in.readLine()) != null) { ! //System.out.println(line); buffer.add(line); --- 176,180 ---- while ((line = in.readLine()) != null) { ! ////System.out.println(line); buffer.add(line); *************** *** 211,215 **** } catch (IOException f) { ! System.out.println("ioexceptin nntp group"); } --- 211,215 ---- } catch (IOException f) { ! //System.out.println("ioexceptin nntp group"); } *************** *** 272,276 **** while ((line = in.readLine()) != null) { ! System.out.println(line); buffer.add(line); --- 272,276 ---- while ((line = in.readLine()) != null) { ! //System.out.println(line); buffer.add(line); *************** *** 306,310 **** try { ! System.out.println("HEAD"); writeLine("HEAD"); --- 306,310 ---- try { ! //System.out.println("HEAD"); writeLine("HEAD"); *************** *** 314,318 **** while ((line = in.readLine()) != null) { ! System.out.println(line); buffer.add(line); --- 314,318 ---- while ((line = in.readLine()) != null) { ! //System.out.println(line); buffer.add(line); *************** *** 439,443 **** reply = in.readLine(); ! System.out.println(reply); out.close(); --- 439,443 ---- reply = in.readLine(); ! //System.out.println(reply); out.close(); *************** *** 477,485 **** session.connect(); ! System.out.println(session.group("eclipse.tools")); ! System.out.println(session.authenticate("exquisitus", "flinder1f7")); ! System.out.println(session.group("eclipse.tools")); //for getting a groupfilelist --- 477,485 ---- session.connect(); ! //System.out.println(session.group("eclipse.tools")); ! //System.out.println(session.authenticate("exquisitus", "flinder1f7")); ! //System.out.println(session.group("eclipse.tools")); //for getting a groupfilelist *************** *** 511,515 **** } catch (IOException f) { ! System.out.println("exception connecting"); } --- 511,515 ---- } catch (IOException f) { ! //System.out.println("exception connecting"); } Index: PopController.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/PopController.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PopController.java 20 Mar 2005 15:09:07 -0000 1.2 --- PopController.java 20 Mar 2005 20:41:13 -0000 1.3 *************** *** 153,157 **** if (uids != null) { ! //System.out.println("Popcontroller.searchUid: uids er lig // null???"); return uids; --- 153,157 ---- if (uids != null) { ! ////System.out.println("Popcontroller.searchUid: uids er lig // null???"); return uids; *************** *** 446,450 **** */ private boolean apopLogin(String banner) throws IOException { ! //System.out.println("Banner="+banner); boolean isAPOP = false; int start = banner.indexOf("<"); --- 446,450 ---- */ private boolean apopLogin(String banner) throws IOException { ! ////System.out.println("Banner="+banner); boolean isAPOP = false; int start = banner.indexOf("<"); *************** *** 584,588 **** public synchronized void logof() { ! System.out.println("PopController stop"); if (socket == null || socket.isClosed() || socket.isInputShutdown() --- 584,588 ---- public synchronized void logof() { ! //System.out.println("PopController stop"); if (socket == null || socket.isClosed() || socket.isInputShutdown() *************** *** 662,666 **** int j = Integer.parseInt(reply[i].substring(0, k)); ! //System.out.println("" + j + "..." + // reply[i].substring(k)); --- 662,666 ---- int j = Integer.parseInt(reply[i].substring(0, k)); ! ////System.out.println("" + j + "..." + // reply[i].substring(k)); *************** *** 844,848 **** for (int i = 0; i < reply.length; i++) { ! System.out.println(reply[i]); if (reply[i].startsWith("TOP")) { --- 844,848 ---- for (int i = 0; i < reply.length; i++) { ! //System.out.println(reply[i]); if (reply[i].startsWith("TOP")) { *************** *** 1051,1055 **** * if (factory == null) { * ! * //System.out.println("factory is null"); return; } * * InetAddress addr = InetAddress.getByName(account.getHost()); --- 1051,1055 ---- * if (factory == null) { * ! * ////System.out.println("factory is null"); return; } * * InetAddress addr = InetAddress.getByName(account.getHost()); Index: HeaderIterator.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/HeaderIterator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HeaderIterator.java 3 Apr 2004 07:56:50 -0000 1.1 --- HeaderIterator.java 20 Mar 2005 20:41:13 -0000 1.2 *************** *** 68,72 **** while ((line = in.readLine()) != null) { ! //System.out.println(line); /** --- 68,72 ---- while ((line = in.readLine()) != null) { ! ////System.out.println(line); /** *************** *** 116,120 **** if (line.startsWith("*")) { ! //System.out.println(line); if (lines.size() == 0) { --- 116,120 ---- if (line.startsWith("*")) { ! ////System.out.println(line); if (lines.size() == 0) { *************** *** 122,126 **** if (line.indexOf("UID") != -1) { ! //System.out.println("line contains uid"); firstline = line; --- 122,126 ---- if (line.indexOf("UID") != -1) { ! ////System.out.println("line contains uid"); firstline = line; *************** *** 160,164 **** if (line.indexOf("UID") != -1) { ! System.out.println("line contains uid"); firstline = line; --- 160,164 ---- if (line.indexOf("UID") != -1) { ! //System.out.println("line contains uid"); firstline = line; *************** *** 171,175 **** lines.add(line); ! //System.out.println(line); } --- 171,175 ---- lines.add(line); ! ////System.out.println(line); } Index: SmtpSocketSession.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/SmtpSocketSession.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SmtpSocketSession.java 12 Mar 2005 15:31:45 -0000 1.2 --- SmtpSocketSession.java 20 Mar 2005 20:41:13 -0000 1.3 *************** *** 65,69 **** end = stopstring.getBytes("ASCII"); } catch (UnsupportedEncodingException e) { ! System.out.println("unsupported charset"); } --- 65,69 ---- end = stopstring.getBytes("ASCII"); } catch (UnsupportedEncodingException e) { ! //System.out.println("unsupported charset"); } Index: ImapController.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/ImapController.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ImapController.java 20 Mar 2005 17:43:22 -0000 1.4 --- ImapController.java 20 Mar 2005 20:41:13 -0000 1.5 *************** *** 137,141 **** String rest = string[i].substring(k + 12); ! //System.out.println(rest); char[] array = rest.toCharArray(); --- 137,141 ---- String rest = string[i].substring(k + 12); ! ////System.out.println(rest); char[] array = rest.toCharArray(); *************** *** 244,248 **** if (!mailboxPath.equals("")) { ! //System.out.println( // "remove path value " + returnLines[i] + " " + mailboxPath); --- 244,248 ---- if (!mailboxPath.equals("")) { ! ////System.out.println( // "remove path value " + returnLines[i] + " " + mailboxPath); *************** *** 259,263 **** returnLines[i].substring(n + mailboxPath.length() + 1); ! //System.out.println("remove path value2" + returnLines[i]); } --- 259,263 ---- returnLines[i].substring(n + mailboxPath.length() + 1); ! ////System.out.println("remove path value2" + returnLines[i]); } *************** *** 277,281 **** result.mailboxNames[i] = returnLines[i]; ! //System.out.println("return value from imapcontroller.getMailboxes: " + returnLines[i]); } --- 277,281 ---- result.mailboxNames[i] = returnLines[i]; ! ////System.out.println("return value from imapcontroller.getMailboxes: " + returnLines[i]); } *************** *** 403,407 **** long time = System.currentTimeMillis(); ! System.out.println("" + System.currentTimeMillis()); try { --- 403,407 ---- long time = System.currentTimeMillis(); ! //System.out.println("" + System.currentTimeMillis()); try { *************** *** 420,424 **** //long stime = System.currentTimeMillis(); ! //System.out.println("Time to read from socket " + (stime - time) / 1000); --- 420,424 ---- //long stime = System.currentTimeMillis(); ! ////System.out.println("Time to read from socket " + (stime - time) / 1000); *************** *** 567,571 **** String uidLine = reply[0]; ! //System.out.println("imapcontroller, uidline " + uidLine); int k; --- 567,571 ---- String uidLine = reply[0]; ! ////System.out.println("imapcontroller, uidline " + uidLine); int k; *************** *** 659,663 **** //for(int i = 0; i < reply.length; i++) ! // System.out.println(reply[i]); int size = parseSize(reply); --- 659,663 ---- //for(int i = 0; i < reply.length; i++) ! // //System.out.println(reply[i]); int size = parseSize(reply); *************** *** 873,884 **** if (end == -1) { ! System.out.println( ! "messageid: " + serverreply[i].substring(start + 1)); } else { ! System.out.println( ! "messageid: " ! + serverreply[i].substring(start + 1, end)); } --- 873,884 ---- if (end == -1) { ! //System.out.println( ! // "messageid: " + serverreply[i].substring(start + 1)); } else { ! //System.out.println( ! // "messageid: " ! // + serverreply[i].substring(start + 1, end)); } *************** *** 886,890 **** } ! //System.out.println(i + serverreply[i]); } --- 886,890 ---- } ! ////System.out.println(i + serverreply[i]); } *************** *** 1334,1338 **** } catch (NumberFormatException f) { ! System.out.println("wrong uid = " + uid); f.printStackTrace(); --- 1334,1338 ---- } catch (NumberFormatException f) { ! //System.out.println("wrong uid = " + uid); f.printStackTrace(); *************** *** 1364,1368 **** } catch (NumberFormatException f) { ! System.out.println("wrong uid = " + uid); f.printStackTrace(); --- 1364,1368 ---- } catch (NumberFormatException f) { ! //System.out.println("wrong uid = " + uid); f.printStackTrace(); *************** *** 1608,1612 **** listCommand = mailboxPath + delimiter; ! System.out.println("listcommand" + listCommand); return listCommand; --- 1608,1612 ---- listCommand = mailboxPath + delimiter; ! //System.out.println("listcommand" + listCommand); return listCommand; *************** *** 1626,1630 **** listCommand = mailboxPath; ! //System.out.println("selectcommand" + listCommand); return listCommand; --- 1626,1630 ---- listCommand = mailboxPath; ! ////System.out.println("selectcommand" + listCommand); return listCommand; *************** *** 1651,1655 **** if(socket == null || socket.isClosed() || socket.isInputShutdown()) { ! System.out.println("socket closed " + account.getHost()); isConnected = false; --- 1651,1655 ---- if(socket == null || socket.isClosed() || socket.isInputShutdown()) { ! //System.out.println("socket closed " + account.getHost()); isConnected = false; *************** *** 1663,1671 **** long since = (new Date()).getTime() - msecs; ! //System.out.println("no noop for " + (since / 1000) + "secs"); if (since < 300000) { ! //System.out.println( // "noop within 5 minutes, assume connection is alive"); --- 1663,1671 ---- long since = (new Date()).getTime() - msecs; ! ////System.out.println("no noop for " + (since / 1000) + "secs"); if (since < 300000) { ! ////System.out.println( // "noop within 5 minutes, assume connection is alive"); *************** *** 1911,1915 **** public void disconnect() { ! System.out.println("Imap controller disconnect"); if (isConnected) { --- 1911,1915 ---- public void disconnect() { ! //System.out.println("Imap controller disconnect"); if (isConnected) { *************** *** 2068,2072 **** int end = getExists(); ! System.out.println("end=" + end + " length = " + length); String[] seqenceNumbers = new String[length]; --- 2068,2072 ---- int end = getExists(); ! //System.out.println("end=" + end + " length = " + length); String[] seqenceNumbers = new String[length]; Index: SessionAdapter.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/SessionAdapter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SessionAdapter.java 3 Apr 2004 07:56:49 -0000 1.1 --- SessionAdapter.java 20 Mar 2005 20:41:13 -0000 1.2 *************** *** 339,343 **** } ! System.out.println("protocol adapter finished connecting."); isConnected = true; --- 339,343 ---- } ! //System.out.println("protocol adapter finished connecting."); isConnected = true; *************** *** 372,378 **** protected void notifyIOException(IOException f) { ! System.out.println("IOEXCEPTION:"); f.printStackTrace(); ! System.out.println("IOEXCEPTION STOP"); //f. --- 372,378 ---- protected void notifyIOException(IOException f) { ! //System.out.println("IOEXCEPTION:"); f.printStackTrace(); ! //System.out.println("IOEXCEPTION STOP"); //f. |
From: Stig T. <jw...@us...> - 2005-03-20 20:40:36
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/imap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9686/net/sf/mailsomething/mail/imap Modified Files: ImapSelectResponse.java ImapListResponse.java Log Message: Index: ImapSelectResponse.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/imap/ImapSelectResponse.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImapSelectResponse.java 20 Mar 2005 17:42:55 -0000 1.1 --- ImapSelectResponse.java 20 Mar 2005 20:40:23 -0000 1.2 *************** *** 25,29 **** */ public void buildResponse(String[] replyLines) { ! // TODO Auto-generated method stub super.buildResponse(replyLines); --- 25,29 ---- */ public void buildResponse(String[] replyLines) { ! super.buildResponse(replyLines); *************** *** 40,44 **** */ ! --- 40,45 ---- */ ! //TASK parse the above into the appropiate variables ! //add more if necessary Index: ImapListResponse.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/imap/ImapListResponse.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImapListResponse.java 20 Mar 2005 17:42:55 -0000 1.1 --- ImapListResponse.java 20 Mar 2005 20:40:23 -0000 1.2 *************** *** 20,24 **** */ public void buildResponse(String[] replyLines) { ! // TODO Auto-generated method stub super.buildResponse(replyLines); --- 20,24 ---- */ public void buildResponse(String[] replyLines) { ! super.buildResponse(replyLines); *************** *** 80,84 **** ! //TODO name attribute //should be checked for ?- instances and decoded if //it contains those (modified base 64 encoding) --- 80,84 ---- ! //TASK name attribute //should be checked for ?- instances and decoded if //it contains those (modified base 64 encoding) |
From: Stig T. <jw...@us...> - 2005-03-20 20:39:48
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9268/net/sf/mailsomething/mail/actions Modified Files: DeleteMailboxAction.java UpdateMailboxesAction.java CopyMessageAction.java GetMessagesAction.java DeleteMessageAction.java GetMessageBodyAction.java CreateMailboxAction.java Log Message: Index: GetMessagesAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/GetMessagesAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** GetMessagesAction.java 20 Mar 2005 17:43:08 -0000 1.2 --- GetMessagesAction.java 20 Mar 2005 20:39:38 -0000 1.3 *************** *** 59,66 **** private ImapController imapControll; ! private int type; /* (non-Javadoc) --- 59,73 ---- private ImapController imapControll; ! private int type = DEFAULT; ! + public GetMessagesAction(MessageHolder mailbox) { + + this.mailbox = mailbox; + + } + /* (non-Javadoc) *************** *** 92,96 **** */ public void setMailAccount(MailAccount account) { ! // TODO Auto-generated method stub } --- 99,109 ---- */ public void setMailAccount(MailAccount account) { ! ! mailAccount = account; ! ! if(account instanceof ImapAccount) ! imapControll = ((ImapAccount)account).getController(); ! else if(account instanceof PopAccount) ! controller = ((PopAccount)account).getController(); } *************** *** 483,487 **** new FieldPosition(DateFormat.FULL)); ! //System.out.println(buffer.toString()); sequenceNumbers = imapControll.searchDate(path, buffer.toString()); --- 496,500 ---- new FieldPosition(DateFormat.FULL)); ! ////System.out.println(buffer.toString()); sequenceNumbers = imapControll.searchDate(path, buffer.toString()); *************** *** 520,524 **** for (int i = 0; i < uids.length; i++) { ! //System.out.println("uids found " + uids[i]); if (!m.existsUid(uids[i])) { --- 533,537 ---- for (int i = 0; i < uids.length; i++) { ! ////System.out.println("uids found " + uids[i]); if (!m.existsUid(uids[i])) { *************** *** 556,569 **** MessageHolder mailbox, String[] seqenceNumbers) { if (seqenceNumbers == null) { ! //System.out.println("notifying progress imapaccount"); ! ! //this is a hack to display some false activity. ! notifyWorkStarted(0); - //notifyWorkProgress(); - notifyWorkStopped(); --- 569,578 ---- MessageHolder mailbox, String[] seqenceNumbers) { + if (seqenceNumbers == null) { ! notifyWorkStarted(0); notifyWorkStopped(); *************** *** 588,594 **** notifyWorkStarted(seqenceNumbers.length); ! //Vector nmessages = new Vector(); ! ! //notifyWorkStarted(uid.length+1); /** --- 597,601 ---- notifyWorkStarted(seqenceNumbers.length); ! /** *************** *** 626,629 **** --- 633,638 ---- } + + //System.out.println(" "); int[][] sequences = getSequences(numbers); Index: CopyMessageAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/CopyMessageAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CopyMessageAction.java 20 Mar 2005 15:08:33 -0000 1.1 --- CopyMessageAction.java 20 Mar 2005 20:39:38 -0000 1.2 *************** *** 54,58 **** destMailbox.addMessage(clone); ! //System.out.println("popaccount: clone isremote " + clone.isRemote()); --- 54,58 ---- destMailbox.addMessage(clone); ! ////System.out.println("popaccount: clone isremote " + clone.isRemote()); Index: GetMessageBodyAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/GetMessageBodyAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GetMessageBodyAction.java 20 Mar 2005 15:08:33 -0000 1.1 --- GetMessageBodyAction.java 20 Mar 2005 20:39:38 -0000 1.2 *************** *** 52,56 **** if (index == -1) { ! System.out.println("fetch body index = -1"); return; --- 52,56 ---- if (index == -1) { ! //System.out.println("fetch body index = -1"); return; *************** *** 68,72 **** private ProgressListener getProgressListener() { ! if(progressListeners.size() > 0 ) return (ProgressListener)progressListeners.elementAt(0); --- 68,72 ---- private ProgressListener getProgressListener() { ! if(progressListeners != null && progressListeners.size() > 0 ) return (ProgressListener)progressListeners.elementAt(0); *************** *** 86,100 **** */ public void setMailAccount(MailAccount account) { ! // TODO Auto-generated method stub } ! /* (non-Javadoc) ! * @see net.sf.mailsomething.mail.MailAction#addProgressListener(net.sf.mailsomething.util.ProgressListener) ! */ ! public void addProgressListener(ProgressListener l) { ! // TODO Auto-generated method stub ! ! } } --- 86,97 ---- */ public void setMailAccount(MailAccount account) { ! ! if(account instanceof ImapAccount) ! mailAccount = (ImapAccount)account; ! } ! } Index: DeleteMessageAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/DeleteMessageAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DeleteMessageAction.java 20 Mar 2005 15:08:33 -0000 1.1 --- DeleteMessageAction.java 20 Mar 2005 20:39:38 -0000 1.2 *************** *** 179,183 **** for (int i = 0; i < uids.length; i++) { ! //System.out.println(uids[i]); if (uids[i] != null) { --- 179,183 ---- for (int i = 0; i < uids.length; i++) { ! ////System.out.println(uids[i]); if (uids[i] != null) { Index: DeleteMailboxAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/DeleteMailboxAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DeleteMailboxAction.java 20 Mar 2005 15:08:33 -0000 1.1 --- DeleteMailboxAction.java 20 Mar 2005 20:39:38 -0000 1.2 *************** *** 128,135 **** public void setMailAccount(MailAccount account) { ! if(account instanceof ImapAccount) { ! mailAccount = (ImapAccount)account; ! } } --- 128,135 ---- public void setMailAccount(MailAccount account) { ! if(account instanceof ImapAccount) mailAccount = (ImapAccount)account; ! else if(account instanceof PopAccount) ! popAccount = (PopAccount)account; } Index: CreateMailboxAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/CreateMailboxAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CreateMailboxAction.java 20 Mar 2005 15:08:33 -0000 1.1 --- CreateMailboxAction.java 20 Mar 2005 20:39:38 -0000 1.2 *************** *** 6,9 **** --- 6,10 ---- import net.sf.mailsomething.mail.MailAccount; import net.sf.mailsomething.mail.MailAction; + import net.sf.mailsomething.mail.PopAccount; import net.sf.mailsomething.mail.parsers.ImapController; import net.sf.mailsomething.util.ProgressListener; *************** *** 71,74 **** --- 72,79 ---- public void setMailAccount(MailAccount account) { + mailAccount = account; + + if(account instanceof ImapAccount) + controller = ((ImapAccount)account).getController(); Index: UpdateMailboxesAction.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/actions/UpdateMailboxesAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** UpdateMailboxesAction.java 20 Mar 2005 15:08:33 -0000 1.1 --- UpdateMailboxesAction.java 20 Mar 2005 20:39:38 -0000 1.2 *************** *** 133,141 **** continue; ! //System.out.println("+" + result.getMailboxNames()[i] + "+"); if (mailbox.getMailbox(result.getMailboxNames()[i]) == null) { ! //System.out.println(mailboxNames[i]); Mailbox n = new Mailbox(result.getMailboxNames()[i], mailAccount); --- 133,141 ---- continue; ! ////System.out.println("+" + result.getMailboxNames()[i] + "+"); if (mailbox.getMailbox(result.getMailboxNames()[i]) == null) { ! ////System.out.println(mailboxNames[i]); Mailbox n = new Mailbox(result.getMailboxNames()[i], mailAccount); |
From: Stig T. <jw...@us...> - 2005-03-20 20:39:01
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8521/net/sf/mailsomething/mail Modified Files: SmtpAccount.java NntpAccount.java MessageBody.java MailAccount.java MailAddress.java TransparentMailbox.java Mailbox.java FilterManager.java MailUtils.java MailService.java Draft.java PopAccount.java Log Message: Index: SmtpAccount.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/SmtpAccount.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SmtpAccount.java 3 Apr 2004 07:56:48 -0000 1.1 --- SmtpAccount.java 20 Mar 2005 20:38:46 -0000 1.2 *************** *** 145,154 **** if (smtpSessionHandler.isLoggedIn()) { ! //System.out.println("is now logged in"); } else { ! System.out.println( ! "is not logged in - not sending message"); //messageBuffer.add(message); --- 145,154 ---- if (smtpSessionHandler.isLoggedIn()) { ! ////System.out.println("is now logged in"); } else { ! //System.out.println( ! // "is not logged in - not sending message"); //messageBuffer.add(message); Index: MailAccount.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/MailAccount.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MailAccount.java 20 Mar 2005 15:07:40 -0000 1.3 --- MailAccount.java 20 Mar 2005 20:38:46 -0000 1.4 *************** *** 243,246 **** --- 243,249 ---- if(isInited) return; + if(actions == null) + actions = new Vector(); + if(progressListeners == null) progressListeners = new Vector(); *************** *** 1270,1273 **** --- 1273,1279 ---- action.setMailAccount(this); + for(int i = 0; i < progressListeners.size(); i++) + action.addProgressListener((ProgressListener)progressListeners.elementAt(i)); + action.invoke(); Index: FilterManager.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/FilterManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FilterManager.java 3 Apr 2004 07:56:48 -0000 1.1 --- FilterManager.java 20 Mar 2005 20:38:47 -0000 1.2 *************** *** 83,87 **** public void messageAdded(MessageEvent e) { ! System.out.println("Message recieved by filter manager!"); int messageIndex = e.getIndex(); --- 83,87 ---- public void messageAdded(MessageEvent e) { ! //System.out.println("Message recieved by filter manager!"); int messageIndex = e.getIndex(); *************** *** 93,97 **** if ( filters[i].applies(message)) { ! System.out.println("test a filter applies to message"); filters[i].doAction(message); --- 93,97 ---- if ( filters[i].applies(message)) { ! //System.out.println("test a filter applies to message"); filters[i].doAction(message); Index: TransparentMailbox.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/TransparentMailbox.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TransparentMailbox.java 20 Mar 2005 15:07:38 -0000 1.3 --- TransparentMailbox.java 20 Mar 2005 20:38:47 -0000 1.4 *************** *** 319,323 **** } else { ! //System.out.println("Mailbox add message " + messageid); if (exists(messageid)) --- 319,323 ---- } else { ! ////System.out.println("Mailbox add message " + messageid); if (exists(messageid)) *************** *** 328,332 **** //so we should probably check for that too. //if (existsUid(message.getUID())) { ! //System.out.println("mailbox.addmessage, message exists " + messageid); // return; //} --- 328,332 ---- //so we should probably check for that too. //if (existsUid(message.getUID())) { ! ////System.out.println("mailbox.addmessage, message exists " + messageid); // return; //} *************** *** 430,434 **** return; ! //System.out.println("mailbox removemessage local"); //????? --- 430,434 ---- return; ! ////System.out.println("mailbox removemessage local"); //????? *************** *** 441,445 **** /*if (message.isRemote()) { ! //System.out.println("mailbox removemessage remote"); Request r = --- 441,445 ---- /*if (message.isRemote()) { ! ////System.out.println("mailbox removemessage remote"); Request r = Index: PopAccount.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/PopAccount.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PopAccount.java 20 Mar 2005 15:07:40 -0000 1.3 --- PopAccount.java 20 Mar 2005 20:38:47 -0000 1.4 *************** *** 144,148 **** public void stop() { ! System.out.println("PopAccount stop"); progressListeners.clear(); --- 144,148 ---- public void stop() { ! //System.out.println("PopAccount stop"); progressListeners.clear(); Index: MailService.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/MailService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MailService.java 20 Mar 2005 15:07:40 -0000 1.4 --- MailService.java 20 Mar 2005 20:38:47 -0000 1.5 *************** *** 703,707 **** addressBook = (AddressBook) p.readObject(); ! System.out.println("mailaccounts " + mailAccounts.size()); instream.close(); --- 703,707 ---- addressBook = (AddressBook) p.readObject(); ! //System.out.println("mailaccounts " + mailAccounts.size()); instream.close(); *************** *** 799,806 **** //if (simpleInterface != null) ! //System.out.println("Mailservice authentification fail6"); //if (simpleInterface.available(MailService.this)) ! //System.out.println("test test test"); if (e.getSeverity() == SessionEvent.FATAL --- 799,806 ---- //if (simpleInterface != null) ! ////System.out.println("Mailservice authentification fail6"); //if (simpleInterface.available(MailService.this)) ! ////System.out.println("test test test"); if (e.getSeverity() == SessionEvent.FATAL *************** *** 823,832 **** } ! //System.out.println("Mailservice authentification fail1"); if (e.getErrorType() == SessionEvent.AUTHENTIFICATION_FAIL) { ! System.out.println("Mailservice authentification fail"); if (e.getSource() != null) { --- 823,832 ---- } ! ////System.out.println("Mailservice authentification fail1"); if (e.getErrorType() == SessionEvent.AUTHENTIFICATION_FAIL) { ! //System.out.println("Mailservice authentification fail"); if (e.getSource() != null) { *************** *** 1056,1060 **** public ResultList search(SearchDefinition search, ResultList list) { ! System.out.println("calling search mailservice"); String[] classes = search.getSearchTypes(); --- 1056,1060 ---- public ResultList search(SearchDefinition search, ResultList list) { ! //System.out.println("calling search mailservice"); String[] classes = search.getSearchTypes(); *************** *** 1071,1075 **** if (!doSearch) { ! System.out.println("we are not searching messages"); return list; --- 1071,1075 ---- if (!doSearch) { ! //System.out.println("we are not searching messages"); return list; *************** *** 1197,1201 **** public boolean searchObject(SearchDefinition search, Object object) { ! //System.out.println("searchobject"); try { --- 1197,1201 ---- public boolean searchObject(SearchDefinition search, Object object) { ! ////System.out.println("searchobject"); try { *************** *** 1248,1252 **** for (int i = 0; i < messages.length; i++) { ! System.out.println("searchmessage"); if (!list.acceptsMore()) --- 1248,1252 ---- for (int i = 0; i < messages.length; i++) { ! //System.out.println("searchmessage"); if (!list.acceptsMore()) *************** *** 1255,1259 **** if (searchObject(search, messages[i])) { ! System.out.println("searchmessage match"); //String[] --- 1255,1259 ---- if (searchObject(search, messages[i])) { ! //System.out.println("searchmessage match"); //String[] Index: MailUtils.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/MailUtils.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MailUtils.java 14 Mar 2005 20:27:52 -0000 1.2 --- MailUtils.java 20 Mar 2005 20:38:47 -0000 1.3 *************** *** 213,217 **** if (message.getMimeType() == null) { ! System.out.println("mimetype == null"); return new String(message.getObject()); --- 213,217 ---- if (message.getMimeType() == null) { ! //System.out.println("mimetype == null"); return new String(message.getObject()); *************** *** 232,236 **** try { ! System.out.println("now we parse the html..."); return TextUtils.htmlToText(temp); --- 232,236 ---- try { ! //System.out.println("now we parse the html..."); return TextUtils.htmlToText(temp); *************** *** 339,343 **** try { ! System.out.println("now we parse the html..."); return TextUtils.htmlToText(temp); --- 339,343 ---- try { ! //System.out.println("now we parse the html..."); return TextUtils.htmlToText(temp); Index: NntpAccount.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/NntpAccount.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NntpAccount.java 20 Mar 2005 15:07:39 -0000 1.2 --- NntpAccount.java 20 Mar 2005 20:38:46 -0000 1.3 *************** *** 80,84 **** super.init(); ! //System.out.println("nntp init"); if (!useSSL() && !requiresLogin()) { --- 80,84 ---- super.init(); ! ////System.out.println("nntp init"); if (!useSSL() && !requiresLogin()) { *************** *** 144,148 **** for(int i = 0; i < test.length; i++) ! System.out.println(test[i]); }*/ --- 144,148 ---- for(int i = 0; i < test.length; i++) ! //System.out.println(test[i]); }*/ *************** *** 320,324 **** /*public void handleRequest(Request r) { ! System.out.println("parserequest"); if (shouldRun()) --- 320,324 ---- /*public void handleRequest(Request r) { ! //System.out.println("parserequest"); if (shouldRun()) *************** *** 331,339 **** /*protected void parseRequest(Request r) { ! System.out.println("handlerequest"); int scheme = r.getAction(); ! //System.out.println("popaccount scheme " + scheme); switch (scheme) { --- 331,339 ---- /*protected void parseRequest(Request r) { ! //System.out.println("handlerequest"); int scheme = r.getAction(); ! ////System.out.println("popaccount scheme " + scheme); switch (scheme) { *************** *** 411,415 **** if (stack.isEmpty()) { ! //System.out.println("stack is empty"); try { Thread.sleep(200); --- 411,415 ---- if (stack.isEmpty()) { ! ////System.out.println("stack is empty"); try { Thread.sleep(200); *************** *** 447,455 **** /*private void updateMessages(Request r) { ! //System.out.println("update messages nntp account"); MessageHolder mailbox = r.getMessageHolder(); ! //if(mailbox == null) System.out.println("mailbox is null"); Message[] messages = --- 447,455 ---- /*private void updateMessages(Request r) { ! ////System.out.println("update messages nntp account"); MessageHolder mailbox = r.getMessageHolder(); ! //if(mailbox == null) //System.out.println("mailbox is null"); Message[] messages = *************** *** 461,465 **** /*for(int i = messages.length - 1; i >= 0; i--) { ! if(messages[i] == null) System.out.println("message is null"); else mailbox.addMessage(messages[i]); --- 461,465 ---- /*for(int i = messages.length - 1; i >= 0; i--) { ! if(messages[i] == null) //System.out.println("message is null"); else mailbox.addMessage(messages[i]); *************** *** 485,489 **** if (groupfile == null) { ! System.out.println("groupfile is null"); groupfile = --- 485,489 ---- if (groupfile == null) { ! //System.out.println("groupfile is null"); groupfile = Index: MailAddress.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/MailAddress.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MailAddress.java 17 Mar 2005 03:34:24 -0000 1.5 --- MailAddress.java 20 Mar 2005 20:38:46 -0000 1.6 *************** *** 241,245 **** } else if (alias == null) { alias = headerstring; ! //System.out.println("from3"); } --- 241,245 ---- } else if (alias == null) { alias = headerstring; ! ////System.out.println("from3"); } Index: Draft.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/Draft.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Draft.java 11 Mar 2005 11:58:17 -0000 1.2 --- Draft.java 20 Mar 2005 20:38:47 -0000 1.3 *************** *** 314,318 **** public void addAttachment(MimeTypeObject o) { ! System.out.println("bodycount add attachment = " + getBodyCount()); if (getBodyCount() == 1) { --- 314,318 ---- public void addAttachment(MimeTypeObject o) { ! //System.out.println("bodycount add attachment = " + getBodyCount()); if (getBodyCount() == 1) { *************** *** 333,337 **** } else if (getBodyCount() == 2) { ! System.out.println("bodycount add attachment = 2"); //we have 2 bodies, now we need to look at the current --- 333,337 ---- } else if (getBodyCount() == 2) { ! //System.out.println("bodycount add attachment = 2"); //we have 2 bodies, now we need to look at the current *************** *** 451,455 **** if (name.equals(MessageConstants.TO)) { ! System.out.println("setto" + value); //we only have the email example: st...@st... --- 451,455 ---- if (name.equals(MessageConstants.TO)) { ! //System.out.println("setto" + value); //we only have the email example: st...@st... Index: MessageBody.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/MessageBody.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MessageBody.java 11 Mar 2005 11:58:17 -0000 1.2 --- MessageBody.java 20 Mar 2005 20:38:46 -0000 1.3 *************** *** 260,267 **** return new BufferedInputStream(new FileInputStream(file)); } catch (IOException e) { ! System.out.println("getinputstream, ioexception"); } ! System.out.println("getinputstream, null"); return null; --- 260,267 ---- return new BufferedInputStream(new FileInputStream(file)); } catch (IOException e) { ! //System.out.println("getinputstream, ioexception"); } ! //System.out.println("getinputstream, null"); return null; Index: Mailbox.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/Mailbox.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Mailbox.java 20 Mar 2005 17:42:32 -0000 1.4 --- Mailbox.java 20 Mar 2005 20:38:47 -0000 1.5 *************** *** 522,530 **** } else { ! //System.out.println("Mailbox add message " + messageid); if (exists(messageid)) { ! System.out.println("message with id exists"); Message m = getMessage(messageid); --- 522,530 ---- } else { ! ////System.out.println("Mailbox add message " + messageid); if (exists(messageid)) { ! //System.out.println("message with id exists"); Message m = getMessage(messageid); *************** *** 541,545 **** //so we should probably check for that too. //if (existsUid(message.getUID())) { ! //System.out.println("mailbox.addmessage, message exists " + messageid); // return; //} --- 541,545 ---- //so we should probably check for that too. //if (existsUid(message.getUID())) { ! ////System.out.println("mailbox.addmessage, message exists " + messageid); // return; //} *************** *** 1086,1090 **** public void updateMessages(int flag) { ! GetMessagesAction a = new GetMessagesAction(); a.setMailbox(this); --- 1086,1090 ---- public void updateMessages(int flag) { ! GetMessagesAction a = new GetMessagesAction(this); a.setMailbox(this); *************** *** 1431,1435 **** /*public void store(Message message) { ! System.out.println("calling store on message"); Request r = --- 1431,1435 ---- /*public void store(Message message) { ! //System.out.println("calling store on message"); Request r = |
From: Stig T. <jw...@us...> - 2005-03-20 20:38:56
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8521/net/sf/mailsomething/help Modified Files: HelpSystem.java HelpService.java FileRessourceManager.java Log Message: Index: HelpService.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/help/HelpService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpService.java 3 Apr 2004 07:56:53 -0000 1.1 --- HelpService.java 20 Mar 2005 20:38:47 -0000 1.2 *************** *** 293,297 **** public void showHelpPage(HelpPage page) { ! //System.out.println("show helppage in class helpservice called"); if (module == null) --- 293,297 ---- public void showHelpPage(HelpPage page) { ! ////System.out.println("show helppage in class helpservice called"); if (module == null) Index: FileRessourceManager.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/help/FileRessourceManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FileRessourceManager.java 3 Apr 2004 07:56:53 -0000 1.1 --- FileRessourceManager.java 20 Mar 2005 20:38:47 -0000 1.2 *************** *** 373,377 **** //notify the user of an error in the script? ! System.out.println("error in script"); } --- 373,377 ---- //notify the user of an error in the script? ! //System.out.println("error in script"); } *************** *** 561,565 **** while (iter.hasNext()) { ! System.out.println("hashcode " + ((Map.Entry)iter.next()).getKey().hashCode()); --- 561,565 ---- while (iter.hasNext()) { ! //System.out.println("hashcode " + ((Map.Entry)iter.next()).getKey().hashCode()); Index: HelpSystem.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/help/HelpSystem.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpSystem.java 3 Apr 2004 07:56:53 -0000 1.1 --- HelpSystem.java 20 Mar 2005 20:38:47 -0000 1.2 *************** *** 477,485 **** public void load(InputStream in) { ! System.out.println("helpsystem calling load(inputstream)"); if(in == null) { ! System.out.println("inputstream = null"); isInitiated = true; --- 477,485 ---- public void load(InputStream in) { ! //System.out.println("helpsystem calling load(inputstream)"); if(in == null) { ! //System.out.println("inputstream = null"); isInitiated = true; *************** *** 500,504 **** indexpages = (Vector) p.readObject(); ! System.out.println("helppages size = " + indexpages.size()); //in.close(); --- 500,504 ---- indexpages = (Vector) p.readObject(); ! //System.out.println("helppages size = " + indexpages.size()); //in.close(); |
From: Stig T. <jw...@us...> - 2005-03-20 20:38:55
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8521/net/sf/mailsomething/install Modified Files: InstallDialog.java InstallUtility.java Log Message: Index: InstallDialog.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/install/InstallDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InstallDialog.java 3 Apr 2004 07:56:50 -0000 1.1 --- InstallDialog.java 20 Mar 2005 20:38:47 -0000 1.2 *************** *** 937,941 **** public void run() { ! System.out.println("extracting"); InstallUtility installer = new InstallUtility(); --- 937,941 ---- public void run() { ! //System.out.println("extracting"); InstallUtility installer = new InstallUtility(); Index: InstallUtility.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/install/InstallUtility.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InstallUtility.java 3 Apr 2004 07:56:50 -0000 1.1 --- InstallUtility.java 20 Mar 2005 20:38:47 -0000 1.2 *************** *** 64,68 **** if(entry.isDirectory()) { ! System.out.println(entry.getName()); File file = new File(installdir, entry.getName()); --- 64,68 ---- if(entry.isDirectory()) { ! //System.out.println(entry.getName()); File file = new File(installdir, entry.getName()); *************** *** 73,77 **** ! System.out.println(entry.getName()); if(entry.getName().endsWith(".jar")) { --- 73,77 ---- ! //System.out.println(entry.getName()); if(entry.getName().endsWith(".jar")) { *************** *** 159,163 **** if(homeDir == null) { ! System.out.println("cant find homedir or cant write to it, or cant write to current dir"); return; --- 159,163 ---- if(homeDir == null) { ! //System.out.println("cant find homedir or cant write to it, or cant write to current dir"); return; *************** *** 302,306 **** checkJava(); ! if(JAVA_VERSION_OK) System.out.println("JAVA_VERSION_OK"); prepareDirs("MailSomething"); --- 302,306 ---- checkJava(); ! if(JAVA_VERSION_OK) //System.out.println("JAVA_VERSION_OK"); prepareDirs("MailSomething"); *************** *** 347,351 **** JAVA_HOME = System.getProperty("java.home"); ! System.out.println(JAVA_HOME); String version = System.getProperty("java.version"); --- 347,351 ---- JAVA_HOME = System.getProperty("java.home"); ! //System.out.println(JAVA_HOME); String version = System.getProperty("java.version"); *************** *** 380,384 **** File file = (File)vector.elementAt(i); ! System.out.println(file.getPath()); --- 380,384 ---- File file = (File)vector.elementAt(i); ! //System.out.println(file.getPath()); |
From: Stig T. <jw...@us...> - 2005-03-20 20:37:31
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/drag In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/net/sf/mailsomething/gui/drag Modified Files: SampleGlassPane.java Log Message: Index: SampleGlassPane.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/drag/SampleGlassPane.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SampleGlassPane.java 3 Apr 2004 07:56:49 -0000 1.1 --- SampleGlassPane.java 20 Mar 2005 20:36:46 -0000 1.2 *************** *** 368,372 **** public void mouseDragged(MouseEvent e) { ! System.out.println("mousedragged draggui"); if (isPainting) { --- 368,372 ---- public void mouseDragged(MouseEvent e) { ! ////System.out.println("mousedragged draggui"); if (isPainting) { *************** *** 401,405 **** public void mouseMoved(MouseEvent e) { ! System.out.println("mousemoved draggui"); if (isPainting) { --- 401,405 ---- public void mouseMoved(MouseEvent e) { ! ////System.out.println("mousemoved draggui"); if (isPainting) { *************** *** 464,468 **** setPoint(pp); ! //System.out.println(pp); /*for (int i = 0; i < dropComponents.size(); i++) { --- 464,468 ---- setPoint(pp); ! ////System.out.println(pp); /*for (int i = 0; i < dropComponents.size(); i++) { *************** *** 695,699 **** public void componentRemoved(ContainerEvent e) { ! System.out.println(paintDiff + " " + e.getChild()); Point p = new Point(paintDiff.width, paintDiff.height); --- 695,699 ---- public void componentRemoved(ContainerEvent e) { ! //System.out.println(paintDiff + " " + e.getChild()); Point p = new Point(paintDiff.width, paintDiff.height); *************** *** 709,713 **** } ! //System.out.println("component removed: " + e.getChild()); } --- 709,713 ---- } ! ////System.out.println("component removed: " + e.getChild()); } *************** *** 737,745 **** public void setConsumeEvents(boolean consume) { ! //System.out.println("set consumeevents"); if (consume && !consumeEvents) { ! //System.out.println("add consumer"); addMouseListener((consumer = new Consumer())); --- 737,745 ---- public void setConsumeEvents(boolean consume) { ! ////System.out.println("set consumeevents"); if (consume && !consumeEvents) { ! ////System.out.println("add consumer"); addMouseListener((consumer = new Consumer())); *************** *** 749,753 **** } else if (consumeEvents && !consume) { ! //System.out.println("remove consumer"); removeMouseListener(consumer); --- 749,753 ---- } else if (consumeEvents && !consume) { ! ////System.out.println("remove consumer"); removeMouseListener(consumer); |
From: Stig T. <jw...@us...> - 2005-03-20 20:37:31
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/standard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/net/sf/mailsomething/gui/standard Modified Files: SortedSearchListPanel.java PromptPasswordDialog.java ImageLabel.java Log Message: Index: PromptPasswordDialog.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/standard/PromptPasswordDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PromptPasswordDialog.java 3 Apr 2004 07:56:50 -0000 1.1 --- PromptPasswordDialog.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 250,256 **** if (e.getActionCommand().equals(OK_ACTION_COMMAND)) { ! System.out.println( ! "promptpassworddialog username=" + usernamefield.getText()); ! username = usernamefield.getText(); --- 250,254 ---- if (e.getActionCommand().equals(OK_ACTION_COMMAND)) { ! username = usernamefield.getText(); Index: SortedSearchListPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/standard/SortedSearchListPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SortedSearchListPanel.java 3 Apr 2004 07:56:50 -0000 1.1 --- SortedSearchListPanel.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 185,194 **** } ! System.out.println(s2); return (s1).compareToIgnoreCase(s2); } catch (ClassCastException f) { ! System.out.println("classcat"); f.printStackTrace(); --- 185,194 ---- } ! //System.out.println(s2); return (s1).compareToIgnoreCase(s2); } catch (ClassCastException f) { ! //System.out.println("classcat"); f.printStackTrace(); *************** *** 327,331 **** Arrays.binarySearch(objects, doc, new StringComparator()); ! System.out.println("" + index); --- 327,331 ---- Arrays.binarySearch(objects, doc, new StringComparator()); ! //System.out.println("" + index); Index: ImageLabel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/standard/ImageLabel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImageLabel.java 3 Apr 2004 07:56:50 -0000 1.1 --- ImageLabel.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 149,153 **** public void fitToWidth() { ! System.out.println("fittowidth called"); super.setPreferredSize(null); --- 149,153 ---- public void fitToWidth() { ! //System.out.println("fittowidth called"); super.setPreferredSize(null); *************** *** 177,181 **** } ! System.out.println(con); --- 177,181 ---- } ! //System.out.println(con); *************** *** 398,402 **** public void actionPerformed(ActionEvent e) { ! //System.out.println(e.getActionCommand()); if(e.getActionCommand() != "zoomout") return; --- 398,402 ---- public void actionPerformed(ActionEvent e) { ! ////System.out.println(e.getActionCommand()); if(e.getActionCommand() != "zoomout") return; *************** *** 409,413 **** /* * public void keyTyped(KeyEvent e) { ! * System.out.println("keypressed"); * if(e.getKeyCode() == KeyEvent.VK_PLUS) { * zoom(10); --- 409,413 ---- /* * public void keyTyped(KeyEvent e) { ! * //System.out.println("keypressed"); * if(e.getKeyCode() == KeyEvent.VK_PLUS) { * zoom(10); *************** *** 460,464 **** public void actionPerformed(ActionEvent e) { ! System.out.println(e.getActionCommand() + getValue(MNEMONIC_KEY)); if(e.getActionCommand() != "zoomin") return; --- 460,464 ---- public void actionPerformed(ActionEvent e) { ! //System.out.println(e.getActionCommand() + getValue(MNEMONIC_KEY)); if(e.getActionCommand() != "zoomin") return; *************** *** 466,470 **** zoom(10); ! System.out.println("actionperformed"); } --- 466,470 ---- zoom(10); ! //System.out.println("actionperformed"); } *************** *** 472,476 **** /* * public void keyTyped(KeyEvent e) { ! * System.out.println("keypressed"); * if(e.getKeyCode() == KeyEvent.VK_PLUS) { * zoom(10); --- 472,476 ---- /* * public void keyTyped(KeyEvent e) { ! * //System.out.println("keypressed"); * if(e.getKeyCode() == KeyEvent.VK_PLUS) { * zoom(10); *************** *** 551,555 **** /* * public void keyTyped(KeyEvent e) { ! * System.out.println("keypressed"); * if(e.getKeyCode() == KeyEvent.VK_PLUS) { * zoom(10); --- 551,555 ---- /* * public void keyTyped(KeyEvent e) { ! * //System.out.println("keypressed"); * if(e.getKeyCode() == KeyEvent.VK_PLUS) { * zoom(10); |
From: Stig T. <jw...@us...> - 2005-03-20 20:37:27
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/net/sf/mailsomething/gui/help Modified Files: HelpItemPanel.java SortedHelpList.java EditorHelpPanel.java HelpTextPane.java Log Message: Index: EditorHelpPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/help/EditorHelpPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EditorHelpPanel.java 3 Apr 2004 07:56:52 -0000 1.1 --- EditorHelpPanel.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 342,346 **** } ! //System.out.println(c); } --- 342,346 ---- } ! ////System.out.println(c); } Index: SortedHelpList.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/help/SortedHelpList.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SortedHelpList.java 3 Apr 2004 07:56:52 -0000 1.1 --- SortedHelpList.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 121,125 **** String s2 = ((HelpPage) o2).getTitle(); ! //System.out.println("+"+s1.compareTo(s2)); return s1.compareTo(s2); --- 121,125 ---- String s2 = ((HelpPage) o2).getTitle(); ! ////System.out.println("+"+s1.compareTo(s2)); return s1.compareTo(s2); *************** *** 133,137 **** String s1 = ((HelpPage) o1).getTitle(); ! //System.out.println("++"+s2.compareTo(s1)); return s2.compareTo(s1); --- 133,137 ---- String s1 = ((HelpPage) o1).getTitle(); ! ////System.out.println("++"+s2.compareTo(s1)); return s2.compareTo(s1); Index: HelpTextPane.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/help/HelpTextPane.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpTextPane.java 3 Apr 2004 07:56:52 -0000 1.1 --- HelpTextPane.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 44,48 **** public void addHelplinkListener(HelplinkListener l) { ! //System.out.println("helptextpane add listener"); hlisteners.add(l); --- 44,48 ---- public void addHelplinkListener(HelplinkListener l) { ! ////System.out.println("helptextpane add listener"); hlisteners.add(l); *************** *** 150,154 **** public void setMaximumSize(Dimension d) { ! //System.out.println("setmaximum size textpane" + d); super.setMaximumSize(d); --- 150,154 ---- public void setMaximumSize(Dimension d) { ! ////System.out.println("setmaximum size textpane" + d); super.setMaximumSize(d); Index: HelpItemPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/help/HelpItemPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HelpItemPanel.java 3 Apr 2004 07:56:52 -0000 1.1 --- HelpItemPanel.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 399,404 **** title = "No title"; ! System.out.println( ! "createhref " + createHref(level, i)); Anchor anc = --- 399,404 ---- title = "No title"; ! //System.out.println( ! // "createhref " + createHref(level, i)); Anchor anc = *************** *** 518,524 **** return; ! System.out.println( ! "getpageforlevel " + getLevel(href) + " " + getLinkIndex(href)); ! if (getLinkIndex(href) == -1) return; --- 518,522 ---- return; ! if (getLinkIndex(href) == -1) return; *************** *** 549,553 **** int level = getLevel(href); ! System.out.println("clear level?" + level + "<" + getDepth()); //we clear all current sublevels --- 547,551 ---- int level = getLevel(href); ! //System.out.println("clear level?" + level + "<" + getDepth()); //we clear all current sublevels |
From: Stig T. <jw...@us...> - 2005-03-20 20:37:27
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/notes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/net/sf/mailsomething/gui/notes Modified Files: BloggerView.java NoteEditView.java Log Message: Index: BloggerView.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/notes/BloggerView.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BloggerView.java 3 Apr 2004 07:56:52 -0000 1.1 --- BloggerView.java 20 Mar 2005 20:36:47 -0000 1.2 *************** *** 163,169 **** Velocity.getTemplate("note.vm"); } catch (ResourceNotFoundException rnfe) { ! System.out.println("Example : error : cannot find template "); } catch (ParseErrorException pee) { ! System.out.println( "Example : Syntax error in template :" + pee); } --- 163,169 ---- Velocity.getTemplate("note.vm"); } catch (ResourceNotFoundException rnfe) { ! //System.out.println("Example : error : cannot find template "); } catch (ParseErrorException pee) { ! //System.out.println( "Example : Syntax error in template :" + pee); } *************** *** 188,192 **** e.printStackTrace(); ! System.out.println(e); }*/ --- 188,192 ---- e.printStackTrace(); ! //System.out.println(e); }*/ *************** *** 199,203 **** doc.insertString("" + '\n', describ); ! //System.out.println("" + note.getDate().getTime()); doc.insertString("Posted at " + note.getDate() + " by ", infostyle); --- 199,203 ---- doc.insertString("" + '\n', describ); ! ////System.out.println("" + note.getDate().getTime()); doc.insertString("Posted at " + note.getDate() + " by ", infostyle); *************** *** 470,474 **** public void helplinkUpdate(HelplinkEvent ev) { ! //System.out.println(ev.getEventType()); if (ev.getEventType() == HyperlinkEvent.EventType.ENTERED --- 470,474 ---- public void helplinkUpdate(HelplinkEvent ev) { ! ////System.out.println(ev.getEventType()); if (ev.getEventType() == HyperlinkEvent.EventType.ENTERED Index: NoteEditView.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/notes/NoteEditView.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NoteEditView.java 3 Apr 2004 07:56:52 -0000 1.1 --- NoteEditView.java 20 Mar 2005 20:36:48 -0000 1.2 *************** *** 105,109 **** title = new JTextField(); ! System.out.println(title.getBorder()); JPanel panel1 = new JPanel(); --- 105,109 ---- title = new JTextField(); ! //System.out.println(title.getBorder()); JPanel panel1 = new JPanel(); |
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791/net/sf/mailsomething/gui/mail Modified Files: TableHeaderListener.java MailboxTree.java DesktopImage.java MailGuiActions.java MailboxTableModel.java ImportMailDialog.java MailboxTreeNode.java MailConfigPanel.java MessageViewer.java MailboxTreePanel.java MailEditor.java MailboxTreeCellEditor.java MailboxTreeModel.java MailboxTreeCellEditor2.java AddressListConfig.java MailboxTable.java Log Message: Index: DesktopImage.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/DesktopImage.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DesktopImage.java 3 Apr 2004 07:56:49 -0000 1.1 --- DesktopImage.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 45,49 **** String system = System.getProperty("os.name"); ! System.out.println(system); if (system.indexOf("indows") == -1) { --- 45,49 ---- String system = System.getProperty("os.name"); ! //System.out.println(system); if (system.indexOf("indows") == -1) { *************** *** 142,146 **** if (menuShowing) { ! System.out.println("menu is showing"); menu.dispose(); --- 142,146 ---- if (menuShowing) { ! //System.out.println("menu is showing"); menu.dispose(); *************** *** 210,214 **** } ! //System.out.println("indicator clicked"); //indicator.hide(); --- 210,214 ---- } ! ////System.out.println("indicator clicked"); //indicator.hide(); *************** *** 226,230 **** public void newMail(MailEvent e) { ! System.out.println("newmail lib.gui.mail.DesktopImage"); mailcount += e.messageCount(); --- 226,230 ---- public void newMail(MailEvent e) { ! //System.out.println("newmail lib.gui.mail.DesktopImage"); mailcount += e.messageCount(); *************** *** 244,248 **** if (menuShowing) { ! System.out.println("menu is showing"); menu.dispose(); --- 244,248 ---- if (menuShowing) { ! //System.out.println("menu is showing"); menu.dispose(); Index: TableHeaderListener.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/TableHeaderListener.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TableHeaderListener.java 3 Apr 2004 07:56:48 -0000 1.1 --- TableHeaderListener.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 137,141 **** if (lastColumn == col) { ! System.out.println("sort column " + col + " " + columnOrder[col]); sorter.sortByColumn(columnOrder[col], false); --- 137,141 ---- if (lastColumn == col) { ! //System.out.println("sort column " + col + " " + columnOrder[col]); sorter.sortByColumn(columnOrder[col], false); *************** *** 143,147 **** } else { ! System.out.println("sort column " + col + " " + columnOrder[col]); --- 143,147 ---- } else { ! //System.out.println("sort column " + col + " " + columnOrder[col]); Index: MailGuiActions.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailGuiActions.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MailGuiActions.java 12 Mar 2005 16:06:30 -0000 1.2 --- MailGuiActions.java 20 Mar 2005 20:36:45 -0000 1.3 *************** *** 54,58 **** public void actionPerformed(ActionEvent e) { ! System.out.println("test test"); ImportMailDialog dialog = new ImportMailDialog(); --- 54,58 ---- public void actionPerformed(ActionEvent e) { ! //System.out.println("test test"); ImportMailDialog dialog = new ImportMailDialog(); Index: MailboxTreePanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTreePanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxTreePanel.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailboxTreePanel.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 605,609 **** public void mousePressed(MouseEvent e) { ! System.out.println("MailboxTreePanel, mousePressed"); } } --- 605,609 ---- public void mousePressed(MouseEvent e) { ! //System.out.println("MailboxTreePanel, mousePressed"); } } *************** *** 615,619 **** private void staticMailboxInit() { ! //System.out.println("Static mailbox initialization"); MailService mailuser = MailService.getInstance(); --- 615,619 ---- private void staticMailboxInit() { ! ////System.out.println("Static mailbox initialization"); MailService mailuser = MailService.getInstance(); *************** *** 625,629 **** for(int i = 0; i < accounts.length; i++) { ! //System.out.println("staticmailboxinit " + accounts[i]); mailboxes.add(accounts[i]); --- 625,629 ---- for(int i = 0; i < accounts.length; i++) { ! ////System.out.println("staticmailboxinit " + accounts[i]); mailboxes.add(accounts[i]); *************** *** 787,791 **** //relies on, that the same popupmenu is being used for all components //other possibility would be to do some castings. ie, getsource()... ! //System.out.println(popupMenu.getInvoker()); //"Move up", "Move down", "Collapse" --- 787,791 ---- //relies on, that the same popupmenu is being used for all components //other possibility would be to do some castings. ie, getsource()... ! ////System.out.println(popupMenu.getInvoker()); //"Move up", "Move down", "Collapse" *************** *** 859,863 **** public void devalidate() { ! System.out.println("validate"); removeAll(); --- 859,863 ---- public void devalidate() { ! //System.out.println("validate"); removeAll(); Index: MailboxTableModel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTableModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxTableModel.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailboxTableModel.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 196,200 **** public void messageAdded(MessageEvent e) { ! System.out.println("org tablemodel message added"); // The TableModelEvent should be specified. --- 196,200 ---- public void messageAdded(MessageEvent e) { ! //System.out.println("org tablemodel message added"); // The TableModelEvent should be specified. Index: ImportMailDialog.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/ImportMailDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImportMailDialog.java 3 Apr 2004 07:56:48 -0000 1.1 --- ImportMailDialog.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 301,305 **** list.repaint(); ! //System.out.println("filenames " + fileNames.length); } --- 301,305 ---- list.repaint(); ! ////System.out.println("filenames " + fileNames.length); } *************** *** 684,688 **** } catch (IOException f) { ! System.out.println("ioexception importing mails"); } --- 684,688 ---- } catch (IOException f) { ! //System.out.println("ioexception importing mails"); } Index: MailboxTreeNode.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTreeNode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxTreeNode.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailboxTreeNode.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 59,63 **** if ((m[i].getState() & Mailbox.HIDDEN) == Mailbox.HIDDEN) { ! System.out.println("mailbox is hidden " + m[i].getName()); node = new MailboxTreeNode(model, m[i], this, true); --- 59,63 ---- if ((m[i].getState() & Mailbox.HIDDEN) == Mailbox.HIDDEN) { ! //System.out.println("mailbox is hidden " + m[i].getName()); node = new MailboxTreeNode(model, m[i], this, true); *************** *** 96,100 **** if ((m[i].getState() & Mailbox.HIDDEN) == Mailbox.HIDDEN) { ! System.out.println("mailbox is hidden " + m[i].getName()); node = new MailboxTreeNode(model, m[i], this, true); --- 96,100 ---- if ((m[i].getState() & Mailbox.HIDDEN) == Mailbox.HIDDEN) { ! //System.out.println("mailbox is hidden " + m[i].getName()); node = new MailboxTreeNode(model, m[i], this, true); Index: MessageViewer.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MessageViewer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MessageViewer.java 20 Mar 2005 15:04:23 -0000 1.4 --- MessageViewer.java 20 Mar 2005 20:36:45 -0000 1.5 *************** *** 758,762 **** String subtype = mimetype.getSubType(); ! System.out.println("hello" + primary + subtype); for (int j = 0; j < n; j++) --- 758,762 ---- String subtype = mimetype.getSubType(); ! //System.out.println("hello" + primary + subtype); for (int j = 0; j < n; j++) *************** *** 766,770 **** p = o; ! System.out.println("choose " + subtype); break; } --- 766,770 ---- p = o; ! //System.out.println("choose " + subtype); break; } *************** *** 792,796 **** for (int j = 0; j < attachTypes.length; j++) if (primary.equalsIgnoreCase(attachTypes[j])) { ! //System.out.println("found attachment"); String name = mimetype.getParameter("name"); //if(name == null) name = o.getField(MessageConstants.CONTENT_ID); --- 792,796 ---- for (int j = 0; j < attachTypes.length; j++) if (primary.equalsIgnoreCase(attachTypes[j])) { ! ////System.out.println("found attachment"); String name = mimetype.getParameter("name"); //if(name == null) name = o.getField(MessageConstants.CONTENT_ID); *************** *** 868,872 **** } else { ! //System.out.println("found attachment"); String name = mimetype.getParameter("name"); //if(name == null) name = o.getField(MessageConstants.CONTENT_ID); --- 868,872 ---- } else { ! ////System.out.println("found attachment"); String name = mimetype.getParameter("name"); //if(name == null) name = o.getField(MessageConstants.CONTENT_ID); *************** *** 1017,1021 **** int mmax = scrollbar.getMaximum(); ! System.out.println("changing jscrollbar " + nmax + " " + mmax); scrollbar.setValue(mmax); --- 1017,1021 ---- int mmax = scrollbar.getMaximum(); ! //System.out.println("changing jscrollbar " + nmax + " " + mmax); scrollbar.setValue(mmax); *************** *** 1139,1160 **** MessageHolder mailbox = table.getMailbox(); ! GetMessageBodyAction gam = new GetMessageBodyAction(mailbox, message); ! ! ! ! /*Request r = ! new Request( ! Request.FETCH_BODY, ! mailbox, ! message.getField(MessageConstants.MESSAGE_ID));*/ ! ! //if theres some problem we dont need to keep this ! //request - it will appear again when user wants ! //to see the message ! //r.setDismissable(true); ! ! //r.setUrgent(true); ! statusBar = new StatusBar(); --- 1139,1146 ---- MessageHolder mailbox = table.getMailbox(); ! GetMessageBodyAction gam = ! new GetMessageBodyAction(mailbox, message); ! statusBar = new StatusBar(); *************** *** 1176,1180 **** //e.g ! System.out.println("uid " + message.getUID()); printHeader(message); --- 1162,1166 ---- //e.g ! //System.out.println("uid " + message.getUID()); printHeader(message); *************** *** 1586,1591 **** (float) 12); ! System.out.println( ! "" + f.getSize() + f.getFamily() + f.getFontName()); headerPanel.subjectLabel.setFont(f); --- 1572,1576 ---- (float) 12); ! headerPanel.subjectLabel.setFont(f); Index: MailEditor.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailEditor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MailEditor.java 20 Mar 2005 15:04:23 -0000 1.3 --- MailEditor.java 20 Mar 2005 20:36:45 -0000 1.4 *************** *** 372,377 **** explorer.setActions(actions); ! } else ! System.out.println("File Explorer null heretoo"); } } --- 372,376 ---- explorer.setActions(actions); ! } } } *************** *** 384,389 **** if (explorer != null) { explorer.unsetActions(); ! } else ! System.out.println("File Explorer null heretoo"); } --- 383,387 ---- if (explorer != null) { explorer.unsetActions(); ! } } *************** *** 396,400 **** public void actionPerformed(ActionEvent e) { //implement the action here ! System.out.println("Add Attachment"); } } --- 394,398 ---- public void actionPerformed(ActionEvent e) { //implement the action here ! //System.out.println("Add Attachment"); } } *************** *** 584,588 **** if (add == null) { ! System.out.println("no selected address"); return null; --- 582,586 ---- if (add == null) { ! //System.out.println("no selected address"); return null; *************** *** 592,598 **** draft.setField(MessageConstants.TO, add.getEmail()); ! System.out.println( ! "now we are returning the message" ! + add.getEmail()); return draft; --- 590,594 ---- draft.setField(MessageConstants.TO, add.getEmail()); ! return draft; *************** *** 604,608 **** } ! //System.out.println(addresses[0].toString()); //else showChooseRecieverDialog --- 600,604 ---- } ! ////System.out.println(addresses[0].toString()); //else showChooseRecieverDialog *************** *** 1261,1265 **** if (sendMessage == null) { ! System.out.println("message = null"); return; --- 1257,1261 ---- if (sendMessage == null) { ! //System.out.println("message = null"); return; *************** *** 1367,1371 **** public void actionPerformed(ActionEvent e) { ! System.out.println(e.getActionCommand()); /*if (e.getActionCommand() != ACTION_COMMAND) { --- 1363,1367 ---- public void actionPerformed(ActionEvent e) { ! //System.out.println(e.getActionCommand()); /*if (e.getActionCommand() != ACTION_COMMAND) { *************** *** 1398,1402 **** caretPosition = textPane.getCaretPosition(); ! System.out.println("caretposition " + caretPosition); isText = false; --- 1394,1398 ---- caretPosition = textPane.getCaretPosition(); ! //System.out.println("caretposition " + caretPosition); isText = false; *************** *** 1470,1474 **** if (attachpaneShowing) { ! //System.out.println("remove"); remove(attachpane); attachpaneShowing = false; --- 1466,1470 ---- if (attachpaneShowing) { ! ////System.out.println("remove"); remove(attachpane); attachpaneShowing = false; *************** *** 1476,1480 **** repaint(); } else { ! //System.out.println("add"); add(attachpane, BorderLayout.SOUTH); attachpaneShowing = true; --- 1472,1476 ---- repaint(); } else { ! ////System.out.println("add"); add(attachpane, BorderLayout.SOUTH); attachpaneShowing = true; *************** *** 1543,1547 **** /*public boolean accepts(Object object) { ! System.out.println("accepts mailwriter " + object + object.getClass()); try { --- 1539,1543 ---- /*public boolean accepts(Object object) { ! //System.out.println("accepts mailwriter " + object + object.getClass()); try { *************** *** 1619,1627 **** /*public boolean dropObject(Object object) { ! System.out.println("dropobject" + object.getClass()); if (accepts(object)) { ! System.out.println("after accepts" + object.getClass()); if (attachments == null) --- 1615,1623 ---- /*public boolean dropObject(Object object) { ! //System.out.println("dropobject" + object.getClass()); if (accepts(object)) { ! //System.out.println("after accepts" + object.getClass()); if (attachments == null) *************** *** 1712,1716 **** elements[i], (DefaultStyledDocument) textPane.getDocument()); ! //System.out.println("nr elements: " + elements[i].getElementCount()); } --- 1708,1712 ---- elements[i], (DefaultStyledDocument) textPane.getDocument()); ! ////System.out.println("nr elements: " + elements[i].getElementCount()); } *************** *** 1731,1742 **** GuiUser.getInstance().getFontHandler().getEncoding()); ! //System.out.println(new String(bytes)); } else { bytes = text.getBytes(); ! //System.out.println(bytes); } } catch (UnsupportedEncodingException f) { ! System.out.println("wrong iso"); //return null; } --- 1727,1738 ---- GuiUser.getInstance().getFontHandler().getEncoding()); ! ////System.out.println(new String(bytes)); } else { bytes = text.getBytes(); ! ////System.out.println(bytes); } } catch (UnsupportedEncodingException f) { ! //System.out.println("wrong iso"); //return null; } *************** *** 1771,1775 **** AttributeSet.NameAttribute); ! //System.out.println("appendelement"); if (element.isLeaf()) { --- 1767,1771 ---- AttributeSet.NameAttribute); ! ////System.out.println("appendelement"); if (element.isLeaf()) { *************** *** 1834,1838 **** } else { ! //System.out.println(element.getAttributes().getAttribute(AttributeSet.NameAttribute)); //stupid but necessary, im still not fully into those elements --- 1830,1834 ---- } else { ! ////System.out.println(element.getAttributes().getAttribute(AttributeSet.NameAttribute)); //stupid but necessary, im still not fully into those elements *************** *** 2007,2011 **** addAttachment(f); ! //System.out.println("dropfilelist + " + f.getPath()); } --- 2003,2007 ---- addAttachment(f); ! ////System.out.println("dropfilelist + " + f.getPath()); } *************** *** 2187,2191 **** byte[] html = HtmlFactory.getHtml(textPane.getStyledDocument()); ! System.out.println(new String(html)); } --- 2183,2187 ---- byte[] html = HtmlFactory.getHtml(textPane.getStyledDocument()); ! //System.out.println(new String(html)); } *************** *** 2196,2200 **** public void actionPerformed(ActionEvent e) { ! System.out.println("some formatting happening!?"); isText = false; --- 2192,2196 ---- public void actionPerformed(ActionEvent e) { ! //System.out.println("some formatting happening!?"); isText = false; Index: MailboxTreeModel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTreeModel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxTreeModel.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailboxTreeModel.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 80,84 **** public void messagesFetched(MailEvent e) { ! //System.out.println("mailboxtreemodel has new mail"); MessageHolder m = e.getMailbox(); --- 80,84 ---- public void messagesFetched(MailEvent e) { ! ////System.out.println("mailboxtreemodel has new mail"); MessageHolder m = e.getMailbox(); *************** *** 205,209 **** StringTokenizer st = new StringTokenizer(path, "/"); ! //System.out.println("mailboxtreemodel " + path); //Mailbox mm = this; --- 205,209 ---- StringTokenizer st = new StringTokenizer(path, "/"); ! ////System.out.println("mailboxtreemodel " + path); //Mailbox mm = this; *************** *** 224,228 **** //for(int j = 0; j < mpath.length;j++) ! // System.out.println("treemodelevent" + mpath[j].getName()); MailboxTreeNode[] newobject = new MailboxTreeNode[1]; --- 224,228 ---- //for(int j = 0; j < mpath.length;j++) ! // //System.out.println("treemodelevent" + mpath[j].getName()); MailboxTreeNode[] newobject = new MailboxTreeNode[1]; Index: MailConfigPanel.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailConfigPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailConfigPanel.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailConfigPanel.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 464,468 **** poppanel.add(pane, BorderLayout.CENTER); ! System.out.println(poppanel.getPreferredSize()); Dimension d = pane.getPreferredSize(); --- 464,468 ---- poppanel.add(pane, BorderLayout.CENTER); ! //System.out.println(poppanel.getPreferredSize()); Dimension d = pane.getPreferredSize(); *************** *** 640,644 **** imappanel.add(pane, BorderLayout.CENTER); ! System.out.println(imappanel.getPreferredSize()); Dimension d = pane.getPreferredSize(); --- 640,644 ---- imappanel.add(pane, BorderLayout.CENTER); ! //System.out.println(imappanel.getPreferredSize()); Dimension d = pane.getPreferredSize(); *************** *** 848,852 **** nntpinfo.add(pane, BorderLayout.CENTER); ! System.out.println(nntpinfo.getPreferredSize()); Dimension d = pane.getPreferredSize(); --- 848,852 ---- nntpinfo.add(pane, BorderLayout.CENTER); ! //System.out.println(nntpinfo.getPreferredSize()); Dimension d = pane.getPreferredSize(); *************** *** 997,1001 **** int rowcount = MailService.getInstance().getAccounts(protocol).length; ! //System.out.println("" + rowcount); return rowcount; --- 997,1001 ---- int rowcount = MailService.getInstance().getAccounts(protocol).length; ! ////System.out.println("" + rowcount); return rowcount; Index: MailboxTreeCellEditor2.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTreeCellEditor2.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxTreeCellEditor2.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailboxTreeCellEditor2.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 157,161 **** public void cancelCellEditing() { ! System.out.println("call cellediting canceled"); /** --- 157,161 ---- public void cancelCellEditing() { ! //System.out.println("call cellediting canceled"); /** *************** *** 175,179 **** public boolean stopCellEditing() { ! System.out.println("call cellediting stopped"); if (lastValue != null) { --- 175,179 ---- public boolean stopCellEditing() { ! //System.out.println("call cellediting stopped"); if (lastValue != null) { Index: MailboxTreeCellEditor.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTreeCellEditor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailboxTreeCellEditor.java 3 Apr 2004 07:56:48 -0000 1.1 --- MailboxTreeCellEditor.java 20 Mar 2005 20:36:45 -0000 1.2 *************** *** 59,63 **** //set ! //System.out.println("celleditorcomponent is not textfield"); MailboxTreeNode node = (MailboxTreeNode)value; --- 59,63 ---- //set ! ////System.out.println("celleditorcomponent is not textfield"); MailboxTreeNode node = (MailboxTreeNode)value; *************** *** 97,101 **** } catch (ClassCastException e) { ! System.out.println("celleditorcomponent is not textfield"); } --- 97,101 ---- } catch (ClassCastException e) { ! //System.out.println("celleditorcomponent is not textfield"); } Index: AddressListConfig.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/AddressListConfig.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AddressListConfig.java 11 Mar 2005 13:19:05 -0000 1.2 --- AddressListConfig.java 20 Mar 2005 20:36:45 -0000 1.3 *************** *** 121,125 **** JPanel panel1 = new JPanel(new GridLayout2(4,1)); ! System.out.println("listtype = " + defaultList.getBuildType()); --- 121,125 ---- JPanel panel1 = new JPanel(new GridLayout2(4,1)); ! //System.out.println("listtype = " + defaultList.getBuildType()); Index: MailboxTable.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTable.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MailboxTable.java 14 Mar 2005 20:26:43 -0000 1.2 --- MailboxTable.java 20 Mar 2005 20:36:46 -0000 1.3 *************** *** 265,269 **** /*public void setSelectionRow(int row) { ! System.out.println("setselectionrow"); } --- 265,269 ---- /*public void setSelectionRow(int row) { ! //System.out.println("setselectionrow"); } *************** *** 271,275 **** public void setRowSelectionInterval(int row, int row2) { ! System.out.println("setselectionrow"); }*/ --- 271,275 ---- public void setRowSelectionInterval(int row, int row2) { ! //System.out.println("setselectionrow"); }*/ *************** *** 429,433 **** //if(e.getMailbox() != mailbox) return; ! //System.out.println("messageselectionchanged - table"); int n = e.getIndex(); --- 429,433 ---- //if(e.getMailbox() != mailbox) return; ! ////System.out.println("messageselectionchanged - table"); int n = e.getIndex(); *************** *** 454,458 **** Date date1 = new Date(); ! System.out.println("mailboxtable value changed treeselectevent."); TreePath path = e.getNewLeadSelectionPath(); --- 454,458 ---- Date date1 = new Date(); ! //System.out.println("mailboxtable value changed treeselectevent."); TreePath path = e.getNewLeadSelectionPath(); *************** *** 485,494 **** scrollValue = new Integer((svalue*100)/mvalue);*/ ! System.out.println( ! "scrollbar insert value" ! + scrollValue ! + " " ! + scrollbar.getMaximum()); ! if (mailbox != null) if (scrollmap != null) --- 485,489 ---- scrollValue = new Integer((svalue*100)/mvalue);*/ ! if (mailbox != null) if (scrollmap != null) *************** *** 580,584 **** } else { ! System.out.println( "scrollbar old value" + svalue --- 575,579 ---- } else { ! //System.out.println( "scrollbar old value" + svalue *************** *** 760,764 **** int row = getSelectedRow(); ! System.out.println("selected row " + row); int selectRow = row; --- 755,759 ---- int row = getSelectedRow(); ! //System.out.println("selected row " + row); int selectRow = row; *************** *** 1001,1005 **** for (int i = 0; i < headerTypes.length; i++) { ! //System.out.println("sort order" + i + "-" + order[i]); if (order.length > i) --- 996,1000 ---- for (int i = 0; i < headerTypes.length; i++) { ! ////System.out.println("sort order" + i + "-" + order[i]); if (order.length > i) *************** *** 1045,1049 **** && ac.getStandardMailbox(Mailbox.SENT).equals(mailbox)) { ! //System.out.println("is sent mailbox"); ((MailboxTableModel) model).setIsDraft(true); --- 1040,1044 ---- && ac.getStandardMailbox(Mailbox.SENT).equals(mailbox)) { ! ////System.out.println("is sent mailbox"); ((MailboxTableModel) model).setIsDraft(true); *************** *** 1477,1481 **** public void mouseClicked(MouseEvent e) { ! System.out.println("mouseclicked collapselistener"); if (isTreeStyle && e.getClickCount() == 1) { --- 1472,1476 ---- public void mouseClicked(MouseEvent e) { ! //System.out.println("mouseclicked collapselistener"); if (isTreeStyle && e.getClickCount() == 1) { *************** *** 1560,1564 **** if (mailboxPath.equals("")) { ! //System.out.println("init table " + mailboxPath); //shouldnt happen since account is not a messageholder (ot not --- 1555,1559 ---- if (mailboxPath.equals("")) { ! ////System.out.println("init table " + mailboxPath); //shouldnt happen since account is not a messageholder (ot not *************** *** 2061,2065 **** mouseIsDown = true; ! System.out.println("mousepressed modifier"); } --- 2056,2060 ---- mouseIsDown = true; ! //System.out.println("mousepressed modifier"); } *************** *** 2084,2088 **** if (mouseIsDown) { ! System.out.println("heyheyhjejkaldjkkkkkkkkkkkkkkkkk"); } else { --- 2079,2083 ---- if (mouseIsDown) { ! //System.out.println("heyheyhjejkaldjkkkkkkkkkkkkkkkkk"); } else { *************** *** 2235,2239 **** if(sorter != null) { ! System.out.println("sorter er forskellig fra null"); sorter.sortByColumn(0); --- 2230,2234 ---- if(sorter != null) { ! //System.out.println("sorter er forskellig fra null"); sorter.sortByColumn(0); *************** *** 2283,2287 **** return; ! System.out.println("Column moved " + fromindex + "to: " + toindex); Vector vector = new Vector(); --- 2278,2282 ---- return; ! //System.out.println("Column moved " + fromindex + "to: " + toindex); Vector vector = new Vector(); *************** *** 2289,2293 **** int[] order = headerListener.getColumnOrder(); ! System.out.println("order length = " + order.length); for (int i = 0; i < order.length; i++) { --- 2284,2288 ---- int[] order = headerListener.getColumnOrder(); ! //System.out.println("order length = " + order.length); for (int i = 0; i < order.length; i++) { *************** *** 2322,2326 **** for (int i = 0; i < order.length; i++) { ! System.out.println("column moved new order " + order[i]); //order[i] = ((Integer) vector.elementAt(i)).intValue(); --- 2317,2321 ---- for (int i = 0; i < order.length; i++) { ! //System.out.println("column moved new order " + order[i]); //order[i] = ((Integer) vector.elementAt(i)).intValue(); *************** *** 2339,2343 **** public void columnAdded(TableColumnModelEvent f) { ! System.out.println("Column added"); int toindex = f.getToIndex(); --- 2334,2338 ---- public void columnAdded(TableColumnModelEvent f) { ! //System.out.println("Column added"); int toindex = f.getToIndex(); *************** *** 2352,2356 **** .equalsIgnoreCase("att")) { ! //System.out.println("is attach column"); getColumnModel().getColumn(toindex).setMaxWidth(28); --- 2347,2351 ---- .equalsIgnoreCase("att")) { ! ////System.out.println("is attach column"); getColumnModel().getColumn(toindex).setMaxWidth(28); *************** *** 2363,2367 **** .equalsIgnoreCase("size")) { ! //System.out.println("is attach column"); getColumnModel().getColumn(toindex).setMaxWidth(58); --- 2358,2362 ---- .equalsIgnoreCase("size")) { ! ////System.out.println("is attach column"); getColumnModel().getColumn(toindex).setMaxWidth(58); *************** *** 2400,2404 **** super.columnRemoved(f); ! System.out.println("column removed"); int fromindex = f.getFromIndex(); --- 2395,2399 ---- super.columnRemoved(f); ! //System.out.println("column removed"); int fromindex = f.getFromIndex(); *************** *** 2452,2456 **** for (int i = 0; i < headerTypes.length; i++) { ! //System.out.println("sort order" + i + "-" + order[i]); if (order.length > i) --- 2447,2451 ---- for (int i = 0; i < headerTypes.length; i++) { ! ////System.out.println("sort order" + i + "-" + order[i]); if (order.length > i) *************** *** 2507,2511 **** } ! /*System.out.println( "scrollbar old value" + svalue --- 2502,2506 ---- } ! /*//System.out.println( "scrollbar old value" + svalue *************** *** 2529,2533 **** } ! //System.out.println( // "finished" + ((new Date()).getTime() - date1.getTime())); --- 2524,2528 ---- } ! ////System.out.println( // "finished" + ((new Date()).getTime() - date1.getTime())); *************** *** 2567,2571 **** public void actionPerformed(ActionEvent e) { ! //System.out.println("colormarker" + e.getActionCommand()); Message m = mailbox.getMessage(sorter.getIndexAt(selectedRow)); --- 2562,2566 ---- public void actionPerformed(ActionEvent e) { ! ////System.out.println("colormarker" + e.getActionCommand()); Message m = mailbox.getMessage(sorter.getIndexAt(selectedRow)); *************** *** 2574,2578 **** return; ! //System.out.println("m != null"); String command = e.getActionCommand(); --- 2569,2573 ---- return; ! ////System.out.println("m != null"); String command = e.getActionCommand(); Index: MailboxTree.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/gui/mail/MailboxTree.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MailboxTree.java 20 Mar 2005 15:04:23 -0000 1.2 --- MailboxTree.java 20 Mar 2005 20:36:45 -0000 1.3 *************** *** 281,285 **** if (e == null) { ! System.out.println("e is null"); return; } --- 281,285 ---- if (e == null) { ! //System.out.println("e is null"); return; } *************** *** 349,353 **** /*public boolean dropObject(Object object) { ! //System.out.println("testtest"); if (selectedTreePath == null) { --- 349,353 ---- /*public boolean dropObject(Object object) { ! ////System.out.println("testtest"); if (selectedTreePath == null) { *************** *** 361,369 **** } ! //System.out.println("testtest232" + object.getClass().getName()); if (dropMessageClass.isInstance(object)) { ! //System.out.println("testtest2"); Message cloned = (Message) ((Message) object).clone(); --- 361,369 ---- } ! ////System.out.println("testtest232" + object.getClass().getName()); if (dropMessageClass.isInstance(object)) { ! ////System.out.println("testtest2"); Message cloned = (Message) ((Message) object).clone(); *************** *** 377,381 **** .getMailbox(); ! //System.out.println("testtestaddtree" + mailbox.getName()); mailbox.addMessage(cloned); --- 377,381 ---- .getMailbox(); ! ////System.out.println("testtestaddtree" + mailbox.getName()); mailbox.addMessage(cloned); *************** *** 418,422 **** //private void writeObject(ObjectOutputStream out) throws IOException { ! System.out.println("writeexternal"); try { --- 418,422 ---- //private void writeObject(ObjectOutputStream out) throws IOException { ! //System.out.println("writeexternal"); try { *************** *** 429,433 **** } ! //System.out.println(root.getRoot() + root.getName()); //the path of the mailbox --- 429,433 ---- } ! ////System.out.println(root.getRoot() + root.getName()); //the path of the mailbox *************** *** 473,477 **** String mailboxPath = (String) in.readObject(); ! //System.out.println("readexternal" + accountName + mailboxPath); boolean isExpanded = in.readBoolean(); --- 473,477 ---- String mailboxPath = (String) in.readObject(); ! ////System.out.println("readexternal" + accountName + mailboxPath); boolean isExpanded = in.readBoolean(); *************** *** 538,542 **** String newname = (String) editor.getCellEditorValue(); ! System.out.println("editing canceled" + newname); } --- 538,542 ---- String newname = (String) editor.getCellEditorValue(); ! //System.out.println("editing canceled" + newname); } *************** *** 906,910 **** DataFlavor[] flavor = t.getTransferDataFlavors(); ! //System.out.println("flavor length = " + flavor.length); if (flavor[0].equals(MessageTransfer.MESSAGE_FLAVOR)) { --- 906,910 ---- DataFlavor[] flavor = t.getTransferDataFlavors(); ! ////System.out.println("flavor length = " + flavor.length); if (flavor[0].equals(MessageTransfer.MESSAGE_FLAVOR)) { *************** *** 1124,1128 **** .getMailbox(); ! //System.out.println("testtestaddtree" + mailbox.getName()); mailbox.addMessage(cloned); --- 1124,1128 ---- .getMailbox(); ! ////System.out.println("testtestaddtree" + mailbox.getName()); mailbox.addMessage(cloned); |