]> source.dussan.org Git - jquery.git/log
jquery.git
7 years agoDimensions: Improve offsetWidth/offsetHeight fallback
Richard Gibson [Mon, 31 Jul 2017 16:36:54 +0000 (12:36 -0400)]
Dimensions: Improve offsetWidth/offsetHeight fallback

Fixes gh-3698
Fixes gh-3602
Closes gh-3738

7 years agoAjax: add an ontimeout handler to all requests
Erik Lax [Thu, 23 Mar 2017 13:33:25 +0000 (14:33 +0100)]
Ajax: add an ontimeout handler to all requests

Fixes gh-3586
Close gh-3590

7 years agoTests: Account for TestSwarm focus issues
Richard Gibson [Thu, 20 Jul 2017 18:17:09 +0000 (14:17 -0400)]
Tests: Account for TestSwarm focus issues

Closes gh-3732

7 years agoTests: Simulate events when CI hinders use of native ones
Richard Gibson [Thu, 20 Jul 2017 17:16:04 +0000 (13:16 -0400)]
Tests: Simulate events when CI hinders use of native ones

Ref gh-3732

7 years agoTests: Reduce the abort timeout for simple focus testing
Richard Gibson [Wed, 19 Jul 2017 15:45:03 +0000 (11:45 -0400)]
Tests: Reduce the abort timeout for simple focus testing

Ref gh-3732

7 years agoTests: Abort focus tests when the environment doesn't cooperate
Richard Gibson [Wed, 19 Jul 2017 00:49:47 +0000 (20:49 -0400)]
Tests: Abort focus tests when the environment doesn't cooperate

Ref gh-3732

7 years agoTests: Try extra hard to control focus
Richard Gibson [Wed, 19 Jul 2017 00:32:01 +0000 (20:32 -0400)]
Tests: Try extra hard to control focus

Ref gh-3732

7 years agoSupport: Properly check for IE9 absolute scrollbox mishandling
Richard Gibson [Tue, 18 Jul 2017 19:40:41 +0000 (15:40 -0400)]
Support: Properly check for IE9 absolute scrollbox mishandling

Ref gh-3589
Fixes gh-3699
Fixes gh-3730
Closes gh-3729

7 years agoDimensions: Detect and account for content-box dimension mishandling
Richard Gibson [Mon, 10 Jul 2017 16:35:03 +0000 (12:35 -0400)]
Dimensions: Detect and account for content-box dimension mishandling

Fixes gh-3699
Closes gh-3700

7 years agoOffset: fix error from bad merge in #3695
Jason Bedard [Mon, 10 Jul 2017 16:12:49 +0000 (09:12 -0700)]
Offset: fix error from bad merge in #3695

7 years agoRevert "Offset: Resolve strict mode ClientRect "no setter" exception"
Jason Bedard [Wed, 5 Jul 2017 05:22:13 +0000 (22:22 -0700)]
Revert "Offset: Resolve strict mode ClientRect "no setter" exception"

This reverts commit 3befe5911af0cf516896482bb9ddf197c8cb8a8e.

7 years agoTest: ensure position/offset return mutable objects
Jason Bedard [Thu, 15 Jun 2017 07:04:45 +0000 (00:04 -0700)]
Test: ensure position/offset return mutable objects

Fixes gh-3612
Closes gh-3695

7 years agoCore: Deprecate jQuery.isWindow
Shashanka Nataraj [Fri, 23 Jun 2017 04:14:43 +0000 (04:14 +0000)]
Core: Deprecate jQuery.isWindow

Fixes gh-3629
Close gh-3702

7 years agoEvent: `stopPropagation()` on native event-handler
Pierre Spring [Tue, 13 Jun 2017 16:22:08 +0000 (18:22 +0200)]
Event: `stopPropagation()` on native event-handler

Fixes gh-3693
Close gh-3694

7 years agoBuild: fix uglify options for uglify update
Timmy Willison [Mon, 3 Jul 2017 18:25:32 +0000 (14:25 -0400)]
Build: fix uglify options for uglify update

- Uses new typeofs option for compression
- See https://github.com/mishoo/UglifyJS2/issues/2198

