Commit Graph

5991 Commits

Author SHA1 Message Date
Rick Waldron
38bc968052 Old acceptData tests refactored and adapted to support new data system 2013-02-28 14:14:40 -05:00
Dave Methvin
054c6946d4 Update docs about custom builds, including unSizzled version. 2013-02-28 13:56:52 -05:00
Dave Methvin
8be9cd1ce7 Add warnings and ignore the built Sizzle file. 2013-02-27 22:45:55 -05:00
Richard Gibson
1083f82d1e Fix #13434: native-API selector module
What's out:
* 6 KB
* attribute not equal selector
* positional selectors (:first; :eq(n); :odd; etc.)
* type selectors (:input; :checkbox; :button; etc.)
* state-based selectors (:animated; :visible; :hidden; etc.)
* :has(selector)
* custom selectors
* leading combinators (e.g., $collection.find("> *"))
* reliable functionality on XML fragments
* requiring all parts of a selector to match elements under context (e.g., $div.find("div > *") now matches children of $div)
* matching against non-elements
* reliable sorting of disconnected nodes
2013-02-27 22:45:55 -05:00
jaubourg
0618710913 Properly resets firingLength when emptying the list. Fixes #13517 2013-02-27 16:15:32 +01:00
Richard Gibson
1b6be73721 No ticket: Squeeze data 2013-02-26 23:41:57 -05:00
Nguyen Phuc Lam
8bc7bdebef Ref #13283, move .andSelf() to deprecated.js. Close gh-1170. 2013-02-26 22:57:12 -05:00
Richard Gibson
85f1985f24 Fix #13494: Fallback defineProperties to jQuery.extend. Close gh-1182.
Android<4 (ancient WebKit) doesn't have full ES5 support.
2013-02-26 22:38:06 -05:00
Scott González
b55bfb140f Whitespace. 2013-02-26 13:06:58 -05:00
Dave Methvin
2bbc3d5860 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:19:09 -05:00
Timo Tijhof
31478b9012 Optimisation: Use String instead of window.String. Close gh-1176.
Follows-up 22e28b01e6.
2013-02-26 10:17:54 -05:00
Richard Gibson
6d188186d4 No ticket: move jQuery.expando to core 2013-02-25 15:48:22 -05:00
Richard Gibson
972de58990 No ticket: reduce support.js 2013-02-25 15:33:13 -05:00
Richard Gibson
6256c614fd Fix #13505: Yet another detached add patch 2013-02-24 23:24:28 -05:00
Richard Gibson
2129c233e9 No ticket: Restore support for Android<4.0 2013-02-23 21:16:28 -05:00
Richard Gibson
7d36c0fb6e Fix #13499: selector with leading ID matching only a name
(cherry picked from commit 5c4ab97a64)
2013-02-22 21:30:10 -05:00
Richard Gibson
59f5adb622 No ticket: Revise unit tests in anticipation of Sizzle-free builds 2013-02-22 20:13:36 -05:00
Richard Gibson
9338a69e30 No ticket: Reduce size in anticipation of Sizzle-free builds
(cherry picked from commit dbf3056b25)
2013-02-22 16:36:39 -05:00
Pascal Borreli
85ee87b444 Fixes typos in core.js and css.js. Closes gh-1175 2013-02-21 12:00:51 -05:00
Karl Sieburg
710962c8c0 Updated readme to have more info. Closes gh-1177 2013-02-21 11:59:13 -05:00
Rick Waldron
a464d75005 Adds module to jshintrc 2013-02-21 09:56:20 -05:00
isaacs
a128355b25 Support node-like module loaders. Closes gh-1103 2013-02-20 21:31:06 -05:00
Richard Gibson
0f977e6d03 No ticket: Update Sizzle 2013-02-17 23:12:44 -05:00
Rick Waldron
93043d002a Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. Closes #1167 2013-02-13 12:14:20 -05:00
Richard Gibson
b734666f4d Fix #13265 #13332: traversing methods with text nodes. Close gh-1145. 2013-02-13 22:03:37 -05:00
Rick Waldron
1d5d959ee0 Optimized Data rewrite 2013-02-11 12:39:44 -05:00
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00
Richard Gibson
dc9b009c13 Fix 363299ac failures: protect Safari 5.1 from CSP 2013-02-07 23:43:21 -05:00
Richard Gibson
6971d9d8e2 Fix 363299ac failures 2013-02-07 17:03:04 -05:00
Richard Gibson
363299ac24 Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
Oleg
f3db084f7c Fix #13310. Get the right display value for disconnected nodes. Close gh-1156. 2013-02-04 15:22:07 -05:00
Dave Methvin
a30785a4dd Fix version; we are not at 2.0.0 yet! 2013-02-04 10:13:09 -05:00
Richard Gibson
a5b456edff Ref fd43865c: restore correct logic 2013-02-04 09:35:33 -05:00
Rick Waldron
cf260fe285 Match the codebase standard, .split(" ") => .match( core_rnotwhite ) || []… no matter how awful it is >:|
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 18:09:49 -05:00
Rick Waldron
f50680898b Standardize on a.indexOf(b) === -1, per @gibson042 review notes
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 18:04:53 -05:00
Rick Waldron
7b50c4a711 Avoid potential for breakage if test suite is run in a frame
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:58:07 -05:00
Rick Waldron
fd43865c6d Reduce hasData per @gibson042 review notes.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:55:28 -05:00
Rick Waldron
64630eaf85 Reduce Data.prototype.add by using the returned length value of this.owners.push(owner)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 15:31:23 -05:00
Rick Waldron
7f94a5cc3a 2.0: Rewrite data.js (Incl. event, manipulation, tests) 2013-02-03 15:27:55 -05:00
Rick Waldron
ed0e2d1e8a Adds test for jQuery.extend deep copy with array, followed by object. Refutes and Closes #1154 2013-02-03 12:52:08 -05:00
Richard Gibson
d12b26ced6 Upgrade QUnit: Welcome to the present! 2013-02-03 12:26:56 -05:00
Timmy Willison
21c7a056e2 Update Sizzle: detached node sorting in Webkit. Fixes #13331. 2013-02-01 18:06:02 -05:00
Dave Methvin
0e2977583c Fix #13335. Remove "use strict". 2013-02-01 17:17:39 -05:00
Corey Frang
115143b198 Adding @andrewplummer to AUTHORS.txt 2013-01-31 12:14:08 -06:00
Andrew Plummer
d654914fd0 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.
(cherry picked from commit f005af54e4)
2013-01-31 12:04:32 -06:00
Timmy Willison
d3a2ef7cfe Magic fixing for previous commit 2013-01-30 20:48:09 -05:00
Timmy Willison
f3ce0e696d Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132, #10406. 2013-01-30 20:37:13 -05:00
Timmy Willison
f5110cdec0 Minor updates. All parameters of an internal function are for internal use only. 2013-01-30 20:36:58 -05:00
Dave Methvin
a5c33fe1f7 Fix #13349. No need to sort simple .find() cases. 2013-01-29 20:48:48 -05:00
Dave Methvin
451d0c37d9 Fix comment about Safari shortfalls. 2013-01-29 16:56:32 -05:00