[TYPO3-core] FYI24: #16824: [Caching framework] Update to latest FLOW3 version

Christian Kuhn lolli at schwarzbu.ch
Thu Dec 23 00:10:08 CET 2010


The following patch will be committed to svn trunk in 24 hours if nobody 
objects:

Type: sync with FLOW3

Branches: trunk

Mission:
Get in sync with latest FLOW3 caching framework changes.

Summary:
- Important: The VariableFrontend now can use the igbinary serializer 
[1] for performance reasons if available. The changeset currently leads 
to some failing tests if the php module igbinary is available, this will 
be tackled with issue [2]
- The pdo helper class is now called statically
- Most other changes are no-brainers, like annotation changes and 
comment fixes.

[1] http://opensource.dynamoid.com/
[2] http://forge.typo3.org/issues/11659


Details of merged changes:

commit 24362dc59e7173732adfb9159c4c6800549c34c4
Author: Robert Lemke <robert at typo3.org>
Date:   Mon Oct 25 13:48:19 2010 +0200

     [+BUGFIX] FLOW3 (Cache): Work around PHP __halt_compiler() 
namespaces bug

     The PhpFrontend added a __halt_compiler() instruction to the end of 
each
     cache file to ignore following meta data needed by the cache framework.
     This resulted in wrong namespace scopes for certain - originally 
global -
     classes.

     Instead of __halt_compiler() we now use a simple "#" comment which 
should
     work equally fine with the current kind of metadata we are using.

     Change-Id: I698c15e1053ae87337bb3c914c9c98de35a2e536
     Resolves: #10428


commit 302ed28fe247561a25b85bf684d89dd1e1d5e4a5
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Wed Nov 17 15:17:26 2010 +0100

     [~TASK] FLOW3 (Cache): Fix @param in RedisBackend

     Change-Id: I48d0aa4eb6b3640db69d32dd6887d6c8453e0216


commit a5cd2983879114b76f204c6174d60ac2a26ce6c0
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Thu Nov 25 17:17:18 2010 +0100

     [~TASK] FLOW3: Clean up annotations/signatures

     Change-Id: Ic796230cd73810f2b98dce5ed05f87032a85be1d


commit e0a3b6784fae5d37c1897b83bc90c5d65bb89c53
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Thu Dec 2 18:23:35 2010 +0100

     [~TASK] FLOW3 (Cache): Use memory db for PDO tests

     Use a SQLite in-memory database instead of a file on disk.

     Change-Id: Icb76927efb539c2d650bb92cd0f8f8817a9481ac


commit 9815e46ec5cd0be3c64ded50dcec1a93c4abbc76
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Tue Dec 7 19:36:30 2010 +0100

     [~TASK] FLOW3 (Utility): Make PdoHelper static

     The PdoHelper class has no need to be non-static. Adjust the use of it
     in persistence and cache PDO backends.

     Change-Id: Ic0e3758574fe8ea9258cc27beecf632a4abd16c5


commit d26e82f4de95e96f2e14b6531c8c24a2b05ccfe9
Author: Robert Lemke <robert at typo3.org>
Date:   Tue Dec 14 15:46:03 2010 +0100

     [+FEATURE] FLOW3 (Cache): Implement igbinary support

     This changeset adds support for the serialization accelerator
     igbinary. If the igbinary extension is loaded, the VariableFrontend
     of the cache framework will use its serialize() and unserialize()
     functions instead of the PHP built-in variants.

     Depending on the amount and nature of data, this speeds up cache
     serialization by about 100%.

     Resolves: #11443

     Change-Id: I71acb1d15fcf4dfbd3f7f031492ec7dd1b3c586c


commit 9b139c64fa8238ecd6d53b2cb8a37b3fbe50ba8c
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Wed Aug 18 13:55:00 2010 +0200

     [~TASK] FLOW3 (Cache): Made testcases for APC and memcache backends 
more reliable.

     Change-Id: Idf669946b16f24b93cfe9d15e8397ef5079ac343


commit 01765ad53feeb347256f3e7c1015f3f53b973552
Author: Robert Lemke <robert at typo3.org>
Date:   Thu Sep 2 16:22:29 2010 +0200

     [~TASK] FLOW3 (Cache): Fixed a failing APC backend test

     One test was failing, probably due to an old APC version used (see 
#9538).
     After upgrading to a more recent version of APC (3.1.5-dev) this other
     tests failed due to the cache slam prevention mechanism.

     Since that cannot be disabled (currently) via ini_set(), these tests
     are now skipped if apc.slam_defense is set to 1.

     Relates to: #4855
     Resolves: #9538

     Change-Id: I82577d149aebb608b4cb14d7cdb76422ce41d09a


commit 83c52a57ec6c1fa000193eacc18d2195b343f027
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Wed Nov 24 13:33:42 2010 +0100

     [~TASK] FLOW3 (Cache): Silence RedisBackendTest warnings

     Change-Id: I83c51af54eb6b72ad44f66ea114e97795cf645eb


commit dab54f51e826ba86f747d252dce9756a0c0bca48
Author: Karsten Dambekalns <karsten at typo3.org>
Date:   Tue Dec 7 19:37:42 2010 +0100

     [~TASK] FLOW3 (Cache): Fix memory db DSN in tests

     The PdoBackendTest for Cache used a wrong DSN for in-memory SQLite
     databases.

     Change-Id: I929380797e4b3e6dd9a00f46294079a587f276ee


Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16824_01.diff
Type: text/x-patch
Size: 34709 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101223/8e8c3e92/attachment-0001.bin>


More information about the TYPO3-team-core mailing list