Close gh-3710

7 years agoBuild: Update sinon, husky, and qunitjs
Timmy Willison [Mon, 3 Jul 2017 18:03:49 +0000 (14:03 -0400)]
Build: Update sinon, husky, and qunitjs

7 years agoBuild: update node dependencies; commit package-lock.json
CDAGaming [Mon, 26 Jun 2017 15:03:45 +0000 (11:03 -0400)]
Build: update node dependencies; commit package-lock.json

- Also ignore yarn.lock
Close gh-3669

7 years agoDeferred: fix memory leak of promise callbacks
Jason Bedard [Tue, 20 Jun 2017 05:23:24 +0000 (22:23 -0700)]
Deferred: fix memory leak of promise callbacks

Fixes gh-3606
Closes gh-3657

7 years agoDimensions: Include scroll gutter in "padding" box
Richard Gibson [Mon, 19 Jun 2017 19:42:55 +0000 (15:42 -0400)]
Dimensions: Include scroll gutter in "padding" box

Fixes gh-3589
Closes gh-3656

7 years agoTests: minor typos
Andreas Solleder [Fri, 19 May 2017 20:28:54 +0000 (22:28 +0200)]
Tests: minor typos

Close gh-3671

7 years agoBuild: Test on Node.js 8, stop testing on Node.js 7
Michał Gołębiowski [Tue, 30 May 2017 19:22:52 +0000 (21:22 +0200)]
Build: Test on Node.js 8, stop testing on Node.js 7

7 years agoDocs:Tests: Update IE/Edge-related support comments & tests
Michał Gołębiowski [Mon, 15 May 2017 18:37:14 +0000 (20:37 +0200)]
Docs:Tests: Update IE/Edge-related support comments & tests

Closes gh-3661

7 years agoCSS: Drop the float mapping from cssProps
Michał Gołębiowski [Sat, 6 May 2017 18:52:07 +0000 (20:52 +0200)]
CSS: Drop the float mapping from cssProps

Firefox 35 and newer support style.float directly.

Closes #3569

7 years agoTests: Revert some testIframe changes to fix dimensions tests 3658/head
Richard Gibson [Sat, 29 Apr 2017 06:00:12 +0000 (02:00 -0400)]
Tests: Revert some testIframe changes to fix dimensions tests

Ref c0edd8dc18e02999a25768a4946093b015045f80

7 years agoRevert "Tests: Revert some testIframe changes to fix dimensions tests"
Richard Gibson [Sat, 29 Apr 2017 06:05:46 +0000 (02:05 -0400)]
Revert "Tests: Revert some testIframe changes to fix dimensions tests"

This reverts commit c4368a93116e9d1d17587fc2f5421a891957cf45.

7 years agoTests: Revert some testIframe changes to fix dimensions tests
Richard Gibson [Sat, 29 Apr 2017 06:00:12 +0000 (02:00 -0400)]
Tests: Revert some testIframe changes to fix dimensions tests

Ref c0edd8dc18e02999a25768a4946093b015045f80

7 years agoTests: Correct expected assertion count
Richard Gibson [Sat, 29 Apr 2017 05:37:47 +0000 (01:37 -0400)]
Tests: Correct expected assertion count

Ref e94b5b0bbf8d8179bc79ab749470e71092225862

7 years agoTests: Clean up offset debugging
Richard Gibson [Sat, 29 Apr 2017 05:35:20 +0000 (01:35 -0400)]
Tests: Clean up offset debugging

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Ref c0edd8dc18e02999a25768a4946093b015045f80

7 years agoTests: Adjust by actual scroll position, rather than expected
Richard Gibson [Sat, 29 Apr 2017 05:22:55 +0000 (01:22 -0400)]
Tests: Adjust by actual scroll position, rather than expected

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Keep iframes visible in TestSwarm
Richard Gibson [Sat, 29 Apr 2017 03:54:06 +0000 (23:54 -0400)]
Tests: Keep iframes visible in TestSwarm

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Add debugging to investigate iOS failures
Richard Gibson [Sat, 29 Apr 2017 02:36:57 +0000 (22:36 -0400)]
Tests: Add debugging to investigate iOS failures

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Reset iframe window scroll after updating html/document position
Richard Gibson [Fri, 28 Apr 2017 04:46:39 +0000 (00:46 -0400)]
Tests: Reset iframe window scroll after updating html/document position

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3649

