]>
source.dussan.org Git - jquery.git/log
Saptak Sengupta [Wed, 6 Dec 2017 04:59:54 +0000 (10:29 +0530)]
CSS: Correctly set support properties with non-default zoom
Fixes gh-3808
Closes gh-3872
Richard Gibson [Wed, 22 Nov 2017 19:43:44 +0000 (14:43 -0500)]
Manipulation: Reduce size by eliminating single-use variable
Closes gh-3851
Michał Gołębiowski-Owczarek [Mon, 20 Nov 2017 22:46:31 +0000 (23:46 +0100)]
Tests: Add iOS 11 support test results
Michał Gołębiowski-Owczarek [Mon, 6 Nov 2017 22:14:22 +0000 (23:14 +0100)]
Build: Test on Node.js 9
Closes gh-3840
Michał Gołębiowski-Owczarek [Wed, 18 Oct 2017 15:59:22 +0000 (17:59 +0200)]
Tests: Add Safari 11 support test results
Michał Gołębiowski-Owczarek [Wed, 18 Oct 2017 15:44:50 +0000 (17:44 +0200)]
Tests: Make Node tests work for paths with spaces in them
Without this patch Jenkins tests fail as jQuery job names there contain spaces,
e.g. "jQuery Core".
Closes gh-3821
Michał Gołębiowski-Owczarek [Mon, 25 Sep 2017 17:34:28 +0000 (19:34 +0200)]
Build: Remove package-lock.json, add it to .gitignore
npm 5, even the version included in the latest Node.js 8.5.0 re-generates
`package-lock.json` on each install. And when it does on a system that doesn't
support all the optional dependencies that are supported on the OS where the
lockfile was generated, it removes those optional deps from the lockfile.
The effect is that everyone firing `npm install` on our repo on any OS other
than macOS will immediately get a dirty state of the repo as the `fsevents`
dependency subtree gets removed from `package-lock.json`. That's a really bad
experience.
This commit removes package-lock.json from the repository and adds it to
.gitignore. We'll start committing the file again once the issue is resolved
on npm's part.
Fixes gh-3792
Michał Gołębiowski-Owczarek [Wed, 20 Sep 2017 13:36:40 +0000 (15:36 +0200)]
Build: increase timeout in Promises/A+ tests 10 times
The promises-aplus-tests sets up a default 200 ms Mocha timeout. This makes
our tests randomly fail on Jenkins. 2 seconds will be safer.
Closes gh-3791
Michał Gołębiowski-Owczarek [Wed, 20 Sep 2017 13:32:35 +0000 (15:32 +0200)]
Build: Drop cross-spawn, use child_process.spawn shell option
Henry Zhu [Mon, 25 Sep 2017 17:02:19 +0000 (13:02 -0400)]
Build: Update to Babel 7, use for-of plugin instead of preset-es2015
Closes gh-3786
Richard Gibson [Mon, 18 Sep 2017 15:59:50 +0000 (11:59 -0400)]
CSS: Detect more WebKit styles erroneously reported as percentages
Ref
692f9d4db30c9c6c4f6bc76005cf153586202fa6
Fixes gh-3777
Closes gh-3778
Richard Gibson [Fri, 8 Sep 2017 21:14:57 +0000 (17:14 -0400)]
Tests: Update lineHeight adjustments to give Android more slop
Richard Gibson [Mon, 28 Aug 2017 17:23:04 +0000 (13:23 -0400)]
CSS: Avoid unit-conversion interference from CSS upper bounds
Fixes gh-2144
Closes gh-3745
Jordan Beland [Wed, 16 Aug 2017 05:07:49 +0000 (22:07 -0700)]
Tests: Update path calculation
Fixes gh-3756
Closes gh-3757
Michał Gołębiowski-Owczarek [Sat, 12 Aug 2017 16:23:38 +0000 (18:23 +0200)]
Build: Update my name in ATHORS.txt
I forgot .mailmap isn't everything.
Michał Gołębiowski-Owczarek [Sat, 12 Aug 2017 16:06:34 +0000 (18:06 +0200)]
Build: Update my name in .mailmap
I got married! 🎉
Matan Kotler-Berkowitz [Tue, 8 Aug 2017 22:08:02 +0000 (01:08 +0300)]
Build: Fix comment typo
Closes gh-3747
Richard Gibson [Mon, 7 Aug 2017 16:26:03 +0000 (12:26 -0400)]
Dimensions: Don't trust non-pixel computed width/height
Fixes gh-3611
Closes gh-3741
Richard Gibson [Mon, 31 Jul 2017 19:16:23 +0000 (15:16 -0400)]
Tests: Replace non-ASCII whitespace in source code
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
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
Richard Gibson [Thu, 20 Jul 2017 18:17:09 +0000 (14:17 -0400)]
Tests: Account for TestSwarm focus issues
Closes gh-3732
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
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
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
Richard Gibson [Wed, 19 Jul 2017 00:32:01 +0000 (20:32 -0400)]
Tests: Try extra hard to control focus
Ref gh-3732
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
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
Jason Bedard [Mon, 10 Jul 2017 16:12:49 +0000 (09:12 -0700)]
Offset: fix error from bad merge in #3695
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 .
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
Shashanka Nataraj [Fri, 23 Jun 2017 04:14:43 +0000 (04:14 +0000)]
Core: Deprecate jQuery.isWindow
Fixes gh-3629
Close gh-3702
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
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
Timmy Willison [Mon, 3 Jul 2017 18:03:49 +0000 (14:03 -0400)]
Build: Update sinon, husky, and qunitjs
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
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
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
Andreas Solleder [Fri, 19 May 2017 20:28:54 +0000 (22:28 +0200)]
Tests: minor typos
Close gh-3671
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
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
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
Richard Gibson [Sat, 29 Apr 2017 06:00:12 +0000 (02:00 -0400)]
Tests: Revert some testIframe changes to fix dimensions tests
Ref
c0edd8dc18e02999a25768a4946093b015045f80
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 .
Richard Gibson [Sat, 29 Apr 2017 06:00:12 +0000 (02:00 -0400)]
Tests: Revert some testIframe changes to fix dimensions tests
Ref
c0edd8dc18e02999a25768a4946093b015045f80
Richard Gibson [Sat, 29 Apr 2017 05:37:47 +0000 (01:37 -0400)]
Tests: Correct expected assertion count
Ref
e94b5b0bbf8d8179bc79ab749470e71092225862
Richard Gibson [Sat, 29 Apr 2017 05:35:20 +0000 (01:35 -0400)]
Richard Gibson [Sat, 29 Apr 2017 05:22:55 +0000 (01:22 -0400)]
Tests: Adjust by actual scroll position, rather than expected
Ref
1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Richard Gibson [Sat, 29 Apr 2017 03:54:06 +0000 (23:54 -0400)]
Tests: Keep iframes visible in TestSwarm
Ref
1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Richard Gibson [Sat, 29 Apr 2017 02:36:57 +0000 (22:36 -0400)]
Tests: Add debugging to investigate iOS failures
Ref
1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
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
Richard Gibson [Tue, 25 Apr 2017 20:32:40 +0000 (16:32 -0400)]
Tests: Prepend test iframes for even *more* consistency
Ref
1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
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
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
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
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
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
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
Boom Lee [Wed, 29 Mar 2017 14:42:13 +0000 (22:42 +0800)]
Docs: Update links to HTML spec for stripAndCollapse (#3594)
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 .
Timmy Willison [Mon, 20 Mar 2017 19:02:16 +0000 (15:02 -0400)]
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 .
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
Timmy Willison [Mon, 20 Mar 2017 17:18:35 +0000 (13:18 -0400)]
Build: Updating the master version to 3.2.2-pre.
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
Timmy Willison [Mon, 20 Mar 2017 16:53:15 +0000 (12:53 -0400)]
Revert "Event: Add radio click triggering tests"
This reverts commit
5f35b5b406ae7d504de86a3f0a5647b2fdf4f2af .
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 .
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
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
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
Timmy Willison [Fri, 17 Mar 2017 16:30:55 +0000 (12:30 -0400)]
Release: edit dist README version on release
Fixes gh-3574
Timmy Willison [Thu, 16 Mar 2017 21:30:59 +0000 (17:30 -0400)]
Build: Updating the master version to 3.2.1-pre.
Timmy Willison [Thu, 16 Mar 2017 18:59:57 +0000 (14:59 -0400)]
Release: md5sum -> md5 -r for MAC
Timmy Willison [Wed, 15 Mar 2017 19:48:18 +0000 (15:48 -0400)]
Release: update version to 3.2.0-pre
Timmy Willison [Wed, 15 Mar 2017 19:16:30 +0000 (15:16 -0400)]
Release: update AUTHORS.txt
Timmy Willison [Wed, 15 Mar 2017 18:57:20 +0000 (14:57 -0400)]
Release: update release dependencies
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
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
Michał Gołębiowski [Tue, 7 Mar 2017 15:36:28 +0000 (16:36 +0100)]
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
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
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
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
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
karan-96 [Tue, 17 Jan 2017 16:52:50 +0000 (22:22 +0530)]
Core: Deprecate jQuery.nodeName
Fixes gh-3475
Closes gh-3505
Manoj Kumar [Wed, 31 Aug 2016 04:01:31 +0000 (04:01 +0000)]
Core: Move holdReady to deprecated
Fixes gh-3288
Close gh-3306
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
南漂一卒 [Sun, 29 Jan 2017 22:32:15 +0000 (06:32 +0800)]
Traversing: $.fn.contents() supports HTMLTemplateElement
Fixes gh-3436
Closes gh-3462
Alex Padilla [Wed, 11 Jan 2017 22:19:30 +0000 (15:19 -0700)]
Event: Add radio click triggering tests
Ref
b442abacbb8464f0165059e8da734e3143d0721f
Ref gh-3423
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
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
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
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
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
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
Alex Louden [Thu, 5 Jan 2017 08:49:02 +0000 (16:49 +0800)]
Docs: Correct typo in issue template
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
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
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
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