Commit Graph

5980 Commits

Author SHA1 Message Date
Michał Gołębiowski
f5aa89af70 Build: Update native-promise-only (again)
This should fix Android 4.0 jQuery.when tests issues, for reals this time.
2015-03-28 16:43:06 +01:00
Jon Hester
bd9a1385fe Tests: add the current version of node and iojs to the travis config
Close gh-2121
2015-03-26 17:11:30 -04:00
Michał Gołębiowski
95c0a10e15 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
2015-03-25 23:01:57 +01:00
Michał Gołębiowski
0065e1f3e3 Build: Update native-promise-only
This should fix Android 4.0 jQuery.when tests issues.

Closes gh-2159
2015-03-25 18:59:05 +01:00
Timmy Willison
98c25b7c80 Build: save sinon update for later
Fixes gh-2160
2015-03-24 11:44:55 -04:00
Michał Gołębiowski
62ae2d0fb7 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
2015-03-23 18:14:37 +01:00
Richard Gibson
555a50d340 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Richard Gibson
e22ef5d901 Tests: Expand CSS relative adjustment tolerance for IE
Ref 48be675200
2015-03-16 23:49:48 -04:00
Richard Gibson
48be675200 Tests: Fix CSS relative adjustment test for round-down browsers
Ref 9b03f6df88
2015-03-16 23:05:36 -04:00
Timmy Willison
7632b7454b Attributes: revert returning null for non-elements 2015-03-16 14:11:38 -04:00
Timmy Willison
5dc4616ca0 Attributes: fix failing test for new return value 2015-03-16 11:52:05 -04:00
Winston Howes
aaeed53e9f Attributes: return null when attribute does not exist
Fixes gh-2118
Close gh-2129
2015-03-16 11:21:24 -04:00
Rick Waldron
332fd941b4 Data: restore explicit data removal of private data in cleanData.
Fixes gh-2127
Closes gh-2132
2015-03-09 13:51:16 -04:00
Mr21
9b03f6df88 CSS: Support relative adjustment in any applicable unit
Fixes gh-1711
Closes gh-2011
2015-03-09 12:00:10 -04:00
Stephen Edgar
34da7d5529 Build: remove deprecated JSHint options
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.

Closes gh-2029
2015-03-08 06:30:01 +03:00
Oleg Gaidarenko
361a0d5150 Event: correct support comment
See discussion in
a5e1c9b44c
2015-03-08 06:23:49 +03:00
Rick Waldron
222ac3ad6b 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
2015-03-05 14:56:54 -05:00
Rick Waldron
d702b7637a 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
2015-03-04 17:26:47 -05:00
Jason Bedard
95fb798980 Data: avoid Object.defineProperties for nodes
Closes gh-1668
Fixes gh-1728
Ref gh-1734
Ref gh-1428
2015-03-04 14:32:24 -05:00
Oleg Gaidarenko
2380028ec4 Core: change jQuery.each and jQuery#each signatures
Fixes gh-2090
Closes gh-2097
2015-02-19 11:30:59 +03:00
Oleg Gaidarenko
a4715f4216 Ajax: remove use of jQuery#each second argument
Ref gh-2090
2015-02-19 11:30:59 +03:00
Oleg Gaidarenko
8356281bed Tests: make top of the HTML suite compliant with style guide
See http://contribute.jquery.org/style-guide/html/

Closes gh-2098
2015-02-19 11:30:57 +03:00
Oleg Gaidarenko
9d1b989f20 Ajax: remove deprecated extensions from ajax promise
Fixes gh-2084
Closes gh-2092
2015-02-17 09:58:45 +03:00
Oleg Gaidarenko
8b6aeae52d 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 2d5c5d213f
2015-02-15 02:22:09 +03:00
Oleg Gaidarenko
97ef1f2612 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
2015-02-15 02:05:39 +03:00
Oleg Gaidarenko
4ef120d3f2 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
2015-02-15 02:01:59 +03:00
Oleg Gaidarenko
0ac28ed293 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
2015-02-15 02:00:38 +03:00
Oleg Gaidarenko
fcb6c4d1d6 Core: simplify "each" stylesheet iteration test
Closes gh-2089
2015-02-15 01:16:27 +03:00
Jörn Zaefferer
2d5c5d213f Build: Update QUnit to latest (1.17.1)
Closes gh-2038
2015-02-15 01:14:41 +03:00
Oleg Gaidarenko
0c466438d1 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 4ab8603669
2015-02-11 22:46:28 +03:00
Oleg Gaidarenko
e984d1c79c Manipulation: don't auto-insert tbody
Fixes gh-1835
Closes gh-2021
2015-02-11 16:49:59 +03:00
Oleg Gaidarenko
0ea342a6a6 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
2015-02-10 23:44:01 +03:00
Michał Gołębiowski
45ec73f556 CSS: save 20 bytes in css/support
Refs gh-1842
2015-02-05 02:48:32 +01:00
Michał Gołębiowski
cdfc2d092a CSS: Fix the pixelMarginRight support test in Android 2.3 2015-02-05 01:41:10 +01:00
Michał Gołębiowski
3747cc642a 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
2015-02-04 13:51:56 +01:00
Timmy Willison
1ba45fcc15 Release: push dist to same remote as project 2015-01-30 12:53:28 -08:00
Timmy Willison
a76c781236 Release: remove sourcemap comment from all copies of minified file
Fixes gh-1707
2015-01-30 12:22:31 -08:00
Timmy Willison
e0673dfedb Release: fix CDN archive creation
Fixes gh-1940
2015-01-29 17:38:35 -08:00
Timmy Willison
aae998b544 Release: dist can be run during a test 2015-01-29 15:36:48 -08:00
Timmy Willison
61224f5fef Release: bower.json is actually generated from scratch 2015-01-29 12:25:57 -08:00
Timmy Willison
26eca143c2 Release: Distribute files to distribution repo
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045
2015-01-29 12:03:40 -08:00
Michał Gołębiowski
087d280ad1 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
2015-01-29 04:33:28 +01:00
Michał Gołębiowski
31f4f8e3f3 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
2015-01-29 04:21:35 +01:00
Oleg Gaidarenko
4fae91141c 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 30ace26c42)
2015-01-26 06:38:48 +03:00
Michał Gołębiowski
a5e1c9b44c Event: Add a note about a mouseenter bug in Chrome
Refs https://code.google.com/p/chromium/issues/detail?id=333868
2015-01-25 01:09:26 +01:00
Timmy Willison
e905dcd8f3 Release: update AUTHORS.txt 2015-01-19 12:02:13 -05:00
Timo Tijhof
4116914dca Core: Return empty array instead of null for parseHTML("")
Fixes gh-1997
Close gh-1998
2015-01-19 11:38:04 -05:00
Dave Methvin
d7e5fcee51 Event: HTML5 drop events inherit from MouseEvent
Fixes gh-2009
Ref gh-1925
2015-01-14 14:34:09 -05:00
Oleg Gaidarenko
74ae544483 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
2015-01-13 08:12:51 +03:00
Leonardo Braga
85ffc6d973 Manipulation: add support to tag-hyphenated elements
Fixes #1987
Closes gh-1988
2015-01-13 07:42:59 +03:00