Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/openemr/mustache.php

A Mustache implementation in PHP.
https://github.com/openemr/mustache.php

cs fixes

3d25e12fe11f22d8a3491987b8657af183a617af authored over 10 years ago by Dariusz Rumiński <[email protected]>
.php_cs add file for php-cs-fixer configuration

6381604484166af3f91bd20c79b1c01fdaefa194 authored over 10 years ago by Dariusz Rumiński <[email protected]>
Whoops. Missed some docs and cleanup :)

1fe5b0dfc28f964a8c7a713b5af04c5abb3d81d5 authored over 10 years ago by Justin Hileman <[email protected]>
Throw inheritance behind a BLOCKS pragma.

Update tests, known pragmas, and parsing.

349b58b8cae054058fe9a98446541106aa436647 authored over 10 years ago by Justin Hileman <[email protected]>
Add missing method docs, minor code cleanup.

dd53137ae16f23d44738ee100ceb92a5aba89eeb authored over 10 years ago by Justin Hileman <[email protected]>
Add default pragma option to Mustache_Engine.

Pragmas specified in the Mustache_Engine constructor will be enabled in all templates, regardles...

7aee02640379f723775c88218f5d9c86f792995d authored over 10 years ago by Justin Hileman <[email protected]>
Merge remote-tracking branch 'jazzdan/dev' into feature/template-inheritance

Conflicts:
src/Mustache/Compiler.php
test/Mustache/Test/TokenizerTest.php

4c4c6f156b52836008e0fef05f758e8dd72af082 authored over 10 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.6.1' into dev

0eb3e71dc87142d7fa1409fbf46e464daf2c76fe authored over 10 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.6.1'

1430ca884912eaba2b3830856b45685733b16789 authored over 10 years ago by Justin Hileman <[email protected]>
Bump to v2.6.1

b1e0a6d6076375a700c32b879aa6bff8e1237162 authored over 10 years ago by Justin Hileman <[email protected]>
Add tag name to mismatched delimiter error message.

8c67a15cf8c4e0306caf62ad7ae769fd792a1afd authored over 10 years ago by Justin Hileman <[email protected]>
Merge pull request #209 from smarden1/pr/even_triple_braces

Uneven braces in triples are incorrectly swallowing a character [repost of 208]

e8897b12280fa483e19717ad6ca653c82648b5b3 authored over 10 years ago by Justin Hileman <[email protected]>
uneven braces with custom delimiters throws Mustache_Exception_SyntaxException

6ba77964b8a687e67276888d2f516ff70787663c authored over 10 years ago by steve <[email protected]>
add test coverage to ensure that custom delimiters don't swallow trailing characters after they close

c037b31d254f00820a673ceb038cefac41c1014e authored over 10 years ago by steve <[email protected]>
clean up Tokenizer->scan -- add error annotation, spaces between +, strict type checking, and self instead of Mustache_Tokenizer

842b31b4778f0190610de6bb36fa5962523ae549 authored over 10 years ago by steve <[email protected]>
add DateTimeZone UTC to DateTime calls in FiltersTest

be19ebf5b248d7490ec32b2a2df9539200e3ffe4 authored over 10 years ago by steve <[email protected]>
math is hard - check the bounds of a string properly when looking to see if a closing } exists

40e86247ade53feea897586e8d5d566408fb3fa4 authored over 10 years ago by steve <[email protected]>
starting triple braces without ending triple braces throws an error - previously this was swallowing an additional character

868b5b49eb79237ce0153fb0d66612cfbf62c62f authored over 10 years ago by steve <[email protected]>
Merge pull request #203 from spiasecki/feature/code_cleaning

Few code cleaning, episode 2

77f98ad864f1c1f713af905c0bd7c137eb940f16 authored over 10 years ago by Justin Hileman <[email protected]>
Apply PSR rules on bin directory

808810f540d57ec030a9a96e4bb613694e3bacc1 authored over 10 years ago by Dariusz Rumiński <[email protected]>
Add few spaces around concatenations

d2f89447982f2595a9534fb9192f44efeb7280ec authored over 10 years ago by Dariusz Rumiński <[email protected]>
Strict comparison in Tokenizer

01d03d91df569abeb940fab0bfeac3f4d69f9f74 authored over 10 years ago by Dariusz Rumiński <[email protected]>
Decrease indentation in HelperCollection constructor

5ea8dc21e9412a5ee48c1f1b536d4b17a0d234ea authored over 10 years ago by Dariusz Rumiński <[email protected]>
Correct indentation in Engine

4353e7e2a41cbb5e853450ac57d47216b3dceab4 authored over 10 years ago by Dariusz Rumiński <[email protected]>
Merge pull request #202 from spiasecki/feature/code_cleaning

