Commit Graph

124 Commits

Author SHA1 Message Date
David
29e16df057 Improve escaper performance 2017-03-28 22:23:33 +02:00
David
6903bcbe4d Update README.md 2017-01-30 00:28:58 +01:00
David
56b830782f [maven-release-plugin] prepare for next development iteration 2017-01-29 21:32:54 +01:00
David
10a400ac28 [maven-release-plugin] prepare release j2html-0.88 j2html-0.88 2017-01-29 21:32:34 +01:00
David
e0b0425da4 Remove stringutils and add simple escaper (#34) 2017-01-29 17:26:54 +01:00
David
f44d62d93a Change 'unsafeHtml' to 'rawHtml' (#44) 2017-01-29 16:43:50 +01:00
David
652b6921c7 Use assertThat instead of assertEquals 2017-01-29 16:27:19 +01:00
David
d7e56686d1 Add equals method to Tag (#28) 2017-01-29 15:49:36 +01:00
David
cc289b8430 Fix imports in rendertest 2017-01-29 14:46:14 +01:00
David
85d0ab023c Add withStyle method 2017-01-29 14:22:33 +01:00
David
0b3ca28cf3 Sort attributes 2017-01-29 14:16:14 +01:00
David
45a7c32d88 Auto format files 2017-01-29 13:20:18 +01:00
David
733199cd15 Remove closure in favor of a simple JSMin implementation
Closure is a great js-minifier, but js-minification is really
outside the scope of this project.
A simple space/line stripper should be suffcient.
2017-01-29 12:55:30 +01:00
David
df1e4da96d Autoformat CSSMin 2017-01-29 12:07:08 +01:00
David
05dcf6d679 Merge pull request #39 from dellgreen/java8doclintFixs
updated javadoc comments to pass doclint checks in java 8
2017-01-15 20:56:07 +01:00
David
b5d7f5fe18 Merge pull request #38 from dellgreen/renameTestResource
renamed test java resource to match its declared class name
2017-01-15 20:55:07 +01:00
David
872baeeeea Merge pull request #36 from charphi/optional-dep
Set closure-compiler dependency as optional.
2017-01-15 20:54:58 +01:00
David
fcc42cfd8f Merge pull request #35 from tipsy/pr/31
created render(Appendable)-method as a faster alternative to converting to string and writing then.
2017-01-15 20:54:47 +01:00
Dell Green
db8d968f7e updated javadoc comments to pass doclint checks in java 8 2017-01-13 11:42:11 +00:00
Dell Green
673a19faaa renamed test java resource to match its declared class name, otherwise Netbeans flags it as an error 2017-01-13 11:32:09 +00:00
Philippe Charles
96020f8396 Set closure-compiler dependency as optional. 2017-01-09 11:50:53 +01:00
Abius
91c3f42696 created render(Appendable)-method as a faster alternative to converting
to string and writing then.
2017-01-07 16:09:11 +01:00
David
0efd3c6f0c Tell travis to use latest sdk 2017-01-07 16:03:18 +01:00
David
b73c5d0c14 Merge pull request #27 from amaembo/master
Several cosmetic fixes
2016-06-12 10:19:00 +02:00
lan
977c31dad5 Cosmetic fixes:
1. Attr: all public static constants declared final
2. Tag: f-bounded type declaration
3. Tag::renderOpenTag: StringBuilder used
4. ContainerTag::with, condWith: Iterable and PECS arguments used
2016-06-06 15:49:08 +06:00
David
0c1cb2be10 Merge pull request #24 from DevFactory/release/general-code-quality-fix-1
Use isEmpty in TagContainer and collapse some if's in CSSMin
2016-04-26 22:36:27 +02:00
David
d09eb8597c Merge pull request #23 from DevFactory/release/exception-classes-should-be-immutable-fix-1
Code quality fix - Exception classes should be immutable.
2016-04-26 22:33:57 +02:00
David
b8a3882529 Merge pull request #22 from DevFactory/release/utility-classes-should-not-have-public-constructors-fix-1
Code quality fix - Utility classes should not have public constructors.
2016-04-26 22:33:12 +02:00
tipsy
b366207e30 Bump travis jdk version 2016-04-24 16:05:47 +02:00
tipsy
3821671a65 Add 'each' and 'filter' methods 2016-04-24 15:53:58 +02:00
Faisal Hameed
66fff8db69 Fixing squid:S1066, squid:S1155 2016-04-22 12:33:44 +05:00
Faisal Hameed
b11af765fa Fixing squid:S1165 - Exception classes should be immutable. 2016-04-22 12:03:36 +05:00
Faisal Hameed
d331789074 Fixing squid:S1118 - Utility classes should not have public constructors. 2016-04-22 11:55:40 +05:00
David
314de2459a Update README.md 2016-04-16 21:57:25 +02:00
tipsy
2beb4e903e Refactor core classes
- Introduce DomContent class with render method
- Make Tag and Text/UnescapedText extend DomContent (Text/UnescapedText don't extend Tag anymore)
- Use generics to remove duplicate code from ContainerTag and EmptyTag
- Remove setParent method
- Make setAttribute private
2016-04-02 18:08:37 +02:00
tipsy
d29da958e1 Auto format / organize imports 2016-04-01 22:45:01 +02:00
tipsy
595d658a15 Clean up CSSMin slightly 2016-04-01 22:44:42 +02:00
tipsy
dd4a025ad0 Add missing tests 2016-04-01 22:43:55 +02:00
David
3c42c7d4f4 Merge pull request #15 from arnzel/patch-1
Add Attribute "role"
2016-04-01 14:22:36 +02:00
Arne Zelasko
871405c414 Update EmptyTag.java 2016-04-01 10:54:22 +02:00
David
e7588aeb6a Merge pull request #16 from snaketl/master
Adjusted junit dependency to use only on scope test
2016-04-01 08:31:26 +02:00
Luiz Henrique Feltes
074aae4609 Adjusted junit dependency to use only on scope test 2016-03-31 21:10:17 -03:00
Arne Zelasko
66479f52c5 Update ContainerTag.java 2016-03-31 12:54:47 +02:00
Arne Zelasko
a5e79b536d Update Attr.java 2016-03-31 12:52:50 +02:00
tipsy
79e062355e Bump closure 2015-12-18 12:44:10 +01:00
David
947f12d5a1 Update README.md 2015-11-22 17:03:17 +01:00
tipsy
a46ba46bda Dat newline again 2015-11-22 16:39:41 +01:00
tipsy
41da131bbc Dat newline 2015-11-22 16:38:22 +01:00
tipsy
9428bf7397 Dat travis 2015-11-22 16:37:41 +01:00
tipsy
67e1c887b8 Formatting 2015-11-07 01:02:55 +01:00