Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 147 more files in changeset.
DROOLS-3542 DMN FEEL function parameter typecheck (#2372)

* DROOLS-3542 DMN FEEL function parameter typecheck

* .

* .

* Implement code review feedback

* Implement code review feedback

    • -55
    • +7
    ./feel11/CompiledCustomFEELFunction.java
  1. … 10 more files in changeset.
DROOLS-4088 DMN FEEL instance of minor alignments (#2367)

  1. … 4 more files in changeset.
Update Java Parser from 3.10.2 to 3.13.10 (#2353)

* Drools compile after upgrade of JP from 3.10.2 to 3.13.10

* DrlNameExpr is a NameExpr

* support toString in DroolsConstraintParser nodes

    • -30
    • +33
    ./feel11/DirectCompilerVisitor.java
  1. … 20 more files in changeset.
DROOLS-3848 DMN Years and Months internals expect value is Comparable (#2315)

* DROOLS-3848 DMN Years and Months internals expect value is Comparable

* Move ComparablePeriod to standalone class

* formatting.

* Implement code review feedback and enforce type change for +- binary ops

* Handle user-provided Collection<Period> instead of <ComparablePeriod>

* .

    • -2
    • +2
    ./feel11/CompiledFEELSemanticMappings.java
  1. … 27 more files in changeset.
DROOLS-3813 DMN refactor for platform ability to classload (#2305)

  1. … 1 more file in changeset.
DROOLS-3858 DMN fix large memory allocation bug (#2304)

* DROOLS-3858 WIP

* Avoid retaining lexer structures.

* Proper fix for DMN layer

  1. … 4 more files in changeset.
DROOLS-3670 DMN `between` FEEL operator alignments (#2267)

* DROOLS-3670 DMN `between` FEEL operator alignments

* DROOLS-3670: Test now() between two date times

* Align test for deterministic result checks

    • -7
    • +5
    ./feel11/CompiledFEELSemanticMappings.java
  1. … 6 more files in changeset.
Drools Constraint Parser (#2266)

* Namespace changes

* Fix print util

* Compile

* Lots of test passing

* Other test passing

* 5 tests failing

* 4 tests filing

* 43 + 122

* 43+110

* 45+96

* 45+82

* 47+52

* 47+48

* NullSafeFieldAccess and NullSafeMethodCall

* 47 + 32

* 47 + 27

* 47+17

* 51+1

* 4 test failed! omg

* 2 test left

* Two tests left

* Fix cep tests

* 1 test left

* Fixed all tests in drools-model-compiler

* Sanitize scope during eval of constand fields

* Drools-constraint-parser

* FromVisitor support from DrlNameExpr

* Removed enforcer skip, explicit version

* Removed useless plugings

* Removed templating-maven-plugin and license tag

* Added brace statements

* Space after if

    • -11
    • +11
    ./feel11/ASTCompilerVisitor.java
    • -17
    • +17
    ./feel11/CompiledFEELSupport.java
    • -10
    • +10
    ./feel11/CompilerBytecodeLoader.java
    • -31
    • +31
    ./feel11/DirectCompilerVisitor.java
  1. … 113 more files in changeset.
DROOLS-3627 DMN compare FEEL time with tz (#2248)

* WIP

* adding small comments as suggested.

    • -11
    • +13
    ./feel11/CompiledFEELSemanticMappings.java
  1. … 3 more files in changeset.
Fix for drlx-parser rebase (#2216)

* Added file

* Updated to drlx-parser after rebasing to 3.10.2

    • -19
    • +22
    ./feel11/DirectCompilerVisitor.java
  1. … 10 more files in changeset.
[DROOLS-3348] Support Compiled Feel Expression in the kie-maven-plugin (#2173)

* reproducer

* USe maven plugin to generate classes

* Added partner dmn file

* Generate Feel Expression Source

* Generated Feel Expression source

* Read class from source

* Use correct class name

* Refactor

* Also generate input clauses

* First draft of input clause

* INput clause

* Read input clauses

* Refactor

* Refactor

* Refactor

* Moved methods

* Generate rows

* Generate input rowsi

* Input rows

* Fix typo

* Removed class

* Reenabled test

* Fix compilation

* Fix generation

* Update version

* InitRows using JavaParser

* each two there should it be an array

* Fix test

* Input clause with JavaParser

* Removed output clauses

* Fix package

* Moved to separated class

* Removed StringBuilder

* Use JavaParserSourceGenerator

* Removed lambda from FeelEpxressionSourceGenerator

* Some more methods

* Removed yet another part of javaparser

* Source generator (almost) never use Javaparser

* Added license

* Fix regression

* Extracted field

* Generate Feel Expression class only when using it with the Maven Plugin

* Removed useless logger

* Read output clauses

* Avoid checking for exception

* Fix class reading

* Removed duplication

* Iterate over input clauses

* Removed context and interfaces

* Iterate over rows

* Reverted whitespace changes

* Removed method

* Listener to check the number of class generated

* Fix generation of FeelExpression class

* New test for DMN

* Removed test project

* Removed useless code

* Fix after review

* Space after if

    • -0
    • +10
    ./feel11/CompilerBytecodeLoader.java
  1. … 9 more files in changeset.
RHDM-801: improving FEEL parser to support variable names containing the 'in' keyword everywhere except 'for' loops and in the 'every'/'some' quantifiers (#2167)

  1. … 7 more files in changeset.
[DROOLS-3112] FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper (#2112)

* [DROOLS-3112] FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper

* add dep to JavaParser

    • -0
    • +102
    ./feel11/ProcessedExpression.java
    • -0
    • +58
    ./feel11/ProcessedFEELUnit.java
    • -0
    • +85
    ./feel11/ProcessedUnaryTest.java
  1. … 13 more files in changeset.
[DROOLS-3088] FEEL Compiler: refactor to AST-based tree walk (#2107)

* [DROOLS-3088] FEEL Compiler: refactor to AST-based tree walk

* missing push/pop in scope handler

* missing ! in FEEL grammar

* reworded rewrite ast methods

* remove commented out code

* add copyright notices

* use precise pow for big decimal

    • -0
    • +591
    ./feel11/ASTCompilerVisitor.java
    • -0
    • +202
    ./feel11/ASTUnaryTestTransform.java
    • -47
    • +70
    ./feel11/CompiledFEELSemanticMappings.java
    • -0
    • +99
    ./feel11/Constants.java
    • -0
    • +54
    ./feel11/Contexts.java
    • -0
    • +206
    ./feel11/DefaultedVisitor.java
    • -0
    • +410
    ./feel11/Expressions.java
    • -0
    • +70
    ./feel11/FeelCtx.java
    • -0
    • +92
    ./feel11/Functions.java
  1. … 39 more files in changeset.
Integrated a BigDecimal Math Library to support the power FEEL function with non integer exponent. Also used that new library to change the sqrt() FEEL function to use that library. (#2148)

  1. … 5 more files in changeset.
DROOLS-3070 Ensure DMN tests run parameterized with executable model (#2096)

* DROOLS-3070 Add exec model parameter to additional tests in kie-dmn-core

* DROOLS-3070 Fix checkstyle warnings in kie-dmn-core tests

* DROOLS-3070 Add exec. model parameter to FEEL extended profile tests

* DROOLS-3070 Fix checkstyle warnings in kie-dmn-feel runtime tests

* DROOLS-3070 Cast the left part of a "+" expression to BigDecimal

  1. … 64 more files in changeset.
DROOLS-3071 Fix binary op handling, add cast to bigdecimal (#2094)

    • -16
    • +27
    ./feel11/DirectCompilerVisitor.java
  1. … 1 more file in changeset.
DROOLS-2823 FEEL Parser: refactor `not` unary negation and `not` function call; fix support to wildcard `?` (#2059) (#2074)

* wip

* all tests pass

* wip

* fix input var type

* fields order, notExitst builtin f

* most compile-time tests pass

* fix all compiler tests

* fix all tests

* grammar fix

* cleanup

* move method back into its original position

* fix short-circuiting on null (notExists)

* test support to listeners

* fix error logging

* remove decision table in feel expresion tests -- no longer in 1.2

* replace commented out tests with error-checking tests

* move NOT to lexing section;

* fix erroneous reference to non-existing symbol "Not_Key"

(cherry picked from commit 23b87d2e62a1f550ed7afd47dba27b34c9b9a01c)

    • -1
    • +23
    ./feel11/CompiledFEELSemanticMappings.java
    • -2
    • +13
    ./feel11/CompilerBytecodeLoader.java
    • -118
    • +289
    ./feel11/DirectCompilerVisitor.java
  1. … 24 more files in changeset.
DROOLS-2823 FEEL Parser: refactor `not` unary negation and `not` function call; fix support to wildcard `?` (#2059)

* wip

* all tests pass

* wip

* fix input var type

* fields order, notExitst builtin f

* most compile-time tests pass

* fix all compiler tests

* fix all tests

* grammar fix

* cleanup

* move method back into its original position

* fix short-circuiting on null (notExists)

* test support to listeners

* fix error logging

* remove decision table in feel expresion tests -- no longer in 1.2

* replace commented out tests with error-checking tests

* move NOT to lexing section;

* fix erroneous reference to non-existing symbol "Not_Key"

    • -1
    • +23
    ./feel11/CompiledFEELSemanticMappings.java
    • -2
    • +13
    ./feel11/CompilerBytecodeLoader.java
    • -118
    • +289
    ./feel11/DirectCompilerVisitor.java
  1. … 24 more files in changeset.
DROOLS-2812 FEEL Translation number coercion for QualifiedName accessor (#2004)

  1. … 3 more files in changeset.
[DROOLS-2766] compilation of DMN decision tables (#1996)

    • -26
    • +49
    ./feel11/CompilerBytecodeLoader.java
  1. … 24 more files in changeset.
DROOLS-2732 FEEL invoking a function on a literal context (#1979)

  1. … 7 more files in changeset.
DROOLS-1701 Final refactoring accordingly to PR comments and feedback

DROOLS-1701 Final refactoring accordingly to PR comments and feedback

DROOLS-1701 Final refactoring accordingly to PR comments and feedback

    • -2
    • +1
    ./feel11/CompiledFEELSemanticMappings.java
    • -23
    • +23
    ./feel11/DirectCompilerVisitor.java
  1. … 11 more files in changeset.
DROOLS-1701 Final touches (#14)

* DROOLS-1701 Fix vararg in external functions

* DROOLS-1701 Enforce BigDecimal type on add

* DROOLS-1701 Catch and report cast exception on Period ranges

    • -1
    • +14
    ./feel11/CompiledFEELSemanticMappings.java
DROOLS-1701 decide unary `not` execution at runtime (#13)

    • -0
    • +24
    ./feel11/CompiledFEELSemanticMappings.java
    • -16
    • +45
    ./feel11/DirectCompilerVisitor.java
DROOLS-1701 minor refactoring

    • -88
    • +26
    ./feel11/CompilerBytecodeLoader.java
    • -20
    • +0
    ./feel11/DirectCompilerVisitor.java
  1. … 1 more file in changeset.
DROOLS-1701 unary not expression (#12)

    • -0
    • +57
    ./feel11/CompiledFEELSemanticMappings.java
    • -12
    • +43
    ./feel11/DirectCompilerVisitor.java
DROOLS-1701 Properly escape strings on compile (#11)

DROOLS-1701 Report compilation error as a runtime error (#10)

    • -0
    • +8
    ./feel11/FEELCompilationError.java
  1. … 2 more files in changeset.