]> source.dussan.org Git - jquery.git/log
jquery.git
7 years agoEvent: Add radio click triggering tests
Alex Padilla [Wed, 11 Jan 2017 22:19:30 +0000 (15:19 -0700)]
Event: Add radio click triggering tests

Ref b442abacbb8464f0165059e8da734e3143d0721f
Ref gh-3423

7 years agoEvent: Trigger checkbox and radio click events identically
Alex Padilla [Wed, 11 Jan 2017 22:19:30 +0000 (15:19 -0700)]
Event: Trigger checkbox and radio click events identically

Fixes gh-3423
Closes gh-3494

7 years agoEffects: Resolve issues revealed by recent Callbacks fix
Richard Gibson [Mon, 16 Jan 2017 18:18:49 +0000 (10:18 -0800)]
Effects: Resolve issues revealed by recent Callbacks fix

Notify full progress before resolving empty animations
Register animation callbacks before their ticker
Remove the right timer when immediately-done animations spawn more

Ref 9d822bc1c13dd3393b418210a99537c22c06f2c3
Fixes gh-3502
Fixes gh-3503
Closes gh-3496

7 years agoManipulation: Restrict the tbody search to child nodes
Richard Gibson [Mon, 9 Jan 2017 19:37:12 +0000 (11:37 -0800)]
Manipulation: Restrict the tbody search to child nodes

For performance, use a querySelectorAll path instead of Javascript iteration.
http://codepen.io/anon/pen/vywJjx?editors=1010

Fixes gh-3439
Closes gh-3463

7 years agoCallbacks: Prevent add() from unlocking with-memory lists
Richard Gibson [Mon, 9 Jan 2017 19:33:39 +0000 (11:33 -0800)]
Callbacks: Prevent add() from unlocking with-memory lists

Fixes gh-3469
Closes gh-3470

7 years agoTests: Update the loader so test pages always get jQuery
Richard Gibson [Mon, 9 Jan 2017 19:23:47 +0000 (11:23 -0800)]
Tests: Update the loader so test pages always get jQuery

Pages used for iframe tests will now successfully load jQuery, even when
opened directly in the browser.

Closes gh-3489

7 years agoBuild: fix markerPattern and ticketPattern regexes in package.json
Alexander Lisianoi [Mon, 9 Jan 2017 16:45:30 +0000 (20:45 +0400)]
Build: fix markerPattern and ticketPattern regexes in package.json

Commit messages used to fail the style check if they contained a word
starting with "ref", like reformat or reference, in their message body.

Close gh-3437
Ref jzaefferer/commitplease#91

7 years agoDocs: Correct typo in issue template
Alex Louden [Thu, 5 Jan 2017 08:49:02 +0000 (16:49 +0800)]
Docs: Correct typo in issue template

7 years agoBuild: Drop support for building on Node.js 0.12 3478/head
Michał Gołębiowski [Fri, 30 Dec 2016 11:17:00 +0000 (12:17 +0100)]
Build: Drop support for building on Node.js 0.12

Node.js 0.12 is no longer supported by upstream. So far we had to keep
a workaround that would skip running ESLint there (or even load its task)
as it no longer supports Node.js <4; the same applied to Node smoke tests
as jsdom has also dropped support for those old Node versions. Those
workarounds have been removed now.

Ref 030191ae32dfcb7ecb2efb61d17a4964a3633e44
Closes gh-3478

7 years agoTests: Added tests for symbol-separated tag names
David Broder-Rodgers [Sat, 24 Dec 2016 10:33:27 +0000 (10:33 +0000)]
Tests: Added tests for symbol-separated tag names

Fixes gh-2006
Closes gh-3473

7 years agoOffset: Eliminate little-used internal function
Richard Gibson [Mon, 19 Dec 2016 17:00:46 +0000 (12:00 -0500)]
Offset: Eliminate little-used internal function

Fixes gh-3449
Closes gh-3456

7 years agoBuild: Use valid ecmaVersion
Richard Gibson [Mon, 19 Dec 2016 16:58:48 +0000 (11:58 -0500)]
Build: Use valid ecmaVersion

Fixes Node smoke tests

Ref gh-3385
Closes gh-3460

