]> source.dussan.org Git - jquery.git/log
jquery.git
16 years agofx: 1) patch from Ariel removes the need of adding properties like scrollTop and...
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.

16 years agocore: set version.txt to 1.2.7-pre
Jörn Zaefferer [Fri, 20 Jun 2008 21:52:06 +0000 (21:52 +0000)]
core: set version.txt to 1.2.7-pre

16 years agoSet version number to 1.2.7a.
Ariel Flesler [Fri, 20 Jun 2008 21:18:40 +0000 (21:18 +0000)]
Set version number to 1.2.7a.

16 years agojquery ajax: renamed $.fx.speeds.def to _default to match $.fx.step._default naming...
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.

16 years agojquery ajax: making Paul's last change([5735]) shorter.
Ariel Flesler [Fri, 20 Jun 2008 16:20:20 +0000 (16:20 +0000)]
jquery ajax: making Paul's last change([5735]) shorter.

16 years agofx: animate() can now animate any property on a generic object or native wrapper...
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)

16 years agojquery ajax: added a comment explaining the last commit.
Ariel Flesler [Tue, 17 Jun 2008 21:31:57 +0000 (21:31 +0000)]
jquery ajax: added a comment explaining the last commit.

16 years agojquery ajax: closes #3052. Additional check on httpData() to keep compatibility with...
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).

16 years agojquery ajax: Fixes #3045. The protocol wasn't being checked to see if a script is...
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.

16 years agotest runner: closes #3048. The text from the tests, is html-escaped.
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.

16 years agotest runner: 2 tests for [5728].
Ariel Flesler [Tue, 17 Jun 2008 19:59:16 +0000 (19:59 +0000)]
test runner: 2 tests for [5728].

16 years agojquery core: closes #3053. clean() wasn't parsing 0's. So html( 0 ) was failing failing.
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.

16 years agojquery core: closes #3034. Ids with '-' weren't handled by quickExpr.
Ariel Flesler [Fri, 13 Jun 2008 18:42:54 +0000 (18:42 +0000)]
jquery core: closes #3034. Ids with '-' weren't handled by quickExpr.

16 years agocore: fixed #2993: .offsetParent() will now return the body element in all browsers...
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.

16 years agojquery ajax: passing the settings object to httpData instead of just the dataFilter...
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".

16 years agoajax tests: Replaced $ with jQuery.
Scott González [Thu, 5 Jun 2008 18:11:29 +0000 (18:11 +0000)]
ajax tests: Replaced $ with jQuery.

16 years agotest runner: adding 2 tests for .val( Number ).
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.

16 years agotest runner: the changes are:
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.

16 years agojquery event: caching the props array and fixing the loop that goes thru it. It was...
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.

16 years agotest runner: adding a new test page called 'polluted'. Where one can choose to pre...
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.

16 years agotest runner: Adding type="text/javascript" to a script tag (trivial).
Ariel Flesler [Wed, 28 May 2008 18:46:38 +0000 (18:46 +0000)]
test runner: Adding type="text/javascript" to a script tag (trivial).

16 years agojquery ajax: small (misc) improvement to $.param.
Ariel Flesler [Wed, 28 May 2008 02:50:38 +0000 (02:50 +0000)]
jquery ajax: small (misc) improvement to $.param.

16 years agotest runner: a test for load() with a hash of data, and another for load() with a...
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.

16 years agojquery ajax: Closes #1516. load() can get a string of data (not only a hash) and...
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.

16 years agojquery core: adding rowSpan to jQuery.props.
Ariel Flesler [Tue, 27 May 2008 19:17:26 +0000 (19:17 +0000)]
jquery core: adding rowSpan to jQuery.props.

16 years agocore: fixed offset method for FF3 - FF3 seems to have problems reporting the correct...
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

16 years agojquery ajax: changing a set of &&/|| for ?/:.
Ariel Flesler [Sun, 25 May 2008 03:20:13 +0000 (03:20 +0000)]
jquery ajax: changing a set of &&/|| for ?/:.

16 years agotest runner: A test was failing on Opera 9.50. Not a bug, just made the test less...
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.

