Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename jQuery.event.propHooks to .fixHooks. | Dave Methvin | 2011-10-05 | 1 | -6/+6 | |
| | | | | 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. | |||||
* | Fix #10375. Don't put `type` in jQuery.event.props | Dave Methvin | 2011-09-29 | 1 | -1/+1 | |
| | | | | It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory. | |||||
* | Expose jQuery.event.simulate for use by special event handlers. | Dave Methvin | 2011-09-28 | 1 | -23/+23 | |
| | ||||||
* | Minor cleanups to code. Futile effort to get IE to pass the unit test. | Dave Methvin | 2011-09-25 | 1 | -4/+5 | |
| | ||||||
* | propHooks now an object with `props` array and `filter` function. | Dave Methvin | 2011-09-25 | 1 | -77/+63 | |
| | | | | 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. | |||||
* | Merge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into ↵ | Dave Methvin | 2011-09-24 | 1 | -44/+91 | |
|\ | | | | | | | | | | | | | | | fix-8789-rwldrn-fix Conflicts: src/event.js test/unit/event.js | |||||
| * | Moves mouse properties to mouseProps | Rick Waldron | 2011-09-23 | 1 | -1/+2 | |
| | | ||||||
| * | current state | Rick Waldron | 2011-09-22 | 1 | -5/+14 | |
| | | ||||||
| * | Removes early return loop, must copy properties | Rick Waldron | 2011-09-22 | 1 | -5/+0 | |
| | | ||||||
| * | Shortcircuit fix if possible | Rick Waldron | 2011-09-22 | 1 | -0/+5 | |
| | | ||||||
| * | More ref localization | Rick Waldron | 2011-09-22 | 1 | -10/+15 | |
| | | ||||||
| * | Remove unnec. empty line | Rick Waldron | 2011-09-22 | 1 | -1/+0 | |
| | | ||||||
| * | More reference caching | Rick Waldron | 2011-09-22 | 1 | -2/+4 | |
| | | ||||||
| * | Cache reference to propHook lookup and result | Rick Waldron | 2011-09-22 | 1 | -3/+6 | |
| | | ||||||
| * | Restore this.propHooks => jQuery.event.propHooks for better gzip ↵ | Rick Waldron | 2011-09-22 | 1 | -2/+2 | |
| | | | | | | | | compression. Thanks gnarf | |||||
| * | Adds notes re: crash status of fix conditions | Rick Waldron | 2011-09-22 | 1 | -1/+2 | |
| | | ||||||
| * | Moves key event fixes to own even prop hook defs | Rick Waldron | 2011-09-22 | 1 | -14/+23 | |
| | | ||||||
| * | jQuery.event.propHooks => this.propHooks where possible | Rick Waldron | 2011-09-22 | 1 | -2/+2 | |
| | | ||||||
| * | Removes pageX pageY from prop list | Rick Waldron | 2011-09-20 | 1 | -1/+1 | |
| | | ||||||
| * | Updates rmouseEvent | Rick Waldron | 2011-09-20 | 1 | -1/+1 | |
| | | ||||||
| * | Implements jQuery.event.propHooks. Fixes #8789 | Rick Waldron | 2011-09-20 | 1 | -30/+51 | |
| | | ||||||
* | | Fix #7061. Lazy-attach to the genuine submit event for delegation. | Dave Methvin | 2011-09-21 | 1 | -8/+19 | |
| | | | | | | | | Avoids the problems that arise when we try to trigger submit behavior at clicky-time. | |||||
* | | Remove the rarely-used pseudos from quickis.html | Dave Methvin | 2011-09-21 | 1 | -11/+4 | |
| | | | | | | | | The cutting will continue until file size is improved. | |||||
* | | Allow IE .trigger()ed events through on a check/radio. | Dave Methvin | 2011-09-20 | 1 | -1/+2 | |
| | | ||||||
* | | Don't fire change on an already-selected radio. | Dave Methvin | 2011-09-20 | 1 | -4/+12 | |
| | | | | | | | | Thanks to Brandon Wallace (@bman654) for his code review. Also tweaks delegatetest.html output. | |||||
* | | Fix #6593. Don't let onchange trigger twice for elements in IE. | Dave Methvin | 2011-09-20 | 1 | -97/+41 | |
|/ | | | | This is a major revamp of the approach we use for IE change events. Instead of trying to track and simulate, we lazy-attach real change events to inputs and have only one workaround for check/radio. Somewhat more resource intensive but closes several sticky bugs. The onchange is still triggered for check/radio on blur but no double-trigger on any element occurs. | |||||
* | Landing pull request 512. 1.7 - removeData now takes space separated lists ↵ | Corey Frang | 2011-09-19 | 1 | -12/+10 | |
| | | | | | | | | and arrays of keys - Fixes #7323. More Details: - https://github.com/jquery/jquery/pull/512 - http://bugs.jquery.com/ticket/7323 | |||||
* | Landing pull request 500. 1.7 - "public data" stored as a key on "internal ↵ | Corey Frang | 2011-09-19 | 1 | -13/+9 | |
| | | | | | | | | data" - Fixes #8921. More Details: - https://github.com/jquery/jquery/pull/500 - http://bugs.jquery.com/ticket/8921 | |||||
* | Revert "Fix #6593. Don't trigger `change` event twice when simulating it on ↵ | Dave Methvin | 2011-09-19 | 1 | -5/+6 | |
| | | | | | | IE." Add inline handler monitor to delegatetest.html so we can see it fail. This reverts commit e77686495b6e34938575c9c0fe978cb4a0be6f05. | |||||
* | Eliminate global variable "l" (!) | Dave Methvin | 2011-09-19 | 1 | -1/+1 | |
| | ||||||
* | Narrow the invisible-element embargo to focus/blur events. | Dave Methvin | 2011-09-19 | 1 | -5/+6 | |
| | ||||||
* | Update "Fix #6593. Don't trigger `change` event twice when simulating it on IE." | Dave Methvin | 2011-09-19 | 1 | -8/+7 | |
| | | | | This reverts commit 3d0de29d5615c1b1d74c72e6272484961a4ba243. | |||||
* | Fix #9593. Create a new jQuery.Event rather than a plain object when ↵ | Dave Methvin | 2011-09-19 | 1 | -2/+2 | |
| | | | | simulate()ing events. Fix a related issue with not passing src to jQuery.Event constructor. | |||||
* | Fix #6593. Don't trigger `change` event twice when simulating it on IE. | Dave Methvin | 2011-09-19 | 1 | -2/+2 | |
| | ||||||
* | Fix #6170. Don't try to run DOM methods on `window`. | Dave Methvin | 2011-09-19 | 1 | -3/+4 | |
| | ||||||
* | Remove the relatedTarget adjustment for mouseenter/leave events, it's an ↵ | Dave Methvin | 2011-09-19 | 1 | -7/+3 | |
| | | | | ambiguous case anyway and it is expensive to do. | |||||
* | Cosmetic and style cleanups. | Dave Methvin | 2011-09-19 | 1 | -33/+32 | |
| | ||||||
* | Fix the special event handler for mouseover/out events. | Dave Methvin | 2011-09-19 | 1 | -1/+3 | |
| | | | | And use the /dist version of jquery.js, willya? | |||||
* | Rework #1486 patch to avoid `try/catch` and look for hidden elements by ↵ | Dave Methvin | 2011-09-19 | 1 | -14/+12 | |
| | | | | `.offsetWidth`. Unit test currently disabled due to Chrome bug. | |||||
* | Fix #9951. Precompute path for `.trigger()` to match up with W3C spec. | Dave Methvin | 2011-09-19 | 1 | -33/+36 | |
| | ||||||
* | Fix some messy rebasing issues. | Dave Methvin | 2011-09-19 | 1 | -28/+24 | |
| | ||||||
* | Fixes for IE8. Avoid killer recursion in special events during removal. Use ↵ | Dave Methvin | 2011-09-19 | 1 | -11/+13 | |
| | | | | q instead of quote in unit tests. | |||||
* | The unload event no longer needs the IE6SP2 fix, see ↵ | Dave Methvin | 2011-09-19 | 1 | -1/+1 | |
| | | | | http://bugs.jquery.com/ticket/8982 | |||||
* | Clean up the delegate matching logic. | Dave Methvin | 2011-09-19 | 1 | -2/+2 | |
| | ||||||
* | Make a `blur` event bubble properly when mutated into a `focusout` event. | Dave Methvin | 2011-09-19 | 1 | -7/+10 | |
| | ||||||
* | Remove redundancy in the IE special submit handler. | Dave Methvin | 2011-09-19 | 1 | -13/+6 | |
| | ||||||
* | Fix simulate() arg order. | Dave Methvin | 2011-09-19 | 1 | -1/+1 | |
| | ||||||
* | Clean up the quick selector expression parsing code. | Dave Methvin | 2011-09-19 | 1 | -24/+27 | |
| | ||||||
* | special.handle now must call the handleObj.handler if it wants that to ↵ | Dave Methvin | 2011-09-19 | 1 | -29/+23 | |
| | | | | happen. Also re-use the simulate() function for bubbling focusin. | |||||
* | Rework the special events interface to add handle and trigger hooks. Modify ↵ | Dave Methvin | 2011-09-19 | 1 | -125/+136 | |
| | | | | IE change/submit special events to take advantage of them. Rewrite mouseover/enter code as special events rather than inline code. In the event unit test, set a tabindex on the div element and focus it first to justify a legitimate blur event. |