7 years agoTests: Prepend test iframes for even *more* consistency
Richard Gibson [Tue, 25 Apr 2017 20:32:40 +0000 (16:32 -0400)]
Tests: Prepend test iframes for even *more* consistency

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Allow a mock QUnit.test for perfect testIframe fidelity
Richard Gibson [Tue, 25 Apr 2017 20:22:35 +0000 (16:22 -0400)]
Tests: Allow a mock QUnit.test for perfect testIframe fidelity

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3647

7 years agoTests: Attach test iframes to the body for visibility-dependent code
Richard Gibson [Tue, 25 Apr 2017 19:39:41 +0000 (15:39 -0400)]
Tests: Attach test iframes to the body for visibility-dependent code

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3645

7 years agoTests: Be even more async for iOS
Richard Gibson [Tue, 25 Apr 2017 02:59:18 +0000 (22:59 -0400)]
Tests: Be even more async for iOS

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3643

7 years agoTests: Improve offset test setup and labels
Richard Gibson [Tue, 25 Apr 2017 01:44:51 +0000 (21:44 -0400)]
Tests: Improve offset test setup and labels

Hopefully this fixes iOS testing: http://swarm.jquery.org/job/5226

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3641

7 years agoCore: Update isFunction to handle unusual-@@toStringTag input
Richard Gibson [Mon, 24 Apr 2017 16:39:25 +0000 (12:39 -0400)]
Core: Update isFunction to handle unusual-@@toStringTag input

Ref gh-3597
Fixes gh-3600
Fixes gh-3596
Closes gh-3617

7 years agoOffset: Use correct offset parents; include all border/scroll values
Richard Gibson [Mon, 24 Apr 2017 16:15:39 +0000 (12:15 -0400)]
Offset: Use correct offset parents; include all border/scroll values

Thanks @anseki

Fixes gh-3080
Fixes gh-3107
Closes gh-3096
Closes gh-3487

