You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:12:13 UTC

[sling-org-apache-sling-scripting-sightly-repl] 04/08: SLING-6028 - Replace Sightly references with HTL in both code and documentation

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.repl-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-repl.git

commit f9c8f3300d8e2cba8d7deefdf23c2c34863ec2c0
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Sep 2 14:51:07 2016 +0000

    SLING-6028 - Replace Sightly references with HTL in both code and documentation
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/repl@1758968 13f79535-47bb-0310-9956-ffa450edef68
---
 README.md                                          |   4 +-
 pom.xml                                            |   4 +-
 src/main/appended-resources/META-INF/LICENSE       |   2 +-
 src/main/appended-resources/META-INF/NOTICE        |   2 +-
 .../sightly/repl/REPLJavaSourceCodeServlet.java    |   2 +-
 .../SLING-INF/apps/repl/components/repl/repl.html  |  48 ++++-----
 .../apps/repl/components/repl/template.html        |   2 +-
 .../SLING-INF/etc/clientlibs/repl/images/htl.svg   |   1 +
 .../etc/clientlibs/repl/images/sightly.svg         | 114 ---------------------
 .../SLING-INF/etc/clientlibs/repl/style.css        |  50 +++++----
 src/main/resources/SLING-INF/htl/repl.json         |   5 +
 src/main/resources/SLING-INF/sightly/repl.json     |   4 -
 12 files changed, 68 insertions(+), 170 deletions(-)

diff --git a/README.md b/README.md
index f1de1e0..f39019b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-Apache Sling Scripting Sightly Read-Eval-Print Loop Environment
+Apache Sling Scripting HTL Read-Eval-Print Loop Environment
 ====
 
 To install:
