Commit Graph

260 Commits

Author SHA1 Message Date
Kyle Fuller
7e88cbde11 chore: Remove .swift-version. Library supports range of versionns 2017-10-28 21:34:04 +01:00
Ilya Puchka
e7a0738bda fix(variable): checking values for nil when using mirror (#144) 2017-10-02 09:38:50 +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
Yonas Kolb
bf4be38377 docs(for): document that dictionary for doesn't support space 2017-10-01 11:54:53 +01:00
Yonas Kolb
14bac03990 feat(variable): Allow accessing dictionary count 2017-10-01 11:54:53 +01:00
Ilya Puchka
3180b26673 feat: added in expression in if tag (#143) 2017-10-01 11:46:48 +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
Jan Berkel
482d595d01 fix(lexer): Handle incomplete tokens
Fixes #135
2017-09-07 18:06:55 +01:00
Jan Berkel
f1fc747897 fix(for tag): Potential ‘Index out of range’ crash
Fixes #136
2017-09-07 17:17:23 +01:00
Kyle Fuller
0444f45d2b fix(README): Supply name of template
Fixes #133
2017-08-29 13:11:17 -07:00
Anton
86bfbf215f docs: Fix typo in Custom Template Tags and Filters (#131) 2017-08-10 13:20:00 -07:00
Paul Melnikow
039bf4b7cb docs: Fix example code in getting started (#130) 2017-08-10 13:18:43 -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
Brett R. Toomey
2455fb9ed0 Make extensions mutable (#126) 2017-08-08 16:12:45 -07:00
Brad Lindsay
64571464d9 Add basic support for ranges in for loops
Closes kylef/Stencil#128
2017-08-08 17:38:36 -05:00
Brad Lindsay
5821e4849e Ignore Package.resolved file 2017-08-08 16:41:59 -05:00
Ian Dundas
793773f191 docs: Added example to show use of forloop.xin a for loop (#123) 2017-07-12 11:46:43 +02:00
Gustavo Barbosa
e217a9c873 fix: Typo of Manager in installation docs (#122) 2017-06-07 18:23:47 +02:00
Krzysztof Zabłocki
584ed916ab fix(lexer): Prevent deadlock with unclosed tag 2017-05-17 21:03:43 +01:00
Kyle Fuller
65a461d0a1 chore: Release 0.9.0 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
Ilya Puchka
5541eae818 feat: fixed parsing several filter arguments with quotes (#98) 2017-04-18 22:58:42 +01:00
Ilya Puchka
d1717df6ff feat(for tag): Support where expressions (#96) 2017-04-11 11:39:00 +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
Mrdaios
19e4f6e506 Update README.md (#103)
miss ")"
2017-03-02 00:09:02 +00:00
Kyle Fuller
e2f33d4337 chore: Update CHANGELOG for 0.8.0 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
Valentin Knabel
5e78d6cc46 Use .git extension on dependencies URL (#84) 2017-02-18 12:21:09 +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
David Jennes
2d507e7c11 Simple number literal parsing (#77) 2016-12-07 19:33:06 +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