[commits] Horde branch master updated. 769b289d45be1eca345ea984bfe33c56a074d523

Gunnar Wrobel p at rdus.de
Tue Apr 27 05:31:41 UTC 2010


The branch "master" has been updated.
The following is a summary of the commits.

from: 1b1e0b09859aa7baaa29bbc18fa969a0c5b0addd

3917df8 Add a test for the cache binder.
fba4d81 $driver cannot be an array otherwise getDriverConfig would fail.
8c2382e $driver_name is never used.
f0d5a7e The $app variable is unnecessary.
4bb458b Pull the factory over to the binder.
ee53fe2 Again $driver cannot be an array.
1b5e47d Simplify.
621d758 Now that Horde_Cache is empty we can make it an interface.
5357905 Add a mock cache driver.
769b289 Start injecting the cache dependency into Kolab_Storage.

-----------------------------------------------------------------------

commit 3917df8bf93287fa1955cf6f770e5870624db5e4
Author: Gunnar Wrobel <p at rdus.de>
Date:   Mon Apr 26 23:29:56 2010 +0200

    Add a test for the cache binder.

 framework/Core/test/Horde/Core/Binder/CacheTest.php |   56 +++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 framework/Core/test/Horde/Core/Binder/CacheTest.php

http://git.horde.org/co.php/framework/Core/test/Horde/Core/Binder/CacheTest.php?rt=horde-git&r=3917df8bf93287fa1955cf6f770e5870624db5e4

-----------------------------------------------------------------------

commit fba4d81eaa68329b75a2a3781ce05ce7e296b781
Author: Gunnar Wrobel <p at rdus.de>
Date:   Mon Apr 26 23:32:50 2010 +0200

    $driver cannot be an array otherwise getDriverConfig would fail.

 framework/Core/lib/Horde/Core/Binder/Cache.php |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r1=5dfb1dc4140eb2996f0251c6335ccdb05028f93c&r2=fba4d81eaa68329b75a2a3781ce05ce7e296b781

-----------------------------------------------------------------------

commit 8c2382e4df44c570dd3ed0e22a020a42558b58a7
Author: Gunnar Wrobel <p at rdus.de>
Date:   Mon Apr 26 23:33:28 2010 +0200

    $driver_name is never used.

 framework/Core/lib/Horde/Core/Binder/Cache.php |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r1=fba4d81eaa68329b75a2a3781ce05ce7e296b781&r2=8c2382e4df44c570dd3ed0e22a020a42558b58a7

-----------------------------------------------------------------------

commit f0d5a7eb170b1a60d877071edf57646ccf0d4a8c
Author: Gunnar Wrobel <p at rdus.de>
Date:   Mon Apr 26 23:34:28 2010 +0200

    The $app variable is unnecessary.

 framework/Core/lib/Horde/Core/Binder/Cache.php |   22 +++++++++-------------
 1 files changed, 9 insertions(+), 13 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r1=8c2382e4df44c570dd3ed0e22a020a42558b58a7&r2=f0d5a7eb170b1a60d877071edf57646ccf0d4a8c

-----------------------------------------------------------------------

commit 4bb458b14a9d6713afff4c2f4a930c74fddc8f43
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Apr 27 04:53:39 2010 +0200

    Pull the factory over to the binder.

 framework/Cache/lib/Horde/Cache.php            |   34 ------------------------
 framework/Core/lib/Horde/Core/Binder/Cache.php |   18 ++++++++++++-
 2 files changed, 17 insertions(+), 35 deletions(-)

http://git.horde.org/diff.php/framework/Cache/lib/Horde/Cache.php?rt=horde-git&r1=898136f146cabf99f63c7b29ff6b407f9747ed49&r2=4bb458b14a9d6713afff4c2f4a930c74fddc8f43
http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r1=f0d5a7eb170b1a60d877071edf57646ccf0d4a8c&r2=4bb458b14a9d6713afff4c2f4a930c74fddc8f43

-----------------------------------------------------------------------

commit ee53fe2f40fdbae1b05820671253c493731354fe
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Apr 27 04:58:32 2010 +0200

    Again $driver cannot be an array.

 framework/Core/lib/Horde/Core/Binder/Cache.php |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r1=4bb458b14a9d6713afff4c2f4a930c74fddc8f43&r2=ee53fe2f40fdbae1b05820671253c493731354fe

