Fabien Potencier
1535fa2ad7
[HttpKernel] fixed a unit test
2011-01-14 08:31:58 +01:00
Victor Berchet
cdd3ac962c
[SQLiteProfilerStorage] Improve SQLite storage:
...
- do not rely on request time for db cleanup (important when importing data),
- add indexes
2011-01-14 08:28:17 +01:00
Victor Berchet
9ec69553f3
[Profiler] Use base64 encoding which is more efficient than unpack (space wise)
2011-01-14 08:28:13 +01:00
Martin Hason
2a3d94a6d0
[DependencyInjection] added support for anonymous services in XmlDumper
2011-01-14 08:25:18 +01:00
Bulat Shakirzyanov
3a6f556189
[FrameworkBundle] registered FileSystem as a service, switched commands to use it
2011-01-14 08:23:38 +01:00
Bulat Shakirzyanov
39e33df573
fixed abstract extension to product correct array with just mapping type specified
2011-01-14 08:21:50 +01:00
Fabien Potencier
36d87d9464
[Templating] removed the Engine::output() method
2011-01-13 13:22:52 +01:00
Fabien Potencier
dd9e7367ef
[Templating] fixed phpdoc
2011-01-13 13:18:56 +01:00
Fabien Potencier
09034a1b19
[Templating] fixed Engine::load() method
2011-01-13 13:18:48 +01:00
Fabien Potencier
c38c0c303e
refactored Templating
...
* made the renderer argument of Storage ctor mandatory
* refactored the Engine class to avoid code duplication
* simplified the check for a template that extends another one but with a different renderer
2011-01-13 11:16:45 +01:00
Fabien Potencier
285e09fe0e
switched colors to on by default in phpunit.xml
2011-01-13 09:15:06 +01:00
Fabien Potencier
7b940ce82a
[FrameworkBundle] tweaked previous commit
2011-01-13 08:55:12 +01:00
Lukas Kahwe Smith
b4ac7982be
make it easier to implement alternative app directory structures
2011-01-13 08:52:25 +01:00
Christophe Coevoet
5506e9d1a3
Fixed loading of validation files for bundles in a vendor namespace
2011-01-13 08:06:10 +01:00
Victor Berchet
9770944a1d
[SQLiteProfilerStorage] Escape special chars in URLs and IPs
2011-01-13 08:03:02 +01:00
Fabien Potencier
e975a09003
[TwigBundle] tweaked a comment
2011-01-13 07:55:58 +01:00
partugal
5ac67a23e7
[TwigBundle] addExtension calls must be first
2011-01-13 07:54:26 +01:00
Fabien Potencier
46f3da50d8
[TwigBundle] removed the cache for globals (does not work when working in functional tests)
2011-01-12 17:26:46 +01:00
Fabien Potencier
b056a6c3c1
[TwigBundle] fixed cache problem for some global variables
2011-01-12 17:25:39 +01:00
Fabien Potencier
6dd1d6172f
fixed some routing patterns
2011-01-12 07:10:57 +01:00
Christophe Coevoet
1f88edd9e0
Updated routing to the new syntax
2011-01-12 07:09:19 +01:00
Victor Berchet
f2d32ccfde
[Extensions] Type hints
2011-01-11 20:31:44 +01:00
Victor Berchet
87ca9036f7
[FrameworkBundle] Type hints & comments
2011-01-11 20:31:34 +01:00
Victor Berchet
40dac2363e
[WebProfiler] Normalize header name and use a single reference
2011-01-11 20:30:37 +01:00
Victor Berchet
0bc6d814c3
[DI Compiler] Make processArguments() process arguments only
2011-01-11 20:29:44 +01:00
Victor Berchet
22f04f50a6
[DI XmlLoader] Add missing type hints
2011-01-11 20:29:29 +01:00
Victor Berchet
1537c1f2d1
[InterfaceInjector] Fix a typo in the tests
2011-01-11 20:29:17 +01:00
Victor Berchet
9c51916503
[TwigBundle] Remove invalid options from the container
2011-01-11 20:29:05 +01:00
Bulat Shakirzyanov
8cd54453f1
[Form, FrameworkBundle] added csrf tokens reset on Kernel::shutdown() to preven tokens stacking in tests
2011-01-11 20:27:06 +01:00
Fabien Potencier
b63de46374
[Routing] moved from :var to {var}
...
This follows the "URI template" notation:
http://code.google.com/p/uri-templates/
http://tools.ietf.org/html/draft-gregorio-uritemplate-04
You need to change all your route definitions from something like:
/article/:id
to something like:
/article/{id}
2011-01-11 19:13:16 +01:00
Fabien Potencier
450a6b39a2
[TwigBundle] moved global variables under the app. prefix
...
Before:
{{ session.flash('notice') }}
After:
{{ app.session.flash('notice') }}
2011-01-11 18:07:02 +01:00
Fabien Potencier
47b87e902e
[TwigBundle] made global more powerful
...
A global can now be a service or a string:
<twig:config debug="%kernel.debug%" strict-variables="%kernel.debug%">
<twig:global key="request" type="service" id="request" />
<twig:global key="PI">3.14</twig:global>
</twig:config>
2011-01-11 15:55:31 +01:00
Victor Berchet
9a2e053cbc
[Event] Collected data is about listener (not event) calls
2011-01-11 14:57:18 +01:00
Martin Hason
08c3a2b40b
method buildContainer divided into logical parts
2011-01-11 14:56:28 +01:00
Martin Hason
f41654fd60
[Console] added rendering previous exceptions
2011-01-11 14:52:32 +01:00
Gustavo Adrian
18a34c5238
[DoctrineBundle] Changed visibility of doctrine db connections to public
2011-01-11 14:43:36 +01:00
IamPersistent
c85b587c68
made security.acl.dbal.connection public for use in acl:init
2011-01-11 14:38:54 +01:00
Ruud Kamphuis
7cab5515b1
[FrameworkBundle] removed public=false from security.encoder_factory
2011-01-11 14:19:43 +01:00
Bulat Shakirzyanov
d6b57bce33
[HttpFoundation] fixed error casting broken in DomCrawler\Form::getPhpFiles()
2011-01-10 18:57:55 +01:00
Fabien Potencier
3734c0e01e
updated bootstrap file
2011-01-10 08:01:04 +01:00
Igor Wiedler
dedf29ffda
[HttpKernel] No longer reformat {} "a la python"
...
Removing newlines before closing braces leads to issues with heredoc/nowdoc
2011-01-10 08:00:04 +01:00
ornicar
98c787a5ef
[CompatAssetsBundle] Add missing namespace
2011-01-10 07:59:02 +01:00
Ryan Weaver
361a0dc6a0
[Translation] Adding PHPDoc to the MessageSelector::choose() method.
2011-01-09 20:09:57 +01:00
Ryan Weaver
09a876beb9
[HttpFoundation] Adding a few internal notes to clarify the process of setting the cache-control to a default.
2011-01-09 20:00:19 +01:00
Ryan Weaver
99a509708b
[HttpFoundation] Correcting the PHPDoc for the public $headers property on Response.
2011-01-09 20:00:14 +01:00
Johannes Schmitt
f1e41a9671
[DependencyInjection] made some improvments to the container compiler
...
- inline private services which are references multiple times, but where all references originate from the same definition
- bug fix for non-shared services which were considered shared within the scope in which they were inlined
2011-01-09 19:58:51 +01:00
Johannes Schmitt
d1a2a65d19
[DependencyInjection] performance improvement, better analysis tools
2011-01-09 19:58:42 +01:00
Johannes Schmitt
e85546ef7d
[DependencyInjection] made some improvments to the container compiler
...
- added generic repeated pass
- better optimization of services
- started adding some integration tests
2011-01-09 19:58:39 +01:00
umpirsky
bdada47fad
[Translation] Added CsvFileLoader to support csv translation resources.
2011-01-08 15:24:01 +01:00
Fabien Potencier
10fee8c8bb
[HttpKernel] added escaping to the profiler SQLite storage
2011-01-08 14:29:59 +01:00