Commit Graph

3580 Commits

Author SHA1 Message Date
Gyula Sallai
d0e2b5b611 [FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names 2011-03-29 21:36:00 +02:00
Sven Paulus
4948666c6a Add (Boolean) cast to constructor arguments 2011-03-29 17:39:47 +02:00
Sven Paulus
601d3f5d95 Add a configuration option to restrict profiler storage to the master request
We a currently working on a project were a single requested URL typically
leads to some hundred controller calls. Using the dev controller got
incredibly slow since recent Symfony2 changes because for each controller
invocation a new entry gets added to the profiler storage (totalling over
100mb of data on each request in our case).

With the new configuration attribute "only-master-requests" it is possible
to limit the profiler storage to the master requests, keeping the profiler
usable for us.
2011-03-29 16:58:34 +02:00
Pascal Borreli
dbb18662d7 [HttpFoundation][Windows] Disabled FileBinaryMimeTypeGuesser for Windows OS 2011-03-29 14:32:20 +00:00
Pascal Borreli
33d887e154 [Finder][Windows] Fixed windows tests 2011-03-29 14:32:18 +00:00
Pascal Borreli
0199b5c70d [HttpFoundation][Windows] Fixed guesser tests if Fileinfo extension is not loaded
Didn't test for presence of mime_content_type function since it's obsolete (deprecated) in PHP5
2011-03-29 14:32:17 +00:00
Daniel Holmes
11fb84538a [FrameworkBundle] removed function for checking for phpunit.xml in cwd 2011-03-29 21:54:32 +11:00
Fabien Potencier
24cc86498d Merge remote branch 'hidenorigoto/translate-UPDATE-file'
* hidenorigoto/translate-UPDATE-file:
  translated UPDATE.md file into Japanese
2011-03-29 11:29:33 +02:00
hidenorigoto
5c93687289 translated UPDATE.md file into Japanese 2011-03-29 16:29:07 +09:00
hidenorigoto
9ce549d313 fixed markup 2011-03-29 16:28:20 +09:00
Daniel Holmes
0b65923c37 [FrameworkBundle] fixed error with arg reversing from previous changes 2011-03-29 14:58:43 +11:00
Daniel Holmes
e87f5d507e [FrameworkBundle] refactored getPhpUnitXmlDir in to separate parts and added support for --confguration=... style phpunit flag 2011-03-29 14:42:27 +11:00
Daniel Holmes
5f6ddc200d [FrameworkBundle] fixed getPhpUnitXmlDir to work with directory paths with spaces in them 2011-03-29 13:41:58 +11:00
Fabien Potencier
52c3a1d53d fixed typo 2011-03-28 22:48:18 +02:00
Victor Berchet
95f5ba1ccd [TwigBundle] Update the cache warmer 2011-03-28 22:04:39 +02:00
Fabien Potencier
ea5b68383f Merge remote branch 'kriswallsmith/doctrine/test-fixes'
* kriswallsmith/doctrine/test-fixes:
  [FrameworkBundle] fixed shorter bundle name in test
  [HttpKernel] updated tests for shorter bundle names
  [DoctrineMongoDBBundle] updated tests with shorter bundle names
  [DoctrineBundle] updated tests with shorter bundle names
2011-03-28 20:48:59 +02:00
Kris Wallsmith
d1f3852868 [FrameworkBundle] fixed shorter bundle name in test 2011-03-28 11:38:22 -07:00
Kris Wallsmith
fb7e87da7d [HttpKernel] updated tests for shorter bundle names 2011-03-28 11:37:19 -07:00
Kris Wallsmith
751ba4db5e [DoctrineMongoDBBundle] updated tests with shorter bundle names 2011-03-28 11:15:56 -07:00
Kris Wallsmith
082fd73b3c [DoctrineBundle] updated tests with shorter bundle names 2011-03-28 11:15:41 -07:00
Fabien Potencier
3d44c44f9a Merge remote branch 'mbontemps/httpCache-fix'
* mbontemps/httpCache-fix:
  Add a public getter for the Esi instance
  Fix kernel access in HttpCache due to kernel attribute privatization
2011-03-28 19:50:12 +02:00
Fabien Potencier
4f4af5b40c Merge remote branch 'tecbot/master'
* tecbot/master:
  fixed CS for previous commit
  [DoctrineMongoDBBundle] fixed logger when value is a GridFS file
2011-03-28 19:32:43 +02:00
Fabien Potencier
f0e9d364fe fixed UPDATE info 2011-03-28 19:25:40 +02:00
Fabien Potencier
d44c184d57 Merge remote branch 'kriswallsmith/assetic/explicit-filter-config'
* kriswallsmith/assetic/explicit-filter-config:
  [AsseticBundle] added lessphp filter
  [AsseticBundle] added config for image filters
  [AsseticBundle] moved filters into individual config files which must be explicitly loaded
  [AsseticBundle] removed configuration of default output strings
2011-03-28 19:09:02 +02:00
Fabien Potencier
315147c6c8 fixed remaining Bundle suffixes 2011-03-28 19:04:02 +02:00
Fabien Potencier
8b8df2d1cd fixed markup 2011-03-28 18:44:40 +02:00
Kris Wallsmith
825d67203c [AsseticBundle] added lessphp filter 2011-03-28 09:42:02 -07:00
Kris Wallsmith
9e5b649110 [AsseticBundle] added config for image filters 2011-03-28 09:42:02 -07:00
Kris Wallsmith
04a257d3ab [AsseticBundle] moved filters into individual config files which must be explicitly loaded
You must now explicitly load those filters you want to use in your app. Some filters have additional configuration options:

    assetic:
        filters:
            cssrewrite: ~
            yui_css:    { jar: "/path/to/yuicompressor.jar" }

You can also register your own filters now by referencing a configuration file:

    assetic:
        filters:
            my_filter:
                resource: "%kernel.root_dir%/config/my_filter.xml"
                foo:      bar

This configuration would load the referenced configuration file and set the "assetic.filter.my_filter.foo" parameter to "bar"
2011-03-28 09:42:02 -07:00
Kris Wallsmith
260efb32d6 [AsseticBundle] removed configuration of default output strings 2011-03-28 09:17:47 -07:00
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
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
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
Matthieu Bontemps
a294024184 Fix Filesystem->mkdir return value 2011-03-27 19:17:13 +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
Kris Wallsmith
c2579aa200 [AsseticBundle] removed the event again 2011-03-27 06:33:10 -07: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
Kris Wallsmith
dd9ad97a0c [HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle" 2011-03-27 05:31:57 -07:00