]>
source.dussan.org Git - jquery.git/log
Mike Sherov [Tue, 6 Dec 2011 21:44:32 +0000 (16:44 -0500)]
Fix #10796. Allow IE<9 to retrieve uncomputed styles.
Rick Waldron [Thu, 17 Nov 2011 19:28:22 +0000 (14:28 -0500)]
Remove unnec .call( this... from one: function() {}. Fixes #10819
Mike Sherov [Tue, 6 Dec 2011 21:23:22 +0000 (16:23 -0500)]
Fix #10754. Have jQuery.swap() return the value of its callback.
RafaC3ABl Blais Masson [Tue, 6 Dec 2011 21:17:09 +0000 (16:17 -0500)]
Refine the jQuery.isWindow check.
Rick Waldron [Tue, 6 Dec 2011 21:02:54 +0000 (16:02 -0500)]
Fix #10466. jQuery.param() should treat object-wrapped primitives as primitives.
Richard Gibson [Tue, 6 Dec 2011 20:25:38 +0000 (15:25 -0500)]
Fix #5571. Setters should treat `undefined` as a no-op and be chainable.
Dave Methvin [Tue, 22 Nov 2011 02:11:33 +0000 (21:11 -0500)]
Updating the source version to 1.7.2pre
Dave Methvin [Tue, 22 Nov 2011 02:11:03 +0000 (21:11 -0500)]
Tagging the 1.7.1 release.
Dave Methvin [Tue, 22 Nov 2011 01:53:56 +0000 (20:53 -0500)]
Revert "Landing pull request 581. Updates original patch by Orkel. Fixes #10006."
This reverts commit
299bc655c90cc89652417675f976ae1bfefc4d8b .
Rick Waldron [Tue, 22 Nov 2011 01:33:06 +0000 (20:33 -0500)]
Ensure all elements are removed from 10006 test block
Dave Methvin [Tue, 22 Nov 2011 01:04:18 +0000 (20:04 -0500)]
Update release notes version.
Rick Waldron [Mon, 21 Nov 2011 18:25:46 +0000 (13:25 -0500)]
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
Rick Waldron [Mon, 21 Nov 2011 18:25:07 +0000 (13:25 -0500)]
Landing pull request 611. Adds Contributing to jQuery Guidelines section to readme. Fixes #10611.
More Details:
- https://github.com/jquery/jquery/pull/611
- http://bugs.jquery.com/ticket/10611
Dave Methvin [Mon, 21 Nov 2011 16:33:21 +0000 (11:33 -0500)]
Fix #10844. Harden quickIs() against form-aliasing of the id property.
timmywil [Fri, 18 Nov 2011 16:45:12 +0000 (11:45 -0500)]
Remove rdigit now that it is no longer necessary
timmywil [Fri, 18 Nov 2011 14:28:54 +0000 (09:28 -0500)]
No global vars allowed. Declare 'body' in support.
Dave Methvin [Fri, 18 Nov 2011 00:14:39 +0000 (19:14 -0500)]
Update version.
Dave Methvin [Fri, 18 Nov 2011 00:07:03 +0000 (19:07 -0500)]
Updating the source version to 1.7.1pre
Dave Methvin [Fri, 18 Nov 2011 00:06:35 +0000 (19:06 -0500)]
Tagging the 1.7.1rc1 release.
Rick Waldron [Thu, 17 Nov 2011 20:02:38 +0000 (15:02 -0500)]
Landing pull request 604. Updates bind to on in src/ajax.js. Fixes #10817.
More Details:
- https://github.com/jquery/jquery/pull/604
- http://bugs.jquery.com/ticket/10817
timmywil [Thu, 17 Nov 2011 19:48:27 +0000 (14:48 -0500)]
Remove the invisible body in support; Add temporary tests to verify correct support completions for upcoming support changes.
Dave Methvin [Thu, 17 Nov 2011 19:15:42 +0000 (14:15 -0500)]
Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.
Dave Methvin [Thu, 17 Nov 2011 16:47:56 +0000 (11:47 -0500)]
Fix #10812, let .before() and .after() work on empty collections.
timmywil [Wed, 16 Nov 2011 16:39:34 +0000 (11:39 -0500)]
Fix error in test suite from testElementCrash.html; did not have callbacks.js
Dave Methvin [Wed, 16 Nov 2011 15:35:53 +0000 (10:35 -0500)]
Fix #10791. SVG clamors for special treatment of its class names.
Dave Methvin [Wed, 16 Nov 2011 02:06:53 +0000 (21:06 -0500)]
Fix #10798. Don't re-bubble trigger()ed events in IE.
Since .trigger() already bubbles the event, we don't have to work around the non-bubbling IE events for that case.
Dave Methvin [Tue, 15 Nov 2011 16:38:55 +0000 (11:38 -0500)]
Allow mapped types to be removed by a namespace-only type name.
Dave Methvin [Tue, 15 Nov 2011 15:22:32 +0000 (10:22 -0500)]
Fix #10794. .triggerHandler() should not .preventDefault().
This also provides a resolution for #10699.
timmywil [Mon, 14 Nov 2011 17:31:28 +0000 (12:31 -0500)]
Microoptimization in jQuery.attr and remove the redundancy of return undefined
Rick Waldron [Mon, 14 Nov 2011 17:24:58 +0000 (12:24 -0500)]
Landing pull request 600. Remove jQuery.trim() to restore perf. Supplements #10773.
More Details:
- https://github.com/jquery/jquery/pull/600
- http://bugs.jquery.com/ticket/10773
jrburke [Mon, 14 Nov 2011 17:13:25 +0000 (12:13 -0500)]
Landing pull request 586. Create exports.js for exporting jQuery to window and AMD. Fixes #10687.
More Details:
- https://github.com/jquery/jquery/pull/586
- http://bugs.jquery.com/ticket/10687
Corey Frang [Fri, 11 Nov 2011 20:05:06 +0000 (14:05 -0600)]
Ensuring that nulls in private data object won't cause errors on stop() - Fixes #10750
Oleg [Sun, 13 Nov 2011 08:10:21 +0000 (12:10 +0400)]
Fix #10773. Improve parameter handling in removeAttr.
Dave Methvin [Mon, 14 Nov 2011 02:32:07 +0000 (21:32 -0500)]
Pre-focus the element so the browser won't fire focus while we're faking it.
At this point the unit test is only testing our ability to fake-fire focusin the right way. These machinations are related to the problem in #6705.
Dave Methvin [Mon, 14 Nov 2011 02:03:36 +0000 (21:03 -0500)]
Disable DOM focusin test since it can't really work in the swarm.
Dave Methvin [Mon, 14 Nov 2011 01:50:36 +0000 (20:50 -0500)]
Catch more cases where special events were incorrectly removed.
We can't take the blow-it-all-away shortcut because something in the middle of the list may be a mapped special event. On the bright side, -22!
Mike Sherov [Fri, 11 Nov 2011 02:23:39 +0000 (21:23 -0500)]
use for loop instead of jQuery.each in getWH()
Dave Methvin [Fri, 11 Nov 2011 02:53:07 +0000 (21:53 -0500)]
Avoid collateral damage when removing bindType/delegateType special events.
Dave Methvin [Thu, 10 Nov 2011 23:05:58 +0000 (18:05 -0500)]
Ensure the hover event doesn't match hovercraft. Witchcraft, maybe.
timmywil [Thu, 10 Nov 2011 15:30:10 +0000 (10:30 -0500)]
Move clearing the support vars to before the offset doc ready call in case the offset tests are run synchronously. Fixes #10737.
- Adding a test for this would probably slow the manipulation tests significantly, but it's simple enough.
Dave Methvin [Thu, 10 Nov 2011 02:51:55 +0000 (21:51 -0500)]
The special.handle hook is for origType, not the mapped type.
Dave Methvin [Thu, 10 Nov 2011 02:29:15 +0000 (21:29 -0500)]
Fix #10705. Don't bail too soon in `.off()` event string processing.
Daniel Herman [Wed, 9 Nov 2011 05:00:02 +0000 (00:00 -0500)]
Removing .unbind in favor of .off in jQuery.ready
Dave Methvin [Wed, 9 Nov 2011 04:08:04 +0000 (23:08 -0500)]
Fix #10712. Deal with focus/blur morphing to focusin/focusout.
Dave Methvin [Wed, 9 Nov 2011 00:32:25 +0000 (19:32 -0500)]
Fix #10717, .trigger("load") on images can't bubble to window.
This means no manually triggered event named "load" can bubble, so avoid that name for delegated custom events.
jaubourg [Wed, 9 Nov 2011 00:02:29 +0000 (01:02 +0100)]
Have Deferred.always return the object onto which it is currently attached to enable true chainability. Fixes #10723. Unit tests added.
Dave Methvin [Tue, 8 Nov 2011 18:12:37 +0000 (13:12 -0500)]
Take 2 on "Fix ajax to always expect an Error object, per #10646."
We can't use jQuery.error to rethrow anymore since it constructs a new Error from its supposedly-string arg. Also, older IE stringifies Error objects into "[object Error]" so I've loosened the unit test criteria.
This reverts commit
586fb059190ecacd89e3cd211c78e776792d2f2b .
Dave Methvin [Tue, 8 Nov 2011 17:49:58 +0000 (12:49 -0500)]
Revert "Catch one more place where a plain-text error was thrown."
This reverts commit
cc4a999648d2623972e6dabad0e6c4b1bb60458a .
timmywil [Tue, 8 Nov 2011 20:46:48 +0000 (15:46 -0500)]
Update Sizzle. Adds document to acceptable nodeTypes for .text(). Fixes #10724.
Dave Methvin [Tue, 8 Nov 2011 15:09:53 +0000 (10:09 -0500)]
Catch one more place where a plain-text error was thrown.
timmywil [Tue, 8 Nov 2011 14:48:44 +0000 (09:48 -0500)]
Refactor clone a bit to only create one clone on any given codepath
Dave Methvin [Tue, 8 Nov 2011 14:42:43 +0000 (09:42 -0500)]
Merge branch 'master' of github.com:jquery/jquery
Dave Methvin [Tue, 8 Nov 2011 14:42:08 +0000 (09:42 -0500)]
Fix ajax to always expect an Error object, per #10646.
timmywil [Tue, 8 Nov 2011 05:06:38 +0000 (00:06 -0500)]
Update Sizzle
timmywil [Tue, 8 Nov 2011 05:05:33 +0000 (00:05 -0500)]
Remove test of the invalid object for IE9's sake; Rewrite the appropriate support test for html5 clone caching. Fixes #10682
timmywil [Tue, 8 Nov 2011 02:33:03 +0000 (21:33 -0500)]
Comment out an ajax test that exposed a bug in Opera, to appease testswarm.
Rick Waldron [Tue, 8 Nov 2011 02:22:04 +0000 (21:22 -0500)]
Fix busted rnoshimcache. Correctly clone detached unknown elems. Fixes #10667, #10670.
- \s => |, Removes 4 bytes from gzipped build
- Adds tests for clone attributes, children and events
Dave Methvin [Tue, 8 Nov 2011 01:40:55 +0000 (17:40 -0800)]
Merge pull request #585 from dcherman/master
Replace .bind with .on when building event aliases
Daniel Herman [Mon, 7 Nov 2011 23:04:59 +0000 (18:04 -0500)]
Replace .bind with .on when building event aliases
timmywil [Mon, 7 Nov 2011 16:50:26 +0000 (11:50 -0500)]
Update Sizzle
Dave Methvin [Mon, 7 Nov 2011 16:40:39 +0000 (11:40 -0500)]
Fix #10646. Throw an Error object from `.error()` for IE's sake.
Dave Methvin [Mon, 7 Nov 2011 16:25:51 +0000 (11:25 -0500)]
Fix #10690. Make sure `.isNumeric()` can't get a `Date`.
Also add tests for custom objects with a `.toString()` method.
Dave Methvin [Mon, 7 Nov 2011 16:15:18 +0000 (11:15 -0500)]
Fix #10676. Remove `wheelDelta` from the event props list.
A cross-browser solution is best handled in a plugin such as jquery-mousewheel.js .
Dave Methvin [Mon, 7 Nov 2011 16:07:36 +0000 (11:07 -0500)]
Fix #10701, .preventDefault if an inline handler returns false.
Baby unicorns are slapped each time you use inline handlers, so do it sparingly.
timmywil [Mon, 7 Nov 2011 15:46:46 +0000 (10:46 -0500)]
Add back unit in the width/height step function. Fixes #10669.
Dave Methvin [Mon, 7 Nov 2011 01:12:00 +0000 (20:12 -0500)]
Since we fixed .is(POS) let's use it and save bytes.
Also, creates a single jQuery object and reuses it in the delegation-test loop to make it more performancy.
Dave Methvin [Sun, 6 Nov 2011 22:56:48 +0000 (14:56 -0800)]
Merge pull request #583 from JustinDrake/patch-2
`self` instead of `$this`
Justin [Sun, 6 Nov 2011 22:54:21 +0000 (22:54 +0000)]
It seems the convention is to use `self` for caching `jQuery ( this )` instead of using `$this`.
Matt Mueller [Fri, 14 Oct 2011 09:41:35 +0000 (02:41 -0700)]
Removed irrelevant comment.
Corey Frang [Sun, 6 Nov 2011 22:24:44 +0000 (17:24 -0500)]
Removing a stale line of code in `.data()`
Toby Brain [Sun, 6 Nov 2011 21:59:41 +0000 (16:59 -0500)]
Fix #10177. Pass correct index to function-parameter of `.wrap`
Berker Peksag [Sun, 6 Nov 2011 21:38:26 +0000 (16:38 -0500)]
Chrome 10 slice bug has been fixed; remove workaround.
See: http://code.google.com/p/v8/issues/detail?id=1050
Discussion: jquery/jquery@
52a0238 .
Rick Waldron [Sun, 30 Oct 2011 17:13:26 +0000 (13:13 -0400)]
Coerce eq() argument all the time. Fixes #10616
Rick Waldron [Fri, 4 Nov 2011 20:57:02 +0000 (16:57 -0400)]
User internalKey instead of jQuery.expando. Fixes #10675
Dave Methvin [Sun, 6 Nov 2011 20:49:45 +0000 (15:49 -0500)]
Streamline getComputedStyle per @JustinDrake's observation.
Mike Sherov [Sun, 6 Nov 2011 20:27:42 +0000 (15:27 -0500)]
Fix #10691. Remove all instances of equals() and same(), as these are deprecated in QUnit.
Dave Methvin [Sun, 6 Nov 2011 19:49:31 +0000 (14:49 -0500)]
Remove forever-alone regexps in event.js
These should have been removed during the event refactor.
Dave Methvin [Sun, 6 Nov 2011 19:45:35 +0000 (14:45 -0500)]
Eliminate spurious error message from `which`.
Some versions of `which` (Cygwin's among them) spit out an error to stderr when not all their args are found. We only expect one of these to be found anyway.
Rick Waldron [Sun, 6 Nov 2011 03:04:09 +0000 (23:04 -0400)]
Fixes jQuery.fragments cache and adds tests. Fixes #10682
Dave Methvin [Thu, 3 Nov 2011 20:18:50 +0000 (16:18 -0400)]
Updating the source version to 1.7.1pre
Dave Methvin [Thu, 3 Nov 2011 20:18:21 +0000 (16:18 -0400)]
Tagging the 1.7 release.
Dave Methvin [Thu, 3 Nov 2011 20:10:23 +0000 (16:10 -0400)]
Update the version for building release notes.
timmywil [Wed, 2 Nov 2011 18:03:08 +0000 (14:03 -0400)]
Correct typo in support.js assigning margin-top with cssText. Fixes #10638.
Dave Methvin [Tue, 1 Nov 2011 16:07:49 +0000 (12:07 -0400)]
Updating the source version to 1.7pre
Dave Methvin [Tue, 1 Nov 2011 16:07:23 +0000 (12:07 -0400)]
Tagging the 1.7rc2 release.
timmywil [Tue, 1 Nov 2011 16:02:22 +0000 (12:02 -0400)]
Add return in the offset support tests if the body is not present in frameset docs
timmywil [Tue, 1 Nov 2011 13:46:20 +0000 (09:46 -0400)]
Fix a failing effects test in IE; minor style changes in effects
timmywil [Mon, 31 Oct 2011 22:24:34 +0000 (18:24 -0400)]
Pass iframe support tests at doc ready. Fixes support fail in FF7
timmywil [Mon, 31 Oct 2011 21:31:46 +0000 (17:31 -0400)]
Revert "Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416." Fixes #10622.
This reverts commit
22f2e8b3dc18dede5f1ccb28cbdf8cb5bcde115f .
timmywil [Mon, 31 Oct 2011 16:34:32 +0000 (12:34 -0400)]
Merge branch 'bug_10613_2'
timmywil [Mon, 31 Oct 2011 16:33:55 +0000 (12:33 -0400)]
jQuery.support.supportsFixedPosition -> jQuery.support.fixedPosition; Remove jQuery.offset.supportProps and reference support in offset
timmywil [Mon, 31 Oct 2011 16:07:19 +0000 (12:07 -0400)]
Reduce bytes and minor adjustments
timmywil [Mon, 31 Oct 2011 14:50:19 +0000 (10:50 -0400)]
Construct a new container so that styles on the body are not affected
timmywil [Mon, 31 Oct 2011 13:50:21 +0000 (09:50 -0400)]
Run offset support tests at doc ready. Fixes #10613.
Corey Frang [Mon, 31 Oct 2011 13:33:11 +0000 (08:33 -0500)]
Renaming 'runner' to 'hooks' - makes it a little more obvious whats happening
timmywil [Fri, 28 Oct 2011 18:17:14 +0000 (14:17 -0400)]
Add a way to fire native events using dispatchEvent/fireEvent in testinit.js; fixes failing click test in FF3.6
Mike Sherov [Fri, 28 Oct 2011 14:53:42 +0000 (10:53 -0400)]
Landing pull request 562. Make sure runtimeStyle isn't affected by dimensions. Fixes #9233.
More Details:
- https://github.com/jquery/jquery/pull/562
- http://bugs.jquery.com/ticket/9233
Dave Methvin [Thu, 27 Oct 2011 21:11:40 +0000 (17:11 -0400)]
DRY the hover pseudo-event, get the type right, allow override.
Now with working unit test for extra correctness! If external code defines a special.hover event, we won't string-hack "hover" into "mouseenter mouseleave".
Dave Methvin [Thu, 27 Oct 2011 20:02:54 +0000 (16:02 -0400)]
Pass correct arg list to special._default. Thanks @mikaelkaron!
Dave Methvin [Thu, 27 Oct 2011 19:49:41 +0000 (12:49 -0700)]
Merge pull request #565 from rwldrn/10601
Cleanup spacing. Fixes #10601