]> source.dussan.org Git - jquery.git/log
jquery.git
12 years agoFix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7.
Dave Methvin [Thu, 12 Jul 2012 18:54:43 +0000 (14:54 -0400)]
Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7.

At this point BlackBerry 4.7 (and related ancient browsers) should be scarce (released circa 2008) so #6932 will be closed wontfix for this edge case.

12 years agoImage location is relative to css file, not html file.
Dave Methvin [Thu, 12 Jul 2012 15:57:28 +0000 (11:57 -0400)]
Image location is relative to css file, not html file.

12 years agoUpdate to QUnit 1.9.0
Dave Methvin [Thu, 12 Jul 2012 15:37:25 +0000 (11:37 -0400)]
Update to QUnit 1.9.0

12 years agoFollowup on #10791: "[class~=foo]" is better. Closes gh-858.
Richard Gibson [Wed, 11 Jul 2012 21:33:53 +0000 (17:33 -0400)]
Followup on #10791: "[class~=foo]" is better. Closes gh-858.

12 years agoUpdate Sizzle to fix oldIE erroneous getAttribute invokification.
Dave Methvin [Thu, 12 Jul 2012 13:58:59 +0000 (09:58 -0400)]
Update Sizzle to fix oldIE erroneous getAttribute invokification.

12 years agoFix #11547. toLowerCase not work good on XML attributes.
Dave Methvin [Thu, 12 Jul 2012 02:46:34 +0000 (22:46 -0400)]
Fix #11547. toLowerCase not work good on XML attributes.

This was fixed to some extent in gh-724 but there were insufficient test cases. Removing the lowercase completely allows IE 6/7 to work properly since there you need an exact case match for attributes, even in HTML docs. More discussion and test cases in the comments on gh-724.

12 years agoUpdate Sizzle; Closes #12054, #12057.
Dave Methvin [Wed, 11 Jul 2012 21:00:21 +0000 (17:00 -0400)]
Update Sizzle; Closes #12054, #12057.

12 years agoWontfix #10791: please use "[class=foo]" with SVG elements
Richard Gibson [Wed, 11 Jul 2012 21:17:47 +0000 (17:17 -0400)]
Wontfix #10791: please use "[class=foo]" with SVG elements

12 years agogrunt custom saves minified version automattically. Close gh-856, Fixes #12059
Corey Frang [Wed, 11 Jul 2012 13:54:01 +0000 (09:54 -0400)]
grunt custom saves minified version automattically. Close gh-856, Fixes #12059

12 years agoFixes a variety of typographical problems. Closes gh-853
Chris Faulkner [Wed, 11 Jul 2012 13:46:21 +0000 (09:46 -0400)]
Fixes a variety of typographical problems. Closes gh-853

12 years agoREADME: Adds missing commands to setup instructions. Closes gh-854
Mathias Bynens [Wed, 11 Jul 2012 13:42:02 +0000 (09:42 -0400)]
README: Adds missing  commands to setup instructions. Closes gh-854

12 years agoREADME: Add to the full list of optional modules. Closes gh-855
Mathias Bynens [Wed, 11 Jul 2012 13:39:18 +0000 (09:39 -0400)]
README: Add  to the full list of optional modules. Closes gh-855

12 years agoRemove a few stray spaces in unit tests.
Dave Methvin [Wed, 11 Jul 2012 01:44:03 +0000 (21:44 -0400)]
Remove a few stray spaces in unit tests.

12 years agoUpdating the source version to 1.8pre
Dave Methvin [Tue, 10 Jul 2012 21:24:06 +0000 (17:24 -0400)]
Updating the source version to 1.8pre

12 years agoTagging the 1.8b2 release. 1.8b2
Dave Methvin [Tue, 10 Jul 2012 21:22:44 +0000 (17:22 -0400)]
Tagging the 1.8b2 release.

12 years agoYou can't hurry tests, no, you just have to wait.
Dave Methvin [Tue, 10 Jul 2012 16:48:53 +0000 (12:48 -0400)]
You can't hurry tests, no, you just have to wait.

The 100ms here is just too fast and flakey, it causes random fails in swarmy runs.

