Commit Graph

6092 Commits

Author SHA1 Message Date
Oleg Gaidarenko
288028b520 Build: add npm-debug.log to .gitignore 2016-02-13 22:35:59 +03:00
Oleg Gaidarenko
ff96024cf0 Build: remove npm-debug file 2016-02-13 21:37:11 +03:00
Oleg Gaidarenko
fc50791469 Tests: use jQuery variable instead of $
For some reason that works with `amd` but not with builded version

Fixes gh-2909
2016-02-13 21:22:15 +03:00
Oleg Gaidarenko
43a0b5e09d Build: simplify and correct .editorconfig 2016-02-11 22:59:09 +03:00
Oleg Gaidarenko
a2f63ffd96 Tests: test element position outside view
Ref 49833f7795
Ref gh-2828
Ref gh-2836
Fixes gh-2909
2016-02-11 22:59:09 +03:00
Timmy Willison
5943f1d7ff Build: use hard-coded path to sizzle in selector-sizzle
Fixes gh-2898
2016-02-10 13:47:25 -08:00
Michał Gołębiowski
c7431c7793 Build: Drop testing on jsdom with Node 0.10 & 0.12
Fixes gh-2841
2016-02-10 12:57:49 +01:00
Michał Gołębiowski
991e3f3e2a Build: Move the stripJSONComments variable to the function that uses it 2016-02-10 12:54:25 +01:00
Michał Gołębiowski
3f46cec169 Build: Stop removing the JSHint onevar option, it's no longer there 2016-02-09 10:18:19 +01:00
Oleg Gaidarenko
f52fa81811 Tests: account for new offset tests
Ref 49833f7795
2016-02-09 00:27:03 +03:00
Oleg Gaidarenko
49833f7795 Revert "Offset: account for scroll when calculating position"
This reverts commit 2d715940b9.

This commit provoked new issues: gh-2836, gh-2828.

At the meeting, we decided to revert offending commit
(in all three branches - 2.2-stable, 1.12-stable and master)
and tackle this issue in 3.x.

Fixes gh-2828
2016-02-09 00:24:22 +03:00
Michał Gołębiowski
9cb89bf91d Attributes: Add a support comment & fix a link @ tabIndex hook
Ref gh-2664
2016-02-03 11:49:19 +01:00
Oleg Gaidarenko
f1300f1887 Tests: fix another traverse test
Tricky test - if isolated, was executed fine, but falling
if runned with other tests

Ref b97c8d30c5
2016-01-31 12:09:48 +03:00
Oleg Gaidarenko
b97c8d30c5 Tests:Build: update qunit and fix incorrect test
* Update QUnit to the latest version (1.20.0)

* Corrected test was dependent on QUnit UI, which is always a bad idea
2016-01-29 21:22:52 +03:00
Oleg Gaidarenko
f0f4ef7475 Build: add scripts.precommit script
It was losted while merging gh-2881
2016-01-29 02:41:04 +03:00
Jha Naman
d94c453979 Build: run linters on git-commit
Fixes gh-2577
Closes gh-2881
2016-01-29 02:34:55 +03:00
Timmy Willison
25068bf2c6 Selector: add jQuery.escapeSelector
Fixes gh-1761
Close gh-2878
2016-01-28 17:25:41 -05:00
Timmy Willison
a8c0194d3d CSS: Add test for gh-2867 2016-01-27 11:36:34 -05:00
Todor Prikumov
35c314827d CSS: Make sure elem.ownerDocument.defaultView is not null
Fixes gh-2866
Close gh-2867
2016-01-27 11:35:51 -05:00
Bernhard M. Wiedemann
1de8346729 Docs: use https where possible
Close gh-2875
2016-01-27 10:52:43 -05:00
Michał Gołębiowski
abb5715807 Build: switch from win-spawn to cross-spawn
The win-spawn package is deprecated.

Refs gh-2877
Refs 67c96a59f5
2016-01-27 13:02:58 +01:00
Michał Gołębiowski
67c96a59f5 Build: Update npm deps, fix Sinon npmcopy config
All deps were updated except:
 * jsdom - tests using a Symbol polyfill are hacky and break with newer jsdom;
   we need to re-do them properly first
 * qunitjs - versions 1.19.0 & 1.20.0 introduce race conditions to the tests,
   making the fail randomly

Those two packages will be updated once issues related to them get resolved.

Fixes gh-2877
2016-01-27 12:54:39 +01:00
Michał Gołębiowski
6600e2e2b9 Build: Add .npmrc with save-exact=true
This makes commands like `npm install package --save-dev` always get saved
to package.json as a pinned version and not as a `^`-delimited range.
2016-01-27 12:26:52 +01:00
Michał Gołębiowski
dda87f6b16 Build: enable JSCS for test/unit/support.js, fix styling issues 2016-01-27 12:14:17 +01:00
Zack Hall
28f0329a02 Tests: Set Edge's expected support for clearCloneStyle to true
This is done for a version 13 or newer as the bug still exists in Edge 12.

