[forge/core] 1884a5: FORGE-1646 Add Highlighter API for color coding ou...
by George Gastaldi
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: 1884a55980c5f54d54a21aebd48ec8d034a963ac
https://github.com/forge/core/commit/1884a55980c5f54d54a21aebd48ec8d034a9...
Author: Aslak Knutsen <aslak(a)4fs.no>
Date: 2014-03-16 (Sun, 16 Mar 2014)
Changed paths:
A text/MIT-LICENSE.txt
M text/README.asciidoc
M text/pom.xml
A text/src/main/java/org/jboss/forge/addon/text/Highlighter.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Encoder.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Options.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Scanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/StringScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Syntax.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Theme.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/TokenType.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/WordList.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/encoder/DebugEncoder.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/encoder/TerminalEncoder.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/CSSScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/HTMLScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/JSONScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/JavaScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/JavaScriptScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/PlainScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/java/BuiltInTypes.java
M text/src/main/resources/META-INF/services/org.jboss.forge.furnace.container.simple.Service
A text/src/test/java/org/jboss/forge/addon/text/highlight/StringScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/encoder/AssertEncoder.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/encoder/NullEncoder.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/encoder/NullOutputStream.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/AbstractScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/CSSScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/HTMLScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/JSONScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/JavaScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/JavaScriptScannerTestCase.java
Log Message:
-----------
FORGE-1646 Add Highlighter API for color coding output
Hightlighter API wrap the Syntax coloring part of forge-text.
Supports color coding for:
* HTML (with inline JavaScript/CSS)
* JavaScript
* CSS
* Java
* JSON
Commit: f0716ae4a22a28025a6fb52f2343a57efd40cacf
https://github.com/forge/core/commit/f0716ae4a22a28025a6fb52f2343a57efd40...
Author: Aslak Knutsen <aslak(a)4fs.no>
Date: 2014-03-16 (Sun, 16 Mar 2014)
Changed paths:
M shell/addon/pom.xml
M shell/impl/pom.xml
M shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java
A shell/tests/src/test/java/org/jboss/forge/addon/shell/command/CatCommandTest.java
Log Message:
-----------
FORGE-1646 Add Highlighter support to CatCommand based on FileName type
Commit: 3368d3dbf6abe86fb5ffe3ca36a62fbe6c64babd
https://github.com/forge/core/commit/3368d3dbf6abe86fb5ffe3ca36a62fbe6c64...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)
Changed paths:
M shell/addon/pom.xml
M shell/impl/pom.xml
M shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java
A shell/tests/src/test/java/org/jboss/forge/addon/shell/command/CatCommandTest.java
A text/MIT-LICENSE.txt
M text/README.asciidoc
M text/pom.xml
A text/src/main/java/org/jboss/forge/addon/text/Highlighter.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Encoder.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Options.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Scanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/StringScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Syntax.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/Theme.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/TokenType.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/WordList.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/encoder/DebugEncoder.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/encoder/TerminalEncoder.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/CSSScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/HTMLScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/JSONScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/JavaScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/JavaScriptScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/PlainScanner.java
A text/src/main/java/org/jboss/forge/addon/text/highlight/scanner/java/BuiltInTypes.java
M text/src/main/resources/META-INF/services/org.jboss.forge.furnace.container.simple.Service
A text/src/test/java/org/jboss/forge/addon/text/highlight/StringScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/encoder/AssertEncoder.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/encoder/NullEncoder.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/encoder/NullOutputStream.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/AbstractScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/CSSScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/HTMLScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/JSONScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/JavaScannerTestCase.java
A text/src/test/java/org/jboss/forge/addon/text/highlight/scanner/JavaScriptScannerTestCase.java
Log Message:
-----------
Merge pull request #409 from aslakknutsen/highlight
FORGE-1646 Add Highlighter support to CatCommand based on FileName type
Compare: https://github.com/forge/core/compare/26ffe563076e...3368d3dbf6ab
10 years, 9 months