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

Fix docblock param order.

It’s been backwards since #148. Whoops :)

b6d6a720a0d59162fa77f167bf0f15692dfa430b authored about 11 years ago by Justin Hileman <[email protected]>
Fix for nested partials indenting.

Fixes #167

e388a3ca7fce5ecf29395a5e7d73cd50df2662cf authored over 11 years ago by Justin Hileman <[email protected]>
Add a failing test for #167

Multiple levels of nested partials are only indented to the level of the first partial.

44b60e1bb8d8dfe79d0f09a3e3c0633b0eb57b18 authored over 11 years ago by Justin Hileman <[email protected]>
Clean up comments, standardize whitespace.

cb2a6b5a03774ce968aebb567d9e22f20a2cdabb authored over 11 years ago by Justin Hileman <[email protected]>
Bump copyright dates.

0d161cc7d28aac9573141f0f37f6b2d0cc9b4fd9 authored over 11 years ago by Justin Hileman <[email protected]>
Merge pull request #166 from amitsnyderman/master

Extract cache interface

cfa5738651b4ec5434c70a6c5a0760da4cf41a70 authored over 11 years ago by Justin Hileman <[email protected]>
Fix docblock

e07c9422902d895e51107254f6cc738f1cf923f8 authored over 11 years ago by Amit Snyderman <[email protected]>
Docs

046ad2b96846c9be370125719ff78fb02531597f authored over 11 years ago by Amit Snyderman <[email protected]>
Add copyright/license header

d6e1b4505377d5c803fb90eb1e87355262541a6f authored over 11 years ago by Amit Snyderman <[email protected]>
Revert timezone edit

37e60df12cdd1f2a5f9bbc386df982a8b6c69fc2 authored over 11 years ago by Amit Snyderman <[email protected]>
Fix broken build

ae138efb47528c2a8d3a528e7e7a1e8ae4a8bfae authored over 11 years ago by Amit Snyderman <[email protected]>
Set logger for cache if not explicitly set

a83ecd70aa960450eba7790dee14ffb2a71767e0 authored over 11 years ago by Amit Snyderman <[email protected]>
Use class name as cache key

1937752519e54509d748d7618058c0380a632d78 authored over 11 years ago by Amit Snyderman <[email protected]>
Use existing temp directory for test

8894d68482511e3b603ef885cee63cabb04a0c42 authored over 11 years ago by Amit Snyderman <[email protected]>
Invalid documentation

689be14d0f15634d2da0f031e0a353af658a319c authored over 11 years ago by Amit Snyderman <[email protected]>
Restore logging for cache operations

`AbstractCache` exposes the ability to set a logger. Default behavior
automatically passes the l...

724cd60cacd02f8ffc2d7cd9c1966d7e71d9bb5c authored over 11 years ago by Amit Snyderman <[email protected]>
Restore original eval vs. require class loading

Pushing the responsibility of class loading onto the `Mustache_Cache`
implementation and changin...

94cd72bfd4b970b21f528525bba3c21bf388ecad authored over 11 years ago by Amit Snyderman <[email protected]>
Cleanup cache initialization from options

71eaed27783cfdaa962a85268fb0a0b048e14064 authored over 11 years ago by Amit Snyderman <[email protected]>
Fix build - explicit config key check

3e876fd9846a911d981621909a546042b7ded164 authored over 11 years ago by Amit Snyderman <[email protected]>
Extract cache interface

Refactoring to allow for alternative cache implementations. Includes
implementations for the def...

60338e495656f3735b82dc8e44c0c2dbe23cd799 authored over 11 years ago by Amit Snyderman <[email protected]>
Explicitly set timezone to UTC for tests

6634f44ca625ff8a49146a334daf25f59a042ce8 authored over 11 years ago by Amit Snyderman <[email protected]>
Merge branch 'release/2.4.1' into dev

a4ab23471cf10e6ade7749053fb88166f2a69e44 authored over 11 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.4.1'

14bc3b4f6a4770b535fc433bfd0435471ed386c6 authored over 11 years ago by Justin Hileman <[email protected]>
Bump version for 2.4.1

e3cbc253c397f4fae60b24108115c97f4c626c53 authored over 11 years ago by Justin Hileman <[email protected]>
Add PHPUnit dev dependency.

f968f5fdcb624f65fb92247edb05a6a1127b8444 authored over 11 years ago by Justin Hileman <[email protected]>
markdown -> md

75b56da0c53db35065322c1d83a51cab78fdd0c6 authored over 11 years ago by Justin Hileman <[email protected]>
Move realpath call into constructor

