]> source.dussan.org Git - jquery.git/log
jquery.git
9 years agoManipulation: privatize internal domManip() function
Timmy Willison [Tue, 5 May 2015 18:52:58 +0000 (11:52 -0700)]
Manipulation: privatize internal domManip() function

Fixes gh-2225

9 years agoManipulation: privatize buildFragment() function
Timmy Willison [Tue, 5 May 2015 18:44:55 +0000 (11:44 -0700)]
Manipulation: privatize buildFragment() function

Fixes gh-2224

9 years agoEffects: add tests for jQuery.easing._default in Animation and Tween
Timmy Willison [Tue, 5 May 2015 18:22:40 +0000 (11:22 -0700)]
Effects: add tests for jQuery.easing._default in Animation and Tween

Ref gh-2219

9 years agoEffects: set default easing using jQuery.easing._default
Timmy Willison [Tue, 5 May 2015 17:24:20 +0000 (10:24 -0700)]
Effects: set default easing using jQuery.easing._default

Fixes gh-2219
Close gh-2218

9 years agoCore: remove isArraylike check for nodes
Mu Haibao [Wed, 29 Apr 2015 16:53:30 +0000 (00:53 +0800)]
Core: remove isArraylike check for nodes

Fixes gh-2238
Close gh-2243

9 years agoBuild: Remove npm from dependencies
Calvin Metcalf [Sat, 2 May 2015 13:08:30 +0000 (09:08 -0400)]
Build: Remove npm from dependencies

Close gh-2254

9 years agoOffset: allow offset setter to throw for disconnected elements
Timmy Willison [Tue, 5 May 2015 15:33:50 +0000 (08:33 -0700)]
Offset: allow offset setter to throw for disconnected elements

Fixes gh-2114

9 years agoOffset: remove ownerDocument check in offset getter
Timmy Willison [Tue, 5 May 2015 15:31:39 +0000 (08:31 -0700)]
Offset: remove ownerDocument check in offset getter

Fixes gh-2115

9 years agoOffset: Fix .offset() to correctly work with ShadowDOM
Arthur Stolyar [Tue, 5 May 2015 15:16:29 +0000 (08:16 -0700)]
Offset: Fix .offset() to correctly work with ShadowDOM

Fixes gh-1784
Close gh-2043

9 years agoSelector: add test for jQuery.unique() alias
Timmy Willison [Tue, 5 May 2015 14:59:12 +0000 (07:59 -0700)]
Selector: add test for jQuery.unique() alias

9 years agoSelector: add jQuery.uniqueSort; deprecate jQuery.unique
Timmy Willison [Mon, 4 May 2015 22:27:12 +0000 (15:27 -0700)]
Selector: add jQuery.uniqueSort; deprecate jQuery.unique

Fixes gh-2228

9 years agoCore: allow init to accept an alternate rootjQuery for migrate's sake
Timmy Willison [Mon, 4 May 2015 22:16:28 +0000 (15:16 -0700)]
Core: allow init to accept an alternate rootjQuery for migrate's sake

- This will be tested in migrate

Fixes gh-2101

9 years agoData: camelCasing should not ignore case
Timmy Willison [Mon, 4 May 2015 14:49:21 +0000 (10:49 -0400)]
Data: camelCasing should not ignore case

Fixes gh-2070

9 years agoData: always camelCase keys in .data()
Timmy Willison [Mon, 4 May 2015 13:36:58 +0000 (09:36 -0400)]
Data: always camelCase keys in .data()

- This effectively implements our "Embrace HTML5" option
- Related: http://goo.gl/GcQAtn

Fixes gh-2257

9 years agoCSS: fix dependency order for amd
Timmy Willison [Sun, 3 May 2015 12:33:51 +0000 (08:33 -0400)]
CSS: fix dependency order for amd

9 years agoData: do not include digits when camelCasing
Timmy Willison [Sun, 3 May 2015 12:22:32 +0000 (08:22 -0400)]
Data: do not include digits when camelCasing

Fixes gh-1751

9 years agoCore:CSS:Event: simplification of native method signatures
Oleg Gaidarenko [Sat, 2 May 2015 17:54:11 +0000 (20:54 +0300)]
Core:CSS:Event: simplification of native method signatures