12 years agoAdjust jshint options to pass with closure 'sub' changes
Timmy Willison [Tue, 10 Jul 2012 16:12:01 +0000 (12:12 -0400)]
Adjust jshint options to pass with closure 'sub' changes

12 years agoSizzle: necessary changes for Advanced Closure compiler support
Timmy Willison [Tue, 10 Jul 2012 16:06:18 +0000 (12:06 -0400)]
Sizzle: necessary changes for Advanced Closure compiler support

12 years agoFix #10517. before() and after() on disconnected node should return multiple nodes...
Uri Gilad [Tue, 10 Jul 2012 14:14:43 +0000 (10:14 -0400)]
Fix #10517. before() and after() on disconnected node should return multiple nodes. Closes gh-851.

12 years agoSizzle: fix failing test in IE: malformed HTML
Timmy Willison [Tue, 10 Jul 2012 03:48:09 +0000 (23:48 -0400)]
Sizzle: fix failing test in IE: malformed HTML

12 years agoUpdate Sizzle: fixes an issue with an escape character in the id of a context
Timmy Willison [Tue, 10 Jul 2012 03:20:22 +0000 (23:20 -0400)]
Update Sizzle: fixes an issue with an escape character in the id of a context

12 years agoFix #11962. Standardize getter return values for empty sets.
Uri Gilad [Tue, 10 Jul 2012 03:06:51 +0000 (23:06 -0400)]
Fix #11962. Standardize getter return values for empty sets.

12 years agoFix #11971 unit test in browsers lacking backgroundPositionX.
Richard Gibson [Mon, 9 Jul 2012 06:56:42 +0000 (02:56 -0400)]
Fix #11971 unit test in browsers lacking backgroundPositionX.

Closes gh-850.

12 years agoUpdate Sizzle: compress/edge case pull from gibson and a fix :not/:has with spaces
Timmy Willison [Tue, 10 Jul 2012 02:07:47 +0000 (22:07 -0400)]
Update Sizzle: compress/edge case pull from gibson and a fix :not/:has with spaces

12 years agoFollow the style guide, lose 72 bytes! Closes gh-840.
Mike Sherov [Tue, 10 Jul 2012 01:38:11 +0000 (21:38 -0400)]
Follow the style guide, lose 72 bytes! Closes gh-840.

12 years agoUpdate Sizzle: fixes author of a previous commit
Timmy Willison [Mon, 9 Jul 2012 15:38:25 +0000 (11:38 -0400)]
Update Sizzle: fixes author of a previous commit

12 years agoFixes indentation in grunt.js
Rick Waldron [Mon, 9 Jul 2012 15:23:55 +0000 (11:23 -0400)]
Fixes indentation in grunt.js

12 years agoUpdate grunt:selector task to handle new Sizzle EXPOSE block
Rick Waldron [Mon, 9 Jul 2012 15:21:35 +0000 (11:21 -0400)]
Update grunt:selector task to handle new Sizzle EXPOSE block

12 years agoUpdate Sizzle: added EXPOSE comment
Timmy Willison [Mon, 9 Jul 2012 15:13:00 +0000 (11:13 -0400)]
Update Sizzle: added EXPOSE comment

12 years agoSizzle added standalone AMD support
Timmy Willison [Mon, 9 Jul 2012 15:05:25 +0000 (11:05 -0400)]
Sizzle added standalone AMD support

12 years agoFix #11249. Inline styles anger Content Security Policy.
David Benjamin [Sat, 7 Jul 2012 21:24:16 +0000 (17:24 -0400)]
Fix #11249. Inline styles anger Content Security Policy.

12 years agoSizzle: adds a test for a previously problematic selector
Timmy Willison [Sat, 7 Jul 2012 17:10:10 +0000 (13:10 -0400)]
Sizzle: adds a test for a previously problematic selector

12 years agoUpdate Sizzle: adds createPseudo method on Sizzle.selectors for easily creating pseud...
Timmy Willison [Sat, 7 Jul 2012 16:44:05 +0000 (12:44 -0400)]
Update Sizzle: adds createPseudo method on Sizzle.selectors for easily creating pseudos with the new compiler

