Commit Graph

159 Commits

Author SHA1 Message Date
Richard Gibson
0877d424e0 Fix #12959: Optimize library-wide patterns 2012-11-27 01:59:22 +01:00
Corey Frang
516a7a8792 Fix #12803. Add jQuery.fx.start as a hook point. Close gh-1024. 2012-11-25 15:23:02 -05:00
Corey Frang
877306738f Unroll the ( || ) in the math - Fixes #12497 - Thanks @lukemella @curiousdannii - Closes gh-1019 2012-11-07 21:29:55 -06:00
Corey Frang
c45f6095f2 Keep track of a hiding state for toggle based animations - Fixes #8685
Closes gh-1018
2012-11-07 19:23:24 -06:00
Corey Frang
781a5c0b78 Ensure each tick gets it's own fxNow - Fixes #12837 - Thanks @chadparry
Closes gh-1022
Closes gh-1021
2012-11-07 19:22:14 -06:00
jaubourg
9346c0ef99 adds strict rule to jshint options (except for test files). "use strict" is added to the main jQuery closure and some "could-be-unsafe" this trickery in effects is silenced. 2012-10-18 00:50:01 -04:00
Mike Sherov
16d996ba0c no ticket: remove and enforce unused vars in jshint 2012-10-17 12:52:12 -04:00
carldanley
08e134548f Create private methods for processing data/removeData requests. Fixes #12519, Closes gh-976 2012-10-16 11:15:41 -04:00
Mike Sherov
d70e64bff2 fix effects tests failure 2012-10-16 00:17:39 -04:00
Richard Gibson
e755c19416 Fix #12447: Ensure starting-point calc takes finite time. Close gh-922. 2012-09-15 13:10:37 -04:00
Dave Methvin
0ca936d2c9 Fix #12370. Explicitly coerce bool/undef to integer. 2012-08-30 10:47:47 -04:00
Corey Frang
0fea007a1a Fix #12273. Don't call easing functions for duration 0 animations. Close gh-895. 2012-08-19 22:09:08 -04:00
Oleg
5119b252ac Moves isHidden to src/css.js and re-introduces its use. No ticket. Closes gh-876 2012-07-25 16:24:10 -07:00
Richard Gibson
c14a6b385f Clean up regexen; use common regex for numbers. Close gh-862. 2012-07-22 22:23:32 -04:00
Corey Frang
74cc5b0984 Fix #9217. oldIE error when changing detached elements, close gh-861 2012-07-22 22:13:31 -04:00
Corey Frang
94924a05de Fix the logic to set overflow:hidden on width & height animations - Fixes #12117 - Closes gh-869 2012-07-20 18:36:55 -05:00
Chris Faulkner
7b5ffcdac8 Fixes a variety of typographical problems. Closes gh-853 2012-07-11 09:46:21 -04:00
Mike Sherov
8f01b92b8f Follow the style guide, lose 72 bytes! Closes gh-840. 2012-07-09 21:39:22 -04:00
Richard Gibson
1793eab32b Fix #11971: force numeric animation start to be numeric, closes gh-836. 2012-07-05 21:38:17 -04:00
Corey Frang
c436ae04de Completes #11799: Maybe .progress() was cooler than I thought.
Generate a .progress() for each step of an animation, once all properties are changed. Closes gh-835.
2012-06-25 10:34:25 -04:00
Corey Frang
36369ce50f Fix #11797. Use Deferred for better animation callbacks. Closes gh-830.
In particular, an animation stopped with `gotoEnd` will be rejected.
2012-06-22 16:11:12 -04:00
Mike Sherov
0b352f6cb5 Fix #9505, percentage position values in Webkit, closes gh-825. 2012-06-15 21:25:25 -04:00
Richard Gibson
a101e81bde Interim take on cross-module variables, closes gh-817. 2012-06-15 21:01:44 -04:00
Mike Sherov
87e709cfcb Fix regression for "-200px" in animations; closes gh-822.
Also removes fake IIFEs ffrom effects.
2012-06-11 21:01:23 -04:00
Jeffery To
801768386b Fix #8109, percent animations; fix #11854, wrong this, close gh-808 2012-06-11 14:17:36 -04:00
Mike Sherov
1bb1432fe9 Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815 2012-06-10 21:30:43 -04:00
Mike Sherov
b9b87d53c6 Less letterSpacing .animate() fail in IE. Fixes #8627 2012-06-06 19:03:10 -04:00
Rick Waldron
7c23b77af2 Strips IIFEs from modules; Always require built jQuery for tests. 2012-06-04 12:48:18 -04:00
Richard Gibson
7f2cc46955 Fix #11767. Modularize build and unit tests for exluding effects.
Closes gh-785. To build a version of jQuery without effects, use `grunt build:*:*:-effects`. The unit tests feature-check for the interfaces and skip the unit tests for effects if they don't detect it.
2012-05-28 22:36:23 -04:00
Corey Frang
4621a0131b Optimizations to animation queue/promise logic, closes gh-776. 2012-05-22 23:04:45 -04:00
Oleg
ae20e732f0 Fix #11755. Avoid :hidden selector for animations. Closes gh-774. 2012-05-22 22:36:55 -04:00
Corey Frang
6bf3f20d4e Fix #7157. Animation callbacks shouldn't see an element as :animated.
Unless of course, there are other animations to be done! Closes gh-775.
2012-05-18 13:48:24 -04:00
Mike Sherov
c4e22ad8b5 Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.
This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope.