* Remove third argument from "addEventListener"

* Remove third argument from "removeEventListener"

* Remove second argument from "getComputedStyle"

Ref gh-2047
Ref 85577a348a72ae765e0d7330b9e82985d23c94b7

9 years agoAjax: remove "onunload" event handler
Oleg Gaidarenko [Sun, 3 May 2015 10:39:33 +0000 (13:39 +0300)]
Ajax: remove "onunload" event handler

Remove hack for IE lost connections, update for it was released
by Microsoft at November 12, 2013.
See https://support.microsoft.com/en-us/kb/2905733

Ref trac-5280
Ref gh-2047
Ref a117dd05f638a078c21dc57f19966f4ae81f98f0

9 years agoEvent: add support comment
Oleg Gaidarenko [Sat, 2 May 2015 17:51:03 +0000 (20:51 +0300)]
Event: add support comment

(cherry-picked from 9db9316609c2881dbb6abc49efc3aa91a57a02ad)

Ref gh-2047

9 years agoEvent: remove guard for falsy handler argument of jQuery#on method
Oleg Gaidarenko [Thu, 30 Apr 2015 17:05:18 +0000 (20:05 +0300)]
Event: remove guard for falsy handler argument of jQuery#on method

(cherry-picked from fac67a984268ef8f7de952666fda6d8d32754f5f)

Since we don't have this in off method and its a common perception
that this is a rudiment code

Ref gh-2248
Closes gh-2249

9 years agoManipulation: Make an HTML interception point
Richard Gibson [Fri, 10 Apr 2015 19:57:18 +0000 (15:57 -0400)]
Manipulation: Make an HTML interception point

Fixes gh-1747
Closes gh-2203

(cherry picked from commit 225bde37c997f5ddd9fe00fdfb8e9a43545cfbbc)

Conflicts:
src/manipulation.js
test/unit/manipulation.js

9 years agoManipulation: Detect sneaky no-content replaceWith input
Richard Gibson [Mon, 13 Apr 2015 20:05:48 +0000 (16:05 -0400)]
Manipulation: Detect sneaky no-content replaceWith input

Fixes gh-2204
Ref 642e9a45579cfa90861b8ea71a95dd077775caaf
Closes gh-1752
Closes gh-2206

(cherry picked from commit 4b27ae16a2b911f75b341b56d9d939bc65a9657a)

Conflicts:
src/manipulation.js
test/unit/manipulation.js

9 years agoCore: add workaround for iOS JIT error in isArrayLike
Timmy Willison [Sat, 4 Apr 2015 19:34:07 +0000 (15:34 -0400)]
Core: add workaround for iOS JIT error in isArrayLike

Fixes gh-2145

9 years agoTests: Increase QUnit timeout
Michał Gołębiowski [Sun, 26 Apr 2015 15:11:10 +0000 (17:11 +0200)]
Tests: Increase QUnit timeout

Android 2.3 is very slow & times out a lot in async tests, they have to be
restarted multiple times to settle. Long test execution is not a huge problem
as Android 2.3 is tested only periodically during the night, unstable tests
are a bigger problem. This might mitigate that.

In a regular scenario almost all tests should pass so increasing the timeout
for all browsers shouldn't have a huge impact on overall test time.

(cherry-picked from ff18d8e2060ae7c15c7694dc6bcbbeb9cbfbdaa4)

Closes gh-2232

9 years agoDeferred: Always handle progress callbacks before done/fail
Richard Gibson [Tue, 14 Apr 2015 17:30:58 +0000 (13:30 -0400)]
Deferred: Always handle progress callbacks before done/fail

Fixes gh-2013
Fixes gh-2010
Closes gh-2210

(cherry picked from commit 002240a6eb1cee2fcd886d5cf44893eb67f246f1)

9 years agoAttributes: remove unnecessary element null check
Bastian Buchholz [Mon, 13 Apr 2015 08:37:42 +0000 (10:37 +0200)]
Attributes: remove unnecessary element null check

Close gh-2201

9 years agoCore: Follow the AMD specification for define
Alexander O'Mara [Mon, 30 Mar 2015 15:52:00 +0000 (11:52 -0400)]
Core: Follow the AMD specification for define

AMD specification requires the factory argument be defined.

