]>
source.dussan.org Git - jquery.git/log
Michał Gołębiowski-Owczarek [Thu, 29 Apr 2021 16:27:58 +0000 (18:27 +0200)]
Tests: Strip untypical callback parameter characters from PHP files
Only allow alphanumeric characters & underscores for callback parameters.
This is only test code so we're not fixing any security issue but it happens
often enough that the whole jQuery repository directory structure is deployed
onto the server with PHP enabled that it makes is easy to introduce security
issues if this cleanup is not done.
This is a 1.x/2.x version of PR gh-4871.
The change doesn't require a release; it's meant at installations testing
the latest state of `1.12-stable` & `2.2-stable` branches.
This change also fixes testing on Travis & on Chrome/Firefox.
Closes gh-4875
Ref gh-4764
Ref gh-4871
Michał Gołębiowski [Wed, 8 Jun 2016 22:11:21 +0000 (00:11 +0200)]
Build: Update grunt-contrib-uglify
A bug in UglifyJS was causing function declarations to sometimes be put
in blocks which wasn't well specified in ES5 so it may break some browsers.
This bump will prevent the issue from occurring in any potential future
releae in this line.
Refs jquery/jquery#3153
Refs mishoo/UglifyJS2#1052
Michał Gołębiowski [Wed, 8 Jun 2016 22:08:50 +0000 (00:08 +0200)]
Build: Fix the order of devDependencies in package.json
`npm install package@version --save` sorts the dependencies alphabetically
so the next such run would fix the order anyway; it's better to not mix
concerns, though, so it's done now in a separate commit.
Michał Gołębiowski [Wed, 8 Jun 2016 22:06:53 +0000 (00:06 +0200)]
Build: Add .npmrc with save-exact=true
This makes commands like `npm install package --save-dev` always get saved
to package.json as a pinned version and not as a `^`-delimited range.
(cherry-picked from
6600e2e2b9863dc91601d94541a3808cf3ccc90c )
Timmy Willison [Fri, 20 May 2016 17:26:10 +0000 (13:26 -0400)]
Build: Updating the 2.2-stable version to 2.2.5-pre.
Oleg Gaidarenko [Fri, 20 May 2016 10:50:09 +0000 (13:50 +0300)]
Tests: adjust to older version of qunit
Ref
66b840618da4d8e7ac8a83b856df6dd07892947f
Oleg Gaidarenko [Fri, 20 May 2016 10:38:12 +0000 (13:38 +0300)]
Revert "Build: Bump qunit version"
This reverts commit
afe2727c5610ba9cd5ffbec5c34f15d38538b05f .
Oleg Gaidarenko [Thu, 19 May 2016 19:24:46 +0000 (22:24 +0300)]
Build: Bump qunit version
So it would correspond to one in master
Oleg Gaidarenko [Thu, 19 May 2016 17:56:39 +0000 (21:56 +0400)]
Event: don't execute native stop(Immediate)Propagation from simulation
In Firefox, called `stop(Immediate)Propagation` methods,
in capturing phase prevents receiving focus
Cherry-picked from
94efb7992911b6698f900f5b816d043b468bc277
Fixes gh-3111
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
Timmy Willison [Mon, 9 May 2016 15:57:31 +0000 (11:57 -0400)]
Release: copy sizzle separately into an 'external' folder
Fixes gh-2945
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.
(cherry-picked from
7f2ebd2c4dea186d7d981b939e6e2983a9d7f9c1 )
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.
(cherry-picked from
234a2d828021b6eb36d83d83cc30c5a09045e781 )
Michał Gołębiowski [Tue, 26 Apr 2016 20:44:11 +0000 (22:44 +0200)]
Build: test on Node.js 6
Michał Gołębiowski [Tue, 26 Apr 2016 19:25:30 +0000 (21:25 +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.
Refs
ff1a0822f72d2b39fac691dfcceab6ede5623b90
Fixes gh-3041
Refs gh-1764
Refs gh-2401
Refs
90d828bad0d6d318d73d6cf6209d9dc7ac13878c
Timmy Willison [Tue, 5 Apr 2016 19:27:20 +0000 (15:27 -0400)]
Build: Updating the 2.2-stable version to 2.2.4-pre.
Oleg Gaidarenko [Mon, 4 Apr 2016 19:42:01 +0000 (22:42 +0300)]
Ajax: execute jQuery#load callback with correct context
Thanks @blq (Fredrik Blomqvist)
Fixes gh-3035
Close gh-3039
Timmy Willison [Thu, 17 Mar 2016 17:52:32 +0000 (13:52 -0400)]
Build: Updating the 2.2-stable version to 2.2.3-pre.
Timmy Willison [Tue, 15 Mar 2016 22:15:02 +0000 (18:15 -0400)]
Attributes: strip/collapse whitespace for set values on selects
Fixes gh-2978
Close gh-3002
Richard Gibson [Fri, 11 Mar 2016 15:48:00 +0000 (10:48 -0500)]
Core: Restore 1.x isPlainObject constructor checks
- Guard isPlainObject against inherited scalar constructors
Fixes gh-2982
Close gh-2985
Timmy Willison [Mon, 7 Mar 2016 16:29:39 +0000 (11:29 -0500)]
Attributes: remove redundant parent check
Timmy Willison [Fri, 15 Jan 2016 21:48:52 +0000 (16:48 -0500)]
Attributes: fix setting selected on an option in IE<=11
Fixes gh-2732
Close gh-2840
Timmy Willison [Thu, 3 Mar 2016 23:29:45 +0000 (18:29 -0500)]
Core: restore enumeration behavior in isPlainObject
Fixes gh-2968
Close gh-2970
Michał Gołębiowski [Wed, 2 Mar 2016 11:28:00 +0000 (12:28 +0100)]
Core: drop the document.implementation.createHTMLDocument usage
The document.implementation.createHTMLDocument("") method creates inert
documents which is good but using it has introduced issues around anchor
elements href property not resolving according to the current document.
Because of that, this patch is getting backed out on 1.x/2.x branches.
Refs
cfe468f29c4cbe1a457d0feb17dec90dcfd7c280
Refs gh-1505
Fixes gh-2941
Timmy Willison [Wed, 24 Feb 2016 15:20:22 +0000 (10:20 -0500)]
Release: include external/sizzle in releases
Ref gh-2945
Timmy Willison [Mon, 22 Feb 2016 19:12:11 +0000 (14:12 -0500)]
Build: Updating the 2.2-stable version to 2.2.2-pre.
Timmy Willison [Mon, 22 Feb 2016 18:23:21 +0000 (13:23 -0500)]
Build: update AUTHORS
Timmy Willison [Mon, 22 Feb 2016 16:24:52 +0000 (11:24 -0500)]
CSS: fix for disconnected elems on doc fragments in Opera 12
Timmy Willison [Wed, 10 Feb 2016 21:47:25 +0000 (13:47 -0800)]
Build: use hard-coded path to sizzle in selector-sizzle
Fixes gh-2898
Zack Hall [Fri, 22 Jan 2016 00:24:42 +0000 (16:24 -0800)]
Tests: Set Edge's expected support for clearCloneStyle to true
This is done for a version 13 or newer as the bug still exists in Edge
12.
(cherry-picked from
28f0329a02c453ae26b6bc028b6aaeec578bef6f )
Closes gh-2857
Oleg Gaidarenko [Sat, 13 Feb 2016 19:35:59 +0000 (22:35 +0300)]
Build: add `npm-debug.log` to `.gitignore`
Oleg Gaidarenko [Sat, 13 Feb 2016 18:14:46 +0000 (21:14 +0300)]
Tests: use `jQuery` variable instead of `$`
For some reason that works with `amd` but not with builded version
Fixes gh-2909
Oleg Gaidarenko [Thu, 11 Feb 2016 19:47:36 +0000 (22:47 +0300)]
Build: simplify and correct .editorconfig
Oleg Gaidarenko [Thu, 11 Feb 2016 19:31:49 +0000 (22:31 +0300)]
Tests: test element position outside view
Ref
ee0f61647cb93d587764280b1278807d9ff86fc9
Ref gh-2828
Ref gh-2836
Fixes gh-2909
Oleg Gaidarenko [Mon, 8 Feb 2016 21:14:19 +0000 (00:14 +0300)]
Revert "Offset: account for scroll when calculating position"
This reverts commit
2d715940b9b6fdeed005cd006c8bf63951cf7fb2 .
This commit provoked new issues: gh-2836, gh-2828.
At the meeting, we decided to revert offending commit
(in all three branches - 2.2-stable, 1.12-stable and master)
and tackle this issue in 3.x.
Fixes gh-2828
Timmy Willison [Wed, 27 Jan 2016 17:19:29 +0000 (12:19 -0500)]
Revert "Manipulation: don't auto-insert tbody"
This reverts commit
e984d1c79cc476062818e03df04a366baa13d197 .
Fixes gh-2861
Timmy Willison [Wed, 27 Jan 2016 16:36:34 +0000 (11:36 -0500)]
CSS: Add test for gh-2867
Todor Prikumov [Tue, 26 Jan 2016 09:58:34 +0000 (11:58 +0200)]
CSS: Make sure elem.ownerDocument.defaultView is not null
Fixes gh-2866
Close gh-2867
Devin Wilson [Thu, 14 Jan 2016 04:06:43 +0000 (21:06 -0700)]
Event: Fix chaining .on() with null handlers
Fixes gh-2812
Close gh-2825
Michał Gołębiowski [Mon, 11 Jan 2016 18:21:45 +0000 (19:21 +0100)]
Timmy Willison [Fri, 8 Jan 2016 17:38:18 +0000 (12:38 -0500)]
Release: compat -> 1.x. Remove compat-specific release semantics
(cherry-picked from
25d0afa51e08c00556c9e6906851d771a851ae23 )
Timmy Willison [Fri, 8 Jan 2016 20:03:45 +0000 (15:03 -0500)]
Build: Updating the 2.2-stable version to 2.2.1-pre.
Timmy Willison [Fri, 8 Jan 2016 18:59:53 +0000 (13:59 -0500)]
Manipulation: re-expose domManip until 3.0
Fixes gh-2225
Timmy Willison [Fri, 8 Jan 2016 18:26:58 +0000 (13:26 -0500)]
Release: ensure files are copied to dist
Timmy Willison [Fri, 8 Jan 2016 18:20:19 +0000 (13:20 -0500)]
Release: allow local and github dists
Timmy Willison [Fri, 8 Jan 2016 18:35:31 +0000 (13:35 -0500)]
Release: update AUTHORS.txt
Michał Gołębiowski [Thu, 7 Jan 2016 22:30:51 +0000 (23:30 +0100)]
Michał Gołębiowski [Thu, 7 Jan 2016 22:26:12 +0000 (23:26 +0100)]
Tests: Accept Android 2.3 doesn't fire window.onerror for remote scripts
A followup to
1a9c9b079177a1d6420efb876e8e66bf1fb4cbe2
Michał Gołębiowski [Thu, 7 Jan 2016 22:14:55 +0000 (23:14 +0100)]
Tests: Disable/relax a few tests failing in Android 2.3
(cherry-picked from
704de8180f220afa1efd7bd65e9aeb9007a4f238 )
Fixes gh-1785
Timmy Willison [Thu, 7 Jan 2016 21:50:26 +0000 (16:50 -0500)]
Data: find hyphenated data with camelCased key
Fixes gh-2779
Jun Sun [Wed, 30 Dec 2015 07:40:08 +0000 (15:40 +0800)]
CSS: Add animation-iteration-count to cssNumber, fix tests
Fixes gh-2792
Closes gh-2793
Timmy Willison [Thu, 7 Jan 2016 19:08:43 +0000 (14:08 -0500)]
Tests: fix lint in restored test
Timmy Willison [Thu, 7 Jan 2016 19:03:04 +0000 (14:03 -0500)]
Revert "Event: remove guard for falsy handler argument of jQuery#on method"
This reverts commit
fac67a984268ef8f7de952666fda6d8d32754f5f .
Timmy Willison [Thu, 7 Jan 2016 18:06:10 +0000 (13:06 -0500)]
Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"
This reverts commit
53f798cf4d783bb813b4d1ba97411bc752b275f3 .
Timmy Willison [Wed, 6 Jan 2016 22:00:50 +0000 (17:00 -0500)]
Core:CSS: disable 2 tests for Opera 12
Oleg Gaidarenko [Wed, 9 Dec 2015 15:41:41 +0000 (18:41 +0300)]
Revert "Core: make isNumeric limited to strings and numbers"
This reverts commit
15ac848868e993dfe5ccd7751a94f5c8edc288bc .
Michał Gołębiowski [Tue, 17 Nov 2015 02:50:56 +0000 (03:50 +0100)]
Tests: Fix support tests results for Android 2.3
Michał Gołębiowski [Tue, 17 Nov 2015 02:16:44 +0000 (03:16 +0100)]
Effects: Remove tests for jQuery.Animation & jQuery.Tween
We'll officially support those APIs in jQuery 3.0 but we don't want to have to
support them in 1.12/2.2.
The code is left untouched, only tests (& official support) are removed.
Refs
b3b2d6c3dd51fbdc69e1942e9af75cc99a1834c2
Refs
cdaed15c7ea1bbfdde5a5bea691c583ce7961526
Michał Gołębiowski [Mon, 16 Nov 2015 21:48:14 +0000 (22:48 +0100)]
Tests: Fix Safari 5.1 support tests results
Michał Gołębiowski [Mon, 16 Nov 2015 21:16:10 +0000 (22:16 +0100)]
Tests: Blacklist the iframe scrollTop test in Opera 12.1x
Michał Gołębiowski [Mon, 16 Nov 2015 21:11:39 +0000 (22:11 +0100)]
Tests: Fix support tests results
Michał Gołębiowski [Mon, 16 Nov 2015 21:09:55 +0000 (22:09 +0100)]
Build: Change the 2.2-stable version to 2.2.0-pre
Michał Gołębiowski [Mon, 16 Nov 2015 20:39:00 +0000 (21:39 +0100)]
Revert "Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support"
This reverts commit
ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5 .
Michał Gołębiowski [Mon, 16 Nov 2015 20:55:08 +0000 (21:55 +0100)]
Misc: Fix the tests, revert some unneeded/broken reverts
Refs
65d71843b7c37dbdba2cfcb1bc7055cb522c5af6
Michał Gołębiowski [Mon, 16 Nov 2015 20:25:05 +0000 (21:25 +0100)]
Revert "Misc: Drop support for older browsers; update support comments"
This reverts commit
740e190223d19a114d5373758127285d14d6b71e .
Oleg Gaidarenko [Fri, 13 Nov 2015 17:03:14 +0000 (20:03 +0300)]
Release: fix revert artefacts
Oleg Gaidarenko [Fri, 13 Nov 2015 17:00:39 +0000 (20:00 +0300)]
Oleg Gaidarenko [Fri, 13 Nov 2015 16:49:10 +0000 (19:49 +0300)]
Revert "Manipulation: execute scripts from iframe in the iframe's context"
This reverts commit
22449eb968622c2e14d6c8d8de2cf1e1ba4adccd .
Oleg Gaidarenko [Fri, 13 Nov 2015 16:48:45 +0000 (19:48 +0300)]
Revert "Ajax: Always use script injection in globalEval"
This reverts commit
bbdfbb4ee859fe9319b348d88120ddc2c9efbd63 .
Oleg Gaidarenko [Fri, 13 Nov 2015 16:16:30 +0000 (19:16 +0300)]
Offset: do not run tests which break without back-incompat change
Oleg Gaidarenko [Fri, 13 Nov 2015 14:22:36 +0000 (17:22 +0300)]
Callbacks: bring back size reduction
Ref
4cbf02df84dbcaa44b75a64ed832f7dbff2231dd
Oleg Gaidarenko [Fri, 13 Nov 2015 14:03:05 +0000 (17:03 +0300)]
Release: fix revert artefacts
Oleg Gaidarenko [Fri, 13 Nov 2015 14:01:53 +0000 (17:01 +0300)]
Revert "Deprecated: Drop size and andSelf methods"
This reverts commit
f110360f65a268e959ae892ca36e85da3d91e606 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:48:03 +0000 (16:48 +0300)]
Revert "Manipulation: support data-URI scripts insertion"
This reverts commit
15f4dec7894f1e00adbfb9bce4f870441a527bd6 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:47:41 +0000 (16:47 +0300)]
Revert "Core: Throw an error on $("#") rather than returning 0-length collection"
This reverts commit
80022c81ce4a07a232afd3c580b0977555a2daec .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:44:35 +0000 (16:44 +0300)]
Revert "Manipulation: improve test for data-URI"
This reverts commit
dd596ccf729b2f39d44b73bc54b53bd41c880146 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:41:51 +0000 (16:41 +0300)]
Revert "Manipulation: make wrapAll funarg execute only once"
This reverts commit
359b03cac74d7336676a6992f14b7ccab9b28659 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:39:32 +0000 (16:39 +0300)]
Release: remove revert artefacts
Oleg Gaidarenko [Fri, 13 Nov 2015 13:38:00 +0000 (16:38 +0300)]
Revert "Callbacks: Don't abort execution on .lock()"
This reverts commit
32bf9178cace8c52a31c468a28adde9a4fdc4671 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:32:36 +0000 (16:32 +0300)]
Revert "Callbacks: Reduce size"
This reverts commit
4cbf02df84dbcaa44b75a64ed832f7dbff2231dd .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:27:18 +0000 (16:27 +0300)]
Revert "Core: Remove deprecated context and selector properties"
This reverts commit
0ea8c32863af31fb5cfc184e8d513bbae35583e8 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:21:08 +0000 (16:21 +0300)]
Revert "Core: Return empty array instead of null for parseHTML("")"
This reverts commit
4116914dcac32868c2c822366785e3dd2ccc69d4 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:19:33 +0000 (16:19 +0300)]
Revert "Manipulation: increase delay of data-URI test"
This reverts commit
4fae91141c04dffb5094b5961eb5d7b2a1f3f423 .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:17:36 +0000 (16:17 +0300)]
Revert "Ajax: remove deprecated extensions from ajax promise"
This reverts commit
9d1b989f20b550af3590691723b0620f6914626e .
Oleg Gaidarenko [Fri, 13 Nov 2015 13:02:32 +0000 (16:02 +0300)]
Release: remove revert artefacts
Oleg Gaidarenko [Fri, 13 Nov 2015 12:58:03 +0000 (15:58 +0300)]
Revert "Deferred: Backwards-compatible standards interoperability"
This reverts commit
555a50d340706e3e1e0de09231050493d0ad841e .
Oleg Gaidarenko [Fri, 13 Nov 2015 12:27:35 +0000 (15:27 +0300)]
Revert "Wrap: Support .unwrap( selector) for selective unwrapping"
This reverts commit
7b09235ceed57bbcc26fc2c76147eb4e95ebdb92 .
Oleg Gaidarenko [Fri, 13 Nov 2015 12:22:36 +0000 (15:22 +0300)]
Revert "Event: remove guard for falsy handler argument of jQuery#on method"
This reverts commit
fac67a984268ef8f7de952666fda6d8d32754f5f .
Oleg Gaidarenko [Fri, 13 Nov 2015 12:18:49 +0000 (15:18 +0300)]
Revert "Data: do not include digits when camelCasing"
This reverts commit
2862a07af640be42711f72ad4abe532349985824 .
Oleg Gaidarenko [Fri, 13 Nov 2015 12:17:23 +0000 (15:17 +0300)]
Revert "Data: always camelCase keys in .data()"
This reverts commit
0e790985a76fd813a6e56696c87abeed5a6cf63b .
Oleg Gaidarenko [Fri, 13 Nov 2015 12:00:47 +0000 (15:00 +0300)]
Revert "Data: camelCasing should not ignore case"
This reverts commit
172cad80ac635d8900aa6a3504c89f38b320488e .
Oleg Gaidarenko [Fri, 13 Nov 2015 11:59:25 +0000 (14:59 +0300)]
Revert "Offset: Fix .offset() to correctly work with ShadowDOM"
This reverts commit
1617479fcf7cbdaf33dc9334ed10a0f30bf14687 .
Oleg Gaidarenko [Fri, 13 Nov 2015 11:54:33 +0000 (14:54 +0300)]
Revert "Offset: allow offset setter to throw for disconnected elements"
This reverts commit
0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3 .
Oleg Gaidarenko [Fri, 13 Nov 2015 11:54:25 +0000 (14:54 +0300)]
Revert "Offset: remove ownerDocument check in offset getter"
This reverts commit
6176567361e9d05d4f5eb7e98735a678f2cd7ea9 .
Oleg Gaidarenko [Wed, 11 Nov 2015 17:50:37 +0000 (20:50 +0300)]
Revert "CSS: Ignore the CSS cascade in show()/hide()/etc."
This reverts commit
86419b10bfa5e3b71a7d416288ab806d47a31d1f .
Oleg Gaidarenko [Wed, 11 Nov 2015 16:56:11 +0000 (19:56 +0300)]
Revert "CSS: Make show/hide/toggle methods a module"
This reverts commit
67d7a2eefee768b59eb3d51cb1fb2c671873e58a .
Oleg Gaidarenko [Wed, 11 Nov 2015 16:51:41 +0000 (19:51 +0300)]
Revert "CSS: fix AMD mode for the new showHide module"
This reverts commit
32cfc38a9c76d1f9163759c811cb9c82eb47d565 .
Oleg Gaidarenko [Wed, 11 Nov 2015 16:51:35 +0000 (19:51 +0300)]
Revert "Effects: fix loading showHide in AMD mode"
This reverts commit
ab06be561ec74cccaa2d581830210f82326f05c3 .
Oleg Gaidarenko [Wed, 11 Nov 2015 16:50:26 +0000 (19:50 +0300)]
Revert "Core: remove custom ready event"
This reverts commit
c252c5fac2a25869524c2eba2e93d4230e6af25c .
Oleg Gaidarenko [Wed, 11 Nov 2015 16:43:26 +0000 (19:43 +0300)]
Ajax: code style fixes
Only for 2.2.0 version