12 years agoUpdate Sizzle: fixes UI tests
Timmy Willison [Fri, 6 Jul 2012 23:14:34 +0000 (19:14 -0400)]
Update Sizzle: fixes UI tests

12 years agoSizzle: minor change
Timmy Willison [Fri, 6 Jul 2012 15:16:38 +0000 (11:16 -0400)]
Sizzle: minor change

12 years agoUpdate Sizzle: improved dir caching
Timmy Willison [Fri, 6 Jul 2012 15:09:27 +0000 (11:09 -0400)]
Update Sizzle: improved dir caching

12 years agoFix #12018, readyState "interactive" in oldIE lies! Closes gh-848.
Mike Sherov [Fri, 6 Jul 2012 14:12:20 +0000 (10:12 -0400)]
Fix #12018, readyState "interactive" in oldIE lies! Closes gh-848.

12 years agoFix #8482, offsetParent should not return null. Closes gh-847.
Nowres Rafid [Fri, 6 Jul 2012 13:58:34 +0000 (09:58 -0400)]
Fix #8482, offsetParent should not return null. Closes gh-847.

12 years agoOptimization of array operations, closes gh-844.
Oleg [Thu, 28 Jun 2012 00:55:36 +0000 (04:55 +0400)]
Optimization of array operations, closes gh-844.

12 years agoDRY out removeData/cleanData, closes gh-838.
Richard Gibson [Fri, 6 Jul 2012 13:22:44 +0000 (09:22 -0400)]
DRY out removeData/cleanData, closes gh-838.

12 years agoStop using reserved words as argument names, closes gh-841.
Mike Sherov [Fri, 6 Jul 2012 13:09:40 +0000 (09:09 -0400)]
Stop using reserved words as argument names, closes gh-841.

12 years agoFix #11971: force numeric animation start to be numeric, closes gh-836.
Richard Gibson [Tue, 26 Jun 2012 17:48:31 +0000 (13:48 -0400)]
Fix #11971: force numeric animation start to be numeric, closes gh-836.

12 years agoRemove more attrFn vestiges from events.
Dave Methvin [Thu, 5 Jul 2012 21:46:08 +0000 (17:46 -0400)]
Remove more attrFn vestiges from events.

12 years agoFix #12026. Let props in $(html, props) be any jQuery.fn method.
Dave Methvin [Thu, 5 Jul 2012 21:21:58 +0000 (17:21 -0400)]
Fix #12026. Let props in $(html, props) be any jQuery.fn method.

Closes gh-839.

12 years agoSizzle: removes qunit and adds .gitignore
timmywil [Thu, 5 Jul 2012 20:41:53 +0000 (16:41 -0400)]
Sizzle: removes qunit and adds .gitignore

12 years agoUpdate Sizzle: adjusted POS handling; attribute names should be case-insensitive...
timmywil [Thu, 5 Jul 2012 20:38:07 +0000 (16:38 -0400)]
Update Sizzle: adjusted POS handling; attribute names should be case-insensitive; dir cache performance tweak

12 years agoMake unit tests friendly to Closure Compiler. Closes gh-845.
Chad Killingsworth [Thu, 5 Jul 2012 19:52:13 +0000 (15:52 -0400)]
Make unit tests friendly to Closure Compiler. Closes gh-845.

    Conflicts:
     test/unit/effects.js
     test/unit/offset.js

12 years agoUpdate Sizzle: pseudo-classes should be case-insensitive
timmywil [Thu, 5 Jul 2012 18:52:05 +0000 (14:52 -0400)]
Update Sizzle: pseudo-classes should be case-insensitive

12 years agoSizzle docs and README updates
timmywil [Wed, 4 Jul 2012 20:55:31 +0000 (16:55 -0400)]
Sizzle docs and README updates

12 years agoUpdate Sizzle: better compression
Richard Gibson [Wed, 4 Jul 2012 16:40:18 +0000 (12:40 -0400)]
Update Sizzle: better compression

12 years agoUpdate copyright to jQuery Foundation.
Dave Methvin [Wed, 4 Jul 2012 03:09:44 +0000 (23:09 -0400)]
Update copyright to jQuery Foundation.

