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

Per the updated spec, interpolated lambdas should not be cached.

14911a158eb2835e2cbf9f654a9bc4e70136979a authored almost 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

Conflicts:
Mustache.php

d7cee2940272044aaf5e0410e8521efdea8e412f authored almost 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/spec-update' into dev

2efa7057517dd5c29aed699240b4387dd14436df authored almost 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

76c4eb25b4a419c709e03531f655480fd0bcb5de authored almost 14 years ago by Justin Hileman <[email protected]>
DOT-NOTATION and IMPLICIT-ITERATOR are now part of core spec.

These pragmas have proved useful enough that they're no longer considered pragmas. Enable them b...

25253b3c00b2912b9aeb619cc4a0f46c56600cf7 authored almost 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/spec-update

f0861da0008ed597c7b91848234e1743fa1ede9d authored almost 14 years ago by Justin Hileman <[email protected]>
Update spec to v1.1.0 -- dot notation

fd3875a4ac8dbc12d68a55b7a3c89c1363e6fea9 authored almost 14 years ago by Justin Hileman <[email protected]>
Clean up $options code.

* Add a nice descriptive comment to the constructor.
* Add test coverage for `_setOptions`.
* Fi...

ebfe6495bbf65709d8865409d2013308365ebec8 authored almost 14 years ago by Justin Hileman <[email protected]>
Mustache::$_otag and Mustache::$_ctag no longer need to be public with _setOptions added

9a866e972124ca69eb84acb8f997cad31906b9fd authored almost 14 years ago by Woody Gilk <[email protected]>
Added $options to constructor, along with _setOptions method to allow setting some options at runtime

8bc3b1558c43a20ba53e4d96413166c5f19a7dd2 authored almost 14 years ago by Woody Gilk <[email protected]>
Merge branch 'hotfix/0.5.2' into dev

e928cd956af8ecd67e9761109f5181227c781957 authored almost 14 years ago by Justin Hileman <[email protected]>
Merge branch 'hotfix/0.5.2'

27bed8f10a34a08a04995c47f255cd5ad4414f6c authored almost 14 years ago by Justin Hileman <[email protected]>
Check whether context item is an array before using it.

Fixes #24. This will be necessary once implicit iterators make it into production. It will also ...

392b0a3c5701fcfdf9849e5d6877fe0319671c14 authored almost 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/indentation-fix' of https://github.com/DrPheltRight/mustache.php into DrPheltRight-feature/indentation-fix

0ac8be629b2475307e15fc3afbeb35e1ea217bbf authored almost 14 years ago by Justin Hileman <[email protected]>
Update spec to v1.0.0. Tests break.

9640915fb7f15640dc2ddf9dbbcbb18b164be104 authored almost 14 years ago by Justin Hileman <[email protected]>
Fixes #28

5130ff2cbec33a2ee74abee352c70a797b405196 authored almost 14 years ago by Luke Morton <[email protected]>
Update to current spec HEAD.

This makes a lot of tests fail :)

2cfc9ba82772d0c26d583ec842c0dfb982cbe350 authored almost 14 years ago by Justin Hileman <[email protected]>
Update spec test to work with v1.0.0rc2 lambdas spec.

dd6077812429be0e33622bf7169be83f597cb9b9 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

8c958a78def54dcb6fe15cf9e0556c44fa0615ae authored about 14 years ago by Justin Hileman <[email protected]>
Update spec submodule to v1.0.0rc2

8fbca952c6266a9a881cd0f611ad9b2338284991 authored about 14 years ago by Justin Hileman <[email protected]>
Update (per the lambdas spec) to allow lambdas as "higher-order variables".

6a65bcda03039e90602b95d74e957faf06ece8ac authored about 14 years ago by Justin Hileman <[email protected]>
Enable (and fix) lambdas spec test.

This requires the not-yet-committed PHP version of the lambdas spec to actually do anything besi...

65d6b5a63897f63528802285a61b4534d45ab424 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

8db0b86e45d79c7fcb95c770493154606ffcc232 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'hotfix/0.5.1' into dev

c7a206434478ab08ca20a0e06f0d6b3a4a48b291 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'hotfix/0.5.1'

