Commit Graph

3713 Commits

Author SHA1 Message Date
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
Dave Methvin
2fc6205fc7 Tagging the 1.6.3rc1 release. 2011-08-29 13:38:26 -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
rwldrn
3589a53de9 Landing pull request 476. Fix lint complaints about unescaped -. Follow up to #10021 Fixes #10021.
More Details:
 - https://github.com/jquery/jquery/pull/476
 - http://bugs.jquery.com/ticket/10021
2011-08-26 10:44:50 -04:00
timmywil
2a045f8269 Revert "Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385"
This reverts commit dd93d0eb32.
2011-08-26 10:10:35 -04:00
timmywil
e2187f4963 Revert "Updated version numbers; Fixes #9385"
This reverts commit 09fe3ea265.
2011-08-26 10:10:21 -04:00
timmywil
d723942b27 Revert back to always setting the attribute to empty string before removal. Fixes #9699. 2011-08-25 15:33:54 -04:00
Dave Methvin
e57057739b Merge pull request #445 from rwldrn/9897
Fixes #9897. Wrap obj.constructor test in try/catch to avoid problems with host objects. Thanks to bkrausz.
2011-08-25 12:25:58 -07:00
Dave Methvin
3ba72f991d Merge pull request #464 from dmethvin/fix-10021-relative-negative-values
Fixes #10021. Allow negative relative values for `.css()`
2011-08-25 12:23:37 -07:00
Dave Methvin
a839af034d Merge pull request #465 from anton-ryzhov/master
Fixes #10076. $.inArray crashes IE6 and Chrome if second argument is `null` or `undefined` (Thanks anton-ryzhov!)
2011-08-25 12:22:47 -07:00
Dave Methvin
f4811bfb04 Merge pull request #468 from rwldrn/10080
Fixes #10080. Test cache for window inference.
2011-08-25 12:18:40 -07:00
Dave Methvin
979dd1cb42 Merge pull request #473 from dmethvin/fix-10098-faux-comment
Fixes #10098. Avoid a slashy-starry char sequence to prevent T-Mobile (and other brain-damaged) script compression breaking jQuery.
2011-08-25 12:17:50 -07:00
Dave Methvin
db9e023e62 Merge pull request #474 from dmethvin/fix-9521-xss-hash
Fixes #9521. Prioritize #id over <tag> to avoid XSS via location.hash.
2011-08-25 12:16:46 -07:00
Dave Methvin
8cabdcd122 Use jdalton's shorter sequence for the chars. 2011-08-23 08:55:41 -04:00
Dave Methvin
9b174520cc Use a semantic name for the variable. 2011-08-23 08:47:34 -04:00
Dave Methvin
749dbad981 Prioritize #id over <tag> to avoid XSS via location.hash (#9521) 2011-08-23 08:25:11 -04:00
Dave Methvin
771e637a51 Fixes #10098. Avoid a slashy-starry char sequence in literal strings to evade faulty script compressors. 2011-08-22 22:32:06 -04:00
timmywil
84f29084d6 Revert "Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026."
This reverts commit 6805fc2cd2.

A more cache-friendly solution is in the works.
2011-08-22 15:02:46 -04:00
Rick Waldron
6805fc2cd2 Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026.
More Details:
 - https://github.com/jquery/jquery/pull/461
 - http://bugs.jquery.com/ticket/10026
2011-08-22 13:49:18 -04:00
rwldrn
93beee8ac0 Test for window inference. Fixes #10080 2011-08-18 10:17:12 -04:00
Rick Waldron
f44d5e1e81 Ensure cache[id] exists before attempting to delete it. Fixes #10080 2011-08-17 17:49:09 -04:00
dmethvin
1a738cb72f Landing pull request 463. Fixes #9572. Don't camelize the -ms- prefix because Microsoft didn't. A Fixes #9572.
More Details:
 - https://github.com/jquery/jquery/pull/463
 - http://bugs.jquery.com/ticket/9572
2011-08-17 17:34:09 -04:00
Rick Waldron
130a29e786 Landing pull request 459. Do not allow assumed cache[id] in jQuery.data. Fixes #8235.
More Details:
 - https://github.com/jquery/jquery/pull/459
 - http://bugs.jquery.com/ticket/8235
2011-08-17 17:18:58 -04:00
Rick Waldron
8537a740cd Landing pull request 467. Adds comments regarding opacity test adjustments.
More Details:
 - https://github.com/jquery/jquery/pull/467
2011-08-17 17:06:21 -04:00