7 years agoDocs: Update links to HTML spec for stripAndCollapse (#3594) 3638/head
Boom Lee [Wed, 29 Mar 2017 14:42:13 +0000 (22:42 +0800)]
Docs: Update links to HTML spec for stripAndCollapse (#3594)

7 years agoTests: Fix incorrect assert name for ensure_iterability_es6
Timo Tijhof [Mon, 20 Mar 2017 22:32:43 +0000 (15:32 -0700)]
Tests: Fix incorrect assert name for ensure_iterability_es6

Closes gh-3584
Ref bb026fc1.

7 years agoBuild: Updating the master version to 3.2.2-pre.
Timmy Willison [Mon, 20 Mar 2017 19:02:16 +0000 (15:02 -0400)]
Build: Updating the master version to 3.2.2-pre.

7 years agoRevert "Build: Updating the master version to 3.2.2-pre."
Timmy Willison [Mon, 20 Mar 2017 17:43:25 +0000 (13:43 -0400)]
Revert "Build: Updating the master version to 3.2.2-pre."

This reverts commit 066bd8681c4a8ba2de707d59ee3a8df771804970.

7 years agoCSS: retrieve inline style before computed
Timmy Willison [Mon, 20 Mar 2017 17:42:07 +0000 (13:42 -0400)]
CSS: retrieve inline style before computed

- Fixes an issue with getting computed style on detached elements

7 years agoBuild: Updating the master version to 3.2.2-pre.
Timmy Willison [Mon, 20 Mar 2017 17:18:35 +0000 (13:18 -0400)]
Build: Updating the master version to 3.2.2-pre.

7 years agoTests: add test for passing trigger data to radio click handler
Timmy Willison [Mon, 20 Mar 2017 16:54:38 +0000 (12:54 -0400)]
Tests: add test for passing trigger data to radio click handler

Close gh-3581
Fixes gh-3579

7 years agoRevert "Event: Add radio click triggering tests"
Timmy Willison [Mon, 20 Mar 2017 16:53:15 +0000 (12:53 -0400)]
Revert "Event: Add radio click triggering tests"

This reverts commit 5f35b5b406ae7d504de86a3f0a5647b2fdf4f2af.

7 years agoRevert "Event: Trigger checkbox and radio click events identically"
Timmy Willison [Mon, 20 Mar 2017 16:24:49 +0000 (12:24 -0400)]
Revert "Event: Trigger checkbox and radio click events identically"

This reverts commit b442abacbb8464f0165059e8da734e3143d0721f.

7 years agoDimensions: fall back to offsetWidth/Height for inline elems
Timmy Willison [Sat, 18 Mar 2017 18:19:32 +0000 (14:19 -0400)]
Dimensions: fall back to offsetWidth/Height for inline elems

Close gh-3577
Fixes gh-3571

7 years agoTests: move readywait to an iframe test
Steve Mao [Sun, 25 Sep 2016 04:12:20 +0000 (14:12 +1000)]
Tests: move readywait to an iframe test

Close gh-3576
Fixes gh-3573

7 years agoBuild: update PR template
Timmy Willison [Sat, 18 Mar 2017 18:28:51 +0000 (14:28 -0400)]
Build: update PR template

- Comment out things we don't need to see in the PR description
- Change CLA link

7 years agoRelease: edit dist README version on release
Timmy Willison [Fri, 17 Mar 2017 16:30:55 +0000 (12:30 -0400)]
Release: edit dist README version on release

Fixes gh-3574

7 years agoBuild: Updating the master version to 3.2.1-pre.
Timmy Willison [Thu, 16 Mar 2017 21:30:59 +0000 (17:30 -0400)]
Build: Updating the master version to 3.2.1-pre.

7 years agoRelease: md5sum -> md5 -r for MAC
Timmy Willison [Thu, 16 Mar 2017 18:59:57 +0000 (14:59 -0400)]
Release: md5sum -> md5 -r for MAC

7 years agoRelease: update version to 3.2.0-pre
Timmy Willison [Wed, 15 Mar 2017 19:48:18 +0000 (15:48 -0400)]
Release: update version to 3.2.0-pre

7 years agoRelease: update AUTHORS.txt
Timmy Willison [Wed, 15 Mar 2017 19:16:30 +0000 (15:16 -0400)]
Release: update AUTHORS.txt

7 years agoRelease: update release dependencies
Timmy Willison [Wed, 15 Mar 2017 18:57:20 +0000 (14:57 -0400)]
Release: update release dependencies

7 years agoCSS: remove dead code in getWidthOrHeight
Timmy Willison [Mon, 13 Mar 2017 14:53:03 +0000 (10:53 -0400)]
CSS: remove dead code in getWidthOrHeight

- getCSS already falls back to inline styles

Ref gh-3561

7 years agoDimensions: ignore transforms when retrieving width/height
Timmy Willison [Mon, 6 Mar 2017 22:33:47 +0000 (17:33 -0500)]
Dimensions: ignore transforms when retrieving width/height

Close gh-3561
Fixes gh-3193

7 years agoTests: Clean up after the CSS Custom Properties support test
Michał Gołębiowski [Tue, 7 Mar 2017 15:36:28 +0000 (16:36 +0100)]
Tests: Clean up after the CSS Custom Properties support test

Ref bcec54ee7271e2d0e427bcb246e3d2009a8f84f9
Ref 619bf98d5b479f9582dbc40259b666f1c5a83146

7 years agoTests: Skip CSS custom properties tests in non-supporting browsers
Michał Gołębiowski [Tue, 7 Mar 2017 15:13:26 +0000 (16:13 +0100)]
Tests: Skip CSS custom properties tests in non-supporting browsers

Ref 619bf98d5b479f9582dbc40259b666f1c5a83146

7 years agoCSS: Support custom properties 3557/head
Connor Atherton [Sat, 25 Jun 2016 17:21:00 +0000 (10:21 -0700)]
CSS: Support custom properties

Fixes gh-3144
Closes gh-3199
Closes gh-3557

7 years agoCore: move jQuery.fn.nodeName to jQuery.nodeName, add tests
Michał Gołębiowski [Mon, 6 Mar 2017 22:51:26 +0000 (23:51 +0100)]
Core: move jQuery.fn.nodeName to jQuery.nodeName, add tests

Ref ac9e3016
Close gh-3560

7 years agoBuild: fix tests in AMD mode
Timmy Willison [Mon, 6 Mar 2017 23:31:44 +0000 (18:31 -0500)]
Build: fix tests in AMD mode

- nodeName was included at the wrong spot in dependency lists

7 years agoEffects: stabilize rAF logic & align timeout logic with it
Oleg Gaidarenko [Mon, 6 Mar 2017 01:06:10 +0000 (02:06 +0100)]
Effects: stabilize rAF logic & align timeout logic with it

rAF logic was introduced almost three years ago relative to this commit,
as a primary method for scheduling animation (see gh-1578 pull).

With it there was two substantial changes - one was explicitly mentioned
and the other was not.

First, if browser window was hidden aka `document.hidden === true`
it would immediately execute all scheduled animation without waiting
for time pass i.e. tick time become `0` instead of 13 ms of a default value.

Which created possibility for circular executions in case if `complete`
method executed the same animation (see gh-3434 issue).

And the second one - since then there was two ways of scheduling animation:
with `setInterval` and `requestAnimationFrame`, but there was a
difference in their execution.

In case of `setInterval` it waited default `jQuery.fx.interval` value before
actually starting the new tick, not counting the first step which wasn't
set to be executed through tick method (aka `jQuery.fx.tick`).

Whereas `requestAnimationFrame` first scheduled the call and executed
the `step` method right after that, counting the first call of
`jQuery.fx.timer`, `tick` was happening twice in one frame.

But since tests explicitly disabled rAF method i.e.
`requestAnimationFrame = null` and checking only `setInterval` logic,
since it's impossible to do it otherwise - we missed that change.

Faulty logic also was presented with `cancelAnimationFrame`, which couldn't
clear any timers since `raf` scheduler didn't define new `timerId` value.

Because that change was so subtle, apparently no user noticed it proving
that both `cancelAnimationFrame` and `clearInterval` code paths are redundant.

Since `cancelAnimationFrame` didn't work properly and rAF is and was a primary
used code path, plus the same approach is used in other popular animation libs.

Therefore those code paths were removed.

These changes also replace two different functions which schedule the animation
with one, which checks what type of logic should be used and executes it
appropriatley, but for secondary path it now uses `setTimeout` making it more
consistent with rAF path.

Since ticks are happening globally we also don't require to listen
`visibilitychange` event.

It also changes the way how first call is scheduled so execution of
animation will not happen twice in one frame.

No new tests were not introduced, since now `setTimeout` logic should be
equivalent to the rAF one, but one test was changed since now we actually
execute animation at the first tick.

Fixes gh-3434
Closes gh-3559

7 years agoCore: Deprecate jQuery.nodeName
karan-96 [Tue, 17 Jan 2017 16:52:50 +0000 (22:22 +0530)]
Core: Deprecate jQuery.nodeName

Fixes gh-3475
Closes gh-3505

7 years agoCore: Move holdReady to deprecated
Manoj Kumar [Wed, 31 Aug 2016 04:01:31 +0000 (04:01 +0000)]
Core: Move holdReady to deprecated

Fixes gh-3288
Close gh-3306

7 years agoBuild: Keep deprecated module in slim
Timmy Willison [Mon, 6 Feb 2017 16:50:15 +0000 (11:50 -0500)]
Build: Keep deprecated module in slim

Fixes gh-3237
Close gh-3533

7 years agoTraversing: $.fn.contents() supports HTMLTemplateElement 3530/head
南漂一卒 [Sun, 29 Jan 2017 22:32:15 +0000 (06:32 +0800)]
Traversing: $.fn.contents() supports HTMLTemplateElement

Fixes gh-3436
Closes gh-3462

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