John Resig [Fri, 19 Dec 2008 04:34:12 +0000 (04:34 +0000)]
Added support for multiple-namespaced events (in bind, trigger, and unbind).
John Resig [Fri, 19 Dec 2008 04:29:48 +0000 (04:29 +0000)]
Simplifying the DOM ready code, no longer attempting to handle stylesheet loading. Closes #2614.
Jörn Zaefferer [Thu, 18 Dec 2008 16:43:39 +0000 (16:43 +0000)]
core: cleanup of build - build.js isn't used anywhere
Ariel Flesler [Tue, 16 Dec 2008 00:05:04 +0000 (00:05 +0000)]
testrunner: re adding the test for a function within isFunction.
Ariel Flesler [Tue, 16 Dec 2008 00:02:17 +0000 (00:02 +0000)]
testrunner: adding tests for $.fn.hasClass.
John Resig [Sat, 29 Nov 2008 01:14:02 +0000 (01:14 +0000)]
IE doesn't care for boolean checks of .createElement - reverted back to using typeof instead.
John Resig [Tue, 18 Nov 2008 06:00:34 +0000 (06:00 +0000)]
Made a mistake in the patch for #3618, landing fix.
John Resig [Tue, 18 Nov 2008 04:53:34 +0000 (04:53 +0000)]
The code for handling Ajax timeouts was broken (the abort was being called too early). Fixing this allows the test suite to work again.
John Resig [Mon, 17 Nov 2008 16:32:05 +0000 (16:32 +0000)]
Standardized the type checks across core. isFunction and isArray now use Object.prototype.toString to verify the type, .constructor use was removed in favor of typeof, typeof checks now use ===, undefined checks use === undefined. All of this is outlined in the new style guidelines: docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks. Fixes bug #3618.
John Resig [Fri, 14 Nov 2008 04:16:00 +0000 (04:16 +0000)]
Landing fixes for tickets #2935 and #2688 (Aborting ajax doesn't stop the setInterval, ajaxStop event isn't getting triggered).
Brandon Aaron [Thu, 13 Nov 2008 02:35:02 +0000 (02:35 +0000)]
fix the long standing 2px offset issue in QuirksMode in IE
John Resig [Wed, 12 Nov 2008 13:18:47 +0000 (13:18 +0000)]
Landed the patch, by Diego, that 1) Removes browser sniffing from the ready code and 2) Provides some form of fallback DOM Ready for Iframes in IE. Closes #2614.
Brandon Aaron [Mon, 10 Nov 2008 02:39:03 +0000 (02:39 +0000)]
new offset method, faster and no more browser detection
Paul Bakaus [Fri, 7 Nov 2008 15:44:33 +0000 (15:44 +0000)]
core: height() method wasn't working reliably in Opera - rather than returning the actual client height when called on window, it returned the document's height through document.body.clientHeight. The right value to work with is html.clientHeight
Ariel Flesler [Wed, 29 Oct 2008 02:01:22 +0000 (02:01 +0000)]
jquery core: closes #3541. Added isArray.
Ariel Flesler [Wed, 29 Oct 2008 01:15:47 +0000 (01:15 +0000)]
jquery core: forgot to remove a deprecated warning.
Ariel Flesler [Wed, 29 Oct 2008 01:12:27 +0000 (01:12 +0000)]
jquery core: improves #3248. Functions are supported by isFunction.
Jörn Zaefferer [Fri, 24 Oct 2008 14:40:58 +0000 (14:40 +0000)]
core: tests cleanup for compability with qunit updates: stop() now actually accepts an argument (ajax.js); selectors should be confined to fixture(event.js)
Ariel Flesler [Wed, 22 Oct 2008 15:23:37 +0000 (15:23 +0000)]
jquery fx: closes #3496. $.fx.off = true; turns off animations.
Ariel Flesler [Wed, 22 Oct 2008 10:06:54 +0000 (10:06 +0000)]
jquery event: extra for #3498. Using the new mouse(enter|leave) shortcuts in $.fn.hover.
Ariel Flesler [Tue, 21 Oct 2008 01:49:11 +0000 (01:49 +0000)]
jquery event: closes #3498, adding $.fn.mouseenter & $.fn.mouseleave.
Ariel Flesler [Tue, 21 Oct 2008 01:48:23 +0000 (01:48 +0000)]
test runner: Commented 2 tests that jam the suite.
Ariel Flesler [Sat, 18 Oct 2008 23:27:43 +0000 (23:27 +0000)]
jquery fx: closes #3495. Animations are synchronous when duration is 0.
Ariel Flesler [Sat, 18 Oct 2008 22:46:04 +0000 (22:46 +0000)]
jquery event: closes #3355. Added stopImmediatePropagation() to events.
Ariel Flesler [Sat, 18 Oct 2008 22:22:08 +0000 (22:22 +0000)]
jquery core: closes #3485. Fixing a memory leak on IE.
Ariel Flesler [Sat, 18 Oct 2008 21:59:09 +0000 (21:59 +0000)]
testrunner: fixing tests that were broken due to recent updates to qunit.
John Resig [Thu, 21 Aug 2008 17:08:50 +0000 (17:08 +0000)]
A test was using the old / child selector syntax - updating to the new style.
Ariel Flesler [Thu, 14 Aug 2008 14:03:05 +0000 (14:03 +0000)]
jquery core: fix for [5828]. Put 'function' instead of 'string'.
Ariel Flesler [Wed, 13 Aug 2008 18:16:14 +0000 (18:16 +0000)]
jquery core: closes #3154. makeArray uses typeof instead of attribute sniffing for strings.
Ariel Flesler [Wed, 13 Aug 2008 01:44:36 +0000 (01:44 +0000)]
jquery ajax: closes #3249. Slight modification on serializeArray, shorter and faster code, and allows a custom form object.
Ariel Flesler [Tue, 12 Aug 2008 19:34:30 +0000 (19:34 +0000)]
jquery core: closes #3248, #3079, #3026, #3176, #3202, #3129. jQuery.makeArray doesn't support functions anymore. Voiding the conflict with Scriptaculous 1.7.x.
Ariel Flesler [Mon, 11 Aug 2008 01:35:23 +0000 (01:35 +0000)]
jquery ajax: misc optimization for $.fn.load().
Ariel Flesler [Mon, 11 Aug 2008 00:54:05 +0000 (00:54 +0000)]
jquery core: closes #3241. The 'length' property isn't set to jQuery's prototype anymore.
Ariel Flesler [Sun, 10 Aug 2008 23:59:01 +0000 (23:59 +0000)]
jquery core: small size optimizations for val().
Jörn Zaefferer [Fri, 8 Aug 2008 17:42:52 +0000 (17:42 +0000)]
core/test: replaced local qunit copy with qunit via svn:externals; inlined styles specific to polluted.php; kept testrunner.js with just the noConflict call
Jörn Zaefferer [Fri, 8 Aug 2008 17:21:42 +0000 (17:21 +0000)]
core: deleted useless test/fix.html
Ariel Flesler [Thu, 7 Aug 2008 20:41:05 +0000 (20:41 +0000)]
jquery ajax: closes #3231. The ajax setting 'dataFilter' can also parse the response.
Ariel Flesler [Thu, 7 Aug 2008 13:07:21 +0000 (13:07 +0000)]
jquery ajax: extends #3087. The xhr factory is now an ajax setting called 'xhr' instead of a method (jQuery.getAjaxTransport).
Ariel Flesler [Mon, 4 Aug 2008 14:18:06 +0000 (14:18 +0000)]
jquery ajax: closes #3087, #2167, #2128. The ajax transport creation process is exposed to allow overriding.
Ariel Flesler [Mon, 28 Jul 2008 18:31:25 +0000 (18:31 +0000)]
jquery event: closes #3127. jQuery.event.special built-in methods were optimized. The mouse(enter|leave) special case is only added for non-IE browsers.Thanks to Mike Helgeson for his help.
Ariel Flesler [Mon, 28 Jul 2008 16:34:46 +0000 (16:34 +0000)]
jquery selector: closes #3023. The attribute filter accepts ':'.
Ariel Flesler [Mon, 28 Jul 2008 16:23:23 +0000 (16:23 +0000)]
jquery selector: closes #2939. $('[style]') wasn't being handled well.
Ariel Flesler [Wed, 23 Jul 2008 17:00:32 +0000 (17:00 +0000)]
jquery core: closes #2652. val() supports option elements, also simplified the code.
Ariel Flesler [Wed, 23 Jul 2008 16:18:05 +0000 (16:18 +0000)]
jquery core: closes #2968. Simplified isFunction, dropping support for DOM methods and functions like alert() on IE.
Ariel Flesler [Wed, 23 Jul 2008 15:21:27 +0000 (15:21 +0000)]
jquery core: closes #3179. Fallback browser version for non supported browsers.
Ariel Flesler [Tue, 22 Jul 2008 02:12:08 +0000 (02:12 +0000)]
test runner: adding scriptaculous 1.7.0 for the polluted test runner. It fails, but 1.8.x doesn't fail anymore.
Ariel Flesler [Tue, 15 Jul 2008 15:58:01 +0000 (15:58 +0000)]
jquery core: closes #3159. remove() would unbind form.elements instead of a form.
Ariel Flesler [Wed, 9 Jul 2008 21:38:28 +0000 (21:38 +0000)]
jquery event: closes #3112. It wasn't possible to bind 'data' to special events.
Ariel Flesler [Wed, 9 Jul 2008 19:26:41 +0000 (19:26 +0000)]
general: adding reminder.txt to write down things to remember for future releases.
Ariel Flesler [Wed, 9 Jul 2008 19:23:19 +0000 (19:23 +0000)]
jquery core: Closes #3033. Removed support for .. selector on jQuery.find.
Ariel Flesler [Thu, 3 Jul 2008 22:54:12 +0000 (22:54 +0000)]
jquery fx: closes #3128. Saved some bytes when creating custom animations, using macros. Thanks Mike Helgeson.
Ariel Flesler [Tue, 1 Jul 2008 02:50:38 +0000 (02:50 +0000)]
jquery event: Optimization to global unbinding on window unload. Thanks Mike Helgeson.
Ariel Flesler [Tue, 1 Jul 2008 02:25:55 +0000 (02:25 +0000)]
jquery event: closes #3107. Optimization to global event triggering. Thanks Mike Helgeson.
Ariel Flesler [Tue, 1 Jul 2008 02:08:45 +0000 (02:08 +0000)]
test runner: optimizing a test for speed.
Ariel Flesler [Tue, 1 Jul 2008 02:05:46 +0000 (02:05 +0000)]
test runner: recloses #3102. Adding one test for $().eq("1")
Ariel Flesler [Mon, 30 Jun 2008 16:17:44 +0000 (16:17 +0000)]
jquery core: closes #3102, #3051. $.fn.eq() accepts a stringified integer.
Ariel Flesler [Fri, 27 Jun 2008 14:17:28 +0000 (14:17 +0000)]
jquery event: fixed a typo in a comment.
Paul Bakaus [Tue, 24 Jun 2008 16:16:15 +0000 (16:16 +0000)]
core: revertd last change, breaks width/height logic in css()
Paul Bakaus [Tue, 24 Jun 2008 15:55:50 +0000 (15:55 +0000)]
core: changed jQuery.css to num (uses curCSS) in the height/width methods with dramatically increases performance for height/width
Paul Bakaus [Tue, 24 Jun 2008 10:00:42 +0000 (10:00 +0000)]
fx: 1) patch from Ariel removes the need of adding properties like scrollTop and scrollLeft specifically to fx.step - The priority order is style[prop] ? style[prop] : elem[prop], 2) fixed the height/width case - it wasn't possible to animate obj.height/obj.width if there wasn't a style attr.
Jörn Zaefferer [Fri, 20 Jun 2008 21:52:06 +0000 (21:52 +0000)]
core: set version.txt to 1.2.7-pre
Ariel Flesler [Fri, 20 Jun 2008 21:18:40 +0000 (21:18 +0000)]
Set version number to 1.2.7a.
Ariel Flesler [Fri, 20 Jun 2008 16:56:25 +0000 (16:56 +0000)]
jquery ajax: renamed $.fx.speeds.def to _default to match $.fx.step._default naming convention.
Ariel Flesler [Fri, 20 Jun 2008 16:20:20 +0000 (16:20 +0000)]
jquery ajax: making Paul's last change([5735]) shorter.
Paul Bakaus [Fri, 20 Jun 2008 09:02:48 +0000 (09:02 +0000)]
fx: animate() can now animate any property on a generic object or native wrapper (i.e. window.outerWidth)
Ariel Flesler [Tue, 17 Jun 2008 21:31:57 +0000 (21:31 +0000)]
jquery ajax: added a comment explaining the last commit.
Ariel Flesler [Tue, 17 Jun 2008 21:03:20 +0000 (21:03 +0000)]
jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with older code (form plugin).
Ariel Flesler [Tue, 17 Jun 2008 20:32:15 +0000 (20:32 +0000)]
jquery ajax: Fixes #3045. The protocol wasn't being checked to see if a script is required for cross domain requests.
Ariel Flesler [Tue, 17 Jun 2008 20:11:47 +0000 (20:11 +0000)]
test runner: closes #3048. The text from the tests, is html-escaped.
Ariel Flesler [Tue, 17 Jun 2008 19:59:16 +0000 (19:59 +0000)]
test runner: 2 tests for [5728].
Ariel Flesler [Tue, 17 Jun 2008 19:57:42 +0000 (19:57 +0000)]
jquery core: closes #3053. clean() wasn't parsing 0's. So html( 0 ) was failing failing.
Ariel Flesler [Fri, 13 Jun 2008 18:42:54 +0000 (18:42 +0000)]
jquery core: closes #3034. Ids with '-' weren't handled by quickExpr.
Scott González [Fri, 6 Jun 2008 00:28:33 +0000 (00:28 +0000)]
core: fixed #2993: .offsetParent() will now return the body element in all browsers for fixed position elements.
Ariel Flesler [Thu, 5 Jun 2008 20:00:50 +0000 (20:00 +0000)]
jquery ajax: passing the settings object to httpData instead of just the dataFilter, so that when called it retains the object as "this".
Scott González [Thu, 5 Jun 2008 18:11:29 +0000 (18:11 +0000)]
ajax tests: Replaced $ with jQuery.
Ariel Flesler [Thu, 29 May 2008 00:03:45 +0000 (00:03 +0000)]
test runner: adding 2 tests for .val( Number ).
Removed a silly test.
Ariel Flesler [Wed, 28 May 2008 23:18:25 +0000 (23:18 +0000)]
test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite.
- Added a noConflict to testrunner.js.
- Modified the test for noConflict() so that it still work.
- Added jQuery 1.2.1 and 1.2.3 to otherlibs.
Ariel Flesler [Wed, 28 May 2008 20:43:13 +0000 (20:43 +0000)]
jquery event: caching the props array and fixing the loop that goes thru it. It was accessing an invalid index.
Ariel Flesler [Wed, 28 May 2008 20:19:18 +0000 (20:19 +0000)]
test runner: adding a new test page called 'polluted'. Where one can choose to pre-include other libraries and run the test suite with them.
Ariel Flesler [Wed, 28 May 2008 18:46:38 +0000 (18:46 +0000)]
test runner: Adding type="text/javascript" to a script tag (trivial).
Ariel Flesler [Wed, 28 May 2008 02:50:38 +0000 (02:50 +0000)]
jquery ajax: small (misc) improvement to $.param.
Ariel Flesler [Tue, 27 May 2008 22:46:28 +0000 (22:46 +0000)]
test runner: a test for load() with a hash of data, and another for load() with a string of data (#1516).
It includes a php that dumps all the GET and POST vars to html elements, where the key makes the id, and the value the text.
Ariel Flesler [Tue, 27 May 2008 22:44:06 +0000 (22:44 +0000)]
jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and it'll be a GET request.
Ariel Flesler [Tue, 27 May 2008 19:17:26 +0000 (19:17 +0000)]
jquery core: adding rowSpan to jQuery.props.
Paul Bakaus [Sun, 25 May 2008 13:18:01 +0000 (13:18 +0000)]
core: fixed offset method for FF3 - FF3 seems to have problems reporting the correct values with getBoundingClientRect on the body element
Ariel Flesler [Sun, 25 May 2008 03:20:13 +0000 (03:20 +0000)]
jquery ajax: changing a set of &&/|| for ?/:.
Ariel Flesler [Sat, 24 May 2008 21:27:12 +0000 (21:27 +0000)]
test runner: A test was failing on Opera 9.50. Not a bug, just made the test less specific and it passed.
John Resig [Sat, 24 May 2008 18:22:17 +0000 (18:22 +0000)]
Tagging the 1.2.6 release.
Ariel Flesler [Sat, 24 May 2008 18:11:55 +0000 (18:11 +0000)]
test runner: adding more tests for attr(). Related to [5574] and [5683].
Ariel Flesler [Sat, 24 May 2008 18:09:21 +0000 (18:09 +0000)]
jquery core: closes #2930. Normalizing attr() to return undefined, even when getting DOM attributes.
Ariel Flesler [Sat, 24 May 2008 17:57:45 +0000 (17:57 +0000)]
jquery core: casting numbers received by val() to string.
Ariel Flesler [Fri, 23 May 2008 00:54:59 +0000 (00:54 +0000)]
jquery core: saving some bytes and fixing indentation inside jQuery.prop.
John Resig [Wed, 21 May 2008 03:14:54 +0000 (03:14 +0000)]
Tagging the 1.2.5 release.
John Resig [Sun, 18 May 2008 20:19:46 +0000 (20:19 +0000)]
Tagging the 1.2.4 release.
Ariel Flesler [Fri, 16 May 2008 20:00:16 +0000 (20:00 +0000)]
jquery fx: removing a needless comment after the last commit.
Ariel Flesler [Fri, 16 May 2008 19:51:34 +0000 (19:51 +0000)]
jquery fx: removing 2 unnecessary isFunction calls, options.complete is ALWAYS a function.
Ariel Flesler [Fri, 16 May 2008 18:37:11 +0000 (18:37 +0000)]
jquery core: Closes #2709, avoiding a bug on IE 6 when using globalEval and a base node is found.
Ariel Flesler [Fri, 16 May 2008 18:32:03 +0000 (18:32 +0000)]
jquery core: saving some bytes in $.fn.val by using $.makeArray.
Ariel Flesler [Fri, 16 May 2008 16:41:12 +0000 (16:41 +0000)]
jquery core: updating a comment, thanks to Scott for spotting it.
Ariel Flesler [Fri, 16 May 2008 16:39:27 +0000 (16:39 +0000)]
jquery ajax: Closes #2567, additional setting for $.ajax called 'dataFilter'. It's an optional function that receives the ajax response, and returns the sanitized version.