]>
source.dussan.org Git - jquery.git/log
David Petersen [Fri, 8 Oct 2010 00:55:47 +0000 (20:55 -0400)]
Merge branch 'master' of git://github.com/jquery/jquery
rwldrn [Tue, 5 Oct 2010 14:32:57 +0000 (10:32 -0400)]
Fixes acceptData defining in the global scope.
John Resig [Thu, 30 Sep 2010 22:40:30 +0000 (15:40 -0700)]
Tweak broken serialize tests from commit
879799fe955f01b85b59fd8a0096d415fc48df03 . Thanks to @jaubourg for the catch.
Colin Snover [Thu, 30 Sep 2010 18:24:59 +0000 (11:24 -0700)]
Make sure setting opacity does not clobber other inline filters. Fixes #7101.
David Petersen [Thu, 30 Sep 2010 17:46:36 +0000 (13:46 -0400)]
Set event.LiveFired to undefined in specialSubmit handler so that click events bound before the submit won't prevent the submit to fire. Fixes #6359
Dave Reed [Wed, 29 Sep 2010 13:46:25 +0000 (06:46 -0700)]
Using data() on JavaScript objects sets fields directly on the object. Note that events are now a property of a function (to avoid JSON serialization - and only in the case of JavaScript objects, not DOM nodes). Fixes #6807.
John Resig [Wed, 29 Sep 2010 12:45:52 +0000 (05:45 -0700)]
Adjust fallback top/left to just be 0 for disconnected DOM nodes. Follow-up to
cf672a2e7a886cac5ae62f6772c6b4b43b19a2fc , thanks to @jitter for the catch.
John Resig [Wed, 29 Sep 2010 12:41:27 +0000 (05:41 -0700)]
Fix number of expected select tests from commit
879799fe955f01b85b59fd8a0096d415fc48df03 . Thanks to @jitter for the catch.
John Resig [Wed, 29 Sep 2010 03:13:40 +0000 (20:13 -0700)]
Fix mis-type in commit
e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b . Thanks to @jdalton for the catch.
John Resig [Tue, 28 Sep 2010 17:33:21 +0000 (10:33 -0700)]
Handle child selectors in particular - away from the selector engine. Fixes #7029.
John Resig [Tue, 28 Sep 2010 17:12:33 +0000 (10:12 -0700)]
Make sure we have a fallback when XMLHttpRequest is manually disabled. Fixes #6298.
John Resig [Tue, 28 Sep 2010 16:50:44 +0000 (09:50 -0700)]
Make sure that the contents of the element is still in place when html(Function) is called. Fixes #6733.
John Resig [Tue, 28 Sep 2010 16:07:57 +0000 (09:07 -0700)]
Tweak the logic for fixing event.which. Fixes #2338.
John Resig [Tue, 28 Sep 2010 15:57:20 +0000 (08:57 -0700)]
Make sure that mixed case alpha filters are handled correctly in IE. Fixes #5632.
John Resig [Tue, 28 Sep 2010 15:53:09 +0000 (08:53 -0700)]
Make setting .css(name, undefined) a no-op. Fixes #4388.
John Resig [Tue, 28 Sep 2010 15:36:28 +0000 (08:36 -0700)]
Make sure that ambiguous val() selection works correctly.
John Resig [Tue, 28 Sep 2010 15:12:13 +0000 (11:12 -0400)]
Make .attr(name, null) equivalent to removeAttr(name). (Was roughly this before - but is now consistent across platforms). Fixes #6341.
John Resig [Tue, 28 Sep 2010 14:55:48 +0000 (10:55 -0400)]
Make sure that .offset() doesn't fail against disconnected DOM nodes. Fixes #4996.
jeresig [Tue, 28 Sep 2010 00:59:42 +0000 (20:59 -0400)]
Removing unique check on closest(Array) (it wasn't appropriate there and broke functionality elsewhere) - follow-up to commit
8c41325a081f4009aa94748b9b6045e50a78422e . Also added another test for closest(Array) after a discussion with @jitter in
26b0e913dda386b6b2848196689a02a2da6aa40d .
jeresig [Mon, 27 Sep 2010 19:45:02 +0000 (15:45 -0400)]
Merge branch 'closestbug-6700' of http://github.com/ajpiano/jquery into ajpiano-closestbug-6700
jeresig [Mon, 27 Sep 2010 18:49:13 +0000 (14:49 -0400)]
Merge branch 'master' of http://github.com/aakoch/jquery into aakoch-master
jeresig [Mon, 27 Sep 2010 16:10:00 +0000 (12:10 -0400)]
Allow 304/Not Modified tests to complete in Opera.
jeresig [Mon, 27 Sep 2010 15:51:01 +0000 (11:51 -0400)]
Make sure that opacity is being reset properly on a show animation. Additionally expose jQuery.isNaN from the data module.
jeresig [Mon, 27 Sep 2010 14:53:29 +0000 (10:53 -0400)]
We can just use isNaN for this check in the IE opacity code.
jeresig [Mon, 27 Sep 2010 14:38:13 +0000 (10:38 -0400)]
Make sure the currentStyle property exists before attempting to access it.
jeresig [Mon, 27 Sep 2010 14:28:35 +0000 (10:28 -0400)]
Adjust manipulation test to handle whitespace RegExp issue in older WebKits. Fixes #7082.
jeresig [Mon, 27 Sep 2010 14:21:50 +0000 (10:21 -0400)]
Some minor cleanup of the last commit.
jeresig [Mon, 27 Sep 2010 14:19:55 +0000 (10:19 -0400)]
Add a feature test for options inside a disabled select. Follow-up to
157a383dae5335ef1056d3818d7dd70ac81c25a7 .
jeresig [Mon, 27 Sep 2010 13:19:21 +0000 (09:19 -0400)]
Only do the hasAttribute check if the method exists - IE falls back to the === null check below which allows this to still work. Follow-up to
cb40495b21bcb7802f3ab6ae0f837f2bf5b385ed - thanks to @jitter for the catch.
jeresig [Mon, 27 Sep 2010 13:07:54 +0000 (09:07 -0400)]
Bug fix for commit
2c4b20809e5d32e916c479c9b63a6b7528c880ce - technique wasn't working as expected in WebKit browsers. Thanks to @jitter for the bug fix.
John Resig [Mon, 27 Sep 2010 00:47:19 +0000 (20:47 -0400)]
Removing the old cow image from the effects tests - it's no longer needed. Fixes #7086.
jeresig [Fri, 24 Sep 2010 22:02:39 +0000 (18:02 -0400)]
Merge branch 'master' of github.com:jquery/jquery
Dave Methvin [Fri, 24 Sep 2010 22:02:31 +0000 (18:02 -0400)]
If an inline handler returns false, call event.preventDefault(). Fixes #6337.
dmethvin [Sat, 21 Aug 2010 02:32:34 +0000 (10:32 +0800)]
Make .val(undefined) == .val("") and chainable; fixes #4130.
Ensure .val(null) sets an empty string on IE6/7; fixes #5163.
Dave Methvin [Fri, 24 Sep 2010 21:56:03 +0000 (17:56 -0400)]
Make sure that requests without a body don't set contentType, and a zero-length body is sent rather than null. Possible fix for #6811 and #6674.
Dave Methvin [Fri, 24 Sep 2010 21:47:37 +0000 (17:47 -0400)]
Report correct Error object to handleError. Part of the fix for #6677.
dmethvin [Tue, 29 Jun 2010 03:21:59 +0000 (23:21 -0400)]
Don't copy event.originalTarget, it's a Netscape-specific property. Fixes #2814.
Dave Methvin [Fri, 24 Sep 2010 21:26:22 +0000 (17:26 -0400)]
Don't have .val() return selected-but-disabled options, or selected options inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there.
jeresig [Fri, 24 Sep 2010 21:05:28 +0000 (17:05 -0400)]
Merge branch 'master' of github.com:jquery/jquery
Dave Methvin [Fri, 24 Sep 2010 21:04:54 +0000 (17:04 -0400)]
Use origSettings.context unless it's undefined; for that case use merged settings as context for backcompat with jQuery <1.3. Fixes #6727.
dmethvin [Sun, 27 Jun 2010 01:16:39 +0000 (09:16 +0800)]
For JSON and script requests, set the scriptCharset before the url so IE won't interpret it the wrong way; fixes #4855.
Heungsub Lee [Wed, 7 Jul 2010 04:38:54 +0000 (12:38 +0800)]
Added a default quality of `*/*` for content negotiation.
temp01 [Fri, 24 Sep 2010 20:57:25 +0000 (16:57 -0400)]
Serialize keys with empty arrays/object values in jQuery.param(). Fixes #6481.
jeresig [Fri, 24 Sep 2010 20:30:57 +0000 (16:30 -0400)]
Make sure that undefined is always returned for missing data properties. Follow-up to #6304.
jeresig [Fri, 24 Sep 2010 20:24:07 +0000 (16:24 -0400)]
Allow data to be bound to Flash objects (but still stopping short of attaching to applets. Fixes #6121.
jeresig [Fri, 24 Sep 2010 19:57:51 +0000 (15:57 -0400)]
Make sure that a clone of the animate speed properties are used to avoid recursion problems. Fixes #3583.
jeresig [Fri, 24 Sep 2010 19:53:38 +0000 (15:53 -0400)]
Make sure that the body element exists before doing the body selector optimization. Fixes #6529.
unknown [Fri, 24 Sep 2010 14:37:03 +0000 (09:37 -0500)]
Removing the second capture group. After the changes suggested by Jeff Roberson, the second capture group is no longer needed. See
http://stackoverflow.com/questions/
3771105 /can-someone-tell-me-the-purpose-of-the-second-capture-group-in-the-jquery-rts-reg
J. Ryan Stinnett [Mon, 17 May 2010 21:48:17 +0000 (16:48 -0500)]
Allow named animation speed to be 0. Fixes #6579.
lrbabe [Fri, 25 Jun 2010 14:24:36 +0000 (16:24 +0200)]
Make the interval between two animations tick public: jQuery.fx.interval. Fixes #6276.
jeresig [Fri, 24 Sep 2010 14:06:36 +0000 (10:06 -0400)]
Increase the speed of the single setTimeout calls for the ready event.
jeresig [Thu, 23 Sep 2010 16:09:49 +0000 (12:09 -0400)]
Merge branch 'master' of github.com:jquery/jquery
Robert Katic [Fri, 10 Sep 2010 01:26:47 +0000 (03:26 +0200)]
Test jQuery.type also with document.
Robert Katic [Fri, 27 Aug 2010 23:14:59 +0000 (01:14 +0200)]
Made jQuery.type more consistent with host objects.
Robert Katic [Tue, 13 Apr 2010 13:11:56 +0000 (15:11 +0200)]
Ensure that selector is not broken.
Robert Katic [Thu, 25 Mar 2010 13:58:41 +0000 (14:58 +0100)]
Correcting some imperfections in test added in previous commit.
Robert Katic [Sun, 14 Mar 2010 11:34:32 +0000 (12:34 +0100)]
Added support for map of events in live, die, delegate and undelegate. Fixes #6282.
Robert Katic [Thu, 4 Feb 2010 21:54:53 +0000 (22:54 +0100)]
Added some tests for #5991.
Robert Katic [Sat, 30 Jan 2010 18:50:49 +0000 (19:50 +0100)]
Ensured that arrays are not considered same as plain object on deep extending. Fixes #5991.
jeresig [Thu, 23 Sep 2010 15:38:22 +0000 (11:38 -0400)]
Delay the result of the readyState check to give scripts the opportunity to delay ready, as described by @jrburke in
747ba7defd82bffa6c7ccb69e53b834cbfddb62c .
jeresig [Thu, 23 Sep 2010 03:43:55 +0000 (23:43 -0400)]
Discovered that another effects bug was fixed with the recent CSS changes (namely that show animations always went to auto, even if they weren't supposed to). Test suite adjusted accordingly.
jeresig [Thu, 23 Sep 2010 03:28:57 +0000 (23:28 -0400)]
e3463946e19f2eb53d909fc2b59cc1c8636d21bd actually fixed a previously undicovered but with setting auto, adjust the effects test suite accordingly. Thanks to @bugbegone for the catch.
jeresig [Wed, 22 Sep 2010 20:56:48 +0000 (16:56 -0400)]
Fix missing var. Thanks to @jeff-themovie for the catch.
jeresig [Wed, 22 Sep 2010 20:50:38 +0000 (16:50 -0400)]
Add some tests for jQuery.isWindow and make sure that we're operating against an object before testing.
jeresig [Wed, 22 Sep 2010 20:41:51 +0000 (16:41 -0400)]
Unify the means of detecting a window across the library. Fixes jQuery UI bug #5438 and jQuery bugs #6575 and 6088.
jeresig [Wed, 22 Sep 2010 18:58:07 +0000 (14:58 -0400)]
Allow # urls to contain #. Thanks to @alvopass in
f9f9ee52e16f37900296e06982a7dccba89c5a78 for the catch.
John Resig [Wed, 22 Sep 2010 16:52:44 +0000 (12:52 -0400)]
Make sure that #... are trimmed from Ajax request URLs. Fixes #4987.
John Resig [Wed, 22 Sep 2010 16:35:42 +0000 (12:35 -0400)]
Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in
1f667aa035b3e4885d6b35fa9aa4990310f131af for the catch.
jeresig [Wed, 22 Sep 2010 15:52:32 +0000 (11:52 -0400)]
Make .data(Object) extend the existing data object. Fixes #6692.
Jacob Wright [Tue, 7 Sep 2010 16:51:57 +0000 (10:51 -0600)]
Fix bug when accessing .data() on an empty set. Return null rather than throwing exception.
Karl Swedberg [Wed, 8 Sep 2010 20:31:32 +0000 (16:31 -0400)]
Added full support for easing in all shorthand effects methods (hide, show, toggle, fadeTo, slideUp, etc.). Previously, these methods could only be used with two of the three (speed, easing, callback) arguments, or, in the case of fadeTo, 3 of the 4 (speed, opacity, easing, callback) arguments. Added three more sets of tests to the series of "Chain" tests. Fixes #7014
Carl Fürstenberg [Fri, 6 Aug 2010 22:21:08 +0000 (00:21 +0200)]
Makefile: cleanup
* updating init to either pull or clone, not do both
* make sure it building only when it needs to
* make some variables overridable
* use variables when they should be used instead of direct text
* add V verbosity variable
jeresig [Wed, 22 Sep 2010 13:46:21 +0000 (09:46 -0400)]
Some minor lint fixes for the RegExp.
jeresig [Wed, 22 Sep 2010 13:16:28 +0000 (09:16 -0400)]
Applied the RegExp issues reported by Jeff Robinson here: http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
jeresig [Wed, 22 Sep 2010 12:08:45 +0000 (08:08 -0400)]
Re-work the document scoping.
jeresig [Wed, 22 Sep 2010 11:34:31 +0000 (07:34 -0400)]
Make sure the data- number has at least one number in it before passing to isNaN. Thanks to @cms in
8ebb9b22df32fe5739a48087b6e33abb9f5cda49 for a heads-up.
John Resig [Tue, 21 Sep 2010 21:12:42 +0000 (17:12 -0400)]
Make sure that non-px values aren't manipulated before input to height/width.
John Resig [Tue, 21 Sep 2010 20:26:36 +0000 (16:26 -0400)]
Fix bug with the readyWait DOM ready addition.
John Resig [Tue, 21 Sep 2010 20:13:50 +0000 (16:13 -0400)]
Scratch that, just punting on Opera and 304s for now - there may not be a good solution here. Fixes #6060.
John Resig [Tue, 21 Sep 2010 19:22:34 +0000 (15:22 -0400)]
Use a different workaround for detecting when Opera finds a status 304 page. Fixes #6060.
jeresig [Tue, 21 Sep 2010 12:53:34 +0000 (08:53 -0400)]
Escape RegExp braces to sooth JSLint's temper.
jeresig [Tue, 21 Sep 2010 12:31:55 +0000 (08:31 -0400)]
Switch to using isNaN instead of RegExp for data-.
jeresig [Tue, 21 Sep 2010 12:30:12 +0000 (08:30 -0400)]
Handle some additional data- number edge cases.
jeresig [Tue, 21 Sep 2010 12:20:31 +0000 (08:20 -0400)]
Make sure that the data- import also supports arrays.
John Resig [Tue, 21 Sep 2010 04:51:45 +0000 (00:51 -0400)]
Added in support for basic JSON object parsing of data- attributes.
John Resig [Tue, 21 Sep 2010 04:44:47 +0000 (00:44 -0400)]
Make sure that undefined is returned for not found data- attributes, not null.
John Resig [Tue, 21 Sep 2010 04:38:26 +0000 (00:38 -0400)]
Tweaked the data number RegExp some to handle some other edge cases.
jeresig [Tue, 21 Sep 2010 00:08:57 +0000 (20:08 -0400)]
Fixing the problem with data-* based numbers as mention by @jasonwebster in
20673d7 .
John Resig [Mon, 20 Sep 2010 22:10:34 +0000 (18:10 -0400)]
Merge remote branch 'RedWolves/master'
John Resig [Mon, 20 Sep 2010 21:47:41 +0000 (17:47 -0400)]
Pull data-* attributes into .data(). Original code by Andrée Hasson and Paul Irish. Fixes #6921.
John Resig [Mon, 20 Sep 2010 18:53:29 +0000 (14:53 -0400)]
Allow plugins to delay the exeuction of the ready event. Delay the ready event by calling: jQuery.readyWait++ and force the event to fire by doing: jQuery.ready(true). Fixes #6781.
jeresig [Mon, 20 Sep 2010 14:41:58 +0000 (10:41 -0400)]
Removing extra arg.
jeresig [Mon, 20 Sep 2010 14:16:36 +0000 (10:16 -0400)]
No need to set returnValue if preventDefault exists. Thanks kangax for the catch.
John Resig [Fri, 17 Sep 2010 22:26:21 +0000 (18:26 -0400)]
Added in some .css() setter perf tests as well.
John Resig [Fri, 17 Sep 2010 21:02:03 +0000 (17:02 -0400)]
Derp, had parseInt on the brain. Thanks karbassi in
6541eb9d80db42c6ced396fcd198228bff9ec7f1 .
Ralph Whitbeck [Fri, 17 Sep 2010 19:40:04 +0000 (12:40 -0700)]
Updated the Questions? section with the forum information.
John Resig [Fri, 17 Sep 2010 19:38:27 +0000 (15:38 -0400)]
Adding a simple file for doing .css() performance testing.
John Resig [Fri, 17 Sep 2010 18:58:50 +0000 (14:58 -0400)]
Fix trailing arg.
John Resig [Fri, 17 Sep 2010 18:53:10 +0000 (14:53 -0400)]
Simplifying the camelCase logic used in the CSS and Effects modules.
John Resig [Fri, 17 Sep 2010 18:41:28 +0000 (14:41 -0400)]
Cleaning up some un-needed CSS code and adding back a temporary (deprecated) curCSS method.