]>
source.dussan.org Git - jquery.git/log
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
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
Richard Gibson [Fri, 16 Sep 2016 02:42:34 +0000 (22:42 -0400)]
Core: Compress stripAndCollapse
Close gh-3318
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
Michał Gołębiowski [Mon, 12 Sep 2016 17:27:56 +0000 (19:27 +0200)]
Build: Update promises-aplus-tests for compat with Node 7
The older promises-aplus-tests was relying on old Mocha that, in turn,
used an obsolete graceful-fs version that is not guaranteed to work fine
with the upcoming Node 7 and later.
Michał Gołębiowski [Mon, 12 Sep 2016 16:36:48 +0000 (18:36 +0200)]
Tests: Disable a whitespace-setting test in Edge 14
Working around this problem would require us to skip setting whitespace-only
values except when they're valid which would be very fragile. Another option
would be to set the value and see if it succeeded and then react to that.
We've tried something like that in the past to be able to overwrite !important
styles (see
24e5879 ) but it broke the CSS cascade (see
https://bugs.jquery.com/ticket/14836#comment:5) and was triggering
MutationObserver callbacks too often so it was reverted in PR gh-1532.
Ref gh-3204
Ref gh-1532
Timmy Willison [Mon, 15 Aug 2016 15:41:11 +0000 (11:41 -0400)]
Core: expose noConflict in AMD mode
- For compability reasons, we had already added the global
in AMD mode, but without noConflict. This adds back noConflict
to AMD (which fixes noConflict mode in the tests).
Fixes gh-2930
Dave Methvin [Tue, 2 Aug 2016 20:41:34 +0000 (16:41 -0400)]
Traversing: Let .not(arraylike) pass non-element nodes
Fixes gh-3226
Closes gh-3261
Richard Gibson [Mon, 8 Aug 2016 18:05:43 +0000 (14:05 -0400)]
Build: Update Sizzle to 2.3.3
Fixes gh-3263
Richard Gibson [Mon, 8 Aug 2016 16:35:26 +0000 (12:35 -0400)]
Build: Update Sizzle to 2.3.2
Dave Methvin [Fri, 29 Jul 2016 19:50:07 +0000 (15:50 -0400)]
Ajax: Don't mangle the URL when removing the anti-cache param
Fixes gh-3229
Closes gh-3253
Richard Gibson [Mon, 8 Aug 2016 15:59:14 +0000 (11:59 -0400)]
Build: Update Sizzle to 2.3.1
Fixes gh-3224
Richard Gibson [Mon, 1 Aug 2016 18:20:38 +0000 (14:20 -0400)]
Event: Optimize delegated event processing
Closes gh-3255
Oleg Gaidarenko [Fri, 29 Jul 2016 19:18:58 +0000 (22:18 +0300)]
Build: .eslintrc -> .eslintrc.json
`.eslintrc` format is deprecated -
http://eslint.org/docs/user-guide/configuring#configuration-file-formats
Fixes gh-3248
Closes gh-3247
Oleg Gaidarenko [Mon, 25 Jul 2016 23:53:57 +0000 (02:53 +0300)]
Build: Simplify Gruntfile constructions
Fixes gh-3246
Timmy Willison [Tue, 2 Aug 2016 16:04:21 +0000 (12:04 -0400)]
Build: add new email to mailmap
Michał Gołębiowski [Mon, 25 Jul 2016 23:22:53 +0000 (01:22 +0200)]
Build: Don't lint every file in dist/ (#3245)
Currently the "all" target for the eslint task includes way more than
the "dev" & "dist" targets combined and those 2 tasks are the one run in
`npm test`.
Alexander Lisianoi [Thu, 16 Jun 2016 09:42:26 +0000 (11:42 +0200)]
Build: use commitplease via husky, prohibit #NNNN github-style tickets
Closes gh-3176
Oleg Gaidarenko [Fri, 15 Jul 2016 17:42:25 +0000 (21:42 +0400)]
Build: Update eslint config and fix associated errors
Michał Gołębiowski [Mon, 11 Jul 2016 17:22:48 +0000 (19:22 +0200)]
Build: Upgrade ESLint to 3.x again
ESLint is now skipped in Node older than 4.x so we're safe.
Refs gh-3222
Michał Gołębiowski [Mon, 11 Jul 2016 17:21:57 +0000 (19:21 +0200)]
Build: Skip running ESLint on Node.js 0.x
ESLint 3.0 drops support for Node.js older than 4.x. To be able to update
to this version and yet not block our contributors from building jQuery
on older Node.js (at least until it's supported by upstream) this commit
makes ESLint skipped on older Node; a proper message is displayed then.
Fixes gh-3222
Michał Gołębiowski [Wed, 13 Jul 2016 08:49:13 +0000 (10:49 +0200)]
Build: Fix the regex removing the ESLint comment from wrapper.js
The new regex from after the switch from JSHint to ESLint wasn't catching
the ESLint pragma correctly.
Also, the spacing of the pragma comment was updated to match other comments.
Oleg Gaidarenko [Fri, 8 Jul 2016 23:05:15 +0000 (02:05 +0300)]
Build: Don't use ESLint 3.x
Since it is not supported by older node versions :/
Oleg Gaidarenko [Fri, 8 Jul 2016 21:46:58 +0000 (00:46 +0300)]
Build: More ESLint related changes
Timmy Willison [Thu, 7 Jul 2016 21:46:08 +0000 (17:46 -0400)]
Build: Updating the master version to 3.1.1-pre.
Timmy Willison [Thu, 7 Jul 2016 21:29:24 +0000 (17:29 -0400)]
Build: ignore cdn and slim files when linting
Timmy Willison [Thu, 7 Jul 2016 19:46:40 +0000 (15:46 -0400)]
Build: Updating the master version to 3.1.0-pre.
Michał Gołębiowski [Wed, 29 Jun 2016 12:19:04 +0000 (14:19 +0200)]
Core: Re-throw errors that happened in callbacks wrapped in jQuery ready
Also, expose jQuery.readyException that allows to overwrite the default
ready error handler.
Fixes gh-3174
Closes gh-3210
Oleg Gaidarenko [Wed, 22 Jun 2016 15:41:57 +0000 (19:41 +0400)]
Build: Improve ESLint configuration (#3188)
* Bump eslint-config-jquery package to 0.1.4 version
* Add subtask "dist" to "eslint" task and add it to the build task list
* Make gitignore globs more flexible for the "dist" folder
Fixes gh-3169
Oleg Gaidarenko [Tue, 10 May 2016 09:12:28 +0000 (12:12 +0300)]
Build: ESLint details
Use eslint pragmas, fix new errors, etc
Closes gh-3148
Oleg Gaidarenko [Sat, 11 Jun 2016 07:30:12 +0000 (10:30 +0300)]
Tests: Move promise/A+ adapters for tests to dedicated folder
Oleg Gaidarenko [Tue, 10 May 2016 09:06:37 +0000 (12:06 +0300)]
Build: Switch from jscs+jshint to eslint
Timmy Willison [Thu, 9 Jun 2016 18:33:16 +0000 (14:33 -0400)]
Build: Updating the master version to 3.0.1-pre.
Scott González [Wed, 8 Jun 2016 13:08:47 +0000 (09:08 -0400)]
Event: Add the most commonly used pointer event properties
Ref gh-3104
Close gh-3152
Michał Gołębiowski [Wed, 8 Jun 2016 12:22:13 +0000 (14:22 +0200)]
Deferred: Propagate progress correctly from unwrapped promises
Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.
Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.
Fixes gh-3062
Closes gh-3150
Michał Gołębiowski [Sun, 29 May 2016 20:24:28 +0000 (22:24 +0200)]
Attributes: Avoid infinite recursion on non-lowercase attribute getters
Attribute hooks are determined for the lowercase versions of attribute names
but this has not been reflected in the bool attribute hooks. The code that
temporarily removed a handler to avoid an infinite loop was removing an
incorrect handler causing stack overflow.
Fixes gh-3133
Refs gh-2914
Refs gh-2916
Closes gh-3134
Michał Gołębiowski [Sun, 29 May 2016 21:08:37 +0000 (23:08 +0200)]
Docs: Fix an incorrect comment in the attributes module
Attributes are no longer always treated as lowercase, although hooks for
them are. This commit fixes a no longer correct comment.
Michał Gołębiowski [Sun, 29 May 2016 20:50:28 +0000 (22:50 +0200)]
Tests: Remove side-effects of one attributes test
One test in the attribute module was overwriting jQuery.expr.attrHandle.checked
and wasn't restoring the original state after it finished. It started causing
issues for another checked-related test.
Dave Methvin [Thu, 2 Jun 2016 22:33:47 +0000 (18:33 -0400)]
Event: Allow constructing a jQuery.Event without a target
Fixes gh-3139
Closes gh-3140
Michał Gołębiowski [Sun, 29 May 2016 19:42:54 +0000 (21:42 +0200)]
Build: Drop testing on Node.js 5
Node.js 5's upstream support ends in about a month, there is not much point
in testing it when we're releasing a new major version of jQuery
Michał Gołębiowski [Fri, 20 May 2016 20:16:17 +0000 (22:16 +0200)]
Docs: Use HTTPS URLs for jsfiddle & jsbin
Michał Gołębiowski [Fri, 20 May 2016 20:14:45 +0000 (22:14 +0200)]
Docs: Tweak formatting of ISSUE_TEMPLATE.md
Timmy Willison [Fri, 20 May 2016 18:16:33 +0000 (14:16 -0400)]
Release: update AUTHORS.txt
Oleg Gaidarenko [Thu, 19 May 2016 17:56:39 +0000 (21:56 +0400)]
Events: don't execute native stop(Immediate)Propagation from simulation
In Firefox, called `stop(Immediate)Propagation` methods,
in capturing phase prevents receiving focus
Fixes gh-3111
Christophe Tafani-Dereeper [Mon, 16 May 2016 12:44:45 +0000 (14:44 +0200)]
CSS: Remove units from a 0 width/height element
Close gh-3122
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
Dave Methvin [Wed, 11 May 2016 01:50:00 +0000 (21:50 -0400)]
Deferred: Give better stack diagnostics on exceptions
Ref gh-2736
The exception stack has the name of the immediately outer function where the
exception occurred, which can be very handy for tracing errors. Since we already
have the exception object we might as well use it.
Timmy Willison [Mon, 9 May 2016 18:17:01 +0000 (14:17 -0400)]
Release: update AUTHORS.txt
Dave Methvin [Thu, 5 May 2016 20:41:42 +0000 (16:41 -0400)]
Event: Add touch event properties, eliminates need for a plugin
Fixes gh-3104
Closes gh-3108
See https://github.com/aarongloege/jquery.touchHooks
Other properties are already present thanks to mouse events.
squash! Add targetTouches
Richard Gibson [Wed, 4 May 2016 19:30:24 +0000 (15:30 -0400)]
Deferred: Make jQuery.when synchronous when possible
Closes gh-3102
Fixes gh-3100
Closes gh-3105
Richard Gibson [Sat, 7 May 2016 02:12:53 +0000 (22:12 -0400)]
Event: Cover invalid delegation selector edge cases
Ref
7fd36ea145a11d5896de6d064b546b1c57a83f34
Felipe Sateler [Sun, 1 May 2016 21:40:20 +0000 (18:40 -0300)]
Event: Evaluate delegate selectors at add time
This ensures that invalid selectors throw right away.
Fixes gh-3071
Closes gh-3097
Dave Methvin [Thu, 5 May 2016 01:36:11 +0000 (21:36 -0400)]
Event: Remove pageX/pageY fill for event object
Fixes gh-3092
CLoses gh-3106
IE8 was the last major browser missing these.
Jason Bedard [Fri, 1 Nov 2013 05:36:38 +0000 (22:36 -0700)]
Event: Remove fixHooks, propHooks; switch to ES5 getter with addProp
Fixes gh-3103
Fixes gh-1746
Closes gh-2860
- Removes the copy loop in jQuery.event.fix
- Avoids accessing properties such as client/offset/page/screen X/Y
which may cause style recalc or layouts
- Simplifies adding property hooks to event object
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.
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.
Richard Gibson [Fri, 15 Apr 2016 03:59:30 +0000 (23:59 -0400)]
Deferred: Separate the two paths in jQuery.when
Single- and no-argument calls act like Promise.resolve.
Multi-argument calls act like Promise.all.
Fixes gh-3029
Closes gh-3059
Ralin Chimev [Fri, 29 Apr 2016 19:22:27 +0000 (22:22 +0300)]
Ajax: Remove unnecessary use of jQuery.trim
The subsequent .match already ignores leading/trailing space.
Ref gh-3003
Closes gh-3095
Michał Gołębiowski [Fri, 29 Apr 2016 08:36:57 +0000 (10:36 +0200)]
Build: Don't lint the built file in the husky precommit hook
The husky Git precommit hook was linting not only the source but also the
built file. Normally it's expected, we want to run basic checks on what's
built but in the precommit hook we're not building the file so we might
be linting some previous, broken version.
Fixes gh-3091
Dave Methvin [Wed, 27 Apr 2016 23:47:50 +0000 (19:47 -0400)]
Docs: Add FAQ to reduce noise in issues
Oleg Gaidarenko [Wed, 27 Apr 2016 20:21:56 +0000 (23:21 +0300)]
Revert "Effects: Remove additional parameters of easings"
This reverts commit
b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb .
Fixes #3064
Richard Gibson [Wed, 27 Apr 2016 16:46:14 +0000 (12:46 -0400)]
Deferred: Provide explicit undefined context for jQuery.when raw casts
Fixes gh-3082
Closes gh-3084
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