]>
source.dussan.org Git - jquery.git/log
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
Dave Methvin [Mon, 23 Nov 2015 18:57:10 +0000 (13:57 -0500)]
Deferred: Warn on exceptions that are likely programming errors
Fixes gh-2736
Closes gh-2737
Dave Methvin [Tue, 12 Jan 2016 00:10:28 +0000 (19:10 -0500)]
Deferred: Remove undocumented progress notifications in $.when
Fixes gh-2710
Closes gh-2816
Timmy Willison [Mon, 11 Jan 2016 16:42:33 +0000 (11:42 -0500)]
Build: Encode non-ASCII as \uXXXX
Timmy Willison [Mon, 11 Jan 2016 16:25:36 +0000 (11:25 -0500)]
Selector: update Sizzle to 2.3.0
Leonardo Braga [Wed, 7 Oct 2015 04:51:23 +0000 (00:51 -0400)]
Manipulation: Bring tagname regexes up to spec
Fixes gh-2005
Closes gh-2634
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:06:41 +0000 (14:06 -0500)]
Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"
This reverts commit
53f798cf4d783bb813b4d1ba97411bc752b275f3 .
- Turns out this is documented, even if not fully. Need to deprecate before removal.
Jae Sung Park [Thu, 3 Dec 2015 06:34:03 +0000 (15:34 +0900)]
Event: Remove duplicated word text on comment
Closes #2751
Timmy Willison [Mon, 30 Nov 2015 16:30:31 +0000 (11:30 -0500)]
Attributes: exclusively lowercase A-Z in attribute names
Fixes gh-2730
Close gh-2749
Oleg Gaidarenko [Fri, 13 Nov 2015 22:28:16 +0000 (01:28 +0300)]
Core: do not expose second argument of the `jQuery.globalEval`
Closes jquery/api.jquery.com#831
Closes gh-2718
Dave Methvin [Mon, 16 Nov 2015 02:51:18 +0000 (21:51 -0500)]
Ajax: Preserve URL hash on requests
Fixes gh-1732
Closes gh-2721
Richard Gibson [Mon, 9 Nov 2015 02:49:47 +0000 (21:49 -0500)]
Ajax: Golf away 21 bytes
Close gh-2699
Timmy Willison [Mon, 16 Nov 2015 20:49:59 +0000 (15:49 -0500)]
Docs: add a note about loading source with AMD
- Moves the note about the watch task and the note about
loading with AMD to their own section under
"Test Suite Tips"
Fixes gh-2714
Close gh-2725
Timmy Willison [Mon, 16 Nov 2015 20:36:48 +0000 (15:36 -0500)]
Effects: add tests for using jQuery.speed directly
Fixes gh-2716
Close gh-2724
Timmy Willison [Thu, 12 Nov 2015 18:18:59 +0000 (13:18 -0500)]
Release: push a custom slim build to the CDN
Fixes gh-2653
Close gh-2711
Timmy Willison [Wed, 11 Nov 2015 15:35:37 +0000 (10:35 -0500)]
Deferred: syncronize single and multiple target handling in $.when
Fixes gh-2546
Fixes gh-2018
Close gh-2707
Timmy Willison [Thu, 12 Nov 2015 18:25:42 +0000 (13:25 -0500)]
Release: update authors
Timmy Willison [Thu, 12 Nov 2015 18:23:53 +0000 (13:23 -0500)]
Release: use chalk instead of colors for terminal colors
Timmy Willison [Tue, 10 Nov 2015 18:26:15 +0000 (13:26 -0500)]
Selector: pass jQuery unit tests with selector-native
- Ignore certain tests that obviously are not supported
- Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions
Fixes gh-1742
Fixes gh-2048
Close gh-2703
Timmy Willison [Tue, 10 Nov 2015 17:44:35 +0000 (12:44 -0500)]
Effects: fix loading showHide in AMD mode
Dave Methvin [Mon, 9 Nov 2015 23:14:59 +0000 (18:14 -0500)]
Offset: offsetLeft/Top on empty set returns undefined
Fixes gh-2319
Closes gh-2702
Ref gh-2701
Dave Methvin [Mon, 9 Nov 2015 22:49:01 +0000 (17:49 -0500)]
Dimensions: Empty sets should return undefined
Ref gh-2319
Closes gh-2701
Timmy Willison [Fri, 6 Nov 2015 21:16:53 +0000 (16:16 -0500)]
Dimensions: properly manipulate non-px values
Fixes gh-1712
Close gh-2695
Timmy Willison [Fri, 6 Nov 2015 23:36:38 +0000 (18:36 -0500)]
Manipulation: execute scripts from iframe in the iframe's context
Fixes gh-1757
Close gh-2696
Dave Methvin [Sat, 7 Nov 2015 20:51:03 +0000 (15:51 -0500)]
Event: Move VML test out of event alias test
Ref gh-2693
Dave Methvin [Fri, 6 Nov 2015 17:24:06 +0000 (12:24 -0500)]
Dimensions: outerWidth/Height include scrollbar
Fixes gh-1729
Closes gh-2694
Dave Methvin [Fri, 6 Nov 2015 14:59:14 +0000 (09:59 -0500)]
Event: Make event aliases optional in unit tests
Dave Methvin [Thu, 5 Nov 2015 02:53:09 +0000 (21:53 -0500)]
Event: Separate trigger/simulate into its own module
Fixes gh-1864
Closes gh-2692
This also pulls the focusin/out special event into its own module, since that
depends on simulate(). NB: The ajax module triggers events pretty heavily.
Timmy Willison [Thu, 5 Nov 2015 23:13:00 +0000 (18:13 -0500)]
Tests: make editorconfig match css style
Timmy Willison [Wed, 4 Nov 2015 23:34:14 +0000 (18:34 -0500)]
Attributes: return empty array for select-multiple with no values
Fixes gh-2562
Close gh-2689
Dave Methvin [Wed, 4 Nov 2015 18:27:39 +0000 (13:27 -0500)]
Event: Add basic unit tests for event aliases
Fixes gh-2302
Closes gh-2687
At the moment it's not possible to run the full event unit tests without aliases
so this was just tested with a custom build by running this one test.
Timmy Willison [Sun, 18 Oct 2015 16:24:01 +0000 (12:24 -0400)]
Event: Ensure delegation doesn't error on comment nodes
Fixes gh-2055
Close gh-2659
Dave Methvin [Sat, 31 Oct 2015 15:24:04 +0000 (11:24 -0400)]
Ajax: Don't throw exceptions on binary data response
Fixes gh-2498
Closes gh-2682
The added unit test shows how this could be used to support an
ArrayBuffer return, but $.ajax does not support it natively.
The goal with this change was to avoid the exception.
Timmy Willison [Mon, 2 Nov 2015 17:00:28 +0000 (12:00 -0500)]
Ajax: trigger error callback on native abort
- IE9 does not have onabort. Use onreadystatechange instead.
Fixes gh-2079
Close gh-2684
Dave Methvin [Thu, 22 Oct 2015 18:25:32 +0000 (14:25 -0400)]
Ajax: Only form-encode requests with a body
Fixes #2658
Closes #2671
Michał Gołębiowski [Fri, 30 Oct 2015 18:16:27 +0000 (19:16 +0100)]
Tests: Make regexes for iOS devices more rigid
Michał Gołębiowski [Fri, 30 Oct 2015 18:14:41 +0000 (19:14 +0100)]
Tests: Remove Safari 7.0 & iOS 6 support tests results
Michał Gołębiowski [Fri, 30 Oct 2015 18:13:45 +0000 (19:13 +0100)]
Tests: Add iOS 9 support tests results
Michał Gołębiowski [Fri, 30 Oct 2015 00:34:33 +0000 (01:34 +0100)]
Build: Test on Node 5
Timmy Willison [Thu, 29 Oct 2015 19:21:46 +0000 (15:21 -0400)]
Release: remove antiquated release-notes.js
Timmy Willison [Wed, 28 Oct 2015 17:54:04 +0000 (13:54 -0400)]
Core: use interactive to evaluate dom ready, barring IE9-10
Fixes gh-2100
Timmy Willison [Mon, 26 Oct 2015 15:38:04 +0000 (11:38 -0400)]
Attributes: remove flakey test for selected attribute
- The change is already covered by the "checked" test.
Since this test is redundant, just drop it.
Richard Gibson [Sun, 25 Oct 2015 19:25:56 +0000 (15:25 -0400)]
Richard Gibson [Fri, 23 Oct 2015 15:55:52 +0000 (11:55 -0400)]
Timmy Willison [Sun, 18 Oct 2015 21:21:41 +0000 (17:21 -0400)]
Attributes: do not set properties to false when removing booleans
Fixes gh-1759
Timmy Willison [Sun, 18 Oct 2015 19:50:43 +0000 (15:50 -0400)]
Core: make isNumeric limited to strings and numbers
Fixes gh-2662
Dave Methvin [Tue, 20 Oct 2015 16:30:01 +0000 (12:30 -0400)]
Build: Add "deprecated" to the Testswarm module list
Ref #1740
Yeah.
Michał Gołębiowski [Sun, 18 Oct 2015 21:26:56 +0000 (17:26 -0400)]
Tests: Add Safari 9 support tests results
Richard Gibson [Fri, 8 May 2015 03:16:18 +0000 (23:16 -0400)]
CSS: Correct misrepresentation of "auto" horizontal margins as 0
Fixes gh-2237
Closes gh-2276
(cherry picked from commit
214e1634ab9b1d13d53647dd5de3bdf7a091d49c )
Conflicts:
src/css.js
src/css/support.js
test/unit/support.js
Joelle Fleurantin [Sun, 18 Oct 2015 20:20:25 +0000 (16:20 -0400)]
Attributes: fix tabIndex on <img> in IE11
Fixes gh-2647
Closes gh-2664