]>
source.dussan.org Git - jquery.git/log
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
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().
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
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
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
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: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
Richard Gibson [Tue, 26 Apr 2016 14:14:53 +0000 (10:14 -0400)]
Tests: Weaken sync-assumption from jQuery.when to jQuery.ready.then
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
Richard Gibson [Sun, 24 Apr 2016 01:52:00 +0000 (21:52 -0400)]
Build: Fix grunt-compare-size branch-tip storage
Richard Gibson [Sun, 24 Apr 2016 02:06:52 +0000 (22:06 -0400)]
Build: A more modest block-level function proposal
This reverts commit
fa610da68440530e73bba296a1f982f94dfeac99 .
Richard Gibson [Sun, 24 Apr 2016 01:52:00 +0000 (21:52 -0400)]
Michał Gołębiowski [Sat, 23 Apr 2016 18:53:09 +0000 (20:53 +0200)]
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
Michał Gołębiowski [Sat, 23 Apr 2016 18:30:00 +0000 (20:30 +0200)]
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
76084372c29a59b3fa790ea4d2687f0767514999
Refs mishoo/UglifyJS2#1052
Michał Gołębiowski [Sat, 23 Apr 2016 17:25:47 +0000 (19:25 +0200)]
Build: Update dependencies (except jsdom)
Richard Gibson [Sat, 23 Apr 2016 04:31:28 +0000 (00:31 -0400)]
Offset: Resolve strict mode ClientRect "no setter" exception
Richard Gibson [Fri, 15 Apr 2016 21:13:59 +0000 (17:13 -0400)]
Deferred: Remove default callback context
Employs strict mode to simplify Deferred callback context handling.
Fixes gh-3060
Closes gh-3061
Dave Methvin [Wed, 20 Apr 2016 23:31:55 +0000 (19:31 -0400)]
Misc: Add issue and pull request templates
Fixes gh-2929
Closes gh-3070
Dave Methvin [Sun, 10 Apr 2016 19:42:44 +0000 (15:42 -0400)]
Tests: Refactor testIframe() to make it DRYer and more consistent
Ref gh-3040
Closes gh-3049
Dave Methvin [Fri, 8 Apr 2016 16:00:17 +0000 (12:00 -0400)]
Tests: Make iframe tests wait after checking isReady
Ref gh-3040
Richard Gibson [Mon, 4 Apr 2016 13:58:14 +0000 (09:58 -0400)]
CSS: Toggle detached elements as visible unless they have display: none
Fixes gh-2863
Closes gh-3037
Oleg Gaidarenko [Fri, 8 Apr 2016 10:51:32 +0000 (13:51 +0300)]
Core: add test for `jQuery.isPlainObject(localStorage)`
Ref gh-3045
Richard Gibson [Tue, 5 Apr 2016 14:54:37 +0000 (10:54 -0400)]
Joe Trumbull [Thu, 17 Mar 2016 14:06:11 +0000 (10:06 -0400)]
Serialize: Treat literal and function-returned null/undefined the same
Fixes gh-3005
Closes gh-3007
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
Oleg Gaidarenko [Sun, 3 Apr 2016 22:07:14 +0000 (01:07 +0300)]
Tests: do not run IE9 effect tests if inside testswarm
That test doesn't work properly in such environment
Ref
e04e246552c27e872bbf4ae00b55def02b197189
Fixes gh-2888
Closes gh-3034
Richard Gibson [Mon, 14 Mar 2016 20:46:51 +0000 (16:46 -0400)]
Core: Simplify isPlainObject
Fixes gh-2986
Close gh-2998
Timmy Willison [Mon, 28 Mar 2016 14:32:15 +0000 (10:32 -0400)]
Core: set the base href of the context in parseHTML
Fixes gh-2965
Close gh-3022
Timmy Willison [Tue, 19 Jan 2016 19:47:52 +0000 (14:47 -0500)]
Core: implement ready without Deferred
- Make jQuery.ready promise-compatible
- Gives up sync guarantee for post-ready callbacks
Fixes gh-1778
Fixes gh-1823
Close gh-2891
Michał Gołębiowski [Wed, 23 Mar 2016 14:03:06 +0000 (15:03 +0100)]
Docs: Update support comments to follow the new syntax
The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-
69379197
Michał Gołębiowski [Wed, 23 Mar 2016 14:02:26 +0000 (15:02 +0100)]
Docs: Update support comments related to IE
All support comments were checked for Edge applicability.
Michał Gołębiowski [Wed, 23 Mar 2016 13:16:38 +0000 (14:16 +0100)]
Docs:Tests: Remove legacy code & add support comments where needed
This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.
Refs
90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Oleg Gaidarenko [Mon, 28 Mar 2016 13:11:39 +0000 (16:11 +0300)]
Support: improve support properties computation
* Remove div from the memory if it is not needed anymore
* Make `computeStyleTests` method a singleton
Fixes gh-3018
Closes gh-3021
Oleg Gaidarenko [Mon, 28 Mar 2016 13:11:10 +0000 (16:11 +0300)]
Build: add "Support" module to commitplease list
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
Oleg Gaidarenko [Sat, 12 Mar 2016 14:48:37 +0000 (17:48 +0300)]
Build: try insight package to get info about custom builds
Fixes gh-2890
Closes gh-2988
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 [Wed, 9 Mar 2016 17:06:17 +0000 (12:06 -0500)]
Release: set version in source for releases
Fixes gh-2979
Close gh-2981
Oleg Gaidarenko [Sat, 12 Mar 2016 13:40:41 +0000 (16:40 +0300)]
Tests: add additional test for jQuery.isPlainObject
Ref
00575d4d8c7421c5119f181009374ff2e7736127
Also see discussion in
https://github.com/jquery/jquery/pull/2970#discussion_r54970557
Alexander Lisianoi [Sat, 5 Mar 2016 09:48:52 +0000 (10:48 +0100)]
Tests: Restrict "p > * > *" selection in selector.js to #qunit-fixture
Add `match` and `QUnit.assert.selectInFixture` functions that
mimic `QUnit.assert.t`.
Ref gh-2880
Closes gh-2973
Timmy Willison [Wed, 9 Mar 2016 17:13:21 +0000 (12:13 -0500)]
Release: update AUTHORS.txt
Timmy Willison [Mon, 7 Mar 2016 16:57:35 +0000 (11:57 -0500)]
Build: combine intro and outro
Fixes gh-2975
Close gh-2976
Michał Gołębiowski [Thu, 25 Feb 2016 00:18:55 +0000 (01:18 +0100)]
Docs:Tests: Remove obsolete code from tests, update support comments
Support comments that were lacking the final IE/Edge version that exhibits
the bug were checked & updated. Links to the Chromium bug tracker were updated.
Code in tests related to unsupported browsers (like Android 2.3 in non-basic
tests) has been removed.
Fixes gh-2868
Closes gh-2949
Timmy Willison [Mon, 7 Mar 2016 16:29:39 +0000 (11:29 -0500)]
Attributes: remove redundant parent check
Timmy Willison [Thu, 3 Mar 2016 20:33:57 +0000 (15:33 -0500)]
Selector: filters -> pseudos
Fixes gh-2073
Close gh-2969
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
Oleg Gaidarenko [Fri, 4 Mar 2016 18:41:05 +0000 (21:41 +0300)]
Build: update husky dependency
Fixes gh-2915
Oleg Gaidarenko [Thu, 3 Mar 2016 21:49:58 +0000 (00:49 +0300)]
Build: update grunt-contrib-jshint and grunt-jscs while we at it
Michał Gołębiowski [Wed, 24 Feb 2016 22:47:19 +0000 (23:47 +0100)]
Core: Deprecate jQuery.parseJSON
Fixes gh-2800
Closes gh-2948
Timmy Willison [Wed, 24 Feb 2016 15:20:22 +0000 (10:20 -0500)]
Release: include external/sizzle in releases
Ref gh-2945
Vitaliy Terziev [Mon, 25 Jan 2016 23:32:15 +0000 (01:32 +0200)]
Dimensions: Add tests for negative borders & paddings
Closes gh-2869
Alexander Lisianoi [Sun, 14 Feb 2016 21:18:21 +0000 (00:18 +0300)]
Tests: limit selection to #qunit-fixture in attributes.js
Ref gh-2880
Close gh-2921
William Robinet [Wed, 17 Feb 2016 15:34:24 +0000 (16:34 +0100)]
Tests: fix typos
Closes gh-2927
Michał Gołębiowski [Wed, 10 Feb 2016 11:32:38 +0000 (12:32 +0100)]
Attributes: remove the lower-casing logic for attribute names
jQuery used to lower-case the attribute names passed to the .attr setter
to workaround an old IE issue. This is no longer in jQuery 3.0 and
removing it may even "accidentally" make this API sort-of work on SVGs
(see gh-2910) so why not.
Manual lowercasing had to be added to the place where the proper
attrHook is retrieved so that it works regardless of the casing of the
provided name. A regular `toLowerCase()` is enough there as those few
attributes don't contain any non-ASCII characters.
Fixes gh-2914
Closes gh-2916
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:37:11 +0000 (21:37 +0300)]
Build: remove npm-debug file
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:49:19 +0000 (22:49 +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
49833f7795d665ff1d543c4f71f29fca95b567e9
Ref gh-2828
Ref gh-2836
Fixes gh-2909
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
Michał Gołębiowski [Wed, 10 Feb 2016 11:57:49 +0000 (12:57 +0100)]
Build: Drop testing on jsdom with Node 0.10 & 0.12
Fixes gh-2841
Michał Gołębiowski [Wed, 10 Feb 2016 11:54:25 +0000 (12:54 +0100)]
Build: Move the stripJSONComments variable to the function that uses it
Michał Gołębiowski [Tue, 9 Feb 2016 09:18:19 +0000 (10:18 +0100)]
Build: Stop removing the JSHint onevar option, it's no longer there
Oleg Gaidarenko [Mon, 8 Feb 2016 21:27:03 +0000 (00:27 +0300)]
Tests: account for new offset tests
Ref
49833f7795d665ff1d543c4f71f29fca95b567e9
Oleg Gaidarenko [Mon, 8 Feb 2016 21:17:25 +0000 (00:17 +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
Michał Gołębiowski [Wed, 3 Feb 2016 10:49:19 +0000 (11:49 +0100)]
Attributes: Add a support comment & fix a link @ tabIndex hook
Ref gh-2664
Oleg Gaidarenko [Sun, 31 Jan 2016 09:09:48 +0000 (12:09 +0300)]
Tests: fix another traverse test
Tricky test - if isolated, was executed fine, but falling
if runned with other tests
Ref
b97c8d30c5aedace75dc17056d429f28e41b20c1
Oleg Gaidarenko [Fri, 29 Jan 2016 18:07:28 +0000 (21:07 +0300)]
Tests:Build: update qunit and fix incorrect test
* Update QUnit to the latest version (1.20.0)
* Corrected test was dependent on QUnit UI, which is always a bad idea
Oleg Gaidarenko [Thu, 28 Jan 2016 23:41:04 +0000 (02:41 +0300)]
Build: add scripts.precommit script
It was losted while merging gh-2881
Jha Naman [Thu, 28 Jan 2016 23:29:49 +0000 (02:29 +0300)]
Build: run linters on git-commit
Fixes gh-2577
Closes gh-2881
Timmy Willison [Wed, 27 Jan 2016 17:57:04 +0000 (12:57 -0500)]
Selector: add jQuery.escapeSelector
Fixes gh-1761
Close gh-2878
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
Bernhard M. Wiedemann [Wed, 27 Jan 2016 08:18:40 +0000 (09:18 +0100)]
Docs: use https where possible
Close gh-2875
Michał Gołębiowski [Wed, 27 Jan 2016 12:02:58 +0000 (13:02 +0100)]
Build: switch from win-spawn to cross-spawn
The win-spawn package is deprecated.
Refs gh-2877
Refs
67c96a59f5af9e8404b3f904028e1c730d647498
Michał Gołębiowski [Wed, 27 Jan 2016 11:54:39 +0000 (12:54 +0100)]
Build: Update npm deps, fix Sinon npmcopy config
All deps were updated except:
* jsdom - tests using a Symbol polyfill are hacky and break with newer jsdom;
we need to re-do them properly first
* qunitjs - versions 1.19.0 & 1.20.0 introduce race conditions to the tests,
making the fail randomly
Those two packages will be updated once issues related to them get resolved.
Fixes gh-2877
Michał Gołębiowski [Wed, 27 Jan 2016 11:26:52 +0000 (12:26 +0100)]
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.
Michał Gołębiowski [Wed, 27 Jan 2016 11:13:32 +0000 (12:13 +0100)]
Build: enable JSCS for test/unit/support.js, fix styling issues
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.
Closes gh-2857
Michał Gołębiowski [Wed, 27 Jan 2016 11:02:00 +0000 (12:02 +0100)]
Tests: Fix manipulation tests in Android 4.4
Chromium < 35 incorrectly upper-cases µ; Android 4.4 uses such a version by
default (and its WebView, being un-updatable, will use it for eternity) so we
need to blacklist that one for the tests to pass.
Richard Gibson [Mon, 25 Jan 2016 00:51:06 +0000 (19:51 -0500)]
Core: Update isNumeric tests for pre-ES2015 safety
Ref
7103d8ef47e04a4cf373abee0e8bfa9062fd616f
Steve Mao [Thu, 14 Jan 2016 09:22:15 +0000 (20:22 +1100)]
Core: Improve isNumeric logic and test coverage
Also add back accidentally deleted comments about the implementation.
Fixes gh-2780
Ref gh-2663
Ref gh-2781
Closes gh-2827
Timmy Willison [Tue, 19 Jan 2016 18:48:05 +0000 (13:48 -0500)]
Effects: remove width/height exception for oldIE
Fixes gh-2488
Close gh-2849
Timmy Willison [Wed, 20 Jan 2016 18:20:58 +0000 (13:20 -0500)]
CSS: isHidden -> isHiddenWithinTree
Fixes gh-2404
Close gh-2855
Timmy Willison [Tue, 19 Jan 2016 18:04:37 +0000 (13:04 -0500)]
Traversing: restore jQuery push behavior in .find
Fixes gh-2370
Close gh-2848
Michał Gołębiowski [Wed, 20 Jan 2016 12:54:31 +0000 (13:54 +0100)]
Tests: Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser
Some Chrome versions newer than 30 but older than 42 display the "undefined is
not a function" error, not mentioning the function name. This has been fixed
in Chrome 42. Relax two tests to allow for this divergence in older Chromoiums.
This affects our Android 5.0 & Yandex.Browser testing.
Timmy Willison [Tue, 19 Jan 2016 17:37:38 +0000 (12:37 -0500)]
Ajax: add serialize to AMD dependencies
Fixes gh-2842
Devin Wilson [Thu, 14 Jan 2016 04:06:43 +0000 (21:06 -0700)]
Event: Fix chaining .on() with null handlers
Fixes gh-2846
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
Richard Gibson [Thu, 14 Jan 2016 20:27:17 +0000 (15:27 -0500)]
CSS: Stop Firefox from treating disconnected elements as cascade-hidden
Fixes gh-2833
Ref
dba93f79c405373ec3a492fd0a4bf89b3136a6e6
Close gh-2835
Timmy Willison [Thu, 14 Jan 2016 17:24:33 +0000 (12:24 -0500)]
Docs: add note about code organization with AMD
Fixes gh-2750
Close gh-2832
Timmy Willison [Thu, 14 Jan 2016 17:22:45 +0000 (12:22 -0500)]
Docs: remove compat references
Timmy Willison [Wed, 13 Jan 2016 21:45:27 +0000 (16:45 -0500)]
Release: update AUTHORS.txt
Richard Gibson [Mon, 11 Jan 2016 07:26:55 +0000 (02:26 -0500)]
CSS: Restore cascade-override behavior in .show
Fixes gh-2654
Fixes gh-2308
Close gh-2810
Ref
86419b10bfa5e3b71a7d416288ab806d47a31d1f
Richard Gibson [Tue, 12 Jan 2016 05:56:29 +0000 (00:56 -0500)]
Traversing: Never let .closest() match positional selectors
Fixes gh-2796
Close gh-2818
Martijn W. van der Lee [Mon, 11 Jan 2016 19:59:33 +0000 (20:59 +0100)]
Traversing: .not/.filter consistency with non-elements
Fixes gh-2808
Close gh-2809
Jon Dufresne [Sun, 29 Nov 2015 17:41:37 +0000 (09:41 -0800)]
Docs: Updated links to https where they are supported.
Close gh-2746
Richard Gibson [Sat, 7 Nov 2015 08:27:06 +0000 (03:27 -0500)]
Docs: Reference new feature guidelines and API tenets
Fixes gh-2320
Close gh-2697
Henry Wong [Sat, 5 Dec 2015 09:35:01 +0000 (01:35 -0800)]
Tests: fixed grammar in comment
Close gh-2757
Josh Soref [Fri, 4 Dec 2015 06:49:23 +0000 (06:49 +0000)]
Docs: Fix various spelling errors
Closes gh-2761