Commit Graph

3736 Commits

Author SHA1 Message Date
Dave Methvin
4030de9519 Update "Fix #6593. Don't trigger change event twice when simulating it on IE."
This reverts commit 3d0de29d5615c1b1d74c72e6272484961a4ba243.
2011-09-19 15:42:32 -04:00
Dave Methvin
8c91da57b9 Fix #9593. Create a new jQuery.Event rather than a plain object when simulate()ing events. Fix a related issue with not passing src to jQuery.Event constructor. 2011-09-19 15:42:32 -04:00
Dave Methvin
619a89d5ff Fix #6593. Don't trigger change event twice when simulating it on IE. 2011-09-19 15:42:31 -04:00
Dave Methvin
6872d31f5a Fix #6170. Don't try to run DOM methods on window. 2011-09-19 15:42:31 -04:00
Dave Methvin
38601e07da Remove the relatedTarget adjustment for mouseenter/leave events, it's an ambiguous case anyway and it is expensive to do. 2011-09-19 15:42:31 -04:00
Dave Methvin
2886249e84 Cosmetic and style cleanups. 2011-09-19 15:42:31 -04:00
Dave Methvin
0ec71ac707 Fix the special event handler for mouseover/out events.
And use the /dist version of jquery.js, willya?
2011-09-19 15:42:31 -04:00
Dave Methvin
8ba5010ac2 Split out mouse hover/enter/leave tests into a separate file and add several more scenarios. 2011-09-19 15:42:31 -04:00
Dave Methvin
9aa553aa18 Rework #1486 patch to avoid try/catch and look for hidden elements by .offsetWidth. Unit test currently disabled due to Chrome bug. 2011-09-19 15:42:31 -04:00
Dave Methvin
ecd10464e8 Fix #9951. Precompute path for .trigger() to match up with W3C spec. 2011-09-19 15:42:31 -04:00
Dave Methvin
0ccb88d48d Fix some messy rebasing issues. 2011-09-19 15:42:31 -04:00
Dave Methvin
005958b731 Fixes for IE8. Avoid killer recursion in special events during removal. Use q instead of quote in unit tests. 2011-09-19 15:42:31 -04:00
Dave Methvin
9038aa9586 The unload event no longer needs the IE6SP2 fix, see http://bugs.jquery.com/ticket/8982 2011-09-19 15:42:31 -04:00
Dave Methvin
68d07bf648 Clean up the delegate matching logic. 2011-09-19 15:42:31 -04:00
Dave Methvin
66e9a6f773 Make a blur event bubble properly when mutated into a focusout event. 2011-09-19 15:42:31 -04:00
Dave Methvin
8a6bbc70d0 Remove redundancy in the IE special submit handler. 2011-09-19 15:42:31 -04:00
Dave Methvin
bd55f905a0 Fix simulate() arg order. 2011-09-19 15:42:31 -04:00
Dave Methvin
bb1081ee44 Clean up the quick selector expression parsing code. 2011-09-19 15:42:31 -04:00
Dave Methvin
990c094f1c special.handle now must call the handleObj.handler if it wants that to happen. Also re-use the simulate() function for bubbling focusin. 2011-09-19 15:42:31 -04:00
Dave Methvin
6a670df9e9 Rework the special events interface to add handle and trigger hooks. Modify 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. 2011-09-19 15:42:31 -04:00
Dave Methvin
df6e0d508e Rewrite IE special change/submit to make it faster/shorter. Fixes #6319. 2011-09-19 15:42:31 -04:00
Dave Methvin
0dc7b16e94 Fixes #8858. Pass the .trigger(..., data) to the event.special._default method. 2011-09-19 15:42:31 -04:00
Dave Methvin
d74c6bd0f4 Add unit tests for quickIs cases and fix the regexp as a result. 2011-09-19 15:42:31 -04:00
Dave Methvin
03f99ff995 Pre-compute delegated event path and handlers to comply with http://www.w3.org/TR/DOM-Level-3-Events/#event-flow 2011-09-19 15:42:30 -04:00
Dave Methvin
f3a9d30812 Cleanup for on/off unit test. 2011-09-19 15:42:30 -04:00
Dave Methvin
5d6a1424aa jQuery 1.7 event work:
Add .on() and .off() methods.
Write existing methods in terms of on/off.
Rewrite delegated handling to remove "live" event.
Fix existing code for jQuery style guide.
Fix existing bug in unit tests calling .undelegate()
2011-09-19 15:42:30 -04:00
Dave Methvin
8b4bd89add Fix bad calls to .undelegate().
Remove two tests that assume "live" data structure.
2011-09-19 15:42:30 -04:00
timmywil
28c2330665 Remove unnecessary commented code 2011-09-19 15:42:30 -04:00
timmywil
2e0c9bfd36 Allow second argument to be passed to array.indexOf. Fixes #9453. 2011-09-19 15:42:30 -04:00
timmywil
25205d3f90 Removing topic.js as it will be a plugin 2011-09-19 15:42:30 -04:00
jaubourg
4092e3d275 $.Callbacks, $.Topic and notify/progress on $.Deferred. 2011-09-19 15:42:30 -04:00
timmywil
1878885fb7 Animation state is tracked on toggled/stopped animations using the private data cache. Fixes #8685. See full commit message for more. Fixes #6641.
- Example: http://jsfiddle.net/timmywil/gqZL5/24/

