Kyle Fuller
|
a52ee21b72
|
chore: Add package pins to gitignore
|
2017-10-28 21:38:10 +01:00 |
|
Kyle Fuller
|
4a93815d4c
|
chore: Release 0.10.0
Closes #148
|
2017-10-28 21:37:50 +01:00 |
|
Kyle Fuller
|
7e88cbde11
|
chore: Remove .swift-version. Library supports range of versionns
|
2017-10-28 21:34:04 +01:00 |
|
Kyle Fuller
|
46f179e3ed
|
chore: Test with Xcode 8.3, Swift 3.1.1 and Swift 4 (#145)
|
2017-10-01 12:15:29 +01:00 |
|
Kyle Fuller
|
000e9a7f1a
|
feat: Add DictionaryLoader to load templates from dictionary
Closes #97
|
2017-09-07 18:40:34 +01:00 |
|
Kyle Fuller
|
7b9817ed50
|
feat(for tag): Provide the counter 0 indexed to the context
Closes #121
|
2017-09-07 18:21:16 +01:00 |
|
Kyle Fuller
|
0444f45d2b
|
fix(README): Supply name of template
Fixes #133
|
2017-08-29 13:11:17 -07:00 |
|
Kyle Fuller
|
4308baf5f0
|
Merge pull request #129 from bfad/forloop-add-range-support
Add range support for for tag
|
2017-08-08 17:06:51 -07:00 |
|
Kyle Fuller
|
65a461d0a1
|
chore: Release 0.9.0
|
2017-04-19 00:04:59 +01:00 |
|
Kyle Fuller
|
89256b96f4
|
feat(for): Allow iterating over dictionary key and value
Closes #94
|
2017-04-19 00:03:47 +01:00 |
|
Kyle Fuller
|
a8d680b30e
|
fix(for): Support looping dictionaries
|
2017-04-18 23:26:56 +01:00 |
|
Kyle Fuller
|
6f48fe2d91
|
fix: Resolve build warnings related to throwables and Any?
Closes #99
Closes #106
|
2017-04-18 23:05:02 +01:00 |
|
Kyle Fuller
|
4f9063c147
|
chore(CHANGELOG): Add entry for #98
|
2017-04-18 23:01:01 +01:00 |
|
Kyle Fuller
|
dc8759ba34
|
feat(if): Support elif tags
|
2017-03-03 09:56:41 +00:00 |
|
Kyle Fuller
|
233dcfc59a
|
refactor(if node): Support multiple conditions
|
2017-03-03 09:25:16 +00:00 |
|
Kyle Fuller
|
e2f33d4337
|
chore: Update CHANGELOG for 0.8.0
|
2017-02-18 12:44:33 +00:00 |
|
Kyle Fuller
|
20b9476e4b
|
chore: Release 0.8.0
|
2017-02-18 12:43:22 +00:00 |
|
Kyle Fuller
|
cf9714ffd0
|
chore: Update PathKit to 0.8.0
|
2017-02-18 12:21:37 +00:00 |
|
Kyle Fuller
|
99efba56e9
|
feat: Support filters in if expressions
Closes #90
|
2017-01-05 20:56:09 +00:00 |
|
Kyle Fuller
|
39517b7514
|
fix(changelog): Add entry for iOS compatibility restored
|
2016-12-12 18:57:01 +00:00 |
|
Kyle Fuller
|
fdde1dec02
|
refactor: Simplify string filters to use stringify
|
2016-12-08 16:17:26 +00:00 |
|
Kyle Fuller
|
8f6b403aa9
|
fix(join): Dont force strings
|
2016-12-08 16:15:57 +00:00 |
|
Kyle Fuller
|
2331b11a52
|
fix: Allow overriding default filters/tags
|
2016-12-07 22:32:31 +00:00 |
|
Kyle Fuller
|
26f30cbd9d
|
feat: Allow subclassing templates (#79)
|
2016-12-07 21:46:04 +00:00 |
|
Kyle Fuller
|
d7b152089e
|
feat: New extensions API (#78)
|
2016-12-07 21:27:31 +00:00 |
|
Kyle Fuller
|
d3706f074d
|
fix: Use Float as Number instead of Float80
Closes #76
|
2016-12-07 20:07:53 +00:00 |
|
Kyle Fuller
|
aa7c36296b
|
refactor: Deal with Number instead of Float80
|
2016-12-07 19:54:29 +00:00 |
|
Kyle Fuller
|
15facd97fb
|
chore: Add testing template
|
2016-12-02 22:53:16 +00:00 |
|
Kyle Fuller
|
d75db241ac
|
feat(block): Support rendering parent block
|
2016-12-02 00:59:01 +00:00 |
|
Kyle Fuller
|
49936c36d4
|
feat(variable): Allow resolving nodes and resolvables
|
2016-12-02 00:57:01 +00:00 |
|
Kyle Fuller
|
2e04a71d59
|
fix: Silence build warnings
|
2016-12-02 00:29:28 +00:00 |
|
Kyle Fuller
|
6d05832997
|
chore(docs): Add installation instructions for Carthage
Closes #27
Closes #65
|
2016-12-01 18:26:44 +00:00 |
|
Kyle Fuller
|
6871387671
|
feat(docs): Document template inheritence
|
2016-12-01 16:20:28 +00:00 |
|
Kyle Fuller
|
46bc1242f3
|
refactor(variable): Deprecate whitespace in filters
|
2016-12-01 02:22:51 +00:00 |
|
Kyle Fuller
|
24359489ce
|
refactor(Template): Deprecate init from files
|
2016-12-01 01:47:19 +00:00 |
|
Kyle Fuller
|
f90597fba1
|
refactor: Revamp docs to separate template writers/devs
|
2016-12-01 01:33:59 +00:00 |
|
Kyle Fuller
|
9e2a061795
|
refactor: Introducing Environments
|
2016-12-01 01:29:48 +00:00 |
|
Kyle Fuller
|
2be672c6a5
|
feat(filter): Support filter tag
|
2016-11-30 18:44:44 +00:00 |
|
Kyle Fuller
|
2ebb79df8b
|
refactor(loader): Throw when template not found
|
2016-11-30 17:22:29 +00:00 |
|
Kyle Fuller
|
63c2b935f7
|
feat(FileSystemLoader): Raise when template name escapes base
|
2016-11-30 17:22:29 +00:00 |
|
Kyle Fuller
|
abae80d39d
|
chore: Release 0.7.1
|
2016-11-30 17:13:29 +00:00 |
|
Kyle Fuller
|
d024da5567
|
fix(if): Allow operator use
|
2016-11-30 17:12:41 +00:00 |
|
Kyle Fuller
|
98edad3566
|
chore: Release 0.7.0
|
2016-11-29 12:26:22 +00:00 |
|
Kyle Fuller
|
872784f9b3
|
chore(podspec): Update homepage
|
2016-11-29 12:24:31 +00:00 |
|
Kyle Fuller
|
1a01ec592e
|
chore(README): Update documentation links
|
2016-11-28 19:48:43 +00:00 |
|
Kyle Fuller
|
f0591408be
|
refactor(filter): Filters should be private, we only expose resolvable
|
2016-11-28 19:24:27 +00:00 |
|
Kyle Fuller
|
b7e200a8a0
|
feat(for): Support filters
Closes #70
|
2016-11-28 19:24:27 +00:00 |
|
Kyle Fuller
|
b1da85b140
|
feat(default filter): Support multiple defaults
|
2016-11-28 19:24:27 +00:00 |
|
Kyle Fuller
|
679344f53b
|
refactor(if): Deprecate ifnot tag
|
2016-11-28 19:24:27 +00:00 |
|
Kyle Fuller
|
ada4e81082
|
fix(changelog): Public APIs
|
2016-11-28 19:24:27 +00:00 |
|
Kyle Fuller
|
c99a40c5d9
|
refactor(loader): Rename TemplateLoader to Loader
|
2016-11-28 19:24:27 +00:00 |
|
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 |
|
Kyle Fuller
|
65c3052aee
|
Release 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 |
|
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 |
|
Kyle Fuller
|
4ffc888ba4
|
Release 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 |
|
Kyle Fuller
|
05b71736aa
|
Merge pull request #59 from shnhrrsn/namespace-fix
Added namespace to Context
|
2016-03-09 23:41:43 +00: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 |
|
Kyle Fuller
|
9b7e6ba7ed
|
Release 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 |
|
Kyle Fuller
|
070a82cb2d
|
Change how we normalize values to be linux compatible
Closes #51
|
2016-02-26 16:16:36 -05:00 |
|
Kyle Fuller
|
3ec009381d
|
Disable the now tag on Linux
NSDate is unavailable
|
2016-02-11 19:34:46 -05:00 |
|
Kyle Fuller
|
6deb93ac19
|
Disable NSObject based tests on Linux
|
2016-02-11 19:25:26 -05:00 |
|
Kyle Fuller
|
b4ba12bbde
|
Use spectre-build for tests
|
2016-02-08 13:47:52 +00:00 |
|
Kyle Fuller
|
19d712b4a4
|
Release 0.5.2
|
2016-01-30 14:57:26 +01:00 |
|
Kyle Fuller
|
201b8e263c
|
Fix failing for node tests
These we're broken in commit 0783506
|
2015-12-14 16:03:48 +00:00 |
|
Kyle Fuller
|
03928721c4
|
Move away from deprecated curry syntax
|
2015-12-14 09:04:18 -05:00 |
|
Kyle Fuller
|
07835063ed
|
Fix an ambiguous array literal warning
|
2015-12-14 09:04:01 -05:00 |
|