Add an is_dir check, because realpath fails with things like stream wrappers

a8bd6a6cf6dd7ddcbcf99ce4c8189a45b4bcd7b1 authored over 11 years ago by Justin Hileman <[email protected]>
Merge remote-tracking branch 'mirkolofio/master' into dev

35ad7f961e3dd198cd73d4c51541c0c4f510a903 authored over 11 years ago by Justin Hileman <[email protected]>
Only run partials + lambda indent test on 5.3+

07e96b2a1990bfdf306f6a108841e1c948da762a authored over 11 years ago by Justin Hileman <[email protected]>
Fix indents in lambda sections inside indented partials.

Fixes #128

1c945926bd26eb6cad1e655d7c2d35c8c919890b authored over 11 years ago by Justin Hileman <[email protected]>
Add a failing test for #128

408ff8d3451fe485b31de070f987c7e8658e0b51 authored over 11 years ago by Justin Hileman <[email protected]>
FilesystemLoader: removed all temp folder logic from testConstructorWithProtocol test.

Conflicts:
test/Mustache/Test/Loader/FilesystemLoaderTest.php

339c94b2e1598d5986dfc42302c2683b040d7545 authored over 11 years ago by mlebrun <[email protected]>
Merge branch 'release/2.4.0' into dev

65de52c7db46acfe2bd6c7c91ffafabed7cd4efe authored over 11 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.4.0'

6cd3145073487fdec4f290ca268c100d9a5944bf authored over 11 years ago by Justin Hileman <[email protected]>
Bump version for 2.4.0

48cf4c178c5f4d10bcf46be1964bfa9f5d172153 authored over 11 years ago by Justin Hileman <[email protected]>
Trailing slash test fix.

I suppose it would help if I didn't realpath the thing I was testing for realpathness

1d21de63d66115d4c441979c73d4949946fb16c4 authored over 11 years ago by Justin Hileman <[email protected]>
Looks like we don’t need that rtrim() after all.

(+ a test, confirming)

911151ad78bbb830368445567069f443bd71370a authored over 11 years ago by Justin Hileman <[email protected]>
Merge pull request #158 from mlebrun/master

Allow paths to include protocols prepended to the path.

4b4d2deb99a96a2f9a7528e1052f481b0e3f2a48 authored over 11 years ago by Justin Hileman <[email protected]>
Fixed parenthesis whitespace.

08972b31d301f6cc764558f77e101e2260cb6ff5 authored over 11 years ago by mlebrun <[email protected]>
Fix sending protocol with path to FilesystemLoader constructor.

2d0293c61273b3d7e93efa2e25ed97b969b0e5bb authored over 11 years ago by mlebrun <[email protected]>
fix for paths like/begin with './'

08f5746c10d60644a10789c14191c9ea3a3769e4 authored over 11 years ago by Mirco Babini <[email protected]>
Merge branch 'feature/whitespace-tokenizing' into dev

287d2f74a8ea5028ac8efb3a09bdca00401bcb7d authored over 11 years ago by Justin Hileman <[email protected]>
Update Compiler for new Parser output.

87a734e60c3b725d1f99c38a3442e7c85a03696e authored over 11 years ago by Justin Hileman <[email protected]>
Add standalone line whitespace handling to Parser.

8f5be9e4702ce1acc690bc225f820f1e21b927c9 authored over 11 years ago by Justin Hileman <[email protected]>
Ensure that delimiter changes appear in token list.

de9941d271f3e1940cc070fa1f4b1b081bca4e8b authored over 11 years ago by Justin Hileman <[email protected]>
No need to loop through pragma tokens twice.

Add them directly to the token list as soon as they are tokenized.

4588e043653a37568f7f1c5c58b994064d510363 authored over 11 years ago by Justin Hileman <[email protected]>
Track line number in Tokenizer

(needed for standalone line filtering via Parser)

32461bfb48e19c4e058cfd8025c6961cd26bc537 authored over 11 years ago by Justin Hileman <[email protected]>
Remove "standalone tag" filtering from Tokenizer.

b77d2f308e735e75c2faf2e1cb3355c0a274f701 authored over 11 years ago by Justin Hileman <[email protected]>
Fix doc comment on inline loader.

4112bcc3f74cce0a2f686d22d25ef31c9efa2ec9 authored over 11 years ago by Justin Hileman <[email protected]>
Add missing comments for pragma tokenizing.

0564df96510f9e66bfdabdeb453949234c1860ba authored over 11 years ago by Justin Hileman <[email protected]>
Use a raw array for Parser::buildTree