Close gh-2179

9 years agoCSS: Don't expose jQuery.swap
Michał Gołębiowski [Mon, 30 Mar 2015 17:19:15 +0000 (19:19 +0200)]
CSS: Don't expose jQuery.swap

jQuery.swap was an undocumented API used only internally. With the modular
AMD system we currently have it's not necessary to expose this function
publicly under the jQuery object.

Fixes gh-2058
Closes gh-2182

9 years agoBuild: update Sizzle
Timmy Willison [Mon, 13 Apr 2015 15:30:18 +0000 (11:30 -0400)]
Build: update Sizzle

Fixes gh-2042
Fixes gh-1969
Closes gh-1709

9 years agoDocs: Rename 1.x to compat
Michał Gołębiowski [Mon, 30 Mar 2015 20:46:29 +0000 (22:46 +0200)]
Docs: Rename 1.x to compat

9 years agoAttributes: revert returning null for non-existant attributes
Timmy Willison [Mon, 30 Mar 2015 19:30:21 +0000 (15:30 -0400)]
Attributes: revert returning null for non-existant attributes

Ref https://github.com/jquery/jquery/issues/2118

9 years agoWrap: Support .unwrap( selector) for selective unwrapping
Dave Methvin [Mon, 12 Jan 2015 03:17:41 +0000 (22:17 -0500)]
Wrap: Support .unwrap( selector) for selective unwrapping

Fixes gh-1744
Closes gh-2003
(cherry picked from commit 7b09235ceed57bbcc26fc2c76147eb4e95ebdb92)

9 years agoBuild: Update native-promise-only (again)
Michał Gołębiowski [Sat, 28 Mar 2015 15:42:43 +0000 (16:42 +0100)]
Build: Update native-promise-only (again)

This should fix Android 4.0 jQuery.when tests issues, for reals this time.

(cherry-picked from f5aa89af7029ae6b9203c2d3e551a8554a0b4b89)

9 years agoTests: add the current version of node and iojs to the travis config
Jon Hester [Thu, 5 Mar 2015 23:07:25 +0000 (23:07 +0000)]
Tests: add the current version of node and iojs to the travis config

Close gh-2121

9 years agoCore: Update tested jsdom, drop obsolete workarounds
Michał Gołębiowski [Wed, 25 Mar 2015 22:10:12 +0000 (23:10 +0100)]
Core: Update tested jsdom, drop obsolete workarounds

The latest version supporting Node.js is 3.1.2; some workarounds are not needed
for this version. For example, in jsdom 3.1.2 a document created via
document.implementation.createHTMLDocument( "" ) has a body.

(partially cherry-picked from 95c0a10e15477a5031185e2d656d896905562afa)

Fixes gh-2153
Closes gh-2154

9 years agoBuild: Update native-promise-only
Michał Gołębiowski [Tue, 24 Mar 2015 10:54:36 +0000 (11:54 +0100)]
Build: Update native-promise-only

This should fix Android 4.0 jQuery.when tests issues.

(cherry-picked from 0065e1f3e3021fc2bcb32e915177498bca034b34)

Closes gh-2159

9 years agoOffset: Round offset value for the sake of floating errors
Michał Gołębiowski [Mon, 16 Mar 2015 17:23:21 +0000 (18:23 +0100)]
Offset: Round offset value for the sake of floating errors

IE10+ may return not exactly the offset.top value set in an offset callback
if parent has fractional top offset itself. Checking for being close to the
desired result fixes the test error.

(cherry-picked from 62ae2d0fb7ac011bf2ad778f8158de408e785927)

Fixes gh-2147

9 years agoDeferred: Backwards-compatible standards interoperability
Richard Gibson [Mon, 29 Dec 2014 19:14:13 +0000 (14:14 -0500)]
Deferred: Backwards-compatible standards interoperability

Fixes gh-1722
Closes gh-1996

(cherry picked from commit 555a50d340706e3e1e0de09231050493d0ad841e)

9 years agoTests: Expand CSS relative adjustment tolerance for IE
Richard Gibson [Tue, 17 Mar 2015 03:05:36 +0000 (23:05 -0400)]
Tests: Expand CSS relative adjustment tolerance for IE

