Commit Graph

2225 Commits

Author SHA1 Message Date
Andrew M. 2511617f7b Fix typo: providing => provided 2014-03-30 18:43:22 +03:00
Fabien Potencier dab8d90755 updated CHANGELOG 2014-03-15 11:50:05 +01:00
Fabien Potencier 98903bb83f bug #1361 Fixed recursively calling blocks in templates with inheritance (hason)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Fixed recursively calling blocks in templates with inheritance

Replaces #1321
Fixes KnpLabs/KnpMenu#136 and KnpLabs/KnpMenu#119

Commits
-------

efb7b47 Add "broken" block inheritance test case
ef98ea2 Fixed recursively calling blocks in templates with inheritance
2014-03-15 11:49:13 +01:00
Fabien Potencier 914c9e6398 minor #1355 Update CHANGELOG - New update will be in 2014 (PieterWaegeman)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Update CHANGELOG - New update will be in 2014

Since time travel isn't invented yet, the next update will (hopefully) take place in 2014, not in 2013.

Commits
-------

3b4cd96 Update CHANGELOG - New update will be in 2014
2014-03-14 13:36:54 +01:00
Adrien Brault efb7b479d3 Add "broken" block inheritance test case 2014-03-13 12:40:24 +01:00
Martin Hasoň ef98ea278a Fixed recursively calling blocks in templates with inheritance 2014-03-13 12:23:25 +01:00
Pieter Waegeman 3b4cd9603b Update CHANGELOG - New update will be in 2014
Since time travel isn't invented yet, the next update will (hopefully) take place in 2014, not in 2013.
2014-03-06 22:55:14 +01:00
Fabien Potencier 8c5844a56f minor #1327 Update templates.rst (granitegreg)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Update templates.rst

Fixed typo (missing word).

Commits
-------