7 years agoBuild: Add most of the dist folder to .eslintignore 3385/head
Michał Gołębiowski [Wed, 30 Nov 2016 14:32:29 +0000 (15:32 +0100)]
Build: Add most of the dist folder to .eslintignore

This way `eslint .` run from the terminal will work regardless of ignored
files present in the repository.

Closes gh-3385

7 years agoBuild: Drop jscs.json from .npmignore
Michał Gołębiowski [Mon, 7 Nov 2016 17:20:46 +0000 (18:20 +0100)]
Build: Drop jscs.json from .npmignore

The file doesn't exist anymore.

7 years agoBuild: ESLint setup improvements
Michał Gołębiowski [Wed, 2 Nov 2016 23:51:34 +0000 (00:51 +0100)]
Build: ESLint setup improvements

1. Use the short name of the preset in the config.
2. Run ESLint first on non-minified files.
3. Explicitly specify environments in every config file (those settings cascade
which means we've been assuming a Node.js environment where we shouldn't have).

7 years agoDeferred: Stop inventing jQuery.when() resolution values
Richard Gibson [Fri, 16 Dec 2016 16:45:35 +0000 (11:45 -0500)]
Deferred: Stop inventing jQuery.when() resolution values

Fixes gh-3442
Closes gh-3445

7 years agoOffset: report offset for 0 sized elements
Jason Bedard [Tue, 13 Dec 2016 06:32:11 +0000 (22:32 -0800)]
Offset: report offset for 0 sized elements

Fixes gh-3267
Closes gh-3367

7 years agoBuild: Make the @CODE-replacing regex more robust
Michał Gołębiowski [Sun, 4 Dec 2016 00:16:36 +0000 (01:16 +0100)]
Build: Make the @CODE-replacing regex more robust

The code replacing @CODE in wrapper.js was written so that it expected
both the code and the next line to start in the first column. This commit
adjusts the regex so to get rid of that assumption and to work properly
regardless of number of lines with comments after this block.

While this is technically not necessary for our code, contributors sometimes
re-format the wrapper file in their pull requests and the error
messages they get don't tell them what's the real problem with their code.

Closes gh-3429

7 years agoBuild: jQuery Foundation -> JS Foundation
Timmy Willison [Mon, 28 Nov 2016 16:11:30 +0000 (11:11 -0500)]
Build: jQuery Foundation -> JS Foundation

Close gh-3414

7 years agoCore: Deprecate jQuery.isArray
Manoj Kumar [Sun, 14 Aug 2016 10:54:16 +0000 (10:54 +0000)]
Core: Deprecate jQuery.isArray

Fixes gh-2961
Closes gh-3278

7 years agoBuild: Stop testing on Node.js 0.10
Michał Gołębiowski [Mon, 31 Oct 2016 17:38:35 +0000 (18:38 +0100)]
Build: Stop testing on Node.js 0.10

