]>
source.dussan.org Git - jquery.git/log
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
Timmy Willison [Wed, 17 Dec 2014 15:42:23 +0000 (10:42 -0500)]
Build: update node dependencies
Timmy Willison [Wed, 17 Dec 2014 15:35:59 +0000 (10:35 -0500)]
Build: account for version labels in Sizzle versions
Fixes gh-1939
Dave Methvin [Wed, 17 Dec 2014 01:36:46 +0000 (20:36 -0500)]
Authors: Update AUTHORS.TXT and .mailmap
Timmy Willison [Mon, 15 Dec 2014 17:30:43 +0000 (12:30 -0500)]
Sizzle: update to 2.1.1
Oleg Gaidarenko [Mon, 15 Dec 2014 00:48:53 +0000 (19:48 -0500)]
README: various text fixes
Thank you @essamjoubori, @bcbcb, @namlede
Closes gh-1926
Closes gh-1927
Closes gh-1928
Michał Gołębiowski [Sat, 13 Dec 2014 20:41:04 +0000 (21:41 +0100)]
Support: Correct iOS 8 support test results, re-arrange entries
Ben Toews [Sun, 23 Nov 2014 01:29:13 +0000 (18:29 -0700)]
Ajax: use anchor tag for parsing urls
Fixes gh-1875
Closes gh-1880
Timmy Willison [Wed, 10 Dec 2014 14:48:55 +0000 (09:48 -0500)]
Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left out
Close gh-1505
Dave Methvin [Wed, 10 Dec 2014 00:59:56 +0000 (19:59 -0500)]
Event: Empty namespaces should be uneventfully ignored
Thanks @hamishdickson for the report!
Closes gh-1769
Timmy Willison [Tue, 9 Dec 2014 23:00:06 +0000 (18:00 -0500)]
Core: revert addition of createHTMLDocument. Thanks, Safari 8.
- Safari 8 has issues when the HTML string contains forms.
Closing tags are not respected.
Dave Methvin [Tue, 9 Dec 2014 21:30:22 +0000 (16:30 -0500)]
Css: Remove non-functional unit test for negative margin
Thanks @MatthewMueller
Closes gh-1474
Ref gh-1918
Timmy Willison [Tue, 9 Dec 2014 21:37:30 +0000 (16:37 -0500)]
Core: pass empty string to createHTMLDocument to appease IE
Timmy Willison [Tue, 9 Dec 2014 20:57:12 +0000 (15:57 -0500)]
Core: remove unnecessary support test for createHTMLDocument
Timmy Willison [Tue, 9 Dec 2014 20:39:24 +0000 (15:39 -0500)]
Build: fix tests in AMD mode
Frederic Hemberger [Tue, 9 Dec 2014 20:13:46 +0000 (15:13 -0500)]
Core: use document.implemenation.createHTMLDocument in jQuery.parseHTML
Close gh-1505
Michał Gołębiowski [Tue, 9 Dec 2014 20:05:31 +0000 (21:05 +0100)]
Support: Re-organize browser order, add Safari 8
Most browsers were put in order newest to oldest, Android was
treated differently; this has been fixed.
Also, browsers that share test results between different versions were
grouped together.
Daniel Husar [Fri, 7 Feb 2014 10:30:13 +0000 (10:30 +0000)]
Core: Simplify and speed up .each
Closes gh-1510
Michał Gołębiowski [Thu, 4 Dec 2014 13:43:35 +0000 (14:43 +0100)]
Attributes: Use the option val hook in select val hook and simplify it
The hook is still defined; not using it could cause issues in IE<11.
Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.
Fixes gh-1902
Closes gh-1901
Oleg Gaidarenko [Sun, 7 Dec 2014 10:01:16 +0000 (13:01 +0300)]
Manipulation: improve test for data-URI
Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion
Ref
a467f8653a6fab2903148df80ab0ce9f5f4fd04f
Veaceslav Grimalschi [Wed, 8 Oct 2014 11:24:55 +0000 (15:24 +0400)]
Event: Fully clean up events in unit test
Closes gh-1685