Commit Graph

3552 Commits

Author SHA1 Message Date
Timmy Willison
6bf2c3e49a Update Sizzle: jshintrc 2013-04-09 12:41:16 -04:00
Timmy Willison
d2435ead36 Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755.
Conflicts:
	src/.jshintrc
	src/data.js
	test/unit/attributes.js
	test/unit/core.js
	test/unit/data.js
	test/unit/event.js
	test/unit/manipulation.js
	test/unit/queue.js
	test/unit/traversing.js
	test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Richard Gibson
c6a694e1c2 Fix #13754: Require element.style for support tests 2013-04-09 09:59:43 -04:00
Dave Methvin
fdaf2146ad Fix #13393. Avoid IE9 activeElement of death.
(Cherry picked from 85fc5878b3)

Conflicts:
	src/event.js
2013-04-08 21:52:16 -04:00
Oleg Gaidarenko
08e57b1de7 Adjust the return value of the tabIndex propHook to match the spec. Fixes #13752. 2013-04-08 21:41:08 -04:00
Timmy Willison
90eb24e58d Update Sizzle: pick IE over Chrome this time. Supplements #13378. 2013-04-08 15:37:58 -04:00
Timmy Willison
73f0bd5e8d Revert "Update Sizzle: use documentElement in focus selector. Fixes #13378."
This reverts commit ae7efb6bc2.
2013-04-08 15:36:52 -04:00
Timmy Willison
ae7efb6bc2 Update Sizzle: use documentElement in focus selector. Fixes #13378. 2013-04-08 14:18:13 -04:00
Richard Gibson
14b09ef98e Ref #12652: Allow overriding native .click() suppression 2013-04-08 13:19:03 -04:00
Michał Gołębiowski
e3777b6437 No ticket: Move jQuery.fn.size to deprecated. Close gh-1229. 2013-04-07 23:22:13 -04:00
Michał Gołębiowski
8594decfcc Ref #13554: Move redundant methods to event-alias.js. Close gh-1225.
(cherry picked from commits 8ca9f931ec 84a94acae1 100d3c3516)
2013-04-07 00:48:58 -04:00
Michał Gołębiowski
8f4bebea7d No ticket: fix indentation. Close gh-1224. 2013-04-07 00:30:37 -04:00
Dave Methvin
f0ea912375 Fix indentation issue with last cherry-pick. 2013-04-06 16:50:36 -04:00
Dave Methvin
f7a378e6b7 Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221.
(Cherry picked from 1b61026650)
2013-04-06 16:47:03 -04:00
Richard Gibson
ca045de688 No ticket: minor 1.x/2.x code standardization 2013-04-05 01:16:32 -04:00
Richard Gibson
4ef516903e Fix #13539: Utilize Sizzle hooks. Close gh-1215. 2013-04-04 23:04:05 -04:00
Brandon Johnson
58b8535d5d Fix #12199. Handle iteration over inherited properties in oldIE. Close
gh-1196.
2013-04-04 10:14:05 -04:00
Michał Gołębiowski
df7847bc25 Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1218. 2013-04-03 22:08:46 -04:00
Michał Gołębiowski
674d34f021 Remove an unused support check, correct a comment. Close gh-1212. 2013-04-03 21:12:22 -04:00
Michał Gołębiowski
4adde5d145 Update grunt-contrib-jshint to 0.3.0, ref gh-1204. 2013-04-03 20:41:41 -04:00
Richard Gibson
65a6648932 Ref #13353: capture onlyHandlers in jQuery.Event.isTrigger. Close gh-1183. 2013-04-03 20:25:50 -04:00
jrburke
b6dd1c67a6 Remove the define.amd.jQuery check, close gh-1150.
Cherry picked from 2.0 master 34c4e122a3

Conflicts:
	src/exports.js
