Commit Graph

2639 Commits

Author SHA1 Message Date
Fabien Potencier
6aa205c669 Merge remote branch 'kriswallsmith/framework/optimize-debug-dispatcher'
* kriswallsmith/framework/optimize-debug-dispatcher:
  [FrameworkBundle] optimized the debug event dispatcher to avoid instantiating every listener every time
2011-03-09 16:34:12 +01:00
Kris Wallsmith
d698baf06b [FrameworkBundle] optimized the debug event dispatcher to avoid instantiating every listener every time 2011-03-09 07:25:47 -08:00
Fabien Potencier
86cd2fd1e8 Merge remote branch 'weaverryan/add_mongo_db_configuration'
* weaverryan/add_mongo_db_configuration:
  [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class
  [DoctrineMongoDBBundle] Removing left-over debug code.
  [DoctrineMongoDBBundle] Adding a "full" config example in YAML.
  [DoctrineMongoDBBundle] Changing root node name for consistency.
  [DoctrineMongoDBBundle] Removing unused variable.
  [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters.
  [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class.
  [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
  [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
  [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values.
  [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
  [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension.
  [DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options.
  [DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
  [DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice.
2011-03-09 15:49:05 +01:00
Christophe Coevoet
e522424967 Changed default logging param to kernel.debug and fixed container unit test 2011-03-09 15:37:48 +01:00
Christophe Coevoet
f37a2a9513 Refactored the config to use the right parameters instead of using the default values 2011-03-09 15:37:42 +01:00
Christophe Coevoet
527749ca3f Made mandatory to have at least one entity manager when using the ORM and one connection when using DBAL 2011-03-09 15:37:36 +01:00
Christophe Coevoet
a9a300ed6f Updated the tests 2011-03-09 15:36:12 +01:00
Christophe Coevoet
0d0f053682 Updated the XSD schema 2011-03-09 15:36:02 +01:00
Christophe Coevoet
477109f1e8 Completed the Configuration class and refactored the extension to use it 2011-03-09 15:35:58 +01:00
Christophe Coevoet
652bca131d Added a Configuration class for DoctrineBundle 2011-03-09 15:27:55 +01:00
Ryan Weaver
4c947c251b [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class 2011-03-09 06:55:01 -06:00
Ryan Weaver
62cc35228c [DoctrineMongoDBBundle] Removing left-over debug code. 2011-03-09 06:46:18 -06:00
Ryan Weaver
0fe6f13be8 [DoctrineMongoDBBundle] Adding a "full" config example in YAML. 2011-03-09 06:46:18 -06:00
Ryan Weaver
68d478fe8e [DoctrineMongoDBBundle] Changing root node name for consistency. 2011-03-09 06:46:18 -06:00
Ryan Weaver
7c13e681c3 [DoctrineMongoDBBundle] Removing unused variable. 2011-03-09 06:46:18 -06:00
Ryan Weaver
1e492e231c [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9ca8f171f7 [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9179168e0d [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
Also mae this function unset the options after their used. This prevents those values from being available later inside the options array and as parameters.
2011-03-09 06:46:18 -06:00
Ryan Weaver
bdd23369e2 [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
This information was set entirely in the DI extension options and then added as a parameter only to be later consumed by the DI extension class.

In other words, this should never have been a parameter, or at least it's never been used and treated like a parameter.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2a78dc4 [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values. 2011-03-09 06:46:17 -06:00
Ryan Weaver
42a0b22f0e [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
Previously:

    <connections>
        <connection ...>
            <!-- .. -->
        </connection>
        <connection ...>
            <!-- .. -->
        </connection>
    </connections>

Now:

    <connection ...>
        <!-- .. -->
    </connection>
    <connection ...>
        <!-- .. -->
    </connection>

I believe this is more semantically correct, and it removes code that had to worry about this extra format and normalize it.
2011-03-09 06:46:17 -06:00
Ryan Weaver
a13500459f [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension. 2011-03-09 06:46:17 -06:00
Ryan Weaver
94da3127b9 [DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options. 2011-03-09 06:46:17 -06:00
Ryan Weaver
ac88b8a597 [DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
Also rewrote this so that it's more clear.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2f17e96 [DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice. 2011-03-09 06:46:17 -06:00
Fabien Potencier
689f0e1d58 Merge remote branch 'naderman/watch-debug'
* naderman/watch-debug:
  [AsseticBundle] Throw exception if --watch is used without --debug.
2011-03-09 12:51:38 +01:00
Fabien Potencier
d3d496f0f2 Merge remote branch 'mvrhov/validatorsTransSlo'
* mvrhov/validatorsTransSlo:
  Draft Slovenian translation
2011-03-09 12:50:57 +01:00
Miha Vrhovnik
87cc306d98 Draft Slovenian translation 2011-03-09 10:28:25 +01:00
Miha Vrhovnik
76d664faa6 Fixing undefined notices by changing visibility back to protected for sompe properties and methods. 2011-03-09 10:24:16 +01:00
Fabien Potencier
9f0f127e6a [Form] fixed typo in XSD path 2011-03-09 02:34:51 +01:00
Nils Adermann
94aacd0901 [AsseticBundle] Throw exception if --watch is used without --debug. 2011-03-09 02:30:19 +01:00
Fabien Potencier
32d2ec7571 [ClassLoader] moved most protected methods and properties to private 2011-03-08 20:55:22 +01:00
Fabien Potencier
c9b965dbee [Finder] moved most protected methods and properties to private 2011-03-08 20:54:22 +01:00
Fabien Potencier
75b29ffdfe [Translation] moved most protected methods and properties to private 2011-03-08 20:47:32 +01:00
Fabien Potencier
94c445957c [Yaml] moved most protected methods and properties to private 2011-03-08 20:33:19 +01:00
Fabien Potencier
4f0e0a6193 fixed some emails 2011-03-08 15:43:54 +01:00
Fabien Potencier
8716c2ad1e merged 2011-03-08 15:43:02 +01:00
Fabien Potencier
5c82db1d60 Merge remote branch 'stof/assets_url_fix'
* stof/assets_url_fix:
  [FrameworkBundle] fixed tests to conform to new xsd
  Fixed assets_base_urls configuration
2011-03-08 15:38:43 +01:00
Fabien Potencier
a0caa942e9 [Config] fixed CS 2011-03-08 15:33:46 +01:00
Fabien Potencier
33b9cacc3f Merge remote branch 'vicb/profiler_tweaks'
* vicb/profiler_tweaks:
  Tweak inline js
  [WebProfilerBundle] Tweak some css
2011-03-08 14:43:57 +01:00
Fabien Potencier
031a65e4f8 Merge remote branch 'kriswallsmith/dic/lazy-compiler'
* kriswallsmith/dic/lazy-compiler:
  [DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it
2011-03-08 14:42:53 +01:00
Kris Wallsmith
de6c353b40 [DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it 2011-03-08 05:34:07 -08:00
Fabien Potencier
f5ef015a75 Merge remote branch 'lsmith77/doctrinebundle'
* lsmith77/doctrinebundle:
  removed superfluous use statement
2011-03-08 14:30:20 +01:00
Lukas Kahwe Smith
1f13356cd7 removed superfluous use statement 2011-03-08 13:18:46 +01:00
Victor Berchet
ba9e5b58ff Tweak inline js 2011-03-08 10:23:31 +01:00
Victor Berchet
6df06dffaa [WebProfilerBundle] Tweak some css 2011-03-08 10:05:00 +01:00
develop
1daedcc6fc fix whitespace problem 2011-03-08 09:49:52 +01:00
develop
a93aa55199 If you use an annotation resource pointing to a controller directory
in your routing configuration, only existing files in this directory
get tracked for changes in this directory. So if you add a new
controller file in this directory you'd have to manually clear the
cache since the new file gets ignored.
This patch adds a DirectoryResource for this case which tracks all
changes in the given directory (and files and directories contained
within).
2011-03-08 09:49:45 +01:00
Fabien Potencier
73a78d0633 [FrameworkBundle] changed search input to use search as a type 2011-03-08 09:12:12 +01:00
Fabien Potencier
91d7caca6b merged 2011-03-08 09:08:09 +01:00