]> source.dussan.org Git - jquery.git/log
jquery.git
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

12 years agoDo jQuery.trim in less bytes (-5).
timmywil [Thu, 21 Jun 2012 19:57:12 +0000 (15:57 -0400)]
Do jQuery.trim in less bytes (-5).

12 years agoAdd parseHTML for explicitly parsing strings into html. Fixes #11617.
timmywil [Thu, 21 Jun 2012 19:28:57 +0000 (15:28 -0400)]
Add parseHTML for explicitly parsing strings into html. Fixes #11617.

12 years agoUnit tests are linted and passing.
Rick Waldron [Thu, 21 Jun 2012 19:30:24 +0000 (15:30 -0400)]
Unit tests are linted and passing.

12 years agoClose GH-829: no ticket: smaller jQuery.ready.
Richard Gibson [Thu, 21 Jun 2012 17:40:59 +0000 (13:40 -0400)]
Close GH-829: no ticket: smaller jQuery.ready.

12 years agoRestore rhtmlString to its original form. 1.9 will come with starts-with html matchin...
timmywil [Wed, 20 Jun 2012 20:22:36 +0000 (16:22 -0400)]
Restore rhtmlString to its original form. 1.9 will come with starts-with html matching. For now, we are warning against broad use of jQuery() to parse html.

12 years agoRevert "Adjust jQuery('html') detection to only match when html starts with '<' ...
timmywil [Wed, 20 Jun 2012 20:19:06 +0000 (16:19 -0400)]
Revert "Adjust jQuery('html') detection to only match when html starts with '<' (counting space characters). Fixes #11290"

This reverts commit 239fc86b01d52fd9df6d1963027ed37b4f6251fc.

The consensus is that this would change behavior too abruptly. We will warn in 1.8 and do this in 1.9.

12 years agoActually omit files that are specified. Fixes #11943
Rick Waldron [Thu, 21 Jun 2012 00:39:22 +0000 (20:39 -0400)]
Actually omit files that are specified. Fixes #11943

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
12 years agoUpdate Sizzle: fixes test fails in selector module in IE9/Opera
timmywil [Wed, 20 Jun 2012 16:52:41 +0000 (12:52 -0400)]
Update Sizzle: fixes test fails in selector module in IE9/Opera

12 years agoUpdate Sizzle: minor fix for matchesSelector usage in FF<12
timmywil [Wed, 20 Jun 2012 15:55:32 +0000 (11:55 -0400)]
Update Sizzle: minor fix for matchesSelector usage in FF<12

12 years agoUpdate Sizzle: performance testing and changes for optimization. Adds back matchesSel...
timmywil [Wed, 20 Jun 2012 14:18:52 +0000 (10:18 -0400)]
Update Sizzle: performance testing and changes for optimization. Adds back matchesSelector.

12 years agoAdjust jQuery('html') detection to only match when html starts with '<' (counting...
timmywil [Wed, 20 Jun 2012 15:19:24 +0000 (11:19 -0400)]
Adjust jQuery('html') detection to only match when html starts with '<' (counting space characters). Fixes #11290

12 years agoAdds post-install grunt hook
Jacob Thornton [Tue, 19 Jun 2012 21:11:05 +0000 (17:11 -0400)]
Adds post-install grunt hook

12 years agoWhen detecting html in init, ignore html characters within quotes, brackets, and...
timmywil [Tue, 19 Jun 2012 15:35:45 +0000 (11:35 -0400)]
When detecting html in init, ignore html characters within quotes, brackets, and parens as well as escaped characters which are valid in selectors. Fixes #11290.

12 years agoUpdate Sizzle: fixes a bug dealing with backslashes in selectors. Fixes #10270.
timmywil [Tue, 19 Jun 2012 15:00:16 +0000 (11:00 -0400)]
Update Sizzle: fixes a bug dealing with backslashes in selectors. Fixes #10270.

12 years agoFixes test fails in traversing and event
timmywil [Tue, 19 Jun 2012 06:23:16 +0000 (02:23 -0400)]
Fixes test fails in traversing and event

12 years agoUpdate Sizzle: adds selector divisions for element-rooted QSA in the Dupont strategy...
timmywil [Tue, 19 Jun 2012 05:50:03 +0000 (01:50 -0400)]
Update Sizzle: adds selector divisions for element-rooted QSA in the Dupont strategy. Fixes #11814.

12 years agoUpdate Sizzle
timmywil [Tue, 19 Jun 2012 04:40:04 +0000 (00:40 -0400)]
Update Sizzle

12 years agoMove quickIs to Sizzle; Remove duplicate id matching in init; Added selector caching...
timmywil [Mon, 18 Jun 2012 22:43:50 +0000 (18:43 -0400)]
Move quickIs to Sizzle; Remove duplicate id matching in init; Added selector caching to Sizzle. Fixes #11826.

12 years agoDetect IE collapsing body margin directly rather than inferring it.
Dave Methvin [Mon, 18 Jun 2012 20:02:26 +0000 (16:02 -0400)]
Detect IE collapsing body margin directly rather than inferring it.