Ref 48be675200e817f40fa8ec25da1be2ab0839d28d
Ref 4a8000b51a9854e21361e435e4c9b9cbd8ac458a

(cherry picked from commit e22ef5d9017c44cad97ae541fefce76cc455edcb)

9 years agoTests: Fix CSS relative adjustment test for round-down browsers
Richard Gibson [Tue, 17 Mar 2015 03:05:36 +0000 (23:05 -0400)]
Tests: Fix CSS relative adjustment test for round-down browsers

Ref 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17
Ref 6fb2cefc602cf8bd8b85373f480e978bb8978e37

(cherry picked from commit 48be675200e817f40fa8ec25da1be2ab0839d28d)

9 years agoAttributes: revert returning null for non-elements
Timmy Willison [Mon, 16 Mar 2015 18:11:38 +0000 (14:11 -0400)]
Attributes: revert returning null for non-elements

9 years agoTests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)
Michał Gołębiowski [Mon, 16 Mar 2015 16:54:36 +0000 (17:54 +0100)]
Tests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)

9 years agoAttributes: fix failing test for new return value
Timmy Willison [Mon, 16 Mar 2015 15:52:05 +0000 (11:52 -0400)]
Attributes: fix failing test for new return value

9 years agoAttributes: return null when attribute does not exist
Winston Howes [Mon, 16 Mar 2015 15:20:16 +0000 (11:20 -0400)]
Attributes: return null when attribute does not exist

Fixes gh-2118
Close gh-2129

Conflicts:
test/unit/attributes.js

9 years agoCSS: Support relative adjustment in any applicable unit
Mr21 [Wed, 4 Feb 2015 13:10:14 +0000 (14:10 +0100)]
CSS: Support relative adjustment in any applicable unit

Fixes gh-1711
Closes gh-2011

(cherry picked from commit 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17)

Conflicts:
src/css.js
src/effects.js

9 years agoBuild: remove deprecated JSHint options
Stephen Edgar [Sun, 25 Jan 2015 03:43:05 +0000 (14:43 +1100)]
Build: remove deprecated JSHint options

(cherry-picked from 34da7d552982d8ab7b18c2ceca9786d5023930f6)

JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.

Closes gh-2029

9 years agoEvent: correct support comment
Oleg Gaidarenko [Sun, 8 Mar 2015 03:23:49 +0000 (06:23 +0300)]
Event: correct support comment

(cherry-picked from 361a0d5150a1c57b1857611cde1b05bd0ef21a50)

See discussion in
https://github.com/jquery/jquery/commit/a5e1c9b44c971fd7046d9a95bd0810e50840b663

9 years agoCore: change jQuery.each and jQuery#each signatures
Oleg Gaidarenko [Tue, 17 Feb 2015 07:09:54 +0000 (10:09 +0300)]
Core: change jQuery.each and jQuery#each signatures

(cherry-picked from 2380028ec4a6a77401b867a51de26a3cb8e8d311)
Fixes gh-2090
Closes gh-2097

9 years agoAjax: remove use of jQuery#each second argument
Oleg Gaidarenko [Tue, 17 Feb 2015 07:05:25 +0000 (10:05 +0300)]
Ajax: remove use of jQuery#each second argument

(cherry-picked from a4715f4216ace92fba6991106053415e66289686)
Ref gh-2090

9 years agoTests: make top of the HTML suite compliant with style guide
Oleg Gaidarenko [Tue, 17 Feb 2015 07:45:30 +0000 (10:45 +0300)]
Tests: make top of the HTML suite compliant with style guide

See http://contribute.jquery.org/style-guide/html/

(cherry-picked from 8356281bed643bb3d56ad02f52580a0e20dc0237)
Closes gh-2098

9 years agoAjax: remove deprecated extensions from ajax promise
Oleg Gaidarenko [Sun, 15 Feb 2015 02:41:38 +0000 (05:41 +0300)]
Ajax: remove deprecated extensions from ajax promise

(cherry-picked from 9d1b989f20b550af3590691723b0620f6914626e)
Fixes gh-2084
Closes gh-2092

9 years agoAjax: move explanatory comment to appropriate place
Oleg Gaidarenko [Sat, 14 Feb 2015 23:27:54 +0000 (02:27 +0300)]
Ajax: move explanatory comment to appropriate place

