[commits] Horde branch master updated. 433562025d079dae136cf108672ea1e57638d274

Michael M Slusarz slusarz at horde.org
Wed Jan 22 04:33:59 UTC 2014


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

from: 1e0bb4193e061ef5775de1b4a76c08dd719d63c7

20c0ee3 Move javascript minification code to a new package
37b169d Move native PHP JS minifier to new package for use with new JavascriptMinify package
4647ff8 phpdoc spelling
26b1e07 [mms] Use Horde_JavascriptMinify package to compress javascript.
672d367 Revert "This is the default, so don't add to commandline"
cde6241 Revert "[mms] Support UglifyJS for compressing javascript."
6a71c58 [mms] Javascript minification has been deprecated and moved to the Horde_JavascriptMinify package.
f1209f6 [mms] Javascript minification has been deprecated and moved to the Horde_JavascriptMinify package.
10aa6f7 [mms] Prevent avalanche effect from occurring when re-creating cached JS files.
4335620 Fix regression

Summary: http://github.com/horde/horde/compare/1e0bb4193e061ef5775de1b4a76c08dd719d63c7...433562025d079dae136cf108672ea1e57638d274

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

commit 20c0ee3dd0bb880039c3425cec54d27f3bac9f3d
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 12:36:32 2014 -0700

    Move javascript minification code to a new package
    
    At a macro level, javascript minification didn't really make much sense
    in Horde_Text_Filter to begin with.  It is not a text filter.  It was
    put in there since at the time there was a single driver with no
    options.  Now we have 4 different drivers, and some of these drivers
    have advanced config options.
    
    At a more micro level, this also allows us to do a couple of new, cool
    things:
    
    * For the backends that support (Closure, UglifyJS), we can now create
      sourcemaps automatically without any additional user action.
    * Allows us to support user-created drivers directly from configuration
      without the need to edit any library code.
    * Allows us to pass the entire list of JS files to parse to the driver,
      allowing each driver the opportunity to optimize parsing of these
      files (this is necessary for supporting sourcemaps).
    * An added bonus -- although I don't have a specifc use case at this
      time -- is this allows for full user control over the javascript files
      that are served on any given page.  This could be accomplished by
      writing a local driver that extends any of the current drivers - now
      that a list of javascript files is provided, this driver could
      theoretically excise/add to that list.

 framework/JavascriptMinify/doc/Horde/JavascriptMinify/COPYING     |  458 +++++
 framework/JavascriptMinify/lib/Horde/JavascriptMinify.php         |  133 ++
 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Closure.php |   88 +
 .../JavascriptMinify/lib/Horde/JavascriptMinify/Exception.php     |   30 +
 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Null.php    |   48 +
 .../JavascriptMinify/lib/Horde/JavascriptMinify/Uglifyjs.php      |   81 +
 .../JavascriptMinify/lib/Horde/JavascriptMinify/Util/Cmdline.php  |   67 +
 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Yui.php     |   70 +
 framework/JavascriptMinify/package.xml                            |  112 +
 9 files changed, 1087 insertions(+), 0 deletions(-)
 create mode 100644 framework/JavascriptMinify/doc/Horde/JavascriptMinify/COPYING
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify.php
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Closure.php
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Exception.php
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Null.php
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Uglifyjs.php
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Util/Cmdline.php
 create mode 100644 framework/JavascriptMinify/lib/Horde/JavascriptMinify/Yui.php
 create mode 100644 framework/JavascriptMinify/package.xml

http://github.com/horde/horde/commit/20c0ee3dd0bb880039c3425cec54d27f3bac9f3d
http://git.horde.org/horde-git/-/commit/20c0ee3dd0bb880039c3425cec54d27f3bac9f3d

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

commit 37b169d7d3000d3b10f9313954254669f6b85523
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:19:05 2014 -0700

    Move native PHP JS minifier to new package for use with new JavascriptMinify package

 .../doc/Horde/JavascriptMinify/Jsmin/LICENSE                      |   21 +
 .../JavascriptMinify_Jsmin/lib/Horde/JavascriptMinify/Jsmin.php   |   32 +
 .../lib/Horde/JavascriptMinify/Jsmin/Minifier.php                 |  304 +++++
 framework/JavascriptMinify_Jsmin/package.xml                      |  106 ++
 .../test/Horde/JavascriptMinify/Jsmin/AllTests.php                |    3 +
 .../test/Horde/JavascriptMinify/Jsmin/JsminTest.php               |   89 ++
 .../test/Horde/JavascriptMinify/Jsmin/bootstrap.php               |    3 +
 .../test/Horde/JavascriptMinify/Jsmin/phpunit.xml                 |    8 +
 8 files changed, 566 insertions(+), 0 deletions(-)
 create mode 100644 framework/JavascriptMinify_Jsmin/doc/Horde/JavascriptMinify/Jsmin/LICENSE
 create mode 100644 framework/JavascriptMinify_Jsmin/lib/Horde/JavascriptMinify/Jsmin.php
 create mode 100644 framework/JavascriptMinify_Jsmin/lib/Horde/JavascriptMinify/Jsmin/Minifier.php
 create mode 100644 framework/JavascriptMinify_Jsmin/package.xml
 create mode 100644 framework/JavascriptMinify_Jsmin/test/Horde/JavascriptMinify/Jsmin/AllTests.php
 create mode 100644 framework/JavascriptMinify_Jsmin/test/Horde/JavascriptMinify/Jsmin/JsminTest.php
 create mode 100644 framework/JavascriptMinify_Jsmin/test/Horde/JavascriptMinify/Jsmin/bootstrap.php
 create mode 100644 framework/JavascriptMinify_Jsmin/test/Horde/JavascriptMinify/Jsmin/phpunit.xml

