hummingbird-automation[bot]
ec4ef9aa04
Update from Hummingbird Project Template ( #58 )
...
* Update from hummingbird-project-template 572d468b2cabeca286314c5a35196bd42445c8ef
* run swift-format
* Remove .swiftformat
---------
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
Co-authored-by: Adam Fowler <adamfowler71@gmail.com >
2024-11-28 07:31:09 +00:00
hummingbird-automation[bot]
8c5c8ead74
Update from hummingbird-project-template b5c332c3bd76235c1eac8d040c4293072d17d2db ( #57 )
...
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
2024-11-15 15:35:27 +00:00
dependabot[bot]
12021c152c
Bump codecov/codecov-action from 4 to 5 in the dependencies group ( #56 )
2024-11-15 07:04:30 +00:00
Joannis Orlandos
3f627a5f7d
Merge pull request #55 from hummingbird-project/project-template-update
...
Update from Hummingbird Project Template
2024-10-20 22:16:48 +02:00
adam-fowler
bdf22938b7
Update from hummingbird-project-template 2d0499134dc60b407a543eee4ea126078b51d4a0
2024-10-20 18:24:14 +00:00
Adam Fowler
9de71fc4d1
Update docs again
2024-09-20 10:23:54 +01:00
Adam Fowler
8726b2d119
Update docs
2024-09-20 10:22:47 +01:00
Adam Fowler
933fa3d60f
Add support for proper lambdas ( #48 )
...
* Add support for proper lambdas
* Get rid of recursion
Remove renderSectionLambda as I can use renderUnescapedLambda for that.
2024-09-19 17:17:50 +01:00
Adam Fowler
8fba85e28c
doc comment update
2024-09-19 11:28:57 +01:00
hummingbird-automation[bot]
304429f2fa
Update from hummingbird-project-template 564b9b525b04f0705e59cd1189d90eb9f6f2233b ( #54 )
...
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
2024-09-18 14:25:28 +01:00
hummingbird-automation[bot]
b2c5e3e673
Update from hummingbird-project-template 6c7f44e2f7e58f2d298a177e73421f244f41f90e ( #53 )
2024-09-18 12:54:28 +01:00
Joannis Orlandos
4a879231bd
Merge pull request #51 from hummingbird-project/project-template-update
...
Update from Hummingbird Project Template
2024-09-15 15:15:34 +03:00
adam-fowler
2ed2b7a351
Update from hummingbird-project-template 52a2c1f50039efafa9a0c6eedeb674a817ec3606
2024-09-15 11:23:39 +00:00
Joannis Orlandos
17eaa62d5b
Merge pull request #50 from hummingbird-project/docc-changes
...
Inconsistency in documentation brought up by docc v6
2024-09-14 09:36:05 +03:00
Adam Fowler
b6736b2ce8
Changes required by docc
2024-09-13 17:32:50 +01:00
Adam Fowler
01b1f21ed6
Dynamic names support ( #49 )
...
* Dynamic names support
* Add support for dynamic names in parent tags
* Support all dynamic names spec
* Swift 5.8 compile fix
2024-08-28 08:31:06 +01:00
hummingbird-automation[bot]
a010f172c5
Update from hummingbird-project-template b3ba991f3741d80678253d3eae3253cd37a86ef1 ( #46 )
...
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
2024-08-26 09:08:25 +01:00
Adam Fowler
c3beb4a327
Use URLSession.shared.data in tests in swift 6 or later ( #44 )
2024-08-20 19:45:19 +01:00
Adam Fowler
f13bd839a1
Add FoundationNetworking to Windows
2024-07-20 18:47:40 +01:00
hummingbird-automation[bot]
6bfffe2098
Update from hummingbird-project-template 6e3541131c4cafc5b206fb1fce39e9f98bb6079a ( #43 )
...
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
2024-07-19 12:01:56 +01:00
Adam Fowler
cde358e364
Fixes for swift 5.8 ( #42 )
...
* Fixes for swift 5.8
* Add 5.8 to CI
* More fixes
2024-07-19 10:52:49 +01:00
Adam Fowler
5bb66ac425
Add development support for reloading templates when you render them ( #30 )
...
* Add support for reloading templates when you render them
* comment
* Ensure reload is only available in DEBUG
* move preprocessor block
* swift format
* MustacheTemplate.init?(filename:) internal
* Only pass reload flag down in DEBUG builds
* Rebase with main
2024-07-16 15:46:57 +01:00
Adam Fowler
7689de0a42
Fix issues from Inheritance spec ( #36 )
...
* Separate inheritance block and expansion
* Catch top level partial definition, and block newlines
* Add testTrailingNewLines to verify output of trailing newlines in partials
* Remove comment
* If block,partial has indentation add indent for first line
* Re-enable full sections spec
* withBlockExpansion
* Get indentation of blocks correct
2024-07-15 09:36:15 +01:00
Mahdi Bahrami
cc0eaffa06
Make MustacheSequence public ( #38 )
...
* Make `MustacheSequence` public
* `MustacheSequence` require conformance to `Sequence`
* remove protocol requirements
* `MustacheContext` revert to `internal`
2024-07-14 18:44:59 +01:00
Mahdi Bahrami
a1a163bad1
Fix retroactive conformances in tests ( #39 )
...
* Fix retroactive conformances in tests
* conformances use a shared logic
* Use `hasFeature(RetroactiveAttribute)` instead of `compiler(>=6.0)`
* even better use of shared logic
2024-07-14 12:49:35 +01:00
Mahdi Bahrami
58b9c3b00c
Implement Recursive Transforms ( #37 )
...
* Implement Recursive Transforms
* Correct test names
* apply suggestions
* format
* add comments
* move the parse function
* refine `parseTransforms()` function
* refinements
* format
* Swift Format again
---------
Co-authored-by: Adam Fowler <adamfowler71@gmail.com >
2024-07-14 12:49:16 +01:00
hummingbird-automation[bot]
a66a7d139c
Update from hummingbird-project-template 0b21a9564b4c2579531565487e1d7389e8c2be4c ( #34 )
...
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
2024-07-09 10:50:47 +01:00
hummingbird-automation[bot]
5c75f772c3
Update from hummingbird-project-template c85b4792e08b230bc8643b0bfb4def3f302e17cf ( #33 )
2024-07-03 09:30:41 +01:00
Adam Fowler
d642832ffe
Make deprecations unavailable ( #31 )
2024-07-03 09:30:21 +01:00
hummingbird-automation[bot]
04a7e9f70a
Update from hummingbird-project-template e3f57311d7cc5cffc08d6c9da39c155d4c0d4cfd ( #32 )
...
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com >
2024-06-28 13:07:01 +01:00
Joannis Orlandos
540a1b8c80
Fix readme link ( #28 )
2024-05-11 16:10:20 +01:00
Adam Fowler
7ea5b5d11a
Update documentation links
2024-03-22 12:34:03 +00:00
Adam Fowler
2663d13ea7
Rename package to swift-mustache ( #27 )
...
* Rename package to swift-mustache
* Update CI
2024-03-15 07:28:57 +00:00
Adam Fowler
bdfa05391a
Remove HB prefix, make Parser private ( #26 )
2024-03-11 22:07:05 +00:00
Adam Fowler
f029081b61
Project template updates ( #25 )
...
* Project template updates
* More changes
* run swiftformat
2024-03-08 12:04:49 +00:00
Adam Fowler
f5177888f9
Merge pull request #24 from hummingbird-project/2.x.x
...
Merge 2.x.x into main
2024-03-08 10:53:44 +00:00
Adam Fowler
071b182a00
2.x.x Template struct ( #22 )
...
* Start of turning template into a struct
* Everything is Sendable now, just doesnt work
* Add library to context
* Make sure render is initialized with library
* comment about inheritance spec
* Add register back in
* Re-instate register functions
* Re-instate commented out print
* Fix tabbing in Partial tests
* Make HBMustacheLibrary.loadTemplates async
* Update platforms, swift version
2024-01-31 15:43:46 +00:00
Adam Fowler
bec77d1f2b
More GH action updates
2024-01-30 17:01:09 +00:00
Adam Fowler
52663ae87b
Update CI
2024-01-30 16:56:07 +00:00
Adam Fowler
6e08bcf4d2
Swift 5.8
2023-04-10 10:21:02 +01:00
Adam Fowler
85114c9ecb
Project template update
2023-03-27 09:47:54 +01:00
Adam Fowler
48918c1d2a
Use codecov@v3 action
2023-01-17 14:45:31 +00:00
Adam Fowler
fa56176223
Fix issue with indented partials ( #19 )
...
* Fix issue with indented partials
* Add test
* Add empty transform for string
2023-01-14 08:50:51 +00:00
Adam Fowler
185004fdce
Template updates (Swift 5.7)
2022-11-22 14:19:27 +00:00
Adam Fowler
f95e19206e
Use special set of chars for partial filename ( #18 )
2022-08-08 11:18:41 +01:00
Adam Fowler
02d019b632
Swift 5.6
2022-03-17 11:23:21 +00:00
Adam Fowler
90414dfc9f
Update project settings
2022-02-14 12:27:36 +00:00
Adam Fowler
100eb5eb7a
Add .vscode to .gitignore
2021-12-05 10:24:16 +00:00
Adam Fowler
d6839d689e
sanity.sh -> validate.sh
2021-11-12 17:02:42 +00:00
Adam Fowler
94bbca47ae
Swift Format 0.48.17
2021-10-30 11:23:58 +01:00