Commit Graph

5604 Commits

Author SHA1 Message Date
Oleg Gaidarenko
fd80f5970f 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 97ef1f2612)
Closes gh-2033
2015-02-15 02:06:34 +03:00
Oleg Gaidarenko
1d3d2b1aa6 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 4ef120d3f2
2015-02-15 02:03:32 +03:00
Oleg Gaidarenko
4b3e63066d 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 0ac28ed293
2015-02-15 02:03:20 +03:00
Oleg Gaidarenko
889bb1e3ee Core: simplify "each" stylesheet iteration test
(cherry-picked from fcb6c4d1d6)
Closes gh-2089
2015-02-15 01:16:52 +03:00
Jörn Zaefferer
db31206d36 Build: Update QUnit to latest (1.17.1)
(cherry-picked from 2d5c5d213f)
Closes gh-2038
2015-02-15 01:15:45 +03:00
Oleg Gaidarenko
f2ea60cfe8 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 0c466438d1)

Fixes gh-1981
Ref 4ab8603669
2015-02-11 22:47:11 +03:00
Oleg Gaidarenko
939e755163 Manipulation: don't auto-insert tbody
Fixes gh-1835
Closes gh-2021
Ref e984d1c79c
2015-02-11 17:11:15 +03:00
Oleg Gaidarenko
b744a50d47 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 0ea342a6a6)

Closes gh-2031
Fixes gh-2002
2015-02-11 00:46:12 +03:00
Oleg Gaidarenko
3e8712062d Manipulation: simplification of manipulation wrappers
Since support for IE6-7 was dropped these wrappers no longer required

Ref 90d7cc1d8b
Ref gh-2002
Closes gh-2032
2015-02-10 23:23:24 +03:00
Michał Gołębiowski
4a67512f8b CSS: Fix the pixelMarginRight support test in IE8 2015-02-08 02:03:17 +01:00
Michał Gołębiowski
25bc6809c5 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 3747cc642a

Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061
2015-02-05 02:46:10 +01:00
Timmy Willison
5e5489cea5 Release: push dist to same remote as project
Conflicts:
	build/release/dist.js
2015-01-30 12:54:19 -08:00
Timmy Willison
f71d7f56e9 Release: remove sourcemap comment from all copies of minified file
Fixes gh-1707
2015-01-30 12:42:21 -08:00
Timmy Willison
7352216ca8 Release: fix CDN archive creation
Fixes gh-1940
2015-01-29 18:23:52 -08:00
Timmy Willison
dcd2c8f3e3 Release: dist can be run during a test 2015-01-29 15:36:58 -08:00
Timmy Willison
fc76a97b99 Release: Distribute files to distribution repo
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045

Conflicts:
	bower.json
	build/release.js
2015-01-29 15:31:14 -08:00
Michał Gołębiowski
4e3c48f239 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 087d280ad1)

Fixes gh-1938
Closes gh-2028
2015-01-29 04:44:41 +01:00
Michał Gołębiowski
2524da09c6 Ajax: Run the PATCH test only in IE8 on TestSwarm
Fixes gh-1994
Closes gh-2026
2015-01-29 04:32:07 +01:00
Michał Gołębiowski
ba352e83af 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 31f4f8e3f3)

Closes gh-2027
2015-01-29 04:24:32 +01:00
Michał Gołębiowski
f3e3a208de 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 a5e1c9b44c
2015-01-25 01:13:04 +01:00
Timmy Willison
8b0618c295 Release: update AUTHORS.txt 2015-01-19 12:03:14 -05:00
Timo Tijhof
61bb61279c Core: Return empty array instead of null for parseHTML("")
Fixes gh-1997
Close gh-1998

Conflicts:
	test/unit/core.js
2015-01-19 11:41:32 -05:00
Oleg Gaidarenko
30ace26c42 Manipulation: increase delay of data-URI test
For Safar7/Opera - shot in the dark, can't reproduce this locally

Ref gh-1993
2015-01-15 05:43:30 +03:00
Dave Methvin
a05de404d8 Event: HTML5 drop events inherit from MouseEvent
Fixes gh-2009
Ref gh-1925
(cherry picked from commit d7e5fcee51)

Conflicts:
	test/unit/event.js
