Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
moved everything to package org.jboss.byteman and udpated all documents, scripts and other names to refer Byteman

    • -60
    • +0
    ./exception/EarlyReturnException.java
  1. … 226 more files in changeset.
major reworking of trigger injection code to deal with complications when triggers are inserted inside synchronized blocks -- includes revision of test code

  1. … 27 more files in changeset.
added tests for method invocations and fixed parser bugs to do with static method invocations

    • -184
    • +233
    ./grammar/ECAGrammarParser.java
  1. … 7 more files in changeset.
added tests for field operations and fixed various compilation bugs turned up by running those tests

    • -0
    • +1
    ./expression/ArithmeticExpression.java
    • -1
    • +8
    ./expression/ConditionalEvalExpression.java
    • -12
    • +21
    ./expression/FieldExpression.java
  1. … 12 more files in changeset.
added tests for logical operations, fixed bug in parsing/type checking ?= operator and modified parser/typechecker to display file and line number for offending expressions when parse or type errors occur

    • -15
    • +14
    ./expression/ExpressionHelper.java
  1. … 16 more files in changeset.
added tests of java arithmetic operations to tests dir and fixed bugs found by them

    • -2
    • +14
    ./expression/ArithmeticExpression.java
  1. … 4 more files in changeset.
added support for local variable references in rules and added initial set of unit tests which check that location specifiers work oky -- all tests pass except the one for AT THROW which fails because of an error in counting throws added due to the presence of synchronized blocks

    • -18
    • +22
    ./expression/DollarExpression.java
  1. … 40 more files in changeset.
added rendezvous operations to Helper and documented them. also corrected operation of debug builtin to respect system property settings as advertised in the documentation

  1. … 4 more files in changeset.
modified waitFor and sigalWake/Kill so that it is possibel to delay the signaller until there is at least one waiting threadsrc/org/jboss/jbossts/orchestration/synchronization/Waiter.java

fixed some errors in the compiler

    • -2
    • +2
    ./expression/ComparisonExpression.java
included first cut of rule compilation -- enabled by setting property org.jboss.jbossts.orchestration.compileToBytecode

    • -0
    • +165
    ./expression/ArithmeticExpression.java
    • -0
    • +179
    ./expression/ComparisonExpression.java
    • -0
    • +47
    ./expression/ConditionalEvalExpression.java
  1. … 18 more files in changeset.
added and amended copyrights

  1. … 1 more file in changeset.
modified rule language to allow plug-in capability for the helper class which defines the rule language built-ins. added compiler class which specialises the helper to provide a rule interpreter specific to the built-in associated with any given rule

    • -0
    • +491
    ./compiler/Compiler.java
    • -0
    • +67
    ./compiler/StackHeights.java
    • -1
    • +2
    ./expression/ArithmeticExpression.java
    • -1
    • +2
    ./expression/ComparisonExpression.java
    • -1
    • +2
    ./expression/ConditionalEvalExpression.java
  1. … 19 more files in changeset.
added support for rules to log trace output to files and updated docs accordingly

  1. … 2 more files in changeset.
added Counter built-ins, upgraded error trace messages from rule agent and improved docs including adding section on Counter built-ins

  1. … 4 more files in changeset.
Defined System property org.jboss.jbossts.orchestration.verbose which can be set on the JVM command line (using -D) to enable display of trace messages generated by the rule agent and the rule execution engine.

Modified transformer to cache the value of thsis flag at bootstrap and

made all current verbose output from the agent and execution engine

conditional upon the flag being set.

Fixed problem which led to NullPointerException when rule location was

defaulted to AT ENTRY (location object attached to rule was null)

Fixed problem with AT ENTRY and AT LINE locations whcih caused a

NullPointerException when generating the transformed bytecode for a

constructor method (trigger call was nto being generated which caused

the bytecode writer to trip up on a catch block with no start and end

labels)

  1. … 6 more files in changeset.
Fixed problem where defaulting of location type (AT ENTRY) caused null pointer exception

Fixed bug in type helper which was stopping method names with empty

signatures (e.g. get() or foo.get()) being recognised.

Corrected problem in tokenizer/parser where terms like $0.foo() where

