[tapestry-5] Git Push Summary

2017-11-27 Thread jkemnade
Repository: tapestry-5
Updated Tags:  refs/tags/5.5.0-alpha-10 [created] 0f2c01c9a


tapestry-5 git commit: increment version number

2017-11-27 Thread jkemnade
Repository: tapestry-5
Updated Branches:
  refs/heads/master 0f2c01c9a -> 1a257084f


increment version number


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/1a257084
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/1a257084
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/1a257084

Branch: refs/heads/master
Commit: 1a257084f36300a304f2044c16bdca3436921b55
Parents: 0f2c01c
Author: Jochen Kemnade 
Authored: Mon Nov 27 13:18:48 2017 +0100
Committer: Jochen Kemnade 
Committed: Mon Nov 27 13:18:48 2017 +0100

--
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/1a257084/build.gradle
--
diff --git a/build.gradle b/build.gradle
index 0b75976..c48a8c7 100755
--- a/build.gradle
+++ b/build.gradle
@@ -33,7 +33,7 @@ project.version = tapestryVersion()
 def tapestryVersion() {
 
 def major = "5.5.0"
-def minor = "-alpha-10"
+def minor = "-alpha-11"
 
 // When building on the CI server, make sure -SNAPSHOT is appended, as it 
is a nightly build.
 // When building normally, or for a release, no suffix is desired.



[jira] [Updated] (TAP5-2453) Generic List not fully supported

2017-11-27 Thread Jochen Kemnade (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Kemnade updated TAP5-2453:
-
Labels: desired_for_5.5 generics help-wanted  (was: desired_for_5.5 
generics)

> Generic List not fully supported
> ---
>
> Key: TAP5-2453
> URL: https://issues.apache.org/jira/browse/TAP5-2453
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-ioc
>Affects Versions: 5.4, 5.3.8
>Reporter: Jan Mynařík
>  Labels: desired_for_5.5, generics, help-wanted
> Attachments: TapestryGenericsTest.java
>
>
> I've created an abstract generic CRUD implementation. When binding 
> implementations resulting proxies doesn't fully report parametrized type via 
> reflections.
> See attached test. In 5.3.8 it fails in all asserts,  in 5.4 only in the last 
> one.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TAP5-2591) TypeScript support

2017-11-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16266706#comment-16266706
 ] 

Hudson commented on TAP5-2591:
--

FAILURE: Integrated in Jenkins build tapestry-trunk-freestyle #1684 (See 
[https://builds.apache.org/job/tapestry-trunk-freestyle/1684/])
TAP5-2591: add support for TypeScript modules (jkemnade: rev 
0f2c01c9a6747721ceaebba114a15bf48fb577e9)
* (add) tapestry-webresources/src/test/resources/t5/webresources/park-example.ts
* (edit) 
tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
* (add) 
tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/TypeScriptCompiler.java
* (add) 
tapestry-webresources/src/test/resources/t5/webresources/park-example-compiled.js
* (add) 
tapestry-webresources/src/main/resources/org/apache/tapestry5/webresources/internal/typescript.js
* (add) 
tapestry-webresources/src/test/groovy/t5/webresources/tests/TypeScriptCompilerSpec.groovy
* (add) 
tapestry-webresources/src/main/resources/org/apache/tapestry5/webresources/internal/invoke-typescript.js
* (add) 
tapestry-webresources/src/test/resources/t5/webresources/greeter-compiled.js
* (edit) tapestry-webresources/build.gradle
* (add) tapestry-webresources/src/test/resources/t5/webresources/greeter.ts


> TypeScript support
> --
>
> Key: TAP5-2591
> URL: https://issues.apache.org/jira/browse/TAP5-2591
> Project: Tapestry 5
>  Issue Type: Improvement
>  Components: tapestry-webresources
>Reporter: Jochen Kemnade
>Assignee: Jochen Kemnade
>  Labels: desired_for_5.5, help-wanted
> Fix For: 5.5.0
>
>
> We should support TypeScript modules.
> This should be pretty straight-forward, similar to what we do for 
> CoffeeScript. We should only have to add the TypeScript compiler and compile 
> the modules with the appropriate options 
> (https://www.typescriptlang.org/docs/handbook/compiler-options.html).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TAP5-2591) TypeScript support

2017-11-27 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16266700#comment-16266700
 ] 

ASF subversion and git services commented on TAP5-2591:
---

Commit 0f2c01c9a6747721ceaebba114a15bf48fb577e9 in tapestry-5's branch 
refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=0f2c01c ]