16 years agoTagging the 1.2.6 release.
John Resig [Sat, 24 May 2008 18:22:17 +0000 (18:22 +0000)]
Tagging the 1.2.6 release.

16 years agotest runner: adding more tests for attr(). Related to [5574] and [5683].
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].

16 years agojquery core: closes #2930. Normalizing attr() to return undefined, even when getting...
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.

16 years agojquery core: casting numbers received by val() to string.
Ariel Flesler [Sat, 24 May 2008 17:57:45 +0000 (17:57 +0000)]
jquery core: casting numbers received by val() to string.

16 years agojquery core: saving some bytes and fixing indentation inside jQuery.prop.
Ariel Flesler [Fri, 23 May 2008 00:54:59 +0000 (00:54 +0000)]
jquery core: saving some bytes and fixing indentation inside jQuery.prop.

16 years agoTagging the 1.2.5 release. 1.2.5
John Resig [Wed, 21 May 2008 03:14:54 +0000 (03:14 +0000)]
Tagging the 1.2.5 release.

16 years agoTagging the 1.2.4 release. 1.2.4
John Resig [Sun, 18 May 2008 20:19:46 +0000 (20:19 +0000)]
Tagging the 1.2.4 release.

16 years agojquery fx: removing a needless comment after the last commit.
Ariel Flesler [Fri, 16 May 2008 20:00:16 +0000 (20:00 +0000)]
jquery fx: removing a needless comment after the last commit.

16 years agojquery fx: removing 2 unnecessary isFunction calls, options.complete is ALWAYS a...
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.

16 years agojquery core: Closes #2709, avoiding a bug on IE 6 when using globalEval and a base...
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.

16 years agojquery core: saving some bytes in $.fn.val by using $.makeArray.
Ariel Flesler [Fri, 16 May 2008 18:32:03 +0000 (18:32 +0000)]
jquery core: saving some bytes in $.fn.val by using $.makeArray.

16 years agojquery core: updating a comment, thanks to Scott for spotting it.
Ariel Flesler [Fri, 16 May 2008 16:41:12 +0000 (16:41 +0000)]
jquery core: updating a comment, thanks to Scott for spotting it.

16 years agojquery ajax: Closes #2567, additional setting for $.ajax called 'dataFilter'. 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.

16 years agoUpdating unit tests for offset
Brandon Aaron [Thu, 15 May 2008 23:36:06 +0000 (23:36 +0000)]
Updating unit tests for offset

16 years agojqueryjquery ajax: closes #1289. Renamed 'xml' and 'r' to 'xhr'.
Ariel Flesler [Thu, 15 May 2008 21:03:31 +0000 (21:03 +0000)]
jqueryjquery ajax: closes #1289. Renamed 'xml' and 'r' to 'xhr'.

16 years agoReverted back to using the num helper method in offset.js
Brandon Aaron [Thu, 15 May 2008 20:29:52 +0000 (20:29 +0000)]
Reverted back to using the num helper method in offset.js

16 years agoAdded some unit tests for position method. Fixed issue with position in IE.
Brandon Aaron [Thu, 15 May 2008 19:38:00 +0000 (19:38 +0000)]
Added some unit tests for position method. Fixed issue with position in IE.

16 years agojquery core: SHOULD fix #2802. Caching document.defaultView, instead of defaultView...
Ariel Flesler [Thu, 15 May 2008 14:45:29 +0000 (14:45 +0000)]
jquery core: SHOULD fix #2802. Caching document.defaultView, instead of defaultView.getComputedStyle as it fails on Safari 2.

16 years agojquery ajax: caching repetive conversions/checks for settings.type in $.ajax.
Ariel Flesler [Thu, 15 May 2008 14:16:19 +0000 (14:16 +0000)]
jquery ajax: caching repetive conversions/checks for settings.type in $.ajax.

16 years agojquery ajax: fixed #2865 and #2570. Not passing username to xml.open if it's null...
Ariel Flesler [Thu, 15 May 2008 13:45:09 +0000 (13:45 +0000)]
jquery ajax: fixed #2865 and #2570. Not passing username to xml.open if it's null, or it open a login popup on some Opera's.

