public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch: FYI: nightly comparisons of GUI branch
@ 2004-07-28 10:34 Tom Tromey
       [not found] ` <1091040079.28981.5.camel@localhost>
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2004-07-28 10:34 UTC (permalink / raw)
  To: Java Patch List; +Cc: Gcc Patch List, Mark Wielaard

I'm checking this in.  This sets up the java web pages to have
comparisons of the gui branch -vs- classpath, just as we do for the
trunk.  These will also be computed nightly.

I'm omitting the new files since there are a lot of them and they are
auto-generated.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* status.html: Link to GUI branch comparison.
	* gui-compare/libgcj-classpath-compare.html: New file.

Index: status.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/status.html,v
retrieving revision 1.29
diff -u -r1.29 status.html
--- status.html 22 Apr 2004 16:06:53 -0000 1.29
+++ status.html 27 Jul 2004 23:56:19 -0000
@@ -113,7 +113,10 @@
 <p>You can also see <a
 href="http://gcc.gnu.org/java/libgcj-classpath-compare.html">a
 comparison of our classes with Classpath's</a>.  Differences here are
-merged from time to time.</p>
+merged from time to time.  You can also see
+<a href="http://gcc.gnu.org/java/gui-compare/libgcj-classpath-compare.html">
+a comparison of the GUI branch with Classpath</a>.
+</p>
 
 <table id="targets" border="0" cellpadding="4" width="95%">
 <tr bgcolor="#b0d0ff">

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Patch: FYI: nightly comparisons of GUI branch
       [not found]     ` <87y8l17a7b.fsf@fleche.redhat.com>
@ 2004-07-31  1:44       ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2004-07-31  1:44 UTC (permalink / raw)
  To: tromey; +Cc: Java Patch List, gcc-patches


[-- Attachment #1.1: Type: text/plain, Size: 423 bytes --]

On Fri, 2004-07-30 at 18:04, Tom Tromey wrote:
> >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
> 
> Mark> Could you try it out and see if you like it?
> 
> This looks good to me.  I have a couple minor changes, but just make
> them and check it in...

OK. All done and checked in as:

2004-07-30  Mark Wielaard  <mark@klomp.org>

        * bin/gen-classpath-compare: Add -gui flag.

Cheers,

Mark

[-- Attachment #1.2: gen-classpath-compare.patch --]
[-- Type: text/x-patch, Size: 3194 bytes --]

Index: bin/gen-classpath-compare
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/gen-classpath-compare,v
retrieving revision 1.12
diff -u -r1.12 gen-classpath-compare
--- bin/gen-classpath-compare	16 May 2004 22:10:07 -0000	1.12
+++ bin/gen-classpath-compare	30 Jul 2004 16:35:21 -0000
@@ -9,6 +9,15 @@
    cvsrm=:
 fi
 
+if test "$1" = "-gui"; then
+   gui=yes
+   GUI="GUI Classes only"
+   shift
+else
+   gui=no
+   GUI="No GUI Classes"
+fi
+
 LIBGCJ=$1
 CLASSPATH=$2
 shift
@@ -23,7 +32,7 @@
 EXPECTEDDIR="$OUTPUT/expected"
 
 if test -z "$LIBGCJ" || test -z "$CLASSPATH" || test -z "$OUTPUT"; then
-   echo "usage: gen-classpath-compare [-cvs] libgcj-path classpath-path [output-path]" 1>&2
+   echo "usage: gen-classpath-compare [-cvs] [-gui] libgcj-path classpath-path [output-path]" 1>&2
    exit 1
 fi
 
@@ -35,15 +44,11 @@
 
 rm -f $OUTPUT/compare/*.diff
 
-cat > $outfile << 'END'
-<html>
-<head>
-<title>libgcj -vs- Classpath</title>
-<link rel="stylesheet" type="text/css" href="http://gcc.gnu.org/gcc.css"></link>
-</head>
-<body>
-<h1>libgcj -vs- Classpath</h1>
+echo "<html> <head> <title>libgcj -vs- Classpath ($GUI)</title>" > $outfile
+echo '<link rel="stylesheet" type="text/css" href="http://gcc.gnu.org/gcc.css"></link>' >> $outfile
+echo "</head> <body> <h1>libgcj -vs- Classpath ($GUI)</h1>" >> $outfile
 
+cat >> $outfile << 'END'
 <p>This page compares the "current" cvs libgcj against the "current"
 cvs Classpath.  It was generated using the <code>gen-classpath-compare</code>
 script (available in gcc cvs repository in <code>wwwdocs/bin/</code>) on
@@ -51,6 +56,12 @@
 
 date "+%Y-%m-%d." >> $outfile
 
+if test "$gui" = "yes"; then
+  echo "<p>Only lists gui files (AWT, Swing, and gtk-peer)</p>" >> $outfile
+else
+  echo "<p>Only lists non-gui files (NO AWT, Swing, or gtk-peer)</p>" >> $outfile
+fi
+
 cat >> $outfile << 'END'
 This table intentionally omits certain classes which are not of
 interest.  If the third column shows a "Diff" link, then that means
@@ -83,13 +94,24 @@
 "
 
 # Note: for now, we omit much of gnu.*, as it differs too much.
+WantedFiles="java|javax|gnu/java|gnu/javax|gnu/regexp|javax"
+DoNotCompare="gnu/java/io/decode|gnu/java/io/encode|gnu/javax/swing/plaf/gtk"
+GuiFiles="java/awt|javax/swing|gnu/java/awt|gnu/javax/swing|jni/gtk-peer"
+if test "$gui" = "no"; then
+  WantedRegexp="^($WantedFiles)/"
+  ExcludedRegExp="^($DoNotCompare|$GuiFiles)/"
+else
+  WantedRegexp="^($GuiFiles)/"
+  ExcludedRegExp="^($DoNotCompare)/"
+fi
+
 (cd $LIBGCJ; find . -name '*.java' -print;
 cd $CLASSPATH; find . -name '*.java' -print;
 cd $CLASSPATH/external/jaxp/source; find . -name '*.java' -print
 cd $CLASSPATH/native; find jni/gtk-peer -name '*.c' -print) |
 sort -u | sed -e 's,^\./,,' |
-grep -E '^(java|javax|gnu/java|gnu/javax|gnu/regexp|javax|jni/gtk-peer)/' |
-grep -E -v '^(gnu/java/io/decode|gnu/java/io/encode|gnu/javax/swing/plaf/gtk)' |
+grep -E "$WantedRegexp" |
+grep -E -v "$ExcludedRegExp" |
 (cd $LIBGCJ
 while read f; do
    class=`echo $f | sed -e 's,/,.,g' -e 's,\.java$,,'`

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-30 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28 10:34 Patch: FYI: nightly comparisons of GUI branch Tom Tromey
     [not found] ` <1091040079.28981.5.camel@localhost>
     [not found]   ` <1091192863.28981.362.camel@localhost>
     [not found]     ` <87y8l17a7b.fsf@fleche.redhat.com>
2004-07-31  1:44       ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).