6eb3ea0c8bacbb843cf6258671563f30684b411a authored about 14 years ago by Justin Hileman <[email protected]>
Fixes #25

7d239849dadda77dc324d15f47638d16e49985e1 authored about 14 years ago by Luke Morton <[email protected]>
Merge branch 'release/0.5.0'

a448453da30c6862cad912cd3db4ac4b8751deb2 authored about 14 years ago by Justin Hileman <[email protected]>
Update README.

f2d677e5d604fd5bab952a815dd33cd275e7b444 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

771373c70d96ef61b8899dc1160d595692cf9429 authored about 14 years ago by Justin Hileman <[email protected]>
Comment out lambda tests.

Lambdas aren't currently implemented in Mustache.php, and the parser we're using doesn't like th...

7466cd25512e5a45a96e3db02795370c3771a683 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/whitespace-overhaul' into dev

2e335f8687e920c8221341eda08caaffbdf15e3c authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/whitespace-overhaul

6e070ca476c5d3879c2ae5cb3251b438665f0ed2 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/mustache-spec' into dev

5eeddd5cb563981e021d59d2cd35059f34aa3f8d authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/mustache-spec

55e3a036f2ded70f6ed103629b23c37e79185c5c authored about 14 years ago by Justin Hileman <[email protected]>
Cleanup.

Make RegEx variable capitalization consistent. Add docblocks for prepareFooRegEx functions.

64b5cd0964d04c881a6680814ac5cdda6c148b3c authored about 14 years ago by Justin Hileman <[email protected]>
Move class constants to their logical places.

c5bf83f9a954946182ecdf4b6fd9eee1de189249 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/whitespace-overhaul

