Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-3583] ignore one line comments in consequences when doing property reactivity analisys

  1. … 1 more file in changeset.
[KOGITO-608] restore kie-soup MVELEvaluator

  1. … 6 more files in changeset.
[KOGITO-608] remove dependency from TypeResolver in kie-soup (#2668)

  1. … 79 more files in changeset.
decouple ruleunit + pluggable classloader (#2652)

* decouple ruleunit

* pluggable classloader

* create osgi bundle

* register dynamic component factory in osgi Activator

* fix osgi integration

  1. … 195 more files in changeset.
[DROOLS-4784] fix index generation in executable model when a bean property name is all uppercase

  1. … 5 more files in changeset.
[DROOLS-4475] generate stable ids for field indexes across different executable model compilations (#2603)

  1. … 11 more files in changeset.
[DROOLS-4632] optimize single pattern forall statement

  1. … 57 more files in changeset.
DROOLS-4554 Port SonarCloud fixes from kogito-runtimes (#2547)

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

  1. … 92 more files in changeset.
[DROOLS-4475] generate stable ids for field indexes across different executable model compilations (#2523)

  1. … 11 more files in changeset.
[DROOLS-4358] remove out of quote line separators when generating drl from a decision table

  1. … 6 more files in changeset.
DROOLS-4184 Fix first set of issues reported by SonarCloud (#2398)

* DROOLS-4181 Fix blocker issues reported by SonarCloud

* DROOLS-4181 Fix critical issues reported by SonarCloud

* DROOLS-4181 Fix first set of major issues reported by SonarCloud

* DROOLS-4181 Fix second set of major issues reported by SonarCloud

* DROOLS-4181 Fix third set of major issues reported by SonarCloud

* DROOLS-4181 Fix test related to SonarCloud fixes.

* DROOLS-4181 Fix downstream problems.

  1. … 143 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-4150] make FactHandles serializable (#2383)

* [DROOLS-4150] make FactHandles serializable

* [DROOLS-4150] make FactHandles serializable

  1. … 34 more files in changeset.
[RHDM-969] avoid serializing a DMNPackage when serialization is done for cloning purpose (#2368)

  1. … 6 more files in changeset.
[DROOLS-3523] group drl files in KieBases by packages instead of folders (#2246)

* [DROOLS-3523] group drl files in KieBases by packages instead of folders

* [DROOLS-3523] group drl files in KieBases by packages instead of folders

  1. … 10 more files in changeset.
[RHDM-709][RHPAM-1453] upgrade mvel version (#2196)

    • -0
    • +304
    ./asm/DumpMethodVisitor.java
  1. … 16 more files in changeset.
DROOLS-3343 Refactor Message/MessageImpl to avoid rely on impl (#2163)

* DROOLS-3343 Refactor Message/MessageImpl to avoid rely on impl

* Realign imports in other modules

* .

* .

  1. … 30 more files in changeset.
[DROOLS-3194] jdk11 support (#2145)

    • -0
    • +304
    ./asm/DumpMethodVisitor.java
  1. … 16 more files in changeset.
[DROOLS-3076] test and fix ScalablePool

  1. … 2 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.
[BAPL-794] allow to set Calendars on a KieSession in a declartive way (#2103)

  1. … 4 more files in changeset.
[DROOLS-2996] fix property reactivity introspection when a method invocation is on the right side of a constraint

  1. … 3 more files in changeset.
[DROOLS-2724] make executable model to handle field names with second letter in uppercase

(cherry picked from commit 0f1dabc880b1f22245b311138ee09cab8014220a)

  1. … 4 more files in changeset.
[DROOLS-2724] make executable model to handle field names with second letter in uppercase

  1. … 4 more files in changeset.
[DROOLS-2929] avoid using the native java compiler when running inside jbossù

  1. … 1 more file in changeset.
[findbugs] Fix externalizable classes and equals(null) (#1983)

* [findbugs] Class is Externalizable but doesn't define a void constructor

* [findbugs] equals() method does not check for null argument

  1. … 7 more files in changeset.
[FINDBUGS] First bunch of fixes for problems reported by FindBugs in drools-core (#1971)

* [findbugs] Create classloaders only inside doPrivileged block

* [findbugs] Use correct map for accumulate imports initialization

* [findbugs] Uncallable method defined in anonymous class

* [findbugs] Impossible cast

* [findbugs] Code checks for specific values returned by compareTo

* [findbugs] Bad attempt to compute abs. value of signed 32-bit hashcode

* [findbugs] Nullcheck of value previously dereferenced

* [findbugs] Uninit. read of field method called from constr. of superclass

* [findbugs] equals overrides equals in superclass and may not be symmetric

* [findbugs] Possible null pointer dereference

* [findbugs] Fix failing tests

* [findbugs] Should be a static inner class

* [findbugs] Private method is never called

* [findbugs] Inefficient use of keySet iterator instead of entrySet iterator

* [findbugs] Private method is never called

* [findbugs] Method concatenates strings using + in a loop

* [findbugs] Method invokes inefficient Number constructor

* [findbugs] Boxing/unboxing to parse a primitive

* [findbugs] Boxed value is unboxed and then immediately reboxed

* [findbugs] Other boxing/unboxing issues

* [findbugs] Method allocates a boxed primitive just to call toString

* [findbugs] Fix test

* [findbugs] Sequence of calls to concurrent abstraction may not be atomic

* [findbugs] Possible double check of field (double-checked locking)

* [findbugs] Method does not release lock on all exception paths

* [findbugs] Class is Serializable, but doesn't define serialVersionUID

* [findbugs] Method ignores exceptional return value

* [findbugs] Method uses the same code for two branches

* [findbugs] Write to static field from instance method

* Revert to instanceOf comparison

  1. … 60 more files in changeset.
[DROOLS-2695] make beta node indexes to support type coercion (#1973)

* [DROOLS-2695] make beta node indexes to support type coercion

* [DROOLS-2695] make beta node indexes to support type coercion

(cherry picked from commit 09d3c3ab1b687f3ad16bad9a874e233f1836302e)

  1. … 2 more files in changeset.
[DROOLS-2695] make beta node indexes to support type coercion (#1973)

* [DROOLS-2695] make beta node indexes to support type coercion

* [DROOLS-2695] make beta node indexes to support type coercion

  1. … 2 more files in changeset.
[DROOLS-2455] fix beta nodes sharing

(cherry picked from commit cf8de3f25ab97132c96cbc9a80d1d4c4f114908c)

  1. … 17 more files in changeset.