Victor Berchet
7707c0f251
[Kernel] Fix bundle inheritance
2011-04-06 07:46:08 +02:00
Fabien Potencier
6faacdec27
[HttpKernel] fixed CS
2011-04-05 09:48:36 +02:00
Victor Berchet
5317c96fef
Update for Bundle names long again (= include the 'Bundle' suffix)
2011-04-04 11:39:41 +02:00
Victor Berchet
7ed18bf829
[Kernel] Make locateResource() throws an exception when a resource from a Bundle hides a custom resource
2011-04-04 11:24:51 +02:00
Victor Berchet
3cd3dd39ba
[Kernel] Make resources overriding consistent across bundle directories and resource directories
2011-04-04 11:24:51 +02:00
Victor Berchet
8b7c857ef3
Resource paths should use the full bundle name (with the 'Bundle' postfix)
2011-04-04 11:24:51 +02:00
stealth35
cee94be277
sanitize die (exit)
2011-03-25 11:26:43 +01:00
Fabien Potencier
e4a636a885
[FrameworkBundle] refactored the cache:clear command
...
* removed the hack on the Kernel
* removed inheritance from the warmup command
* major cleanup
2011-03-21 11:03:55 +01:00
Fabien Potencier
82a5ae669e
[FrameworkBundle] fixed merge problem
2011-03-21 09:43:41 +01:00
Fabien Potencier
45f9c2fbf4
merged francisbesset:cache_clear_command
2011-03-21 09:24:16 +01:00
Victor Berchet
cead49fa2b
[Kernel] Fixed a typo
2011-03-18 11:17:56 +01:00
Fabien Potencier
14903ce915
[HttpKernel] removed the need to call getRootDir() more than once
2011-03-16 21:50:24 +01:00
Fabien Potencier
a6411cb712
[HttpKernel] fixed phpdoc
2011-03-16 21:39:30 +01:00
Fabien Potencier
4da43df963
merged vicb/kernel
2011-03-16 21:30:23 +01:00
Fabien Potencier
b6528c3ea6
Merge remote branch 'hason/container_class'
2011-03-15 11:41:05 +01:00
Martin Hason
ba9653d99a
[HttpKernel] optimized getContainerLoader
2011-03-15 11:00:45 +01:00
Martin Hason
cef70893df
[HttpKernel], [FrameworkBundle] added method getContainerClass and parameter kernel.container_class
2011-03-15 09:16:02 +01:00
Fabien Potencier
f4e4a2aa1b
refactored ConfigCache and optimized container:debug task
2011-03-14 18:37:25 +01:00
Francis Besset
bb7986e221
[FrameworkBundle] Added cache:clear command with warmup option
2011-03-11 23:35:48 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Kris Wallsmith
33d47be32e
[HttpKernel] added an subclass merge extension configuration compiler pass to ensure each bundle's "main" extension is loaded
2011-03-03 13:54:32 +01:00
Victor Berchet
38da529997
[Kernel] Get rid of Kernel::registerRootDir()
2011-02-24 14:02:28 +01:00
Ryan Weaver
a0fc4240f9
[HttpKernel] Adding a line break to the end of the Kernel die() statements so that the output is more natural when receiving this message from the terminal.
2011-02-17 15:58:45 +01:00
Fabien Potencier
14aa95ba21
added the concept of a main DIC extension for bundles
...
This allows for better conventions and better error messages if you
use the wrong configuration alias in a config file.
This is also the first step for a bigger refactoring of how the configuration
works (see next commits).
* Bundle::registerExtensions() method has been renamed to Bundle::build()
* The "main" DIC extension must be renamed to the new convention to be
automatically registered:
SensioBlogBundle -> DependencyInjection\SensioBlogExtension
* The main DIC extension alias must follow the convention:
sensio_blog for SensioBlogBundle
* If you have more than one extension for a bundle (which should really
never be the case), they must be registered manually by overriding the
build() method
* If you use YAML or PHP for your configuration, renamed the following
configuration entry points in your configs:
app -> framework
webprofiler -> web_profiler
doctrine_odm -> doctrine_mongo_db
2011-02-15 22:11:07 +01:00
Fabrice Bernhard
20e31cd3f2
[HttpKernel] Added some details for two commonly encountered errors in Kernel.php and HttpKernel.php
...
I used https://github.com/fabpot/symfony/blob/master/src/Symfony/Component/Form/PropertyPath.php#L324 as a model for the wording
2011-02-14 20:51:55 +01:00
Fabien Potencier
5c905beb13
moved common configuration classes to a new Config component
2011-02-13 22:31:50 +01:00
Fabien Potencier
b91f082be5
Revert "moved Resource to the Config component"
...
This reverts commit f53080860a
.
Revert "[Router] config fixes"
This reverts commit 51beecc6f2
.
Revert "moved duplicated files to a new Config component"
This reverts commit a8ec9b27f0
.
2011-02-10 16:14:12 +01:00
Fabien Potencier
a8ec9b27f0
moved duplicated files to a new Config component
2011-02-10 03:43:36 +01:00
Fabien Potencier
e58a84eb09
added a FileLocator to DIC so that we can load resources like @BundleName/Resources/...
2011-02-10 00:44:02 +01:00
Victor Berchet
717efd14fd
[Kernel] some tweaks
2011-02-09 18:43:01 +01:00
ornicar
afad113297
[HttpKernel] Fix notice in Kernel
2011-02-06 21:42:17 +01:00
ornicar
c5fb96b86b
[HttpKernel] Add more unit tests for Kernel
2011-02-06 20:05:49 +01:00
ornicar
9ba2943aff
[HttpKernel] Add unit tests for Kernel. Also slightly modify Kernel to make it more testable.
2011-02-06 16:17:35 +01:00
Fabien Potencier
e5403490e7
removed the need to define getNamespace() and getPath() in bundles
2011-02-05 22:40:30 +01:00
Victor Berchet
3ed47114d6
[Bundle] Make getPath() less error prone by allowing both backward and forward slashes
2011-02-04 12:12:19 +01:00
Victor Berchet
5e5b6f0cf8
[HttpKernel] made sure that parent bundles are registered before their descendants
2011-01-29 16:38:06 +01:00
Victor Berchet
65eb70d3b6
[Kernel] Tweak bundle management
2011-01-29 10:15:25 +01:00
Fabien Potencier
02820a5a56
[HttpKernel] fixed phpdoc
2011-01-27 16:30:58 +01:00
Fabien Potencier
db818284af
moved class compiled in cache to the FrameworkBundle
2011-01-27 14:07:30 +01:00
Fabien Potencier
a66d050bdb
removed KernelInterface::reboot() method
2011-01-26 08:41:59 +01:00
Fabien Potencier
fb4e7fb5c5
added KernelInterface
2011-01-25 17:10:47 +01:00
Fabien Potencier
79dce161dd
made a performance optimization
...
To benefit from the optimization, you need to change this line from your
autoload.php:
require_once $vendorDir.'/symfony/src/Symfony/Component/HttpFoundation/UniversalClassLoader.php';
to this one:
require_once $vendorDir.'/symfony/src/Symfony/Component/HttpKernel/bootstrap.php';
Notice that if you don't do this change, your app will in fact be slower than before.
2011-01-25 09:06:12 +01:00
Fabien Potencier
d0b4bfc8f6
added a cache warmer sub-framework
...
Cache warmer will come in the next commits.
To warm up the cache on a production server, you can use
the cache:warmup command:
./app/console_prod cache:warmup
2011-01-24 18:08:51 +01:00
Fabien Potencier
622d228090
[HttpKernel] fixed typo
2011-01-23 14:10:12 +01:00
Fabien Potencier
09aeb78634
removed Kernel::isBooted() method
2011-01-23 13:17:50 +01:00
Fabien Potencier
e151580212
[HttpKernel] removed getRequest as it's not part of the interface anymore
2011-01-23 11:23:30 +01:00
Fabien Potencier
bd6bc4db62
[HttpKernel] changed Kernel::locateResource() to also work with directories
2011-01-21 16:42:57 +01:00
Thomas
dd20434227
fix kernel:locateResource to loop accross the bundle tree to find the first match
2011-01-21 11:52:51 +01:00
Ryan Weaver
17f9162b89
[Standards] Changing many instances of "boolean" to "Boolean".
2011-01-21 09:53:24 +01:00
Fabien Potencier
e6f1248151
[HttpKernel] added back Bundle::getName() as it is quite useful
2011-01-21 09:45:37 +01:00