Improve memory usage by ~15% for very large templates.

697f4ac26b0f7d3093085dd544a9dd32ce361372 authored over 11 years ago by Justin Hileman <[email protected]>
Remove unnecessary leading slashes.

ade0b987611fd02469373590f4ce9625a2844a7b authored over 11 years ago by Justin Hileman <[email protected]>
Change entity_flags variable names to match PSR-2.

c5c36ddd2b1c0082492a40c807903c830f50e505 authored over 11 years ago by Justin Hileman <[email protected]>
Merge pull request #148 from pinterface/dev

Allow passing in the $type parameter of htmlspecialchars()

7065cef6892eb6b6999768a05e47f973bcc86e2a authored over 11 years ago by Justin Hileman <[email protected]>
Allow passing in the $type parameter of htmlspecialchars()

311f337856a9cfb63aea616eed4290162d23a718 authored over 11 years ago by Pixie <[email protected]>
Merge branch 'release/2.3.1' into dev

c6c480013a1f867a116cc810b84c6f52a1ea9a7f authored over 11 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.3.1'

3ef28e14e3ab2cc07e26707b7fc5fa741a699173 authored over 11 years ago by Justin Hileman <[email protected]>
Bump to v2.3.1

afc20ae1e23b586e63c323682aa7db7bbeef9915 authored over 11 years ago by Justin Hileman <[email protected]>
Fix tokenizing when `mbstring.func_overload` enabled.

Fixes #144

2327f3839f4ec485764982c68545ab61a14ac063 authored over 11 years ago by Justin Hileman <[email protected]>
Fix this mention too :)

5d186b134b516e41da0ded7045c2fe41de1d57b6 authored over 11 years ago by Justin Hileman <[email protected]>
Update docs, variable name for render passthrough.

3fb7fdc2aca99c41342411d237c26c076afa8d0b authored over 11 years ago by Justin Hileman <[email protected]>
set default value for render context to empty array

cdcfeed67d2417e83bb6e197d21ee5b101fbd73e authored over 11 years ago by Josh Butts <[email protected]>
Reformat LICENSE file.

9e5ef08fbfe65e5b8b5fbfa643e1e32492a5cb67 authored over 11 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.3.0' into dev

e5da080ef487f0aa608cc6dc498cd5df808c9752 authored almost 12 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.3.0'

fb5e4ecb308d560401af5ab25c109ce73fc85358 authored almost 12 years ago by Justin Hileman <[email protected]>
Bump to v2.3.0

0f1fc69e5c48ffea864ebfff0fe340e4591e432c authored almost 12 years ago by Justin Hileman <[email protected]>
s/an/a/

723ac37053a4189c3f120dfd0106a3e675570075 authored almost 12 years ago by Justin Hileman <[email protected]>
Merge branch 'hotfix/2.2.0' into dev

Conflicts:
src/Mustache/Compiler.php
src/Mustache/Engine.php

01d413de0d5bebc4cf4e7648ef7a30af0b16bb14 authored almost 12 years ago by Justin Hileman <[email protected]>
Merge branch 'hotfix/2.2.0'

f0eb5091e2659b9ce94231db988b0e06cb408344 authored almost 12 years ago by Justin Hileman <[email protected]>
Bump Genghis version.

934a5495bb1acf9add82534a69f4df2fd00c2685 authored almost 12 years ago by Justin Hileman <[email protected]>
Add a 'strict_callables' option to Mustache_Engine

Prevents treating array('ClassName', 'methodName') or array($instance, 'methodName') as section ...

c160134b6d9941af0947e152e299d6cf3a539240 authored almost 12 years ago by Justin Hileman <[email protected]>
Include header in generated bootstrap files.

7fb7758178a144a7081bfdf0a23c7eaf4b967704 authored almost 12 years ago by Justin Hileman <[email protected]>
Remove unused submodule.

32a397f93d39570ca4a7174261fd804d9168754f authored almost 12 years ago by Justin Hileman <[email protected]>
Move loader cascading into the loadPartial method.

This means the `partialsLoader` property is never set to the default loader, fixing things like ...

ca44ef68f8d2b232bf5c0ef4d598462d6ac92c98 authored almost 12 years ago by Justin Hileman <[email protected]>
Simplify `setPartials` nested ifs.

72007e65b439c5f915291674ea4f8614e297e669 authored almost 12 years ago by Justin Hileman <[email protected]>
fix test: a partialLoader should match the loader when neither are specified

32b747be5cbe5be347eaadc209148b80266125b3 authored almost 12 years ago by Matt DeClaire <[email protected]>
fix for when loader is not defined

