Commit Graph

53 Commits

Author SHA1 Message Date
Taylor Otwell 9484db18ce Revert Blade back to 3.2.3 due to regression with layouts. 2012-08-28 23:52:15 -05:00
Sergii Grebeniuk 690e8572aa phpdoc fixes 2012-08-03 18:17:48 +03:00
Dayle Rees 2611c1f27a fixing merge issue for blade comments pull 2012-07-31 14:42:23 +01:00
Dayle Rees 2c6ed23b45 fixing merge issues 2012-07-27 13:52:15 +01:00
Dayle Rees 7b5e37a316 fixing merge issues on blade pull 2012-07-27 12:37:40 +01:00
Tobsn 34c746b4f8 added @continue
like @break - as of request issue #1001
2012-07-25 00:23:31 +02:00
Tobsn 6cb2ddad64 multiline echo and comments
for issue #647
2012-07-25 00:21:32 +02:00
Tobsn a04f38c262 Now with Balanced Parentheses!
it's not regex, its not posix, but it can fly… finally balanced
parentheses to fix all the () issue. it's ugly but it's fast and works
with all kinds of combinations.

it basically just counts open vs. closed and if they are even again it
knows exactly where the condition is and does not cut into html or cut
off too much.
2012-06-27 03:46:31 -07:00
Chris Berthe f3d756476b Merge remote-tracking branch 'upstream/develop' into develop 2012-06-25 13:11:54 -04:00
Tobias Orterer be264ab181 added break function to closing structure 2012-06-21 00:09:08 -07:00
Jason Lewis b6cc836bf4 Added an @break to blade to break out of loops.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-19 01:58:14 +09:30
Tobias Orterer ddee5b7199 Blade cleanup
sanitized most functions and regular expressions. made the bigger
functions a bit more solid, flexible in what they ignore and simplified
various processes.
2012-06-16 20:02:03 -07:00
Chris Berthe fafaf724b0 Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
2012-06-13 11:19:20 -04:00
Aaron Kuzemchak 3d7dc61697 Fixing multiline Blade comments, making closing comment tag required 2012-06-04 14:48:22 -04:00
hamuz ea143fd9e1 Use the static "compiled" method 2012-06-02 17:16:59 +03:00
Dayle Rees 992a5f74ca fix for forelse only matching $vars
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-25 20:34:13 +01:00
Loic Sharma d866244225 Moved the extensions compiler to first. 2012-05-05 08:41:22 -05:00
Taylor Otwell 515f5f4009 change matcher function to public. 2012-05-04 14:49:07 -05:00
Daniel Petrie 3d284d2b8a Adding use Closure; to fix namespacing issue. 2012-05-04 12:40:17 -07:00
Taylor Otwell 70d4746159 cleaning up. 2012-05-04 13:38:30 -05:00
Dayle Rees b870807e1a renamed blade::register to blade::extend
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-04 19:02:44 +01:00
Dayle Rees d2de301ede added custom compilers to blade
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-04 18:44:43 +01:00
Taylor Otwell c764f76e5b remove extra method call. 2012-05-04 09:13:03 -05:00
Phill Sparks 0baf5ad9b1 Fix View's use of Events so you can actually implement your own things
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-05-04 14:55:05 +01:00
Taylor Otwell 74022cfa5a fix typo. 2012-05-03 08:38:43 -05:00
Taylor Otwell 44dbbe01da added support for bundles outside of the bundle directory using 'path: ' syntax like views. 2012-04-13 13:54:56 -05:00
Taylor Otwell 7d5b6b3748 added blade comments and documentation. 2012-04-10 11:46:55 -05:00
Taylor Otwell f7b1a72f3c added unless structure to blade. 2012-04-10 11:33:55 -05:00
Jason Lewis 3d23303aea Includes use render to prevent WSOD 2012-04-03 19:57:01 +10:00
Taylor Otwell ba4d1a89c8 Removed add_ magic method from eloquent model as this will be a 3.2 feature. 2012-03-26 10:56:42 -05:00
Taylor Otwell d558387b85 added docblock to blade function. 2012-03-25 22:17:55 -05:00
Taylor Otwell 9dbbc5848b Fix blade @includes. 2012-03-24 22:37:15 -05:00
Taylor Otwell 91998735b9 Improve the @layout blade expression, allow dynamic specification of templates. 2012-03-24 09:22:05 -05:00
Taylor Otwell 31786c96e9 Cleaning up the Blade class. 2012-03-23 17:05:44 -05:00
Taylor Otwell 93e21e9255 Added support for true tempting.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-23 17:03:27 -05:00
Taylor Otwell 8e8b0b8cb3 More Blade improvements… adds template inheritance.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-23 13:01:36 -05:00
Taylor Otwell b07ee31f3a Added support for Twig style {{ include() }} blade structures that inherit the data from the view.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-22 22:14:20 -05:00
Taylor Otwell 0e4a63606f Added render_each helper. 2012-03-22 16:05:33 -05:00
Taylor Otwell 727b064bf7 Added View::render_each and Blade shortcut. 2012-03-22 15:45:26 -05:00
Taylor Otwell 0455c10ae0 Added "for else" support to Blade. 2012-03-22 15:02:06 -05:00
Taylor Otwell 35e53b8cef Reintegrating Blade with Laravel using View engine event. 2012-03-22 11:48:07 -05:00
Taylor Otwell 49d3c5251b removed blade from core and extracted it into bundle. added view engine event to hook in any view engine to the core. 2012-02-23 22:34:42 -06:00
Taylor Otwell 97fcea1e51 cleaned up paths. 2012-01-28 14:55:08 -06:00
Taylor Otwell f44c565ee4 converted path constants to $GLOBALS. 2012-01-27 16:17:43 -06:00
Taylor Otwell b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00
Taylor Otwell d3f9391981 fixing some bugs. 2011-11-15 23:15:58 -06:00
Taylor Otwell 41ca816951 refactoring the blade class. 2011-11-11 22:58:24 -06:00
Taylor Otwell a1e82d2166 added section class. refactored session for ioc usage. improved controller. added yielding and sections to blade. general blade improvements. 2011-11-08 20:08:20 -06:00
Taylor Otwell 1d8dcd1246 Made blade echo match lazy. 2011-11-07 14:33:25 -06:00
Taylor Otwell 32989d39c8 some small refactorings and cleanup. 2011-10-22 23:25:07 -05:00