[commits] Horde branch master updated. 8a9dc59523aad41935819a53df3c9be162497a7a
Chuck Hagenbuch
chuck at horde.org
Thu Jan 14 22:41:47 UTC 2010
The branch "master" has been updated.
The following is a summary of the commits.
from: aa98cec29ae9eea639d828f1261e086f42d21a99
e46972a Remove Horde_Db_Adapter, which only contained a factory.
9bbae49 Grammar tweaks
63302dc Add an initial set of dependency injection bindings.
36124ab Missed two removals of Horde_Db_Factory
1469584 It's not yet clear how these apps will manager their databse connection, so just remove the line for now.
ea057a7 Another compatibility shim in the Binder
5a5c986 No need for a factory; create a sqlite adapter directly
8a9dc59 Use the new injector bindings to get Horde_Db instances
-----------------------------------------------------------------------
commit e46972a7604525ba894361d5c947e482340b0a38
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 16:35:36 2010 -0500
Remove Horde_Db_Adapter, which only contained a factory.
framework/Db/lib/Horde/Db/Adapter.php | 41 ---------------------------------
framework/Db/package.xml | 2 -
2 files changed, 0 insertions(+), 43 deletions(-)
delete mode 100644 framework/Db/lib/Horde/Db/Adapter.php
http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter.php?rt=horde-git&r1=1a310b2de34193b3f984e4506d87b32de412a65e&r2=e46972a7604525ba894361d5c947e482340b0a38
http://git.horde.org/diff.php/framework/Db/package.xml?rt=horde-git&r1=9ea90811965e94733814a4541bfd7c375e0cf7af&r2=e46972a7604525ba894361d5c947e482340b0a38
-----------------------------------------------------------------------
commit 9bbae4969567fd01d0bf384e5e270ff1ec188ead
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 16:44:19 2010 -0500
Grammar tweaks
framework/Injector/doc/Horde/Injector/usage.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/framework/Injector/doc/Horde/Injector/usage.txt?rt=horde-git&r1=170b2a03784263934be7a9e4b6229465955545c0&r2=9bbae4969567fd01d0bf384e5e270ff1ec188ead
-----------------------------------------------------------------------
commit 63302dc5cb057ffb0f0be1b8296e27451161f2f6
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 17:22:36 2010 -0500
Add an initial set of dependency injection bindings.
These are configured automatically when the Registry is set up, access the
current global $conf array, and let you create:
- a Horde_Db instance, by asking for db-reader, db-writer, or db-manager (the
distinction isn't implemented yet)
- a null Horde_Log_Logger object (our config is still for PEAR Log)
- a real Horde_Cache object as configured in $conf
framework/Core/lib/Horde/Core/Binder/Cache.php | 32 ++++++++++++++
framework/Core/lib/Horde/Core/Binder/Db.php | 53 +++++++++++++++++++++++
framework/Core/lib/Horde/Core/Binder/Logger.php | 13 ++++++
framework/Core/lib/Horde/Registry.php | 8 +++
framework/Core/package.xml | 10 ++++
5 files changed, 116 insertions(+), 0 deletions(-)
create mode 100644 framework/Core/lib/Horde/Core/Binder/Cache.php
create mode 100644 framework/Core/lib/Horde/Core/Binder/Db.php
create mode 100644 framework/Core/lib/Horde/Core/Binder/Logger.php
http://git.horde.org/co.php/framework/Core/lib/Horde/Core/Binder/Cache.php?rt=horde-git&r=63302dc5cb057ffb0f0be1b8296e27451161f2f6
http://git.horde.org/co.php/framework/Core/lib/Horde/Core/Binder/Db.php?rt=horde-git&r=63302dc5cb057ffb0f0be1b8296e27451161f2f6
http://git.horde.org/co.php/framework/Core/lib/Horde/Core/Binder/Logger.php?rt=horde-git&r=63302dc5cb057ffb0f0be1b8296e27451161f2f6
http://git.horde.org/diff.php/framework/Core/lib/Horde/Registry.php?rt=horde-git&r1=1a310b2de34193b3f984e4506d87b32de412a65e&r2=63302dc5cb057ffb0f0be1b8296e27451161f2f6
http://git.horde.org/diff.php/framework/Core/package.xml?rt=horde-git&r1=fc0edf7cb9e0844936c97b28d78bf9f58b3ac069&r2=63302dc5cb057ffb0f0be1b8296e27451161f2f6
-----------------------------------------------------------------------
commit 36124ab25869ed59a5283565d675674dc78f6d87
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 17:24:33 2010 -0500
Missed two removals of Horde_Db_Factory
framework/Db/test/Horde/Db/Migration/BaseTest.php | 3 +--
framework/Db/test/Horde/Db/Migration/MigratorTest.php | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Migration/BaseTest.php?rt=horde-git&r1=1a310b2de34193b3f984e4506d87b32de412a65e&r2=36124ab25869ed59a5283565d675674dc78f6d87
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Migration/MigratorTest.php?rt=horde-git&r1=236b104d6c6c14b5e32151b1e024961ab1669e66&r2=36124ab25869ed59a5283565d675674dc78f6d87
-----------------------------------------------------------------------
commit 146958422ed9cbfdab46c1d241e01755a64a157f
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 17:35:23 2010 -0500
It's not yet clear how these apps will manager their databse connection, so just
remove the line for now.
hippo/app/controllers/ApplicationController.php | 3 ---
hydra/app/controllers/ApplicationController.php | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
http://git.horde.org/diff.php/hippo/app/controllers/ApplicationController.php?rt=horde-git&r1=2ca30edfd05067f39df18830e5e6bb6a1ec28577&r2=146958422ed9cbfdab46c1d241e01755a64a157f
http://git.horde.org/diff.php/hydra/app/controllers/ApplicationController.php?rt=horde-git&r1=2ca30edfd05067f39df18830e5e6bb6a1ec28577&r2=146958422ed9cbfdab46c1d241e01755a64a157f
-----------------------------------------------------------------------
commit ea057a7de4e85774c3e5ddc8e68183eb94005000
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 17:36:03 2010 -0500
Another compatibility shim in the Binder
framework/Core/lib/Horde/Core/Binder/Db.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Db.php?rt=horde-git&r1=63302dc5cb057ffb0f0be1b8296e27451161f2f6&r2=ea057a7de4e85774c3e5ddc8e68183eb94005000
-----------------------------------------------------------------------
commit 5a5c9866d755a836fc8f25196a471922708f6027
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 17:36:21 2010 -0500
No need for a factory; create a sqlite adapter directly
content/test/Tags/TaggerTest.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/content/test/Tags/TaggerTest.php?rt=horde-git&r1=4d249a3af4faea6509fe8da806264dd5d87ab4e5&r2=5a5c9866d755a836fc8f25196a471922708f6027
-----------------------------------------------------------------------
commit 8a9dc59523aad41935819a53df3c9be162497a7a
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Thu Jan 14 17:37:09 2010 -0500
Use the new injector bindings to get Horde_Db instances
This replaces all usage of the deprecated Horde_Db_Factory
content/app/controllers/ApplicationController.php | 8 +-------
framework/Image/tests/im.php | 3 +--
framework/Rdo/examples/Horde/Rdo/Clotho.php | 2 +-
framework/Rdo/examples/Horde/Rdo/User.php | 2 +-
horde/bin/db_migrate | 3 +--
kronolith/lib/Tagger.php | 9 +--------
6 files changed, 6 insertions(+), 21 deletions(-)
http://git.horde.org/diff.php/content/app/controllers/ApplicationController.php?rt=horde-git&r1=f94b508f8d68f9cf111bc45cc2860bff20027619&r2=8a9dc59523aad41935819a53df3c9be162497a7a
http://git.horde.org/diff.php/framework/Image/tests/im.php?rt=horde-git&r1=a768948f095763e415c4339c92dc79ce77937eff&r2=8a9dc59523aad41935819a53df3c9be162497a7a
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/Clotho.php?rt=horde-git&r1=6aa7340471f3e0d21a15ef37ed414fa26fe8327b&r2=8a9dc59523aad41935819a53df3c9be162497a7a
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/User.php?rt=horde-git&r1=40ec1218d7a68b2b18b866ed955d5990fdeb40cb&r2=8a9dc59523aad41935819a53df3c9be162497a7a
http://git.horde.org/diff.php/horde/bin/db_migrate?rt=horde-git&r1=66a16f501b58196e5f8b1c976f074d39ac3bce4d&r2=8a9dc59523aad41935819a53df3c9be162497a7a
http://git.horde.org/diff.php/kronolith/lib/Tagger.php?rt=horde-git&r1=4d249a3af4faea6509fe8da806264dd5d87ab4e5&r2=8a9dc59523aad41935819a53df3c9be162497a7a
More information about the commits
mailing list