5a3802e2a6c23d58bf20993eb00755a90e239a26 authored almost 12 years ago by Matt DeClaire <[email protected]>
lazily default partialsLoader to loader

Conflicts:
src/Mustache/Engine.php

62435a5705bedd9fefeae6f814cc07d9f4e175ae authored almost 12 years ago by Matt DeClaire <[email protected]>
implement default behavior for the partials_loader

8053ce7093f3e6d0c1524b4c7ccab86f75d12d8a authored almost 12 years ago by Matt DeClaire <[email protected]>
Improve test coverage for custom escapers and charsets.

12d6884b4b14fe0287cffcb1eff184477cc9d776 authored almost 12 years ago by Justin Hileman <[email protected]>
Fix compiled templates' PSR-2 compliance.

c75b4c2e0b4831fbcc66e0fa61a6d477af62157d authored almost 12 years ago by Justin Hileman <[email protected]>
Update build_bootstrap with all the new classes!

d5e199b3b9824ca22d788d064761166ecdbe1e96 authored almost 12 years ago by Justin Hileman <[email protected]>
Add `resolveValue` method to base Template.

DRYs up compiled class output a bit and makes things FASTER!

Speeds up value resolution by 33% ...

a777c587f2349c8ee09a48d3b0d6f4a6757e6d84 authored almost 12 years ago by Justin Hileman <[email protected]>
Remove unused `escape` param from `renderInternal`

cf76a4b8f908507e6a5e25b9ccf3e5106e69a032 authored almost 12 years ago by Justin Hileman <[email protected]>
Don't instantiate a LambdaHelper for classes with no Lambdas :)

05e527fe212cd1d305e557d82eef16b06a250bea authored almost 12 years ago by Justin Hileman <[email protected]>
Merge remote-tracking branch 'rothshahar/patch-1' into dev

38453d0eac1253f9fb9532d98edfe624e4f2c9f9 authored almost 12 years ago by Justin Hileman <[email protected]>
Update src/Mustache/Engine.php

2c29f7e2b62e91915f40fd0d4d739708451fa6eb authored almost 12 years ago by Shahar Roth <[email protected]>
Update Lambda Helper docblock. It was a lie.

b1ca6f3cae1a645b89f6529b0e7cba3793d1114a authored almost 12 years ago by Justin Hileman <[email protected]>
Add a CascadingLoader implementation.

e5bc8d5edf02ff27cad4d7304e8aa59a91c934b4 authored almost 12 years ago by Justin Hileman <[email protected]>
Add an inline template loader.

This loader is awesome for micro-frameworks such as Silex :)

b22d15a759db41644d86006c526b0f016b19ae86 authored almost 12 years ago by Justin Hileman <[email protected]>
Remove unnecessary @implements annotations.

59020c2e4f2da839e7156e20b86202920bb534db authored almost 12 years ago by Justin Hileman <[email protected]>
mention UnknownTemplateException in loader interface

5fcd9f6d256553d54a97b722228428ee164f935e authored almost 12 years ago by Justin Hileman <[email protected]>
Link to main docs more prominently

a20068657e238faa1f28fc2d235edd6778f666f9 authored almost 12 years ago by Justin Hileman <[email protected]>
Bail early on log formatting if message has no placeholders.

1f07edd1adf4c3d92f212bf758ba63862586ec61 authored almost 12 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/catchable-exceptions' into dev

d0023b5baa889cc83bba33ef2dea3452c7402dbb authored almost 12 years ago by Justin Hileman <[email protected]>
Add test coverage for new exception types.

8b02366a3fdc91bc7180ca0e5b6da3b0f82cbd5e authored almost 12 years ago by Justin Hileman <[email protected]>
Improve Mustache exception types, catchability.

* Subclass common exception types (runtime, logic, invalid argument).
* Add new "unknown x" ex...

0436c59477eb2dd5195162fb2af338324c099a6a authored almost 12 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/bootstrap' into dev

5e69e63ffb82c90d7e2d4dad6495b620b2973576 authored almost 12 years ago by Justin Hileman <[email protected]>
Add LambdaHelper and Logger to build_bootstrap.

d766076b5ab8589608b0a562f424b84e49e5c679 authored almost 12 years ago by Justin Hileman <[email protected]>
Add a `build_bootstrap` script.

Generates `mustache.php`, a single-file bootstrap library which is a lot easier to include in yo...

01bcf6a51a76173dc8a70d3227033997740ec698 authored almost 12 years ago by Justin Hileman <[email protected]>