Ref 4b3e63066dd480d07b9ce8057cb0c02b8ad7e990

9 years agoBuild: fix broken assertions caused by QUnit update
Oleg Gaidarenko [Sat, 14 Feb 2015 23:22:09 +0000 (02:22 +0300)]
Build: fix broken assertions caused by QUnit update

QUnit update broke couple traversing and manipulation tests, since new qunit
added another form to the test-suite while some of
jQuery selectors weren't specific

(cherry-picked from 8b6aeae52d4c53a53468678ccd45e9dda9665004)
Ref db31206d36a3a75c011310e282e0fdc9a0f3d99d

9 years agoAjax: replace "jqXHR.complete" callback with "always"
Oleg Gaidarenko [Wed, 11 Feb 2015 13:40:40 +0000 (16:40 +0300)]
Ajax: replace "jqXHR.complete" callback with "always"

Since it was deprecated since 1.8.

Also add additional comments which explains tricky
behaviour of "always" callback

(cherry-picked from 97ef1f2612a9c5bd453d34146fdfd552cf9cee67)
Closes gh-2033

9 years agoAjax: make jQuery#load "type" field explicit
Oleg Gaidarenko [Sat, 14 Feb 2015 22:25:02 +0000 (01:25 +0300)]
Ajax: make jQuery#load "type" field explicit

* Move "evalScript.php" file to appropriate place

* Make jQuery#load "type" field explicit and add test for it

Ref trac-11264
Ref 4ef120d3f2578fe3d52eb6c0d0641df945991391

9 years agoAjax: simplify one ajax call and add explanatory comment
Oleg Gaidarenko [Sat, 14 Feb 2015 22:21:05 +0000 (01:21 +0300)]
Ajax: simplify one ajax call and add explanatory comment

* Remove "async = true" from script transport since it was needed
  for FF < 4 and old Opera which we do not support anymore

* Add comment to "evalUrl" method on why "type" field should be explicit

Ref 0ac28ed293681cb8f2e9fdd11efa0021da039c84

9 years agoCore: simplify "each" stylesheet iteration test
Oleg Gaidarenko [Fri, 13 Feb 2015 18:50:24 +0000 (21:50 +0300)]
Core: simplify "each" stylesheet iteration test

(cherry-picked from fcb6c4d1d6552c7e54df16a36b171858bdf0553f)
Closes gh-2089

9 years agoBuild: Update QUnit to latest (1.17.1)
Jörn Zaefferer [Mon, 26 Jan 2015 18:24:59 +0000 (19:24 +0100)]
Build: Update QUnit to latest (1.17.1)

(cherry-picked from 2d5c5d213f09fa0205d07a2d60a36581058cc40a)
Closes gh-2038

9 years agoOffset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0
Oleg Gaidarenko [Wed, 11 Feb 2015 19:44:57 +0000 (22:44 +0300)]
Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0

Android 2.3 resize the iframe by its content meaning it's not possible
to scroll the iframe only its parent element.

It seems (not confirmed) in android 4.0 it's not possible to scroll
iframes from the code

(cherry-picked from 0c466438d1feaec302fec13eafeeb063bbfd6a19)

Fixes gh-1981
Ref 4ab8603669e2bbc8644e402927c33ce422d7aaa3

9 years agoManipulation: don't auto-insert tbody
Oleg Gaidarenko [Wed, 11 Feb 2015 14:07:29 +0000 (17:07 +0300)]
Manipulation: don't auto-insert tbody

Fixes gh-1835
Closes gh-2021
Ref e984d1c79cc476062818e03df04a366baa13d197

9 years agoManipulation: simplify html wrappers
Oleg Gaidarenko [Tue, 10 Feb 2015 20:49:44 +0000 (23:49 +0300)]
Manipulation: simplify html wrappers

Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element

(cherry-picked from 0ea342a6a6dce793c1b0f14f051c2573f40f4e44)

Closes gh-2031
Fixes gh-2002

9 years agoManipulation: simplification of manipulation wrappers
Oleg Gaidarenko [Mon, 26 Jan 2015 01:40:14 +0000 (04:40 +0300)]
Manipulation: simplification of manipulation wrappers

