Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(33) |
Oct
(13) |
Nov
(3) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(2) |
Feb
(4) |
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(9) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
(2) |
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
(4) |
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
|
|
From: Nick Fortescue <nfortescue@us...> - 2002-02-14 18:04:48
|
Update of /cvsroot/pizzacompiler/pizza/tests/lib In directory usw-pr-cvs1:/tmp/cvs-serv5037/tests/lib Added Files: bcel.jar Log Message: --- NEW FILE: bcel.jar --- PK Mö6 \'4.×ß;5ÙìZº¢+ZËäÙü@YÈsBáUÉuÉ©d¶wj|ŪTWÞ 7U/·tNëæ BÐB³ödf0 JÑ© J´ªBÁQB¢ÆtL5¦;¡>2®¼´3± ÞÒJ¥û÷;! 5t@<¬º¶¶³¹¦1ZÇ çh{µ©D`)·Fj[#u(ôlËDku«iéÓ QRU7¢ LO«tÄj´ÄcѳLÓ N¨åíñFjÛÈç8Ó£µ¥:Fb(¼È#FÕÚQnÃTÆZ#-õÕµ(tC¶¿ê5¯ES/T¼¼(ø!{y¶æ= <¾ÜÆêÓA$ S5ENH/kÞi"ßÎöÎÅûÇè~cmùSébjèeÑl>ÕêwB#Eõ\2/Û5æ²½¸³'4ªXX\I¡¸T6®Í$PZæ ºL§2Ýý©(½«tBŦT~e®PwÀ¥ö÷$»RTî.V%פª³ÝûøÊ*äÙ4Ƽ{zÑÖhu#½Þ>D×ðßOÏ5Ò·7¯+ΦóóÏ¥¶5nZù¡¸*gO(¾áDg´©¹1ÒDßD¤>ÜÎêê:ýH¼ÁÚæN:ÐÅõàx]¤3A×¢è ÓÿT,ÞÌ4N×kk¤Ë(j¢§oóSTVéô ¤3)mzhz¨Jëÿ«Î#ël-ðÈy@EÏ£&ÚÜX@...D7ÕXÇ?¹JúSÚ¹ ©A¡éP´1^Í¿¸Ñ¨WCê0 ® WPZo*|SîìJN¹ÂñÙ WqʾÂ)wv5ßòW1xÄZ«à2¹/òk¶´vAu²-þ:¦c*µ6Õk¬mâ/ñÌRói¾aßÁµ² G¾i|¤>²ù·9ñ/é:ÎÙS~ó.¿Þä\þ]SËoÀ5ÕwF©_ÓÙ÷ÓãAéöûAéû&QÀ5~ pMAuñ,? ÌYn¡kj·ÆÿÙ¿ù[)mp§?&kÓZ]ÓI,¶Ö²=¸Ìlc<¾¨9(û 0jÒÖÞ!,À;0x' [...1196 lines suppressed...] ÓÛÀ äÆ º μ ¨èÛ ÐúÿI |
From: Nick Fortescue <nfortescue@us...> - 2002-02-14 18:04:48
|
Update of /cvsroot/pizzacompiler/pizza/main/src/net/sf/pizzacompiler/compiler In directory usw-pr-cvs1:/tmp/cvs-serv5037/main/src/net/sf/pizzacompiler/compiler Modified Files: Main.pizza Log Message: Index: Main.pizza =================================================================== RCS file: /cvsroot/pizzacompiler/pizza/main/src/net/sf/pizzacompiler/compiler/Main.pizza,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Main.pizza 6 Dec 2001 11:46:37 -0000 1.16 --- Main.pizza 14 Feb 2002 18:04:44 -0000 1.17 *************** *** 22,33 **** /** ! * The main Pizza Compiler class. ! * <p> ! * Copyright (C) 1996,97 Martin Odersky. All rights reserved. ! * Permission is hereby granted to modify and use this software for research ! * and teaching purposes. Modification for commercial purposes requires ! * prior written permission by the author. ! * The software, or modifications thereof, may be redistributed only ! * if this copyright notice stays attached. */ public class Main implements /*imports*/ Constants { --- 22,26 ---- /** ! * The main Pizza Compiler class.<p> */ public class Main implements /*imports*/ Constants { |
From: Nick Fortescue <nfortescue@us...> - 2002-02-14 18:04:48
|
Update of /cvsroot/pizzacompiler/pizza/tests/src/acceptance/net/sf/pizzacompiler In directory usw-pr-cvs1:/tmp/cvs-serv5037/tests/src/acceptance/net/sf/pizzacompiler Modified Files: AllAcceptanceTests.java CompilerTestMethods.java EmbeddedTest.java Added Files: DebugInformationTest.java NullOutputStream.java NullPrintStream.java Log Message: --- NEW FILE: DebugInformationTest.java --- package net.sf.pizzacompiler; /** * $Id: DebugInformationTest.java,v 1.1 2002/02/14 18:04:45 nfortescue Exp $ * * Copyright (C) 2001 Nicolas Fortescue. * This software is distributed under the Artistic License. See * artistic.html or artistic.txt which came with this distribution. * * Created: Thu Feb 14 14:14:28 2002 */ import java.io.ByteArrayInputStream; import java.io.IOException; import junit.framework.TestCase; import org.apache.bcel.classfile.ClassParser; import org.apache.bcel.classfile.JavaClass; import org.apache.bcel.classfile.LocalVariable; import org.apache.bcel.classfile.LocalVariableTable; import org.apache.bcel.classfile.Method; public class DebugInformationTest extends TestCase { private static final String CLASSNAME = "Foo"; private static final int RETURN = 1; private static final int ASSIGN = 2; public DebugInformationTest(String s) { super(s); } private static final String ONE_VAR_NAME = "oneVar"; private static final String ONE_VAR_BODY = "int c=0;"; public void testLocalVariableContext() { assertContext(ASSIGN, 0, "c",ONE_VAR_NAME,ONE_VAR_BODY); } private static final String BRACKET_NAME = "bracket"; private static final String BRACKET_BODY = "int c=0; if(true) {int d=0;} c=1;"; public void testBracketedVariableContext() { assertContext(2*ASSIGN, ASSIGN+RETURN, "d", BRACKET_NAME, BRACKET_BODY); } private void assertContext(int start, int distFromEnd, String varName, String methodName, String methodBody) { VariableContext context =getVariableContext(COMPILED, varName, methodName); assertEquals(start, context.start_pc); assertEquals(distFromEnd, context.codeLength-(context.start_pc+context.length)); } private static String makeOneMethod(String methodName, String methodBody) { StringBuffer result = new StringBuffer("public static void "); result.append(methodName); result.append("() {"); result.append(methodBody); result.append("}\n\n"); return result.toString(); } private VariableContext getVariableContext(byte [] code, String varName, String methodName) { return getVariableContext(getMethod(code, methodName), varName); } private Method getMethod(byte [] bytecode, String methodName) { try { ClassParser parser = new ClassParser(new ByteArrayInputStream(bytecode), CLASSNAME+".java"); JavaClass javaClass = parser.parse(); return getMethod(javaClass, methodName); } catch(IOException ex) { fail("failed in reading class" + ex); return null; } } private VariableContext getVariableContext(Method method, String varName) { LocalVariableTable lvt = method.getLocalVariableTable(); LocalVariable [] variables = lvt.getLocalVariableTable(); for(int i=0; i<variables.length; i++) { if(!varName.equals(variables[i].getName())) { continue; } VariableContext result = new VariableContext(); result.codeLength = method.getCode().getCode().length; result.start_pc = variables[i].getStartPC(); result.length = variables[i].getLength(); return result; } return null; } private Method getMethod(JavaClass javaClass, String methodName) { Method [] methods = javaClass.getMethods(); for(int i=0; i<methods.length; i++) { if(methodName.equals(methods[i].getName())) { return methods[i]; } } return null; } private static class VariableContext { int start_pc; int length; int codeLength; } private static final String TEST_CODE = "public class "+CLASSNAME+" {\n" + makeOneMethod(ONE_VAR_NAME, ONE_VAR_BODY) + makeOneMethod(BRACKET_NAME, BRACKET_BODY) + "}\n"; private static final byte [] COMPILED = CompilerTestMethods.compileSourceToBytes(CLASSNAME, TEST_CODE, true); }// DebugInformationTest --- NEW FILE: NullOutputStream.java --- package net.sf.pizzacompiler; /** * $Id: NullOutputStream.java,v 1.1 2002/02/14 18:04:45 nfortescue Exp $ * * Copyright (C) 2001 Nicolas Fortescue. * This software is distributed under the Artistic License. See * artistic.html or artistic.txt which came with this distribution. * * Created: Thu Feb 14 14:30:20 2002 */ import java.io.OutputStream; public class NullOutputStream extends OutputStream { public void write(int b) {} }// NullOutputStream --- NEW FILE: NullPrintStream.java --- package net.sf.pizzacompiler; /** * $Id: NullPrintStream.java,v 1.1 2002/02/14 18:04:45 nfortescue Exp $ * * Copyright (C) 2001 Nicolas Fortescue. * This software is distributed under the Artistic License. See * artistic.html or artistic.txt which came with this distribution. * * Created: Thu Feb 14 14:29:30 2002 */ import java.io.PrintStream; public class NullPrintStream extends PrintStream { public NullPrintStream() {super(new NullOutputStream());} }// NullPrintStream Index: AllAcceptanceTests.java =================================================================== RCS file: /cvsroot/pizzacompiler/pizza/tests/src/acceptance/net/sf/pizzacompiler/AllAcceptanceTests.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** AllAcceptanceTests.java 31 Oct 2001 15:45:16 -0000 1.7 --- AllAcceptanceTests.java 14 Feb 2002 18:04:44 -0000 1.8 *************** *** 18,21 **** --- 18,22 ---- suite.addTest(new TestSuite(ClassAndSourceOutputTests.class)); suite.addTest(new TestSuite(ClasspathOptionsTest.class)); + suite.addTest(new TestSuite(DebugInformationTest.class)); suite.addTest(new TestSuite(EmbeddedTest.class)); suite.addTest(new TestSuite(MakesItself.class)); Index: CompilerTestMethods.java =================================================================== RCS file: /cvsroot/pizzacompiler/pizza/tests/src/acceptance/net/sf/pizzacompiler/CompilerTestMethods.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CompilerTestMethods.java 31 Oct 2001 15:45:16 -0000 1.6 --- CompilerTestMethods.java 14 Feb 2002 18:04:45 -0000 1.7 *************** *** 21,26 **** --- 21,29 ---- import java.security.Permission; + import net.sf.pizzacompiler.compiler.ByteArrayCompilerOutput; + import net.sf.pizzacompiler.compiler.ClassReader; import net.sf.pizzacompiler.compiler.FileCompilerOutput; import net.sf.pizzacompiler.compiler.Main; + import net.sf.pizzacompiler.compiler.MapSourceReader; import net.sf.pizzacompiler.compiler.SourceReader; *************** *** 80,83 **** --- 83,103 ---- Assert.assertEquals("resource was not a file", "file", resource.getProtocol()); return new File(resource.getFile()); + } + + public static byte [] compileSourceToBytes(String className, String source, + boolean debug) { + ByteArrayCompilerOutput output = new ByteArrayCompilerOutput(); + Map sourceMap = Collections.singletonMap(className+".java", source); + Main.init(); + if(debug) { + Main.argument("-g"); + } + Main.setClassReader(new ClassReader(null, null)); + Main.compile(new String[]{className+".java"}, + new MapSourceReader(sourceMap), + output, new NullPrintStream()); + Collection bytecode = output.getBytecode(); + Assert.assertEquals(1, bytecode.size()); + return (byte[])bytecode.iterator().next(); } Index: EmbeddedTest.java =================================================================== RCS file: /cvsroot/pizzacompiler/pizza/tests/src/acceptance/net/sf/pizzacompiler/EmbeddedTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** EmbeddedTest.java 19 Sep 2001 15:17:23 -0000 1.3 --- EmbeddedTest.java 14 Feb 2002 18:04:45 -0000 1.4 *************** *** 17,22 **** import java.io.IOException; import java.io.InputStream; - import java.io.OutputStream; - import java.io.PrintStream; import java.util.*; --- 17,20 ---- *************** *** 97,105 **** } - private static class NullPrintStream extends PrintStream { - public NullPrintStream() {super(new NullOutputStream());} - } - private static class NullOutputStream extends OutputStream { - public void write(int b) {} - } }// EmbeddedTest --- 95,97 ---- |
From: Nick Fortescue <nfortescue@us...> - 2002-02-14 18:04:47
|
Update of /cvsroot/pizzacompiler/pizza In directory usw-pr-cvs1:/tmp/cvs-serv5037 Modified Files: build.xml Log Message: Index: build.xml =================================================================== RCS file: /cvsroot/pizzacompiler/pizza/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 31 Oct 2001 15:45:16 -0000 1.4 --- build.xml 14 Feb 2002 18:04:42 -0000 1.5 *************** *** 32,36 **** <path id="tests.compile.classpath"> <pathelement location="${pizza_jar}"/> ! <pathelement location="${tests.lib}/junit.jar"/> </path> <path id="tests.run.classpath"> --- 32,38 ---- <path id="tests.compile.classpath"> <pathelement location="${pizza_jar}"/> ! <fileset dir="${tests.lib}"> ! <include name="**/*.jar"/> ! </fileset> </path> <path id="tests.run.classpath"> *************** *** 69,72 **** --- 71,75 ---- <pizzac srcdir="${tests.src}" destdir="${tests.build}" + debug="true" > <classpath refid="tests.compile.classpath"/> |