Commit Graph

5524 Commits

Author SHA1 Message Date
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
Oleg Gaidarenko
7230df15ac Traversing: simplify jQuery#contents method
Ref 90d7cc1d8b
Ref gh-1961
2014-12-24 02:45:56 +03:00
Oleg Gaidarenko
3dcee02160 Manipulation: make wrapAll funarg execute only once
Ref 359b03cac7
2014-12-24 01:58:39 +03:00
Aditya Raghavan
ae30fb6c27 CSS: Add unit tests for negative margins and positioning
Ref 1b932bb786
2014-12-24 00:35:54 +03:00
Aditya Raghavan
2c14b00a86 Event: add test for window scrollTop/Left logic in iframes
Ref d21edb599d
2014-12-24 00:33:32 +03:00
Timmy Willison
6bc0e50810 Build: Sizzle version labels must start with a dash 2014-12-17 11:17:51 -05:00
Timmy Willison
dda65fb13c Build: update node dependencies 2014-12-17 10:43:14 -05:00
Timmy Willison
ac70dd0c8d Build: account for version labels in Sizzle versions
Fixes gh-1939
2014-12-17 10:43:13 -05:00
Dave Methvin
d39fef8472 Authors: Update AUTHORS.txt and .mailmap 2014-12-16 21:49:54 -05:00
Timmy Willison
238bc32a11 Sizzle: update 2.1.1 2014-12-15 12:33:46 -05:00
Oleg Gaidarenko
3d77c2ee1e README: various text fixes
Thank you @essamjoubori, @bcbcb, @namlede

Ref 31b63fc236
2014-12-15 16:09:49 +03:00
Michał Gołębiowski
a4e31a8e2c Support: Correct iOS 8 support test results, re-arrange entries 2014-12-13 21:45:58 +01:00
Ben Toews
de7ae8cd17 Ajax: use anchor tag for parsing urls
Fixes gh-1875
Closes gh-1880
(cherry picked from commit 5a75278e4c5359e07303fc4d8e78a1cf94f6ad65)

Conflicts:
	src/ajax.js
2014-12-11 15:47:23 -05:00
Jason Bedard
9d1d90e7a2 Data: use removeAttribute in cleanData to bypass Chrome bug
Related:
https://code.google.com/p/chromium/issues/detail?id=378607

Fixes gh-1664
2014-12-10 11:47:54 -05:00
Timmy Willison
57652eecd9 Build: fix tests in AMD mode 2014-12-10 10:18:59 -05:00
Timmy Willison
828a718aa0 Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left out
Close gh-1506
2014-12-10 10:08:04 -05:00
Dave Methvin
51564bbd39 Event: Empty namespaces should be uneventfully ignored
Thanks @hamishdickson for the report!

Closes gh-1769
(cherry picked from commit 8653068dd6)
2014-12-09 20:10:56 -05:00
Dave Methvin
1ece10fbee Css: Remove non-functional unit test for negative margin
Thanks @MatthewMueller

Closes gh-1474
Ref gh-1918
(cherry picked from commit 30b3b33251abc38386b787c64494265177302b86)
2014-12-09 16:43:12 -05:00
Michał Gołębiowski
7e70867805 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.

(refs 43faf6d1f9)
2014-12-09 21:10:31 +01:00
Daniel Husar
4cc4e54298 Core: Simplify and speed up .each
Closes gh-1510

(cherry picked from commit eeda11cdd6)
2014-12-09 01:47:40 -05:00
Michał Gołębiowski
aec41a5c41 Attributes: Simplify the option val hook; backport a test from master
The hook is still defined; not using it could cause issues in IE<11.
Backport the test from the master branch.

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.

(cherry-picked from f6302b0b53)

Fixes gh-1902
Closes gh-1901
2014-12-08 22:51:55 +01:00
Michał Gołębiowski
90d7cc1d8b Misc: Drop support for older browsers; update support comments
That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.

Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
2014-12-08 21:12:33 +01:00
Oleg Gaidarenko
a467f8653a Manipulation: improve test for data-URI
Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion
2014-12-08 09:23:06 +03:00
Veaceslav Grimalschi
ef93f95452 Event: Fully clean up events in unit test
Closes gh-1685
(cherry picked from commit 4467ed606a)
2014-12-07 21:31:39 -05:00
Dave Methvin
61df648651 Callbacks: Disabling a callback should prevent firing
Thanks to @TheDistantSea for the report!

Fixes gh-1790
Closes gh-1643
(cherry picked from commit bc1cb122db)
2014-12-07 21:00:45 -05:00
Dave Methvin
faf295a6d8 Manipulation: Plug an IE8 memory leak in noCloneEvent feature detect
Fixes gh-1840

This feature detect could be simplified now that the only supported browser
with this problem is IE8.
2014-12-06 16:56:41 -05:00
Richard Gibson
4365133def Tests: Tilt at a few style guide windmills
Ref 3c13f4c629

(cherry picked from commit 906caebb3f)
2014-12-06 13:33:02 -05:00
Richard Gibson
b747537f9e Tests: Accommodate page changes from the QUnit HTML reporter
Ref 6748ba3496

(cherry picked from commit 3c13f4c629)
2014-12-06 13:33:02 -05:00
Richard Gibson
f6f8848fbe Tests: Minor updates for QUnit 1.16 compatibility
More to come later.
2014-12-05 12:32:49 -05:00
Richard Gibson
b6e31a8833 Tests: Update QUnit
(cherry picked from commit 6748ba3496)
2014-12-05 12:32:23 -05:00
David Corbacho
2138f158be Build: Remove empty define({}) from build output
Fixes gh-1768
Closes gh-1569
(cherry picked from commit 2c1b556d98)
2014-12-04 16:48:28 -05:00