[commits] Horde-Hatchery branch master updated. 14f409a447eaa33a0853d6aaf3550cc9e4f736c6

Chuck Hagenbuch chuck at horde.org
Sun Feb 8 06:14:08 UTC 2009


The branch master has been updated.
The following is a summary of the commits. Further details on each commit
can be found below.

14f409a... Parsing is starting to work with the base locale. BaseTest.php has some examples, most of which work.
25b9e0d... add tests for date math, date corrections, tokens, and spans
05d39e2... remove chronic files we're done with

from: b3a0f96229fb739a2040c29a464967a7a3c4775f

-----------------------------------------------------------------------
commit 14f409a447eaa33a0853d6aaf3550cc9e4f736c6
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Feb 8 01:12:34 2009 -0500

    Parsing is starting to work with the base locale. BaseTest.php has some
    examples, most of which work.
    
    - tags have been completely revamped to simplify localization
    - factored out the Tick class from the Time repeater
    - removed more tests that have been fully ported
    - removed unnecessary Tag subclasses
    - added an includes() method to Horde_Date_Span

 framework/Date_Parser/chronic/test/test_Span.rb    |   24 --
 framework/Date_Parser/chronic/test/test_Token.rb   |   26 --
 framework/Date_Parser/lib/Horde/Date/Parser.php    |   29 --
 .../Date_Parser/lib/Horde/Date/Parser/Handler.php  |   46 ++--
 .../lib/Horde/Date/Parser/Locale/Base.php          |  247 ++++++++--------
 .../lib/Horde/Date/Parser/Locale/Base/Grabber.php  |   11 +-
 .../lib/Horde/Date/Parser/Locale/Base/Ordinal.php  |   20 +-
 .../Horde/Date/Parser/Locale/Base/OrdinalDay.php   |    9 -
 .../lib/Horde/Date/Parser/Locale/Base/Pointer.php  |   11 +-
 .../lib/Horde/Date/Parser/Locale/Base/Repeater.php |   24 +-
 .../lib/Horde/Date/Parser/Locale/Base/Scalar.php   |   60 +---
 .../Horde/Date/Parser/Locale/Base/Separator.php    |   63 +----
 .../lib/Horde/Date/Parser/Locale/Base/Timezone.php |   11 +-
 .../Date_Parser/lib/Horde/Date/Parser/Tag.php      |   19 --
 .../Date_Parser/lib/Horde/Date/Parser/Token.php    |   11 +-
 .../Date_Parser/lib/Horde/Date/Repeater/Day.php    |   12 +-
 .../lib/Horde/Date/Repeater/DayPortion.php         |    2 +-
 .../Date_Parser/lib/Horde/Date/Repeater/Time.php   |   61 ++---
 framework/Date_Parser/lib/Horde/Date/Span.php      |   10 +
 .../test/Horde/Date/Parser/Locale/BaseTest.php     |   30 ++
 .../test/Horde/Date/Parser/TokenTest.php           |   18 +-
 .../test/Horde/Date/Repeater/TimeTest.php          |   16 +-
 framework/Date_Parser/test/Horde/Date/SpanTest.php |   10 +-
 23 files changed, 293 insertions(+), 477 deletions(-)
 delete mode 100644 framework/Date_Parser/chronic/test/test_Span.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_Token.rb
 delete mode 100644 framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/OrdinalDay.php
 delete mode 100644 framework/Date_Parser/lib/Horde/Date/Parser/Tag.php
 create mode 100644 framework/Date_Parser/test/Horde/Date/Parser/Locale/BaseTest.php