For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
2012-05-15 23:29:20 -04:00
Richard Gibson
afb34fe227 Scalarize [value, easing] before css-expanding; closes gh-750. 2012-05-11 16:22:00 -04:00
Corey Frang
58ed62ed12 Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson042 2012-04-23 15:05:12 -04:00
Sindre Sorhus
fdf37de778 Followup to #11469; add test case and clarify code. 2012-04-04 23:30:13 -04:00
louisremi
07c8a9b244 Fix #11469. Exclude margins from the negative property check. 2012-03-21 12:28:10 -07:00
Dave Methvin
56426261f0 Fix #11415: Stop non-negative prop undershoot on animation.
This doesn't fix *all* of them (see the ticket for a supposedly complete list) but these were already handy so it was relatively cheap to fix them. If you need others fixed, add a custom step function as was done here. Thanks @scott_gonzalez!
2012-03-01 22:31:17 -05:00
Mike Sherov
a52391aa1d Fix #7986. $.support.boxModel shan't be fooled by page-level CSS. 2012-02-24 00:14:15 -05:00
Scott González
8618487c53 Easing: Only use the state to calculate the value. Fixes #11284 - Simplify easings to only rely on the state. 2012-02-09 21:37:54 -05:00
timmywil
e8673ae1aa When stopping a show, save showing end state instead of start state to fix animation toggling issue. Fixes #10848. 2012-01-20 14:17:19 -05:00
Oleg
cc5e8e3866 Fix #10006: Allow .show() to work on detached elements. 2012-01-12 19:57:04 -05:00
Mike Sherov
8f5f1b2e6c Fix #8498. Add cssHooks[prop].expand for use by animate(). 2011-12-08 20:01:23 -05:00
Dave Methvin
3586ea28a8 Revert "Landing pull request 581. Updates original patch by Orkel. Fixes #10006."
This reverts commit 299bc655c9.
2011-11-21 20:53:56 -05:00
Rick Waldron
299bc655c9 Landing pull request 581. Updates original patch by Orkel. Fixes #10006.
More Details:
 - https://github.com/jquery/jquery/pull/581
 - http://bugs.jquery.com/ticket/10006
2011-11-21 13:25:46 -05:00
Corey Frang
499d7e409c Ensuring that nulls in private data object won't cause errors on stop() - Fixes #10750 2011-11-14 11:36:36 -05:00
timmywil
1e677f30f6 Add back unit in the width/height step function. Fixes #10669. 2011-11-07 10:47:09 -05:00
timmywil
52afe20860 Fix a failing effects test in IE; minor style changes in effects 2011-11-01 09:46:20 -04:00
timmywil
0752687612 Revert "Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416." Fixes #10622.
This reverts commit 22f2e8b3dc.
2011-10-31 17:31:46 -04:00
Corey Frang
0191e98934 Renaming 'runner' to 'hooks' - makes it a little more obvious whats happening 2011-10-31 09:47:19 -04:00