12 years agoEver notice that static and problematic rhyme?
Dave Methvin [Wed, 4 Jul 2012 02:54:59 +0000 (22:54 -0400)]
Ever notice that static and problematic rhyme?

12 years agoAvoid running problematic static offset tests in IE8 on the swarm.
Dave Methvin [Wed, 4 Jul 2012 02:17:37 +0000 (22:17 -0400)]
Avoid running problematic static offset tests in IE8 on the swarm.

12 years agoUpdate Sizzle: small regex fix
timmywil [Tue, 3 Jul 2012 22:07:00 +0000 (18:07 -0400)]
Update Sizzle: small regex fix

12 years agoUpdate Sizzle: removes makeArray and uses native push/slice where available
timmywil [Tue, 3 Jul 2012 20:04:10 +0000 (16:04 -0400)]
Update Sizzle: removes makeArray and uses native push/slice where available

12 years agoSizzle: maxCacheLength -> cacheLength
timmywil [Tue, 3 Jul 2012 19:06:36 +0000 (15:06 -0400)]
Sizzle: maxCacheLength -> cacheLength

12 years agoSizzle: detects a buggy getElementsByName. Fixes #10799.
timmywil [Tue, 3 Jul 2012 18:09:01 +0000 (14:09 -0400)]
Sizzle: detects a buggy getElementsByName. Fixes #10799.

12 years agoUpdate Sizzle: Caching system respects DOM changes between uses of the same selector
timmywil [Tue, 3 Jul 2012 17:54:42 +0000 (13:54 -0400)]
Update Sizzle: Caching system respects DOM changes between uses of the same selector

12 years agoUpdate Sizzle: exposed compile function for external use. maxCacheLength can be adjusted.
timmywil [Tue, 3 Jul 2012 15:22:47 +0000 (11:22 -0400)]
Update Sizzle: exposed compile function for external use. maxCacheLength can be adjusted.

12 years agoUpdate Sizzle: fixes a small bug in class matching
timmywil [Tue, 3 Jul 2012 14:31:28 +0000 (10:31 -0400)]
Update Sizzle: fixes a small bug in class matching

12 years agoUpdate Sizzle: adds caching to combinators
timmywil [Tue, 3 Jul 2012 04:16:14 +0000 (00:16 -0400)]
Update Sizzle: adds caching to combinators

12 years agoSizzle: space combinator update
timmywil [Tue, 3 Jul 2012 03:01:16 +0000 (23:01 -0400)]
Sizzle: space combinator update

12 years agoUpdate sizzle: fixes fail in traversing with :has selector
timmywil [Tue, 3 Jul 2012 02:49:23 +0000 (22:49 -0400)]
Update sizzle: fixes fail in traversing with :has selector

12 years agoSizzle: fix multiple nested pseudos. Fixes #7010.
timmywil [Tue, 3 Jul 2012 02:19:33 +0000 (22:19 -0400)]
Sizzle: fix multiple nested pseudos. Fixes #7010.

