Commit Graph

1160 Commits

Author SHA1 Message Date
jaubourg
3e0fe5ea3b We have too many unctions in this function. 2011-10-02 09:50:09 -04:00
Corey Frang
46219b57ba Landing pull request 525. Fixing tests with qunit.
More Details:
 - https://github.com/jquery/jquery/pull/525
2011-10-01 16:49:49 -04:00
timmywil
1ebced1736 Add support for calling outer/inner Width/Height on the window and document. Fixes #9434. 2011-09-30 17:50:48 -04:00
Dave Methvin
96a44a86d8 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.
2011-09-29 10:34:55 -04:00
Corey Frang
8dda57f82f 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
2011-09-28 12:00:21 -04:00
Corey Frang
a3b59d7f92 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
2011-09-28 11:55:29 -04:00
timmywil
3661835101 Fixes IE7 test suite. Keep the testElement attached and set necessary styles on it to fix the offset with margin test. 2011-09-28 11:30:38 -04:00
Rick Waldron
51fd4593fc Restore original click prop hook 2011-09-26 13:03:24 -04:00
Rick Waldron
d11fcfac18 Fixed tests to run in IE9 2011-09-26 13:00:45 -04:00
Dave Methvin
c7838c3607 Minor cleanups to code. Futile effort to get IE to pass the unit test. 2011-09-25 22:04:52 -04:00
Dave Methvin
b4120a7430 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.
2011-09-25 19:56:34 -04:00
Dave Methvin
ae27424b30 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
2011-09-24 22:37:16 -04:00
jaubourg
6eb75676c4 Fixes a weird IE7 bug in the unit tests. If anybody can shed some light on this one, I'm a taker. 2011-09-22 09:35:57 +02:00
Dave Methvin
d638aa9c6d Allow more cases to use innerHTML in the .html method.
Thanks @cmcnulty for the pull and the patience!
2011-09-21 23:05:26 -04:00
jaubourg
a588336a6d Trimmed down $.Callbacks and $.Deferred. 2011-09-21 17:00:55 +02:00
Dave Methvin
03d95530b5 Remove the rarely-used pseudos from quickis.html
The cutting will continue until file size is improved.
2011-09-21 09:40:57 -04:00
Rick Waldron
92a80cbd05 Adds implementation tests for jQuery.event.propHooks #8789 2011-09-20 12:44:49 -04:00
timmywil
b03648c2a3 Remove stop argument in manipulation test, which no longer sets a timeout 2011-09-20 09:58:20 -04:00
Dave Methvin
63c9719330 Fix #9901, verified by this unit test. 2011-09-20 09:17:38 -04:00
Dave Methvin
70e2e32e0e Landing pull request 491. Fix #7322. Make .is() with a positional selector work like delegated event logic. Fixes #7322.
More Details:
 - https://github.com/jquery/jquery/pull/491
 - http://bugs.jquery.com/ticket/7322
2011-09-19 23:50:52 -04:00
timmywil
0ced30e319 Move filter tests to proper location 2011-09-19 23:14:37 -04:00
timmywil
11c9de477c Added filtering tests and updating sizzle to fix filtering with positional selectors. Fixes #10315. 2011-09-19 23:09:40 -04:00
Corey Frang
9b3768b968 Landing pull request 512. 1.7 - removeData now takes space separated lists and arrays of keys - Fixes #7323.
More Details:
 - https://github.com/jquery/jquery/pull/512
 - http://bugs.jquery.com/ticket/7323
2011-09-19 21:16:20 -04:00
Rick Waldron
ca4133cc3f Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with removeClass) Combines patches submitted by leeoniya, zertosh and my own tests. Fixes #5479.
More Details:
 - https://github.com/jquery/jquery/pull/492
 - http://bugs.jquery.com/ticket/5479
2011-09-19 21:07:07 -04:00
Rick Waldron
f60213648c Landing pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.
More Details:
 - https://github.com/jquery/jquery/pull/477
 - http://bugs.jquery.com/ticket/6809
2011-09-19 21:03:41 -04:00
Rick Waldron
9ecdb2472b Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes #6485.
More Details:
 - https://github.com/jquery/jquery/pull/490
 - http://bugs.jquery.com/ticket/6485
2011-09-19 16:42:36 -04:00
jrburke
bba3d610c7 Landing pull request 331. Add support for registering jQuery as an AMD module. Fixes #7102.
More Details:
 - https://github.com/jquery/jquery/pull/331
 - http://bugs.jquery.com/ticket/7102
2011-09-19 16:37:22 -04:00
Corey Frang
2831cfd072 Landing pull request 503. 1.7 data: set a flag in the private data cache to avoid having to scan attributes multiple times - Fixes #8909.
More Details:
 - https://github.com/jquery/jquery/pull/503
 - http://bugs.jquery.com/ticket/8909
2011-09-19 16:13:57 -04:00
Corey Frang
d5f144a7bb Landing pull request 500. 1.7 - "public data" stored as a key on "internal data" - Fixes #8921.
More Details:
 - https://github.com/jquery/jquery/pull/500
 - http://bugs.jquery.com/ticket/8921
2011-09-19 16:13:14 -04:00
Corey Frang
e4c48a34b4 Landing pull request 496. 1.7 animate: allow named queues to be used by animate. Fixes #9280.
More Details:
 - https://github.com/jquery/jquery/pull/496
 - http://bugs.jquery.com/ticket/9280
2011-09-19 16:08:00 -04:00
timmywil
29c52b0f6c Add sparse array performance improvement for inArray. Thanks rwaldron, rkatic, and jdalton 2011-09-19 15:42:32 -04:00
timmywil
76a84fba94 Call .is(:visible) on the window or document does not thrown an error in IE. Fixes #10267. 2011-09-19 15:42:32 -04:00
timmywil
daeb665045 Check for property support in the boolHook before falling back to attribute node. Fixes #10278. 2011-09-19 15:42:32 -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
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
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
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
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
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
jaubourg
f37fc9966e Considers Safari XMLHttpRequest's bug when testing for custom status text. Will have to be revisited when $.browser.chrome is introduced. 2011-08-27 01:54:12 +02:00