-----------------------------------------------------------------------

commit 1b5e47ded3936000a767336d9b69a22212e46459
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Apr 27 05:00:19 2010 +0200

    Simplify.

 framework/Core/lib/Horde/Core/Binder/Cache.php |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r1=ee53fe2f40fdbae1b05820671253c493731354fe&r2=1b5e47ded3936000a767336d9b69a22212e46459

-----------------------------------------------------------------------

commit 621d7582253c9684921cb6d4d44014d6348b860b
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Apr 27 05:04:43 2010 +0200

    Now that Horde_Cache is empty we can make it an interface.
    
    Throughout the application we refer to "an instance of Horde_Cache"
    and we actually bind the cache to "Horde_Cache" in the injector. The
    natural choice is to define it as the interface of the class.

 framework/Cache/lib/Horde/Cache.php      |   46 +++++++++++++++++++++++++++++-
 framework/Cache/lib/Horde/Cache/Base.php |   46 +-----------------------------
 2 files changed, 46 insertions(+), 46 deletions(-)

http://git.horde.org/diff.php/framework/Cache/lib/Horde/Cache.php?rt=horde-git&r1=4bb458b14a9d6713afff4c2f4a930c74fddc8f43&r2=621d7582253c9684921cb6d4d44014d6348b860b
http://git.horde.org/diff.php/framework/Cache/lib/Horde/Cache/Base.php?rt=horde-git&r1=898136f146cabf99f63c7b29ff6b407f9747ed49&r2=621d7582253c9684921cb6d4d44014d6348b860b

-----------------------------------------------------------------------

commit 535790565bcea823bbb527c13c33f49f7ef1b4ce
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Apr 27 07:22:04 2010 +0200

    Add a mock cache driver.

 framework/Cache/lib/Horde/Cache/Mock.php |   91 ++++++++++++++++++++++++++++++
 framework/Cache/package.xml              |    2 +
 2 files changed, 93 insertions(+), 0 deletions(-)
 create mode 100644 framework/Cache/lib/Horde/Cache/Mock.php

http://git.horde.org/co.php/framework/Cache/lib/Horde/Cache/Mock.php?rt=horde-git&r=535790565bcea823bbb527c13c33f49f7ef1b4ce
http://git.horde.org/diff.php/framework/Cache/package.xml?rt=horde-git&r1=49dc566eecdc6801be07cfbfca9ee783951e4017&r2=535790565bcea823bbb527c13c33f49f7ef1b4ce

-----------------------------------------------------------------------

commit 769b289d45be1eca345ea984bfe33c56a074d523
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Apr 27 07:23:39 2010 +0200

    Start injecting the cache dependency into Kolab_Storage.

 framework/Core/lib/Horde/Core/Factory/KolabStorage.php          |    1 +
 framework/Kolab_Storage/lib/Horde/Kolab/Storage.php             |   12 ++
 framework/Kolab_Storage/lib/Horde/Kolab/Storage/Cache.php       |   49 +------
 framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data.php        |   42 +++---
 framework/Kolab_Storage/lib/Horde/Kolab/Storage/Folder/Base.php |   11 +-
 5 files changed, 40 insertions(+), 75 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Factory/KolabStorage.php?rt=horde-git&r1=58ed8b1389dfd30d33463f3f323484056f1f368b&r2=769b289d45be1eca345ea984bfe33c56a074d523
http://git.horde.org/diff.php/framework/Kolab_Storage/lib/Horde/Kolab/Storage.php?rt=horde-git&r1=18f7e5bbee9b2ebaf628f06d7af46cdbc7033a8f&r2=769b289d45be1eca345ea984bfe33c56a074d523
http://git.horde.org/diff.php/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Cache.php?rt=horde-git&r1=ba707b3721473b2453d6b1558d6f7f0b9c9446a2&r2=769b289d45be1eca345ea984bfe33c56a074d523
http://git.horde.org/diff.php/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data.php?rt=horde-git&r1=3729c269d5cbd21e849894cac34440684b008d6f&r2=769b289d45be1eca345ea984bfe33c56a074d523
http://git.horde.org/diff.php/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Folder/Base.php?rt=horde-git&r1=58ed8b1389dfd30d33463f3f323484056f1f368b&r2=769b289d45be1eca345ea984bfe33c56a074d523




More information about the commits mailing list