http://github.com/horde/horde/commit/37b169d7d3000d3b10f9313954254669f6b85523
http://git.horde.org/horde-git/-/commit/37b169d7d3000d3b10f9313954254669f6b85523

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

commit 4647ff87b0a4481c55dd9efb442ff264760a7a44
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:23:45 2014 -0700

    phpdoc spelling

 framework/Core/lib/Horde/Core/Ajax/Response/HordeCore.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/4647ff87b0a4481c55dd9efb442ff264760a7a44
http://git.horde.org/horde-git/-/commit/4647ff87b0a4481c55dd9efb442ff264760a7a44

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

commit 26b1e071690a71d6f00bcd4c7a679b122c98d4db
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:24:41 2014 -0700

    [mms] Use Horde_JavascriptMinify package to compress javascript.

 framework/Core/lib/Horde/PageOutput.php |   64 +++++++++++++++++++++---------
 framework/Core/package.xml              |   16 ++++++++
 horde/config/conf.xml                   |    4 ++
 3 files changed, 65 insertions(+), 19 deletions(-)

http://github.com/horde/horde/commit/26b1e071690a71d6f00bcd4c7a679b122c98d4db
http://git.horde.org/horde-git/-/commit/26b1e071690a71d6f00bcd4c7a679b122c98d4db

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

commit 672d367f3084d1f89de835bec476e22803d08904
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:25:05 2014 -0700

    Revert "This is the default, so don't add to commandline"
    
    This reverts commit f5953449b0e92dd6273a3067bd6b7e7653417dc6.

 framework/Text_Filter/lib/Horde/Text/Filter/JavascriptMinify.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/672d367f3084d1f89de835bec476e22803d08904
http://git.horde.org/horde-git/-/commit/672d367f3084d1f89de835bec476e22803d08904

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

commit cde62416a76ce6886942a0ecf28b5a3a064ce00d
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:25:26 2014 -0700

    Revert "[mms] Support UglifyJS for compressing javascript."
    
    This reverts commit 7513dbe6e55eaee5c880bbadcd07ab65c461ab80.

 framework/Text_Filter/lib/Horde/Text/Filter/JavascriptMinify.php |   48 +-----
 framework/Text_Filter/package.xml                                |   10 +-
 2 files changed, 7 insertions(+), 51 deletions(-)

http://github.com/horde/horde/commit/cde62416a76ce6886942a0ecf28b5a3a064ce00d
http://git.horde.org/horde-git/-/commit/cde62416a76ce6886942a0ecf28b5a3a064ce00d

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

commit 6a71c58feae5e0765f030c83a48017f82de4d212
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:28:32 2014 -0700

    [mms] Javascript minification has been deprecated and moved to the Horde_JavascriptMinify package.

 framework/Text_Filter/lib/Horde/Text/Filter/JavascriptMinify.php |    9 +++--
 framework/Text_Filter/package.xml                                |    4 +-
 2 files changed, 7 insertions(+), 6 deletions(-)

http://github.com/horde/horde/commit/6a71c58feae5e0765f030c83a48017f82de4d212
http://git.horde.org/horde-git/-/commit/6a71c58feae5e0765f030c83a48017f82de4d212

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

commit f1209f6402f70a15b3728e3e22a8128a3bacf254
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 13:29:51 2014 -0700

    [mms] Javascript minification has been deprecated and moved to the Horde_JavascriptMinify package.

 framework/Text_Filter_Jsmin/lib/Horde/Text/Filter/Jsmin.php |   19 ++++++-----
 framework/Text_Filter_Jsmin/package.xml                     |    4 +-
 2 files changed, 12 insertions(+), 11 deletions(-)

http://github.com/horde/horde/commit/f1209f6402f70a15b3728e3e22a8128a3bacf254
http://git.horde.org/horde-git/-/commit/f1209f6402f70a15b3728e3e22a8128a3bacf254

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

commit 10aa6f7d400ce6ae77c4d870f939afd8cc956986
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 21:05:58 2014 -0700

    [mms] Prevent avalanche effect from occurring when re-creating cached JS files.

 framework/Core/lib/Horde/PageOutput.php |   32 ++++++++++++++++++++++++++++++-
 framework/Core/package.xml              |    2 +
 2 files changed, 33 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/10aa6f7d400ce6ae77c4d870f939afd8cc956986
http://git.horde.org/horde-git/-/commit/10aa6f7d400ce6ae77c4d870f939afd8cc956986

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

commit 433562025d079dae136cf108672ea1e57638d274
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Jan 21 21:30:54 2014 -0700

    Fix regression

 imp/lib/Compose.php |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/433562025d079dae136cf108672ea1e57638d274
http://git.horde.org/horde-git/-/commit/433562025d079dae136cf108672ea1e57638d274




More information about the commits mailing list