Closes gh-2857
2016-01-27 12:14:04 +01:00
Michał Gołębiowski
0b0d4c634a Tests: Fix manipulation tests in Android 4.4
Chromium < 35 incorrectly upper-cases µ; Android 4.4 uses such a version by
default (and its WebView, being un-updatable, will use it for eternity) so we
need to blacklist that one for the tests to pass.
2016-01-27 12:02:00 +01:00
Richard Gibson
2868db0d41 Core: Update isNumeric tests for pre-ES2015 safety
Ref 7103d8ef47
2016-01-24 19:51:06 -05:00
Steve Mao
7103d8ef47 Core: Improve isNumeric logic and test coverage
Also add back accidentally deleted comments about the implementation.

Fixes gh-2780
Ref gh-2663
Ref gh-2781
Closes gh-2827
2016-01-24 19:07:09 -05:00
Timmy Willison
e04e246552 Effects: remove width/height exception for oldIE
Fixes gh-2488
Close gh-2849
2016-01-21 11:28:55 -05:00
Timmy Willison
a6fc0b1651 CSS: isHidden -> isHiddenWithinTree
Fixes gh-2404
Close gh-2855
2016-01-21 11:27:39 -05:00
Timmy Willison
4d3050b3d8 Traversing: restore jQuery push behavior in .find
Fixes gh-2370
Close gh-2848
2016-01-20 13:23:01 -05:00
Michał Gołębiowski
5c01cb1cc4 Tests: Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser
Some Chrome versions newer than 30 but older than 42 display the "undefined is
not a function" error, not mentioning the function name. This has been fixed
in Chrome 42. Relax two tests to allow for this divergence in older Chromoiums.

This affects our Android 5.0 & Yandex.Browser testing.
2016-01-20 13:54:31 +01:00
Timmy Willison
250fd800a1 Ajax: add serialize to AMD dependencies
Fixes gh-2842
2016-01-19 12:37:41 -05:00
Devin Wilson
17f0e26ad9 Event: Fix chaining .on() with null handlers
Fixes gh-2846
2016-01-19 12:27:58 -05:00
Timmy Willison
780cac802b Attributes: fix setting selected on an option in IE<=11
Fixes gh-2732
Close gh-2840
2016-01-19 11:36:47 -05:00
Richard Gibson
fe05cf37ff CSS: Stop Firefox from treating disconnected elements as cascade-hidden
Fixes gh-2833
Ref dba93f79c4
Close gh-2835
2016-01-14 17:53:39 -05:00
Timmy Willison
dbc4608ed1 Docs: add note about code organization with AMD
Fixes gh-2750
Close gh-2832
2016-01-14 13:09:40 -05:00
Timmy Willison
10c1254d15 Docs: remove compat references 2016-01-14 12:22:45 -05:00
Timmy Willison
deb68280e5 Release: update AUTHORS.txt 2016-01-13 16:45:27 -05:00
Richard Gibson
dba93f79c4 CSS: Restore cascade-override behavior in .show
Fixes gh-2654
Fixes gh-2308
Close gh-2810
Ref 86419b10bf
2016-01-13 16:05:09 -05:00
Richard Gibson
a268f5225c Traversing: Never let .closest() match positional selectors
Fixes gh-2796
Close gh-2818
2016-01-13 13:37:11 -05:00
Martijn W. van der Lee
0e2f8f9eff Traversing: .not/.filter consistency with non-elements
Fixes gh-2808
Close gh-2809
2016-01-13 13:33:01 -05:00
Jon Dufresne
b0b280cd61 Docs: Updated links to https where they are supported.
Close gh-2746
2016-01-13 13:26:10 -05:00
Richard Gibson
605413994f Docs: Reference new feature guidelines and API tenets
Fixes gh-2320
Close gh-2697
2016-01-13 13:22:34 -05:00
Henry Wong
1712457fbc Tests: fixed grammar in comment
Close gh-2757
2016-01-13 13:20:20 -05:00
Josh Soref
aae44111e2 Docs: Fix various spelling errors
Closes gh-2761
2016-01-13 13:11:11 -05:00
Dave Methvin
36a7cf9b1e Deferred: Warn on exceptions that are likely programming errors
Fixes gh-2736
Closes gh-2737
2016-01-13 12:39:58 -05:00
Dave Methvin
bdf1b8f317 Deferred: Remove undocumented progress notifications in $.when
Fixes gh-2710
Closes gh-2816
2016-01-13 12:21:17 -05:00
Timmy Willison
f5fb8d71cb Build: Encode non-ASCII as \uXXXX 2016-01-11 11:42:33 -05:00
Timmy Willison
5c4be05d3b Selector: update Sizzle to 2.3.0 2016-01-11 11:25:36 -05:00