2013-04-03 20:10:42 -04:00
Timmy Willison
336cf71a54 Use semver versions for our in-between versions as well. Also update Sizzle.
http://semver.org/
2013-03-23 15:23:40 -04:00
ruado1987
48d71d0c3e Fix #13514: Set selectedIndex to -1 when non-matching value is set on a select. Close gh-1191. 2013-03-22 12:46:13 -04:00
Timmy Willison
ab5b0ff3f3 Update Sizzle: now uses built files 2013-03-19 15:55:37 -04:00
Timmy Willison
d55c46659b Update Sizzle: minor windows 8 issue 2013-03-11 12:57:42 -04:00
jaubourg
69b3d5ce0f Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.
2013-02-28 14:47:39 -05:00
jaubourg
a14a31727f Properly resets firingLength when emptying the list. Fixes #13517 2013-02-27 16:12:16 +01:00
Scott González
89b62a78fc Whitespace.
(cherry picked from commit b55bfb140f)
2013-02-26 13:43:49 -05:00
Timo Tijhof
6b0aa048c9 Optimisation: Use String instead of window.String. Close gh-1176.
Follows-up 22e28b01e6.
(cherry picked from commit 31478b9012)
2013-02-26 13:31:59 -05:00
Dave Methvin
f5163914fa Fix #13471. $().on(".xyz"...) should avoid later crash.
If the event type is an empty string we end up hanging in .off() which makes for
mighty hard debugging. Instead treat it as a no-op. Docs seem clear this is not
allowed.
2013-02-26 12:24:56 -05:00
Richard Gibson
dabdea70ee No ticket: move jQuery.expando to core 2013-02-25 16:08:24 -05:00
Richard Gibson
328ba956c0 No ticket: reduce support.js 2013-02-25 16:06:09 -05:00
Richard Gibson
44340c889b Fix #13505: Yet another detached add patch 2013-02-24 23:24:06 -05:00
Richard Gibson
4083a19192 No ticket: Restore support for Android<4.0 2013-02-23 21:15:53 -05:00
Richard Gibson
5c4ab97a64 Fix #13499: selector with leading ID matching only a name 2013-02-22 21:29:38 -05:00
Richard Gibson
dbf3056b25 No ticket: Reduce size in anticipation of Sizzle-free builds 2013-02-22 16:33:52 -05:00
Richard Gibson
6cb58e4861 No ticket: Update Sizzle 2013-02-17 23:10:53 -05:00
Richard Gibson
5e29ff7e59 Fix #13265 #13332: Allow .parent/.closest with text nodes. Close gh-1146. 2013-02-13 21:22:53 -05:00
Richard Gibson
941d2e055b No ticket: keep jquery.min.js.gz under 32K 2013-02-12 00:45:35 -05:00
Mark Raddatz
03ab9b9f90 Fix #13401: replaceWith(""). Close gh-1163.
(cherry picked from commit 6a0ee2d9ed)
2013-02-08 09:54:07 -05:00
Richard Gibson
67a2e4eaac Ref #13316: Sync all test documents on full vs. minified source. 2013-02-08 00:20:33 -05:00
Timmy Willison
a8518c3bc4 Update Sizzle: detached node sorting in Webkit. Fixes #13331. 2013-02-05 22:54:21 -05:00
Dave Methvin
3895e3a095 2013! 2013-02-04 19:59:13 -05:00
Oleg
f3c776dcc9 Fix #13356. Clean up after load/ready handlers. Close gh-1152. 2013-02-04 15:34:08 -05:00
Oleg
8226666b13 Fix #13310. Get the right display value for disconnected nodes. Close gh-1155. 2013-02-04 15:13:01 -05:00
Dave Methvin
219a1935ee Fix #13089. Only apply zoom to IE6/7 body. 2013-02-03 13:54:38 -05:00
Dave Methvin
7adee6c4da Fix #13335. Remove "use strict". 2013-02-01 17:18:57 -05:00
Andrew Plummer
f005af54e4 event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
Squashed commit of the following:

commit 5935a362c7
Author: Andrew Plummer <plummer.andrew@gmail.com>
Date:   Fri Feb 1 02:40:42 2013 +0900

    Using "hasOwnProperty" to check for direct properties "type" and
    "namespace" on events before triggering.