e278aee Update templates.rst
2014-02-24 16:39:56 +01:00
Fabien Potencier 8e625ba57d minor #1336 Added additional example to min/max doc (c33s)
This PR was squashed before being merged into the 1.15-dev branch (closes #1336).

Discussion
----------

Added additional example to min/max doc

* fixed typo in the word "four"
* added an additional example with letters

Commits
-------

b709577 Added additional example to min/max doc
2014-02-24 16:39:24 +01:00
Julian b7095770e2 Added additional example to min/max doc 2014-02-24 16:39:24 +01:00
Fabien Potencier 3d1a563568 minor #1344 Fixed a number of grammatical errors and the like (jegesh)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Fixed a number of grammatical errors and the like

Commits
-------

e2f0b2e Fixed a number of grammatical errors and the like
2014-02-24 16:38:38 +01:00
Fabien Potencier fb96cb4923 minor #1345 Fixed 1.15.1 changelog date (XWB)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Fixed 1.15.1 changelog date

Commits
-------

1b98da7 Fixed 1.15.1 changelog date
2014-02-24 16:37:20 +01:00
Karel 1b98da75b9 Fixed 1.15.1 changelog date 2014-02-24 14:53:47 +01:00
Yaakov Gesher e2f0b2e246 Fixed a number of grammatical errors and the like 2014-02-24 14:42:30 +02:00
Fabien Potencier c756082c0c minor #1339 Update intro.rst (Carpetsmoker)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Update intro.rst

Very minor issue: quote the shell command, since it contains an asterisk (*)

Commits
-------

d73d612 Update intro.rst
2014-02-13 22:54:38 +01:00
Martin Tournoij d73d612c0b Update intro.rst
Quote the shell command, since it contains an asterisk (*).
2014-02-13 22:05:06 +01:00
Fabien Potencier b0ee99d6d6 bumped version to 1.15.2-DEV 2014-02-13 11:36:05 +01:00
Fabien Potencier 1fb5784662 prepared the 1.15.1 release v1.15.1 2014-02-13 11:19:29 +01:00
Fabien Potencier 395b74c6ce bug #1338 Fixed fetching of a property defined but not initialized in C extension (tucksaun)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Fixed fetching of a property defined but not initialized in C extension

This PR fixed #1337

Commits
-------

6e800d8 Fixed fetching of a property defined but not initialized in C extension, fixed #1337
2014-02-13 11:11:56 +01:00
Tugdual Saunier 6e800d8277 Fixed fetching of a property defined but not initialized in C extension, fixed #1337 2014-02-13 09:48:39 +00:00
Fabien Potencier cea2143465 simplified composer.json 2014-02-10 08:40:03 +01:00
Fabien Potencier 755834134f minor #1330 remove authors file and add more information to composer.json (Tobion)
This PR was merged into the 1.15-dev branch.

Discussion
----------

remove authors file and add more information to composer.json

I think the authors file is not needed. Also it was mentioned in the license file but it is not required to redistribute it, making it useless.
Also I updated the composer.json with more information and added the "Twig Team" as all contributors.

Commits
-------

3cc3813 remove authors file and add more information to composer.json
2014-02-10 08:37:57 +01:00
Tobias Schultze 3cc3813971 remove authors file and add more information to composer.json 2014-01-31 18:04:14 +01:00
Fabien Potencier 5fd4db64de minor #1329 added test for accessing xml attributes (Tobion)
This PR was merged into the 1.15-dev branch.

Discussion
----------

added test for accessing xml attributes

Closes #1328

Commits
-------

bdbc56d added test for accessing xml attributes
2014-01-31 16:13:11 +01:00
Tobias Schultze bdbc56d385 added test for accessing xml attributes 2014-01-31 15:53:51 +01:00
Greg McAvoy-Jensen e278aeed3f Update templates.rst
Fixed typo (missing word).
2014-01-29 16:01:00 -08:00
Fabien Potencier e9e4748475 added a note about how to check for dynamic attribute existence in the docs 2014-01-29 09:45:07 +01:00
Fabien Potencier 46a58528de minor #1319 Simplified Twig_Autoloader (hason)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Simplified Twig_Autoloader

Commits
-------

94fff30 Simplified Twig_Autoloader
2014-01-28 07:09:19 +01:00
Fabien Potencier de6cbbd361 minor #1324 Minor pedantic variable definition fixes (jwatzman)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Minor pedantic variable definition fixes

Fixes a couple pedantic issues with variables not always being defined and
passing a couple unused variables to error handling functions.

Commits
-------

83dd42e Minor pedantic variable definition fixes
2014-01-28 07:07:56 +01:00
Josh Watzman 83dd42e478 Minor pedantic variable definition fixes
Fixes a couple pedantic issues with variables not always being defined and
passing a couple unused variables to error handling functions.
2014-01-27 16:00:12 -08:00
Fabien Potencier 9ed963c99d minor #1323 Added a more clear example in the cycle() docs (brandonkelly)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Added a more clear example in the cycle() docs

We've receive a lot of feedback that the examples for the cycle() tag could be better, so I figured I'd contribute one.

The previous example was potentially misleading if you were focussed on the actual numbers (0 is even, not odd! etc.), and 99% of the time you’re going to be passing loop.index0 into cycle, so I felt that should be included in the example.

I realize that this one requires a little additional setup, but I think the fact that it's a real-world example makes it worth it.

Commits
-------

8958565 Added a more clear example in the cycle() docs
2014-01-24 16:03:15 +01:00
Brandon Kelly 8958565cef Added a more clear example in the cycle() docs
The previous one was potentially misleading if you were focussed on the actual numbers (0 is even, not odd! etc.), and 99% of the time you’re going to be passing loop.index0 into cycle, so I felt that should be included in the example.
2014-01-24 04:27:48 -08:00
Martin Hasoň 94fff307d7 Simplified Twig_Autoloader 2014-01-23 12:07:16 +01:00
Fabien Potencier ae89c88535 updated LICENSE years 2014-01-08 08:21:35 +01:00
Fabien Potencier 4983af78f7 minor #1303 Improved exception message for accessing object (without ArrayAccess) as array (hason)
This PR was merged into the 1.15-dev branch.

Discussion
----------

Improved exception message for accessing object (without ArrayAccess) as array

Commits
-------

770712b Improved exception message for accessing object without ArrayAccess as array
2014-01-05 17:48:49 +01:00
Fabien Potencier 693c0e6f3c removed HHVM from the allowed failures 2014-01-05 17:46:03 +01:00
Fabien Potencier abb1815093 minor #1312 made some minor tweaks to PHPUnit assertions (fabpot)
This PR was merged into the 1.15-dev branch.

Discussion
----------

made some minor tweaks to PHPUnit assertions

Commits
-------

e5e2a01 made some minor tweaks to PHPUnit assertions
2014-01-05 17:41:06 +01:00
Fabien Potencier e5e2a01051 made some minor tweaks to PHPUnit assertions 2014-01-05 17:26:18 +01:00
Fabien Potencier f3f5f0aba7 bug #1311 fixed the conversion of the special '0000-00-00 00:00' date (fabpot)
This PR was merged into the 1.15-dev branch.

Discussion
----------

fixed the conversion of the special '0000-00-00 00:00' date

This PR reverts #1234 and add supports for PHP 5.5 is a simpler way. This also fixes #1241 and closes #1242.

Commits
-------

9b95570 fixed the conversion of the special '0000-00-00 00:00' date
2014-01-05 01:05:42 +01:00
Fabien Potencier 9b95570829 fixed the conversion of the special '0000-00-00 00:00' date 2014-01-05 01:00:18 +01:00
Martin Hasoň 770712b4c0 Improved exception message for accessing object without ArrayAccess as array 2013-12-31 22:30:37 +01:00
Fabien Potencier 27f3e0fc1e fixed Filesystem::exists() to normalize the template name before checking the cache 2013-12-27 15:37:02 +01:00
Fabien Potencier 46b3e844a0 minor #1284 Simple enhancement for easy overloading (arnapou)
This PR was squashed before being merged into the 1.15-dev branch (closes #1284).

Discussion
----------

Simple enhancement for easy overloading

More consistent algorithm which allow people to easily overload normalize method to their needs.

Commits
-------

87d4f08 Simple enhancement for easy overloading
2013-12-27 15:35:40 +01:00
Arnaud Buathier 87d4f083bb Simple enhancement for easy overloading 2013-12-27 15:35:40 +01:00
Fabien Potencier 2b0b904340 minor #1290 [Docs] Fix example: space missing between concatenated strings (GromNaN)
This PR was merged into the 1.15-dev branch.

Discussion
----------

[Docs] Fix example: space missing between concatenated strings

The expression `'Hello'~'Fabien'` produces `'HelloFabien'`, not `'Hello Fabien'`. I've just added a space after `'Hello'`.

Commits
-------

d6e0357 Fix doc example: space missing between concatenated strings
2013-12-27 15:27:14 +01:00
Fabien Potencier cb43b1234d Revert "merged branch javer/hhvm-array-traversable (PR #1192)"
This reverts commit 0d97eb9528, reversing
changes made to 4fcaf0c5fc.

This change is not needed anymore as HHVM has been fixed as of 2.3.0.
2013-12-27 15:21:16 +01:00
Fabien Potencier 81ef1380ee fixed Travis config to allow HHVM to fail 2013-12-27 15:13:51 +01:00
Fabien Potencier 996c286fdd minor #1294 Add HHVM to build matrix (ptarjan)
This PR was squashed before being merged into the 1.15-dev branch (closes #1294).

Discussion
----------

Add HHVM to build matrix

Now that HHVM can run your project, lets keep it that way

Commits
-------

e03b05e Add HHVM to build matrix
2013-12-27 15:12:46 +01:00
Paul Tarjan e03b05e0dc Add HHVM to build matrix 2013-12-27 15:12:45 +01:00
Fabien Potencier 6387fc4577 minor #1291 Fixed rendering of `-3` (ureimers)
This PR was merged into the master branch.

Discussion
----------

Fixed rendering of ``-3``

The missing space between "``-3``" and "(this is just syntactic[...])" led to the ``-3`` being rendered wrong. The parser must've ignored the closing "``" when it was directly followed by a non-space character.

Commits
-------

d8ea1b1 Fixed rendering of ``-3``
2013-12-10 11:23:00 +01:00