Few code cleaning

dab50cdb8ba6671756ccd51d8790814936f52180 authored over 10 years ago by Justin Hileman <[email protected]>
Remove empty line in head of few classes, most of classes do not have them

49da6d6fad54feac33c13694c1e0238107b50975 authored over 10 years ago by Dariusz Rumiński <[email protected]>
Remove redundant semicolons

39cadaca9c0c08420e85742290a312db01c00153 authored over 10 years ago by Dariusz Rumiński <[email protected]>
include FiveThree part into classname Mustache_Test_Functional_ClassWithLambda, supplement to 07e96b2a1990bfdf306f6a108841e1c948da762a

be10fd7ab2a59cac18c6c521f1027f6e9c43308f authored over 10 years ago by Dariusz Rumiński <[email protected]>
removing old todo

9cb926a607e4350e42c58e8fb7345a67b36cd713 authored over 10 years ago by Dan Miller <[email protected]>
Add a comment about __call / is_callable

Fixes #199

834e16aacc479f1afcc2c4c0b726d670584afc16 authored over 10 years ago by Justin Hileman <[email protected]>
Don\'t escape html from blocks, removing unneeded variable assigns

f4e992119e7ce90aa1254d0defc0697c9421d58f authored over 10 years ago by Dan Miller <[email protected]>
ensure that text is ignored outside of a block inside of a parent tag

56713e560f0ec1f90c75c23ccd879f89a90f77f0 authored over 10 years ago by Dan Miller <[email protected]>
Merge branch 'release/2.6.0' into dev

4c83fb0147e643f168808247c6d294887175238d authored over 10 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.6.0'

43dc9457a2089cf86c0f7fdb79fcdc516293a4b6 authored over 10 years ago by Justin Hileman <[email protected]>
Bump to v2.6.0

003a2ae5e7ee4c579d55cf43847c5bcf584798ed authored over 10 years ago by Justin Hileman <[email protected]>
Shiny new shields!

c96e985dbfe063d8ca7a3e7361ee937c97e9fa68 authored over 10 years ago by Justin Hileman <[email protected]>
Adding data provider to test legal and illegal syntax inside of a parent tag

efae42978dbce89b2989800649ba444982c4f621 authored over 10 years ago by Dan Miller <[email protected]>
Throw exception when something other than text or block tags are encountered inside of a parent tag. Other small cleanups

d27840f8efa25248bd0c0eb3be5578686c00bc2a authored almost 11 years ago by Dan Miller <[email protected]>
Separate stacks are necessary for blocks to be resolved independently of variables. Renamed parent_* to block_*.

af8a62c5e22cf126801e839ad578998ef1967271 authored almost 11 years ago by Dan Miller <[email protected]>
DRYing parentArgSection into the section method

63b835bd0963d65f00e958f37739b361ae669f82 authored almost 11 years ago by Dan Miller <[email protected]>
reverting vendor spec change

3c57d5f2205e3148f7253b4cc9b750d67d8fded2 authored almost 11 years ago by Dan Miller <[email protected]>
removing deprecated code for loading non-existent inheritance tests from the mustache spec

ebb7fda2e56bfba4d238c7f0f892bd02d1e7b7fc authored almost 11 years ago by Dan Miller <[email protected]>
s/new_context/newContext/g

a631de174ca807281b3d00f0448160b34b8f38ad authored almost 11 years ago by Dan Miller <[email protected]>
removing unnecessary local variable in findFromParent function

31800de88f7b240a013cb98396a371db2ef935ed authored almost 11 years ago by Dan Miller <[email protected]>
php 5.2.x doesn't support closures, so added a private static funtion to be used from array_filter instead

f47a09538e4deb70da9a58bb48de2f2da0efe836 authored almost 11 years ago by Dan Miller <[email protected]>
referencing nodes by class constant rather than string literal

c6c67ce609903765e0a4807b4cd556b6f895f75e authored almost 11 years ago by Dan Miller <[email protected]>
hogan.js style template inheritance

db14a6c8633f1686a81c2c5dcc1890c656ec754e authored almost 11 years ago by Dan Miller <[email protected]>
Again, but with more following the instructions.

0315da508b3dc12130df1164655172fa79d48a70 authored almost 11 years ago by Justin Hileman <[email protected]>
allow hhvm to fail for now

8f831201bd3ebe61f6e6e075752c052ed8df01b7 authored almost 11 years ago by Justin Hileman <[email protected]>
let's try it with *all* the versions!

d5b1add8244d764fdbd8a2a0e70cb1aa331185e4 authored almost 11 years ago by Justin Hileman <[email protected]>
Refactor to remove strict callables test duplication.