16 years agojquery dimensions & offset: moving the local function 'num' to core, so it can be...
Ariel Flesler [Thu, 15 May 2008 12:53:07 +0000 (12:53 +0000)]
jquery dimensions & offset: moving the local function 'num' to core, so it can be safely used by both modules.

16 years agotest runner: improved the shown message of 4 isFunction tests.
Ariel Flesler [Wed, 14 May 2008 21:18:46 +0000 (21:18 +0000)]
test runner: improved the shown message of 4 isFunction tests.

16 years agojquery core: closes #1480, isFunction is even tougher.
Ariel Flesler [Wed, 14 May 2008 20:10:39 +0000 (20:10 +0000)]
jquery core: closes #1480, isFunction is even tougher.

16 years agojquery ajax: closes #2842.
Ariel Flesler [Wed, 14 May 2008 19:50:24 +0000 (19:50 +0000)]
jquery ajax: closes #2842.

16 years agojquery core: fixed deep extend of objects. Closes #1562 & #2820.
Ariel Flesler [Wed, 14 May 2008 19:45:31 +0000 (19:45 +0000)]
jquery core: fixed deep extend of objects. Closes #1562 & #2820.

16 years agojquery offset: reducing more the code size.
Ariel Flesler [Wed, 14 May 2008 18:06:59 +0000 (18:06 +0000)]
jquery offset: reducing more the code size.

16 years agojquery offset: reducing the code size.
Ariel Flesler [Wed, 14 May 2008 17:54:54 +0000 (17:54 +0000)]
jquery offset: reducing the code size.

16 years agojquery dimensions: reducing the code size.
Ariel Flesler [Wed, 14 May 2008 17:23:44 +0000 (17:23 +0000)]
jquery dimensions: reducing the code size.

16 years agoTagging the 1.2.4b release. 1.2.4b
John Resig [Wed, 14 May 2008 04:53:25 +0000 (04:53 +0000)]
Tagging the 1.2.4b release.

16 years agojquery ajax: renaming jQuery.ajax.re to remote.
Ariel Flesler [Tue, 13 May 2008 19:58:00 +0000 (19:58 +0000)]
jquery ajax: renaming jQuery.ajax.re to remote.

16 years agojquery ajax: absolute urls were assumed to be cross domain. Closes #2816.
Ariel Flesler [Tue, 13 May 2008 19:47:39 +0000 (19:47 +0000)]
jquery ajax: absolute urls were assumed to be cross domain. Closes #2816.

16 years agoUpdating outerWidth unit test to use absolute position
Brandon Aaron [Tue, 13 May 2008 18:56:56 +0000 (18:56 +0000)]
Updating outerWidth unit test to use absolute position

16 years agoCloses #2510
Ariel Flesler [Tue, 13 May 2008 02:20:08 +0000 (02:20 +0000)]
Closes #2510

16 years agojquery: removing unnecessary trailing and leading spaces & tabs.
Ariel Flesler [Tue, 13 May 2008 01:45:58 +0000 (01:45 +0000)]
jquery: removing unnecessary trailing and leading spaces & tabs.

16 years agojquery event & fx: tidying some comments.
Ariel Flesler [Tue, 13 May 2008 01:42:35 +0000 (01:42 +0000)]
jquery event & fx: tidying some comments.

16 years agojquery core: don't let .attr() set style for xml.
Ariel Flesler [Tue, 13 May 2008 00:42:12 +0000 (00:42 +0000)]
jquery core: don't let .attr() set style for xml.

16 years agojquery core: #2548, #2170, #2188, #2099, #1170, #2558, #2521, #2119, #1271, #2453...
Ariel Flesler [Tue, 13 May 2008 00:37:30 +0000 (00:37 +0000)]
jquery core: #2548, #2170, #2188, #2099, #1170, #2558, #2521, #2119, #1271, #2453, #2537.

