Permalink
Commits on Dec 8, 2010
  1. * Make getRawValue() public

    sad-spirit committed Dec 8, 2010
     * Fix Container::getRawValue() to actually return unfiltered values of child elements
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@306084 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 21, 2010
  1. Per discussion: instead of using applyFilters() everywhere in getValu…

    sad-spirit committed Nov 21, 2010
    …e() rename getValue() -> getRawValue() and apply filters in single getValue() implementation in Node
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@305624 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Step 2: moved most of filter-related stuff to Node, got rid of getFil…

    sad-spirit committed Nov 21, 2010
    …ters() / getFilterChain(). It is now possible to apply a filter non-recursively to an element's array value (e.g. multiselect)
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@305603 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 20, 2010
  1. Step 1: added all filter-related methods to Node, made getFilters() /…

    sad-spirit committed Nov 20, 2010
    … getFilterChain() protected. Added addRecursiveFilter(), currently an alias for addFilter()
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@305583 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 12, 2010
Commits on Nov 5, 2010
  1. Add test file to package.xml

    sad-spirit committed Nov 5, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@305102 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 2, 2010
  1. Make filters work in cascade

    golgote committed Nov 2, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@305027 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 25, 2010
  1. Undo "Q"A release

    sad-spirit committed Oct 25, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304872 c90b9560-bf6c-de11-be94-00142212c4b1
  2. QA release

    CloCkWeRX committed Oct 25, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304859 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 19, 2010
  1. Fix broken tests

    sad-spirit committed Oct 19, 2010
    Get rid of gettype() in JavascriptBuilder::encode(), quoting from manual:
    > Never use gettype() to test for a certain type, since the returned string may be subject to change in a future version. In addition, it is slow too, as it involves string comparison. 
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304515 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 7, 2010
  1. Start release notes for 0.5

    sad-spirit committed Oct 7, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304185 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Fixed unexpected behaviour in Array DataSource (see http://news.php.n…

    sad-spirit committed Oct 7, 2010
    …et/php.pear.general/30752)
    
    Changed client-side validation to validate submit values (e.g. ignore disabled elements and elements that don't have a submit value)
    Checks for empty values in client-side validation now use qf.rules.empty()
    Redone getJavascriptValue() to be able to ignore values of static-like elements and properly get values for child elements like dualselect, updated that example.
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304176 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 2, 2010
  1. Fixed Hierselect behaviour under IE

    sad-spirit committed Oct 2, 2010
    Rule callbacks now execute in the context of validator (may be needed for "form rules")
    Added Date and Hierselect to basic-elements example
    Added delay to hierselect-ajax example to make difference between sync and async more obvious
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303934 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Possibility to load Hierselect options via Javascript callback, examp…

    sad-spirit committed Oct 2, 2010
    …le for AJAX-backed Hierselect (requires HTML_AJAX package to run)
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303930 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 1, 2010
Commits on Sep 30, 2010
  1. Do not generate client-side validation for frozen elements, moved gen…

    sad-spirit committed Sep 30, 2010
    …eration to a separate method
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303903 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 29, 2010
  1. JSDoc comments in main JS library file, saner naming (this unfortunat…

    sad-spirit committed Sep 29, 2010
    …ely means validator -> Validator and map -> Map), rules should better handle null and undefined values.
    
    TODO: handle disabled elements, better implementation of getContainerValue()
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303879 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 24, 2010
  1. * Fixed Date element to not output all selects with the same id attr…

    sad-spirit committed Sep 24, 2010
    …ibute
    
      * Container::getJavascriptValue() should not attempt to get Static elements' values
      * Fixed Hierselect: __toString() shouldn't try to output validation rules, form reset works properly for hierselects with more than 2 selects
      * Implemented server-side callback for getting Hierselect options, client-side to follow...
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303756 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 23, 2010
  1. Client-side validation rules work for groups, added a special case fo…

    sad-spirit committed Sep 23, 2010
    …r a group of checkboxes in qf.rules.nonempty
    
    Redone dualselect example to use JavascriptBuilder, added client-side validation for that
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303737 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 22, 2010
  1. Port of HTML_QuickForm_hierselect:

    sad-spirit committed Sep 22, 2010
      * not (yet) possible to plug in callbacks,
      * fixed bug #16603.
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303690 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 17, 2010
  1. Made generated Javascript validation code a bit less verbose.

    sad-spirit committed Sep 17, 2010
    HTML_QuickForm2_Rule_Empty can now validate elements with array values (e.g. <select multiple>).
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303452 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 16, 2010
  1. Somewhat complete implementation of JavascriptBuilder, with unit tests

    sad-spirit committed Sep 16, 2010
    Array renderer outputs form javascript, too
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303432 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 13, 2010
  1. * Generate client-side Container rules after rules on contained elem…

    sad-spirit committed Sep 13, 2010
    …ents (similar to request #17576)
    
      * Implemented client-side validation for (Not)Callback rules
      * Added Date element to package.xml
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303328 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 12, 2010
  1. * Implemented client-side validation for HTML_QuickForm2_Rule_Each

    sad-spirit committed Sep 12, 2010
     * Added a method for encoding PHP values to Javascript literals to JavascriptBuilder class
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303299 c90b9560-bf6c-de11-be94-00142212c4b1
  2. * Removed contentReady JS handler, we now just append validation cod…

    sad-spirit committed Sep 12, 2010
    …e to the form.
    
       Reference: https://groups.google.com/group/closure-library-discuss/browse_thread/thread/1beecbb5d6afcb41
     * renamed RUNAT_SERVER and RUNAT_CLIENT constants to just SERVER and CLIENT
     * Added Static element to Factory
     * Fixed Call-time pass-by-reference warning (bug #17557)
     * Added a div around form elements to prevent generating invalid HTML (bug #17217)
     * Container rules are now called after rules on contained elements (request #17576)
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303288 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 25, 2010
Commits on Jun 24, 2010
  1. Fix doc on recursive filters

    golgote committed Jun 24, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@300724 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Add filters

    golgote committed Jun 24, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@300722 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 24, 2010
  1. * Renamed (get|set)JsBuilder() to (get|set)JavascriptBuilder()

    sad-spirit committed May 24, 2010
      * Implemented Container::getJavascriptValue(), Nonempty Rule can validate Containers client-side
      * Added an additional parameter to addRule() that enables client-side validation, instead of always enabling that 
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@299706 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Fix typo spotted by Bertrand

    sad-spirit committed May 24, 2010
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@299682 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 19, 2010
Commits on May 13, 2010
  1. Possibility to autogenerate IDs without mandatory indexes, per discus…

    sad-spirit committed May 13, 2010
    …sion in pear-general
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@299330 c90b9560-bf6c-de11-be94-00142212c4b1