b8b156d3cca8e7983b52aafff079822c413fb0ae authored almost 11 years ago by Justin Hileman <[email protected]>
Remove unused $partialData.

125873a8e0ed9f9f00e4a96be874fc7e97ad9943 authored almost 11 years ago by Justin Hileman <[email protected]>
Refactor to remove duplicate StreamLogger test code

c10c966e604f3d5c5da98b45c955a32acb25169c authored almost 11 years ago by Justin Hileman <[email protected]>
Refactor duplication out of Mustache injection test.

402f5013dcf580d6a2792770de8eb276e9a2cb2a authored almost 11 years ago by Justin Hileman <[email protected]>
Combine FiltersTest and SectionFiltersTest

They’re basically duplicates, so this clears up a bunch of code :)

ad0204c37287a5e6df2b410c12dd947d90613ca1 authored almost 11 years ago by Justin Hileman <[email protected]>
Refactor away engine logger test duplication.

2abbc4b35cb8f20d5108cc54f83e06b9574df927 authored almost 11 years ago by Justin Hileman <[email protected]>
Refactor out section callback test duplication.

0b85c9daff75d770955ea3ffbdf270f529060e20 authored almost 11 years ago by Justin Hileman <[email protected]>
Refactor out test code duplication

(enable/disable lambda template cache test)

ada9876c18680cd61a6942bac492fc0d1d670b79 authored almost 11 years ago by Justin Hileman <[email protected]>
Fix disabling lambda template cache.

Because it’s so much awesomer when config options actually do what they say they do.

77d99d2bd3aebc73e58544ac016959831bb7354f authored almost 11 years ago by Justin Hileman <[email protected]>
Add (failing) test case for disabling lambda cache.

b61af6e4e89484aeaafa6e6ecb33259ee3e27050 authored almost 11 years ago by Justin Hileman <[email protected]>
remove old test annotation.

085729aa27f2f4cba073fae2a34b6d16a23d436c authored almost 11 years ago by Justin Hileman <[email protected]>
Let’s not use Composer’s autoload, since it fails in 5.2

This reverts commit af737f4cc72e1463e87f5bf946dab8d126d87a49.
This reverts commit 84a4ff5b16b0be...

fdff8a4d1524cbb039bdb691cf83341a64f2129b authored almost 11 years ago by Justin Hileman <[email protected]>
Fix autoload for Travis

af737f4cc72e1463e87f5bf946dab8d126d87a49 authored almost 11 years ago by Justin Hileman <[email protected]>
Remove redundant documentation.

de2466864b971ee059e1daf564580428d481aeb9 authored almost 11 years ago by Justin Hileman <[email protected]>
Revert "Reduce Engine constructor complexity."

This reverts commit e9d4af3bbefa0088a5125085f49a9fcc02dcd01c.

69c1ff9daab06a5c9f9816c31abf7c21e7f28bf1 authored almost 11 years ago by Justin Hileman <[email protected]>
Minor CS changes.

2bb13b37a46144f8247fb6b807ad0fdd4e1c590a authored almost 11 years ago by Justin Hileman <[email protected]>
Extract spec loading code into base test case

151de6f13e14ed36059376aea2219df363cc93bc authored almost 11 years ago by Justin Hileman <[email protected]>
Extract duplicated tmpdir code into base test case

3d9288dc8e966ff425651f775f35913fe809cec8 authored almost 11 years ago by Justin Hileman <[email protected]>
Use Composer autoload for unit tests.

84a4ff5b16b0be42c969e7da50c7da7ce22fbe55 authored almost 11 years ago by Justin Hileman <[email protected]>
Reduce Engine constructor complexity.

I’m not sure I love this. I might prefer the more “complex” version :-/

e9d4af3bbefa0088a5125085f49a9fcc02dcd01c authored almost 11 years ago by Justin Hileman <[email protected]>
Gah. Fix broken lambda tests.

This is what I get for blindly following code sniff recommendations.

b3e3e0a27a523c56da16dbeb47f75cb792587bfd authored almost 11 years ago by Justin Hileman <[email protected]>
Remove some dead code.

8debbd58bb9020bc0490bd870bd541b02725d00e authored almost 11 years ago by Justin Hileman <[email protected]>
Fix missing properties.

a2ca330cba5e4900fed84670a11254cfd987a010 authored almost 11 years ago by Justin Hileman <[email protected]>
Fix incorrect or missing type annotations.

f696e7afa6929101e214db2ae221cd7895695075 authored almost 11 years ago by Justin Hileman <[email protected]>
How embarrassing.

I keep writing 2013 on my copyright notices.

22a47452da934e61021603f60e309972a212ffb8 authored almost 11 years ago by Justin Hileman <[email protected]>
line numbers are numbers, not strings.