2015-01-14 14:45:44 -05:00
Oleg Gaidarenko
87bb713cc0 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 5d522f5c74
2015-01-14 05:22:42 +03:00
Oleg Gaidarenko
96447575c2 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 74ae544483
2015-01-13 08:40:00 +03:00
Leonardo Braga
5d522f5c74 Manipulation: add support to tag-hyphenated elements
Ref #1987
Ref 85ffc6d973
2015-01-13 07:54:37 +03:00
Leonardo Braga
f19595cef4 Core: add support to tag-hyphenated elements
Ref #1987
Ref 534f13025a
2015-01-13 07:48:33 +03:00
Dave Methvin
abfb10c82e Build: Sanctify the component name status of Wrap
(cherry picked from commit a4133ffafa)
2015-01-11 22:27:56 -05:00
Dave Methvin
e2ec5da2a7 Core: Remove deprecated context and selector properties
Fixes gh-1908
Closes gh-2000
(cherry picked from commit 0ea8c32863)
2015-01-11 21:14:22 -05:00
George Mauer
26150f0910 Ajax: $.post and $.get can now take an options object
Fixes gh-1986
Closes gh-1995
(cherry picked from commit 89ce0af2cf)
2015-01-11 20:47:20 -05:00
Richard Gibson
07719736b7 Build: Rearrange grunt/npm tasks into a build/dist/test pattern
Ref 76df9e4e38
Ref bb928bde7e

Conflicts:
	Gruntfile.js
	package.json
2015-01-11 10:41:31 -05:00
Richard Gibson
6ae222a54f Core: Standardize indexOf comparisons
not present: `< 0`
present: `> -1`
at index: `=== N`

(cherry picked from commit 53aa87f3bf)

Closes gh-1985
2015-01-10 23:56:39 -05:00
Richard Gibson
18baae2efb Callbacks: Reduce size 2015-01-10 22:17:27 -05:00
Richard Gibson
fc7477f492 Callbacks: Don't abort execution on .lock()
Fixes gh-1990
Closes gh-1991
2015-01-10 21:25:00 -05:00
Richard Gibson
f5a8c649b5 Callbacks: No object starts out locked
Fixes gh-1989
2015-01-10 21:24:35 -05:00
Richard Gibson
6f0db5319d Build: Specify valid components for commit messages
Closes gh-1909

(cherry picked from commit 0c9d018889)
2015-01-10 21:19:09 -05:00
Dave Methvin
8e738f0aa8 Docs: Clarify custom build instructions
Closes gh-1854
(cherry picked from commit a3779bc325)
2015-01-06 22:17:15 -05:00
Dave Methvin
16fcc5e9e2 Release: Remove copying of jquery-latest files
Closes gh-1942
2015-01-06 22:03:35 -05:00
Victor Homyakov
b635ee2d36 Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
2015-01-06 21:23:16 -05:00
Dave Methvin
598946d09f Misc: Mac OS is now OS X, thanks @xfq
Closes gh-1970
(cherry picked from commit d30c482910)
2015-01-06 21:05:27 -05:00
Aditya Raghavan
5b0b1b77db 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)
2015-01-05 15:30:32 -05:00
Anne-Gaelle Colom
a0bf5bf710 Build: Remove dates from copyright notice
Closes gh-1983
(cherry picked from commit 66e1b6b8d4)

Conflicts:
	Gruntfile.js
2015-01-03 16:11:22 -05:00
Michał Gołębiowski
d588c852f0 README: update the Homebrew site address
Thanks @xfq

(cherry-picked from b410b15e8d)

Closes gh-1971
2015-01-03 19:43:57 +01:00
Norman Xu
2866da9e12 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
2014-12-31 17:43:03 +03:00
Nicolas HENRY
efb98f85ba Deferred: Fix $.when with resolved deferred and progress callbacks
Ref ab20d9d24f
2014-12-25 15:48:57 +03:00
Oleg Gaidarenko
62a333e064 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 ae30fb6c27
2014-12-25 00:55:15 +03:00
Oleg Gaidarenko
d632699c6b Offset: fix iframe scrollTop/Left test for IE8
Ref ae30fb6c27
2014-12-24 04:29:10 +03:00
Oleg Gaidarenko
dac716ca65 CSS: simplify hack of css getter for the computed values
Ref gh-1906
2014-12-24 02:46:09 +03:00
Oleg Gaidarenko
d9d8906cfd CSS: simplify "defaultDisplay" module
Ref 90d7cc1d8b
Ref gh-1961
2014-12-24 02:46:04 +03:00