Since support for IE6-7 was dropped these wrappers no longer required

Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Ref gh-2002
Closes gh-2032

9 years agoCSS: Fix the pixelMarginRight support test in IE8
Michał Gołębiowski [Sun, 8 Feb 2015 01:03:17 +0000 (02:03 +0100)]
CSS: Fix the pixelMarginRight support test in IE8

9 years agoCSS: Add a support test for the hack for .css('marginRight') etc. 2061/head
Michał Gołębiowski [Wed, 4 Feb 2015 13:36:18 +0000 (14:36 +0100)]
CSS: Add a support test for the hack for .css('marginRight') etc.

This hack turns out to be needed by Android 4.0-4.3.

Add a support test so that the hack is invoked only where needed.

Refs 3747cc642a48d2a5a8ac83069f66bddd33bea301

Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061

9 years agoRelease: push dist to same remote as project
Timmy Willison [Fri, 30 Jan 2015 20:46:48 +0000 (12:46 -0800)]
Release: push dist to same remote as project

Conflicts:
build/release/dist.js

9 years agoRelease: remove sourcemap comment from all copies of minified file
Timmy Willison [Fri, 30 Jan 2015 20:22:25 +0000 (12:22 -0800)]
Release: remove sourcemap comment from all copies of minified file

Fixes gh-1707

9 years agoRelease: fix CDN archive creation
Timmy Willison [Fri, 30 Jan 2015 00:21:39 +0000 (16:21 -0800)]
Release: fix CDN archive creation

Fixes gh-1940

9 years agoRelease: dist can be run during a test
Timmy Willison [Thu, 29 Jan 2015 23:36:48 +0000 (15:36 -0800)]
Release: dist can be run during a test

9 years agoRelease: Distribute files to distribution repo
Timmy Willison [Wed, 28 Jan 2015 19:37:29 +0000 (11:37 -0800)]
Release: Distribute files to distribution repo

Fixes gh-1869
Fixes gh-1673
Fixes gh-2045

Conflicts:
bower.json
build/release.js

9 years agoData: Use a PDF object instead of a Java applet for acceptData testing
Michał Gołębiowski [Sun, 25 Jan 2015 00:32:54 +0000 (01:32 +0100)]
Data: Use a PDF object instead of a Java applet for acceptData testing

This should fix "Java out of date" errors on BrowserStack.

(cherry-picked from 087d280ad1160de53a45ea96184911194f7b46e0)

Fixes gh-1938
Closes gh-2028

9 years agoAjax: Run the PATCH test only in IE8 on TestSwarm 2026/head
Michał Gołębiowski [Sun, 25 Jan 2015 00:24:22 +0000 (01:24 +0100)]
Ajax: Run the PATCH test only in IE8 on TestSwarm

Fixes gh-1994
Closes gh-2026

9 years agoBuild: Speed up the Travis build
Michał Gołębiowski [Sun, 25 Jan 2015 00:27:08 +0000 (01:27 +0100)]
Build: Speed up the Travis build

Run Travis tests on a container infrastructure to make it start faster.

See http://docs.travis-ci.com/user/workers/container-based-infrastructure/

(cherry-picked from 31f4f8e3f30e67e677a2aa167b9e894d46d5b81e)

Closes gh-2027

9 years agoEvent: Add a note about a mouseenter bug in Chrome
Michał Gołębiowski [Sun, 25 Jan 2015 00:09:26 +0000 (01:09 +0100)]
Event: Add a note about a mouseenter bug in Chrome

Also, add a support comment about older Safari.

Refs https://code.google.com/p/chromium/issues/detail?id=333868
Partially cherry-picked from a5e1c9b44c971fd7046d9a95bd0810e50840b663

9 years agoRelease: update AUTHORS.txt
Timmy Willison [Mon, 19 Jan 2015 17:03:14 +0000 (12:03 -0500)]
Release: update AUTHORS.txt

9 years agoCore: Return empty array instead of null for parseHTML("")
Timo Tijhof [Wed, 7 Jan 2015 20:12:49 +0000 (20:12 +0000)]
Core: Return empty array instead of null for parseHTML("")

Fixes gh-1997
Close gh-1998

Conflicts:
test/unit/core.js

