]>
source.dussan.org Git - jquery.git/log
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
Rick Waldron [Thu, 27 Oct 2011 19:35:09 +0000 (15:35 -0400)]
Cleanup spacing in traversing.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:34:42 +0000 (15:34 -0400)]
Cleanup spacing in support.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:34:05 +0000 (15:34 -0400)]
Cleanup spacing in queue.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:33:37 +0000 (15:33 -0400)]
Cleanup spacing in outro.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:33:21 +0000 (15:33 -0400)]
Cleanup spacing in offset.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:32:49 +0000 (15:32 -0400)]
Cleanup spacing in manipulation.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:31:35 +0000 (15:31 -0400)]
Cleanup spacing in events.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:30:12 +0000 (15:30 -0400)]
Cleanup spacing in effects.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:29:09 +0000 (15:29 -0400)]
Cleanup spacing in css.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:28:14 +0000 (15:28 -0400)]
Cleanup spacing in attributes.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:26:37 +0000 (15:26 -0400)]
Cleanup spacing in ajax.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:25:30 +0000 (15:25 -0400)]
Cleanup spacing in core.js. Fixes #10601
Rick Waldron [Thu, 27 Oct 2011 19:07:21 +0000 (15:07 -0400)]
Cleanup spacing. Fixes #10601
Dave Methvin [Thu, 27 Oct 2011 02:56:26 +0000 (22:56 -0400)]
Make sure `.data("events")` still works, for now.
Julian Aubourg [Wed, 26 Oct 2011 23:50:21 +0000 (16:50 -0700)]
Merge pull request #564 from rwldrn/10586
Core styleguide cleanup. Fixes #10586
Dave Methvin [Wed, 26 Oct 2011 21:04:15 +0000 (17:04 -0400)]
Fix #10588. For now, event voyeurism only merits the look of disapproval.
If you are using `.data("events")` we would like to know how we can provide a documented interface that satisfies the need.
Dave Methvin [Wed, 26 Oct 2011 20:02:20 +0000 (16:02 -0400)]
Fix #10576. Add alias for jQuery.event.handle so voyeur code still works.
Between new 1.7 special event hooks and jQuery.event.simulate() we have a much cleaner solution than the people calling jQuery.event.handle are doing, but we shouldn't break their use of this undocumented internal interface for now.
Rick Waldron [Wed, 26 Oct 2011 18:58:05 +0000 (14:58 -0400)]
Core styleguide cleanup. Fixes #10586
Dave Methvin [Tue, 25 Oct 2011 17:43:27 +0000 (13:43 -0400)]
Fix #10575. Undeclared `matched` var hosed recursive delegate calls.
Thanks davidmurdoch for staying with this bug!
Dave Methvin [Mon, 24 Oct 2011 22:18:56 +0000 (18:18 -0400)]
Updating the source version to 1.7pre
Dave Methvin [Mon, 24 Oct 2011 22:18:17 +0000 (18:18 -0400)]
Tagging the 1.7rc1 release.
Dave Methvin [Mon, 24 Oct 2011 22:05:53 +0000 (18:05 -0400)]
Remove attribute match from quickIs
As @timmywil points out, attributes and properties are confused by IE6/7. This commit also reworks the unit test case to do a better job of checking className matches.
Dave Methvin [Mon, 24 Oct 2011 21:26:43 +0000 (17:26 -0400)]
Fix #10567. Make sure quickIs matches correct class name.
Dave Methvin [Mon, 24 Oct 2011 15:33:09 +0000 (11:33 -0400)]
Fix 10558. Get the right element for checkClone; thanks zhengzongyi!
Dave Methvin [Mon, 24 Oct 2011 15:17:24 +0000 (11:17 -0400)]
Fix #10563. Ensure event.currentTarget==this if delegated.
Now, event.delegateTarget is always the element where the event was handled, regardless of whether delegated handlers are attached.
Dave Methvin [Mon, 24 Oct 2011 03:03:00 +0000 (23:03 -0400)]
Stop global event bubbling using onlyHandlers flag.
Dave Methvin [Mon, 24 Oct 2011 02:25:13 +0000 (22:25 -0400)]
Make jQuery().off(event) work for delegated events.
Logic to handle detaching by event was in both .off() and jQuery.event.remove; now it's only in .off(). It's a bit of a strange case since the event object (not the jQuery set) specifies the element.
Dave Methvin [Mon, 24 Oct 2011 01:13:59 +0000 (21:13 -0400)]
Fold dispatch function into main event dispatch.
Dave Methvin [Fri, 21 Oct 2011 15:16:27 +0000 (11:16 -0400)]
Don't add an empty list of handlers.
Dave Methvin [Fri, 21 Oct 2011 15:11:36 +0000 (11:11 -0400)]
Make event.currentTarget the delegate node, always.
This lets us use currentTarget for its intended use and avoids creating a non-standard delegateTarget property.
Dave Methvin [Fri, 21 Oct 2011 14:56:16 +0000 (10:56 -0400)]
Don't run direct handlers if delegate did .stopPropagation().
timmywil [Mon, 24 Oct 2011 14:17:08 +0000 (07:17 -0700)]
Merge pull request #563 from rwldrn/fix-spaces
Clean up spacing in manipulation
Rick Waldron [Mon, 24 Oct 2011 13:27:16 +0000 (09:27 -0400)]
Fixes gross indents.
timmywil [Sun, 23 Oct 2011 20:07:07 +0000 (16:07 -0400)]
Landing pull request 550. IE6,7,8 cannot use cached fragments from unknown elems. Fixes #10501.
More Details:
- https://github.com/jquery/jquery/pull/550
- http://bugs.jquery.com/ticket/10501