- http://bugs.jquery.com/ticket/8685

- Check the completed timer has not been removed already so other timers do not get accidentally removed. Fixes #6641.

- Style edits, code reductions, and optimizations for the effects module
2011-09-19 15:42:30 -04:00
timmywil
92405d4f5f Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
2011-09-19 15:42:30 -04:00
timmywil
269899a506 Updating the source version to 1.7pre 2011-09-19 15:42:30 -04:00
Corey Frang
61277d2864 Landing pull request 511. Adding a little Makefile jQuery sizing utility to easily see differences in size between makes. Fixes #10308.
More Details:
 - https://github.com/jquery/jquery/pull/511
2011-09-19 15:27:43 -04:00
John Resig
8f447576c9 Updating the source version to 1.6.5pre 2011-09-12 18:55:06 -04:00
John Resig
f567a7fcfc Tagging the 1.6.4 release. 2011-09-12 18:54:48 -04:00
Dave Methvin
f0c8e4bd46 Updating the source version to 1.6.4pre 2011-09-09 10:55:22 -04:00
Dave Methvin
215d096310 Tagging the 1.6.4rc1 release. 2011-09-09 10:54:43 -04:00
Dave Methvin
69585ba3c7 Merge pull request #489 from dmethvin/fix-10208-button-type
Fix #10208. Check for `button` as well as `input`
2011-09-07 14:03:40 -07:00
Dave Methvin
81c778b2ca Fix #10208. Check for button as well as input when performing the #7071 VML crash workaround for IE special-events submit code. 2011-09-07 11:30:22 -04:00
rwldrn
8e8fa6dc1a Bug in rmultidash. Fixes #10194 2011-09-07 10:13:22 -04:00
rwldrn
4bc691a1c3 Reverts broken support string. Fixes #10197 2011-09-07 10:08:04 -04:00
Dave Methvin
5e2ec36737 Merge branch 'master' of github.com:dmethvin/jquery
Conflicts:
	version.txt
2011-09-01 12:00:56 -04:00
Dave Methvin
c2531e26d6 Updating the source version to 1.7pre. 2011-09-01 11:53:16 -04:00
Dave Methvin
5e547826e1 Tagging the 1.6.3 release. 2011-09-01 11:40:27 -04:00
Rick Waldron
a42273807d Landing pull request 478. Apply fixes as noted by Diego Perini, David Murdoch & Mathias Bynens. Supplements #9634 Fixes #9634.
More Details:
     - https://github.com/jquery/jquery/pull/478
     - http://bugs.jquery.com/ticket/9634
2011-09-01 11:16:38 -04:00
Dave Methvin
f035c4455f Updating the source version to 1.6.3pre 2011-09-01 11:12:36 -04:00
Dave Methvin
d284b36b88 Merge branch 'master' of github.com:jquery/jquery 2011-08-29 13:50:13 -04:00
Dave Methvin
20a1bd00ea Updating the source version to 1.6.3 2011-08-29 13:39:04 -04:00