Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-4454] fix incremental compilation when removing a rule with a subnetwork and an OR

(cherry picked from commit 3b06d0675989615c664d13f5fc67091678269b52)

  1. … 6 more files in changeset.
[DROOLS-4393] prevent expired events to participate in accumulates (#2492)

  1. … 8 more files in changeset.
DROOLS-4343 Change fact handle id type to long (#2468)

* DROOLS-4343 Change fact handle id type to long

* DROOLS-4343 Change fact handle id type to long

  1. … 35 more files in changeset.
[DROOLS-4104] Mvel-compiler (#2381)

* First commit

Some data type

First two phases

Some design

Rules of the game

Improved visitors

Copy and pasted solution

Removed inlinecast

Removed other classes

Algorithm explained

Other possible phases

Try to parse only types

First commit

Removed imperative assignment

Create type information phase

Subtyping!

toString

Test runnning

Removed phase

Moved packages

Moved packages

Moved context

FlattenExpressionPhase

FlattenExpressionPhase

New Phase

Refactor test

* New test

* Flatten phase

* Avoid flatten

* Inverted phase 2 and 3

* Process first node using the tree

* Navigating tree?

* JavaParser utilities

* Removed javaparser-utilities

* Removed javaparser-utilities

* Removed stream

* Only one phase, visiting the tree

* Moved error message

* Refactor

* Error message

* Reintroduced original grammar to support block

* Disabled comma expression in grammar, they should be only inside a modify block

* Variable declaration

* Multiple statements

* Refactor test

* Convert property access mixed

* Test modify

* Correct mvel modify syntax

* Renamed to DroolsConstraintParserTest.java

* New test in parser for modify

* Support MVEl modify statements

* Fix consequence

* Removed attach_pid files from git

* Modify is a statement, not an expression

* First draft of modify compiling

* testSetter

* StringLiteralExpressionT.java

* Removed duplicated test

* Method to find the stter

* Split among LHS and RHS

* String literal expression

* setter test passing, every other test failing

* Fixed property test

* Create a new declaration if missing

* Modify test

* Added transitive depedency

* Removed useless code

* Removed dependency from Drools Model Compiler

* Plugged in mvel compiler

* Refactor renaming

* Type is optional now

* Missing the scope from field accessors

* Public field accessor

* Pass scope instead of stack in context

* Refactor

* added todo

* Fix scope

* Refactor

* Uncompiled expression

* Plugged mvel compiler, found problems with modify and semicolons

* Added support for semicolon in mvel modify syntax

* Ignored test

* Added test

* Fix 7.20

* Preprocess methodcallexpr in modify statements

* sanitize single line scripts

* Plugged in compiler, removed validation of mvel scripts

* testAccessor ForArguments

* Better default method

* Fix testAccessorInArguments, broke other tests

* Fix all tests

* Removed println

* Better semicolons

* Semicolon sanitizier

* Also propagate errors

* Removed useless test

* Fix type in binary expressions

* Better sanitizier for modify

* Better sanitizer 2

* Do not append ; to empty strings

* Added modify object among modified properties

* Implement update with modify blocks

* Type resolver

* Better test

* Added trace of LHS

* Create new reference when missing

* Assume only one variable per decorator, removed declaration/declarator dualism

* testInitializerArrayAccess

* TypedExpression is an interface rather than an abstract class

* Map conversion

* testMixArrayMap and testMVELConsequenceWithMapsAndArray

* Test without semicolon

* Without semicolon test

* Fix rebase

* Fix hardcoded version

* Better test without semicolon

* simple test without semicolon

* Another test with method call

* Another test with method call

* Fix comment in GeneratedDrlConstraintParserTokenManagerBase.java

* Failing test with comment

* Test with comments passing

* Unignored test with comments

* New test for single line statement

* Single line block with comment with both and without semicolon

* Support empty statements with only new line

* All test passing

* Fix ModifyPreprocessPhase.java

* Fix first modify rewrite code, removed custom modify parsing

* Support new line in argument list

* Removed debug mode

* test property reactivity

* Fix modify empty block

* Fix new lines in argument list

* Removed SemicolonSanitizer.java

* Fix property reactivity

* Avoid processing nested methodCallExpr in modify setters

* fix NPE

* Refactor Mvel rewrite

* Removed mvel validation

* Removed unused import

* Fix AccumulateTest.testAccumulateMVELWithModify

* Fixed testNoLoopAccumulate

* Support target type when RHS type is missing

* Fix all AccumulaTest

* ImportsTest

* New test for EOL in BinaryExpr

* Support EOL after binary expr token

* Fix Nesting Test added new test for BinaryExpr with newLine

* Support variable declaration without initializer

* Fix StreamTest, correct drools scope

* Support arbitrary expressions in modify block

* Cep test, 4 tests left

* Better test

* Test for crashing pretty printer

* Fix rebase

* Added new test for new line expressions

* Added two new tests

* Fix typo

* Added negative test

* Formatting

* renamed test

* With statement support

* Constructor in with statement

* Correct implementation of with preprocessor

* Refactor

* Recurse over ModifyProcessor

* Fix MapInitializationDrools3800 by recursing the modify preprocessor

* Fix MapInitializationDrools3800 by recursing the modify preprocessor

* Use mvel compiler instead of ExpressionTyper during parsing of Mvel Accumulate Nodes

* Fix NPE

* Compilation after updating JP

* Fix mvel compiler dependency

* Fix version

* minimalized reproducer

* AST reproducer

* Compare reproducer with AssertJ

* Compare AST with diff, more similar

* Even more similar

* Avoid sharing static nodes that breaks the pretty printer

* Removed debugPrettyPrinter

* Reintroduced needed class generation

* Fix testPrettyPrinterCrashing

* Reverted model writer

* Revert packagemodel

* Reverted packageModel

* Removed PrettyPrinterTest.java

* Reverted ExpressionTyperTest.java

* Removed README.MD

* Duplication of removal of EmptyStmt

* Fixed ModifyCompilerTest

* Fix version

* Failing test for nested modify

* Recurse over blocks in consequence, new test for failing

* Fix ordering of with preprocessor

* Removed duplication in nested Modify preprocessor and fixed ordering

* Removed TODO

* Removed unused properties

* Public fields on LHS

* Removed another TODO

* Better type check

* Removed last todo

* Dependency in -boostrap

* Unsupported cases in DorolsConstraintParserTest

* Also support window EOL

* Renamed drools-constraint-parser to drools-mvel-parser

* Fix OSGI

* Assertj to test

* Removed ignore to 3505 test

* Fix typo

* Fix trace message

* Formatting

* Removed trace

* Added README.md of the module that explains how it works

* Fix typo

* Removed currying renamed method

* Renamed modified properties to used bindings

* Typo

* Removed drlconstraintparser

* Used consumer in test, reformatting

* Unused statement

* Added some documentation

* Improved documentation of the module

  1. … 158 more files in changeset.
[DROOLS-4085] Support follow redirects and avoid using external URL (#2369)

* [DROOLS-4085] Support follow redirects and avoid using external URL for change set XSD

* Remove all other references to external XSD

* Avoid getting XSD from the internet

  1. … 9 more files in changeset.
[DROOLS-3825] Use stable names for generated classes

  1. … 2 more files in changeset.
DROOLS-3988 Fix change-set XSD URL (#2333)

  1. … 9 more files in changeset.
DROOLS-3836 Handle possible null date value returned from trigger (#2297)

  1. … 10 more files in changeset.
DROOLS-3764 Raise timeout for a test (#2280)

DROOLS-3671 Wait for expiration propagation flush in expiration tests (#2262)

DROOLS-3663 Raise timeout of tests (#2260)

* DROOLS-3663 Raise timeout of a test

* DROOLS-3663 Raise timeout for tests

  1. … 1 more file in changeset.
[DROOLS-3607] support property reactivity for beans annotated with @propertyChangeSupport

  1. … 2 more files in changeset.
[DROOLS-3606] take count of alpha constraints in from node when calculating its own property reactivity mask

  1. … 2 more files in changeset.
[DROOlS-3554] fix removal of rule with accumulate performing a logical assertion

  1. … 5 more files in changeset.
[DROOLS-3499] allow both prefixed and infixed AND in nested accumulates (#2210)

  1. … 1 more file in changeset.
[DROOLS-3479] fix support of KieBase include in executable model (#2208)

    • -0
    • +143
    ./drools/compiler/integrationtests/KieBaseIncludeTest.java
  1. … 5 more files in changeset.
[RHDM-709][RHPAM-1453] upgrade mvel version (#2196)

  1. … 18 more files in changeset.
[DROOLS-2646] fix rewiring of left tuples' linked list for tuples having a peer when a rule is removed during incremental compilation

  1. … 1 more file in changeset.
[DROOLS-3332] make the heuristic to decide how many rules should go in an executable model class file more strict (#2161)

* DROOLS-3332 Add reproducer for handling large DRL file

* [DROOLS-3332] make the heuristic to decide how many rules should go in an executable model class file more strict

(cherry picked from commit b216ce40706bed9909db93087b3fce54ae30335b)

  1. … 8 more files in changeset.
[DROOLS-3332] make the heuristic to decide how many rules should go in an executable model class file more strict (#2161)

* DROOLS-3332 Add reproducer for handling large DRL file

* [DROOLS-3332] make the heuristic to decide how many rules should go in an executable model class file more strict

  1. … 8 more files in changeset.
DROOLS-3310 Uningore parallel agenda test (#2146)

[DROOLS-3194] jdk11 support (#2145)

  1. … 18 more files in changeset.
[DROOLS-2989] Avoid refire of rules with synthetic Fact Handles (#2106)

* Added test for deserialization

* Test for simple alpha node in MarshallerTest.java

* private node memories, add synthetic facts' object to a map in the agenda

* Proto syntax

* Regenerated protobuf messages

* Add object during serialization

* Added object to FromNodeMemory

* Need an index to serialize the object

* Added index to object serialization

* Read node memories object

* Avoid refire marshalled FactHandle

* Use old mechanism to avoid refiring in node != FromNode

* New test for unfired tuples

* Serialize dormant objecgt

* NodeId

* Match against object

* Dormient objects are already serialized

* Correct matching of objects

* Nullcheck

* Refactor

* Fix regression

* Removed useless code

* Removed dead code

* Fix regression

* Accumulate test

* Rebase

* RenamedTest

* New test for accumulate

* New test for RIAN

* new test

* JavaSerializableResolverStrategy

* Use java serialization encoder

* Changed testSubnetwork test

* Better test

* New test for subnetworks

* New test for subnetwork

* Do not serialize test

* ProtobufInputMarshaller returns the message along with the session

* testAgendaDoNotSerializeObject check if no objects are serialized

* Avoid deserializing if empty

* Serialize object only with FromNode

* Serialize object only with AccumulateNode

* Disposal of ksession

* Removed unnecessary code in ProtobufTestMarshaller

* Fix regression in test

* Removed assertion on demarshalling

* Explicit class loader

* Removed println

  1. … 16 more files in changeset.
DROOLS-3006 Move test cases affected by equality mode to a separate package (#2114)

* DROOLS-3006 Tidy up test parameterization before a small refactor

* DROOLS-3006 Simplify tests parameterization

* DROOLS-3006 Imports optimization

* DROOLS-3006 Move tests with equality mode asserts to a separate package

* DROOLS-3006 Remove equality mode from basic test parameters

* DROOLS-3006 Add basic equality mode tests

    • -0
    • +148
    ./drools/compiler/integrationtests/AbstractCepEspTest.java
    • -0
    • +131
    ./drools/compiler/integrationtests/drl/AbstractDeclareTest.java
  1. … 21 more files in changeset.
[DROOLS-3076] KieSession pool (#2099)

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

  1. … 23 more files in changeset.
[DROOLS-2133] fix rule units unbinding

  1. … 1 more file in changeset.
[DROOLS-2990] fix dsl generation of constraint calling a constructor in executable model

  1. … 12 more files in changeset.
[DROOLS-2990] fix dsl generation of constraint calling a constructor in executable model

(cherry picked from commit c0e630ae2bd05d2ccd36f87f440f39fd7657add0)

  1. … 12 more files in changeset.
[RHDM-709] reset mvel parser configuration during incremental compilation

  1. … 3 more files in changeset.
[DROOLS-2634] complete CEP support in executable model

  1. … 45 more files in changeset.