http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_Span.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_Token.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser.php?rt=horde-hatchery&r1=aa2a035cd0c52f404548b6c6c072ecf2fd35457e&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Handler.php?rt=horde-hatchery&r1=4e37dc09638e92f509d8de6663fc16e6f0962e5b&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php?rt=horde-hatchery&r1=bb5efa658f02e5319e1e15427fe74e3fb7606556&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Grabber.php?rt=horde-hatchery&r1=0181a33816af5cf90a3a79308916a3daf1c6d7b2&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Ordinal.php?rt=horde-hatchery&r1=bb5efa658f02e5319e1e15427fe74e3fb7606556&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/OrdinalDay.php?rt=horde-hatchery&r1=8c558ffeb993ff93390fbfa6c489cad63807af18&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Pointer.php?rt=horde-hatchery&r1=0181a33816af5cf90a3a79308916a3daf1c6d7b2&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Repeater.php?rt=horde-hatchery&r1=30b2a2dcbabf5b9988a9bc4f5228c2f77c4049bf&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Scalar.php?rt=horde-hatchery&r1=0181a33816af5cf90a3a79308916a3daf1c6d7b2&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Separator.php?rt=horde-hatchery&r1=0181a33816af5cf90a3a79308916a3daf1c6d7b2&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Timezone.php?rt=horde-hatchery&r1=0181a33816af5cf90a3a79308916a3daf1c6d7b2&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Tag.php?rt=horde-hatchery&r1=bb5efa658f02e5319e1e15427fe74e3fb7606556&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Token.php?rt=horde-hatchery&r1=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Repeater/Day.php?rt=horde-hatchery&r1=dd95737391656cae97061701c58aefae928387e9&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Repeater/DayPortion.php?rt=horde-hatchery&r1=30b2a2dcbabf5b9988a9bc4f5228c2f77c4049bf&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Repeater/Time.php?rt=horde-hatchery&r1=5722241f7c69596de5c36c049bd0d17082bfe501&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Span.php?rt=horde-hatchery&r1=5722241f7c69596de5c36c049bd0d17082bfe501&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/co.php/framework/Date_Parser/test/Horde/Date/Parser/Locale/BaseTest.php?rt=horde-hatchery&r=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/test/Horde/Date/Parser/TokenTest.php?rt=horde-hatchery&r1=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/test/Horde/Date/Repeater/TimeTest.php?rt=horde-hatchery&r1=5722241f7c69596de5c36c049bd0d17082bfe501&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6
http://git.horde.org/diff.php/framework/Date_Parser/test/Horde/Date/SpanTest.php?rt=horde-hatchery&r1=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21&r2=14f409a447eaa33a0853d6aaf3550cc9e4f736c6

-----------------------------------------------------------------------
commit 25b9e0d407b9702cbd9bba3128fd4a74d05f8e21
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sat Feb 7 21:41:54 2009 -0500

    add tests for date math, date corrections, tokens, and spans

 .../Date_Parser/lib/Horde/Date/Parser/Token.php    |   12 ++--
 framework/Date_Parser/test/Horde/Date/DateTest.php |   47 ++++++++++++++++
 .../test/Horde/Date/Parser/TokenTest.php           |   42 ++++++++++++++
 framework/Date_Parser/test/Horde/Date/SpanTest.php |   30 ++++++++++
 4 files changed, 125 insertions(+), 6 deletions(-)
 create mode 100644 framework/Date_Parser/test/Horde/Date/DateTest.php
 create mode 100644 framework/Date_Parser/test/Horde/Date/Parser/TokenTest.php
 create mode 100644 framework/Date_Parser/test/Horde/Date/SpanTest.php

http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Token.php?rt=horde-hatchery&r1=2a3c20087499c558c1a794b581bd127342e81ee9&r2=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21
http://git.horde.org/co.php/framework/Date_Parser/test/Horde/Date/DateTest.php?rt=horde-hatchery&r=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21
http://git.horde.org/co.php/framework/Date_Parser/test/Horde/Date/Parser/TokenTest.php?rt=horde-hatchery&r=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21
http://git.horde.org/co.php/framework/Date_Parser/test/Horde/Date/SpanTest.php?rt=horde-hatchery&r=25b9e0d407b9702cbd9bba3128fd4a74d05f8e21

-----------------------------------------------------------------------
commit 05d39e25e361835723d4155b5985f135e504445d
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sat Feb 7 12:32:54 2009 -0500

    remove chronic files we're done with

 framework/Date_Parser/chronic/test/suite.rb        |    9 --
 .../chronic/test/test_RepeaterDayName.rb           |   52 -----------
 .../chronic/test/test_RepeaterFortnight.rb         |   63 -------------
 .../Date_Parser/chronic/test/test_RepeaterHour.rb  |   65 -------------
 .../Date_Parser/chronic/test/test_RepeaterMonth.rb |   47 ----------
 .../chronic/test/test_RepeaterMonthName.rb         |   57 ------------
 .../Date_Parser/chronic/test/test_RepeaterTime.rb  |   72 ---------------
 .../Date_Parser/chronic/test/test_RepeaterWeek.rb  |   63 -------------
 .../chronic/test/test_RepeaterWeekend.rb           |   75 ----------------
 .../Date_Parser/chronic/test/test_RepeaterYear.rb  |   63 -------------
 framework/Date_Parser/chronic/test/test_Time.rb    |   50 ----------
 11 files changed, 0 insertions(+), 616 deletions(-)
 delete mode 100644 framework/Date_Parser/chronic/test/suite.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterDayName.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterFortnight.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterHour.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterMonth.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterMonthName.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterTime.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterWeek.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterWeekend.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_RepeaterYear.rb
 delete mode 100644 framework/Date_Parser/chronic/test/test_Time.rb

http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/suite.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterDayName.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterFortnight.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterHour.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterMonth.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterMonthName.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterTime.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterWeek.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterWeekend.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_RepeaterYear.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d
http://git.horde.org/diff.php/framework/Date_Parser/chronic/test/test_Time.rb?rt=horde-hatchery&r1=87bb5605b73173745324a5c2ce2fd36e1c7a3ebb&r2=05d39e25e361835723d4155b5985f135e504445d




More information about the commits mailing list