Activity for Patrice Chalin

  • Patrice Chalin Patrice Chalin committed [r865]

    [Feature 738013] Added JML specifications. Refactoring and simplification in convertType and numberValue to make class more amenable to subclassing.

  • Patrice Chalin Patrice Chalin committed [r853]

    Added pure function isValidNumericTypeID() to be used in CNumericType

  • Patrice Chalin Patrice Chalin committed [r864]

    Added public invariant concerning expected relative ordering of TID_* values for numeric types. (This is in support of the informal comment that was already in the file.)

  • Patrice Chalin Patrice Chalin committed [r873]

    [Feature 738013] Minor updates to JML specs.

  • Patrice Chalin Patrice Chalin committed [r899]

    Making use of widening_primitive_conv_from in the definition of implicitlyCastTo (thus allowing the proper processing of \bigint).

  • Patrice Chalin Patrice Chalin committed [r871]

    [Feature 738013] Update to fail() comment.

  • Patrice Chalin Patrice Chalin committed [r870]

    [Feature 738013] Add method widening_primitive_conv_from(). Adapted isAlwaysAssignableTo() to make use of the new method. Change required to facilitate overriding isAlwaysAssignableTo() in subclasses.

  • Patrice Chalin Patrice Chalin committed [r866]

    [Feature 738013] Added accessors to token streams (like those in TokenStreamSelector).

  • Patrice Chalin Patrice Chalin committed [r893]

    Added ability to visit MJWarnExpression AST nodes (needed e.g. for jmldoc).

  • Patrice Chalin Patrice Chalin committed [r877]

    [Feature 738013]

  • Patrice Chalin Patrice Chalin committed [r890]

    Mainly adding support for "safe" arithmetic to JAddExpression's.

  • Patrice Chalin Patrice Chalin committed [r875]

    [Feature 738013] These changes are necessary to will allow the JML checker to know if certain arithmetic operators occur in the context of an annotation or not.

  • Patrice Chalin Patrice Chalin committed [r891]

    Made mjWarnExpression an alternative of mjPrimaryExpression rather than jPrimaryExpression so that the alternative production is also automatically available in subgrammars.

  • Patrice Chalin Patrice Chalin committed [r889]

    Preliminary support for safe integral arithmetic. The feature can be enabled via the --safemath option. With this commit, --safemath will report a compile-time error if the evaluation of a constant expression, involving unary minus, causes an overflow. Support for other operators to be added shortly. Temporarily added _warn, _nowarn, _warn_op and _nowarn_op to the grammar.

  • Patrice Chalin Patrice Chalin committed [r896]

    Changed assertion in constructor to permit JRealLiteral's to be of type \real.

  • Patrice Chalin Patrice Chalin committed [r900]

    Changes in preparation of activation of implicit promotion to \bigint.

  • Patrice Chalin Patrice Chalin committed [r1251]

    972881, "Minimum integral constants rejected as invalid"

  • Patrice Chalin Patrice Chalin committed [r1254]

    972881, Minimum integral constants rejected as invalid (iteration 2).

  • Patrice Chalin Patrice Chalin committed [r1253]

    972881, Minimum integral constants rejected as invalid (iteration 2). Added isImageOnly()

  • Patrice Chalin Patrice Chalin committed [r1257]

    Added modules names MJ and web so that older systems, e.g. Eclipse 2.x's CVS can see the modules. Removed module named experiment.

  • Patrice Chalin Patrice Chalin committed [r1437]

    Added nullity modifiers. In most cases, the change consists of adding

  • Patrice Chalin Patrice Chalin committed [r1438]

    Added nullable modifier to overriddenMethods().

  • Patrice Chalin Patrice Chalin committed [r1446]

    Removed erroneous spec of setIsNonNull().

  • Patrice Chalin Patrice Chalin committed [r1445]

    This commit is part of the non-null-by-default feature cleanup

  • Patrice Chalin Patrice Chalin committed [r1392]

    Upates to class specifications; mostly added non-null constraints.

  • Patrice Chalin Patrice Chalin committed [r1432]

    org/multijava/mjc/JMethodDeclaration.java:

  • Patrice Chalin Patrice Chalin committed [r1534]

    Added bin4eclipse.

  • Patrice Chalin Patrice Chalin committed [r1554]

    Added nullity annotations to match those given in corresponding .jml file.

  • Patrice Chalin Patrice Chalin committed [r1498]

    Fixed problem with parsing of nullity modifiers in casts. There were two problems:

  • Patrice Chalin Patrice Chalin committed [r1530]

    (removing temporary code committed by mistake)

  • Patrice Chalin Patrice Chalin committed [r1527]

    Cleanup: making use of org.multijava.util.compiler.TokenReference.NO_REF when bogus AST nodes are created rather than null. The following files are affected in org/multijava/mjc: CCORInitializer.java, CSourceClass.java, CSourceDispatcherClass.java, CType.java, CompilerPassEnterable.java, JBlock.java, JCompilationUnit.java, JMethodCallExpression.java, JSynchronizedStatement.java, JThisExpression.java, JTryFinallyStatement.java.

  • Patrice Chalin Patrice Chalin committed [r1555]

    (minor change: fix echo of TOOLVERSION)

  • Patrice Chalin Patrice Chalin committed [r1497]

    Up until recently (v1.17), the 'samples' subdir was only a member of TESTDIRS, not SUBDIRS (which makes sense because SUBDIRS as part of the 'build' target, which is the same target used to build mjc ... and yet, 'samples' is built using mjc). Hence I am changing this back to the way the were (i.e. removing 'samples' from SUBDIRS.

  • Patrice Chalin Patrice Chalin committed [r1531]

    To avoid compiler warnings, added casts to Object to non-Object arguments of varargs methods.

  • Patrice Chalin Patrice Chalin committed [r1538]

    (Reinstating the .project file to be under CVS.)

  • Patrice Chalin Patrice Chalin committed [r1568]

    Phylum location cannot be null. Added runtime test. (I have had this test in my local repository since Dec 2006 and an MJ or JML2 test has yet to fail due to it.)

  • Patrice Chalin Patrice Chalin committed [r1537]

    Eclipse settings (a first cut): builds all of MJ, except for mjdoc, with no errors or warnings reported. To ensure that we all get the same warnings/errors reported I have included in this commit project specific compiler settings (note that I have turned many of the compiler settings from "warning" to "ignore" -- e.g. unused imports).

  • Patrice Chalin Patrice Chalin committed [r1447]

    This commit is part of the non-null-by-default feature cleanup (bug #1379850) -- see the bug report for details.

  • Patrice Chalin Patrice Chalin committed [r1567]

    Changed comments only. Changed disabled JML annotations so that they start with, e.g., //x@ rather than //<space>@.

  • Patrice Chalin Patrice Chalin committed [r1569]

    (Trimmed dead code ... since JML4 was reporting nullity errors.)

  • Patrice Chalin Patrice Chalin committed [r1529]

    Adding nullity modifiers.

  • Patrice Chalin Patrice Chalin committed [r1528]

    Adding nullity modifiers (esp. that the File argument of the TokenReference is nullable).

  • Patrice Chalin Patrice Chalin committed [r1556]

    Corrected nullity annotations to match corresponding .jml file (which, hopefully, are correct :).

  • Patrice Chalin Patrice Chalin committed [r1532]

    (Rolling out last change -- compiles fine under Java 5 (Eclipse) but apparently not under 1.4.)

  • Patrice Chalin Patrice Chalin committed [r1533]

    Addition of nullity modifiers.

  • Patrice Chalin Patrice Chalin committed [r1566]

    I don't think that listTestsWithOutput should have been committed, but they are ... and possibly with the wrong permissions. This commit fixes the permissions by doing: chmod ug+w listTestsWithOutput.

  • Patrice Chalin Patrice Chalin committed [r1526]

    Removed unnecessary imports (which created unnecessary dependencies; which in turn causes problems under Eclipse).

  • Patrice Chalin Patrice Chalin committed [r1571]

    Removing org/multijava/mjc/testcase/java5/generics/listTestsWithOutput since it is in .cvsignore and it is an autogenerated file (which was probably committed by mistake).

  • Patrice Chalin Patrice Chalin committed [r6393]

    Added `grammatical' support for "bigint" and "real": they now are recognized

  • Patrice Chalin Patrice Chalin committed [r6392]

    * Package name corrected: getopt not getopts.

  • Patrice Chalin Patrice Chalin committed [r6395]

    Added pure function isValidNumericTypeID() -- overridden from CNumericType --

  • Patrice Chalin Patrice Chalin committed [r6431]

    To solve:

  • Patrice Chalin Patrice Chalin committed [r6445]

    Intermediate development gliches in implementing support for \bigint. This test failed. Temporary fix is to remove binary expressions with literal constants.

  • Patrice Chalin Patrice Chalin committed [r6442]

    Literal constants in unary expressions are no longer implicitly promoted to \bigint.

  • Patrice Chalin Patrice Chalin committed [r6446]

    [Feature 738013] Reverting to use of JOrdinalLiteral (rather than JmlOrdinalLiteral).

  • Patrice Chalin Patrice Chalin committed [r6444]

    Added public invariant concerning expected relative ordering of TID_* values for numeric types.

  • Patrice Chalin Patrice Chalin committed [r6447]

    [Feature 738013] Rewrite of tests so that, in general, there is one method declaration per aspect of the feature that we wish to test. \bigint is now appropriately supported in expressions involving literals, unary and binary operators as well as casts (all of this without implicit promotion).

  • Patrice Chalin Patrice Chalin committed [r6448]

    [Feature 738013] Added parser method isInAnnotation() and inner class IsInAnnotationHelper. This will enable us to know whether arithmetic operators should be subject to implicit promotion.

  • Patrice Chalin Patrice Chalin committed [r6456]

    [Feature 738013] JmlBinaryArithmeticExpressionHelper.typecheck to be used in binary expression AST node classes to help implement promotion to \bigint or \real.

  • Patrice Chalin Patrice Chalin committed [r6458]

    [Feature 738013] Added JmlBinaryArithmeticExpressionHelper.

  • Patrice Chalin Patrice Chalin committed [r6457]

    [Feature 738013] Making use of JmlBinaryArithmeticExpressionHelper.typecheck. Some optimization: e.g. cast is only made if type is not already \bigint or \real.

  • Patrice Chalin Patrice Chalin committed [r6468]

    [Feature 738013]

  • Patrice Chalin Patrice Chalin committed [r6471]

    [Feature 738013] Disabling implicit promotion for bit and shift operators.

  • Patrice Chalin Patrice Chalin committed [r6477]

    [Feature 738013] Addition of constantFolding method override (since we do not want constant folding over \bigint or \real literals).

  • Patrice Chalin Patrice Chalin committed [r6470]

    [Feature 738013] Minor updates to JML specs.

  • Patrice Chalin Patrice Chalin committed [r6476]

    [Feature 738013] Minor changes to test cases so that they are valid whether implicit promotion in enabled or not.

  • Patrice Chalin Patrice Chalin committed [r6483]

    [Feature 738013] Changes that enable the JML checker to create different expression AST nodes depending on the context (Java vs. annotation). This capability has been implemented for the following operators: unary +, -, binary +, -, *, /, %. In general J*Expression AST nodes are created for Java contexts and Jml*Expression AST nodes for annotation contexts (e.g. JAddExpression vs. JmlAddExpression).

  • Patrice Chalin Patrice Chalin committed [r6480]

    [Feature 738013] Update to test case so that it will pass with the checker's -a option.

  • Patrice Chalin Patrice Chalin committed [r6484]

    [Feature 738013] Updated tests.

  • Patrice Chalin Patrice Chalin committed [r6479]

    [Feature 738013] Additional tests (adjustment of expected output).

  • Patrice Chalin Patrice Chalin committed [r6478]

    [Feature 738013] Additional tests.

  • Patrice Chalin Patrice Chalin committed [r6489]

    [Feature 738013] Re-enabling constant folding. This commit covers unary operators.

  • Patrice Chalin Patrice Chalin committed [r6516]

    Now testing for inSpecScope() once in the constructor rather than in integralArithmeticOverflowChecking() so that \nowarn will function properly.

  • Patrice Chalin Patrice Chalin committed [r6514]

    Added support for safe arithmetic for addition (and adjustments for unary minus).

  • Patrice Chalin Patrice Chalin committed [r6526]

    Updates to selected model specs to remove inconsistencies and to start making use of \nowarn notation - getting ready for implicit promotion. Removed JMLByte(int) and JMLShort(int) constructors. Removed ^M's from Primitive_bigint_basic.java and added a few extra tests.

  • Patrice Chalin Patrice Chalin committed [r6520]

    Implicit promotion of operands of unary -, binary +, -, * and / will no longer be influenced by the presence of cast operators. Instead, to achieve the effect of Java operators use \nowarn, \nowarn_op.

  • Patrice Chalin Patrice Chalin committed [r6519]

    Testing if constant folding is handled properly for binary addition. Also added tests involving \warn, \nowarn, etc.

  • Patrice Chalin Patrice Chalin committed [r6525]

    Updates to selected model specs to remove inconsistencies and to start making use of \nowarn notation - getting ready for implicit promotion. Removed JMLByte(int) and JMLShort(int) constructors. Removed ^M's from Primitive_bigint_basic.java and added a few extra tests.

  • Patrice Chalin Patrice Chalin committed [r6532]

    Added ability to visit MJWarnExpression AST nodes (needed, e.g., for jmldoc).

  • Patrice Chalin Patrice Chalin committed [r6531]

    [Feature 738013] Getting ready for activation of implicit promotion. Use made of \nowarn().

  • Patrice Chalin Patrice Chalin committed [r6527]

    Removed JMLChar(int) (as was done for JMLByte and JMLShort).

  • Patrice Chalin Patrice Chalin committed [r6529]

    Adding TestClassClauses.java since constant folding is occurring when it should not (Bug item #752562).

  • Patrice Chalin Patrice Chalin committed [r6530]

    Removed createModuloExpression since % is not subject to implicit promotion and it does not overflow.

  • Patrice Chalin Patrice Chalin committed [r6528]

    Updated expected output so that it demonstrates that constant folding does not occur in JML specification expressions.

  • Patrice Chalin Patrice Chalin committed [r6544]

    Temporarily disabling implicit promotion to \real (regardless of the setting of the -i flag).

  • Patrice Chalin Patrice Chalin committed [r6542]

    Modifications to model files that will be necessary once implicit promotion to \bigint is enabled. Preliminary work on the RAC to support \bigint.

  • Patrice Chalin Patrice Chalin committed [r6543]

    Changes in preparation of activation of implicit promotion to \bigint.

  • Patrice Chalin Patrice Chalin committed [r6548]

    [Feature 738013] Enabling of implicit promotion to \bigint, thus fulfilling half of Feature 738013. (I may close the feature and open another \real.)

  • Patrice Chalin Patrice Chalin committed [r6547]

    [Feature 738013] Changes in preparation of activation of implicit promotion to \bigint. (Changes to the samples that are described in TR 2003-001 have been made in accordance to the TR.)

  • Patrice Chalin Patrice Chalin committed [r6546]

    Changes in preparation of activation of implicit promotion to \bigint.

  • Patrice Chalin Patrice Chalin committed [r7387]

    Defined JML_DEV_BASE and JML_PKG_PREFIX; these default to HOME and /usr/local, respectively. Use of these variables in the definitions makes it easier to setup MJ and JML builds in non-default places.

  • Patrice Chalin Patrice Chalin committed [r7386]

    Defined JML_DEV_BASE and JML_PKG_PREFIX; these default to HOME and /usr/local, respectively. Use of these variables in the definitions makes it easier to setup MJ and JML builds in non-default places.

  • Patrice Chalin Patrice Chalin committed [r7406]

    972881, Minimum integral constants rejected as invalid (iteration 2).

  • Patrice Chalin Patrice Chalin committed [r7405]

    TEMP will now be user specific (hence avoiding permission problems when multiple users are working from the same machine).

  • Patrice Chalin Patrice Chalin committed [r7409]

    Added modules names JML2 and web so that older systems, e.g. Eclipse 2.x's CVS can see the modules.

  • Patrice Chalin Patrice Chalin committed [r7887]

    *** empty log message ***

  • Patrice Chalin Patrice Chalin committed [r7885]

    Boolean.jml contained a few inconsistent method specifications. E.g.

  • Patrice Chalin Patrice Chalin committed [r7886]

    Adding non-null annotations as appropriate.

  • Patrice Chalin Patrice Chalin committed [r7906]

    Updated specs.

  • Patrice Chalin Patrice Chalin committed [r7913]

    texi2html.real is obsolete; now using texi2html.pl instead. Also change absolute path to make use of appropriate environment variable.

1 >