not being recognised because the characters 0. were being tokenised as

a float. Tokenizer now identifies $<integer_literal> or $<identifier>

as a single token rather than applying $ as a unary prefix operator to

the next term.

Added option to switch on debug trace in CUP parser by setting System

property org.jboss.jbossts.orchestration.rule.debug. To make this work

properly this required:

Modified parser to use class PrintableSymbol` instead of Symbol.

Provided an implementation of PrintableSymbol which prints the symbol

name and associated value rather than just a numeric idx.

Specialised parser debug print routines called by debug_parse so that

they stop printing symbol numeric idxs and rely on the toString method

to print the symbol.

    • -423
    • +429
    ./grammar/ECAGrammarParser.java
    • -270
    • +277
    ./grammar/ECATokenLexer.java
    • -0
    • +118
    ./grammar/PrintableSymbol.java
  1. … 3 more files in changeset.
modified to allow various extra specifiers for where to place the trigger point besides (AT) LINE

  1. … 18 more files in changeset.
removed redundant methdos and constructors

removed redundant annotation classes and relocated parser/typechecker test class

  1. … 5 more files in changeset.
added a new parser which should accept most Java syntax and does nifty stuff like operator precedence. also fixed a few bugs

    • -5
    • +2
    ./expression/ArithmeticExpression.java
    • -4
    • +2
    ./expression/BinaryOperExpression.java
    • -135
    • +193
    ./expression/ComparisonExpression.java
    • -4
    • +2
    ./expression/ConditionalEvalExpression.java
    • -27
    • +18
    ./expression/DollarExpression.java
  1. … 41 more files in changeset.
patched errors in wait/signal code including renaming signal method to signalWake to avoid conflicts with Object.signal

  1. … 3 more files in changeset.
added copyright notices to sources and user guide and updated version/date on the latter

    • -0
    • +23
    ./exception/EarlyReturnException.java
    • -0
    • +23
    ./expression/ArithmeticExpression.java
  1. … 49 more files in changeset.
fixed NPE caused when trigger method had a null exceptions list (doh). also reorganized type check code so all rule elements are created with a reference to the rule, giving them automatic access to the bindings and type group and obviating the need to pas these as parameters to bind() and typecheck()

    • -5
    • +5
    ./expression/ArithmeticExpression.java
    • -6
    • +6
    ./expression/BinaryOperExpression.java
    • -5
    • +5
    ./expression/ComparisonExpression.java
    • -6
    • +6
    ./expression/ConditionalEvalExpression.java
  1. … 18 more files in changeset.
allowed throw expression in actions for exceptions in the trigger method throws list or runtime exceptions

    • -0
    • +23
    ./exception/ThrowException.java
    • -0
    • +234
    ./expression/ThrowExpression.java
    • -533
    • +741
    ./grammar/ECAGrammarParser.java
    • -950
    • +1062
    ./grammar/ECATokenLexer.java
  1. … 7 more files in changeset.
proofed programmers guide and provided clearer names for some methods in the implementation

  1. … 1 more file in changeset.
added a programmers manual, a few more builtins a a prototype of a script for participant recovery which is currently not workgin thanks to a problem in JBossWS

  1. … 5 more files in changeset.
added return expression as a rule action allowing a return from the triggering method at the point of the trigger call

    • -0
    • +37
    ./exception/EarlyReturnException.java
    • -0
    • +111
    ./expression/ReturnExpression.java
    • -565
    • +706
    ./grammar/ECAGrammarParser.java
    • -912
    • +1043
    ./grammar/ECATokenLexer.java
  1. … 6 more files in changeset.
switched to using test rule scripts instead of annotations. added more rules to test scenario to improve readability and clean up. enabled comments in scripts using # prefix

    • -0
    • +59
    ./expression/BooleanLiteral.java
    • -826
    • +1291
    ./grammar/ECAGrammarParser.java
    • -953
    • +1578
    ./grammar/ECATokenLexer.java
  1. … 10 more files in changeset.
fixed error in typing static fields, modified line number display and patched example rules to reference final static integer field constants by name rather than specify numeric values

  1. … 1 more file in changeset.