Commit graph

3509 commits

Author SHA1 Message Date
jaubourg
b3d176d2cf Simplifies how removal when firing is handled. Removes exception handling (lets the list deadlock). Makes sure no external code can fire the list from a given index (only possible internally). 2011-05-08 16:11:00 +02:00
jaubourg
13734b729f Fixes for bugs found thanks to unit tests. 2011-05-07 03:39:41 +02:00
jaubourg
593fee1841 First bunch of unit tests for jQuery.Callbacks. 2011-05-07 03:38:54 +02:00
jaubourg
e79fdebcee Added stopOnFalse method description in comments and reformatted then in the process. 2011-05-07 00:23:00 +02:00
jaubourg
114846d38d Replaces jQuery._Deferred with the much more flexible (and public) jQuery.Callbacks. Hopefully, jQuery.Callbacks can be used as a base for all callback lists needs in jQuery. Also adds progress callbacks to Deferreds (handled in jQuery.when too). Needs more unit tests. 2011-05-06 18:35:34 +02:00
timmywil
f7f8450041 tmp was global in the new fn.promise. Fixes #9147. 2011-05-06 12:10:16 -04:00
timmywil
a257e07ae4 Reduce boolean attribute list to only content attributes
- Removed IDL-only boolean attributes as well as officially deprecated attributes that we've not supported before
2011-05-06 10:53:05 -04:00
timmywil
f30cd4155e Update boolean attribute list to contain all boolean attributes listed in w3c 2011-05-05 14:37:59 -04:00
timmywil
cccf9ad91d Add support for the contenteditable attribute 2011-05-05 12:52:04 -04:00
timmywil
5097e6d1c6 Construct boolHook and rboolean regex to deal with boolean attributes. Fixes #9129. Fixes #9123.
- Construct regex for all attributes which are boolean attributes by specification.

  + This allows us to do what users expect with enumerated attributes and allows us to no longer complicate the issue.

  + People are just too confused with passing "true" instead of true when they should, so we won't have to worry about that anymore.