2013-01-31 12:01:34 -06:00
Oleg
d79bf3517e Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.
Change uglify-js options for compressor
Change variables initialization sequence for some declarations
2013-01-31 10:22:12 -05:00
Oleg
e392e5579b Change variables initialization sequence for some declarations 2013-01-31 10:01:18 -05:00
Timmy Willison
2a70774036 Minor updates. All parameters of an internal function are for internal use only. 2013-01-30 20:40:39 -05:00
Timmy Willison
1e1ea2c44f Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132, #10406. 2013-01-30 20:09:56 -05:00
Dave Methvin
1bbe2b1ded Fix #13349. No need to sort simple .find() cases. 2013-01-29 20:58:26 -05:00
adamcoulombe
5be99ecc48 Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111. 2013-01-27 13:54:16 -05:00
Dave Methvin
24e7624554 Fix #12656. Make event shorthands excludable. 2013-01-27 00:35:42 -05:00
Dave Methvin
3f9f2b1dbc Fix #12846. Restore overflow when animation is stopped.
(Cherry picked from a6c358d)
2013-01-26 22:05:08 -05:00
Richard Gibson
079ee502d6 Fix #13281: update Sizzle 2013-01-24 23:10:44 -05:00
Richard Gibson
ec9b38a34f Fix #13315: compare typeof node.method to var instead of literal "undefined" for safer uglification 2013-01-24 00:13:16 -05:00
byroot
eb47553eea Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261. 2013-01-24 02:35:07 +01:00
Timmy Willison
21af3a9213 Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306. 2013-01-23 12:21:48 -05:00
Timmy Willison
bb1d148345 Fix failing tests, add support for empty spans in Opera. Supplements #13132, #10406. 2013-01-21 18:12:16 -05:00
Timmy Willison
3015ee0b5a Treat elements as hidden when either offsetWidth OR offsetHeight is 0. Fixes #13132, #10406. 2013-01-21 17:06:47 -05:00
jaubourg
b83081ba64 Never use the XML as parsed by the XHR instance. Use raw text instead and let the ajax conversion logic do the trick. -20 min/gzipped. Fixes #13276. Unit test added. 2013-01-21 02:44:16 +01:00
Timmy Willison
c0a370029e Update Sizzle: fixes native slice usage 2013-01-18 10:49:10 -05:00
Richard Gibson
37eb6125c0 Fix jQuery #13251: use slice instead of substring 2013-01-17 17:00:29 -05:00
Richard Gibson
64bb0c4135 Ref 8f72967e: use acceptData to determine when it is safe to add event handlers
(cherry picked from commit 50290b8ffb)
2013-01-16 14:41:18 -05:00
danilsomsikov
8f72967ee2 Fix #8335: Avoid memory leak by never setting data on non-element non-document nodes. Ref gh-1127.
(cherry picked from commit cc324abf73)
2013-01-16 14:39:53 -05:00
Richard Gibson
6b1b0a26b4 Fix #13233: re-allow .replaceWith of text nodes. Close gh-1137. 2013-01-16 13:54:01 -05:00
Richard Gibson
d8690344b7 Fix #13182: update Sizzle 2013-01-16 00:16:24 -05:00
Richard Gibson
fc2ba2e136 Fix #13208: only check elements for delegation matches 2013-01-16 00:14:57 -05:00
Mike Sherov
65df32dc21 Fix #13183: Wrong animation initial value calc. Close gh-1136. 2013-01-15 23:28:56 -05:00
Richard Gibson
63f40866fd Fix #13203: delegated events with selector matching Object.prototype property
(cherry picked from commit 31b9579715)
2013-01-13 21:42:36 -05:00
Richard Gibson
a7683d866c No ticket: sync with master @ b75b9ef8 2013-01-13 20:05:43 -05:00
Richard Gibson
f860e0bd2f Fix #13180: don't delegate into SVG <use> 2013-01-13 19:20:29 -05:00
Richard Gibson
7812aab1c9 reduce size 2013-01-13 19:20:26 -05:00
Richard Gibson
14c50da7d5 jQuery.event.handlers delegate matching hook point 2013-01-13 19:20:22 -05:00
Oleg
09589c48f1 Add a comment 2013-01-13 23:46:50 +04:00
Oleg
bf4fce7040 Fixes #13200 - innerHTML in buildFragment need end tags 2013-01-13 22:10:24 +04:00
Richard Gibson
e5f37953ba Fix 9cf812d7 oldIE failures 2013-01-12 20:59:04 -05:00
Richard Gibson
9cf812d7a2 No ticket: compress event.js 2013-01-12 17:11:07 -05:00
Dave Methvin
7be47fba08 Update copyrights used in file headers. 2013-01-11 16:17:22 -05:00
Richard Gibson
52905676e5 Update Sizzle 2013-01-11 13:00:47 -05:00
Oleg
8b82af9ef2 Ref 0ed497b. Close gh-1125. 2013-01-11 13:00:37 -05:00
Richard Gibson
f40eac1d37 Update Sizzle 2013-01-10 15:23:51 -05:00
Oleg
46bbda8d06 Ref gh-1117: Don't stop on a falsy value in buildFragment.
(cherry picked from commit 8e6c1ba92f)
2013-01-09 11:22:44 -05:00
nanto
0c5d2fbabb Propagate context of returned deferred object in Deferred.then(). Fixes #13160. 2013-01-08 17:59:08 +00:00
jaubourg
4694118ef7 Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument 2013-01-08 11:55:19 +01:00
Dave Methvin
0ed497b045 Resurrect buildFragment and sacrifice jQuery.clean. See gh-1117. 2013-01-08 03:27:10 +00:00
Oleg
ce67f0ce64 Ref #8908. Update IE9 css clone fix. Close gh-1120. 2013-01-08 01:50:18 +00:00
Corey Frang
c27d8e2988 Fix #13103. Add .finish() method. Cherry picked from b6abb31df4. 2013-01-08 01:23:22 +00:00
Dave Methvin
4e0bc169df Fix #12863. Prevent oldIE from calling .removeAttribute 2013-01-06 21:47:02 -05:00
Dave Methvin
bbdf957e98 Fix #12336. Ensure oldIE really does .empty() selects. 2013-01-06 14:20:35 -05:00
Dave Methvin
a95f35744a Fix #12945. Check for .getAttribute so IE9 is happy. 2013-01-04 17:33:16 -05:00
Mike Sherov
abead1c86b Fixes #13088: under IE8, $(selector).attr('style') always return lowercase string 2012-12-31 12:30:02 -05:00
Dave Methvin
861a45b8ff Followup to gh-1089. Avoid duplicate typeof check. 2012-12-23 15:57:01 -05:00
Sebi Burkhard
5eec75e582 Fix #13075. Optimize $.type by preferring typeof. Close gh-1089.
Also fixes browsers where `typeof RegExp === "function"`.
2012-12-23 15:41:56 -05:00
Sebi Burkhard
d829804631 Fix #13076. Speed up $() with strings, part of gh-1089. 2012-12-23 15:09:10 -05:00
Richard Gibson
3e1589db32 Update Sizzle 2012-12-21 15:51:37 -05:00
Richard Gibson
1e7e541b8b Fix 00bbbe20 test failures 2012-12-21 10:34:03 -05:00