Commit Graph

5648 Commits

Author SHA1 Message Date
Fabien Potencier
be95bff7ca [Routing] tweaked error messages 2011-05-26 12:54:21 +02:00
Fabien Potencier
5b6f15b661 Merge remote branch 'gimler/master'
* gimler/master:
  use param names in exception not the index
2011-05-26 12:53:26 +02:00
Fabien Potencier
3bdb7c2b57 [DependencyInjection] fixed regression when a parameter contains an escaped %
Notice that this is still not perfect, but I don't see how to fix the remaining
potential problems.
2011-05-26 12:47:50 +02:00
Jordi Boggiano
ba8758b4c2 [EventDispatcher] Removed temporary code 2011-05-26 11:56:59 +02:00
Jordi Boggiano
3f6407ccd1 [FrameworkBundle] Improved code readability 2011-05-26 11:55:11 +02:00
Jordi Boggiano
8a2d5496c9 [FrameworkBundle] Clarified code and fixed regression 2011-05-26 11:55:09 +02:00
Jordi Boggiano
af0bd8a136 Update Core and Security events to latest model
The main benefit is that in XML/YML files we have common syntax (i.e. core.controller, form.pre_bind) that properly namespaces event names (before: onCoreController was ok, preBind was not).
On the other hand in PHP land we also have namespaced events, CoreEvents::controller, FormEvents::preBind, before it was Events::onCoreController, Events::onPreBind, we now have more context.
2011-05-26 11:55:07 +02:00
Jordi Boggiano
1246503e55 [EventDispatcher] Allow registration of arbitrary callbacks
This in effect removes the direct link between event name and the method name on the handler.
Any callback can be given as a handler and the event name becomes an arbitrary string. Allowing for easier namespacing (see next commit)
2011-05-26 11:54:06 +02:00
Jordi Boggiano
000229dbd0 [EventDispatcher] Remove useless code 2011-05-26 11:54:02 +02:00
Jordi Boggiano
9816b6adc3 [EventDispatcher] Minor memory optimization to getListeners() 2011-05-26 11:54:00 +02:00
Jordi Boggiano
48d6a95803 [FrameworkBundle] Small optimization, remove some function calls 2011-05-26 11:53:58 +02:00
Fabien Potencier
ce79fa9ba2 [DependencyInjection] fixed typo 2011-05-26 08:22:16 +02:00
Daniel Holmes
3c372d3773 [BrowserKit] fixed explicit cookie params being overriden by url 2011-05-26 15:28:51 +10:00
Eric Clemmons
c06a157759 Fix for RadioInputListener's empty value erroneously becoming extra data
Refs #1058
2011-05-25 22:24:49 -07:00
Eric Clemmons
a61e13303b Added test for RadioInputListener bug treating no data as extra data 2011-05-25 22:15:35 -07:00
Joshua Nye
3832a7a33d Added missing space. 2011-05-25 17:22:32 -04:00
Joshua Nye
f019541716 Fixed broken logic in Request::getHttpHost(). It was ignoring HTTP_HOST completely. 2011-05-25 16:02:16 -04:00
Eric Clemmons
c13cdd34c5 FormError when not synchronized tells you the form name for easier debugging 2011-05-25 12:50:34 -07:00
Kai
a45d3eeeb6 Reverted last commit 2011-05-25 21:15:34 +02:00
Gordon Franke
60527574d9 use param names in exception not the index 2011-05-25 21:02:01 +02:00
Kai
529381b378 ControllerNotFound: Changed log level from info to error. Also moved
throw exception code block up, to prevent the message from beeing
logged multiple times.
2011-05-25 21:01:19 +02:00
Fabien Potencier
0b9f3d8eb6 [DoctrineBundle] made a temporary fix to force Doctrine annotations to be loaded (closes #1077) 2011-05-25 20:40:34 +02:00
Fabien Potencier
ce19cc0698 Merge remote branch 'Seldaek/domcrawler'
* Seldaek/domcrawler:
  [DomCrawler] Uppercase http methods
2011-05-25 18:27:12 +02:00
Jordi Boggiano
08e7629fb4 [DomCrawler] Uppercase http methods 2011-05-25 15:45:23 +02:00
Fabien Potencier
d966b0b6ef Merge remote branch 'stealth35/patch-4'
* stealth35/patch-4:
  SQLite -> SQLite3
2011-05-25 15:25:09 +02:00
Fabien Potencier
8a63c184d8 Merge remote branch 'hidenorigoto/translate-UPDATE-file-beta2-2'
* hidenorigoto/translate-UPDATE-file-beta2-2:
  updated translation of UPDATE file (Japanese)
2011-05-25 15:24:57 +02:00
hidenorigoto
3783cf3473 updated translation of UPDATE file (Japanese) 2011-05-25 22:03:06 +09:00
stealth35
956f58733c SQLite -> SQLite3 2011-05-25 05:51:48 -07:00
Fabien Potencier
66064cc8fc fixed CS 2011-05-25 11:35:29 +02:00
Fabien Potencier
9f76d3452d Merge remote branch 'stloyd/regexp_validator'
* stloyd/regexp_validator:
  Simplify RegexValidator
2011-05-25 11:35:07 +02:00
Fabien Potencier
dcd490e03f [Twig] added a way to use % in a trans string (closes #981) 2011-05-25 11:29:23 +02:00
stloyd
db28beb395 Simplify RegexValidator 2011-05-25 11:08:13 +02:00
stloyd
3ea2a32c53 Refactor validators constraints:
- remove need for defining "getTargets()" method as 95% of validators use same one
- replace abstract "Constraint::getTargets()" with one that use 95% of validators
- add additional tests for "Constraint::getTargets()" method
- remove unused "use" statement in Constraint\Valid
2011-05-25 10:51:35 +02:00
Fabien Potencier
be046bcb44 Merge remote branch 'mcbennn/master'
* mcbennn/master:
  'annotate' option is useless
  no-backup option instead of force, cleaned comparison operator
  Implements some options that already exist on other doctrine-related commands
2011-05-25 10:06:30 +02:00
Fabien Potencier
462f222319 [DependencyInjection] changed \LogicException to RuntimeException to be more consistent 2011-05-25 09:59:38 +02:00
Fabien Potencier
2438a73c7b [DependencyInjection] added a check for circular references in parameter definitions 2011-05-25 09:57:38 +02:00
mcben
946f68e029 'annotate' option is useless 2011-05-25 09:54:13 +02:00
mcben
512eb5378a no-backup option instead of force, cleaned comparison operator 2011-05-25 09:54:13 +02:00
mcben
650479735b Implements some options that already exist on other doctrine-related commands 2011-05-25 09:54:13 +02:00
Fabien Potencier
456eb53eb8 [DependencyInjection] renamed CircularReferenceException to ServiceCircularReferenceException 2011-05-25 09:48:49 +02:00
Fabien Potencier
6c409cac84 [DependencyInjection] refactored parameter bag parameter replacements (removed duplicated code) 2011-05-25 09:35:51 +02:00
Fabien Potencier
179864414e [Form] fixed CS 2011-05-25 08:03:21 +02:00
Fabien Potencier
9e632b9135 Merge remote branch 'hlecorche/master'
* hlecorche/master:
  IntegerToLocalizedStringTransformer must return "null" if input value is null
2011-05-25 08:02:35 +02:00
Fabien Potencier
cfa44fdda2 Merge remote branch 'stloyd/patch-10'
* stloyd/patch-10:
  [Locale] Prevent failing test when used with PHP 5.3.3+
2011-05-25 07:02:28 +02:00
Joseph Bielawski
d65a56e13b [Locale] Prevent failing test when used with PHP 5.3.3+ 2011-05-24 16:08:09 -07:00
hlecorche
cc49cd9498 Merge remote-tracking branch 'remotes/symfony/master' 2011-05-24 23:25:58 +02:00
Joseph Bielawski
e29e12473c [Tests] Skip test if Doctrine Common is not available. 2011-05-24 14:18:17 -07:00
Joseph Bielawski
46e58206a3 [Tests] Skip test if Doctrine Common is not available. 2011-05-24 14:16:10 -07:00
Fabien Potencier
8d7def4fae [BrowserKit] updated tests 2011-05-24 20:42:24 +02:00
Fabien Potencier
05778c719f [BrowserKit] fixed CS 2011-05-24 20:37:52 +02:00