This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch feature/WW-5256-compress in repository https://gitbox.apache.org/repos/asf/struts.git
discard 328e4d2db WW-5256 Improves html rendering by using compress directive discard b4204bd34 WW-5256 Improves html rendering in xhtml theme by using compress directive discard 4038b8e25 WW-5256 Improves html rendering in simple theme by using compress directive add 45aad1f74 WW-5256 Implements dedicated tag to compress output This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (328e4d2db) \ N -- N -- N refs/heads/feature/WW-5256-compress (45aad1f74) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../org/apache/struts2/components/Compress.java | 76 ++++++++++++ .../views/jsp/{ElseTag.java => CompressTag.java} | 29 +++-- .../main/resources/template/css_xhtml/checkbox.ftl | 4 +- .../resources/template/css_xhtml/controlfooter.ftl | 4 +- .../template/css_xhtml/controlheader-core.ftl | 4 +- .../resources/template/css_xhtml/controlheader.ftl | 4 +- .../resources/template/css_xhtml/form-validate.ftl | 4 +- .../src/main/resources/template/css_xhtml/head.ftl | 4 +- .../main/resources/template/css_xhtml/label.ftl | 4 +- .../main/resources/template/css_xhtml/reset.ftl | 4 +- .../resources/template/css_xhtml/submit-close.ftl | 4 +- .../main/resources/template/css_xhtml/submit.ftl | 4 +- .../src/main/resources/template/simple/a-close.ftl | 4 +- .../main/resources/template/simple/actionerror.ftl | 4 +- .../resources/template/simple/actionmessage.ftl | 4 +- .../main/resources/template/simple/checkbox.ftl | 4 +- .../resources/template/simple/checkboxlist.ftl | 4 +- .../main/resources/template/simple/combobox.ftl | 4 +- core/src/main/resources/template/simple/css.ftl | 4 +- .../resources/template/simple/doubleselect.ftl | 4 +- .../main/resources/template/simple/fielderror.ftl | 4 +- core/src/main/resources/template/simple/file.ftl | 4 +- .../template/simple/form-close-tooltips.ftl | 4 +- .../main/resources/template/simple/form-close.ftl | 4 +- .../main/resources/template/simple/form-common.ftl | 4 +- core/src/main/resources/template/simple/form.ftl | 4 +- core/src/main/resources/template/simple/hidden.ftl | 4 +- .../template/simple/inputtransferselect.ftl | 4 +- core/src/main/resources/template/simple/label.ftl | 4 +- core/src/main/resources/template/simple/link.ftl | 4 +- .../main/resources/template/simple/optgroup.ftl | 4 +- .../template/simple/optiontransferselect.ftl | 4 +- .../main/resources/template/simple/password.ftl | 4 +- .../main/resources/template/simple/radiomap.ftl | 4 +- core/src/main/resources/template/simple/reset.ftl | 4 +- core/src/main/resources/template/simple/script.ftl | 4 +- .../resources/template/simple/scripting-events.ftl | 4 +- core/src/main/resources/template/simple/select.ftl | 4 +- core/src/main/resources/template/simple/submit.ftl | 4 +- core/src/main/resources/template/simple/text.ftl | 4 +- .../main/resources/template/simple/textarea.ftl | 4 +- .../resources/template/simple/updownselect.ftl | 4 +- .../src/main/resources/template/xhtml/checkbox.ftl | 4 +- .../main/resources/template/xhtml/checkboxlist.ftl | 4 +- core/src/main/resources/template/xhtml/control.ftl | 4 +- .../resources/template/xhtml/controlfooter.ftl | 4 +- .../template/xhtml/controlheader-core.ftl | 4 +- .../resources/template/xhtml/controlheader.ftl | 16 ++- .../resources/template/xhtml/datetextfield.ftl | 4 +- .../main/resources/template/xhtml/doubleselect.ftl | 4 +- core/src/main/resources/template/xhtml/file.ftl | 4 +- .../template/xhtml/form-close-validate.ftl | 4 +- .../main/resources/template/xhtml/form-close.ftl | 4 +- .../resources/template/xhtml/form-validate.ftl | 2 - core/src/main/resources/template/xhtml/form.ftl | 4 +- core/src/main/resources/template/xhtml/hidden.ftl | 4 +- .../template/xhtml/inputtransferselect.ftl | 4 +- core/src/main/resources/template/xhtml/label.ftl | 4 +- .../template/xhtml/optiontransferselect.ftl | 4 +- .../src/main/resources/template/xhtml/password.ftl | 4 +- .../src/main/resources/template/xhtml/radiomap.ftl | 4 +- core/src/main/resources/template/xhtml/reset.ftl | 4 +- core/src/main/resources/template/xhtml/select.ftl | 4 +- .../main/resources/template/xhtml/submit-close.ftl | 4 +- core/src/main/resources/template/xhtml/submit.ftl | 4 +- core/src/main/resources/template/xhtml/text.ftl | 4 +- .../src/main/resources/template/xhtml/textarea.ftl | 4 +- core/src/main/resources/template/xhtml/tooltip.ftl | 4 +- .../main/resources/template/xhtml/updownselect.ftl | 4 +- ...ge-attributes.html => compress-attributes.html} | 16 +-- .../site/resources/tags/compress-description.html | 1 + .../apache/struts2/components/CompressTest.java | 127 +++++++++++++++++++++ 72 files changed, 302 insertions(+), 225 deletions(-) create mode 100644 core/src/main/java/org/apache/struts2/components/Compress.java copy core/src/main/java/org/apache/struts2/views/jsp/{ElseTag.java => CompressTag.java} (68%) copy core/src/site/resources/tags/{merge-attributes.html => compress-attributes.html} (87%) create mode 100644 core/src/site/resources/tags/compress-description.html create mode 100644 core/src/test/java/org/apache/struts2/components/CompressTest.java