Dave Methvin
2df590e4ec
Event: Allow constructing a jQuery.Event without a target
...
Fixes gh-3139
Closes gh-3140
2016-06-02 20:56:47 -04:00
Michał Gołębiowski
73bf35ecf3
Build: Drop testing on Node.js 5
...
Node.js 5's upstream support ends in about a month, there is not much point
in testing it when we're releasing a new major version of jQuery
2016-05-29 21:42:54 +02:00
Michał Gołębiowski
63a303f739
Docs: Use HTTPS URLs for jsfiddle & jsbin
2016-05-20 22:16:17 +02:00
Michał Gołębiowski
cfa4bfbf2a
Docs: Tweak formatting of ISSUE_TEMPLATE.md
2016-05-20 22:14:45 +02:00
Timmy Willison
947d495ce1
Release: update AUTHORS.txt
2016-05-20 14:16:33 -04:00
Oleg Gaidarenko
94efb79929
Events: don't execute native stop(Immediate)Propagation from simulation
...
In Firefox, called `stop(Immediate)Propagation` methods,
in capturing phase prevents receiving focus
Fixes gh-3111
2016-05-19 21:56:39 +04:00
Christophe Tafani-Dereeper
69db408d82
CSS: Remove units from a 0 width/height element
...
Close gh-3122
2016-05-16 10:46:47 -04:00
Timmy Willison
95c7ab6897
Release: remove extraneous files from dist during release
...
Fixes gh-3094
Close gh-3116
2016-05-13 11:35:15 -04:00
Timmy Willison
5086b3012d
Release: copy sizzle separately into an 'external' folder
...
Fixes gh-2945
2016-05-13 11:35:15 -04:00
Dave Methvin
07c11c03cc
Deferred: Give better stack diagnostics on exceptions
...
Ref gh-2736
The exception stack has the name of the immediately outer function where the
exception occurred, which can be very handy for tracing errors. Since we already
have the exception object we might as well use it.
2016-05-11 20:21:04 -04:00
Timmy Willison
b8bd48109c
Release: update AUTHORS.txt
2016-05-11 18:13:35 -04:00
Dave Methvin
f5958085cf
Event: Add touch event properties, eliminates need for a plugin
...
Fixes gh-3104
Closes gh-3108
See https://github.com/aarongloege/jquery.touchHooks
Other properties are already present thanks to mouse events.
squash! Add targetTouches
2016-05-09 12:23:51 -04:00
Richard Gibson
de71e9755f
Deferred: Make jQuery.when synchronous when possible
...
Closes gh-3102
Fixes gh-3100
Closes gh-3105
2016-05-09 12:14:22 -04:00
Richard Gibson
e8825a529b
Event: Cover invalid delegation selector edge cases
...
Ref 7fd36ea145
2016-05-06 22:12:53 -04:00
Felipe Sateler
7fd36ea145
Event: Evaluate delegate selectors at add time
...
This ensures that invalid selectors throw right away.
Fixes gh-3071
Closes gh-3097
2016-05-06 22:12:20 -04:00
Dave Methvin
931f45fc38
Event: Remove pageX/pageY fill for event object
...
Fixes gh-3092
CLoses gh-3106
IE8 was the last major browser missing these.
2016-05-06 15:32:12 -04:00
Jason Bedard
e61fccb9d7
Event: Remove fixHooks, propHooks; switch to ES5 getter with addProp
...
Fixes gh-3103
Fixes gh-1746
Closes gh-2860
- Removes the copy loop in jQuery.event.fix
- Avoids accessing properties such as client/offset/page/screen X/Y
which may cause style recalc or layouts
- Simplifies adding property hooks to event object
2016-05-04 15:57:25 -04:00
Michał Gołębiowski
7f2ebd2c4d
Tests: Make the regex catching Safari 9.0/9.1 more resilient
...
The word boundary character will prevent iOS from being a false positive.
2016-05-02 23:05:56 +02:00
Michał Gołębiowski
234a2d8280
Tests: take Safari 9.1 into account
...
Safari 9.1 shares its support test results with Safari 9.0 but it's been
excluded from the regex catching Safari 9.0. This has been fixed.
2016-05-02 22:49:17 +02:00
Richard Gibson
356a3bccb0
Deferred: Separate the two paths in jQuery.when
...
Single- and no-argument calls act like Promise.resolve.
Multi-argument calls act like Promise.all.
Fixes gh-3029
Closes gh-3059
2016-05-02 12:30:31 -04:00
Ralin Chimev
0bd98b1b13
Ajax: Remove unnecessary use of jQuery.trim
...
The subsequent .match already ignores leading/trailing space.
Ref gh-3003
Closes gh-3095
2016-04-29 16:27:56 -04:00
Michał Gołębiowski
d3a781d762
Build: Don't lint the built file in the husky precommit hook
...
The husky Git precommit hook was linting not only the source but also the
built file. Normally it's expected, we want to run basic checks on what's
built but in the precommit hook we're not building the file so we might
be linting some previous, broken version.
Fixes gh-3091
2016-04-29 10:36:57 +02:00
Dave Methvin
dbdc4b761b
Docs: Add FAQ to reduce noise in issues
2016-04-27 19:47:50 -04:00
Oleg Gaidarenko
d6e99d9b5e
Revert "Effects: Remove additional parameters of easings"
...
This reverts commit b7a7dea95f
.
Fixes #3064
2016-04-27 23:21:56 +03:00
Richard Gibson
7f1e59343b
Deferred: Provide explicit undefined context for jQuery.when raw casts
...
Fixes gh-3082
Closes gh-3084
2016-04-27 15:33:12 -04:00
Damian Senn
9f268caaf4
Event: Make event dispatch optimizable by JavaScript engines
...
Closes gh-2834
- Do not assign to function parameters
- Do not pass arguments object to other functions
2016-04-27 09:13:16 -04:00
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