Node.js 0.10 loses upstream support today (see https://github.com/nodejs/LTS/)
so let's stop testing against it as well.

7 years agoDocs: Remove supported jQuery versions from ISSUE_TEMPLATE.md
Michał Gołębiowski [Fri, 21 Oct 2016 18:55:21 +0000 (20:55 +0200)]
Docs: Remove supported jQuery versions from ISSUE_TEMPLATE.md

We no longer support jQuery 1.x/2.x and mentioning 3.x would just mean the text
gets out of date once we release jQuery 4. We only really support the latest
jQuery version so let's make that clear.

Closes gh-3372

7 years agoBuild: Run tests on Node.js 7
Michał Gołębiowski [Wed, 26 Oct 2016 10:08:14 +0000 (12:08 +0200)]
Build: Run tests on Node.js 7

8 years agoBuild: Updating the master version to 3.1.2-pre.
Timmy Willison [Thu, 22 Sep 2016 22:32:55 +0000 (18:32 -0400)]
Build: Updating the master version to 3.1.2-pre.

8 years agoRelease: fix quotes for releasing on Windows
Timmy Willison [Thu, 22 Sep 2016 21:55:01 +0000 (17:55 -0400)]
Release: fix quotes for releasing on Windows

8 years agoRelease: add email to .mailmap, update AUTHORS
Timmy Willison [Thu, 22 Sep 2016 20:12:14 +0000 (16:12 -0400)]
Release: add email to .mailmap, update AUTHORS

- Not sure how that got there. I did check the privacy box at one point,
but can't find any commits with that email

8 years agoCore: remove precautionary variable `readyFiring`
Steve Mao [Sun, 21 Aug 2016 00:43:22 +0000 (10:43 +1000)]
Core: remove precautionary variable `readyFiring`

Close gh-3284

8 years agoBuild: Make sourcemap updates in two .replace() passes
Dave Methvin [Mon, 19 Sep 2016 02:07:34 +0000 (22:07 -0400)]
Build: Make sourcemap updates in two .replace() passes

Fixes gh-3260
Closes gh-3321

8 years agoTests: Add test results for Safari 10/iOS 10, remove for Safari 8
Michał Gołębiowski [Mon, 19 Sep 2016 16:55:12 +0000 (18:55 +0200)]
Tests: Add test results for Safari 10/iOS 10, remove for Safari 8

8 years agoCore: Compress stripAndCollapse
Richard Gibson [Fri, 16 Sep 2016 02:42:34 +0000 (22:42 -0400)]
Core: Compress stripAndCollapse

Close gh-3318

8 years agoCore: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapse
Timmy Willison [Mon, 12 Sep 2016 16:32:02 +0000 (12:32 -0400)]
Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapse

- Renames and changes rnotwhite to focus on HTML whitespace chars
- Change internal use of jQuery.trim to more accurate strip and collapse
- Adds tests to ensure HTML space characters are retained where valid
- Doesn't add tests where the difference is inconsequential and
  existing tests are adequate.

Fixes gh-3003
Fixes gh-3072
Close gh-3316

8 years agoBuild: Update promises-aplus-tests for compat with Node 7
Michał Gołębiowski [Mon, 12 Sep 2016 17:27:56 +0000 (19:27 +0200)]
Build: Update promises-aplus-tests for compat with Node 7

The older promises-aplus-tests was relying on old Mocha that, in turn,
used an obsolete graceful-fs version that is not guaranteed to work fine
with the upcoming Node 7 and later.

8 years agoTests: Disable a whitespace-setting test in Edge 14
Michał Gołębiowski [Mon, 12 Sep 2016 16:36:48 +0000 (18:36 +0200)]
Tests: Disable a whitespace-setting test in Edge 14

Working around this problem would require us to skip setting whitespace-only
values except when they're valid which would be very fragile. Another option
would be to set the value and see if it succeeded and then react to that.

We've tried something like that in the past to be able to overwrite !important
styles (see 24e5879) but it broke the CSS cascade (see
https://bugs.jquery.com/ticket/14836#comment:5) and was triggering
MutationObserver callbacks too often so it was reverted in PR gh-1532.

Ref gh-3204
Ref gh-1532

8 years agoCore: expose noConflict in AMD mode 3279/head
Timmy Willison [Mon, 15 Aug 2016 15:41:11 +0000 (11:41 -0400)]
Core: expose noConflict in AMD mode

- For compability reasons, we had already added the global
  in AMD mode, but without noConflict. This adds back noConflict
  to AMD (which fixes noConflict mode in the tests).

Fixes gh-2930

8 years agoTraversing: Let .not(arraylike) pass non-element nodes
Dave Methvin [Tue, 2 Aug 2016 20:41:34 +0000 (16:41 -0400)]
Traversing: Let .not(arraylike) pass non-element nodes

Fixes gh-3226
Closes gh-3261

8 years agoBuild: Update Sizzle to 2.3.3 3266/head 3267/head
Richard Gibson [Mon, 8 Aug 2016 18:05:43 +0000 (14:05 -0400)]
Build: Update Sizzle to 2.3.3

Fixes gh-3263

8 years agoBuild: Update Sizzle to 2.3.2
Richard Gibson [Mon, 8 Aug 2016 16:35:26 +0000 (12:35 -0400)]
Build: Update Sizzle to 2.3.2

8 years agoAjax: Don't mangle the URL when removing the anti-cache param
Dave Methvin [Fri, 29 Jul 2016 19:50:07 +0000 (15:50 -0400)]
Ajax: Don't mangle the URL when removing the anti-cache param

Fixes gh-3229
Closes gh-3253

8 years agoBuild: Update Sizzle to 2.3.1
Richard Gibson [Mon, 8 Aug 2016 15:59:14 +0000 (11:59 -0400)]
Build: Update Sizzle to 2.3.1

Fixes gh-3224

8 years agoEvent: Optimize delegated event processing
Richard Gibson [Mon, 1 Aug 2016 18:20:38 +0000 (14:20 -0400)]
Event: Optimize delegated event processing

Closes gh-3255

8 years agoBuild: .eslintrc -> .eslintrc.json
Oleg Gaidarenko [Fri, 29 Jul 2016 19:18:58 +0000 (22:18 +0300)]
Build: .eslintrc -> .eslintrc.json

`.eslintrc` format is deprecated -
http://eslint.org/docs/user-guide/configuring#configuration-file-formats

Fixes gh-3248
Closes gh-3247

8 years agoBuild: Simplify Gruntfile constructions
Oleg Gaidarenko [Mon, 25 Jul 2016 23:53:57 +0000 (02:53 +0300)]
Build: Simplify Gruntfile constructions

Fixes gh-3246

8 years agoBuild: add new email to mailmap
Timmy Willison [Tue, 2 Aug 2016 16:04:21 +0000 (12:04 -0400)]
Build: add new email to mailmap

8 years agoBuild: Don't lint every file in dist/ (#3245)
Michał Gołębiowski [Mon, 25 Jul 2016 23:22:53 +0000 (01:22 +0200)]
Build: Don't lint every file in dist/ (#3245)

Currently the "all" target for the eslint task includes way more than
the "dev" & "dist" targets combined and those 2 tasks are the one run in
`npm test`.

8 years agoBuild: use commitplease via husky, prohibit #NNNN github-style tickets
Alexander Lisianoi [Thu, 16 Jun 2016 09:42:26 +0000 (11:42 +0200)]
Build: use commitplease via husky, prohibit #NNNN github-style tickets

Closes gh-3176

8 years agoBuild: Update eslint config and fix associated errors
Oleg Gaidarenko [Fri, 15 Jul 2016 17:42:25 +0000 (21:42 +0400)]
Build: Update eslint config and fix associated errors

8 years agoBuild: Upgrade ESLint to 3.x again 3225/head
Michał Gołębiowski [Mon, 11 Jul 2016 17:22:48 +0000 (19:22 +0200)]
Build: Upgrade ESLint to 3.x again

ESLint is now skipped in Node older than 4.x so we're safe.

Refs gh-3222

8 years agoBuild: Skip running ESLint on Node.js 0.x
Michał Gołębiowski [Mon, 11 Jul 2016 17:21:57 +0000 (19:21 +0200)]
Build: Skip running ESLint on Node.js 0.x

ESLint 3.0 drops support for Node.js older than 4.x. To be able to update
to this version and yet not block our contributors from building jQuery
on older Node.js (at least until it's supported by upstream) this commit
makes ESLint skipped on older Node; a proper message is displayed then.

Fixes gh-3222

8 years agoBuild: Fix the regex removing the ESLint comment from wrapper.js
Michał Gołębiowski [Wed, 13 Jul 2016 08:49:13 +0000 (10:49 +0200)]
Build: Fix the regex removing the ESLint comment from wrapper.js

The new regex from after the switch from JSHint to ESLint wasn't catching
the ESLint pragma correctly.

Also, the spacing of the pragma comment was updated to match other comments.

8 years agoBuild: Don't use ESLint 3.x
Oleg Gaidarenko [Fri, 8 Jul 2016 23:05:15 +0000 (02:05 +0300)]
Build: Don't use ESLint 3.x

Since it is not supported by older node versions :/

8 years agoBuild: More ESLint related changes
Oleg Gaidarenko [Fri, 8 Jul 2016 21:46:58 +0000 (00:46 +0300)]
Build: More ESLint related changes

8 years agoBuild: Updating the master version to 3.1.1-pre.
Timmy Willison [Thu, 7 Jul 2016 21:46:08 +0000 (17:46 -0400)]
Build: Updating the master version to 3.1.1-pre.

8 years agoBuild: ignore cdn and slim files when linting
Timmy Willison [Thu, 7 Jul 2016 21:29:24 +0000 (17:29 -0400)]
Build: ignore cdn and slim files when linting

8 years agoBuild: Updating the master version to 3.1.0-pre.
Timmy Willison [Thu, 7 Jul 2016 19:46:40 +0000 (15:46 -0400)]
Build: Updating the master version to 3.1.0-pre.

8 years agoCore: Re-throw errors that happened in callbacks wrapped in jQuery ready 3210/head
Michał Gołębiowski [Wed, 29 Jun 2016 12:19:04 +0000 (14:19 +0200)]
Core: Re-throw errors that happened in callbacks wrapped in jQuery ready

Also, expose jQuery.readyException that allows to overwrite the default
ready error handler.

Fixes gh-3174
Closes gh-3210

8 years agoBuild: Improve ESLint configuration (#3188)
Oleg Gaidarenko [Wed, 22 Jun 2016 15:41:57 +0000 (19:41 +0400)]
Build: Improve ESLint configuration (#3188)

* Bump eslint-config-jquery package to 0.1.4 version

* Add subtask "dist" to "eslint" task and add it to the build task list

* Make gitignore globs more flexible for the "dist" folder

Fixes gh-3169

8 years agoBuild: ESLint details 3148/head
Oleg Gaidarenko [Tue, 10 May 2016 09:12:28 +0000 (12:12 +0300)]
Build: ESLint details

Use eslint pragmas, fix new errors, etc

Closes gh-3148

8 years agoTests: Move promise/A+ adapters for tests to dedicated folder
Oleg Gaidarenko [Sat, 11 Jun 2016 07:30:12 +0000 (10:30 +0300)]
Tests: Move promise/A+ adapters for tests to dedicated folder

8 years agoBuild: Switch from jscs+jshint to eslint
Oleg Gaidarenko [Tue, 10 May 2016 09:06:37 +0000 (12:06 +0300)]
Build: Switch from jscs+jshint to eslint

8 years agoBuild: Updating the master version to 3.0.1-pre.
Timmy Willison [Thu, 9 Jun 2016 18:33:16 +0000 (14:33 -0400)]
Build: Updating the master version to 3.0.1-pre.

8 years agoEvent: Add the most commonly used pointer event properties
Scott González [Wed, 8 Jun 2016 13:08:47 +0000 (09:08 -0400)]
Event: Add the most commonly used pointer event properties

Ref gh-3104
Close gh-3152

8 years agoDeferred: Propagate progress correctly from unwrapped promises 3150/head
Michał Gołębiowski [Wed, 8 Jun 2016 12:22:13 +0000 (14:22 +0200)]
Deferred: Propagate progress correctly from unwrapped promises

Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.

Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.

Fixes gh-3062
Closes gh-3150

8 years agoAttributes: Avoid infinite recursion on non-lowercase attribute getters 3134/head
Michał Gołębiowski [Sun, 29 May 2016 20:24:28 +0000 (22:24 +0200)]
Attributes: Avoid infinite recursion on non-lowercase attribute getters

Attribute hooks are determined for the lowercase versions of attribute names
but this has not been reflected in the bool attribute hooks. The code that
temporarily removed a handler to avoid an infinite loop was removing an
incorrect handler causing stack overflow.

Fixes gh-3133
Refs gh-2914
Refs gh-2916
Closes gh-3134

8 years agoDocs: Fix an incorrect comment in the attributes module
Michał Gołębiowski [Sun, 29 May 2016 21:08:37 +0000 (23:08 +0200)]
Docs: Fix an incorrect comment in the attributes module

Attributes are no longer always treated as lowercase, although hooks for
them are. This commit fixes a no longer correct comment.

8 years agoTests: Remove side-effects of one attributes test
Michał Gołębiowski [Sun, 29 May 2016 20:50:28 +0000 (22:50 +0200)]
Tests: Remove side-effects of one attributes test

One test in the attribute module was overwriting jQuery.expr.attrHandle.checked
and wasn't restoring the original state after it finished. It started causing
issues for another checked-related test.

8 years agoEvent: Allow constructing a jQuery.Event without a target 3141/head
Dave Methvin [Thu, 2 Jun 2016 22:33:47 +0000 (18:33 -0400)]
Event: Allow constructing a jQuery.Event without a target

Fixes gh-3139
Closes gh-3140

8 years agoBuild: Drop testing on Node.js 5
Michał Gołębiowski [Sun, 29 May 2016 19:42:54 +0000 (21:42 +0200)]
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

8 years agoDocs: Use HTTPS URLs for jsfiddle & jsbin
Michał Gołębiowski [Fri, 20 May 2016 20:16:17 +0000 (22:16 +0200)]
Docs: Use HTTPS URLs for jsfiddle & jsbin

8 years agoDocs: Tweak formatting of ISSUE_TEMPLATE.md
Michał Gołębiowski [Fri, 20 May 2016 20:14:45 +0000 (22:14 +0200)]
Docs: Tweak formatting of ISSUE_TEMPLATE.md

8 years agoRelease: update AUTHORS.txt
Timmy Willison [Fri, 20 May 2016 18:16:33 +0000 (14:16 -0400)]
Release: update AUTHORS.txt

8 years agoEvents: don't execute native stop(Immediate)Propagation from simulation
Oleg Gaidarenko [Thu, 19 May 2016 17:56:39 +0000 (21:56 +0400)]
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

8 years agoCSS: Remove units from a 0 width/height element
Christophe Tafani-Dereeper [Mon, 16 May 2016 12:44:45 +0000 (14:44 +0200)]
CSS: Remove units from a 0 width/height element

Close gh-3122

8 years agoRelease: remove extraneous files from dist during release
Timmy Willison [Mon, 9 May 2016 17:53:03 +0000 (13:53 -0400)]
Release: remove extraneous files from dist during release

Fixes gh-3094
Close gh-3116

8 years agoRelease: copy sizzle separately into an 'external' folder
Timmy Willison [Mon, 9 May 2016 15:57:31 +0000 (11:57 -0400)]
Release: copy sizzle separately into an 'external' folder

Fixes gh-2945

8 years agoDeferred: Give better stack diagnostics on exceptions
Dave Methvin [Wed, 11 May 2016 01:50:00 +0000 (21:50 -0400)]
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.

8 years agoRelease: update AUTHORS.txt
Timmy Willison [Mon, 9 May 2016 18:17:01 +0000 (14:17 -0400)]
Release: update AUTHORS.txt

8 years agoEvent: Add touch event properties, eliminates need for a plugin
Dave Methvin [Thu, 5 May 2016 20:41:42 +0000 (16:41 -0400)]
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

8 years agoDeferred: Make jQuery.when synchronous when possible
Richard Gibson [Wed, 4 May 2016 19:30:24 +0000 (15:30 -0400)]
Deferred: Make jQuery.when synchronous when possible

Closes gh-3102
Fixes gh-3100
Closes gh-3105

8 years agoEvent: Cover invalid delegation selector edge cases
Richard Gibson [Sat, 7 May 2016 02:12:53 +0000 (22:12 -0400)]
Event: Cover invalid delegation selector edge cases

Ref 7fd36ea145a11d5896de6d064b546b1c57a83f34

8 years agoEvent: Evaluate delegate selectors at add time
Felipe Sateler [Sun, 1 May 2016 21:40:20 +0000 (18:40 -0300)]
Event: Evaluate delegate selectors at add time

This ensures that invalid selectors throw right away.

Fixes gh-3071
Closes gh-3097

8 years agoEvent: Remove pageX/pageY fill for event object
Dave Methvin [Thu, 5 May 2016 01:36:11 +0000 (21:36 -0400)]
Event: Remove pageX/pageY fill for event object

Fixes gh-3092
CLoses gh-3106

IE8 was the last major browser missing these.

8 years agoEvent: Remove fixHooks, propHooks; switch to ES5 getter with addProp
Jason Bedard [Fri, 1 Nov 2013 05:36:38 +0000 (22:36 -0700)]
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

8 years agoTests: Make the regex catching Safari 9.0/9.1 more resilient
Michał Gołębiowski [Mon, 2 May 2016 21:05:56 +0000 (23:05 +0200)]
Tests: Make the regex catching Safari 9.0/9.1 more resilient

The word boundary character will prevent iOS from being a false positive.

8 years agoTests: take Safari 9.1 into account
Michał Gołębiowski [Mon, 2 May 2016 20:49:17 +0000 (22:49 +0200)]
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.

8 years agoDeferred: Separate the two paths in jQuery.when
Richard Gibson [Fri, 15 Apr 2016 03:59:30 +0000 (23:59 -0400)]
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

8 years agoAjax: Remove unnecessary use of jQuery.trim
Ralin Chimev [Fri, 29 Apr 2016 19:22:27 +0000 (22:22 +0300)]
Ajax: Remove unnecessary use of jQuery.trim

The subsequent .match already ignores leading/trailing space.

Ref gh-3003
Closes gh-3095

8 years agoBuild: Don't lint the built file in the husky precommit hook
Michał Gołębiowski [Fri, 29 Apr 2016 08:36:57 +0000 (10:36 +0200)]
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

8 years agoDocs: Add FAQ to reduce noise in issues 3088/head
Dave Methvin [Wed, 27 Apr 2016 23:47:50 +0000 (19:47 -0400)]
Docs: Add FAQ to reduce noise in issues

8 years agoRevert "Effects: Remove additional parameters of easings"
Oleg Gaidarenko [Wed, 27 Apr 2016 20:21:56 +0000 (23:21 +0300)]
Revert "Effects: Remove additional parameters of easings"

This reverts commit b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb.

Fixes #3064

8 years agoDeferred: Provide explicit undefined context for jQuery.when raw casts
Richard Gibson [Wed, 27 Apr 2016 16:46:14 +0000 (12:46 -0400)]
Deferred: Provide explicit undefined context for jQuery.when raw casts

Fixes gh-3082
Closes gh-3084

8 years agoEvent: Make event dispatch optimizable by JavaScript engines
Damian Senn [Thu, 14 Jan 2016 20:24:43 +0000 (21:24 +0100)]
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

8 years agoAjax: Ensure ajaxSettings.traditional is still honored
Dave Methvin [Tue, 26 Apr 2016 14:28:02 +0000 (10:28 -0400)]
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().

8 years agoSerialize: .param - don't use ajaxSettings.traditional
Alexander K [Fri, 1 Apr 2016 14:50:28 +0000 (19:50 +0500)]
Serialize: .param - don't use ajaxSettings.traditional

Ref gh-3023
Closes gh-3030

8 years agoBuild: Strip the strict-mode related comment in exports/global.js 3078/head
Michał Gołębiowski [Mon, 25 Apr 2016 20:35:15 +0000 (22:35 +0200)]
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

8 years agoBuild: Strip excessive "use strict" pragmas when building
Michał Gołębiowski [Mon, 25 Apr 2016 20:34:29 +0000 (22:34 +0200)]
Build: Strip excessive "use strict" pragmas when building

Fixes gh-3077

8 years agoBuild: test on Node.js 6
Michał Gołębiowski [Tue, 26 Apr 2016 20:44:11 +0000 (22:44 +0200)]
Build: test on Node.js 6

8 years agoCSS: Don't workaround the IE 11 iframe-in-fullscreen sizing issues
Michał Gołębiowski [Tue, 26 Apr 2016 19:18:53 +0000 (21:18 +0200)]
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 90d828bad0d6d318d73d6cf6209d9dc7ac13878c

8 years agoTests: Weaken sync-assumption from jQuery.when to jQuery.ready.then
Richard Gibson [Tue, 26 Apr 2016 14:14:53 +0000 (10:14 -0400)]
Tests: Weaken sync-assumption from jQuery.when to jQuery.ready.then

8 years agoBuild: Put all AMD modules in "src/" in strict mode
Michał Gołębiowski [Mon, 25 Apr 2016 18:25:08 +0000 (20:25 +0200)]
Build: Put all AMD modules in "src/" in strict mode

Fixes gh-3073

8 years agoBuild: Fix grunt-compare-size branch-tip storage
Richard Gibson [Sun, 24 Apr 2016 01:52:00 +0000 (21:52 -0400)]
Build: Fix grunt-compare-size branch-tip storage