834d612f1e27940f6a9970992615f75682a27e37 authored about 14 years ago by Justin Hileman <[email protected]>
Add test for double-rendered sections, prevent mustache injection (see fix for mustache.js: http://hile.mn/fOVoW1 ...)

7cb2029ec2aac92ac9457666bcea8ed2c6b64fca authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/mustache-spec

7ffd232c2efcf6e1f64180733474fd1d600e09d2 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

b08f116d7f73f7e51a365a816b4614c67b471fd6 authored about 14 years ago by Justin Hileman <[email protected]>
Optimize dot notation check

Don't try to traverse dot notation unless there's a dot in the variable name.

289cd023d423b8ccb8c27a317c95d4e9a791fe09 authored about 14 years ago by Justin Hileman <[email protected]>
Remove an extra trim();

b33b1a7bf2784e07bee46f21722f6ee506800c49 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/whitespace-overhaul

c1bac31884707cdcab6006ef6d28a88ff254e627 authored about 14 years ago by Justin Hileman <[email protected]>
Pre-escape tag type constants (saves us from doing it each time the regex strings are prepared)

fe91be1fb1b184601de7404fcc187a5ac4f41cf8 authored about 14 years ago by Justin Hileman <[email protected]>
Updating _renderTag logic around leftover section tags.

Exceptions are now thrown by _renderSections, so anything left over by the time _renderTag execu...

225a32d5bfa6efc132114a7bf712105a044aa1a9 authored about 14 years ago by Justin Hileman <[email protected]>
Update phpunit config to exclude tests from coverage report.

730c3a36e57a5216027d1436e7272784c572aec0 authored about 14 years ago by Justin Hileman <[email protected]>
Capture whitespace before tags, prefix it to partials.

2b8e2f6e84bbb95a29770694b584ef3e16fbdfce authored about 14 years ago by Justin Hileman <[email protected]>
Massive overhaul of Mustache.php's whitespace handling.

Move regex preparation into methods, use named subpatterns so the regex makes more sense. Fix th...

3e6b8102b78dba421f987a05f5a32abd0d7b13f6 authored about 14 years ago by Justin Hileman <[email protected]>
Swap out spyc for sfYaml.

spyc has a parsing bug which causes partials to fail. I mean, they fail for other reasons too. A...

e0ec0d0e18055eb351067abb0bebcf0b5ec15849 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/mustache-spec

ab29f6eef448782e3fb7fc0fd64cf2229bda8f66 authored about 14 years ago by Justin Hileman <[email protected]>
Even more ludicrous recursive section / implicit iterator tests.

d026315a2c1ff29d2fda1fbd9776635da2adcdbe authored about 14 years ago by Justin Hileman <[email protected]>
Test case for recursive sections with implicit iterators.

fef6234954f7b6187cad99808f12b112694ff772 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/section-stack' into dev

16115f915be51076f65d705e3a337e3bcc067013 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/section-stack

fa0e7fac802fccfb2fe1582c4323d5cc35fff29e authored about 14 years ago by Justin Hileman <[email protected]>
A broken example for issue #12 - recursive/nested sections.

1282b8104a61ccb6c3c783e6668d409555cf807c authored about 14 years ago by Justin Hileman <[email protected]>
Add an inverted section test to base test case.

bb04ccd05e833f1534845e2d4dcaf43d4ab61c87 authored about 14 years ago by Justin Hileman <[email protected]>
Add test groups for easier test breakdown.

943aa8849adda020461e551379422dfe59063c7f authored about 14 years ago by Justin Hileman <[email protected]>
Add test groups for easier test breakdown.

f143f17b40a1649ed8b29fed01181ba6bf9f9311 authored about 14 years ago by Justin Hileman <[email protected]>
More correct sections implementation.

Allows nested sections of the same name, throws exceptions on incorrectly nested sections, e.g.:...

38accdaf89cd054f85db10b0471b608312e7fff4 authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'release/0.4.0'

a39c6f689ecf3f6b5b309a32e09a1d12a3866682 authored about 14 years ago by Justin Hileman <[email protected]>
Revert "Merge branch 'luciferous-master' into dev"

This reverts commit 9202a37cf517a24b17fb554adbab5c6bfbb227bd, reversing
changes made to 54b5800d...

35c725089be88d7a044a109a2d9cea594b6eb1dd authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'luciferous-master' into dev

9202a37cf517a24b17fb554adbab5c6bfbb227bd authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'ThePixelDeveloper-master' into dev

54b5800d420da0dea307fa79518f181f3dbe5554 authored about 14 years ago by Justin Hileman <[email protected]>
Whitespace

f2d77ad6955df90dd1175d5947b6408278cf91dc authored about 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/mustache-spec

963faf5de912d74951479a19d8261c75be9a4564 authored about 14 years ago by Justin Hileman <[email protected]>
Add support for 'less-than' partial notation.

f3cb0877ffde97b7278a8c03725242eac5d835e6 authored about 14 years ago by Justin Hileman <[email protected]>
Adding test support for the mustache spec.

To run the spec tests, you must initialize the spec submodule:

git submodule update --init
...

596fb3c1d4b506ab298a85d8148e5ece55a75370 authored about 14 years ago by Justin Hileman <[email protected]>
Use is_callable instead of method_exists

To use objects implementing __call().

Closes #18.

65770a03f65fc2fea05c3d3c4af4aa06deffbbf4 authored about 14 years ago by Neuman Vong <[email protected]>
Use array_key_exists instead of isset for checking array values.

e8f99bb04e494265ba78670156951696b3f40bcb authored over 14 years ago by Mathew Davies <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

9de188140c764f44224e0571681a39aabaf42174 authored over 14 years ago by Justin Hileman <[email protected]>
Moved test for #11 into 'escaped' example.

e3c7afde46d5dbf7c86b0d954b79b955549ec42b authored over 14 years ago by Justin Hileman <[email protected]>
Fixing Issue #11

758027bd9113a8ee9ebb45c3ec78d73c4803b031 authored over 14 years ago by Jeremy Bush <[email protected]>
Merge branch 'release/0.3.0' into dev

2bd68f59b1596e4d84d877157edffde6be012be3 authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'release/0.3.0'

8b1c9c113c4e189923e4874be6fca5be715239ac authored over 14 years ago by Justin Hileman <[email protected]>
don't include phpunit in test cases.

568b6c851255f74d9f1fe740363a8d5be118394d authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/test-coverage' into dev

eb01f3052c9273a8dcc05a6415b964fea085c86e authored over 14 years ago by Justin Hileman <[email protected]>
Test coverage is no longer incomplete.

31b38b71a2fecb1642a136f3971a8c1bffef8f3a authored over 14 years ago by Justin Hileman <[email protected]>
Clean up comments and whitespace.

f91f74ef1ba274d3b8a9456e57a10047100c8396 authored over 14 years ago by Justin Hileman <[email protected]>
Minor test coverage improvements.

Add regression test for newlines in comments. Add rudimentary partials test.

e2546d40c1bc00d75b3d10f12abf4234ac6f2b8b authored over 14 years ago by Justin Hileman <[email protected]>
Update mustache object section test to cover class method access for embedded objects.

39b24c1933bde02b1535a5ba10b322bfb696a4aa authored over 14 years ago by Justin Hileman <[email protected]>
Adjust _renderTag so xdebug relizes that it actually has full test coverage. This commit marks 100% test coverage of Mustache.php.

54d91b667be92b92c5ef0944d806e894959b9fdd authored over 14 years ago by Justin Hileman <[email protected]>
Add test coverage for edge cases and exceptions.

5de845cb2e227810ab03f41a397c106d8c434960 authored over 14 years ago by Justin Hileman <[email protected]>
Initialize local pragmas with empty array.

de968a42b4a329b0cf4957d0cde614ade3a2f1d3 authored over 14 years ago by Justin Hileman <[email protected]>
Add known issue for whitespace, mark whitespace test as skipped.

582c3278fa5b7ee0e452c13cd3084e13f76328b1 authored over 14 years ago by Justin Hileman <[email protected]>
Refactor section_iterator_objects example.

Defining an IteratorObject class is unnecessary: the ArrayIterator will do just fine.

e40a57cba19a3fe744e216ce96c8a646fc041dea authored over 14 years ago by Justin Hileman <[email protected]>
Re-ordering mustache variable precedence

196f33462114db11adc28688737f7813ba27e76e authored over 14 years ago by Matt Button <[email protected]>
Only allow anonymous function or class-based callback for higher-order sections.

18bffdaea0964a7f46ac4b9604e47744f295cdfa authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/higher-order-sections

Conflicts:
Mustache.php

8709a3969d99011f93d368b23de1bf9cd062788e authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/test-coverage' of github.com:bobthecow/mustache.php into feature/test-coverage

4c85d9f3e41072d1c683e5654d2ed337f59343c0 authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'release/0.2.7'

fe1493c6e70f4938dd873d3eeca84623290d56bd authored over 14 years ago by Justin Hileman <[email protected]>
Support for newlines inside mustache tags.

ec562fea0916b8d8dedba516d748739a6c126ec0 authored over 14 years ago by Justin Hileman <[email protected]>
Update SectionSpaces class name to work with template autoloading, changing .txt to desired (not actual) output so the test will fail.

ad6e15e5b5629e80860a3d26db8118feef4bc3e4 authored over 14 years ago by Justin Hileman <[email protected]>
adding tests for space failure

c51d1e61b72dab929b5e556d5b815b2908cedfbb authored over 14 years ago by Jeremy Bush <[email protected]>
Merge branch 'release/0.2.6'

0b542e4e0854246b1f1ababbaccece95ca047292 authored over 14 years ago by Justin Hileman <[email protected]>
Added documentation for IMPLICIT-ITERATOR and DOT-NOTATION pragmas.

c1cdea7bc530aaa3f5ab9842651c0890bd141d2e authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/implicit-iterator' into dev

f43012f457f2cfb4a7e6b3278f92c2a9ab813fdd authored over 14 years ago by Justin Hileman <[email protected]>
Fixed implicit iterator + dot notation tests, this feature is now ready to merge :)

06ee1f224a720ca16bc78e927c00d8ff7a67746f authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'dev' into feature/implicit-iterator

6cfd2b4be804564b07bea864f61b6f7438164f83 authored over 14 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/test-coverage' into dev

870aedf6b9ae677ef0306160d3c2feb0dc083513 authored over 14 years ago by Justin Hileman <[email protected]>
Fixing test names to match prior art.

93018640d95e365aa3c07d6db50c65c21c1247bb authored over 14 years ago by Justin Hileman <[email protected]>