]>
source.dussan.org Git - jquery.git/log
timmywil [Thu, 5 Jul 2012 20:41:53 +0000 (16:41 -0400)]
Sizzle: removes qunit and adds .gitignore
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
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
timmywil [Thu, 5 Jul 2012 18:52:05 +0000 (14:52 -0400)]
Update Sizzle: pseudo-classes should be case-insensitive
timmywil [Wed, 4 Jul 2012 20:55:31 +0000 (16:55 -0400)]
Sizzle docs and README updates
Richard Gibson [Wed, 4 Jul 2012 16:40:18 +0000 (12:40 -0400)]
Update Sizzle: better compression
Dave Methvin [Wed, 4 Jul 2012 03:09:44 +0000 (23:09 -0400)]
Update copyright to jQuery Foundation.
Dave Methvin [Wed, 4 Jul 2012 02:54:59 +0000 (22:54 -0400)]
Ever notice that static and problematic rhyme?
Dave Methvin [Wed, 4 Jul 2012 02:17:37 +0000 (22:17 -0400)]
Avoid running problematic static offset tests in IE8 on the swarm.
timmywil [Tue, 3 Jul 2012 22:07:00 +0000 (18:07 -0400)]
Update Sizzle: small regex fix
timmywil [Tue, 3 Jul 2012 20:04:10 +0000 (16:04 -0400)]
Update Sizzle: removes makeArray and uses native push/slice where available
timmywil [Tue, 3 Jul 2012 19:06:36 +0000 (15:06 -0400)]
Sizzle: maxCacheLength -> cacheLength
timmywil [Tue, 3 Jul 2012 18:09:01 +0000 (14:09 -0400)]
Sizzle: detects a buggy getElementsByName. Fixes #10799.
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
timmywil [Tue, 3 Jul 2012 15:22:47 +0000 (11:22 -0400)]
Update Sizzle: exposed compile function for external use. maxCacheLength can be adjusted.
timmywil [Tue, 3 Jul 2012 14:31:28 +0000 (10:31 -0400)]
Update Sizzle: fixes a small bug in class matching
timmywil [Tue, 3 Jul 2012 04:16:14 +0000 (00:16 -0400)]
Update Sizzle: adds caching to combinators
timmywil [Tue, 3 Jul 2012 03:01:16 +0000 (23:01 -0400)]
Sizzle: space combinator update
timmywil [Tue, 3 Jul 2012 02:49:23 +0000 (22:49 -0400)]
Update sizzle: fixes fail in traversing with :has selector
timmywil [Tue, 3 Jul 2012 02:19:33 +0000 (22:19 -0400)]
Sizzle: fix multiple nested pseudos. Fixes #7010.
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.
timmywil [Mon, 2 Jul 2012 21:42:41 +0000 (17:42 -0400)]
Sizzle: add cross-browser w3c whitespace rules; pseudo generation adjustment
timmywil [Mon, 2 Jul 2012 19:24:33 +0000 (15:24 -0400)]
Sizzle: minor adjustments and a small fix in the child selector regex
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.
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.
Rick Waldron [Sat, 30 Jun 2012 19:53:15 +0000 (12:53 -0700)]
Use ~ to hold grunt at 0.3.9
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>
Dave Methvin [Fri, 29 Jun 2012 16:37:33 +0000 (09:37 -0700)]
Move jQuery.sub to deprecated.js, because it is.
timmywil [Thu, 28 Jun 2012 18:15:27 +0000 (11:15 -0700)]
Update Sizzle: Size optimizations from gibson
timmywil [Wed, 27 Jun 2012 17:26:11 +0000 (13:26 -0400)]
Update Sizzle: typo
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.
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.
timmywil [Wed, 27 Jun 2012 04:31:19 +0000 (00:31 -0400)]
Update Sizzle: reduced size. Add Sizzle's utilities.js to unit tests
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
Dave Methvin [Tue, 26 Jun 2012 21:08:49 +0000 (17:08 -0400)]
Fix #11969. Never a null moment when checking siblings.
timmywil [Tue, 26 Jun 2012 20:55:40 +0000 (16:55 -0400)]
Update copyright years for jQuery and Sizzle
timmywil [Tue, 26 Jun 2012 20:39:46 +0000 (16:39 -0400)]
Allow document to be passed to Sizzle.contains. Fixes #11539.
Richard Gibson [Tue, 26 Jun 2012 18:49:56 +0000 (14:49 -0400)]
Clear elements to avoid leaking memory. Close gh-837. Fixes #11809
Rick Waldron [Tue, 26 Jun 2012 18:46:46 +0000 (14:46 -0400)]
Fixes broken grunt watch task. Part 2
Rick Waldron [Tue, 26 Jun 2012 18:45:21 +0000 (14:45 -0400)]
Fixes broken grunt watch task.
Dave Methvin [Tue, 26 Jun 2012 13:16:29 +0000 (09:16 -0400)]
Fix #10895. Reduce IE poll interval to save CPU time.
timmywil [Mon, 25 Jun 2012 16:44:57 +0000 (12:44 -0400)]
Update Sizzle: Removes directory caching in dirCheck. Fixes #11966.
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
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.
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
timmywil [Sun, 24 Jun 2012 19:33:04 +0000 (15:33 -0400)]
Add grunt with lint to Sizzle
Rick Waldron [Sat, 23 Jun 2012 23:43:12 +0000 (19:43 -0400)]
Make @VERSION replace regex global. Fixes #11960
Rick Waldron [Sat, 23 Jun 2012 23:38:27 +0000 (19:38 -0400)]
Make removeClass smart enough to remove duplicates. Fixes #11923
Dave Methvin [Fri, 22 Jun 2012 20:21:09 +0000 (16:21 -0400)]
Add a semicolon in unit test; this pull predated lint mandate.
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.
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
Dave Methvin [Fri, 22 Jun 2012 17:30:16 +0000 (13:30 -0400)]
Updating the source version to 1.8pre.
Dave Methvin [Fri, 22 Jun 2012 17:28:03 +0000 (13:28 -0400)]
Tagging the 1.8b1 release.
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.
Rick Waldron [Thu, 21 Jun 2012 20:03:11 +0000 (16:03 -0400)]
Removes scripts:postinstall from package.json, see:
286c4d91dde12ba32f4a56273d05374b1cbb79e7
timmywil [Thu, 21 Jun 2012 19:57:12 +0000 (15:57 -0400)]
Do jQuery.trim in less bytes (-5).
timmywil [Thu, 21 Jun 2012 19:28:57 +0000 (15:28 -0400)]
Add parseHTML for explicitly parsing strings into html. Fixes #11617.
Rick Waldron [Thu, 21 Jun 2012 19:30:24 +0000 (15:30 -0400)]
Unit tests are linted and passing.
Richard Gibson [Thu, 21 Jun 2012 17:40:59 +0000 (13:40 -0400)]
Close GH-829: no ticket: smaller jQuery.ready.
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.
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.
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>
timmywil [Wed, 20 Jun 2012 16:52:41 +0000 (12:52 -0400)]
Update Sizzle: fixes test fails in selector module in IE9/Opera
timmywil [Wed, 20 Jun 2012 15:55:32 +0000 (11:55 -0400)]
Update Sizzle: minor fix for matchesSelector usage in FF<12
timmywil [Wed, 20 Jun 2012 14:18:52 +0000 (10:18 -0400)]
Update Sizzle: performance testing and changes for optimization. Adds back matchesSelector.
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
Jacob Thornton [Tue, 19 Jun 2012 21:11:05 +0000 (17:11 -0400)]
Adds post-install grunt hook
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.
timmywil [Tue, 19 Jun 2012 15:00:16 +0000 (11:00 -0400)]
Update Sizzle: fixes a bug dealing with backslashes in selectors. Fixes #10270.
timmywil [Tue, 19 Jun 2012 06:23:16 +0000 (02:23 -0400)]
Fixes test fails in traversing and event
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.
timmywil [Tue, 19 Jun 2012 04:40:04 +0000 (00:40 -0400)]
Update Sizzle
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.
Dave Methvin [Mon, 18 Jun 2012 20:02:26 +0000 (16:02 -0400)]
Detect IE collapsing body margin directly rather than inferring it.
timmywil [Mon, 18 Jun 2012 18:33:29 +0000 (14:33 -0400)]
Update Sizzle
Rick Waldron [Mon, 18 Jun 2012 18:17:10 +0000 (14:17 -0400)]
Fixes typo in comment
Dave Methvin [Mon, 18 Jun 2012 17:52:05 +0000 (13:52 -0400)]
Browser sniffing is *bad*, folks, even in unit tests.
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>
Rick Waldron [Mon, 18 Jun 2012 17:26:46 +0000 (13:26 -0400)]
Update document.defaultView.getComputedStyle. Fixes #10373
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
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.
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
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!
Vladimir Zhuravlev [Sat, 16 Jun 2012 01:37:01 +0000 (21:37 -0400)]
Fix #11566, allow appending to DocumentFragment, closes gh-814.
Mike Sherov [Sat, 16 Jun 2012 01:20:41 +0000 (21:20 -0400)]
Fix #9505, percentage position values in Webkit, closes gh-825.
Richard Gibson [Sat, 16 Jun 2012 01:01:44 +0000 (21:01 -0400)]
Interim take on cross-module variables, closes gh-817.
Daniel Herman [Sat, 16 Jun 2012 00:44:07 +0000 (20:44 -0400)]
Fix #11905, correct package.json license URLs, closes gh-826.
timmywil [Fri, 15 Jun 2012 20:10:37 +0000 (16:10 -0400)]
Update Sizzle: Removes an unnecessary link in the test suite
timmywil [Fri, 15 Jun 2012 18:24:22 +0000 (14:24 -0400)]
Update Sizzle. Fixes #11109.
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
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
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
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
Jörn Zaefferer [Wed, 13 Jun 2012 22:31:28 +0000 (00:31 +0200)]
Update QUnit to v1.8.0
Rick Waldron [Tue, 12 Jun 2012 16:53:58 +0000 (12:53 -0400)]
Fix args translation example in gruntfile comments
Rick Waldron [Tue, 12 Jun 2012 16:52:30 +0000 (12:52 -0400)]
Simplify the terminal command args syntax for custom builds. Update README
kborchers [Tue, 12 Jun 2012 15:01:44 +0000 (11:01 -0400)]
Fix typo in README
Julian Aubourg [Tue, 12 Jun 2012 11:13:18 +0000 (14:13 +0300)]
Adds ajax to the list of optional modules.
Dave Methvin [Tue, 12 Jun 2012 02:35:04 +0000 (22:35 -0400)]
Tweak test for #11743 in an attempt to placate Jenkins.
I can't get the current test to fail locally or in Browserstack, but suspect it may have something to do with badjson.js.
Dave Methvin [Tue, 12 Jun 2012 02:04:43 +0000 (22:04 -0400)]
Run the `dist` task *after* minifying so we copy the new one.