nice-commit Mailing List for The Nice Programming Language (Page 88)
Brought to you by:
bonniot
You can subscribe to this list here.
2003 |
Jan
|
Feb
(60) |
Mar
(125) |
Apr
(183) |
May
(140) |
Jun
(227) |
Jul
(141) |
Aug
(181) |
Sep
(75) |
Oct
(89) |
Nov
(187) |
Dec
(162) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(69) |
Feb
(197) |
Mar
(98) |
Apr
(26) |
May
(10) |
Jun
(85) |
Jul
(88) |
Aug
(79) |
Sep
(80) |
Oct
(81) |
Nov
(53) |
Dec
(109) |
2005 |
Jan
(68) |
Feb
(77) |
Mar
(232) |
Apr
(79) |
May
(37) |
Jun
(37) |
Jul
(3) |
Aug
(18) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(10) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(9) |
2007 |
Jan
(2) |
Feb
(8) |
Mar
(2) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
(17) |
Dec
(6) |
2008 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <bo...@us...> - 2003-08-24 12:59:30
|
Update of /cvsroot/nice/Nice/web In directory sc8-pr-cvs1:/tmp/cvs-serv28545/web Modified Files: safety.xml Log Message: Typos. Index: safety.xml =================================================================== RCS file: /cvsroot/nice/Nice/web/safety.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** safety.xml 5 Jun 2003 09:11:51 -0000 1.4 --- safety.xml 24 Aug 2003 12:59:20 -0000 1.5 *************** *** 50,54 **** from programs as possible</emphasis>. The programmer can then concentrate on higher level issues. The degree in which a language ! guarantees that a correct program while not fail at runtime is sometimes called <emphasis>static safety</emphasis>. All in all, this approach can lead to easier to create --- 50,54 ---- from programs as possible</emphasis>. The programmer can then concentrate on higher level issues. The degree in which a language ! guarantees that a correct program will not fail at runtime is sometimes called <emphasis>static safety</emphasis>. All in all, this approach can lead to easier to create *************** *** 145,149 **** <javaexn name="ClassCastException"/>s are usually not caught before the very top level of the program, making at least a whole feature to fail. ! It would be great to ensure that no vast can fail. Even better, not to have casts at all. </para> --- 145,149 ---- <javaexn name="ClassCastException"/>s are usually not caught before the very top level of the program, making at least a whole feature to fail. ! It would be great to ensure that no cast can fail. Even better, not to have casts at all. </para> *************** *** 456,460 **** <javaexn name="ArrayStoreException"/> never occur. Moreover, it is still possible to use arrays covariantly while only reading from them. This ! require &nice;'s powerful type system: constrained type parameters: <literal><java.awt.Component T> void read(T[]);</literal> can be applied to arrays whose component types are subtypes of --- 456,460 ---- <javaexn name="ArrayStoreException"/> never occur. Moreover, it is still possible to use arrays covariantly while only reading from them. This ! requires &nice;'s powerful type system: constrained type parameters: <literal><java.awt.Component T> void read(T[]);</literal> can be applied to arrays whose component types are subtypes of |
From: <ar...@us...> - 2003-08-23 04:17:11
|
Update of /cvsroot/nice/Nice/testsuite/compiler In directory sc8-pr-cvs1:/tmp/cvs-serv5125/F:/nice/testsuite/compiler Modified Files: globalVariables.testsuite Log Message: Require a default value for global variables. Index: globalVariables.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/globalVariables.testsuite,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** globalVariables.testsuite 8 Aug 2003 10:17:32 -0000 1.12 --- globalVariables.testsuite 22 Aug 2003 13:36:40 -0000 1.13 *************** *** 143,144 **** --- 143,148 ---- class QualifiedName { String a; String b; } + + /// FAIL + /// Toplevel + var String s; |
From: <ar...@us...> - 2003-08-23 03:00:03
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv5125/F:/nice/src/bossa/syntax Modified Files: GlobalVarDeclaration.java typecheck.nice Log Message: Require a default value for global variables. Index: GlobalVarDeclaration.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/GlobalVarDeclaration.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** GlobalVarDeclaration.java 31 Jul 2003 21:59:39 -0000 1.20 --- GlobalVarDeclaration.java 22 Aug 2003 13:36:41 -0000 1.21 *************** *** 33,38 **** { super(name, Node.global); - if (constant && value == null) - User.error(name,"A global constant needs a default value"); this.left = new GlobalVarSymbol(name,type,constant); --- 33,36 ---- *************** *** 124,130 **** { if (constant) ! s.print( "let " + left + " = " +value.toString() + ";\n"); else ! s.print( "var " + left + ";\n"); } --- 122,130 ---- { if (constant) ! s.print( "let "); else ! s.print( "var "); ! ! s.print(left + " = " +value.toString() + ";\n"); } Index: typecheck.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/typecheck.nice,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** typecheck.nice 13 Jun 2003 21:54:30 -0000 1.73 --- typecheck.nice 22 Aug 2003 13:36:41 -0000 1.74 *************** *** 307,311 **** */ ! var int ifLevel; var Stack<int> levels = new Stack(); var Stack<(MonoSymbol, mlsub.typing.Monotype)> conditionalTypes = new Stack(); --- 307,311 ---- */ ! var int ifLevel = 0; var Stack<int> levels = new Stack(); var Stack<(MonoSymbol, mlsub.typing.Monotype)> conditionalTypes = new Stack(); |
From: <ar...@us...> - 2003-08-22 17:21:01
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1:/tmp/cvs-serv5125/F:/nice/src/bossa/parser Modified Files: Parser.jj Log Message: Require a default value for global variables. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.203 retrieving revision 1.204 diff -C2 -d -r1.203 -r1.204 *** Parser.jj 8 Aug 2003 21:47:58 -0000 1.203 --- Parser.jj 22 Aug 2003 13:36:40 -0000 1.204 *************** *** 1379,1389 **** ( "var" {constant = false;} | "let" ) t=monotype() name=ident() ! [ "=" ! ( LOOKAHEAD(funExpLookahead()) ! value=funExp() ! | ! value=SideEffectFreeExpression() ! ) ! ] ";" { return new GlobalVarDeclaration(name,t,value,constant); } --- 1379,1388 ---- ( "var" {constant = false;} | "let" ) t=monotype() name=ident() ! "=" ! ( LOOKAHEAD(funExpLookahead()) ! value=funExp() ! | ! value=SideEffectFreeExpression() ! ) ";" { return new GlobalVarDeclaration(name,t,value,constant); } |
From: <ar...@us...> - 2003-08-14 10:08:36
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv1352/F:/nice/src/bossa/syntax Modified Files: Pattern.java Log Message: fix for bug #785175 in case of multiple packages. Index: Pattern.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/Pattern.java,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** Pattern.java 8 Aug 2003 11:12:53 -0000 1.68 --- Pattern.java 14 Aug 2003 09:34:47 -0000 1.69 *************** *** 711,715 **** GlobalVarDeclaration.GlobalVarSymbol symbol = (GlobalVarDeclaration.GlobalVarSymbol)sym; val = (NewExp)symbol.getValue(); - symbol.getDefinition().resolve(); } else --- 711,714 ---- *************** *** 717,721 **** EnumDefinition.EnumSymbol symbol = (EnumDefinition.EnumSymbol) sym; val = (NewExp)symbol.getValue(); - symbol.getDefinition().resolve(); } --- 716,719 ---- |
From: <ar...@us...> - 2003-08-14 09:55:13
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv1352/F:/nice/testsuite/compiler/methods Modified Files: globalconstant.testsuite Log Message: fix for bug #785175 in case of multiple packages. Index: globalconstant.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/globalconstant.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** globalconstant.testsuite 8 Aug 2003 10:18:45 -0000 1.7 --- globalconstant.testsuite 14 Aug 2003 09:34:47 -0000 1.8 *************** *** 136,141 **** /// FAIL /// Toplevel ! boolean foo(String d); ! foo(d) = false; ! foo(END_OF_TIME) = true; ! let Date END_OF_TIME = new Date(Long.MAX_VALUE); --- 136,151 ---- /// FAIL /// Toplevel ! boolean foo(String d); ! foo(d) = false; ! foo(END_OF_TIME) = true; ! let Date END_OF_TIME = new Date(Long.MAX_VALUE); ! ! /// PASS ! /// package a ! /// toplevel ! let Date END_OF_TIME = new Date(Long.MAX_VALUE); ! void foo(Date d); ! foo(d) {} ! foo(END_OF_TIME) {} ! /// package b import a ! foo(new Date()); |
From: <xo...@us...> - 2003-08-11 19:33:41
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv8466/src/bossa/syntax Modified Files: Arguments.java Constructor.java FormalParameters.java Log Message: Fixed error reporting when the constructor accepts a mix of named and unnamed parameters. Also added a new error message for when too many arguments are provided to a constructor. Index: Arguments.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/Arguments.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Arguments.java 27 May 2003 12:40:09 -0000 1.18 --- Arguments.java 11 Aug 2003 19:31:31 -0000 1.19 *************** *** 260,284 **** } ! List missingNamedArgs(FormalParameters parameters, boolean includeDefaultedArgs) { List missing = new LinkedList(); ! Iterator namedParams = parameters.getNamedParameters().iterator(); ! while(namedParams.hasNext()) { - FormalParameters.NamedParameter param = (FormalParameters.NamedParameter)namedParams.next(); - if (param.value() != null && !includeDefaultedArgs) - continue; boolean found = false; ! for (int i = 0; i < arguments.length; i++) ! if (arguments[i].name != null) ! { ! String s = arguments[i].name.toString(); ! if (param.match(s)) { found = true; break; ! } } ! if (!found) missing.add(param); } --- 260,300 ---- } ! List missingArgs(FormalParameters parameters) { List missing = new LinkedList(); ! Iterator reqParams = parameters.getRequiredParameters().iterator(); ! int lastUsedPositional = -1; ! while(reqParams.hasNext()) { boolean found = false; ! FormalParameters.Parameter param = (FormalParameters.Parameter)reqParams.next(); ! if (param.value() != null) ! continue; ! if (param instanceof FormalParameters.NamedParameter) ! { ! FormalParameters.NamedParameter namedParam = (FormalParameters.NamedParameter)param; ! for (int i = 0; i < arguments.length; i++) ! if (arguments[i].name != null) ! { ! String s = arguments[i].name.toString(); ! if (param.match(s)) ! { ! found = true; ! break; ! } ! } ! } ! else { ! for(int i = lastUsedPositional + 1; i < arguments.length; i++) ! { ! if (arguments[i].name == null) { found = true; + lastUsedPositional = i; break; ! } } ! } ! if (!found) missing.add(param); } Index: Constructor.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/Constructor.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Constructor.java 18 Jul 2003 22:56:49 -0000 1.6 --- Constructor.java 11 Aug 2003 19:31:31 -0000 1.7 *************** *** 186,208 **** } ! //Required fields missing - two different messages depending on whether //an explanation of the syntax is necessary res = new StringBuffer(); ! res.append("Fields of class ").append(name).append(" require initial values.\n"); ! Iterator missingFields = null; ! ! if (arguments.size() == 0) { ! res.append(syntaxExample()) ! .append("Class ").append(name).append(" has the following fields:\n"); ! missingFields = parameters.iterator(); } ! else { ! res.append("These fields are missing:\n"); ! missingFields = arguments.missingNamedArgs(parameters, false).iterator(); ! } ! while(missingFields.hasNext()) { --- 186,219 ---- } ! //Required fields missing, or else too many arguments ! // - three different messages depending on whether //an explanation of the syntax is necessary res = new StringBuffer(); ! List missing = arguments.missingArgs(parameters); Iterator missingFields = null; ! ! if (arguments.size() == 0 || missing.size() > 0) { ! res.append("Fields of class ").append(name).append(" require initial values.\n"); ! if (arguments.size() == 0) ! { ! res.append(syntaxExample()) ! .append("Class ").append(name).append(" has the following fields:\n"); ! missingFields = parameters.iterator(); ! } ! else ! { ! res.append("These fields are missing:\n"); ! missingFields = missing.iterator(); ! } } ! else { ! res.append("Too many arguments when constructing new instance of class ") ! .append(name) ! .append(".\n") ! .append("The constructor accepts the following arguments:\n" ); ! missingFields = parameters.iterator(); ! } while(missingFields.hasNext()) { *************** *** 211,216 **** .append("\n"); } - return res.toString(); } --- 222,227 ---- .append("\n"); } return res.toString(); + } *************** *** 222,232 **** .append(" new ").append(name).append("("); ! Iterator params = parameters.getRequiredNamedParameters().iterator(); int paramCount = 0; int len = name.length(); while(params.hasNext()) { ! FormalParameters.NamedParameter param = ! (FormalParameters.NamedParameter)params.next(); if (paramCount != 0) res.append(", "); --- 233,243 ---- .append(" new ").append(name).append("("); ! Iterator params = parameters.getRequiredParameters().iterator(); int paramCount = 0; int len = name.length(); while(params.hasNext()) { ! FormalParameters.Parameter param = ! (FormalParameters.Parameter)params.next(); if (paramCount != 0) res.append(", "); *************** *** 238,242 **** paramCount = 0; } ! res.append(param.getName()).append(": value"); paramCount++; } --- 249,256 ---- paramCount = 0; } ! if (param instanceof FormalParameters.NamedParameter) ! res.append(param.getName()).append(": value"); ! else ! res.append("value"); paramCount++; } Index: FormalParameters.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/FormalParameters.java,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** FormalParameters.java 8 Aug 2003 19:16:33 -0000 1.31 --- FormalParameters.java 11 Aug 2003 19:31:31 -0000 1.32 *************** *** 492,496 **** } ! public List getRequiredNamedParameters() { LinkedList res = new LinkedList(); --- 492,496 ---- } ! public List getRequiredParameters() { LinkedList res = new LinkedList(); *************** *** 498,502 **** { Parameter param = parameters[i]; ! if (param instanceof NamedParameter && ! (param instanceof OptionalParameter)) { res.add(parameters[i]); --- 498,502 ---- { Parameter param = parameters[i]; ! if (!(param instanceof OptionalParameter)) { res.add(parameters[i]); |
From: <ag...@us...> - 2003-08-10 16:24:33
|
Update of /cvsroot/nice/eclipse/src In directory sc8-pr-cvs1:/tmp/cvs-serv30681/src Modified Files: plugin.xml Log Message: added icons to the plugin Index: plugin.xml =================================================================== RCS file: /cvsroot/nice/eclipse/src/plugin.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** plugin.xml 9 Aug 2003 20:32:35 -0000 1.6 --- plugin.xml 10 Aug 2003 16:24:30 -0000 1.7 *************** *** 60,64 **** finalPerspective="net.sf.nice.nice_perspective" preferredPerspectives="net.sf.nice.nice_perspective" ! icon="icons/full/ctool16/newjprj_wiz.gif"> <description>NewNiceProject.description</description> </wizard> --- 60,64 ---- finalPerspective="net.sf.nice.nice_perspective" preferredPerspectives="net.sf.nice.nice_perspective" ! icon="icons/full/ctool16/newjprj_wiz.png"> <description>NewNiceProject.description</description> </wizard> *************** *** 68,72 **** class="nice.eclipse.ui.wizards.NewNiceFileCreationWizard" category="net.sf.nice.nice_wizard_category" ! icon="wiz.gif"> <description>Create a Nice File</description> </wizard> --- 68,72 ---- class="nice.eclipse.ui.wizards.NewNiceFileCreationWizard" category="net.sf.nice.nice_wizard_category" ! icon="icons/full/ctool16/newnfile_wiz.png"> <description>Create a Nice File</description> </wizard> *************** *** 82,86 **** id="net.sf.nice.nice_perspective" name="Nice Perspective" ! icon="icons/full/cview16/nperspective.gif" class="nice.eclipse.ui.NicePerspectiveFactory"> </perspective> --- 82,86 ---- id="net.sf.nice.nice_perspective" name="Nice Perspective" ! icon="icons/full/cview16/nice.png" class="nice.eclipse.ui.NicePerspectiveFactory"> </perspective> *************** *** 95,99 **** <view name="Nice resources View" ! icon="icons/full/ctool16/nice.png" class="nice.eclipse.ui.views.NiceResourcesView" id="net.sf.nice.nice_resources_view"> --- 95,99 ---- <view name="Nice resources View" ! icon="icons/full/cview16/nice.png" class="nice.eclipse.ui.views.NiceResourcesView" id="net.sf.nice.nice_resources_view"> *************** *** 111,115 **** name="Nice Editor" default="true" ! icon="icons/full/ctool16/nice_page.gif" extensions="nice" class="nice.eclipse.ui.editors.NiceFileEditor" --- 111,115 ---- name="Nice Editor" default="true" ! icon="icons/full/obj16/nice_obj.png" extensions="nice" class="nice.eclipse.ui.editors.NiceFileEditor" |
From: <ag...@us...> - 2003-08-10 16:24:33
|
Update of /cvsroot/nice/eclipse/icons/full/ctool16 In directory sc8-pr-cvs1:/tmp/cvs-serv30681/icons/full/ctool16 Added Files: newjprj_wiz.png newnfile_wiz.png Log Message: added icons to the plugin --- NEW FILE: newjprj_wiz.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newnfile_wiz.png --- (This appears to be a binary file; contents omitted.) |
From: <ag...@us...> - 2003-08-10 16:24:33
|
Update of /cvsroot/nice/eclipse/icons/full/cview16 In directory sc8-pr-cvs1:/tmp/cvs-serv30681/icons/full/cview16 Added Files: nice.png Log Message: added icons to the plugin --- NEW FILE: nice.png --- (This appears to be a binary file; contents omitted.) |
From: <ag...@us...> - 2003-08-10 16:24:33
|
Update of /cvsroot/nice/eclipse/icons/full/obj16 In directory sc8-pr-cvs1:/tmp/cvs-serv30681/icons/full/obj16 Added Files: nice_obj.png Log Message: added icons to the plugin --- NEW FILE: nice_obj.png --- (This appears to be a binary file; contents omitted.) |
From: <ag...@us...> - 2003-08-10 16:24:32
|
Update of /cvsroot/nice/eclipse In directory sc8-pr-cvs1:/tmp/cvs-serv30681 Modified Files: build.xml Log Message: added icons to the plugin Index: build.xml =================================================================== RCS file: /cvsroot/nice/eclipse/build.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** build.xml 9 Aug 2003 03:23:16 -0000 1.9 --- build.xml 10 Aug 2003 16:24:30 -0000 1.10 *************** *** 19,22 **** --- 19,23 ---- <project default="dist" basedir="."> + <property name="plugin.version" value="0.1.10"/> *************** *** 34,41 **** <property name="build.dir" value="build"/> <property name="dist.dir" value="dist"/> <property name="plugin.id" value="net.sf.nice"/> - <property name="plugin.version" value="0.1.8"/> <property name="plugin.id.version" value="${plugin.id}_${plugin.version}"/> <property name="plugin.dir" value="${build.dir}/${plugin.id.version}"/> --- 35,42 ---- <property name="build.dir" value="build"/> + <property name="icons.dir" value="icons"/> <property name="dist.dir" value="dist"/> <property name="plugin.id" value="net.sf.nice"/> <property name="plugin.id.version" value="${plugin.id}_${plugin.version}"/> <property name="plugin.dir" value="${build.dir}/${plugin.id.version}"/> *************** *** 71,74 **** --- 72,76 ---- + <target name="check-eclipse-home"> <fail unless="eclipse.home"> *************** *** 84,88 **** ! <target name="init" depends="check-nice-runtime,check-eclipse-home,clean"> <mkdir dir="${build.dir}"/> <mkdir dir="${dist.dir}"/> --- 86,90 ---- ! <target name="init" depends="clean,check-nice-runtime,check-eclipse-home"> <mkdir dir="${build.dir}"/> <mkdir dir="${dist.dir}"/> *************** *** 92,96 **** ! <target name="check-eclipse-properties" depends="check-eclipse-home,clean"> <property name="eclipse.properties" value="${build.dir}/eclipse.properties"/> <copy file="${eclipse.home}/.eclipseproduct" tofile="${eclipse.properties}"/> --- 94,98 ---- ! <target name="check-eclipse-properties" depends="init,check-eclipse-home"> <property name="eclipse.properties" value="${build.dir}/eclipse.properties"/> <copy file="${eclipse.home}/.eclipseproduct" tofile="${eclipse.properties}"/> *************** *** 122,126 **** ! <target name="compile" depends="check-eclipse-properties,init"> <nicec package="${main.package}" sourcepath="${src.dir}" --- 124,128 ---- ! <target name="compile" depends="init,check-eclipse-properties"> <nicec package="${main.package}" sourcepath="${src.dir}" *************** *** 173,178 **** ! <target name="dist" depends="compile,split-ant-taskdefs"> <mkdir dir="${plugin.dir}"/> <move file="${build.dir}/${plugin.jar}" todir="${plugin.dir}"/> --- 175,187 ---- + <target name="copy-icons"> + <mkdir dir="${plugin.dir}/${icons.dir}"/> + <copy todir="${plugin.dir}/${icons.dir}"> + <fileset dir="${icons.dir}" includes="**/*"/> + </copy> + </target> ! ! <target name="dist" depends="compile,split-ant-taskdefs,copy-icons"> <mkdir dir="${plugin.dir}"/> <move file="${build.dir}/${plugin.jar}" todir="${plugin.dir}"/> |
From: <ag...@us...> - 2003-08-10 16:22:08
|
Update of /cvsroot/nice/eclipse/icons/full/obj16 In directory sc8-pr-cvs1:/tmp/cvs-serv30390/icons/full/obj16 Log Message: Directory /cvsroot/nice/eclipse/icons/full/obj16 added to the repository |
From: <ag...@us...> - 2003-08-10 16:22:08
|
Update of /cvsroot/nice/eclipse/icons/full/ctool16 In directory sc8-pr-cvs1:/tmp/cvs-serv30390/icons/full/ctool16 Log Message: Directory /cvsroot/nice/eclipse/icons/full/ctool16 added to the repository |
From: <ag...@us...> - 2003-08-10 16:22:08
|
Update of /cvsroot/nice/eclipse/icons/full/cview16 In directory sc8-pr-cvs1:/tmp/cvs-serv30390/icons/full/cview16 Log Message: Directory /cvsroot/nice/eclipse/icons/full/cview16 added to the repository |
From: <ag...@us...> - 2003-08-10 16:21:28
|
Update of /cvsroot/nice/eclipse/icons/full In directory sc8-pr-cvs1:/tmp/cvs-serv30290/icons/full Log Message: Directory /cvsroot/nice/eclipse/icons/full added to the repository |
From: <ag...@us...> - 2003-08-10 16:21:07
|
Update of /cvsroot/nice/eclipse/icons In directory sc8-pr-cvs1:/tmp/cvs-serv30238/icons Log Message: Directory /cvsroot/nice/eclipse/icons added to the repository |
From: <bo...@us...> - 2003-08-09 22:00:42
|
Update of /cvsroot/nice/Nice/debian In directory sc8-pr-cvs1:/tmp/cvs-serv22588/debian Modified Files: changelog Log Message: The compiler now warns about non-existing sourcepath entries. Index: changelog =================================================================== RCS file: /cvsroot/nice/Nice/debian/changelog,v retrieving revision 1.197 retrieving revision 1.198 diff -C2 -d -r1.197 -r1.198 *** changelog 9 Aug 2003 21:52:58 -0000 1.197 --- changelog 9 Aug 2003 22:00:38 -0000 1.198 *************** *** 28,31 **** --- 28,32 ---- int[] array = [1,2,3,4,5]; for (elem : array) println(elem); + * The compiler now warns about non-existing sourcepath entries. * Bugfixes (parameter's default value refering to previous parameters, ...) |
From: <bo...@us...> - 2003-08-09 21:53:01
|
Update of /cvsroot/nice/Nice/debian In directory sc8-pr-cvs1:/tmp/cvs-serv21214/debian Modified Files: changelog Log Message: Removed tabs. Index: changelog =================================================================== RCS file: /cvsroot/nice/Nice/debian/changelog,v retrieving revision 1.196 retrieving revision 1.197 diff -C2 -d -r1.196 -r1.197 *** changelog 9 Aug 2003 21:45:37 -0000 1.196 --- changelog 9 Aug 2003 21:52:58 -0000 1.197 *************** *** 19,24 **** // Initializer { ! // Initialization code goes here. ! } } * Package-level constants and variables are now automatically initialized --- 19,24 ---- // Initializer { ! // Initialization code goes here. ! } } * Package-level constants and variables are now automatically initialized |
From: <bo...@us...> - 2003-08-09 21:45:41
|
Update of /cvsroot/nice/Nice/debian In directory sc8-pr-cvs1:/tmp/cvs-serv20081/debian Modified Files: changelog Log Message: Closed 0.9.1 Index: changelog =================================================================== RCS file: /cvsroot/nice/Nice/debian/changelog,v retrieving revision 1.195 retrieving revision 1.196 diff -C2 -d -r1.195 -r1.196 *** changelog 8 Aug 2003 21:47:58 -0000 1.195 --- changelog 9 Aug 2003 21:45:37 -0000 1.196 *************** *** 1,5 **** nice (0.9.1) unstable; urgency=low ! * Final fields can be overriden in sub-classes, with a more precise type and a different default value. In particular, this removes the need for a cast when reading the field's value from an instance of the sub-class. --- 1,5 ---- nice (0.9.1) unstable; urgency=low ! * Final fields can be overriden in sub-classes with a more precise type and a different default value. In particular, this removes the need for a cast when reading the field's value from an instance of the sub-class. *************** *** 12,15 **** --- 12,16 ---- override LinkedList<String> names; } + This is only possible for final fields for type safety reasons. * A class can now have initializers, which are executed each time an instance is created. *************** *** 23,27 **** * Package-level constants and variables are now automatically initialized in the correct order when they directly depend on each other. ! * The type declaration in the enhanced forloop is now optional but only if the type is inferable. int[] array = [1,2,3,4,5]; --- 24,28 ---- * Package-level constants and variables are now automatically initialized in the correct order when they directly depend on each other. ! * The type declaration in the enhanced for loop is now optional but only if the type is inferable. int[] array = [1,2,3,4,5]; *************** *** 29,33 **** * Bugfixes (parameter's default value refering to previous parameters, ...) ! -- nice (0.9.0) unstable; urgency=low --- 30,34 ---- * Bugfixes (parameter's default value refering to previous parameters, ...) ! -- Daniel Bonniot <bo...@us...> Sat, 9 Aug 2003 23:19:41 +0200 nice (0.9.0) unstable; urgency=low |
From: <bo...@us...> - 2003-08-09 21:44:38
|
Update of /cvsroot/nice/Nice/web In directory sc8-pr-cvs1:/tmp/cvs-serv19926/web Modified Files: new.xsl Makefile Log Message: Renamed manual files, so it's clearer for those who download them. Index: new.xsl =================================================================== RCS file: /cvsroot/nice/Nice/web/new.xsl,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** new.xsl 20 Jun 2003 10:05:41 -0000 1.11 --- new.xsl 9 Aug 2003 21:44:35 -0000 1.12 *************** *** 88,93 **** <a class="nav" href="manual.html">Manual</a> (<a class="nav" href="manual.html">online</a>, ! <a class="nav" href="manual.pdf">PDF</a>, ! <a class="nav" href="manual.ps">PS</a>) <br /> <span class="small">o</span><xsl:text> </xsl:text> --- 88,93 ---- <a class="nav" href="manual.html">Manual</a> (<a class="nav" href="manual.html">online</a>, ! <a class="nav" href="NiceManual.pdf">PDF</a>, ! <a class="nav" href="NiceManual.ps">PS</a>) <br /> <span class="small">o</span><xsl:text> </xsl:text> *************** *** 187,190 **** --- 187,193 ---- <span class="small">o</span><xsl:text> </xsl:text> <a class="nav" href="tests.html">Tests</a> + <br /> + <span class="small">o</span><xsl:text> </xsl:text> + <a class="nav" href="coverage/">Coverage</a> <br /> <span class="small">o</span><xsl:text> </xsl:text> Index: Makefile =================================================================== RCS file: /cvsroot/nice/Nice/web/Makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Makefile 16 Jun 2003 18:52:54 -0000 1.12 --- Makefile 9 Aug 2003 21:44:35 -0000 1.13 *************** *** 16,21 **** irc.html roadmap.html safety.html manual.html manual.pdf manual.ps ! send: all ! scp -r *.css *.html .htaccess images *.pdf *.ps bo...@sh...:/home/groups/n/ni/nice/htdocs old: safety.html --- 16,29 ---- irc.html roadmap.html safety.html manual.html manual.pdf manual.ps ! send: all send_manual_pdf send_manual_ps ! scp -r *.css *.html .htaccess images bo...@sh...:/home/groups/n/ni/nice/htdocs ! ! send_manual_pdf: manual.pdf ! scp manual.pdf bo...@sh...:/home/groups/n/ni/nice/htdocs/NiceManual.pdf ! touch send_manual_pdf ! ! send_manual_ps: manual.ps ! scp manual.ps bo...@sh...:/home/groups/n/ni/nice/htdocs/NiceManual.ps ! touch send_manual_ps old: safety.html |
From: <bo...@us...> - 2003-08-09 21:01:54
|
Update of /cvsroot/nice/Nice/testsuite/compiler/native In directory sc8-pr-cvs1:/tmp/cvs-serv13767/testsuite/compiler/native Modified Files: methods.testsuite Log Message: Also look for methods in super-interfaces. Index: methods.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/methods.testsuite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** methods.testsuite 24 Jun 2003 20:07:37 -0000 1.4 --- methods.testsuite 9 Aug 2003 21:01:51 -0000 1.5 *************** *** 24,25 **** --- 24,32 ---- String foo(boolean b) = (b ? new Integer(1) : new Long(2)).toString(); + + /// PASS + /// Toplevel + class A extends java.io.ObjectInputStream + { + readBoolean() = false; + } |
From: <bo...@us...> - 2003-08-09 21:01:54
|
Update of /cvsroot/nice/Nice/src/gnu/bytecode In directory sc8-pr-cvs1:/tmp/cvs-serv13767/src/gnu/bytecode Modified Files: ClassType.java Log Message: Also look for methods in super-interfaces. Index: ClassType.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/ClassType.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ClassType.java 24 Jun 2003 20:07:38 -0000 1.15 --- ClassType.java 9 Aug 2003 21:01:51 -0000 1.16 *************** *** 599,602 **** --- 599,612 ---- if (method != null) return method; + + ClassType[] interfaces = cl.getInterfaces(); + if (interfaces != null) + for (int i = 0; i < interfaces.length; i++) + { + method = interfaces[i].getMethod(name, arg_types); + if (method != null) + return method; + } + cl = cl.getSuperclass(); if (cl == null) |
From: <ag...@us...> - 2003-08-09 20:32:38
|
Update of /cvsroot/nice/eclipse/src In directory sc8-pr-cvs1:/tmp/cvs-serv7205/src Modified Files: plugin.xml Log Message: minor changes in syntax highlighting Index: plugin.xml =================================================================== RCS file: /cvsroot/nice/eclipse/src/plugin.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** plugin.xml 9 Aug 2003 03:23:17 -0000 1.5 --- plugin.xml 9 Aug 2003 20:32:35 -0000 1.6 *************** *** 68,72 **** class="nice.eclipse.ui.wizards.NewNiceFileCreationWizard" category="net.sf.nice.nice_wizard_category" ! icon="icons/full/ctool16/newclass_wiz.gif"> <description>Create a Nice File</description> </wizard> --- 68,72 ---- class="nice.eclipse.ui.wizards.NewNiceFileCreationWizard" category="net.sf.nice.nice_wizard_category" ! icon="wiz.gif"> <description>Create a Nice File</description> </wizard> |
From: <ag...@us...> - 2003-08-09 20:32:38
|
Update of /cvsroot/nice/eclipse/src/nice/eclipse/ui/editors/syntaxhighlight In directory sc8-pr-cvs1:/tmp/cvs-serv7205/src/nice/eclipse/ui/editors/syntaxhighlight Modified Files: _syntaxhighlight.nice Log Message: minor changes in syntax highlighting Index: _syntaxhighlight.nice =================================================================== RCS file: /cvsroot/nice/eclipse/src/nice/eclipse/ui/editors/syntaxhighlight/_syntaxhighlight.nice,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _syntaxhighlight.nice 9 Aug 2003 03:23:17 -0000 1.1 --- _syntaxhighlight.nice 9 Aug 2003 20:32:35 -0000 1.2 *************** *** 40,48 **** "package", "alike", "Any", "return", "break", "continue", "super", "try", "catch", "finally", "throw", "instanceof", ! "requires", "ensures", "assert", "do"]; let String[] NICE_WORD_FRAGMENT_KEYWORDS = [ ! "@", "!", "=>", "?", "#"]; --- 40,48 ---- "package", "alike", "Any", "return", "break", "continue", "super", "try", "catch", "finally", "throw", "instanceof", ! "requires", "ensures", "assert", "do", "this"]; let String[] NICE_WORD_FRAGMENT_KEYWORDS = [ ! "@", "=>", "?", "#"]; |