Commit graph

152 commits

Author SHA1 Message Date
John Resig ef661a50b9 Removed all uses of @ in the benchmarker and added a couple :not() tests. 2009-01-06 20:23:44 +00:00
John Resig dcbec1f498 Cleaned up the benchmarking utility (using a newer version of jQuery and fixing the runner). 2009-01-06 16:19:55 +00:00
John Resig 434b87b8a2 Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes. 2009-01-04 15:29:27 +00:00
Jörn Zaefferer ba4453def2 core: cleanup of build - build.js isn't used anywhere 2008-12-18 16:43:39 +00:00
Jörn Zaefferer e7fef859f1 global replace for @VERSION, fixed #2101 2008-01-20 14:23:22 +00:00
John Resig 04eb060692 Fixed minor issue with pack build script. (Bug #2101) 2008-01-14 19:13:46 +00:00
Jörn Zaefferer ba9c14a589 added version to all builds; changed current version to 1.2.2-pre - to be updated after each release so its clear that a build is from which milestone; build.xml cleanup (removing uselss lite, docs, test and _with_plguins targets); deleted useless docs build files (replaced by wiki and wiki xml exporter and api browsers) 2007-12-19 22:26:05 +00:00
David Serduke b0b5fa74b6 Fixed the build/speed testing application to work with current versions of jQuery. The main changes were implementing :has() where necessary to replace functionality that no longer existed and to use noConflict() so the libraries wouldn't have to be modified for the speed testing.
So now the file jquery-basis.js will be tested against the jquery.js in the /dist directory. Version 1.2.1 is currently in jquery-basis.js.
2007-12-05 17:33:49 +00:00
Paul Mclanahan e22336e7ae Updated test.js for the runtest build target to reflect the path changes for the test scripts. 2007-09-12 15:45:05 +00:00
John Resig b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
John Resig f96bf10415 Integration of Mike Alsup's excellent form serialization code. The benefits are as follows:
- New method: .serializeArray()
This returns an array of name/value pairs representing the contents of a form, or individual input elements.
- Enhancement: .serialize()
The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements).
- Enhancement: .val()
This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values.

Based upon Mike's code:
http://malsup.com/jquery/form/comp/form.js

and test suite:
http://malsup.com/jquery/form/comp/test.html
2007-09-05 17:06:05 +00:00
John Resig a5dbcaf675 Added support for:
- Cross Domain getScript
  $.getScript("http://foo.com/script.js");
- JSONP
  $.ajax({ url: "script.js", type: "jsonp" });
  $.getJSON("script.js?callback=?");
- Cross Domain JSONP/getJSON
  $.getJSON("http://foo.com/script.js?callback=?");
- No-cache Ajax Requests
  $.ajax({ url: "test.html", cache: false });
2007-09-03 23:45:14 +00:00
John Resig 346ceacce3 Added support for a new :header psuedo-selector (only selects H1-H6 elements). 2007-08-31 05:43:24 +00:00
John Resig fbd2b066a7 Make it so that you can filter tests by keyword. 2007-08-31 05:41:08 +00:00
John Resig 0477a6e99e Added a test case for "purple include", fixed a bug. 2007-08-25 03:55:12 +00:00
John Resig 2ef4093cf7 Complete overhaul of the Ajax test suite, it's now passing in all browsers. In order to achieve this I had to fix a numbe
r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa
y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer
 overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too
