sling-org-apache-sling-scripting-sightly-compiler.git
6 weeks ago[maven-release-plugin] prepare for next development iteration master
Radu Cotescu [Wed, 31 Oct 2018 16:39:14 +0000 (17:39 +0100)] 
[maven-release-plugin] prepare for next development iteration

6 weeks ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler... org.apache.sling.scripting.sightly.compiler-1.1.0-1.4.0
Radu Cotescu [Wed, 31 Oct 2018 16:38:53 +0000 (17:38 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.1.0-1.4.0

6 weeks agoSLING-8012 - Extract an HTL runtime bundle from the existing HTL modules
Radu Cotescu [Wed, 31 Oct 2018 16:14:28 +0000 (17:14 +0100)] 
SLING-8012 - Extract an HTL runtime bundle from the existing HTL modules

* updated dependencies

8 weeks agoSLING-8012 - Extract an HTL runtime bundle from the existing HTL modules
Radu Cotescu [Thu, 18 Oct 2018 14:13:41 +0000 (16:13 +0200)] 
SLING-8012 - Extract an HTL runtime bundle from the existing HTL modules

* added runtime require capability

8 weeks agoSLING-8012 - Extract an HTL runtime bundle from the existing HTL modules
Radu Cotescu [Thu, 18 Oct 2018 13:43:15 +0000 (15:43 +0200)] 
SLING-8012 - Extract an HTL runtime bundle from the existing HTL modules

* removed embedded antlr4-runtime; now depending on external dependency for the
ANTLR runtime
* delegated calls to the ObjectModel coming from the org.apache.sling.scripting.sightly.runtime
module and deprecated local org.apache.sling.scripting.sightly.compiler.util.ObjectModel
* deprecated org.apache.sling.scripting.sightly.compiler.RuntimeFunction

2 months agotrivial: added license header to *.md files
Radu Cotescu [Thu, 20 Sep 2018 09:09:07 +0000 (11:09 +0200)] 
trivial: added license header to *.md files

2 months agoSLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:29:21 +0000 (18:29 +0200)] 
SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module

2 months agoSLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:04:03 +0000 (18:04 +0200)] 
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module

5 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 19 Jun 2018 10:56:06 +0000 (12:56 +0200)] 
[maven-release-plugin] prepare for next development iteration

