sdeboy | 3 Sep 06:16 2010
Picon

svn commit: r992196 - in /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw: LogPanel.java LogUI.java ReceiverConfigurationPanel.java

Author: sdeboy
Date: Fri Sep  3 04:16:30 2010
New Revision: 992196

URL: http://svn.apache.org/viewvc?rev=992196&view=rev
Log:
Minor UI fixes
 - Clear the status bar msg that tells you the buffer is full once the buffer is cleared
 - Removed unnecessary status bar msg
 - Changed Receiver config panel regular text log file configuration section to use textfields instead of
comboboxes for log file format or URL (no need to remember recently-added entries)

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java?rev=992196&r1=992195&r2=992196&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java Fri Sep  3
04:16:30 2010
 <at>  <at>  -700,6 +700,11  <at>  <at>  public class LogPanel extends DockablePa
                 + getIdentifier()
                 + "' buffer has been used.  Older events are being discarded.";
               warning100 = true;
+            } else {
+                //clear msg
+                msg = "";
(Continue reading)

sdeboy | 4 Sep 06:38 2010
Picon

svn commit: r992534 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Author: sdeboy
Date: Sat Sep  4 04:38:38 2010
New Revision: 992534

URL: http://svn.apache.org/viewvc?rev=992534&view=rev
Log:
Remove unnecessary textfield.setOpaque calls in receiver config panel

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java?rev=992534&r1=992533&r2=992534&view=diff
==============================================================================
---
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java (original)
+++
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Sat Sep  4 04:38:38 2010
 <at>  <at>  -384,7 +384,6  <at>  <at>  class ReceiverConfigurationPanel extends
         panel.add(new JLabel(" Log file URL "), c);
         logFileURLTextField = new JTextField();
         logFileURLTextField.setEditable(true);
-        logFileURLTextField.setOpaque(false);

         c = new GridBagConstraints();
         c.gridx = 1;
 <at>  <at>  -426,7 +425,6  <at>  <at>  class ReceiverConfigurationPanel extends

         logFileFormatTextField = new JTextField();
(Continue reading)

sdeboy | 4 Sep 07:04 2010
Picon

svn commit: r992536 - in /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw: LogUI.java ReceiverConfigurationPanel.java

Author: sdeboy
Date: Sat Sep  4 05:04:06 2010
New Revision: 992536

URL: http://svn.apache.org/viewvc?rev=992536&view=rev
Log:
Minor changes to receiver config panel network receiver section

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java?rev=992536&r1=992535&r2=992536&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java Sat Sep  4
05:04:06 2010
 <at>  <at>  -1470,9 +1470,9  <at>  <at>  public class LogUI extends JFrame implem

           if (receiverConfigurationPanel.getModel().isNetworkReceiverMode()) {
             int port = receiverConfigurationPanel.getModel().getNetworkReceiverPort();
-            Class receiverClass = receiverConfigurationPanel.getModel().getNetworkReceiverClass();

             try {
+              Class receiverClass = receiverConfigurationPanel.getModel().getNetworkReceiverClass();
               Receiver networkReceiver = (Receiver) receiverClass.newInstance();
               networkReceiver.setName(receiverClass.getSimpleName() + "-" + port);

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
(Continue reading)

sdeboy | 9 Sep 06:21 2010
Picon

svn commit: r995308 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Author: sdeboy
Date: Thu Sep  9 04:21:12 2010
New Revision: 995308

URL: http://svn.apache.org/viewvc?rev=995308&view=rev
Log:
Added example log file formats to ReceiverConfigurationPanel (PatternLayout and
LogFilePatternReceiver examples)

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java?rev=995308&r1=995307&r2=995308&view=diff
==============================================================================
---
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java (original)
+++
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Thu Sep  9 04:21:12 2010
 <at>  <at>  -27,9 +27,7  <at>  <at>  import java.awt.event.FocusListener;
 import java.io.File;
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
-import java.util.Date;
+
 import javax.swing.AbstractAction;
 import javax.swing.BorderFactory;
(Continue reading)

sdeboy | 9 Sep 08:31 2010
Picon

svn commit: r995324 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Author: sdeboy
Date: Thu Sep  9 06:31:04 2010
New Revision: 995324

URL: http://svn.apache.org/viewvc?rev=995324&view=rev
Log:
Minor changes to ReceiverConfigurationPanel layout

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java?rev=995324&r1=995323&r2=995324&view=diff
==============================================================================
---
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java (original)
+++
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Thu Sep  9 06:31:04 2010
 <at>  <at>  -40,6 +40,7  <at>  <at>  import javax.swing.JFrame;
 import javax.swing.JLabel;
 import javax.swing.JPanel;
 import javax.swing.JRadioButton;
+import javax.swing.JSeparator;
 import javax.swing.JTextField;
 import javax.swing.JTextPane;
 import javax.swing.SwingUtilities;
 <at>  <at>  -100,7 +101,6  <at>  <at>  class ReceiverConfigurationPanel extends
     private ButtonGroup buttonGroup;

(Continue reading)

sdeboy | 9 Sep 09:05 2010
Picon

svn commit: r995336 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Author: sdeboy
Date: Thu Sep  9 07:05:00 2010
New Revision: 995336

URL: http://svn.apache.org/viewvc?rev=995336&view=rev
Log:
More minor changes to receiver config panel layout

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java?rev=995336&r1=995335&r2=995336&view=diff
==============================================================================
---
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java (original)
+++
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Thu Sep  9 07:05:00 2010
 <at>  <at>  -130,11 +130,12  <at>  <at>  class ReceiverConfigurationPanel extends
         c.insets = new Insets(0, 10, 0, 0);
         add(logFileReceiverPanel, c);

+        //HTML label is adding extra space..
         c = new GridBagConstraints();
         c.gridx = 0;
         c.gridy = yPos++;
         c.fill = GridBagConstraints.HORIZONTAL;
-        c.insets = new Insets(2, 10, 2, 0);
+        c.insets = new Insets(3, 30, 5, 30);
(Continue reading)

sdeboy | 10 Sep 07:44 2010
Picon

svn commit: r995673 - in /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw: LogUI.java ReceiverConfigurationPanel.java

Author: sdeboy
Date: Fri Sep 10 05:44:46 2010
New Revision: 995673

URL: http://svn.apache.org/viewvc?rev=995673&view=rev
Log:
Reworked receiver config panel layout

Now showing radio buttons at the top and showing details in a lower panel based on the selected radio button. 
Replaced I'm fine, thanks radio button with a cancel button

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java?rev=995673&r1=995672&r2=995673&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java Fri Sep 10
05:44:46 2010
 <at>  <at>  -1448,7 +1448,7  <at>  <at>  public class LogUI extends JFrame implem

           dialog.setResizable(false);

-          receiverConfigurationPanel.setOkActionListener(
+          receiverConfigurationPanel.setCompletionActionListener(
             new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                 dialog.setVisible(false);
(Continue reading)

sdeboy | 11 Sep 10:42 2010
Picon

svn commit: r996096 - in /logging/chainsaw/trunk: ./ src/main/java/org/apache/log4j/chainsaw/vfs/ src/main/resources/org/apache/log4j/chainsaw/ src/main/resources/org/apache/log4j/chainsaw/help/

Author: sdeboy
Date: Sat Sep 11 08:42:09 2010
New Revision: 996096

URL: http://svn.apache.org/viewvc?rev=996096&view=rev
Log:
Removed use of now-in-the-attic Jakarta ORO.  Now using java.util.regex package in
LogFilePatternReceiver (java 1.4).  Also removed ORO from receivers pom.

Modified:
    logging/chainsaw/trunk/build.xml
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java
    logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/ChainsawAbout.html
    logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html
    logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/package.html

Modified: logging/chainsaw/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/build.xml?rev=996096&r1=996095&r2=996096&view=diff
==============================================================================
--- logging/chainsaw/trunk/build.xml (original)
+++ logging/chainsaw/trunk/build.xml Sat Sep 11 08:42:09 2010
 <at>  <at>  -67,7 +67,6  <at>  <at> 
 	<fileset dir="${deps.dir}">
   	  <include name="*.jar"/>
   	</fileset>
-  	<pathelement location="${jakarta-oro.jar}"/>
   	<pathelement location="${log4j-chainsaw.jar}"/>
   </path>

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java
(Continue reading)

sdeboy | 12 Sep 06:29 2010
Picon

svn commit: r996251 - in /logging/chainsaw/trunk/src/main: java/org/apache/log4j/chainsaw/LogPanel.java java/org/apache/log4j/chainsaw/TableColorizingRenderer.java resources/org/apache/log4j/chainsaw/help/release-notes.html

Author: sdeboy
Date: Sun Sep 12 04:29:45 2010
New Revision: 996251

URL: http://svn.apache.org/viewvc?rev=996251&view=rev
Log:
Added 'Show times relative to previous rows' feature - displays millis to last displayed event in the
timestamp field

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/TableColorizingRenderer.java
    logging/chainsaw/trunk/src/main/resources/org/apache/log4j/chainsaw/help/release-notes.html

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java?rev=996251&r1=996250&r2=996251&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java Sun Sep 12
04:29:45 2010
 <at>  <at>  -890,7 +890,7  <at>  <at>  public class LogPanel extends DockablePa
         }
       });

-    renderer = new TableColorizingRenderer(colorizer, applicationPreferenceModel);
+    renderer = new TableColorizingRenderer(colorizer, applicationPreferenceModel, tableModel);
     renderer.setToolTipsVisible(preferenceModel.isToolTips());

     table.setDefaultRenderer(Object.class, renderer);
 <at>  <at>  -1668,8 +1668,22  <at>  <at>  public class LogPanel extends DockablePa
(Continue reading)

sdeboy | 12 Sep 07:29 2010
Picon

svn commit: r996254 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Author: sdeboy
Date: Sun Sep 12 05:29:05 2010
New Revision: 996254

URL: http://svn.apache.org/viewvc?rev=996254&view=rev
Log:
Minor update to receiver configuration panel - changed logformat to a combobox and pre-loaded combobox
with a few examples

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java?rev=996254&r1=996253&r2=996254&view=diff
==============================================================================
---
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java (original)
+++
logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Sun Sep 12 05:29:05 2010
 <at>  <at>  -77,9 +77,10  <at>  <at>  class ReceiverConfigurationPanel extends
     private JButton browseLogFileButton;
     private JComboBox logFileFormatTypeComboBox;

-    private JTextField logFileFormatTextField;
+    private JComboBox logFileFormatComboBox;
     private JComboBox logFileFormatTimestampFormatComboBox;
     private JTextField logFileURLTextField;
+    private DefaultComboBoxModel logFileFormatComboBoxModel;
     private DefaultComboBoxModel logFileFormatTimestampFormatComboBoxModel;
(Continue reading)


Gmane