Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 08d63da

Browse files
author
Pierre-Yves LEBECQ
committed
RELEASE_1_4_14 => v1.4.14 commit
1 parent a0126d8 commit 08d63da

39 files changed

+102
-54
lines changed

CHANGELOG

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
09/16/11: Version 1.4.14
2+
------------------------
3+
4+
* [33025] fixed sfCacheSessionStorage does not always check whether HTTP_USER_AGENT is set (closes #9921, patch from boutell)
5+
* [33022] fixed auto_link_text() when an email address is already linked (closes #9915, based on a patch from klemens_u)
6+
* [33021] fixed sfCacheSessionStorage does not serialize properly, also uses wrong option name for httponly (closes #9919, based on a patch from boutell)
7+
* [32939] fixed memory leak in sfRoute::generate() (closes #9886 - patch from acf0)
8+
* [32892] fixed Doctrine form generation when a schema has abstract tables (closes #9885 - patch from chok)
9+
* [32891] fixed sfFinder bug when mirroring file with twice the path inside it (closes #9892 - based on a patch from shordeaux)
10+
* [32890] fixed bad value of property 'list-style' in css of WebDebug toolbar (closes #9891 - patch from tomi)
11+
112
08/05/11: Version 1.4.13
213
------------------------
314

lib/autoload/sfCoreAutoload.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* The current symfony version.
1313
*/
14-
define('SYMFONY_VERSION', '1.4.13');
14+
define('SYMFONY_VERSION', '1.4.14');
1515

1616
/**
1717
* sfCoreAutoload class.

lib/debug/sfWebDebug.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @package symfony
1515
* @subpackage debug
1616
* @author Fabien Potencier <[email protected]>
17-
* @version SVN: $Id: sfWebDebug.class.php 31254 2010-10-26 15:26:03Z fabien $
17+
* @version SVN: $Id: sfWebDebug.class.php 32890 2011-08-05 07:44:44Z fabien $
1818
*/
1919
class sfWebDebug
2020
{
@@ -780,7 +780,7 @@ public function getStylesheet()
780780
margin: 0;
781781
padding: 0;
782782
margin-left: 20px;
783-
list-style: number;
783+
list-style: decimal;
784784
}
785785
786786
#sfWebDebugDatabaseLogs li

lib/helper/TextHelper.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @subpackage helper
1717
* @author Fabien Potencier <[email protected]>
1818
* @author David Heinemeier Hansson
19-
* @version SVN: $Id: TextHelper.php 31895 2011-01-24 18:37:43Z fabien $
19+
* @version SVN: $Id: TextHelper.php 33022 2011-09-15 05:27:12Z fabien $
2020
*/
2121

2222
/**
@@ -283,5 +283,10 @@ function _auto_link_urls($text, $href_options = array(), $truncate = false, $tru
283283
*/
284284
function _auto_link_email_addresses($text)
285285
{
286-
return preg_replace('/([\w\.!#\$%\-+.]+@[A-Za-z0-9\-]+(\.[A-Za-z0-9\-]+)+)/', '<a href="mailto:\\1">\\1</a>', $text);
286+
// Taken from http://snippets.dzone.com/posts/show/6156
287+
return preg_replace("#(^|[\n ])([a-z0-9&\-_\.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $text);
288+
289+
// Removed since it destroys already linked emails
290+
// Example: <a href="mailto:[email protected]">bar</a> gets <a href="mailto:[email protected]">bar</a> gets <a href="mailto:<a href="mailto:[email protected]">bar</a>
291+
//return preg_replace('/([\w\.!#\$%\-+.]+@[A-Za-z0-9\-]+(\.[A-Za-z0-9\-]+)+)/', '<a href="mailto:\\1">\\1</a>', $text);
287292
}

lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormGenerator.class.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @subpackage generator
1919
* @author Fabien Potencier <[email protected]>
2020
* @author Jonathan H. Wage <[email protected]>
21-
* @version SVN: $Id: sfDoctrineFormGenerator.class.php 29661 2010-05-28 16:56:42Z Kris.Wallsmith $
21+
* @version SVN: $Id: sfDoctrineFormGenerator.class.php 32892 2011-08-05 07:53:57Z fabien $
2222
*/
2323
class sfDoctrineFormGenerator extends sfGenerator
2424
{
@@ -167,10 +167,14 @@ public function getPluginModels()
167167
if ($reflection->isSubClassOf($parent))
168168
{
169169
$this->pluginModels[$modelName] = $pluginName;
170-
$generators = Doctrine_Core::getTable($modelName)->getGenerators();
171-
foreach ($generators as $generator)
170+
171+
if ($reflection->isInstantiable())
172172
{
173-
$this->pluginModels[$generator->getOption('className')] = $pluginName;
173+
$generators = Doctrine_Core::getTable($modelName)->getGenerators();
174+
foreach ($generators as $generator)
175+
{
176+
$this->pluginModels[$generator->getOption('className')] = $pluginName;
177+
}
174178
}
175179
}
176180
}
Binary file not shown.

lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/map/ArticleTableMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This class was autogenerated by Propel 1.4.2 on:
99
*
10-
* Fri Aug 5 09:39:36 2011
10+
* Fri Sep 16 11:31:31 2011
1111
*
1212
*
1313
* This map class is used by Propel to do runtime db structure discovery.

lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/map/AttachmentTableMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This class was autogenerated by Propel 1.4.2 on:
99
*
10-
* Fri Aug 5 09:39:39 2011
10+
* Fri Sep 16 11:31:32 2011
1111
*
1212
*
1313
* This map class is used by Propel to do runtime db structure discovery.

lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/map/AuthorArticleTableMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This class was autogenerated by Propel 1.4.2 on:
99
*
10-
* Fri Aug 5 09:39:37 2011
10+
* Fri Sep 16 11:31:32 2011
1111
*
1212
*
1313
* This map class is used by Propel to do runtime db structure discovery.

lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/map/AuthorTableMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This class was autogenerated by Propel 1.4.2 on:
99
*
10-
* Fri Aug 5 09:39:37 2011
10+
* Fri Sep 16 11:31:31 2011
1111
*
1212
*
1313
* This map class is used by Propel to do runtime db structure discovery.

0 commit comments

Comments
 (0)