5 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler... org.apache.sling.scripting.sightly.compiler-1.0.22-1.4.0
Radu Cotescu [Tue, 19 Jun 2018 10:55:21 +0000 (12:55 +0200)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.22-1.4.0

5 months agoSLING-7681 - HTL 1.4 support
Radu Cotescu [Tue, 19 Jun 2018 09:18:39 +0000 (11:18 +0200)] 
SLING-7681 - HTL 1.4 support

* improved Provide / Require Capability headers

5 months agoMerge branch 'master' into issue/SLING-7681
Radu Cotescu [Mon, 18 Jun 2018 09:12:25 +0000 (11:12 +0200)] 
Merge branch 'master' into issue/SLING-7681

* added additional fix for SLING-7710

5 months agoSLING-7740 - [HTL] Extend the list of attributes for which the 'uri' context is autom...
Radu Cotescu [Fri, 15 Jun 2018 13:00:20 +0000 (15:00 +0200)] 
SLING-7740 - [HTL] Extend the list of attributes for which the 'uri' context is automatically applied

6 months agoSLING-7710 - [HTL] Enhance error reporting for plugin errors
Radu Cotescu [Tue, 12 Jun 2018 14:34:15 +0000 (16:34 +0200)] 
SLING-7710 - [HTL] Enhance error reporting for plugin errors

* improved error reporting for missing required plugin identifiers
* corrected line and column reporting (both start now at 1)

6 months agoUpdating badges for org-apache-sling-scripting-sightly-compiler
Dan Klco [Fri, 8 Jun 2018 19:50:19 +0000 (15:50 -0400)] 
Updating badges for org-apache-sling-scripting-sightly-compiler

6 months agoMerged master into issue/SLING-7681
Radu Cotescu [Fri, 8 Jun 2018 19:28:13 +0000 (21:28 +0200)] 
Merged master into issue/SLING-7681

* brought in fixes for SLING-7710, SLING-7549

6 months agoSLING-7549 - <link> tag is not being treated as "self closing" when used in conjuncti...
Radu Cotescu [Fri, 8 Jun 2018 19:22:04 +0000 (21:22 +0200)] 
SLING-7549 - <link> tag is not being treated as "self closing" when used in conjunction with HTL block statements

* corrected HTML's parser behaviour for HTML5 void elements by not requiring that such a tag is
explicitly closed

6 months agoSLING-7713 - [HTL] Add support for data-sly-unwrap identifiers
Radu Cotescu [Thu, 7 Jun 2018 12:16:50 +0000 (14:16 +0200)] 
SLING-7713 - [HTL] Add support for data-sly-unwrap identifiers

6 months agoSLING-7710 - [HTL] Enhance error reporting for plugin errors
Radu Cotescu [Wed, 6 Jun 2018 13:52:48 +0000 (15:52 +0200)] 
SLING-7710 - [HTL] Enhance error reporting for plugin errors

6 months agoSLING-7709 - [HTL] Implement the data-sly-set block element
Radu Cotescu [Wed, 6 Jun 2018 13:33:42 +0000 (15:33 +0200)] 
SLING-7709 - [HTL] Implement the data-sly-set block element

6 months agoSLING-7701 - [HTL] Add support for negative numbers
Radu Cotescu [Fri, 1 Jun 2018 14:52:38 +0000 (16:52 +0200)] 
SLING-7701 - [HTL] Add support for negative numbers

6 months agoSLING-7700 - [HTL] Implement operator precedence for binary operations
Radu Cotescu [Thu, 31 May 2018 13:11:19 +0000 (15:11 +0200)] 
SLING-7700 - [HTL] Implement operator precedence for binary operations

6 months agoSLING-7688 - [HTL] Add support for the in relational operator
Radu Cotescu [Tue, 29 May 2018 13:14:56 +0000 (15:14 +0200)] 
SLING-7688 - [HTL] Add support for the in relational operator

6 months agoSLING-7682 - Add support for data-sly-list and data-sly-repeat iteration control
Radu Cotescu [Fri, 25 May 2018 11:27:45 +0000 (13:27 +0200)] 
SLING-7682 - Add support for data-sly-list and data-sly-repeat iteration control

* implemented code changes
* updated HTL TCK module to current snapshot

10 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 23 Jan 2018 15:55:32 +0000 (17:55 +0200)] 
[maven-release-plugin] prepare for next development iteration

