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

12 years agoUpdate Sizzle
timmywil [Mon, 18 Jun 2012 18:33:29 +0000 (14:33 -0400)]
Update Sizzle

12 years agoFixes typo in comment
Rick Waldron [Mon, 18 Jun 2012 18:17:10 +0000 (14:17 -0400)]
Fixes typo in comment

12 years agoBrowser sniffing is *bad*, folks, even in unit tests.
Dave Methvin [Mon, 18 Jun 2012 17:52:05 +0000 (13:52 -0400)]
Browser sniffing is *bad*, folks, even in unit tests.

12 years agoFix comment block indents
Rick Waldron [Mon, 18 Jun 2012 17:28:47 +0000 (13:28 -0400)]
Fix comment block indents

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
12 years agoUpdate document.defaultView.getComputedStyle. Fixes #10373
Rick Waldron [Mon, 18 Jun 2012 17:26:46 +0000 (13:26 -0400)]
Update document.defaultView.getComputedStyle. Fixes #10373

12 years agoGrunt: Include commit in header if passed as ENV arg, mostly for Jenkins
Jörn Zaefferer [Mon, 18 Jun 2012 17:25:24 +0000 (19:25 +0200)]
Grunt: Include commit in header if passed as ENV arg, mostly for Jenkins

12 years agoUpdate Sizzle: rewrite attributes handling to be simpler and more widespread when...
timmywil [Sun, 17 Jun 2012 19:42:35 +0000 (15:42 -0400)]
Update Sizzle: rewrite attributes handling to be simpler and more widespread when independent from jQuery. No changes to jQuery's attribute handling.

12 years agoEnsure that IE stays in Big Boy mode.
Dave Methvin [Sat, 16 Jun 2012 14:57:41 +0000 (10:57 -0400)]
Ensure that IE stays in Big Boy mode.

Although we use a lot of iframes in the test, the IE document mode is set by the parent document so we just need a single X-UA-Compatible in the main file.

http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx

12 years agoFix #11231, (append|prepend|before|after) w/ array of jQuery objects.
Sindre Sorhus [Sat, 16 Jun 2012 02:17:05 +0000 (22:17 -0400)]
Fix #11231, (append|prepend|before|after) w/ array of jQuery objects.

Closes gh-666, thanks to @rkatic!

12 years agoFix #11566, allow appending to DocumentFragment, closes gh-814.
Vladimir Zhuravlev [Sat, 16 Jun 2012 01:37:01 +0000 (21:37 -0400)]
Fix #11566, allow appending to DocumentFragment, closes gh-814.

12 years agoFix #9505, percentage position values in Webkit, closes gh-825.
Mike Sherov [Sat, 16 Jun 2012 01:20:41 +0000 (21:20 -0400)]
Fix #9505, percentage position values in Webkit, closes gh-825.

12 years agoInterim take on cross-module variables, closes gh-817.
Richard Gibson [Sat, 16 Jun 2012 01:01:44 +0000 (21:01 -0400)]
Interim take on cross-module variables, closes gh-817.

12 years agoFix #11905, correct package.json license URLs, closes gh-826.
Daniel Herman [Sat, 16 Jun 2012 00:44:07 +0000 (20:44 -0400)]
Fix #11905, correct package.json license URLs, closes gh-826.

12 years agoUpdate Sizzle: Removes an unnecessary link in the test suite
timmywil [Fri, 15 Jun 2012 20:10:37 +0000 (16:10 -0400)]
Update Sizzle: Removes an unnecessary link in the test suite

12 years agoUpdate Sizzle. Fixes #11109.
timmywil [Fri, 15 Jun 2012 18:24:22 +0000 (14:24 -0400)]
Update Sizzle. Fixes #11109.

12 years agoUpdate version in package.json to reflect current version and make -git builds slighl...
Jörn Zaefferer [Fri, 15 Jun 2012 13:56:04 +0000 (15:56 +0200)]
Update version in package.json to reflect current version and make -git builds slighlty more useful

12 years agoUse QUnit's URL configs to simplify custom configuration. Closes gh-827
Scott González [Fri, 15 Jun 2012 13:22:58 +0000 (08:22 -0500)]
Use QUnit's URL configs to simplify custom configuration. Closes gh-827

12 years agoAdd necessary test html from Sizzle tests; Add an easy way to turn off QSA in tests
timmywil [Fri, 15 Jun 2012 06:09:38 +0000 (02:09 -0400)]
Add necessary test html from Sizzle tests; Add an easy way to turn off QSA in tests

12 years agoGrunt: Update testswarm task to use new module filter, reduces duplication when runni...
Jörn Zaefferer [Wed, 13 Jun 2012 22:33:10 +0000 (00:33 +0200)]
Grunt: Update testswarm task to use new module filter, reduces duplication when running, should speed things up

12 years agoUpdate QUnit to v1.8.0
Jörn Zaefferer [Wed, 13 Jun 2012 22:31:28 +0000 (00:31 +0200)]
Update QUnit to v1.8.0

12 years agoFix args translation example in gruntfile comments
Rick Waldron [Tue, 12 Jun 2012 16:53:58 +0000 (12:53 -0400)]
Fix args translation example in gruntfile comments

12 years agoSimplify the terminal command args syntax for custom builds. Update README
Rick Waldron [Tue, 12 Jun 2012 16:52:30 +0000 (12:52 -0400)]
Simplify the terminal command args syntax for custom builds. Update README

12 years agoFix typo in README
kborchers [Tue, 12 Jun 2012 15:01:44 +0000 (11:01 -0400)]
Fix typo in README

12 years agoAdds ajax to the list of optional modules.
Julian Aubourg [Tue, 12 Jun 2012 11:13:18 +0000 (14:13 +0300)]
Adds ajax to the list of optional modules.