9 years agoManipulation: increase delay of data-URI test
Oleg Gaidarenko [Thu, 15 Jan 2015 02:41:27 +0000 (05:41 +0300)]
Manipulation: increase delay of data-URI test

For Safar7/Opera - shot in the dark, can't reproduce this locally

Ref gh-1993

9 years agoEvent: HTML5 drop events inherit from MouseEvent
Dave Methvin [Wed, 14 Jan 2015 19:34:09 +0000 (14:34 -0500)]
Event: HTML5 drop events inherit from MouseEvent

Fixes gh-2009
Ref gh-1925
(cherry picked from commit d7e5fcee519e5f3e840beef9e67a536e75133df9)

Conflicts:
test/unit/event.js

9 years agoManipulation: blacklist IE8 from running tests for tag-hyphenated elems
Oleg Gaidarenko [Wed, 14 Jan 2015 02:22:42 +0000 (05:22 +0300)]
Manipulation: blacklist IE8 from running tests for tag-hyphenated elems

IE8 supports only HTML elements it knows about, but if user uses custom
elements a.k.a. tag-hyphenated, we assume it doesn't try to use them with IE8

Ref 5d522f5c740f1f919a630a5f6ec3d40fad840ff7

9 years agoOffset: simplify jQuery#offsetParent method
Oleg Gaidarenko [Tue, 13 Jan 2015 05:16:32 +0000 (08:16 +0300)]
Offset: simplify jQuery#offsetParent method

* It seems, check for html element (and previously for body element)
  was redundant

* Simplify "return" statement

* Add comment about potential errors that didn't find themselves
  in real life app

Ref 74ae5444832b2fb966768a97281d2ad8c088bc58

9 years agoManipulation: add support to tag-hyphenated elements
Leonardo Braga [Tue, 13 Jan 2015 04:50:23 +0000 (07:50 +0300)]
Manipulation: add support to tag-hyphenated elements

Ref #1987
Ref 85ffc6d973865a031ded170934e0acfc2e97cb11

9 years agoCore: add support to tag-hyphenated elements
Leonardo Braga [Sun, 4 Jan 2015 22:48:35 +0000 (17:48 -0500)]
Core: add support to tag-hyphenated elements

Ref #1987
Ref 534f13025aeb59a7d5893ce62efafa0b066a4934

9 years agoBuild: Sanctify the component name status of Wrap
Dave Methvin [Mon, 12 Jan 2015 03:24:02 +0000 (22:24 -0500)]
Build: Sanctify the component name status of Wrap
(cherry picked from commit a4133ffafa6ac43b3aa22bc4edb4444b09f5250c)

9 years agoCore: Remove deprecated context and selector properties
Dave Methvin [Thu, 8 Jan 2015 18:35:28 +0000 (13:35 -0500)]
Core: Remove deprecated context and selector properties

Fixes gh-1908
Closes gh-2000
(cherry picked from commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8)

9 years agoAjax: $.post and $.get can now take an options object
George Mauer [Tue, 6 Jan 2015 03:00:12 +0000 (21:00 -0600)]
Ajax: $.post and $.get can now take an options object

Fixes gh-1986
Closes gh-1995
(cherry picked from commit 89ce0af2cf7f001647e74fc1de92ce94a51fd5c2)

9 years agoBuild: Rearrange grunt/npm tasks into a build/dist/test pattern
Richard Gibson [Tue, 30 Dec 2014 02:07:03 +0000 (21:07 -0500)]
Build: Rearrange grunt/npm tasks into a build/dist/test pattern

Ref 76df9e4e389d80bff410a9e5f08b848de1d21a2f
Ref bb928bde7e7b85357fef3fedd450b04c03e965d7

Conflicts:
Gruntfile.js
package.json

9 years agoCore: Standardize indexOf comparisons
Richard Gibson [Wed, 31 Dec 2014 23:31:27 +0000 (18:31 -0500)]
Core: Standardize indexOf comparisons

not present: `< 0`
present: `> -1`
at index: `=== N`

(cherry picked from commit 53aa87f3bf4284763405f3eb8affff296e55ba4f)

Closes gh-1985

9 years agoCallbacks: Reduce size
Richard Gibson [Sun, 4 Jan 2015 01:48:54 +0000 (20:48 -0500)]
Callbacks: Reduce size