12 years agoUse value rather than nodeValue in attributes (it's the string version). Update sizzl...
timmywil [Tue, 3 Jul 2012 01:35:00 +0000 (21:35 -0400)]
Use value rather than nodeValue in attributes (it's the string version). Update sizzle: default attribute handling.

12 years agoSizzle: add cross-browser w3c whitespace rules; pseudo generation adjustment
timmywil [Mon, 2 Jul 2012 21:42:41 +0000 (17:42 -0400)]
Sizzle: add cross-browser w3c whitespace rules; pseudo generation adjustment

12 years agoSizzle: minor adjustments and a small fix in the child selector regex
timmywil [Mon, 2 Jul 2012 19:24:33 +0000 (15:24 -0400)]
Sizzle: minor adjustments and a small fix in the child selector regex

12 years agoUPDATE SIZZLE: completed rewrite for better things!
timmywil [Mon, 2 Jul 2012 15:30:22 +0000 (11:30 -0400)]
UPDATE SIZZLE: completed rewrite for better things!

Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.

12 years agoAdd back ID shortcut. It's about 3 times faster than going through jQuery.fn.find...
timmywil [Sun, 1 Jul 2012 20:35:50 +0000 (15:35 -0500)]
Add back ID shortcut. It's about 3 times faster than going through jQuery.fn.find and merging.

12 years agoUse ~ to hold grunt at 0.3.9
Rick Waldron [Sat, 30 Jun 2012 19:53:15 +0000 (12:53 -0700)]
Use ~ to hold grunt at 0.3.9

12 years agoFix typo in grunt lint:tests
Rick Waldron [Sat, 30 Jun 2012 18:53:47 +0000 (11:53 -0700)]
Fix typo in grunt lint:tests

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
12 years agoMove jQuery.sub to deprecated.js, because it is.
Dave Methvin [Fri, 29 Jun 2012 16:37:33 +0000 (09:37 -0700)]
Move jQuery.sub to deprecated.js, because it is.

12 years agostop using reserved words as argument names 841/head
Mike Sherov [Fri, 29 Jun 2012 01:39:58 +0000 (21:39 -0400)]
stop using reserved words as argument names

12 years agoUpdate Sizzle: Size optimizations from gibson
timmywil [Thu, 28 Jun 2012 18:15:27 +0000 (11:15 -0700)]
Update Sizzle: Size optimizations from gibson

12 years agoUpdate Sizzle: typo
timmywil [Wed, 27 Jun 2012 17:26:11 +0000 (13:26 -0400)]
Update Sizzle: typo

12 years agoFix #11382. #11764. Only prevent click events on disabled elements.
Dave Methvin [Wed, 27 Jun 2012 01:38:30 +0000 (21:38 -0400)]
Fix #11382. #11764. Only prevent click events on disabled elements.

We don't want a disabled link/button to register delegated clicks, but we do want events like mouseover or custom events.

This is a compromise, there is no perfect solution. Well, the browsers could be consistent about direct vs. delegated events but *that's* not gonna happen.

12 years agoFix #11315. Selector for .on() is relative to delegateTarget.
Dave Methvin [Wed, 27 Jun 2012 00:36:00 +0000 (20:36 -0400)]
Fix #11315. Selector for .on() is relative to delegateTarget.

This fixes a regresssion from 1.6.4. Be aware that nearly every place that this bug comes into play, the selector in use is incredibly inefficient.

12 years agoUpdate Sizzle: reduced size. Add Sizzle's utilities.js to unit tests
timmywil [Wed, 27 Jun 2012 04:31:19 +0000 (00:31 -0400)]
Update Sizzle: reduced size. Add Sizzle's utilities.js to unit tests

12 years agoAs it turns out, we won't need the 'main' entry in package.json
Rick Waldron [Tue, 26 Jun 2012 21:56:56 +0000 (17:56 -0400)]
As it turns out, we won't need the 'main' entry in package.json

12 years agoFix #11969. Never a null moment when checking siblings.
Dave Methvin [Tue, 26 Jun 2012 21:08:49 +0000 (17:08 -0400)]
Fix #11969. Never a null moment when checking siblings.

12 years agoUpdate copyright years for jQuery and Sizzle
timmywil [Tue, 26 Jun 2012 20:55:40 +0000 (16:55 -0400)]
Update copyright years for jQuery and Sizzle

12 years agoAllow document to be passed to Sizzle.contains. Fixes #11539.
timmywil [Tue, 26 Jun 2012 20:39:46 +0000 (16:39 -0400)]
Allow document to be passed to Sizzle.contains. Fixes #11539.

12 years agoClear elements to avoid leaking memory. Close gh-837. Fixes #11809
Richard Gibson [Tue, 26 Jun 2012 18:49:56 +0000 (14:49 -0400)]
Clear elements to avoid leaking memory. Close gh-837. Fixes #11809

12 years agoFixes broken grunt watch task. Part 2
Rick Waldron [Tue, 26 Jun 2012 18:46:46 +0000 (14:46 -0400)]
Fixes broken grunt watch task. Part 2

12 years agoFixes broken grunt watch task.
Rick Waldron [Tue, 26 Jun 2012 18:45:21 +0000 (14:45 -0400)]
Fixes broken grunt watch task.

12 years agoFix #10895. Reduce IE poll interval to save CPU time.
Dave Methvin [Tue, 26 Jun 2012 13:16:29 +0000 (09:16 -0400)]
Fix #10895. Reduce IE poll interval to save CPU time.

12 years agoUpdate Sizzle: Removes directory caching in dirCheck. Fixes #11966.
timmywil [Mon, 25 Jun 2012 16:44:57 +0000 (12:44 -0400)]
Update Sizzle: Removes directory caching in dirCheck. Fixes #11966.

12 years agoAdds .jshintrc files for: grunt (default set), src, tests; Adapts jQuery-UI loading...
Rick Waldron [Mon, 25 Jun 2012 14:49:21 +0000 (10:49 -0400)]
Adds .jshintrc files for: grunt (default set), src, tests; Adapts jQuery-UI loading method

12 years agoCompletes #11799: Maybe .progress() was cooler than I thought.
Corey Frang [Sat, 23 Jun 2012 21:50:57 +0000 (16:50 -0500)]
Completes #11799: Maybe .progress() was cooler than I thought.

Generate a .progress() for each step of an animation, once all properties are changed. Closes gh-835.

12 years agoAdds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves jQuery.brows...
Rick Waldron [Mon, 25 Jun 2012 14:02:28 +0000 (10:02 -0400)]
Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965

12 years agoAdd grunt with lint to Sizzle
timmywil [Sun, 24 Jun 2012 19:33:04 +0000 (15:33 -0400)]
Add grunt with lint to Sizzle

12 years agoMake @VERSION replace regex global. Fixes #11960
Rick Waldron [Sat, 23 Jun 2012 23:43:12 +0000 (19:43 -0400)]
Make @VERSION replace regex global. Fixes #11960

12 years agoMake removeClass smart enough to remove duplicates. Fixes #11923
Rick Waldron [Sat, 23 Jun 2012 23:38:27 +0000 (19:38 -0400)]
Make removeClass smart enough to remove duplicates. Fixes #11923

12 years agoAdd a semicolon in unit test; this pull predated lint mandate.
Dave Methvin [Fri, 22 Jun 2012 20:21:09 +0000 (16:21 -0400)]
Add a semicolon in unit test; this pull predated lint mandate.

12 years agoFix #11797. Use Deferred for better animation callbacks. Closes gh-830.
Corey Frang [Fri, 22 Jun 2012 20:03:39 +0000 (16:03 -0400)]
Fix #11797. Use Deferred for better animation callbacks. Closes gh-830.

In particular, an animation stopped with `gotoEnd` will be rejected.

12 years agoFix #11925, Pass eventHandle to special.teardown. Closes gh-831.
Timo Tijhof [Mon, 18 Jun 2012 02:42:24 +0000 (04:42 +0200)]
Fix #11925, Pass eventHandle to special.teardown. Closes gh-831.

* Added unit test to confirm.
  The third assertion fails without the fix in ./src/event.js

12 years agoUpdating the source version to 1.8pre.
Dave Methvin [Fri, 22 Jun 2012 17:30:16 +0000 (13:30 -0400)]
Updating the source version to 1.8pre.

12 years agoTagging the 1.8b1 release. 1.8b1
Dave Methvin [Fri, 22 Jun 2012 17:28:03 +0000 (13:28 -0400)]
Tagging the 1.8b1 release.

12 years agoFix #11757. IE 6/7 can't clean up circular DOM-JS refs.
Dave Methvin [Fri, 22 Jun 2012 13:46:07 +0000 (09:46 -0400)]
Fix #11757. IE 6/7 can't clean up circular DOM-JS refs.

Why? Because it's dumb. Verified with the case in the ticket.

12 years agoRemoves scripts:postinstall from package.json, see: 286c4d91dde12ba32f4a56273d05374b1...
Rick Waldron [Thu, 21 Jun 2012 20:03:11 +0000 (16:03 -0400)]
Removes scripts:postinstall from package.json, see: 286c4d91dde12ba32f4a56273d05374b1cbb79e7