Fabien Potencier
59eebee7e6
added information about new logical names (previous commit)
2011-03-28 18:12:15 +02:00
Fabien Potencier
49063a5314
Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
...
* kriswallsmith/kernel/shorter-bundle-names:
updated codebase to use shorter bundle names
[HttpKernel] updated component to work with shorter bundle names
[HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle"
2011-03-28 18:06:41 +02:00
Bernhard Schussek
e2198b0dc6
[Form] Fixed a few references to AssertTrue/AssertFalse
2011-03-28 17:45:11 +02:00
Fabien Potencier
849694b46d
added an UPDATE.md file to explain how to upgrade
2011-03-28 17:07:46 +02:00
Fabien Potencier
786f165dae
Merge remote branch 'bschussek/validator'
...
* bschussek/validator:
removed Assert prefix from all constraints, renamed annotation namespace to assert
2011-03-28 17:05:22 +02:00
Fabien Potencier
faf9782e6f
renamed Twig TransExtension to TranslationExtension
2011-03-28 16:16:54 +02:00
Mark Challoner
77ae8b5898
Implemented ArrayAccess interface
2011-03-28 13:54:37 +01:00
Matthieu Bontemps
8e4686787a
Add a public getter for the Esi instance
2011-03-28 13:45:23 +02:00
Thomas Adam
6f97e8c71e
fixed CS for previous commit
2011-03-28 12:17:29 +02:00
Fabien Potencier
3bf67367c0
[DoctrineBundle] made sure that the Doctine cache is not shared between different applications
2011-03-28 12:17:13 +02:00
Thomas Adam
a7116adb32
[DoctrineMongoDBBundle] fixed logger when value is a GridFS file
2011-03-28 12:08:31 +02:00
Matthieu Bontemps
aba6363452
Fix kernel access in HttpCache due to kernel attribute privatization
2011-03-28 11:58:16 +02:00
Bernhard Schussek
e7df781c34
[Form] Fixed calls to ThemeRenderer::renderPart()
2011-03-28 11:22:27 +02:00
Bernhard Schussek
0fb95c18ad
Merge remote branch 'symfony/master' into experimental
2011-03-27 23:44:04 +02:00
Bernhard Schussek
65f58c9fd1
[Form] Introduced generic RendererInterface
2011-03-27 23:43:14 +02:00
Bernhard Schussek
1fa004ceb2
[Form] Simplified the interface names of the Renderer subnamespace
2011-03-27 23:39:01 +02:00
Bernhard Schussek
4ec6ba8674
[Form] Fixed: set data is treated as string except if a transformer is set
2011-03-27 23:09:46 +02:00
Bernhard Schussek
cfaa03eeec
[Form] Fixed: empty objects are only created upon binding forms with empty data
2011-03-27 23:07:30 +02:00
Fabien Potencier
33456e63dc
Merge remote branch 'pborreli/windows-fix-process'
...
* pborreli/windows-fix-process:
[Process] Better guess of php bin executable path
[Process] Removed useless getenv
2011-03-27 22:28:26 +02:00
Pascal Borreli
ef447dc487
[Process] Better guess of php bin executable path
...
If PHP_PATH is not defined (default)
PHP_BINDIR is used to guess exe, but on windows this constant seems to be hardcoded and doesn't point to the good folder
So before to throw an error we check if PEAR is installed, most of the case it is, and it will have good php bin path for sure.
2011-03-27 21:11:22 +00:00
Pascal Borreli
1e69076d7a
[Process] Removed useless getenv
2011-03-27 21:11:20 +00:00
Bernhard Schussek
7006202e24
Merge remote branch 'symfony/master' into experimental
2011-03-27 21:07:13 +02:00
Matthieu Bontemps
a294024184
Fix Filesystem->mkdir return value
2011-03-27 19:17:13 +02:00
Ryan Weaver
ad80966d83
[FrameworkBundle] Adding a shortcut method to the controller for throwing the NotFoundHttpException
...
The rationale is that this is a very common task and we can't expect non-advanced users to have to remember what the fully-qualified
class name of the Exception is in order to use it.
2011-03-27 10:50:26 -05:00
Bernhard Schussek
8a981dd047
[Form] Removed unused variable
2011-03-27 17:37:42 +02:00
Bernhard Schussek
58b8555cb6
[Form] Removed unused use-statements
2011-03-27 15:59:35 +02:00
Fabien Potencier
5ebfb300bd
Merge remote branch 'weaverryan/kernel_controller_exception_message'
...
* weaverryan/kernel_controller_exception_message:
[HttpKernel] Making the "no response returned from controller" more explanatory when it's possible that the user forgot a return statement in his/her controller
2011-03-27 15:56:48 +02:00
Bernhard Schussek
edfae73cd4
[Form] Moved PropertyPath, PropertyPathIterator and VirtualFormAwareIterator to subnamespace Util
2011-03-27 15:37:13 +02:00
Kris Wallsmith
c2579aa200
[AsseticBundle] removed the event again
2011-03-27 06:33:10 -07:00
Bernhard Schussek
29d412c15a
[Form] Changed name of VirtualFormIterator to VirtualFormAwareIterator
2011-03-27 15:33:04 +02:00
Kris Wallsmith
ade83e2e80
updated codebase to use shorter bundle names
...
Controllers:
"BlogBundle:Post:show" is now "Blog:Post:show"
Templates:
"BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig"
Resources:
"@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml"
Doctrine:
"$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
2011-03-27 06:25:43 -07:00
Kris Wallsmith
a8ffa909ad
[HttpKernel] updated component to work with shorter bundle names
2011-03-27 06:25:13 -07:00
Bernhard Schussek
b180319371
[Form] Moved creation of empty data to Form to clean up DataMapperInterface
2011-03-27 15:12:35 +02:00
Bernhard Schussek
5ac979b043
[Form] Fixed default value of 'validation_groups' option, removed duplicate definition
2011-03-27 14:52:03 +02:00
Bernhard Schussek
80116be577
[Form] Removed unused 'template' option
2011-03-27 14:42:44 +02:00
Bernhard Schussek
6588a47ba7
[Form] Removed FormBuilder::setDataClass(). Use the FieldType option "data_class" instead.
...
The problem was that "data_class" was used in two places: FormBuilder::build() and PropertyPathMapper.
PropertyPathMapper was already constructed during FormType::buildForm(), so any data class changes made to the FormBuilder wouldn't affect the data class of the PropertyPathMapper anymore and so lead to an inconsistent state.
2011-03-27 14:34:48 +02:00
Kris Wallsmith
dd9ad97a0c
[HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle"
2011-03-27 05:31:57 -07:00
Bernhard Schussek
364b0f5208
[Form] Fixed: FormBuilder::add() accepts FormTypeInterface instances
2011-03-27 14:05:06 +02:00
Bernhard Schussek
dc38eeffe3
[Form] Changed the default value of the 'property_path' option to NULL. Explicitely set it to '' or false to disable mapping for a field/form
2011-03-27 14:02:24 +02:00
Bernhard Schussek
67d85c6bc7
[Form] Fixed signature of FormThemeInterface::render()
2011-03-27 13:48:38 +02:00
Bernhard Schussek
b21929423e
[Form] Completely removed the fields variable in the renderer. The renderer itself supports ArrayAccess and Traversable
2011-03-27 13:48:36 +02:00
Ryan Weaver
80c102761c
[HttpKernel] Making the "no response returned from controller" more explanatory when it's possible that the user forgot a return statement in his/her controller
...
Also made "null" show up as null in the exception message, instead of as a blank string (slightly more expressive).
2011-03-26 14:35:55 -05:00
Bernhard Schussek
eaff9c641e
[Form] Fixed: the default template is only set on the root renderer and reused by children
2011-03-26 19:39:31 +01:00
Bernhard Schussek
c891e40c9b
Merge remote branch 'symfony/master' into experimental
2011-03-26 19:11:29 +01:00
Bernhard Schussek
89361d036f
[Form] Renamed FormType::configure() to FormType::buildForm()
2011-03-26 18:52:24 +01:00
Bernhard Schussek
a58cfab37d
[Form] Removed form.type.loader tag and according compiler pass to simplify configuration. Custom types that are not in the DIC can be instantiated manually and passed wherever a type is desired.
2011-03-26 18:48:55 +01:00
Bernhard Schussek
9ff91dc997
Merge remote branch 'beberlei/FormsCollectionPrototype' into beberlei-merge
2011-03-26 18:39:20 +01:00
Bernhard Schussek
ed69d7fa35
[Form] Fixed rendering using the PHP Templating engine
2011-03-26 18:38:03 +01:00
Fabien Potencier
6fe8884ad8
[WebProfilerBundle] fixed WDT (please test before sending a PR -- I'm wasting my time)
2011-03-26 17:14:02 +01:00
Fabien Potencier
7a3185c856
[WebProfilerBundle] fixed tests
2011-03-26 17:04:10 +01:00