@@ -6,6 +6,6 @@ To install:
 mvn clean install sling:install
 ```
 
-Then just browse to [http://localhost:8080/sightly/repl.html](http://localhost:8080/sightly/repl.html).
+Then just browse to [http://localhost:8080/htl/repl.html](http://localhost:8080/htl/repl.html).
 
 
diff --git a/pom.xml b/pom.xml
index b997ad9..7b1ccd8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,8 +30,8 @@
     <version>1.0.3-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
-    <name>Apache Sling Scripting Sightly Read-Eval-Print Loop Environment</name>
-    <description>REPL for Apache Sling Scripting Sightly engine</description>
+    <name>Apache Sling Scripting HTL Read-Eval-Print Loop Environment</name>
+    <description>REPL for Apache Sling Scripting HTL engine</description>
 
     <scm>
         <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/repl</connection>
diff --git a/src/main/appended-resources/META-INF/LICENSE b/src/main/appended-resources/META-INF/LICENSE
index 0da837b..017776e 100644
--- a/src/main/appended-resources/META-INF/LICENSE
+++ b/src/main/appended-resources/META-INF/LICENSE
@@ -1,4 +1,4 @@
-Apache Sling Scripting Sightly Read-Eval-Print-Loop Environment sub-components:
+Apache Sling Scripting HTL Read-Eval-Print-Loop Environment sub-components:
 
 The following sub-components are not Apache 2 licensed:
 
diff --git a/src/main/appended-resources/META-INF/NOTICE b/src/main/appended-resources/META-INF/NOTICE
index da66e0e..f755eba 100644
--- a/src/main/appended-resources/META-INF/NOTICE
+++ b/src/main/appended-resources/META-INF/NOTICE
@@ -1,2 +1,2 @@
-The Apache Sling Sightly REPL bundle is based on source code originally developed
+The Apache Sling HTL REPL bundle is based on source code originally developed
 by Adobe Systems Inc. (http://www.adobe.com/).
diff --git a/src/main/java/org/apache/sling/scripting/sightly/repl/REPLJavaSourceCodeServlet.java b/src/main/java/org/apache/sling/scripting/sightly/repl/REPLJavaSourceCodeServlet.java
index 90f0cc2..49424df 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/repl/REPLJavaSourceCodeServlet.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/repl/REPLJavaSourceCodeServlet.java
@@ -91,7 +91,7 @@ public class REPLJavaSourceCodeServlet extends SlingSafeMethodsServlet {
             }
             LOGGER.warn("Source code for " + (classesFolder.isDirectory() ? classesFolder.getAbsolutePath() : "") +
                     "/org/apache/sling/scripting/sightly/apps/repl/components/repl/template_html.java was not found. Maybe you need to " +
-                    "configure the Sightly Scripting Engine to keep the generated source files?");
+                    "configure the HTL Scripting Engine to keep the generated source files?");
         }
         return "";
     }
diff --git a/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html b/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html
index 3173b9a..c8db09a 100644
--- a/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html
+++ b/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html
@@ -23,7 +23,7 @@
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <meta name="viewport" content="width=device-width, initial-scale=1">
 
-        <title>Sightly REPL</title>
+        <title>HTL REPL</title>
 
         <link rel="stylesheet" href="/etc/clientlibs/repl/bootstrap.min.css">
         <link rel="stylesheet" href="/etc/clientlibs/repl/bootstrap-theme.min.css">
@@ -33,32 +33,32 @@
 
     <body>
         <div id="logo">&nbsp;</div>
-        <h1><small>Read-Eval-Print Loop</small></h1>
+        <div class="container-fluid">
+            <div id="main" class="row">
+                <div id="input" class="col-xs-6">
+                    <div class="editorContainer">
+                        <p class="lead">template.html</p>
+                        <div id="template" class="editor" data-src="/apps/repl/components/repl/template.html" data-mode="ace/mode/html" data-writeable></div>
+                    </div>
 
-        <div id="main" class="row">
-            <div id="input" class="col-xs-6">
-                <div class="editorContainer">
-                    <p class="lead">template.html</p>
-                    <div id="template" class="editor" data-src="/apps/repl/components/repl/template.html" data-mode="ace/mode/html" data-writeable></div>
+                    <div class="editorContainer">
+                        <p class="lead">logic.js</p>
+                        <div id="logic" class="editor" data-src="/apps/repl/components/repl/logic.js" data-mode="ace/mode/javascript" data-writeable></div>
+                    </div>
                 </div>
-
-                <div class="editorContainer">
-                    <p class="lead">logic.js</p>
-                    <div id="logic" class="editor" data-src="/apps/repl/components/repl/logic.js" data-mode="ace/mode/javascript" data-writeable></div>
-                </div>
-            </div>
-            <div id="output" class="editorContainer col-xs-6">
-                <div class="clearfix">
-                    <p class="lead pull-left">output.html</p>
-                    <ul class="nav nav-pills navbar-right">
-                        <li class="active"><a data-toggle="tab" href="#source">Source</a></li>
-                        <li><a data-toggle="tab" href="#view">View</a></li>
-                        <li><a data-toggle="tab" href="#java">Java</a></li>
-                    </ul>
+                <div id="output" class="editorContainer col-xs-6">
+                    <div class="clearfix">
+                        <p class="lead pull-left">output.html</p>
+                        <ul class="nav nav-pills navbar-right">
+                            <li class="active"><a data-toggle="tab" href="#source">Source</a></li>
+                            <li><a data-toggle="tab" href="#view">View</a></li>
+                            <li><a data-toggle="tab" href="#java">Java</a></li>
+                        </ul>
+                    </div>
+                    <div id="source" class="output-view editor" data-src="/htl/repl.template.html" data-mode="ace/mode/html"></div>
+                    <iframe id="view" class="output-view hidden" src="/htl/repl.template.html"></iframe>
+                    <div id="java" class="output-view editor hidden" data-src="/htl/repl.java.html" data-mode="ace/mode/java"></div>
                 </div>
-                <div id="source" class="output-view editor" data-src="/sightly/repl.template.html" data-mode="ace/mode/html"></div>
-                <iframe id="view" class="output-view hidden" src="/sightly/repl.template.html"></iframe>
-                <div id="java" class="output-view editor hidden" data-src="/sightly/repl.java.html" data-mode="ace/mode/java"></div>
             </div>
         </div>
 
diff --git a/src/main/resources/SLING-INF/apps/repl/components/repl/template.html b/src/main/resources/SLING-INF/apps/repl/components/repl/template.html
index c5a3f5b..7693f26 100644
--- a/src/main/resources/SLING-INF/apps/repl/components/repl/template.html
+++ b/src/main/resources/SLING-INF/apps/repl/components/repl/template.html
@@ -19,7 +19,7 @@
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
 <html>
 <head>
-    <title>Sightly REPL</title>
+    <title>${properties.jcr:title}</title>
     <meta charset="utf-8">
 </head>
 <body data-sly-use.obj="logic.js">
diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/images/htl.svg b/src/main/resources/SLING-INF/etc/clientlibs/repl/images/htl.svg
new file mode 100644
index 0000000..d60f037
--- /dev/null
+++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/images/htl.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 540.18 243.08"><defs><style>.cls-1{fill:#f34d4d;}.cls-2{fill:#d74c4c;}.cls-3{fill:#e34c4c;}.cls-4{fill:#cd4b4b;}.cls-5{fill:#e2814e;}.cls-6{fill:#23df5f;}.cls-7{fill:#ea5924;}.cls-8{fill:#cd4820;}.cls-9{fill:#e3b051;}.cls-10{fill:#2ceb36;}.cls-11{fill:#2ad7de;}.cls-12{fill:#4daccd;}.cls-13{fill:#fec554;}.cls-14{fill:#ea9a2b;}.cls-15{fill:#32c723;}.cls-16{fill:#25babe;}.cls-17{fill:#fecb55;}.cls-18{fill:#53fdab;}.cls-19{fill:#51d8fd;}.c [...]
\ No newline at end of file
diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/images/sightly.svg b/src/main/resources/SLING-INF/etc/clientlibs/repl/images/sightly.svg
deleted file mode 100644
index 4e43a19..0000000
--- a/src/main/resources/SLING-INF/etc/clientlibs/repl/images/sightly.svg
+++ /dev/null
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
-	 viewBox="0 0 340.2 141.7" enable-background="new 0 0 340.2 141.7" xml:space="preserve">
-<g>
-	<path fill="#389DD7" d="M45.5,57.5c-0.9-0.9-2-1.6-3.3-2.3c-1.3-0.7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2,0,1.8-0.1c0.6-0.1,1.2-0.1,1.7-0.2c0.6-0.1,1.1-0.2,1.5-0.4
-		c0.5-0.1,0.8-0.3,1.1-0.4v-4.8c-0.2,0.1-0.5,0.2-0.9,0.2C169.8,70,169.4,70.1,168.9,70.1z"/>
-	<rect x="178.5" y="21" fill="#454545" width="6.3" height="53.9"/>
-	<path fill="#389DD7" d="M130,36.2c-1.1,0-2.2,0.1-3.2,0.3c-1.1,0.2-2.1,0.6-3,1.1c-0.9,0.5-1.8,1.1-2.6,1.8
-		c-0.8,0.7-1.5,1.6-2.1,2.6h-0.3l0.3-5V21h-6.3v53.9h6.3V55.2c0-2.2,0.2-4.2,0.5-5.9c0.3-1.7,0.9-3.1,1.7-4.3
-		c0.8-1.2,1.8-2.1,3.1-2.7c1.3-0.6,2.8-0.9,4.7-0.9c2.6,0,4.5,0.8,5.7,2.3c1.2,1.5,1.8,3.7,1.8,6.7v24.5h6.3V50.1
-		c0-4.8-1.1-8.4-3.2-10.6C137.5,37.3,134.3,36.2,130,36.2z"/>
-	<path fill="#389DD7" d="M105.9,56.9c0-7.3-4.2-13.7-10.4-16.7V20.8h-6v17.7c-0.7-0.1-1.4-0.1-2.1-0.1c-10.3,0-18.6,8.3-18.6,18.6
-		S77,75.5,87.3,75.5c0.7,0,1.4,0,2.1-0.1v16.4c-0.7-0.1-1.4-0.1-2.1-0.1c-10.3,0-18.6,8.3-18.6,18.6s8.3,18.6,18.6,18.6
-		c10.3,0,18.6-8.3,18.6-18.6c0-7.3-4.2-13.7-10.4-16.7V73.6C101.7,70.6,105.9,64.2,105.9,56.9z M99.6,110.2c0,6.6-5.5,12-12.3,12
-		c-6.8,0-12.3-5.4-12.3-12c0-6.6,5.5-12,12.3-12C94.1,98.2,99.6,103.6,99.6,110.2z M87.3,68.9c-6.8,0-12.3-5.4-12.3-12
-		c0-6.6,5.5-12,12.3-12c6.8,0,12.3,5.4,12.3,12C99.6,63.5,94.1,68.9,87.3,68.9z"/>
-	<path fill="#303030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-		c0.2-0.5,0.2-1.2,0.2-2v-5c0-0.4-0.1-0.7-0.3-0.9C167.5,107.1,167.3,107,167,107z"/>
-	<path fill="#303030" d="M180.7,107.1h-6.7c-0.3,0-0.6,0.1-0.8,0.2c-0.2,0.2-0.3,0.4-0.3,0.6c0,0.3,0.1,0.5,0.3,0.6
-		c0.2,0.2,0.4,0.2,0.8,0.2h2.3v7.5c0,0.4,0.1,0.7,0.3,1c0.2,0.2,0.4,0.3,0.8,0.3c0.3,0,0.6-0.1,0.7-0.3c0.2-0.2,0.3-0.5,0.3-1v-7.5
-		h2.3c0.4,0,0.6-0.1,0.8-0.2c0.2-0.2,0.3-0.4,0.3-0.6c0-0.3-0.1-0.5-0.3-0.6C181.3,107.2,181.1,107.1,180.7,107.1z"/>
-</g>
-</svg>
diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/style.css b/src/main/resources/SLING-INF/etc/clientlibs/repl/style.css
index 839b4cc..9bf44a4 100644
--- a/src/main/resources/SLING-INF/etc/clientlibs/repl/style.css
+++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/style.css
@@ -16,36 +16,46 @@
  * specific language governing permissions and limitations
  * under the License.
  ******************************************************************************/
-body {
-  margin: 0 10px;
-}
 h1 {
-  margin-top: 10px;
+    margin-top: 10px;
 }
+
 iframe {
-  border: none;
-  width: 100%;
+    border: none;
+    width: 100%;
 }
+
 #logo {
-  min-height: 100px;
-  background: url('./images/sightly.svg') no-repeat 50% 100%;
+    min-height: 100px;
+    background: url('./images/htl.svg') no-repeat 50% 100%;
+}
+
+#input {
+    height: calc(100vh - 100px);
 }
+
 #input .editor {
-  height: 300px;
+    height: calc(50vh - 100px);
 }
-#output .editor {
-  height: 650px;
-}
-@media (max-width: 768px) {
-  #output .lead {
-    display: none;
-  }
+
+#output .output-view {
+    height: calc(100vh - 150px);
 }
+
 #output .nav {
-  margin-top: -3px;
+    margin-top: -3px;
+}
+
+#template .ace-scrollbar {
+    overflow-y: auto;
 }
+
 @media (max-width: 768px) {
-  #output .nav {
-    margin: -8px 0 10px;
-  }
+    #output .lead {
+        display: none;
+    }
+
+    #output .nav {
+        margin: -8px 0 10px;
+    }
 }
diff --git a/src/main/resources/SLING-INF/htl/repl.json b/src/main/resources/SLING-INF/htl/repl.json
new file mode 100644
index 0000000..85300fe
--- /dev/null
+++ b/src/main/resources/SLING-INF/htl/repl.json
@@ -0,0 +1,5 @@
+{
+    "jcr:primaryType" : "nt:unstructured",
+    "sling:resourceType":"repl/components/repl",
+    "jcr:title": "HTL REPL"
+}
diff --git a/src/main/resources/SLING-INF/sightly/repl.json b/src/main/resources/SLING-INF/sightly/repl.json
deleted file mode 100644
index aa5081f..0000000
--- a/src/main/resources/SLING-INF/sightly/repl.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-    "jcr:primaryType" : "nt:unstructured",
-    "sling:resourceType":"repl/components/repl"
-}

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.