10 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler... org.apache.sling.scripting.sightly.compiler-1.0.20-1.3.1
Radu Cotescu [Tue, 23 Jan 2018 15:55:14 +0000 (17:55 +0200)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.20-1.3.1

10 months agoSLING-7406 - Provide HTL specification version info in artifact names
Radu Cotescu [Fri, 19 Jan 2018 19:58:17 +0000 (20:58 +0100)] 
SLING-7406 - Provide HTL specification version info in artifact names

10 months agoSLING-7404 - ObjectModel and similar classes need consistent null checks
Radu Cotescu [Fri, 19 Jan 2018 13:37:19 +0000 (14:37 +0100)] 
SLING-7404 - ObjectModel and similar classes need consistent null checks

(closes #2)

10 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 16 Jan 2018 10:30:10 +0000 (11:30 +0100)] 
[maven-release-plugin] prepare for next development iteration

10 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Tue, 16 Jan 2018 10:29:48 +0000 (11:29 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.18

10 months agoSLING-7380 - Querying maps with Integer keys returns null
Radu Cotescu [Mon, 15 Jan 2018 13:00:30 +0000 (14:00 +0100)] 
SLING-7380 - Querying maps with Integer keys returns null

* allow maps with any type of key to be queried directly
(closes #1)

11 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Thu, 14 Dec 2017 15:07:00 +0000 (16:07 +0100)] 
[maven-release-plugin] prepare for next development iteration

11 months agocorrected imports wrongly removed in b388743 org.apache.sling.scripting.sightly.compiler-1.0.16
Radu Cotescu [Thu, 14 Dec 2017 15:05:58 +0000 (16:05 +0100)] 
corrected imports wrongly removed in b388743

11 months agocorrected imports wrongly removed in b388743
Radu Cotescu [Thu, 14 Dec 2017 14:58:29 +0000 (15:58 +0100)] 
corrected imports wrongly removed in b388743

12 months agoSLING-7304 - Add support for primitive arrays in ObjectModel#toString and ObjectModel...
Radu Cotescu [Wed, 13 Dec 2017 16:52:24 +0000 (17:52 +0100)] 
SLING-7304 - Add support for primitive arrays in ObjectModel#toString and ObjectModel#toCollection

12 months agocosmetic: remove some unused imports
sseifert [Mon, 4 Dec 2017 10:24:35 +0000 (11:24 +0100)] 
cosmetic: remove some unused imports

13 months agoSLING-7213 - Add a default .gitignore file to every module
Robert Munteanu [Tue, 24 Oct 2017 11:41:01 +0000 (13:41 +0200)] 
SLING-7213 - Add a default .gitignore file to every module

13 months agoSLING-7214 - Add the LICENSE file to every module
Robert Munteanu [Mon, 23 Oct 2017 16:38:24 +0000 (18:38 +0200)] 
SLING-7214 - Add the LICENSE file to every module

13 months agoreleng: added .gitignore file
Radu Cotescu [Mon, 23 Oct 2017 11:22:43 +0000 (13:22 +0200)] 
releng: added .gitignore file

13 months agoFix typo in pom.xml : conncetion should be connection
Robert Munteanu [Mon, 23 Oct 2017 09:06:30 +0000 (12:06 +0300)] 
Fix typo in pom.xml : conncetion should be connection

13 months agoSLING-7162 - Update SCM information in all POM files to reference Git
Robert Munteanu [Fri, 20 Oct 2017 17:13:17 +0000 (19:13 +0200)] 
SLING-7162 - Update SCM information in all POM files to reference Git

14 months agoSLING-7167 Adjust READMEs
Oliver Lietz [Tue, 3 Oct 2017 10:00:19 +0000 (10:00 +0000)] 
SLING-7167 Adjust READMEs

add uniform header linking to Sling project

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810875 13f79535-47bb-0310-9956-ffa450edef68

14 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Fri, 15 Sep 2017 07:20:12 +0000 (07:20 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808420 13f79535-47bb-0310-9956-ffa450edef68

14 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Fri, 15 Sep 2017 07:19:56 +0000 (07:19 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.14

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808418 13f79535-47bb-0310-9956-ffa450edef68

15 months agoSLING-7123 - ObjectModel does not correctly analyse all super types when solving...
Radu Cotescu [Wed, 13 Sep 2017 12:22:30 +0000 (12:22 +0000)] 
SLING-7123 - ObjectModel does not correctly analyse all super types when solving methods

* ignored NoSuchMethodExceptions thrown by #getClassMethod so that all super types can be
analysed when looking for public methods

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808232 13f79535-47bb-0310-9956-ffa450edef68

15 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 29 Aug 2017 11:06:24 +0000 (11:06 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806559 13f79535-47bb-0310-9956-ffa450edef68

15 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Tue, 29 Aug 2017 11:06:08 +0000 (11:06 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.12

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806557 13f79535-47bb-0310-9956-ffa450edef68

15 months agotrivial: corrected javadoc formatting
Radu Cotescu [Tue, 29 Aug 2017 10:00:06 +0000 (10:00 +0000)] 
trivial: corrected javadoc formatting

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806549 13f79535-47bb-0310-9956-ffa450edef68

15 months agoSLING-7085 - Reduce code duplication
Radu Cotescu [Fri, 25 Aug 2017 12:50:08 +0000 (12:50 +0000)] 
SLING-7085 - Reduce code duplication

* exported org.apache.sling.scripting.sightly.compiler.util.ObjectModel
* delegated calls from org.apache.sling.scripting.sightly.render.AbstractRuntimeObjectModel to ObjectModel

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806167 13f79535-47bb-0310-9956-ffa450edef68

15 months agoSLING-7084 - Coverage report is not generated correctly for HTL modules
Radu Cotescu [Thu, 24 Aug 2017 13:10:03 +0000 (13:10 +0000)] 
SLING-7084 - Coverage report is not generated correctly for HTL modules

* switched to slingstart-maven-plugin 1.7.7-SNAPSHOT, until 1.7.8 is released
* updated JaCoCo version to 0.7.9
* based tests on released Apache Sling Launchpad 9
* increased LaunchpadReadyIT timeouts from 20 to 60 seconds

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806038 13f79535-47bb-0310-9956-ffa450edef68

16 months agoSLING-7040 : Update commons lang 2.x to 3.5
Carsten Ziegeler [Wed, 9 Aug 2017 16:16:08 +0000 (16:16 +0000)] 
SLING-7040 : Update commons lang 2.x to 3.5

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1804572 13f79535-47bb-0310-9956-ffa450edef68

16 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Wed, 2 Aug 2017 09:51:10 +0000 (09:51 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803794 13f79535-47bb-0310-9956-ffa450edef68

16 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Wed, 2 Aug 2017 09:50:54 +0000 (09:50 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.10

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803792 13f79535-47bb-0310-9956-ffa450edef68

16 months agoreleng: updated Provide-Capability bundle headers for HTL modules
Radu Cotescu [Tue, 1 Aug 2017 10:14:47 +0000 (10:14 +0000)] 
releng: updated Provide-Capability bundle headers for HTL modules

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803634 13f79535-47bb-0310-9956-ffa450edef68

16 months agoSLING-7024 - Sightly doesn't allow to emit style or on event attributes for data...
Radu Cotescu [Tue, 1 Aug 2017 10:14:41 +0000 (10:14 +0000)] 
SLING-7024 - Sightly doesn't allow to emit style or on event attributes for data-sly-attribute

* improved logging message for the AttributePlugin

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1803633 13f79535-47bb-0310-9956-ffa450edef68

18 months agoSLING-6866 - HTL doesn't allow to overwrite the context for data-sly-text
Radu Cotescu [Tue, 6 Jun 2017 14:16:04 +0000 (14:16 +0000)] 
SLING-6866 - HTL doesn't allow to overwrite the context for data-sly-text

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1797789 13f79535-47bb-0310-9956-ffa450edef68

19 months agoTypo in comment
Robert Munteanu [Thu, 20 Apr 2017 08:30:54 +0000 (08:30 +0000)] 
Typo in comment

Fixed typo: "perhaps"

Submitted-By: Lars Trieloff
Closes #215

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1792026 13f79535-47bb-0310-9956-ffa450edef68

21 months agouse Sling Parent 30
Oliver Lietz [Mon, 6 Mar 2017 10:31:22 +0000 (10:31 +0000)] 
use Sling Parent 30

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785622 13f79535-47bb-0310-9956-ffa450edef68

21 months agotrivial: clarified license for HTL compiler dependencies
Radu Cotescu [Tue, 28 Feb 2017 10:12:57 +0000 (10:12 +0000)] 
trivial: clarified license for HTL compiler dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784711 13f79535-47bb-0310-9956-ffa450edef68

21 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Mon, 27 Feb 2017 11:03:01 +0000 (11:03 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784530 13f79535-47bb-0310-9956-ffa450edef68

21 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Mon, 27 Feb 2017 11:02:46 +0000 (11:02 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.8

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784528 13f79535-47bb-0310-9956-ffa450edef68

22 months agoSLING-6471 - [HTL] data-sly-repeat should add a new line after every appended element...
Radu Cotescu [Tue, 17 Jan 2017 14:31:45 +0000 (14:31 +0000)] 
SLING-6471 - [HTL] data-sly-repeat should add a new line after every appended element in the output

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1779199 13f79535-47bb-0310-9956-ffa450edef68

22 months agoSLING-6471 - [HTL] data-sly-repeat should add a new line after every appended element...
radu [Tue, 17 Jan 2017 08:39:39 +0000 (08:39 +0000)] 
SLING-6471 - [HTL] data-sly-repeat should add a new line after every appended element in the output

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1779151 13f79535-47bb-0310-9956-ffa450edef68

22 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Fri, 13 Jan 2017 11:02:59 +0000 (11:02 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778539 13f79535-47bb-0310-9956-ffa450edef68

22 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Fri, 13 Jan 2017 11:02:44 +0000 (11:02 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.6

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778537 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6450 - [HTL] Cannot retrieve "length" property for arrays of primitive types
Radu Cotescu [Wed, 11 Jan 2017 11:57:58 +0000 (11:57 +0000)] 
SLING-6450 - [HTL] Cannot retrieve "length" property for arrays of primitive types

* treated all arrays in a unitary way, irrespective of their type, for "length" retrieval

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1778282 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6445 - HTL scripts do not compile on Windows if the compiler needs to generate...
Radu Cotescu [Mon, 9 Jan 2017 14:38:45 +0000 (14:38 +0000)] 
SLING-6445 - HTL scripts do not compile on Windows if the compiler needs to generate any warnings

* applied patch from Vlad Băilescu
* improved launchpad readiness test
* updated HTL test dependencies
(Closes #196)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1777973 13f79535-47bb-0310-9956-ffa450edef68

23 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Thu, 15 Dec 2016 14:03:23 +0000 (14:03 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774450 13f79535-47bb-0310-9956-ffa450edef68

23 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Thu, 15 Dec 2016 14:03:08 +0000 (14:03 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.4

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774448 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6399 - Implement support for date and number formatting for HTL
Radu Cotescu [Thu, 15 Dec 2016 14:01:44 +0000 (14:01 +0000)] 
SLING-6399 - Implement support for date and number formatting for HTL

* bumped capabilities to 1.3, corresponding to version 1.3 of the HTL Template Language Specification

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774447 13f79535-47bb-0310-9956-ffa450edef68

23 months agoreverted release
Radu Cotescu [Thu, 15 Dec 2016 13:30:30 +0000 (13:30 +0000)] 
reverted release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774441 13f79535-47bb-0310-9956-ffa450edef68

23 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Thu, 15 Dec 2016 13:28:56 +0000 (13:28 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774439 13f79535-47bb-0310-9956-ffa450edef68

23 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Thu, 15 Dec 2016 13:28:41 +0000 (13:28 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.4

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774437 13f79535-47bb-0310-9956-ffa450edef68

23 months agoSLING-6399 - Implement support for date and number formatting for HTL
Radu Cotescu [Wed, 14 Dec 2016 22:13:32 +0000 (22:13 +0000)] 
SLING-6399 - Implement support for date and number formatting for HTL

* implemented support for the date and number formatting features from version 1.3
of the HTL Language Specification
* applied slightly modified patch submitted by Vlad Băilescu at https://github.com/apache/sling/pull/191
(Closes #191)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1774351 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6230 - The SightlyCompiler reports errors and warnings with an offset by one...
Radu Cotescu [Wed, 2 Nov 2016 14:01:35 +0000 (14:01 +0000)] 
SLING-6230 - The SightlyCompiler reports errors and warnings with an offset by one for the line count

* corrected error and warning reporting in the compiler
* updated the htl-maven-plugin to use the new compiler version
* added tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767685 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6186 - Add support for checking code coverage with jacoco
Radu Cotescu [Tue, 1 Nov 2016 16:30:23 +0000 (16:30 +0000)] 
SLING-6186 - Add support for checking code coverage with jacoco

* allow the jacoco version to be configurable; also downgraded to 0.7.6

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767517 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts
Radu Cotescu [Tue, 1 Nov 2016 16:13:32 +0000 (16:13 +0000)] 
SLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts

* expanded whitespace characters list and added tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767516 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6186 - Add support for checking code coverage with jacoco
Radu Cotescu [Tue, 25 Oct 2016 15:19:19 +0000 (15:19 +0000)] 
SLING-6186 - Add support for checking code coverage with jacoco

* configured jacoco for all HTL modules that provide unit tests
* IT code coverage can be obtained from the testing module

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766545 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Mon, 10 Oct 2016 15:42:38 +0000 (15:42 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764125 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Mon, 10 Oct 2016 15:42:23 +0000 (15:42 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.2

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764123 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6125 - Switch HTL to OSGi R6 annotations
Radu Cotescu [Mon, 10 Oct 2016 15:39:09 +0000 (15:39 +0000)] 
SLING-6125 - Switch HTL to OSGi R6 annotations

* removed maven-scr-plugin and configured maven-bundle-plugin to generate SCR metadata
* replaced Felix SCR annotations with OSGi Component + Metatype annotations
* removed unused dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764122 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Mon, 5 Sep 2016 15:07:26 +0000 (15:07 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1759287 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler...
Radu Cotescu [Mon, 5 Sep 2016 15:06:54 +0000 (15:06 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.compiler-1.0.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1759285 13f79535-47bb-0310-9956-ffa450edef68

2 years agotrivial: configured javadoc plugin
Radu Cotescu [Mon, 5 Sep 2016 15:05:35 +0000 (15:05 +0000)] 
trivial: configured javadoc plugin

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1759284 13f79535-47bb-0310-9956-ffa450edef68

2 years agotrivial: corrected JavaDoc
Radu Cotescu [Mon, 5 Sep 2016 11:50:53 +0000 (11:50 +0000)] 
trivial: corrected JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1759238 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6033 - Update Sightly bundles to parent pom 28
Radu Cotescu [Fri, 2 Sep 2016 16:03:35 +0000 (16:03 +0000)] 
SLING-6033 - Update Sightly bundles to parent pom 28

* switched from BND to OSGi annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1758984 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6028 - Replace Sightly references with HTL in both code and documentation
Radu Cotescu [Fri, 2 Sep 2016 14:51:07 +0000 (14:51 +0000)] 
SLING-6028 - Replace Sightly references with HTL in both code and documentation

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1758968 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5978 - Make Sightly throw compilation errors when unknown data-sly-* plugins...
Radu Cotescu [Mon, 29 Aug 2016 16:25:06 +0000 (16:25 +0000)] 
SLING-5978 - Make Sightly throw compilation errors when unknown data-sly-* plugins are used

* also improved other runtime errors reporting

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1758254 13f79535-47bb-0310-9956-ffa450edef68

2 years agotrivial: corrected Sightly lexer for escaped expressions
Radu Cotescu [Fri, 26 Aug 2016 14:04:53 +0000 (14:04 +0000)] 
trivial: corrected Sightly lexer for escaped expressions

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1757856 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6008 - The display context cannot be overwritten for HTML attribute expressions
Radu Cotescu [Wed, 24 Aug 2016 16:39:47 +0000 (16:39 +0000)] 
SLING-6008 - The display context cannot be overwritten for HTML attribute expressions

* allowed display context overrides for attributes by checking if the expression was already
transformed into an XSS RuntimeCall
* added extra test based on the TCK that checks the encoding of an attribute value
generated by a Sightly expression
* updated TCK

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1757548 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5944 - Sightly doesn't allow to overwrite the context for `data-sly-element`
Radu Cotescu [Fri, 19 Aug 2016 13:33:14 +0000 (13:33 +0000)] 
SLING-5944 - Sightly doesn't allow to overwrite the context for `data-sly-element`

* skip applying elementContext if the expression is an XSS RuntimeCall already
* updated TCK to 1.2.4 which provides a test for data-sly-element with context set
to unsafe

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1756915 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5825 - Add support for implicit conversion of Enum to String
Radu Cotescu [Fri, 8 Jul 2016 11:20:36 +0000 (11:20 +0000)] 
SLING-5825 - Add support for implicit conversion of Enum to String

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1751880 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5314 - Support setting the basename for the resource bundle backing the Sightly...
Radu Cotescu [Tue, 5 Jul 2016 12:19:16 +0000 (12:19 +0000)] 
SLING-5314 - Support setting the basename for the resource bundle backing the Sightly i18n Extension

* added support for non-standard (not in the language specification) 'basename' option in expressions using 'i18n'

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1751458 13f79535-47bb-0310-9956-ffa450edef68

2 years agotrivial: added scm info + updated readme for sightly modules
Radu Cotescu [Thu, 16 Jun 2016 16:20:24 +0000 (16:20 +0000)] 
trivial: added scm info + updated readme for sightly modules

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1748757 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5787 - Modularise the Sightly script engine
Radu Cotescu [Thu, 16 Jun 2016 16:07:57 +0000 (16:07 +0000)] 
SLING-5787 - Modularise the Sightly script engine

* implemented front-end + back-end compilers
* added new dependency to the JavaScript + Sling Models use providers in order
to use version 2.0.0 of the org.apache.sling.scripting.sightly.render API package
* adapted tests
(closes #147)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1748750 13f79535-47bb-0310-9956-ffa450edef68