Commit Graph

1596 Commits

Author SHA1 Message Date
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
Fabien Potencier
50809d2ae0 [TwigBundle] added the security context and the user as global variables when they are defined 2011-01-07 17:49:43 +01:00
Fabien Potencier
1c3a01b25c removed duplicate code 2011-01-07 17:14:41 +01:00
Fabien Potencier
d1cc6837b6 added missing parameter in DIC 2011-01-07 17:04:22 +01:00
Victor Berchet
96597024e8 [Profiler] Fix importing profiler data 2011-01-07 16:34:42 +01:00
Fabien Potencier
b2a720f2b7 [DependencyInjection] restricted supported for only phar URI 2011-01-07 16:03:57 +01:00
Martin Hason
a11619973b [DependencyInjection] fix xml validation for extension in phar archive 2011-01-07 16:00:28 +01:00
Johannes Schmitt
3785a99b94 adds visibility to aliases 2011-01-07 15:58:48 +01:00
Victor Berchet
89433fbcfe [ProfilerController] Fix handling of uploaded files 2011-01-07 15:53:45 +01:00
Victor Berchet
e2f2513b05 [ProfilerController] fix view parameters 2011-01-07 15:53:02 +01:00
Victor Berchet
ae5a506532 [WebProfilerBundle] Update the notfound template (to match the default layout) 2011-01-07 15:51:08 +01:00
Victor Berchet
99b9bff684 [WebProfilerBundle] The search results must be rendered in the panel slot 2011-01-07 15:48:25 +01:00
Fabien Potencier
3022aa3e35 [WebProfilerBundle] fixed layout when templates are not defined 2011-01-07 15:48:05 +01:00
umpirsky
0faf067acb Fixed FileTest::testRename to work for windows file system. 2011-01-07 15:36:05 +01:00
Fabien Potencier
bc2ca8f1cf made PHP renderer optional in Templating 2011-01-07 15:29:56 +01:00
Lukas Kahwe Smith
f2ac2a4c8a changed templating to use setter injection for renderers 2011-01-07 15:08:35 +01:00
Lukas Kahwe Smith
5390b16573 make it possible to hint the kernel dir via the phpunit.xml 2011-01-07 15:02:01 +01:00
Fabien Potencier
46d8c4abeb fixed typo 2011-01-07 14:37:43 +01:00
Jeremy Mikola
554c86c589 [DependencyInjection] Add hasInterfaceInjectorForClass(), which is helpful for extension loader methods
Additionally, doc blocks were added for the Container's InterfaceInjector methods, and the test case was modified to cover both add() methods
2011-01-07 14:33:06 +01:00
Jeremy Mikola
0c50ca8775 [TwigBundle] Renderer::evaluate() should ensure the Request is both defined and non-empty
This addresses an oversight in my previous commit: 9553971d06
Author: Jeremy Mikola <jmikola@gmail.com>
Date:   Thu Jan 6 13:26:45 2011 -0500
2011-01-07 14:32:31 +01:00
Jordi Boggiano
025f3b1565 Fixed filesystem test failing on windows 2011-01-07 14:31:16 +01:00
Jordi Boggiano
964bf4356e Fixed Security tests failing when D2 is not present 2011-01-07 14:30:52 +01:00
Bulat Shakirzyanov
92653bf827 [DoctrineMongoDBBundle] updated logging to support new embedded document in \stdClass 2011-01-07 08:07:38 +01:00
Kris Wallsmith
d693759312 [DoctrineBundle] fixed invalid parameter error 2011-01-07 08:05:16 +01:00
fivestar
7ca046bfb5 [DoctrineBundle] Fixed invalid regex in DoctrineCommand 2011-01-07 08:03:48 +01:00
Fabien Potencier
183acd8460 [DependencyInjection] fixed interface injection when the class is not available 2011-01-06 20:00:04 +01:00
Fabien Potencier
2ded40fb75 [TwigBundle] added a way to easily register extensions from the configuration
<twig:extension id="twig.extension.debug" />

    twig:
        extensions: [twig.extension.debug]

The Twig-Extensions repository extensions are already registered:

 * twig.extension.debug
 * twig.extension.text
2011-01-06 19:51:03 +01:00
Jeremy Mikola
9553971d06 [TwigBundle] Allow Renderer::evaluate() even when Request and Session are not available
This is helpful for using Twig outside of a request-serving context, such during a console command.  Added unit tests the original behavior and new behavior for this patch.
2011-01-06 19:31:27 +01:00
Johannes M. Schmitt
314defa8b4 added generic encoder factory 2011-01-06 19:20:56 +01:00
IamPersistent
8d69f8efd5 allow addition configuration in other config files, without killing the mapping that was previously set 2011-01-06 18:26:03 +01:00
Justin Hileman
cfd4e2186f Fix UniversalClassLoader matching collisions.
The current `loadClass()` implementation tries to load a class from the first matching prefix then stops, producing false-negative results. This is especially evident in groups of related libraries, such as Doctrine:

    Doctrine
    Doctrine\Common
    Doctrine\Common\DataFixtures
    Doctrine\DBAL
    Doctrine\DBAL\Migrations

Each of these libraries is submoduled into a different vendor directory. Depending on what order these libraries are added to a UniversalClassLoader instance, classes may or may not actually be loaded. This fix continues searching registered namespaces and prefixes if the first partial match is negative.
2011-01-06 18:05:57 +01:00
Fabien Potencier
af8ebeaabb [DependencyInjection] added automatic detection for service circular references 2011-01-06 14:52:47 +01:00
Fabien Potencier
911dbe9cc4 removed a circular reference in the definition of the templating and Twig services
* added a new TemplateNameConverter that parses a template name
 * removed the dependency between the Twig loader and the Templating engine
2011-01-06 14:52:43 +01:00
Fabien Potencier
d21fb757b6 [FrameworkBundle] removed setEngine call as the Engine already does it automatically (and it also avoids a circular reference) 2011-01-06 14:21:50 +01:00
Fabien Potencier
e3944bf4e6 fixed escaping in CodeHelper::formatArgs() 2011-01-06 11:43:39 +01:00
Fabien Potencier
ed359af543 [Templating] tweaked previous commit 2011-01-06 11:23:00 +01:00
Henrik Bjørnskov
afc2f96549 [Templating] Added Global variables as they are implemented with Twig. With tests 2011-01-06 11:21:28 +01:00
Fabien Potencier
45edfe6b44 [FrameworkBundle] removed obsolete code 2011-01-06 10:47:51 +01:00
Jeremy Mikola
a7bac83c58 [DependencyInjection] Remove OpenSky doc-block and AGPL license string 2011-01-06 08:46:17 +01:00
Johannes M. Schmitt
0449dbdc5d added extra exception if only a partial result is found 2011-01-05 22:51:05 +01:00