Dave Methvin
df2051cf59
Ajax: Ensure ajaxSettings.traditional is still honored
...
Fixes gh-3023
Closes gh-3081
Since .param() no longer looks at this setting we need unit tests
to ensure it is still honored by $.ajax().
2016-04-27 09:06:43 -04:00
Alexander K
4f270427d2
Serialize: .param - don't use ajaxSettings.traditional
...
Ref gh-3023
Closes gh-3030
2016-04-27 09:05:30 -04:00
Michał Gołębiowski
3b356cfde4
Build: Strip the strict-mode related comment in exports/global.js
...
The comment (& the JSHint pragma) doesn't make sense in the context of the
full built file.
Closes gh-3078
2016-04-26 22:50:22 +02:00
Michał Gołębiowski
0652c4d6a2
Build: Strip excessive "use strict" pragmas when building
...
Fixes gh-3077
2016-04-26 22:50:18 +02:00
Michał Gołębiowski
ab5ce70cb5
Build: test on Node.js 6
2016-04-26 22:44:11 +02:00
Michał Gołębiowski
ff1a0822f7
CSS: Don't workaround the IE 11 iframe-in-fullscreen sizing issues
...
IE 11 used to have an issue where if an element inside an iframe was put
in fullscreen mode, the element dimensions started being 100 times too small;
we've added a workaround that would multiply them by 100. However, the IE 11
issue has been unexpectedly fixed and since our detection was really detecting
the browser and not a bug, we've started breaking the browser instead of fixing
it.
Since there's no good way to detect if the bug exists, we have to back the
workaround out completely.
Fixes gh-3041
Refs gh-1764
Refs gh-2401
Refs 90d828bad0
2016-04-26 21:19:54 +02:00
Richard Gibson
f496182216
Tests: Weaken sync-assumption from jQuery.when to jQuery.ready.then
2016-04-26 10:14:53 -04:00
Michał Gołębiowski
305f193aa5
Build: Put all AMD modules in "src/" in strict mode
...
Fixes gh-3073
2016-04-25 20:25:08 +02:00
Richard Gibson
e2d1142c2e
Build: Fix grunt-compare-size branch-tip storage
2016-04-23 23:18:18 -04:00
Richard Gibson
cf1497a58c
Build: A more modest block-level function proposal
...
This reverts commit fa610da684
.
2016-04-23 22:14:25 -04:00
Richard Gibson
a51cb25965
Build: Update dependencies
...
Ref bc39338d35
2016-04-23 21:52:00 -04:00
Michał Gołębiowski
bc39338d35
Build: Revert grunt from 1.0.1 to 0.4.5
...
grunt-compare-size specifies grunt ">= 0.4.0 < 0.5" in its peerDependencies
which makes `npm install` break with npm <3.
Refs rwaldron/grunt-compare-size#25
2016-04-23 20:53:09 +02:00
Michał Gołębiowski
fa610da684
Build: Workaround strict mode violations caused by UglifyJS
...
This commit increases the gzipped size by 90 bytes so a better solution
is needed but, at the same time, it disables the very optimizations
that are causing strict mode violations in Firefox 45, Safari 9 & IE 10.
Refs 76084372c2
Refs mishoo/UglifyJS2#1052
2016-04-23 20:30:00 +02:00
Michał Gołębiowski
aa0ebad86b
Build: Update dependencies (except jsdom)
2016-04-23 19:25:47 +02:00
Richard Gibson
3befe5911a
Offset: Resolve strict mode ClientRect "no setter" exception
2016-04-23 00:31:28 -04:00
Richard Gibson
76084372c2
Deferred: Remove default callback context
...
Employs strict mode to simplify Deferred callback context handling.
Fixes gh-3060
Closes gh-3061
2016-04-23 00:30:48 -04:00
Dave Methvin
84427591cc
Misc: Add issue and pull request templates
...
Fixes gh-2929
Closes gh-3070
2016-04-22 15:09:23 -04:00
Dave Methvin
e5ffcb0838
Tests: Refactor testIframe() to make it DRYer and more consistent
...
Ref gh-3040
Closes gh-3049
2016-04-11 13:32:51 -04:00
Dave Methvin
08d73d7f9c
Tests: Make iframe tests wait after checking isReady
...
Ref gh-3040
2016-04-11 13:29:11 -04:00
Richard Gibson
755e7ccf01
CSS: Toggle detached elements as visible unless they have display: none
...
Fixes gh-2863
Closes gh-3037
2016-04-11 13:21:11 -04:00
Oleg Gaidarenko
ce6c83f710
Core: add test for jQuery.isPlainObject(localStorage)
...
Ref gh-3045
2016-04-08 13:54:23 +03:00
Richard Gibson
91850ecbbe
Serialize: Reduce size
...
Ref 9fdbdd393a
2016-04-05 10:54:37 -04:00
Joe Trumbull
9fdbdd393a
Serialize: Treat literal and function-returned null/undefined the same
...
Fixes gh-3005
Closes gh-3007
2016-04-05 10:38:56 -04:00
Oleg Gaidarenko
5d20a3c3f1
Ajax: execute jQuery#load callback with correct context
...
Thanks @blq (Fredrik Blomqvist)
Fixes gh-3035
Close gh-3039
2016-04-04 16:22:35 -04:00
Oleg Gaidarenko
c158f5761a
Tests: do not run IE9 effect tests if inside testswarm
...
That test doesn't work properly in such environment
Ref e04e246552
Fixes gh-2888
Closes gh-3034
2016-04-04 21:58:33 +03:00
Richard Gibson
e0d3bfa770
Core: Simplify isPlainObject
...
Fixes gh-2986
Close gh-2998
2016-04-04 12:02:13 -04:00
Timmy Willison
10fc59007d
Core: set the base href of the context in parseHTML
...
Fixes gh-2965
Close gh-3022
2016-04-04 11:30:27 -04:00
Timmy Willison
5cbb234dd3
Core: implement ready without Deferred
...
- Make jQuery.ready promise-compatible
- Gives up sync guarantee for post-ready callbacks
Fixes gh-1778
Fixes gh-1823
Close gh-2891
2016-04-04 11:26:22 -04:00
Michał Gołębiowski
6072d150d6
Docs: Update support comments to follow the new syntax
...
The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
2016-03-30 23:45:17 +02:00
Michał Gołębiowski
693f1b537b
Docs: Update support comments related to IE
...
All support comments were checked for Edge applicability.
2016-03-30 11:21:36 +02:00
Michał Gołębiowski
622db29d9c
Docs:Tests: Remove legacy code & add support comments where needed
...
This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.
Refs 90d7cc1d8b
2016-03-30 11:21:36 +02:00
Oleg Gaidarenko
44cb97e0cf
Support: improve support properties computation
...
* Remove div from the memory if it is not needed anymore
* Make `computeStyleTests` method a singleton
Fixes gh-3018
Closes gh-3021
2016-03-28 19:24:31 +03:00
Oleg Gaidarenko
e8ff8176fc
Build: add "Support" module to commitplease list
2016-03-28 16:16:08 +03:00
Timmy Willison
7052698191
Attributes: strip/collapse whitespace for set values on selects
...
Fixes gh-2978
Close gh-3002
2016-03-17 12:24:51 -04:00
Oleg Gaidarenko
055cb7534e
Build: try insight package to get info about custom builds
...
Fixes gh-2890
Closes gh-2988
2016-03-14 21:13:05 +03:00
Richard Gibson
0c1f72667d
Core: Restore 1.x isPlainObject constructor checks
...
- Guard isPlainObject against inherited scalar constructors
Fixes gh-2982
Close gh-2985
2016-03-14 11:45:07 -04:00
Timmy Willison
0f5f0c981a
Release: set version in source for releases
...
Fixes gh-2979
Close gh-2981
2016-03-14 10:37:11 -04:00
Oleg Gaidarenko
728ea2f277
Tests: add additional test for jQuery.isPlainObject
...
Ref 00575d4d8c
Also see discussion in
https://github.com/jquery/jquery/pull/2970#discussion_r54970557
2016-03-12 16:43:02 +03:00
Alexander Lisianoi
59ec78e602
Tests: Restrict "p > * > *" selection in selector.js to #qunit-fixture
...
Add `match` and `QUnit.assert.selectInFixture` functions that
mimic `QUnit.assert.t`.
Ref gh-2880
Closes gh-2973
2016-03-09 14:09:20 -05:00
Timmy Willison
474b477eed
Release: update AUTHORS.txt
2016-03-09 12:13:21 -05:00
Timmy Willison
4a098f4883
Build: combine intro and outro
...
Fixes gh-2975
Close gh-2976
2016-03-09 11:42:42 -05:00
Michał Gołębiowski
9b086888b8
Docs:Tests: Remove obsolete code from tests, update support comments
...
Support comments that were lacking the final IE/Edge version that exhibits
the bug were checked & updated. Links to the Chromium bug tracker were updated.
Code in tests related to unsupported browsers (like Android 2.3 in non-basic
tests) has been removed.
Fixes gh-2868
Closes gh-2949
2016-03-08 23:26:46 +01:00
Timmy Willison
b43a3685b6
Attributes: remove redundant parent check
2016-03-07 11:30:06 -05:00
Timmy Willison
0402963845
Selector: filters -> pseudos
...
Fixes gh-2073
Close gh-2969
2016-03-07 11:14:53 -05:00
Timmy Willison
00575d4d8c
Core: restore enumeration behavior in isPlainObject
...
Fixes gh-2968
Close gh-2970
2016-03-07 11:12:47 -05:00
Oleg Gaidarenko
bb235ed3b4
Build: update husky dependency
...
Fixes gh-2915
2016-03-04 21:41:05 +03:00
Oleg Gaidarenko
3e73881154
Build: update grunt-contrib-jshint and grunt-jscs while we at it
2016-03-04 00:52:02 +03:00
Michał Gołębiowski
93a8fa6bfc
Core: Deprecate jQuery.parseJSON
...
Fixes gh-2800
Closes gh-2948
2016-03-02 13:12:35 +01:00
Timmy Willison
8a91f8442f
Release: include external/sizzle in releases
...
Ref gh-2945
2016-02-24 10:21:58 -05:00
Vitaliy Terziev
f00dd0f0b2
Dimensions: Add tests for negative borders & paddings
...
Closes gh-2869
2016-02-24 14:27:19 +01:00