]>
source.dussan.org Git - jquery.git/log
Timmy Willison [Sun, 3 May 2015 12:22:32 +0000 (08:22 -0400)]
Data: do not include digits when camelCasing
Fixes gh-1751
Oleg Gaidarenko [Mon, 27 Apr 2015 06:57:46 +0000 (09:57 +0300)]
Event: remove redundant guards for the event methods
Fixes gh-2047
Closes gh-2125
Oleg Gaidarenko [Mon, 27 Apr 2015 06:49:12 +0000 (09:49 +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
Oleg Gaidarenko [Thu, 2 Apr 2015 08:55:57 +0000 (11:55 +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
Oleg Gaidarenko [Sun, 8 Mar 2015 04:11:11 +0000 (07:11 +0300)]
Event: add support comment
Ref gh-2047
Oleg Gaidarenko [Thu, 30 Apr 2015 17:05:18 +0000 (20:05 +0300)]
Event: remove guard for falsy handler argument of jQuery#on method
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
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
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
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
Michał Gołębiowski [Sun, 26 Apr 2015 17:33:05 +0000 (19:33 +0200)]
Core: Test all factory use cases from intro.js
There is a lot of logic in intro.js; now we test four cases:
1. (implicitly, via QUnit tests) A real browser with window being the global
2. Browserify where there are both global & window variables.
3. Node with jsdom where window is passed manually to the jQuery factory.
4. Pure Node with incorrect window passed; jQuery should throw then.
Previously the second & fourth case was not tested and the third was tested
in a way that interfered with the main test environment.
We now also test if in the Browserify case we're not creating a jQuery global
by default.
Fixes gh-2181
Closes gh-2234
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.
Closes gh-2232
Michał Gołębiowski [Sun, 26 Apr 2015 15:22:46 +0000 (17:22 +0200)]
Core: Align branches: remove an unused variable, add comments
Closes gh-2233
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
Bastian Buchholz [Mon, 13 Apr 2015 08:37:42 +0000 (10:37 +0200)]
Attributes: remove unnecessary element null check
Close gh-2201
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
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
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
Michał Gołębiowski [Mon, 30 Mar 2015 20:44:18 +0000 (22:44 +0200)]
Docs: Add info about Sizzle not being excludable on the compat branch
Most people just read the README that's displayed to them on GitHub which
is the one for the master branch. Let's include the info about Sizzle
not being excludable there.
Fixes gh-2184
Timmy Willison [Mon, 30 Mar 2015 19:32:54 +0000 (15:32 -0400)]
Attributes: revert returning null for non-existant attributes
Ref https://github.com/jquery/jquery/issues/2118
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
Michał Gołębiowski [Fri, 20 Mar 2015 15:28:10 +0000 (16:28 +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.
Fixes gh-2153
Closes gh-2154
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.
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
Michał Gołębiowski [Wed, 25 Mar 2015 18:46:00 +0000 (19:46 +0100)]
Data: Drop the tests relying on applets
BrowserStack regularly has outdated Java in their IE instances causing our
data tests to hang & give no output. Skip the tests that create applets,
applets are treated in the same way as an embed elements which we're already
testing.
Fixes gh-1938
Closes gh-2166
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.
Closes gh-2159
Timmy Willison [Tue, 24 Mar 2015 15:44:51 +0000 (11:44 -0400)]
Build: save sinon update for later
Fixes gh-2160
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.
Fixes gh-2147
Richard Gibson [Mon, 29 Dec 2014 19:14:13 +0000 (14:14 -0500)]
Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996
Richard Gibson [Tue, 17 Mar 2015 03:05:36 +0000 (23:05 -0400)]
Tests: Expand CSS relative adjustment tolerance for IE
Ref
48be675200e817f40fa8ec25da1be2ab0839d28d
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
Timmy Willison [Mon, 16 Mar 2015 18:11:38 +0000 (14:11 -0400)]
Attributes: revert returning null for non-elements
Timmy Willison [Mon, 16 Mar 2015 15:52:05 +0000 (11:52 -0400)]
Attributes: fix failing test for new return value
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
Rick Waldron [Mon, 9 Mar 2015 16:03:43 +0000 (12:03 -0400)]
Data: restore explicit data removal of private data in cleanData.
Fixes gh-2127
Closes gh-2132
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
Stephen Edgar [Sun, 25 Jan 2015 03:43:05 +0000 (14:43 +1100)]
Build: remove deprecated JSHint options
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.
Closes gh-2029
Oleg Gaidarenko [Sun, 8 Mar 2015 03:23:49 +0000 (06:23 +0300)]
Event: correct support comment
See discussion in
https://github.com/jquery/jquery/commit/
a5e1c9b44c971fd7046d9a95bd0810e50840b663
Rick Waldron [Thu, 5 Mar 2015 19:56:54 +0000 (14:56 -0500)]
Data: updates to element[expando] cache
- removes descriptor allocation
- restore simplified cache creation
- adds early return from remove call where no data exists
- use Object.defineProperty
- remove unnecessary code path
Closes gh-2119
Rick Waldron [Mon, 11 Nov 2013 18:13:22 +0000 (13:13 -0500)]
Data: move element cache to element[expando]
- avoid explicit data.discard() cleanup calls
- explicitly remove the data.events property, only when private data exists
- reduces code footprint
Fixes gh-1734
Close gh-1428
Jason Bedard [Fri, 26 Sep 2014 15:55:48 +0000 (08:55 -0700)]
Data: avoid Object.defineProperties for nodes
Closes gh-1668
Fixes gh-1728
Ref gh-1734
Ref gh-1428
Oleg Gaidarenko [Tue, 17 Feb 2015 07:09:54 +0000 (10:09 +0300)]
Core: change jQuery.each and jQuery#each signatures
Fixes gh-2090
Closes gh-2097
Oleg Gaidarenko [Tue, 17 Feb 2015 07:05:25 +0000 (10:05 +0300)]
Ajax: remove use of jQuery#each second argument
Ref gh-2090
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/
Closes gh-2098
Oleg Gaidarenko [Sun, 15 Feb 2015 02:41:38 +0000 (05:41 +0300)]
Ajax: remove deprecated extensions from ajax promise
Fixes gh-2084
Closes gh-2092
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
Ref
2d5c5d213f09fa0205d07a2d60a36581058cc40a
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
Closes gh-2033
Oleg Gaidarenko [Tue, 10 Feb 2015 19:42:21 +0000 (22:42 +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
Oleg Gaidarenko [Mon, 26 Jan 2015 03:42:14 +0000 (06:42 +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
Oleg Gaidarenko [Fri, 13 Feb 2015 18:50:24 +0000 (21:50 +0300)]
Core: simplify "each" stylesheet iteration test
Closes gh-2089
Jörn Zaefferer [Mon, 26 Jan 2015 18:24:59 +0000 (19:24 +0100)]
Build: Update QUnit to latest (1.17.1)
Closes gh-2038
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
Fixes gh-1981
Ref
4ab8603669e2bbc8644e402927c33ce422d7aaa3
Oleg Gaidarenko [Wed, 21 Jan 2015 18:47:03 +0000 (21:47 +0300)]
Manipulation: don't auto-insert tbody
Fixes gh-1835
Closes gh-2021
Oleg Gaidarenko [Thu, 22 Jan 2015 23:34:29 +0000 (02:34 +0300)]
Manipulation: simplify html wrappers
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element
Closes gh-2031
Fixes gh-2002
Michał Gołębiowski [Thu, 5 Feb 2015 01:11:58 +0000 (02:11 +0100)]
CSS: save 20 bytes in css/support
Refs gh-1842
Michał Gołębiowski [Thu, 5 Feb 2015 00:41:10 +0000 (01:41 +0100)]
CSS: Fix the pixelMarginRight support test in Android 2.3
Michał Gołębiowski [Wed, 5 Nov 2014 17:27:01 +0000 (18:27 +0100)]
CSS: Restore the hack to get pixels for .css('width') 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 gh-1815
Refs gh-1820
Closes gh-1842
Timmy Willison [Fri, 30 Jan 2015 20:46:48 +0000 (12:46 -0800)]
Release: push dist to same remote as project
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
Timmy Willison [Fri, 30 Jan 2015 00:21:39 +0000 (16:21 -0800)]
Release: fix CDN archive creation
Fixes gh-1940
Timmy Willison [Thu, 29 Jan 2015 23:36:48 +0000 (15:36 -0800)]
Release: dist can be run during a test
Timmy Willison [Thu, 29 Jan 2015 20:25:57 +0000 (12:25 -0800)]
Release: bower.json is actually generated from scratch
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
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.
Fixes gh-1938
Closes gh-2028
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/
Closes gh-2027
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
Fixes gh-1993
(cherry-picked from
30ace26c42954497e44f19e8c7fa100de45c489e )
Michał Gołębiowski [Sun, 25 Jan 2015 00:09:26 +0000 (01:09 +0100)]
Event: Add a note about a mouseenter bug in Chrome
Refs https://code.google.com/p/chromium/issues/detail?id=333868
Timmy Willison [Mon, 19 Jan 2015 17:02:13 +0000 (12:02 -0500)]
Release: update AUTHORS.txt
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
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
Oleg Gaidarenko [Tue, 13 Jan 2015 05:12:14 +0000 (08:12 +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
Closes gh-1968
Leonardo Braga [Mon, 5 Jan 2015 00:02:39 +0000 (19:02 -0500)]
Manipulation: add support to tag-hyphenated elements
Fixes #1987
Closes gh-1988
Leonardo Braga [Sun, 4 Jan 2015 22:48:35 +0000 (17:48 -0500)]
Core: add support to tag-hyphenated elements
Ref #1987
Dave Methvin [Mon, 12 Jan 2015 03:24:02 +0000 (22:24 -0500)]
Build: Sanctify the component name status of Wrap
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
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
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
Closes gh-1980
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`
Closes gh-1984
Richard Gibson [Sun, 4 Jan 2015 01:48:54 +0000 (20:48 -0500)]
Callbacks: Reduce size
(cherry picked from commit
18baae2efb36a6c759c0dddac7d25da9c554dff7 )
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
(cherry picked from commit
fc7477f4927100f23f83c22b5142a42d1eac8502 )
Richard Gibson [Fri, 2 Jan 2015 14:42:06 +0000 (09:42 -0500)]
Callbacks: No object starts out locked
Fixes gh-1989
(cherry picked from commit
f5a8c649b54e8b7fde6253bd56972347f9bbe012 )
Richard Gibson [Sun, 7 Dec 2014 06:46:25 +0000 (01:46 -0500)]
Build: Specify valid components for commit messages
Closes gh-1909
Dave Methvin [Fri, 9 Jan 2015 21:39:41 +0000 (16:39 -0500)]
Docs: Fix README uppercase
Dave Methvin [Wed, 7 Jan 2015 03:15:53 +0000 (22:15 -0500)]
Docs: Clarify custom build instructions
Closes gh-1854
Dave Methvin [Wed, 7 Jan 2015 02:59:14 +0000 (21:59 -0500)]
Release: Remove copying of jquery-latest files
Victor Homyakov [Fri, 19 Dec 2014 12:23:02 +0000 (15:23 +0300)]
Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
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
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
Anne-Gaelle Colom [Thu, 1 Jan 2015 19:34:48 +0000 (19:34 +0000)]
Build: Remove dates from copyright notice
Closes gh-1983
Michał Gołębiowski [Sat, 3 Jan 2015 18:42:37 +0000 (19:42 +0100)]
README: update the Homebrew site address
Thanks @xfq
Closes gh-1971
Michał Gołębiowski [Thu, 11 Sep 2014 20:18:34 +0000 (15:18 -0500)]
Build: Don't assume the browser environment; smoke test on Node w/ jsdom
Fixes gh-1950
Closes gh-1949
Nicolas HENRY [Tue, 9 Dec 2014 12:57:15 +0000 (12:57 +0000)]
Deferred: Fix $.when with resolved deferred and progress callbacks
Fixes gh-1894
Closes gh-1915
Shivaji Varma [Wed, 12 Nov 2014 10:29:41 +0000 (15:59 +0530)]
Ajax: simplify jQuery.parseXML method
-2 bytes to the gzipped size and code looks a bit nicer
This wasn't landed to the compat branch though, since size would increase
with this cherry-pick
Closes gh-1856
Oleg Gaidarenko [Thu, 25 Dec 2014 01:49:56 +0000 (04:49 +0300)]
Offset: don't run scrollTop/scrollLeft iframe test in mobile Safari
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
62a333e0646d3011377ed13a6fcfbb08e91e2bef
Oleg Gaidarenko [Sun, 21 Dec 2014 20:21:27 +0000 (23:21 +0300)]
CSS: simplify "defaultDisplay" module
Closes gh-1962
Oleg Gaidarenko [Mon, 8 Dec 2014 07:32:57 +0000 (10:32 +0300)]
Manipulation: make wrapAll funarg execute only once
Fixes gh-1843
Closes gh-1912
Mike Sidorov [Mon, 15 Dec 2014 08:06:09 +0000 (13:06 +0500)]
Data: shave off a couple of bytes
Closes gh-1931
Victor Homyakov [Thu, 18 Dec 2014 19:51:44 +0000 (22:51 +0300)]
Data: speed up $.fn.data() for camel-cased key
Fixes gh-1941
Closes gh-1952
Aditya Raghavan [Sat, 20 Dec 2014 09:08:44 +0000 (04:08 -0500)]
CSS: Add unit tests for negative margins and positioning
Closes gh-1957
Aditya Raghavan [Sun, 21 Dec 2014 02:52:17 +0000 (21:52 -0500)]
Event: fix incorrect window bug with scrollTop/Left in iframes
Fixes gh-1945
Closes gh-1959
Timmy Willison [Wed, 17 Dec 2014 16:17:41 +0000 (11:17 -0500)]
Build: Sizzle version labels must start with a dash