9 years agoCallbacks: Don't abort execution on .lock()
Richard Gibson [Sun, 4 Jan 2015 00:55:31 +0000 (19:55 -0500)]
Callbacks: Don't abort execution on .lock()

Fixes gh-1990
Closes gh-1991

9 years agoCallbacks: No object starts out locked
Richard Gibson [Fri, 2 Jan 2015 14:42:06 +0000 (09:42 -0500)]
Callbacks: No object starts out locked

Fixes gh-1989

9 years agoBuild: Specify valid components for commit messages
Richard Gibson [Sun, 7 Dec 2014 06:46:25 +0000 (01:46 -0500)]
Build: Specify valid components for commit messages

Closes gh-1909

(cherry picked from commit 0c9d018889944da3d60cac135dc38dfcc37ac14a)

9 years agoDocs: Clarify custom build instructions
Dave Methvin [Wed, 7 Jan 2015 03:15:53 +0000 (22:15 -0500)]
Docs: Clarify custom build instructions

Closes gh-1854
(cherry picked from commit a3779bc3254159f5a99e8204e69a0f0b9e191f6f)

9 years agoRelease: Remove copying of jquery-latest files
Dave Methvin [Wed, 7 Jan 2015 03:03:07 +0000 (22:03 -0500)]
Release: Remove copying of jquery-latest files

Closes gh-1942

9 years agoAjax: Fix cross-domain detection test for non-default port
Victor Homyakov [Wed, 7 Jan 2015 02:23:16 +0000 (21:23 -0500)]
Ajax: Fix cross-domain detection test for non-default port

Closes gh-1954

9 years agoMisc: Mac OS is now OS X, thanks @xfq
Dave Methvin [Wed, 7 Jan 2015 02:04:17 +0000 (21:04 -0500)]
Misc: Mac OS is now OS X, thanks @xfq

Closes gh-1970
(cherry picked from commit d30c482910bf35c5dbaec9c82174d1e6ae8839b5)

9 years agoEvent: Normalize mouse event properties in drag events
Aditya Raghavan [Sat, 20 Dec 2014 23:41:24 +0000 (18:41 -0500)]
Event: Normalize mouse event properties in drag events

DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.

Fixes gh-1925
(cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)

9 years agoBuild: Remove dates from copyright notice
Anne-Gaelle Colom [Thu, 1 Jan 2015 19:34:48 +0000 (19:34 +0000)]
Build: Remove dates from copyright notice

Closes gh-1983
(cherry picked from commit 66e1b6b8d49812239b5712d65922ff94c60f7b02)

Conflicts:
Gruntfile.js

9 years agoREADME: update the Homebrew site address
Michał Gołębiowski [Sat, 3 Jan 2015 18:42:37 +0000 (19:42 +0100)]
README: update the Homebrew site address

Thanks @xfq

(cherry-picked from b410b15e8da1a8d285f431640ff165e634196115)

Closes gh-1971

9 years agoEvent: Add reference to data module
Norman Xu [Wed, 17 Dec 2014 21:51:36 +0000 (21:51 +0000)]
Event: Add reference to data module

Since we are using _data() quite a lot in event module
and drop data/accepts as there is no direct reference

Ref gh-1948

9 years agoDeferred: Fix $.when with resolved deferred and progress callbacks
Nicolas HENRY [Tue, 9 Dec 2014 12:57:15 +0000 (12:57 +0000)]
Deferred: Fix $.when with resolved deferred and progress callbacks

Ref ab20d9d24f0a95df382c02e9ef3dcc4adb86e4f1

9 years agoOffset: fix iframe scrollTop/Left test for IE8 and iPhone
Oleg Gaidarenko [Wed, 24 Dec 2014 21:49:46 +0000 (00:49 +0300)]
Offset: fix iframe scrollTop/Left test for IE8 and iPhone

* IE8 need a doctype, otherwise IE will scroll it, but will
  still show old values. It wasn't noticable before, since IE8 will
  update values if in the dev tools you swtich to "Quirks mode"
  and then back again, then this tab will always show the correct values
  even if you update it

* iPhone resize the iframe by its content regardless of
  the width, height values, meaning it's not possible to scroll
  the iframe only its parent element

Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8