Kyle Fuller
c59b263446
feat(if): Support >, >=, < and <= operators
...
Closes #52
2016-11-28 19:24:26 +00:00
Kyle Fuller
ab6f1a032d
feat(if): Support inequality operator
2016-11-28 19:24:26 +00:00
Kyle Fuller
e989317929
feat(if): Support equatable operator
2016-11-28 19:24:26 +00:00
Kyle Fuller
111306fb60
fix(if): Empty strings should be falsy
2016-11-28 19:24:26 +00:00
Kyle Fuller
3eb2657a62
fix(if): Support resolving all number types 0 or below as false
2016-11-28 19:24:26 +00:00
Kyle Fuller
6ad609e562
refactor(if): Move expressions to separate file
2016-11-28 19:24:26 +00:00
Kyle Fuller
38d7ec87f6
feat(variable): Allow Swift type introspection
2016-11-28 19:24:26 +00:00
Kyle Fuller
9af9cf4005
fix(context): Allow removing a value at a pushed state
2016-11-28 19:24:25 +00:00
Kyle Fuller
1975cfd627
feat(context): Add flatten method
2016-11-28 19:24:25 +00:00
Kyle Fuller
429290e0b7
refactor: TemplateLoader to protocol, follow Swift API guidelines
2016-11-28 19:24:17 +00:00
Kyle Fuller
5ca1b78854
chore: Switch to Swift 3.0.1
2016-11-28 03:37:20 +00:00
Kyle Fuller
a2673bd66b
chore: Update README to point to documentation
2016-11-28 03:15:56 +00:00
Kyle Fuller
9b6ee14aa3
feat(docs): Add custom tags and filters to documentation
2016-11-28 03:11:38 +00:00
Kyle Fuller
3b5e8f2468
chore: Remove debug print during test
2016-11-28 03:00:51 +00:00
Kyle Fuller
e84f8a41d4
feat(if): Support and, or and not during if expressions
...
Closes #73
2016-11-28 02:56:04 +00:00
Kyle Fuller
2324808dca
fix(if): Treat below 0 numbers as negative
2016-11-27 20:11:51 +00:00
Kyle Fuller
9fdbbc99e9
feat(filters): Add a join filter
2016-11-27 19:47:50 +00:00
Kyle Fuller
dfd57e9571
feat: Add a default filter
2016-11-27 18:27:30 +00:00
Kyle Fuller
3293d8a526
feat: Add documentation
2016-11-27 18:03:39 +00:00
Kyle Fuller
393dc88a10
fix(extends): Support multiple extends
...
Fixes #60
2016-11-27 04:22:37 +00:00
Kyle Fuller
a014fecd23
fix(filters): Smartly split arguments
...
Ensure that `"value"|filter:"arg , with comma"` works
2016-11-27 02:46:43 +00:00
Kyle Fuller
a13401b046
chore: Lock down APIs
2016-11-27 02:20:46 +00:00
Kyle Fuller
60b378d482
feat(filters): Allow filters with arguments
2016-11-27 01:59:57 +00:00
Kyle Fuller
1e3afc0dd5
fix(variable): Prevent crash on unknown index in array
2016-10-13 13:11:02 +01:00
Kyle Fuller
72f3cb579a
Switch to Swift 3.0
2016-10-13 13:04:49 +01:00
Valentin Knabel
68e6ce3022
feat: Creating of templates from a string literal ( #71 )
2016-10-11 12:45:15 +01:00
Kyle Fuller
65c3052aee
Release 0.6.0
0.6.0
2016-09-13 19:15:52 +01:00
Kyle Fuller
7bbd4f2817
[Pod] Add support for tvos
2016-09-13 19:12:47 +01:00
Kyle Fuller
7416e6150d
[Travis CI] Test on Linux
2016-09-13 19:12:47 +01:00
Kyle Fuller
feff3b18b1
Add support for Swift 3.0
2016-09-13 19:12:47 +01:00
Kyle Fuller
f393efbd0b
Merge pull request #68 from zhangbozhb/master
...
bug fix:fix memory leak when parse template
2016-09-04 16:17:28 +02:00
Kyle Fuller
df650c6b20
[Travis CI] Test on Swift 2.2
2016-09-04 09:26:43 +02:00
travel
3285bac373
bug fix:fix memory leak when parse template
2016-08-05 08:26:16 +08:00
Kyle Fuller
80427a51e6
Merge pull request #67 from ikesyo/ifnode-evaluate-bool-value
...
[IfNode] Accept and evaluate a `Bool` value as a valid expression
2016-07-19 19:15:26 +01:00
Syo Ikeda
7bfb69cc82
[IfNode] Fix the ifnot error message
2016-07-20 02:42:09 +09:00
Syo Ikeda
5007ba2c9a
[IfNode] Accept and evaluate a Bool value as a valid expression
2016-07-20 02:42:09 +09:00
Syo Ikeda
2d73c58df6
[IfNodeSpec] Add a failing test for bool expression
2016-07-20 02:42:09 +09:00
Kyle Fuller
4ffc888ba4
Release 0.6.0-beta.1
0.6.0-beta.1
2016-04-04 22:39:19 +02:00
Kyle Fuller
3c21975b97
Merge pull request #61 from GregKaleka/patch-1
...
Minor grammatical fixes to README.md
2016-03-16 13:53:25 +00:00
Greg Kaleka
df9065f5a8
Minor grammatical fixes to README.md
2016-03-13 21:30:48 -07:00
Kyle Fuller
05b71736aa
Merge pull request #59 from shnhrrsn/namespace-fix
...
Added namespace to Context
2016-03-09 23:41:43 +00:00
shnhrrsn
aa1399be55
Fixed tests for namespace changes
2016-03-06 00:39:10 -05:00
shnhrrsn
bdc14ab1e1
Added namespace to Context
2016-03-05 23:57:15 -05:00
Kyle Fuller
67d4c52535
[Context] Ensure pop happens when an error is thrown
2016-03-05 00:37:12 +00:00
Kyle Fuller
48026cde2c
Split tags into separate files
2016-03-05 00:15:18 +00:00
Kyle Fuller
dc4b965aaa
Merge pull request #55 from dtrenz/dtrenz-readme-usage
...
Added `try` to throwing expressions in example.
2016-02-27 15:46:05 -05:00
Dan Trenz
2190afee0d
Added try to throwing expressions in example.
...
Both `Template(named: "template.stencil")` and `Template(named: "template.stencil")` throw but were not preceded by `try`. This usage example, in it's current form, triggers compiler errors.
2016-02-27 15:20:55 -05:00
Kyle Fuller
9b7e6ba7ed
Release 0.5.3
0.5.3
2016-02-26 16:37:08 -05:00
Kyle Fuller
bf0989d329
Merge pull request #54 from kylef/kylef/linux
...
Make tests pass and run on Linux
2016-02-26 16:34:11 -05:00
Kyle Fuller
affd56ec99
[travis] Test on Linux and OS X
2016-02-26 16:18:00 -05:00