led to no longer leak memory and slow things down).
2007-08-19 23:37:26 +00:00
John Resig 05d401dd84 Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449) 2007-08-19 00:07:41 +00:00
Jörn Zaefferer d38ee78db9 reverted my "fixes", seems like they work only with the latest (dev) rhino version, which isn't that helpful 2007-08-14 16:37:14 +00:00
John Resig 660490e6f4 The test for underscore selectors broke under Opera, so the element is now loaded via Ajax and tested. (bug #1084) 2007-07-30 02:52:24 +00:00
John Resig 80a149b828 Integrated the custom fx test suite into the main test suite. All tests are now run automatically. Removed the old suite, as it was no longer needed. 2007-07-29 19:07:21 +00:00
Jörn Zaefferer eb5529eac0 Added runtest ant task (doesn't display results yet);
added href-attribute to DOMElement, fixed XMLHttpRequest to actually allow sync requests, fixed new Thread(new Runnable({run...})) to use new Thread({run:...})
2007-07-17 07:54:14 +00:00
John Resig 7c85d973bf Added better support for local file XHR, added document.innerHTML, change .valueOf() to be .outerHTML. 2007-07-10 02:38:20 +00:00
John Resig 0bb035a1ab Added support for events, made window.location Async (and based upon XHR), added trigger for window.onload. 2007-07-09 16:14:19 +00:00
John Resig d776dc9d5c Got some XHR tests to run, still some hanging threads (need to investigate). Started moving some Ajax tests away from using PHP (more portable this way). Fixed a number of XHR env bugs. 2007-07-09 03:08:20 +00:00
John Resig de71a046e6 Touched up the XMLHttpRequest code (fixed some bugs, fixed formatting, etc.). 2007-07-09 00:48:16 +00:00
Yehuda Katz c4eddea7c3 Adds XHR support to Rhino evn 2007-07-09 00:20:44 +00:00
John Resig 54035207fe Tweaked some of the tests, added in events and fx tests. 2007-07-09 00:15:44 +00:00
John Resig b09043fbf6 Added a className tweak. All core and selector tests now pass. 2007-07-09 00:02:32 +00:00
John Resig b147039acc Added a number of fixes: Tag name case-sensitivity, text escaping, opacity setting. Tweaked the test suite slightly. 2007-07-08 23:52:14 +00:00
John Resig 69ef5fac9e Added basic support for IFrames, disabled a test which we don't take into account. 2007-07-08 23:19:09 +00:00
John Resig b5bf00a373 A barebones implementation of getComputedStyle. 2007-07-08 22:26:05 +00:00
John Resig 5e7c1fc3ae UTF8 support rolled in (both for external docs and innerHTML). 2007-07-08 20:22:50 +00:00
John Resig feb475d9b1 Attribute values should be JS strings. 2007-07-08 16:35:48 +00:00
John Resig b83a6b7a32 .ownerDocument should be null on document. 2007-07-08 16:33:23 +00:00
John Resig 6f0c9a5fd7 Added support for "first option is auto-selected in a drop-down" functionality. 2007-07-08 16:28:45 +00:00
John Resig 52c6739c20 Fixed selected/checked/disabled, added .style support, added .elements. 2007-07-08 16:06:10 +00:00
John Resig e155a6ae51 Added .value to the env impl. 2007-07-08 07:02:36 +00:00
John Resig 89a9a747b6 Automated test running using Rhino (no browser required!). Still very buggy, but off to a good start. 2007-07-08 05:00:24 +00:00
John Resig 4f85aaebc6 Upgraded Rhino to 1.6r6. 2007-07-08 04:48:11 +00:00
John Resig 5ed992d5f5 Making the test suite a little more XML-compliant. 2007-07-08 04:46:21 +00:00
John Resig 73ab36b8f8 Added the Speed Test Suite. Can be made by doing 'make speed'. 2007-06-30 00:21:30 +00:00
John Resig 28c9c6a805 Disabling Ajax tests for now - too many timeouts. 2007-06-29 20:27:20 +00:00
Jörn Zaefferer 6f510757ab use jquery for dblclick handler to access event.target 2007-06-20 21:13:56 +00:00
Jörn Zaefferer 4b8c7d8561 Removed useless safari workarounds, added rerun-single-test feature: just doubleclick on a single test to execute that one, use browser's back button get back to executing all 2007-06-14 22:12:49 +00:00
Jörn Zaefferer f621f92a4d Modified min build to include (like pack) the license header, thanks John for the regex 2007-06-14 22:06:00 +00:00
John Resig 5e964a4a73 Fix for bug #983 (Packed jQuery doesn't have a license at the top of the file.) 2007-05-20 16:42:42 +00:00
John Resig 9b5363b9eb Added fixes for bug #1052. Fixes the problems with animation chaining (and problems with toggling). Also, removed toggling from jQuery.fx (it's now handled in .animate() instead). 2007-05-20 08:40:13 +00:00
Brandon Aaron 7c6100f5ed Fix for #1169 2007-05-13 17:20:03 +00:00
John Resig 003af8e383 Updated Packer - the current version was working incorrectly. 2007-05-05 17:37:38 +00:00
Brandon Aaron 672090463c Completed test for Rev 1820 (#1044) 2007-04-30 13:13:01 +00:00