- Modularize code for dealing with boolean attributes into a separate hook to keep attr short and fast.
2011-05-05 12:17:08 -04:00
timmywil
5195335cf4 Set the property corresponding to a boolean attribute when setting to true. Fixes #9103.
- Once boolean properties had been modified natively, setting the attribute no longer set the current value
2011-05-04 15:53:00 -04:00
timmywil
3ed4b22073 Run property names through propFix in removeProp 2011-05-04 11:40:46 -04:00
timmywil
480b88ca37 Set corresponding property to false when removing boolean attributes. Fixes #9094 2011-05-04 11:29:38 -04:00
timmywil
97144424cc Update boolean check to avoid crashes, add all name fixes to propFix (properties are case-sensitive in all browsers), add tests for prop 2011-05-04 00:31:01 -04:00
John Resig
a9d9f8c542 If no hook is provided, and a boolean property exists, use that to return an attribute-style value for boolean attributes. Fixes #9079. 2011-05-03 21:44:42 -04:00
John Resig
bfad45fe45 Fix problem with appending multiple string arguments in IE 6. Fixes #9072. 2011-05-03 15:02:26 -04:00
John Resig
3cdffce19f Updating release note script. 2011-05-03 15:01:29 -04:00
timmywil
4ac2fdda2c Fix setting value attributes on option elements. Fixes #9071. 2011-05-03 14:48:36 -04:00
timmywil
6d2fd57f45 Fix QUnit Header links 2011-05-02 18:14:12 -04:00
timmywil
ea24cd106b Avoid changing html in two places; add minified jQuery as an option to the main test page 2011-05-02 17:53:55 -04:00
timmywil
3dbd7b54de Add a test page for running the test suite against a fully built and compressed jQuery. Fixes #7650. 2011-05-02 16:56:39 -04:00
John Resig
89fd9dffad Less aggressive semicolon insertion for the minified file. 2011-05-02 16:36:16 -04:00
John Resig
f8a112f08e Ensure that an endline is in place at the end of the minified jQuery file. 2011-05-02 16:32:02 -04:00
John Resig
f4b5d3fc51 Update the UglifyJS code. 2011-05-02 16:25:36 -04:00
John Resig
c0d993903b Fix bug with handling minor releases after major releases in the build script. 2011-05-02 16:25:20 -04:00
John Resig
53f275034a Updating the source version to 1.6.1pre 2011-05-02 13:50:33 -04:00
John Resig
eae7c4111c Tagging the 1.6 release. 2011-05-02 13:50:00 -04:00
John Resig
ca338dc749 Check for #8984 wasn't strong enough, enhanced. 2011-05-02 13:31:23 -04:00
John Resig
6c449fd5df Make sure that empty nodelists continue to map properly. Fixes #8993. 2011-05-02 13:25:53 -04:00
John Resig
86aa764f0b Change check for skipping the initial quickExpr RegExp check. Fixes #8984. 2011-05-02 13:14:13 -04:00
timmywil
f1392d8208 Set background to none on our mock body and remove its contents to avoid a crash in IE when removing it. Fixes #9028. 2011-05-02 11:57:01 -04:00
timmywil
24a8ffb3ea Test for a colon in attribute names for IE6/7. Fixes #1591. 2011-05-01 17:09:50 -04:00
Dave Methvin
e2bace8fa1 Merged pull request #361 from rwldrn/9008a.
Restored /g flag to rspaces; Adds unit tests; Supplements #9008
2011-04-29 07:36:31 -07:00
Rick Waldron
bf678fd9d6 Restores var names to satisfy the crock-machine. Supplements #9008 2011-04-28 22:26:34 -04:00
Rick Waldron
ca367674c1 Restored /g flag to rspaces; Adds unit tests; Supplements #9008 2011-04-28 21:15:45 -04:00
Dave Methvin
e5f4ec846c Merged pull request #360 from xavierm02/patch-3.
Javascript -> JavaScript
2011-04-28 16:18:05 -07:00
MONTILLET Xavier
ebf2faca1e Javascript -> JavaScript except if it was intentional to avoid letting newbies think it's Java. 2011-04-28 14:56:52 -07:00
timmywil
b8a9c2ba34 Syntax in testrunner 2011-04-28 16:31:51 -04:00
rwldrn
57f56be04f Make cached rspaces regex definitions consistent. Fixes #9008 2011-04-28 16:06:13 -04:00
rwldrn
632cd6c4ba Landing pull request 357. Update unit tests for widows & orphans. Supplements #8971 Fixes #8971.
More Details:
 - https://github.com/jquery/jquery/pull/357
 - http://bugs.jquery.com/ticket/8971
2011-04-28 15:56:02 -04:00
Rick Waldron
ebac797ac2 Landing pull request 354. Adds QUnit Aliases to testrunner.js. Fixes #8991.
More Details:
 - https://github.com/jquery/jquery/pull/354
 - http://bugs.jquery.com/ticket/8991
2011-04-28 15:28:01 -04:00
timmywil
c0450f3c2a Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite in IE8 2011-04-27 16:33:12 -04:00
John Resig
b5772da087 Add a simple script for generating the release notes of a pre-release. 2011-04-27 00:56:08 -04:00
John Resig
a8988e3cd1 Adding a Node-based release management script for pushing new releases to the CDN. 2011-04-26 16:23:09 -04:00
John Resig
fd11df1ec4 Updating the source version to 1.6pre 2011-04-26 16:22:07 -04:00
John Resig
455edf197a Tagging the 1.6rc1 release. 2011-04-26 16:21:45 -04:00
Julian Aubourg
742e15c638 Merged pull request #348 from rwldrn/8978.
jQuery.support core style guide correction. Fixes #8978
2011-04-26 07:08:14 -07:00
Rick Waldron
08f52d69bd jQuery.support core style guide correction. Fixes #8978 2011-04-26 09:45:27 -04:00
timmywil
fb65ba418a Merged pull request #345 from rwldrn/8971.
No need to test for widows & orphans values in IE6-8. Fixes #8971
2011-04-25 12:53:43 -07:00
rwldrn
86d5d3e809 No need to test for widows & orphans values in IE6-8. Fixes #8971 2011-04-25 13:13:57 -04:00