mass refactoring of $.attr (#2548)

* Changes
- undefined was returned for falsy values.
- expando attributes are used when possible.
- one $.isXmlDoc instead of 2.
- $.attr( style, ... ) goes thru less useless checks.
- reduced code size of recurrent accessed variables/checks.
- $.props doesn't need redundant sets of key value anymore.
- added cellSpacing to $.props (#2521)

16 years agotest runner: improved a test and added a missing semicolon
Ariel Flesler [Mon, 12 May 2008 22:59:58 +0000 (22:59 +0000)]
test runner: improved a test and added a missing semicolon

16 years agotest runner: when errors are thrown in a test, the message is successfully show on...
Ariel Flesler [Mon, 12 May 2008 22:31:27 +0000 (22:31 +0000)]
test runner: when errors are thrown in a test, the message is successfully show on all browsers.

16 years agojquery fx & event: replaced the use of .apply(), where .call() could had been used.
Ariel Flesler [Mon, 12 May 2008 19:45:02 +0000 (19:45 +0000)]
jquery fx & event: replaced the use of .apply(), where .call() could had been used.

16 years agojquery core: Applied #1318 to jQuery.grep
Ariel Flesler [Mon, 12 May 2008 01:21:50 +0000 (01:21 +0000)]
jquery core: Applied #1318 to jQuery.grep

16 years agojquery core: declared undefined locally, to speed up references, and allow munging...
Ariel Flesler [Sun, 11 May 2008 20:59:24 +0000 (20:59 +0000)]
jquery core: declared undefined locally, to speed up references, and allow munging all their names.

16 years agofix small typo in comment
Ed Engelhardt [Sun, 11 May 2008 10:17:11 +0000 (10:17 +0000)]
fix small typo in comment

16 years agojquery core: reverted qunit introduction until build scripts are updated
Jörn Zaefferer [Thu, 8 May 2008 21:42:40 +0000 (21:42 +0000)]
jquery core: reverted qunit introduction until build scripts are updated

16 years agojquery testsuite: switch to qunit
Jörn Zaefferer [Thu, 8 May 2008 19:33:49 +0000 (19:33 +0000)]
jquery testsuite: switch to qunit

16 years agotest runner: added 2 tests for [5500]
Ariel Flesler [Thu, 8 May 2008 17:16:49 +0000 (17:16 +0000)]
test runner: added 2 tests for [5500]

16 years agotest runner: extra tests for $.fn.add enabled by [5503] and a small fix for an html...
Ariel Flesler [Thu, 8 May 2008 17:11:03 +0000 (17:11 +0000)]
test runner: extra tests for $.fn.add enabled by [5503] and a small fix for an html() test.

16 years agojquery core: closes #2811, $.fn.add now calls $.unique internally, also it was failin...
Ariel Flesler [Thu, 8 May 2008 17:08:59 +0000 (17:08 +0000)]
jquery core: closes #2811, $.fn.add now calls $.unique internally, also it was failing for array-like f.e: window.

16 years agotest runner: extra test case, [5501]
Ariel Flesler [Thu, 8 May 2008 16:25:12 +0000 (16:25 +0000)]
test runner: extra test case, [5501]

16 years agojquery event: fixed $.fn.load, closes #2819.
Ariel Flesler [Thu, 8 May 2008 16:23:43 +0000 (16:23 +0000)]
jquery event: fixed $.fn.load, closes #2819.

16 years agojquery core: closes #2771
Ariel Flesler [Thu, 8 May 2008 16:14:49 +0000 (16:14 +0000)]
jquery core: closes #2771
$.inArray now makes a === check because of IE.
$.inArray is used in $.fn.index, this is shorter, and breaks the loop when possible.
$.fn.index can receive a jquery object, and the first element is used

16 years agojquery event: removing 3 unnecessary lines since the addition of $.event.proxy.
Ariel Flesler [Thu, 8 May 2008 16:10:47 +0000 (16:10 +0000)]
jquery event: removing 3 unnecessary lines since the addition of $.event.proxy.

16 years agotest runner: making 2 tests more flexible because they yield a slightly different...
Ariel Flesler [Thu, 8 May 2008 16:04:01 +0000 (16:04 +0000)]
test runner: making 2 tests more flexible because they yield a slightly different result on Safari 3, but still acceptable.

16 years agoMaking sure originalTarget gets copied over from the original event object
Brandon Aaron [Wed, 7 May 2008 13:21:16 +0000 (13:21 +0000)]
Making sure originalTarget gets copied over from the original event object

16 years agoajax test: Removed test for extending with null.
Scott González [Wed, 7 May 2008 01:16:54 +0000 (01:16 +0000)]
ajax test: Removed test for extending with null.

16 years agotest runner: extra test for makeArray, related to [5481]
Ariel Flesler [Wed, 7 May 2008 00:46:14 +0000 (00:46 +0000)]
test runner: extra test for makeArray, related to [5481]

16 years agojquery core: Reverting the changes added at [5480]
Ariel Flesler [Wed, 7 May 2008 00:07:44 +0000 (00:07 +0000)]
jquery core: Reverting the changes added at [5480]

16 years agojquery core: makeArray was parsing forms into array of elements.
Ariel Flesler [Tue, 6 May 2008 23:28:21 +0000 (23:28 +0000)]
jquery core: makeArray was parsing forms into array of elements.

16 years agojquery core: removing needless 'else' and 'new' in $.fn.init.
Ariel Flesler [Tue, 6 May 2008 22:36:30 +0000 (22:36 +0000)]
jquery core: removing needless 'else' and 'new' in $.fn.init.

16 years agojquery ajax: support for dynamic data arguments, see #2806; added test/data/echoQuery...
Jörn Zaefferer [Tue, 6 May 2008 22:21:43 +0000 (22:21 +0000)]
jquery ajax: support for dynamic data arguments, see #2806; added test/data/echoQuery.php for easier testing of sent query strings

16 years agojquery testrunner: reset $.ajaxSettings after each run to prevent sideeffects between...
Jörn Zaefferer [Tue, 6 May 2008 19:39:58 +0000 (19:39 +0000)]
jquery testrunner: reset $.ajaxSettings after each run to prevent sideeffects between tests

16 years agotest runner: translated all the ok() with '==' to equals(), as it gives more informat...
Ariel Flesler [Tue, 6 May 2008 18:56:02 +0000 (18:56 +0000)]
test runner: translated all the ok() with '==' to equals(), as it gives more information on failures.

16 years agojquery core: enhancements to jquery.map, closes #2803
Ariel Flesler [Tue, 6 May 2008 14:54:53 +0000 (14:54 +0000)]
jquery core: enhancements to jquery.map, closes #2803

16 years agojquery core: small code reduction.
Ariel Flesler [Tue, 6 May 2008 01:29:13 +0000 (01:29 +0000)]
jquery core: small code reduction.

16 years agojquery core: code reduction at $.each and $.curCSS.
Ariel Flesler [Tue, 6 May 2008 00:54:59 +0000 (00:54 +0000)]
jquery core: code reduction at $.each and $.curCSS.

16 years agotest runner: adding some tests that were missing for the $ constructor.
Ariel Flesler [Tue, 6 May 2008 00:42:59 +0000 (00:42 +0000)]
test runner: adding some tests that were missing for the $ constructor.

16 years agojquery selector: reverting [5343], check #1960.
Ariel Flesler [Tue, 6 May 2008 00:13:20 +0000 (00:13 +0000)]
jquery selector: reverting [5343], check #1960.

16 years agojquery testrunner: reset global events after each run, speeds up a test run for ajax...
Jörn Zaefferer [Mon, 5 May 2008 23:29:28 +0000 (23:29 +0000)]
jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel

16 years agocore: Fixed #2605: .data() now accepts null as a value.
Scott González [Sat, 3 May 2008 01:51:55 +0000 (01:51 +0000)]
core: Fixed #2605: .data() now accepts null as a value.

16 years agocore: Fixed #2605: .data() now accepts null as a value.
Scott González [Sat, 3 May 2008 01:39:27 +0000 (01:39 +0000)]
core: Fixed #2605: .data() now accepts null as a value.

16 years agocore: Fixed #2600: jQuery.extend no longer skips over null properties.
Scott González [Fri, 2 May 2008 19:49:41 +0000 (19:49 +0000)]
core: Fixed #2600: jQuery.extend no longer skips over null properties.

16 years agojquery fx: adding jQuery.fx.def as default speed for animations
Ariel Flesler [Fri, 2 May 2008 14:12:26 +0000 (14:12 +0000)]
jquery fx: adding jQuery.fx.def as default speed for animations