1d8db69fb639e560c016f1369516ecc01aa93863 authored almost 11 years ago by Justin Hileman <[email protected]>
Override encoding to improve tokenizer performance

Speeds up tokenizing by ~15% for most users, and by 50% for users with mbstring.func_overload se...

e00bebd1414f0ce911016331e8496cf65f6ffaa4 authored almost 11 years ago by Justin Hileman <[email protected]>
Store otag/ctag lengths rather than recomputing.

~15% tokenizing performance boost. 99% reduction in strlen calls :)

6215e6b1b12477dd3686444ce081dbdfa20e3748 authored almost 11 years ago by Justin Hileman <[email protected]>
Clean up comment code block style.

d534b168a0cade4be63cef9eb72704b94693c130 authored almost 11 years ago by Justin Hileman <[email protected]>
Merge pull request #185 from jazzdan/dev

Include line number with syntax errors

6fa8518a9acc289ee2896725d84dac052872d2a6 authored almost 11 years ago by Justin Hileman <[email protected]>
Include line number with syntax errors

Contains changes suggested in #184

536c0edac72a2b76d67ca2f9bc9fc2f4608bd0e6 authored almost 11 years ago by Dan Miller <[email protected]>
Merge branch 'hotfix/2.5.1' into dev

b84e9deec8646ba834007e905c81b90765b4791c authored about 11 years ago by Justin Hileman <[email protected]>
Merge branch 'hotfix/2.5.1'

996c944fa2ddedddfaf0d276b913809d6a32fd85 authored about 11 years ago by Justin Hileman <[email protected]>
Version bump v2.5.1

39dc20e691621dfe0859d7d96ed2b3ba5327f63f authored about 11 years ago by Justin Hileman <[email protected]>
Ugh PHP.

Fixes #183

aa77e3bfd998ac375fced672fbb3cf3217af02aa authored about 11 years ago by Justin Hileman <[email protected]>
Add a failing test for #183

Tokenization error for sections with only “0” in them.

f1d3955492b38c26cad5e7ca9c169ea5b97792c0 authored about 11 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.5.0' into dev

49eb190c4270ab64a36e7cab4d8e1edb81d68a9a authored about 11 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.5.0'

dd528e765afcaaae20ce3bebdda3162456d93b47 authored about 11 years ago by Justin Hileman <[email protected]>
Bump to v2.5.0

bd2a1fa492e665d74f5933d549453911bdb1492a authored about 11 years ago by Justin Hileman <[email protected]>
Improve test coverage.

a467124a4654eb50f6e18783ef4ab5ff35c2edaf authored about 11 years ago by Justin Hileman <[email protected]>
Update bin/build_bootstrap.php for Cache classes.

3a9a8bde3643f0e5b2f0fb7ecff3e54720ca932d authored about 11 years ago by Justin Hileman <[email protected]>
Minor docblock updates.

e24f5c744ad7638302a0b176417f40e981ae6e65 authored about 11 years ago by Justin Hileman <[email protected]>
Fix param names in NoopCache.

77b88cd74fd18ae4f3231cc0faef11b5173886fd authored about 11 years ago by Justin Hileman <[email protected]>
Add 'cache_lambda_templates' config option.

Stop caching lambda templates by default, as they are generally too dynamic. Make lambda templat...

2b5d9e5f39e72253792716d50a63a43bc29c2c94 authored about 11 years ago by Justin Hileman <[email protected]>
Add passthrough optimization for lambda sections.

Higher order sections which return mustache-free strings don’t need to be re-parsed, compiled an...

6b7f33c78df302da3048cd156d5866dab420e104 authored about 11 years ago by Justin Hileman <[email protected]>
Implement section (and inverted section) filters.

This is a super powerful construct. It's also prolly a violation of the "logic-less-ness" of Mus...

e739e216a69f46e8d1721f4ed0334394fa9aa2e3 authored about 11 years ago by Justin Hileman <[email protected]>
Fix ArrayAccess priority:

* Methods brump properties and ArrayAccess
* Properties beat ArrayAccess
* ArrayAccess beats ...

38b6b245b172d7c33de384a6ea2eb4e4c76e3f62 authored about 11 years ago by Justin Hileman <[email protected]>
Clean up code style, ArrayAccess test.

See #178

04b016016e4e024b497e00b15ea83cb3642df696 authored about 11 years ago by Justin Hileman <[email protected]>
Allow use of ArrayAccess objects in context.

0c85d195090d9c9f475e7218f856fa016f622d0a authored about 11 years ago by Christian Würker <[email protected]>
Add PHP 5.5 to Travis config

0e1d5a678fc99168543bf376f35559782d7431bf authored about 11 years ago by Justin Hileman <[email protected]>