]>
source.dussan.org Git - jquery.git/log
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
Mike Sherov [Sun, 23 Oct 2011 19:31:50 +0000 (15:31 -0400)]
Landing pull request 561. only check for not null in unit tests. Supplements #8388.
More Details:
- https://github.com/jquery/jquery/pull/561
- http://bugs.jquery.com/ticket/8388
Mathias Bynens [Sat, 22 Oct 2011 20:14:47 +0000 (16:14 -0400)]
Landing pull request 554. #10531: Remove `layerX` and `layerY` Fixes #10531.
More Details:
- https://github.com/jquery/jquery/pull/554
- http://bugs.jquery.com/ticket/10531
Mike Sherov [Sat, 22 Oct 2011 20:08:14 +0000 (16:08 -0400)]
Landing pull request 553. Fallback to elem.style for disconnected nodes in width/height retrieval. Fixes #8388.
More Details:
- https://github.com/jquery/jquery/pull/553
- http://bugs.jquery.com/ticket/10254
- http://bugs.jquery.com/ticket/8388
Rick Waldron [Sat, 22 Oct 2011 20:06:57 +0000 (16:06 -0400)]
Landing pull request 560. Further reduce minimal header. Fixes #10553.
More Details:
- https://github.com/jquery/jquery/pull/560
- http://bugs.jquery.com/ticket/10553
timmywil [Sat, 22 Oct 2011 20:03:57 +0000 (16:03 -0400)]
Support setting both the enctype attribute and property (encoding in IE6/7). Fixes #6743.
timmywil [Mon, 17 Oct 2011 20:45:27 +0000 (16:45 -0400)]
Use the property name in elem.removeAttribute in IE6/7 to ensure correct removals. Fixes #10514.
Dave Methvin [Fri, 14 Oct 2011 01:13:28 +0000 (21:13 -0400)]
Updating the source version to 1.7pre
Dave Methvin [Fri, 14 Oct 2011 01:12:55 +0000 (21:12 -0400)]
Tagging the 1.7b2 release.
Dave Methvin [Thu, 13 Oct 2011 20:30:40 +0000 (16:30 -0400)]
Fix #10489. Disconnected elements don't bubble to document.
timmywil [Thu, 13 Oct 2011 16:07:54 +0000 (12:07 -0400)]
Run ajax tests in swarm
timmywil [Thu, 13 Oct 2011 15:11:41 +0000 (11:11 -0400)]
Update sizzle; Add sizzle cache collision iframe test. Fixes #8539.
timmywil [Wed, 12 Oct 2011 04:06:30 +0000 (00:06 -0400)]
Do not call getElements on a script tag. Avoids unnecessary execution. Fixes #10176.
Dave Methvin [Wed, 12 Oct 2011 02:55:10 +0000 (22:55 -0400)]
Tweak live-blur() test to silence a IE8 swarm fail.
timmywil [Wed, 12 Oct 2011 02:37:52 +0000 (22:37 -0400)]
Leave the opacity test unanchored in case of floating point rounding browser errors; small fix in queue tests. Fixes #5145.
Corey Frang [Wed, 12 Oct 2011 01:21:59 +0000 (21:21 -0400)]
Squashed commit of the following:
commit
af3fd32f207ed080084f10d76f89c07c414baa05
Merge:
83c08ff fdd60f8
Author: Dave Methvin <dave.methvin@gmail.com>
Date: Tue Oct 11 21:17:56 2011 -0400
Merge branch 'stop' of https://github.com/gnarf37/jquery into pull-541-stop
commit
fdd60f8705e98430df62196f505cb929b2d7f6bc
Author: Corey Frang <gnarf@gnarf.net>
Date: Mon Oct 10 13:51:59 2011 -0500
.stop( [queue,] clearQueue, gotoEnd )
Dave Methvin [Wed, 12 Oct 2011 01:04:22 +0000 (21:04 -0400)]
Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.
Thanks to Christian C. Salvadó for the unit tests!
Dave Methvin [Wed, 12 Oct 2011 00:30:07 +0000 (20:30 -0400)]
Fixes #10477. Get `.off(type, null, fn)` right.
jaubourg [Wed, 12 Oct 2011 00:23:56 +0000 (20:23 -0400)]
Removes isPending and introduces state as a means to retrieve the Deferred/Promise state. Unit tests amended.
Dave Methvin [Tue, 11 Oct 2011 03:14:08 +0000 (23:14 -0400)]
Fix focus/blur unit test issues. Reopens #6705.
In the event refactor, I tried to have the focus/blur events trigger the focus/blur plus focusin/focusout events but this doesn't handle various real-world cases that expect a trigger()ed jQuery handler to run and be able to pass data even if the native event shouldn't fire.
This reopens a bug that causes a double-fire of
inline event handlers.
Dave Methvin [Tue, 11 Oct 2011 01:51:15 +0000 (21:51 -0400)]
Fix #10468. Remove jQuery.event.proxy and jQuery.event.guid.
These were deprecated several versions ago and have always been undocumented. Use jQuery.proxy() and jQuery.guid instead.
Julian Aubourg [Fri, 7 Oct 2011 15:52:54 +0000 (08:52 -0700)]
Merge pull request #535 from gnarf37/queue-true
Effects - Allow queue: true - Fixes #10445
timmywil [Fri, 7 Oct 2011 15:45:42 +0000 (11:45 -0400)]
Minor fix in events; undeclared var from last commit
Corey Frang [Fri, 7 Oct 2011 15:16:38 +0000 (10:16 -0500)]
Effects - Allow queue: true - Fixes #10445
Dave Methvin [Fri, 7 Oct 2011 14:14:53 +0000 (07:14 -0700)]
Merge pull request #531 from rwldrn/events.js-cleanup
Style sweep
timmywil [Thu, 6 Oct 2011 21:17:51 +0000 (17:17 -0400)]
Add a hook for removing contenteditable in IE6/7 and remove the unnecessary jQuery.attrFix. Fixes #10429.
Rick Waldron [Thu, 6 Oct 2011 20:36:15 +0000 (16:36 -0400)]
Additional nits
Rick Waldron [Thu, 6 Oct 2011 14:12:05 +0000 (10:12 -0400)]
Style sweep
Dave Methvin [Thu, 6 Oct 2011 01:41:32 +0000 (21:41 -0400)]
Rename jQuery.event.propHooks to .fixHooks.
We already have jQuery.propHooks for the .prop() method, so using the same name for unrelated functionality on a sub-namespace is crazy talk. Since the method involved is jQuery.event.fix(), this will hopefully tie them together. Oh, and it's shorter.
Dave Methvin [Wed, 5 Oct 2011 21:22:31 +0000 (14:22 -0700)]
Merge pull request #522 from rwldrn/10371
Removes 'subline' from test/index.html. Fixes #10371
Rick Waldron [Tue, 4 Oct 2011 19:53:19 +0000 (15:53 -0400)]
Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416.
More Details:
- https://github.com/jquery/jquery/pull/530
- http://bugs.jquery.com/ticket/10416
jaubourg [Tue, 4 Oct 2011 16:08:46 +0000 (12:08 -0400)]
isProgressing becomes isPending. Unit tests added.
Julian Aubourg [Tue, 4 Oct 2011 15:27:10 +0000 (08:27 -0700)]
Merge pull request #529 from shichuan/master
updated Juriy Zaytsev's detecting event support technique link in support.js
Shi Chuan [Tue, 4 Oct 2011 15:09:12 +0000 (23:09 +0800)]
updated Juriy Zaytsev's detecting event support technique link in support.js
jaubourg [Sun, 2 Oct 2011 13:50:09 +0000 (09:50 -0400)]
We have too many unctions in this function.
Rick Waldron [Sat, 1 Oct 2011 20:58:01 +0000 (16:58 -0400)]
Landing pull request 523. Adds character frequency reporting tool, use: make freq. Fixes #10372.
More Details:
- https://github.com/jquery/jquery/pull/523
- http://bugs.jquery.com/ticket/10372
Corey Frang [Sat, 1 Oct 2011 20:49:49 +0000 (16:49 -0400)]
Landing pull request 525. Fixing tests with qunit.
More Details:
- https://github.com/jquery/jquery/pull/525
timmywil [Fri, 30 Sep 2011 21:50:07 +0000 (17:50 -0400)]
Add support for calling outer/inner Width/Height on the window and document. Fixes #9434.
Dave Methvin [Thu, 29 Sep 2011 14:34:40 +0000 (10:34 -0400)]
Fix #10375. Don't put `type` in jQuery.event.props
It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory.
timmywil [Wed, 28 Sep 2011 20:47:18 +0000 (16:47 -0400)]
Update Sizzle. Fixes #3144, #6863.
Dave Methvin [Wed, 28 Sep 2011 19:50:56 +0000 (15:50 -0400)]
Updating the source version to 1.7pre
Rick Waldron [Wed, 28 Sep 2011 19:50:33 +0000 (15:50 -0400)]
Removes 'subline' from test/index.html. Fixes #10371
Dave Methvin [Wed, 28 Sep 2011 19:50:22 +0000 (15:50 -0400)]
Tagging the 1.7b1 release.
Dave Methvin [Wed, 28 Sep 2011 16:04:27 +0000 (12:04 -0400)]
Expose jQuery.event.simulate for use by special event handlers.
Corey Frang [Wed, 28 Sep 2011 16:00:21 +0000 (12:00 -0400)]
Landing pull request 520. Unset the complete function just before calling it to avoid an exception creating a loop. Fixes #5684.
More Details:
- https://github.com/jquery/jquery/pull/520
- http://bugs.jquery.com/ticket/5684
Corey Frang [Wed, 28 Sep 2011 15:55:29 +0000 (11:55 -0400)]
Landing pull request 514. 1.7 - queue refactoring to handle delay stop - Fixes #6150.
More Details:
- https://github.com/jquery/jquery/pull/514
- http://bugs.jquery.com/ticket/6150
timmywil [Wed, 28 Sep 2011 15:39:05 +0000 (11:39 -0400)]
Move createSafeFragment to the top to satisfy lint
timmywil [Wed, 28 Sep 2011 15:30:38 +0000 (11:30 -0400)]
Fixes IE7 test suite. Keep the testElement attached and set necessary styles on it to fix the offset with margin test.
timmywil [Wed, 28 Sep 2011 14:06:29 +0000 (10:06 -0400)]
Fixes a fail in unit/traversing. Use an iframe's document for creating the html5 fragment when necessary.
Rick Waldron [Mon, 26 Sep 2011 17:03:24 +0000 (13:03 -0400)]
Restore original click prop hook
Rick Waldron [Mon, 26 Sep 2011 17:00:45 +0000 (13:00 -0400)]
Fixed tests to run in IE9
Rick Waldron [Mon, 26 Sep 2011 16:46:01 +0000 (12:46 -0400)]
Merge branch 'fix-8789-rwldrn-fix' of git://github.com/dmethvin/jquery into fix-8789-rwldrn-fix
* 'fix-8789-rwldrn-fix' of git://github.com/dmethvin/jquery:
Minor cleanups to code. Futile effort to get IE to pass the unit test.
propHooks now an object with `props` array and `filter` function.
Moves mouse properties to mouseProps
current state
Removes early return loop, must copy properties
Shortcircuit fix if possible
More ref localization
Remove unnec. empty line
More reference caching
Cache reference to propHook lookup and result
Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf
Adds notes re: crash status of fix conditions
Moves key event fixes to own even prop hook defs
jQuery.event.propHooks => this.propHooks where possible
Removes pageX pageY from prop list
Updates rmouseEvent
Implements jQuery.event.propHooks. Fixes #8789
Adds implementation tests for jQuery.event.propHooks #8789
timmywil [Mon, 26 Sep 2011 16:01:21 +0000 (12:01 -0400)]
Revert QUnit. Recent start/stop changes cause problems with some start/stop calls in effects and offset. Run git submodule update
Dave Methvin [Mon, 26 Sep 2011 02:04:52 +0000 (22:04 -0400)]
Minor cleanups to code. Futile effort to get IE to pass the unit test.
Dave Methvin [Sun, 25 Sep 2011 23:56:34 +0000 (19:56 -0400)]
propHooks now an object with `props` array and `filter` function.
Use the originalEvent to grab properties in filter functions since they often won't have been copied to event. Mark a few current props in the main jQuery.event.props list as deprecated, they aren't supported across all browsers.
Dave Methvin [Sun, 25 Sep 2011 02:26:41 +0000 (22:26 -0400)]
Merge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into fix-8789-rwldrn-fix
Conflicts:
src/event.js
test/unit/event.js
Rick Waldron [Fri, 23 Sep 2011 19:45:19 +0000 (15:45 -0400)]
Moves mouse properties to mouseProps
Dave Methvin [Fri, 23 Sep 2011 13:11:02 +0000 (09:11 -0400)]
Simplify the `.closest(Array)` code since we no longer use it internally.
It was previously used in liveHandler for delegated events, but is now baked in to events.js. The signature is a strange one since it returns an array of matches, *not* a chainable jQuery object. I've marked it as deprecated.
The code is simplified by two things: 1) We don't care about optimizing the duplicate selectors case, and 2) `.is()` now handles positional selectors by looking for set membership, which eliminates the workaround that was being applied here. See https://github.com/jquery/jquery/commit/
70e2e32e0eb03607ad0c8b7752dbd7747da47164 for that commit.
Rick Waldron [Fri, 23 Sep 2011 00:02:34 +0000 (20:02 -0400)]
current state
Rick Waldron [Thu, 22 Sep 2011 23:05:06 +0000 (19:05 -0400)]
Removes early return loop, must copy properties
Rick Waldron [Thu, 22 Sep 2011 15:30:03 +0000 (11:30 -0400)]
Shortcircuit fix if possible
Rick Waldron [Thu, 22 Sep 2011 15:22:56 +0000 (11:22 -0400)]
More ref localization
Rick Waldron [Thu, 22 Sep 2011 15:14:45 +0000 (11:14 -0400)]
Remove unnec. empty line
Rick Waldron [Thu, 22 Sep 2011 15:12:42 +0000 (11:12 -0400)]
More reference caching
Rick Waldron [Thu, 22 Sep 2011 15:07:16 +0000 (11:07 -0400)]
Cache reference to propHook lookup and result
Rick Waldron [Thu, 22 Sep 2011 14:59:29 +0000 (10:59 -0400)]
Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf
Rick Waldron [Thu, 22 Sep 2011 14:52:29 +0000 (10:52 -0400)]
Adds notes re: crash status of fix conditions