Browse files

Release 1.10.0

  • Loading branch information...
1 parent 2be709e commit ec9c676972ed8e993b35ce2648356bab7fcc5344 @jzaefferer committed Sep 7, 2012
Showing with 62 additions and 105 deletions.
  1. +1 −1 additional-methods.js
  2. +0 −97 build.xml
  3. +59 −4 changelog.txt
  4. +1 −1 jquery.validate.js
  5. +1 −1 package.json
  6. +0 −1 version.txt
View
2 additional-methods.js
@@ -1,5 +1,5 @@
/*!
- * jQuery Validation Plugin @VERSION
+ * jQuery Validation Plugin 1.10.0
*
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
* http://docs.jquery.com/Plugins/Validation
View
97 build.xml
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<project name="jquery-validation" default="release" basedir=".">
-
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath>
- <pathelement location="build/ant-contrib-0.6.jar"/>
- </classpath>
- </taskdef>
-
- <property file="ant.properties" />
-
- <loadfile failonerror="no" srcFile="version.txt" property="release.version">
- <filterchain><striplinebreaks/></filterchain>
- </loadfile>
- <property name="release.filename" value="jquery-validation-${release.version}" />
-
- <property name="dist.dir" value="dist/${release.filename}/" />
-
- <property description="Google Closure" name="closure-jar" value="build/google-compiler-20110320.jar" />
-
- <target name="release" depends="clean, copy, minify, replace-version, prepend-header, zip" description="Release builder">
- </target>
-
- <target name="replace-version">
- <replaceregexp match="@VERSION" replace="${release.version}" flags="g" byline="true">
- <fileset dir="${dist.dir}/" includes="*.js"/>
- </replaceregexp>
- <echo message="Replaced all @VERSION to ${release.version}." />
- </target>
-
- <target name="prepend-header">
- <copy todir="${dist.dir}/headers/">
- <fileset dir="${dist.dir}/" includes="*.js" excludes="*.min.js" />
- </copy>
- <replaceregexp match="^(\/\*.*?\*\/\s).+" replace="\1" flags="s">
- <fileset dir="${dist.dir}/headers/" includes="*.js"/>
- </replaceregexp>
- <for param="file">
- <path><fileset dir="${dist.dir}/" includes="*.min.js" /></path>
- <sequential>
- <propertyregex override="yes" property="target" input="@{file}" regexp=".*[\\/](.+)\.min\.js$" replace="\1"/>
- <concat destfile="${dist.dir}/headered/${target}.min.js">
- <header file="${dist.dir}/headers/${target}.js" />
- <fileset file="@{file}" />
- </concat>
- </sequential>
- </for>
- <copy todir="${dist.dir}" overwrite="true">
- <fileset dir="${dist.dir}/headered/" includes="*.js" />
- </copy>
-
- <delete dir="${dist.dir}/headers/" />
- <delete dir="${dist.dir}/headered/" />
- </target>
-
- <target description="Zip the package" name="zip">
- <zip destfile="${dist.dir}/../${release.filename}.zip">
- <zipfileset dir="dist/" />
- </zip>
- </target>
-
- <target name="minify">
- <echo message="Building minified" />
- <apply executable="java" parallel="false">
- <fileset dir="${dist.dir}" includes="*.js" />
- <arg line="-jar" />
- <arg path="${closure-jar}" />
- <arg value="--warning_level" />
- <arg value="QUIET" />
- <arg value="--js_output_file" />
- <targetfile />
- <arg value="--js" />
- <mapper type="glob" from="*.js" to="${dist.dir}/*.min.js" />
- </apply>
- </target>
-
- <target description="Copy needed folders" name="copy">
- <echo message="Copying files" />
- <mkdir dir="${dist.dir}" />
- <copy overwrite="true" todir="${dist.dir}/">
- <fileset dir="." excludes="**/.*, .*/, dist/, build/, build.xml" />
- </copy>
- </target>
-
- <target name="clean">
- <delete dir="dist" />
- </target>
-
- <target name="whitespace">
- <replaceregexp match="[\t ]+$" replace="" flags="g" byline="true">
- <fileset dir="${src.dir}" includes="*.js"/>
- <fileset dir="${src.dir}/i18n/" includes="*.js"/>
- </replaceregexp>
- <echo message="All trailing spaces removed." />
- </target>
-
-</project>
View
63 changelog.txt
@@ -1,7 +1,62 @@
-2.0.0
------
-* Fixed #219 - Fix valid() on elements with dependency-callback or dependency-expression.
-* Add Language Name for each file, rename the language code according to the standard ISO 639 for Estonian, Georgian, Ukrainian and Chinese (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
+1.10.0 / 2012-09-07
+===================
+
+ * Corrected French strings for nowhitespace, phoneUS, phoneUK and mobileUK based upon community feedback.
+ * rename files for language_REGION according to the standard ISO_3166-1 (http://en.wikipedia.org/wiki/ISO_3166-1), for Taiwan tha language is Chinese (zh) and the region is Taiwan (TW)
+ * Optimise RegEx patterns, especially for UK phone numbers.
+ * Add Language Name for each file, rename the language code according to the standard ISO 639 for Estonian, Georgian, Ukrainian and Chinese (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
+ * Added croatian (HR) localization
+ * Existing French translations were edited and French translations for the additional methods were added.
+ * Merged in changes for specifying custom error messages in data attributes
+ * Updated UK Mobile phone number regex for new numbers. Fixes #154
+ * Add element to success call with test. Fixes #60
+ * Fixed regex for time additional method. Fixes #131
+ * resetForm now clears old previousValue on form elements. Fixes #312
+ * Added checkbox test to require_from_group and changed require_from_group to use elementValue. Fixes #359
+ * Fixed dataFilter response issues in jQuery 1.5.2+. Fixes #405
+ * Added jQuery Mobile demo. Fixes #249
+ * Deoptimize findByName for correctness. Fixes #82 - $.validator.prototype.findByName breaks in IE7
+ * Added US zip code support and test. Fixes #90
+ * Changed lastElement to lastActive in keyup, skip validation on tab or empty element. Fixes #244
+ * Removed number stripping from stripHtml. Fixes #2
+ * Fixed invalid count on invalid to valid remote validation. Fixes #286
+ * Add link to file_input to demo index
+ * Moved old accept method to extension additional-method, added new accept method to handle standard browser mimetype filtering. Fixes #287 and supersedes #369
+ * Disables blur event when onfocusout is set to false. Test added.
+ * Fixed value issue for radio buttons and checkboxes. Fixes #363
+ * Added test for rangeWords and fixed regex and bounds in method. Fixes #308
+ * Fixed TinyMCE Demo and added link on demo page. Fixes #382
+ * Changed localization message for min/max. Fixes #273
+ * Added pseudo selector for text input types to fix issue with default empty type attribute. Added tests and some test markup. Fixes #217
+ * Fixed delegate bug for dynamic-totals demo. Fixes #51
+ * Fix incorrect message for alphanumeric validator
+ * Removed incorrect false check on required attribute
+ * required attribute fix for non-html5 browsers. Fixes #301
+ * Added methods "require_from_group" and "skip_or_fill_minimum"
+ * Use correct iso code for swedish
+ * Updated demo HTML files to use HTML5 doctype
+ * Fixed regex issue for decimals without leading zeroes. Added new methods test. Fixes #41
+ * Introduce a elementValue method that normalizes only string values (don't touch array value of multi-select). Fixes #116
+ * Support for dynamically added submit buttons, and updated test case. Uses validateDelegate. Code from PR #9
+ * Fix bad double quote in test fixtures
+ * Fix maxWords method to include the upper bound, not exclude it. Fixes #284
+ * Fixed grammar error in german range validator message. Fixes #315
+ * Fixed handling of multiple class names for errorClass option. Test by Max Lynch. Fixes #280
+ * Fix jQuery.format usage, should be $.validator.format. Fixes #329
+ * Methods for 'all' UK phone numbers + UK postcodes
+ * Pattern method: Convert string param to RegExp. Fixes issue #223
+ * grammar error in german localization file
+ * Added Estonian localization for messages
+ * Improve tooltip handling on themerollered demo
+ * Add type="text" to input fields without type attribute to please qSA
+ * Update themerollered demo to use tooltip to show errors as overlay.
+ * Update themerollered demo to use latest jQuery UI (along with newer jQuery version). Move code around to speed up page load.
+ * Fixed min error message broken in Japanese.
+ * Update form plugin to latest version. Enhance the ajaxSubmit demo.
+ * Drop dateDE and numberDE methods from classRuleSettings, leftover from moving those to localized methods
+ * Passing submit event to submitHandler callback
+ * Fixed #219 - Fix valid() on elements with dependency-callback or dependency-expression.
+ * Improve build to remove dist dir to ensure only the current release gets zipped up
1.9.0
---
View
2 jquery.validate.js
@@ -1,5 +1,5 @@
/**
- * jQuery Validation Plugin @VERSION
+ * jQuery Validation Plugin 1.10.0
*
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
* http://docs.jquery.com/Plugins/Validation
View
2 package.json
@@ -2,7 +2,7 @@
"name": "jquery-validation",
"title": "jQuery Validation Plugin",
"description": "Form validation made easy",
- "version": "1.10.0pre",
+ "version": "1.10.0",
"homepage": "https://github.com/jzaefferer/jquery-validation",
"author": {
"name": "Jörn Zaefferer",
View
1 version.txt
@@ -1 +0,0 @@
-2.0.0pre

0 comments on commit ec9c676

Please sign in to comment.