TAP5-2591: add support for TypeScript modules


> TypeScript support
> --
>
> Key: TAP5-2591
> URL: https://issues.apache.org/jira/browse/TAP5-2591
> Project: Tapestry 5
>  Issue Type: Improvement
>  Components: tapestry-webresources
>Reporter: Jochen Kemnade
>  Labels: desired_for_5.5, help-wanted
> Fix For: 5.5.0
>
>
> We should support TypeScript modules.
> This should be pretty straight-forward, similar to what we do for 
> CoffeeScript. We should only have to add the TypeScript compiler and compile 
> the modules with the appropriate options 
> (https://www.typescriptlang.org/docs/handbook/compiler-options.html).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (TAP5-2591) TypeScript support

2017-11-27 Thread Jochen Kemnade (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Kemnade closed TAP5-2591.

   Resolution: Fixed
 Assignee: Jochen Kemnade
Fix Version/s: 5.5.0

> TypeScript support
> --
>
> Key: TAP5-2591
> URL: https://issues.apache.org/jira/browse/TAP5-2591
> Project: Tapestry 5
>  Issue Type: Improvement
>  Components: tapestry-webresources
>Reporter: Jochen Kemnade
>Assignee: Jochen Kemnade
>  Labels: desired_for_5.5, help-wanted
> Fix For: 5.5.0
>
>
> We should support TypeScript modules.
> This should be pretty straight-forward, similar to what we do for 
> CoffeeScript. We should only have to add the TypeScript compiler and compile 
> the modules with the appropriate options 
> (https://www.typescriptlang.org/docs/handbook/compiler-options.html).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[2/3] tapestry-5 git commit: TAP5-2591: add support for TypeScript modules

2017-11-27 Thread jkemnade
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/src/main/resources/org/apache/tapestry5/webresources/internal/typescript.js
--
diff --git 
a/tapestry-webresources/src/main/resources/org/apache/tapestry5/webresources/internal/typescript.js
 
b/tapestry-webresources/src/main/resources/org/apache/tapestry5/webresources/internal/typescript.js
new file mode 100644
index 000..eb75ba8
--- /dev/null
+++ 
b/tapestry-webresources/src/main/resources/org/apache/tapestry5/webresources/internal/typescript.js
@@ -0,0 +1,97680 @@
+/*! 
*
+Copyright (c) Microsoft Corporation. All rights reserved. 
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at http://www.apache.org/licenses/LICENSE-2.0  
+ 
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
+MERCHANTABLITY OR NON-INFRINGEMENT. 
+ 
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+* 
*/
+
+"use strict";
+var __assign = (this && this.__assign) || Object.assign || function(t) {
+for (var s, i = 1, n = arguments.length; i < n; i++) {
+s = arguments[i];
+for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
+t[p] = s[p];
+}
+return t;
+};
+var __extends = (this && this.__extends) || (function () {
+var extendStatics = Object.setPrototypeOf ||
+({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = 
b; }) ||
+function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = 
b[p]; };
+return function (d, b) {
+extendStatics(d, b);
+function __() { this.constructor = d; }
+d.prototype = b === null ? Object.create(b) : (__.prototype = 
b.prototype, new __());
+};
+})();
+var ts;
+(function (ts) {
+// token > SyntaxKind.Identifer => token is a keyword
+// Also, If you add a new SyntaxKind be sure to keep the `Markers` section 
at the bottom in sync
+var SyntaxKind;
+(function (SyntaxKind) {
+SyntaxKind[SyntaxKind["Unknown"] = 0] = "Unknown";
+SyntaxKind[SyntaxKind["EndOfFileToken"] = 1] = "EndOfFileToken";
+SyntaxKind[SyntaxKind["SingleLineCommentTrivia"] = 2] = 
"SingleLineCommentTrivia";
+SyntaxKind[SyntaxKind["MultiLineCommentTrivia"] = 3] = 
"MultiLineCommentTrivia";
+SyntaxKind[SyntaxKind["NewLineTrivia"] = 4] = "NewLineTrivia";
+SyntaxKind[SyntaxKind["WhitespaceTrivia"] = 5] = "WhitespaceTrivia";
+// We detect and preserve #! on the first line
+SyntaxKind[SyntaxKind["ShebangTrivia"] = 6] = "ShebangTrivia";
+// We detect and provide better error recovery when we encounter a git 
merge marker.  This
+// allows us to edit files with git-conflict markers in them in a much 
more pleasant manner.
+SyntaxKind[SyntaxKind["ConflictMarkerTrivia"] = 7] = 
"ConflictMarkerTrivia";
+// Literals
+SyntaxKind[SyntaxKind["NumericLiteral"] = 8] = "NumericLiteral";
+SyntaxKind[SyntaxKind["StringLiteral"] = 9] = "StringLiteral";
+SyntaxKind[SyntaxKind["JsxText"] = 10] = "JsxText";
+SyntaxKind[SyntaxKind["JsxTextAllWhiteSpaces"] = 11] = 
"JsxTextAllWhiteSpaces";
+SyntaxKind[SyntaxKind["RegularExpressionLiteral"] = 12] = 
"RegularExpressionLiteral";
+SyntaxKind[SyntaxKind["NoSubstitutionTemplateLiteral"] = 13] = 
"NoSubstitutionTemplateLiteral";
+// Pseudo-literals
+SyntaxKind[SyntaxKind["TemplateHead"] = 14] = "TemplateHead";
+SyntaxKind[SyntaxKind["TemplateMiddle"] = 15] = "TemplateMiddle";
+SyntaxKind[SyntaxKind["TemplateTail"] = 16] = "TemplateTail";
+// Punctuation
+SyntaxKind[SyntaxKind["OpenBraceToken"] = 17] = "OpenBraceToken";
+SyntaxKind[SyntaxKind["CloseBraceToken"] = 18] = "CloseBraceToken";
+SyntaxKind[SyntaxKind["OpenParenToken"] = 19] = "OpenParenToken";
+SyntaxKind[SyntaxKind["CloseParenToken"] = 20] = "CloseParenToken";
+SyntaxKind[SyntaxKind["OpenBracketToken"] = 21] = "OpenBracketToken";
+SyntaxKind[SyntaxKind["CloseBracketToken"] = 22] = "CloseBracketToken";
+SyntaxKind[SyntaxKind["DotToken"] = 23] = "DotToken";
+SyntaxKind[SyntaxKind["DotDotDotToken"] = 24] = "DotDotDotToken";
+SyntaxKind[SyntaxKind["SemicolonToken"] = 25] = "SemicolonToken";
+SyntaxKind[SyntaxKind["CommaToken"] = 26] = "CommaToken";
+SyntaxKind[SyntaxKind["LessThanToken"] = 27] = 

[1/3] tapestry-5 git commit: TAP5-2591: add support for TypeScript modules

2017-11-27 Thread jkemnade
Repository: tapestry-5
Updated Branches:
  refs/heads/master 80f65eb4b -> 0f2c01c9a


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/src/test/groovy/t5/webresources/tests/TypeScriptCompilerSpec.groovy
--
diff --git 
a/tapestry-webresources/src/test/groovy/t5/webresources/tests/TypeScriptCompilerSpec.groovy
 
b/tapestry-webresources/src/test/groovy/t5/webresources/tests/TypeScriptCompilerSpec.groovy
new file mode 100644
index 000..aafd30a
--- /dev/null
+++ 
b/tapestry-webresources/src/test/groovy/t5/webresources/tests/TypeScriptCompilerSpec.groovy
@@ -0,0 +1,58 @@
+package t5.webresources.tests;
+
+import org.apache.tapestry5.SymbolConstants
+import org.apache.tapestry5.internal.InternalSymbols
+import org.apache.tapestry5.internal.test.PageTesterContext
+import org.apache.tapestry5.internal.webresources.TypeScriptCompiler
+import org.apache.tapestry5.ioc.MappedConfiguration
+import org.apache.tapestry5.ioc.annotations.Autobuild
+import org.apache.tapestry5.ioc.annotations.Inject
+import org.apache.tapestry5.ioc.annotations.SubModule
+import org.apache.tapestry5.ioc.internal.util.ClasspathResource
+import org.apache.tapestry5.modules.AssetsModule
+import org.apache.tapestry5.modules.TapestryModule
+import org.apache.tapestry5.services.ApplicationGlobals
+import org.apache.tapestry5.webresources.modules.WebResourcesModule
+
+import spock.lang.Shared
+import spock.lang.Specification
+
+@SubModule([TapestryModule, WebResourcesModule, 
TypeScriptCompilerSpec.TestModule, AssetsModule])
+class TypeScriptCompilerSpec extends Specification {
+
+  @Autobuild
+  private TypeScriptCompiler typeScriptCompiler;
+
+  @Inject
+  @Shared
+  private ApplicationGlobals applicationGlobals
+
+  def setupSpec(){
+applicationGlobals.storeContext(new PageTesterContext("/test"));
+  }
+
+  def "Compile Hello World example"(){
+when:
+def resource = new ClasspathResource("t5/webresources/greeter.ts")
+def compiled = typeScriptCompiler.transform(resource, null)
+then:
+compiled.text == 
TypeScriptCompilerSpec.class.getResourceAsStream('/t5/webresources/greeter-compiled.js').text
+  }
+
+  def "Type information is preserved"(){
+when:
+def resource = new ClasspathResource("t5/webresources/park-example.ts")
+def compiled = typeScriptCompiler.transform(resource, null)
+then:
+compiled.text == 
TypeScriptCompilerSpec.class.getResourceAsStream('/t5/webresources/park-example-compiled.js').text
+  }
+  
+  public static class TestModule {
+
+def contributeApplicationDefaults(MappedConfiguration configuration){
+  configuration.add(InternalSymbols.APP_NAME, "test")
+  configuration.add("tapestry.app-package", "typescript")
+  configuration.add(SymbolConstants.MINIFICATION_ENABLED, false)
+}
+  }
+}

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/src/test/resources/t5/webresources/greeter-compiled.js
--
diff --git 
a/tapestry-webresources/src/test/resources/t5/webresources/greeter-compiled.js 
b/tapestry-webresources/src/test/resources/t5/webresources/greeter-compiled.js
new file mode 100644
index 000..0794189
--- /dev/null
+++ 
b/tapestry-webresources/src/test/resources/t5/webresources/greeter-compiled.js
@@ -0,0 +1,8 @@
+define(["require", "exports"], function (require, exports) {
+"use strict";
+function greeter(person) {
+return "Hello, " + person;
+}
+var user = "Jane User";
+document.body.innerHTML = greeter(user);
+});

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/src/test/resources/t5/webresources/greeter.ts
--
diff --git 
a/tapestry-webresources/src/test/resources/t5/webresources/greeter.ts 
b/tapestry-webresources/src/test/resources/t5/webresources/greeter.ts
new file mode 100644
index 000..7fc2d1a
--- /dev/null
+++ b/tapestry-webresources/src/test/resources/t5/webresources/greeter.ts
@@ -0,0 +1,7 @@
+function greeter(person) {
+return "Hello, " + person;
+}
+
+var user = "Jane User";
+
+document.body.innerHTML = greeter(user);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/src/test/resources/t5/webresources/park-example-compiled.js
--
diff --git 
a/tapestry-webresources/src/test/resources/t5/webresources/park-example-compiled.js
 
b/tapestry-webresources/src/test/resources/t5/webresources/park-example-compiled.js
new file mode 100644
index 000..6d8e725
--- /dev/null
+++ 
b/tapestry-webresources/src/test/resources/t5/webresources/park-example-compiled.js
@@ -0,0 +1,26 @@
+var __decorate = (this && this.__decorate) || function (decorators, target, 
key, desc) {
+var c 

[3/3] tapestry-5 git commit: TAP5-2591: add support for TypeScript modules

2017-11-27 Thread jkemnade
TAP5-2591: add support for TypeScript modules


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0f2c01c9
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0f2c01c9
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0f2c01c9

Branch: refs/heads/master
Commit: 0f2c01c9a6747721ceaebba114a15bf48fb577e9
Parents: 80f65eb
Author: Jochen Kemnade 
Authored: Mon Nov 27 13:00:35 2017 +0100
Committer: Jochen Kemnade 
Committed: Mon Nov 27 13:00:35 2017 +0100

--
 tapestry-webresources/build.gradle  | 3 +-
 .../webresources/TypeScriptCompiler.java|76 +
 .../modules/WebResourcesModule.java | 8 +-
 .../webresources/internal/invoke-typescript.js  |24 +
 .../webresources/internal/typescript.js | 97680 +
 .../tests/TypeScriptCompilerSpec.groovy |58 +
 .../t5/webresources/greeter-compiled.js | 8 +
 .../test/resources/t5/webresources/greeter.ts   | 7 +
 .../t5/webresources/park-example-compiled.js|26 +
 .../resources/t5/webresources/park-example.ts   | 6 +
 10 files changed, 97894 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/build.gradle
--
diff --git a/tapestry-webresources/build.gradle 
b/tapestry-webresources/build.gradle
index 874cfef..775cdde 100644
--- a/tapestry-webresources/build.gradle
+++ b/tapestry-webresources/build.gradle
@@ -8,7 +8,8 @@ dependencies {
 
 testCompile project(":tapestry-runner")
 testCompile "org.gebish:geb-spock:${versions.geb}"
-
+testCompile "org.spockframework:spock-tapestry:${versions.spock}"
+
 testCompile "org.seleniumhq.selenium:selenium-java:${versions.selenium}", {
 exclude group: "org.eclipse.jetty"
 }

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0f2c01c9/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/TypeScriptCompiler.java
--
diff --git 
a/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/TypeScriptCompiler.java
 
b/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/TypeScriptCompiler.java
new file mode 100755
index 000..355aee1
--- /dev/null
+++ 
b/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/TypeScriptCompiler.java
@@ -0,0 +1,76 @@
+package org.apache.tapestry5.internal.webresources;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.util.Arrays;
+
+import org.apache.commons.io.IOUtils;
+import org.apache.tapestry5.ContentType;
+import org.apache.tapestry5.annotations.Path;
+import org.apache.tapestry5.internal.InternalConstants;
+import org.apache.tapestry5.ioc.OperationTracker;
+import org.apache.tapestry5.ioc.Resource;
+import org.apache.tapestry5.ioc.internal.util.ClasspathResource;
+import org.apache.tapestry5.ioc.internal.util.InternalUtils;
+import org.apache.tapestry5.services.assets.ResourceDependencies;
+import org.apache.tapestry5.services.assets.ResourceTransformer;
+import org.mozilla.javascript.NativeObject;
+
+public class TypeScriptCompiler implements ResourceTransformer {
+  private final static Charset UTF8 = StandardCharsets.UTF_8;
+
+  private final RhinoExecutorPool executorPool;
+
+  @Override
+  public ContentType getTransformedContentType()
+  {
+  return InternalConstants.JAVASCRIPT_CONTENT_TYPE;
+  }
+
+  public TypeScriptCompiler(final OperationTracker tracker,
+  
@Path("classpath:org/apache/tapestry5/webresources/internal/typescript.js") 
final Resource typescript)
+  {
+  this.executorPool = new RhinoExecutorPool(tracker, Arrays. 
asList(typescript,
+  new 
ClasspathResource("org/apache/tapestry5/webresources/internal/invoke-typescript.js")));
+
+  }
+
+  private static String getString(final NativeObject object, final String key)
+  {
+  return object.get(key).toString();
+  }
+
+  @Override
+  public InputStream transform(final Resource source, final 
ResourceDependencies dependencies) throws IOException
+  {
+  InputStream is = null;
+  String content;
+  
+  try
+  {
+  is = source.openStream();
+  content = IOUtils.toString(is, UTF8);
+  } finally {
+  InternalUtils.close(is);
+  }
+  
+  RhinoExecutor executor = executorPool.get();
+  
+  try {
+  
+  NativeObject result = (NativeObject) 
executor.invokeFunction("transpile", content, source.toString());
+  
+  if (result.containsKey("exception")) 

[jira] [Created] (TAP5-2591) TypeScript support

2017-11-27 Thread Jochen Kemnade (JIRA)
Jochen Kemnade created TAP5-2591:


 Summary: TypeScript support
 Key: TAP5-2591
 URL: https://issues.apache.org/jira/browse/TAP5-2591
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-webresources
Reporter: Jochen Kemnade


We should support TypeScript modules.
This should be pretty straight-forward, similar to what we do for CoffeeScript. 
We should only have to add the TypeScript compiler and compile the modules with 
the appropriate options 
(https://www.typescriptlang.org/docs/handbook/compiler-options.html).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[2/3] tapestry-5 git commit: upgrade webdrivermanager

2017-11-27 Thread jkemnade
upgrade webdrivermanager


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/18a685d8
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/18a685d8
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/18a685d8

Branch: refs/heads/master
Commit: 18a685d83500fcbe3d30ea0e03cd0142f327830c
Parents: 4bf5566
Author: Jochen Kemnade 
Authored: Mon Nov 27 11:41:58 2017 +0100
Committer: Jochen Kemnade 
Committed: Mon Nov 27 11:41:58 2017 +0100

--
 tapestry-test/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/18a685d8/tapestry-test/build.gradle
--
diff --git a/tapestry-test/build.gradle b/tapestry-test/build.gradle
index f46ecc0..8753084 100644
--- a/tapestry-test/build.gradle
+++ b/tapestry-test/build.gradle
@@ -5,7 +5,7 @@ dependencies {
   compile project(":tapestry-test-data")
   compile project(":tapestry-runner")
 
-  compile ("io.github.bonigarcia:webdrivermanager:1.7.2")
+  compile ("io.github.bonigarcia:webdrivermanager:2.0.0")
 
   compile "org.seleniumhq.selenium:selenium-leg-rc:${versions.selenium}", {
   exclude group: "org.seleniumhq.selenium", module: "jetty-repacked"



[1/3] tapestry-5 git commit: upgrade Selenium

2017-11-27 Thread jkemnade
Repository: tapestry-5
Updated Branches:
  refs/heads/master 8530a2763 -> 80f65eb4b


upgrade Selenium


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/4bf55668
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/4bf55668
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/4bf55668

Branch: refs/heads/master
Commit: 4bf5566864d2c3e7ce3f030f17a5522d5b55bcde
Parents: 8530a27
Author: Jochen Kemnade 
Authored: Mon Nov 27 11:40:32 2017 +0100
Committer: Jochen Kemnade 
Committed: Mon Nov 27 11:40:32 2017 +0100

--
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4bf55668/build.gradle
--
diff --git a/build.gradle b/build.gradle
index b29fd91..a453677 100755
--- a/build.gradle
+++ b/build.gradle
@@ -17,7 +17,7 @@ project.ext.versions = [
 hibernate: "5.1.0.Final",
 slf4j: "1.7.25",
 geb: "2.0",
-selenium: "3.7.0"
+selenium: "3.7.1"
 ]
 
 ext.continuousIntegrationBuild = Boolean.getBoolean("ci")



[3/3] tapestry-5 git commit: upgrade Gradle wrapper

2017-11-27 Thread jkemnade
upgrade Gradle wrapper


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/80f65eb4
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/80f65eb4
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/80f65eb4

Branch: refs/heads/master
Commit: 80f65eb4ba86c0c03d49744269097df12ffe3be2
Parents: 18a685d
Author: Jochen Kemnade 
Authored: Mon Nov 27 11:42:09 2017 +0100
Committer: Jochen Kemnade 
Committed: Mon Nov 27 11:42:09 2017 +0100

--
 build.gradle | 2 +-
 gradle/wrapper/gradle-wrapper.properties | 2 +-
 quickstart/filtered/archetype-resources/build.gradle | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/80f65eb4/build.gradle
--
diff --git a/build.gradle b/build.gradle
index a453677..0b75976 100755
--- a/build.gradle
+++ b/build.gradle
@@ -427,7 +427,7 @@ task continuousIntegration {
 }
 
 task wrapper(type: Wrapper) {
-gradleVersion = '4.3'
+gradleVersion = '4.3.1'
 description "Regenerates the Gradle Wrapper files"
 }
 

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/80f65eb4/gradle/wrapper/gradle-wrapper.properties
--
diff --git a/gradle/wrapper/gradle-wrapper.properties 
b/gradle/wrapper/gradle-wrapper.properties
index 92165ee..0e680f3 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-bin.zip

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/80f65eb4/quickstart/filtered/archetype-resources/build.gradle
--
diff --git a/quickstart/filtered/archetype-resources/build.gradle 
b/quickstart/filtered/archetype-resources/build.gradle
index e9c946e..a6889a5 100644
--- a/quickstart/filtered/archetype-resources/build.gradle
+++ b/quickstart/filtered/archetype-resources/build.gradle
@@ -87,7 +87,7 @@ test {
 }
 
 task wrapper(type: Wrapper) {
-gradleVersion = '4.3'
+gradleVersion = '4.3.1'
 }
 
 // TODO: Configure execution mode for jettyRun task