Commit graph

171 commits

Author SHA1 Message Date
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
John Resig 74a8e20623 Query now throws no warnings under strict mode in Firefox (ticket #922). In fixing this, revision [1771] was discovered and reverted (no API changes are being added in at this time), and a couple un-functioning test cases were fixed (array comparisions were being done for objects). 2007-04-29 18:39:07 +00:00
John Resig fce2bdf7ff Added support for finding elements that have underscores in their name (along with other allowed characters). Fix for ticket #1084. 2007-04-28 15:39:30 +00:00
Jörn Zaefferer 0539495e86 Updated build to packer3 2007-04-25 21:11:06 +00:00
John Resig 9c94ef4c41 Added a number of additional speed gains (we now hold our own against Dojo and DOMQuery), touched up some of the selector code, fixed some minor bugs, fixed a bug with triggerEvent in Opera, fixed some more test case bugs. 2007-03-26 02:06:50 +00:00
John Resig 9c7f8ba90e Fixed some more bugs with the test suite, made some minor file size tweaks to the selector code. 2007-03-25 19:02:31 +00:00
John Resig d7a8794eb5 Cleaned up a lot of the test suite - reorganized and renamed tests. Added a new triggerEvent() method to the test runner to help us better test actual event interactions. 2007-03-25 18:06:18 +00:00
Jörn Zaefferer 4e7c9b08a0 Added test for #945 2007-03-25 11:52:53 +00:00
Jörn Zaefferer 707f23f83a Added test for #968 2007-03-25 11:04:28 +00:00
John Resig af79bb1f25 Added UTF8 Selector support (#1001) and fixed infinite selector loops (#1025). You can now select elements by UTF8-based IDs, classes, and attributes. 2007-03-25 00:58:19 +00:00
John Resig ec2b688920 Merged my speed improvements into the jQuery core (is actually 200b smaller now!). Additionally, added in some better reporting to the test suite, and fixed a bug with how selector tests were performmed. 2007-03-24 21:55:03 +00:00
John Resig 0f7c89cd97 Added a fix and test for bug #978 (Appending elements into an IFrame, in IE). 2007-03-24 02:03:47 +00:00
John Resig 83b43a1e92 Forced the test suite into standards mode. Fixed some issues with how opacity was handled in IE. Fixed a number of IE fx bugs. 2007-03-16 20:37:10 +00:00
John Resig 297a450e05 Added an initial version of the new animation test suite. (You should never see red on the suite page - an error message will be generated wherever possible.) 2007-03-15 17:09:29 +00:00
John Resig f8fcc9525d Disabled the test suite in Safari. 2007-02-28 16:59:36 +00:00
John Resig 09f5db51dc Reverting my packer changes - need more testing. 2007-02-27 20:37:46 +00:00
John Resig 21ca78bcd0 A small fix that makes the Packer compressor about 10% more efficient. 2007-02-25 07:11:59 +00:00
John Resig 48c16eb85b Fixed some bugs with building jQuery - it required that you were in a directory named 'jquery' in order to build properly. 2007-02-13 19:43:44 +00:00
Jörn Zaefferer a69aad2242 Added equals helper for easier debugging of failed tests, soon to be used more often, see coreTest.js attr(String) for an example 2007-02-06 11:55:44 +00:00
Jörn Zaefferer 495ecb70b2 Fix for #907 2007-02-05 20:16:46 +00:00
Jörn Zaefferer de4e28e1ba Added test for #745 2007-01-31 21:56:32 +00:00
Brandon Aaron 522b9cf35f Fix broken build system for lite and min tasks 2007-01-31 15:51:19 +00:00
Jörn Zaefferer 77a12d16f0 Added plugin build script, very useful to test compressed plugins. Modified build files to allow that "external" build. Feel free to add your own plugin to the plugin build. 2007-01-29 20:48:10 +00:00
Jörn Zaefferer c6a893b680 Updated testsuite: To prevent crashes in Safari, each test waits for 250 milliseconds before running the next 2007-01-14 22:36:54 +00:00
Jörn Zaefferer f368960479 API docs: Hacked multiple argument types like "Element|jQuery|String" representation into multiple elements, each with theier own tooltip 2007-01-11 18:40:34 +00:00
Jörn Zaefferer 378bb9ded8 Fixed eval code (Thanks Fil) 2007-01-10 15:04:54 +00:00
Jörn Zaefferer 8ec860d637 Disable error reporting in PHP test files 2007-01-10 15:03:40 +00:00
Jörn Zaefferer 955fdb87a7 Fixed test for object/param selection (thanks Andrea) 2007-01-07 10:26:58 +00:00
John Resig 458d427c0e Fixed the docs for noConflict, fixed a bug with pager. 2007-01-06 22:34:12 +00:00
Jörn Zaefferer 2daf49296a Changed "Hash" to "Map" in docs 2007-01-04 10:03:34 +00:00
Jörn Zaefferer e0c7e6aec4 Updated test for #750 2007-01-03 20:48:40 +00:00
Jörn Zaefferer bb816b9c95 Messed around with API document: Improved layout, removed animation, added <Content> type 2007-01-02 19:05:00 +00:00
Mike Alsup ac78ad07c2 Add new test file 2007-01-01 17:20:42 +00:00
John Resig 61504d516a Moved all the expressions tests over into selector area, out of the main suite. 2006-12-31 18:09:05 +00:00
Jörn Zaefferer 8cbb4a0ae6 Modified tests to show #746 2006-12-31 15:44:59 +00:00
Jörn Zaefferer 4c66f62a6f Improved Mikes hack to ease testing against IE cache 2006-12-31 15:09:07 +00:00
Jörn Zaefferer 8786fa5276 Fix for #745 2006-12-30 10:13:14 +00:00
Jörn Zaefferer fc84b9db10 Implemented global ajax settings - no documentation yet 2006-12-22 13:56:36 +00:00
Jörn Zaefferer 98b1b580c7 A few corrections to the testsuite to imrove the failure testing 2006-12-21 15:23:59 +00:00
Jörn Zaefferer 6b8ffe79f4 Implemented a better error handling for ajax requests. Exceptions caused by dropping connections are now handled, too. 2006-12-21 13:35:32 +00:00
Jörn Zaefferer 6ac46e6a5a Got context functions back in, added noteworthy stuff, replaced js linebreak replacer with xstl 2006-12-12 20:33:10 +00:00
John Resig fb11b33d68 Fixed an issue with .find(expr,Function) and a Safari bug. 2006-12-12 18:26:52 +00:00
Jörn Zaefferer f1c91fd023 Renamed $.ajax's "before"-option to "beforeSend" to prevent conflict with form plugin - may be a good convention to use beforeXXX and afterXXX everytime for callbacks... 2006-12-05 22:58:27 +00:00
Jörn Zaefferer 47a6a32b27 Introduced before callback (#384) (updated test data) 2006-12-04 20:42:38 +00:00
Mike Alsup c136717119 Fixed regEx to work with Unix an PC files. 2006-11-29 23:25:33 +00:00
Jörn Zaefferer ae58d24fd5 Another attempt to fix the getScript problem 2006-11-21 09:55:34 +00:00
Jörn Zaefferer a87fa0188b Improved testsuite (pass/fail indicator already exists in markup) 2006-11-20 20:54:42 +00:00
Jörn Zaefferer 7cc550727c Testsuite 2.0 2006-11-18 13:37:01 +00:00
Jörn Zaefferer 1e620109d7 Fixed an issue with getJSON (type was not correctly passed on when data was ommited); Added more options to $.ajax to provide more flexibility (bug #371) 2006-11-17 09:56:30 +00:00
Jörn Zaefferer db621dd8dd Added visual pass/fail indicator (JUnit/Eclipse style) 2006-11-15 10:08:08 +00:00
Jörn Zaefferer 03b0a9c654 Modified test for load(); added fix for trigger, where it modifies data passed to it, which causes ugly side-effects 2006-11-09 21:16:03 +00:00
Jörn Zaefferer 7b780def0d Refactored ajax module: Dropped internal arguments from ajax(); Modified testsuite to improve display 2006-11-03 11:30:57 +00:00
Yehuda Katz 440d512edd Updates to the parsing engine 2006-10-27 01:19:27 +00:00
Jörn Zaefferer 5131224427 Modified core and form test suites to use a single stylesheet; Modified form.js to use :submit instead of [@type=submit] and :image... 2006-10-26 10:58:23 +00:00
Brandon Aaron 14b09024cb Fix and tests for appending HTML options to select elements.
Fixed previous tests for 193 and 170.
2006-10-17 19:12:22 +00:00
Brandon Aaron 6f7cd66959 Added tests for 193 and 170.
Removed unused line of code from fx.
2006-10-17 15:34:19 +00:00
Jörn Zaefferer e7669f64d8 Added test for #174; Modified failing (IE) tests for find 2006-10-13 14:56:14 +00:00
Jörn Zaefferer cb53fc02b6 Fixed #216, added several tests for ajax module and fixed more stuff revealed by those; Reverted Johns change for each (changeset 433), caused way too much trouble 2006-10-13 13:57:55 +00:00
Jörn Zaefferer 2e544e9eb8 Added 2 of 3 fixes of #164 2006-10-11 13:35:05 +00:00
John Resig 967eec1831 The jQuery version is now reported in the docs. 2006-10-10 01:17:47 +00:00
John Resig 766c3765bd Now have accurate version information built into jquery.js - will build it into the docs and test suite next. 2006-10-10 00:23:18 +00:00
Jörn Zaefferer b30a469a5a Fixed bug in testsuite, tried to fix problem with :selected in Opera 8.54: It does not work the default selections 2006-10-08 16:19:51 +00:00
Jörn Zaefferer 0121530083 Changed readFile to java-based read function to handle \r\n, fixes docs and test, lite still broken 2006-10-08 09:57:17 +00:00
Jörn Zaefferer 374dbbe80a I had to put the check for 'typeof console != "undefined"' back in, otherwise IE complains about console not being defined. 2006-10-03 10:54:55 +00:00
John Resig 3527e8f674 css('display') works slightly differently in Safari. Also, the test suite having <input checked/> doesn't work in Safari, at all. Fixed to be standards compliant. 2006-10-03 09:40:16 +00:00
John Resig 215f785de6 Fixed minor bug with Safari and the test suite. 2006-10-03 08:45:16 +00:00
Jörn Zaefferer 308d771dd1 Refactored and fixed test suite to run async tests 2006-09-30 14:34:49 +00:00
Jörn Zaefferer b5a33456e3 Clear timeout (prevents freezing of test suite when async tests fail) when start is called 2006-09-19 10:18:57 +00:00
Jörn Zaefferer b0c3711d3e Refactored test suite to allow async tests (use stop() before starting an async request, use start() when finished), added test for bug #164 2006-09-19 09:49:22 +00:00
Jörn Zaefferer 826bb93cc3 Refactored test suite once more, as proposed by John 2006-09-17 11:41:44 +00:00
John Resig 2d56dbc13d Added .htaccess file for docs directory. 2006-09-16 23:22:29 +00:00
Jörn Zaefferer 060c55bf04 Added test for bug #190 2006-09-16 17:09:54 +00:00
Jörn Zaefferer 529203f6b5 Fixed bug #194, added regression tests 2006-09-16 14:57:15 +00:00
Jörn Zaefferer f6ecc6a95c Refactored test suite: All tests are now compiled into one file, runs much faster and does not require ugly synchronization; Changed build.xml (tested) and Makefile (not tested!); Replaced calls to cmpOK() with ok(), removed cmpOK(); Tests can now call reset() to be able to always test against the unmodified test setup 2006-09-16 12:19:56 +00:00
Jörn Zaefferer f50224d653 Added test to verify bug #160, had to modify fixture (index.html) 2006-09-09 23:21:30 +00:00
Jörn Zaefferer f337b8a637 Added more test for attr, one for filter; Added test to check IE issue $('input').attr('name', 'something'), modified fixture to test this 2006-09-08 17:48:21 +00:00
Jörn Zaefferer fd4fc0bcdd Fixed missing brackets (d'oh) 2006-09-05 20:00:36 +00:00
Jörn Zaefferer ded1402498 Refactored the testsuite code with the hope in mind to make the test suite run faster 2006-09-05 19:50:13 +00:00
Jörn Zaefferer b5220adbbc Modified example for css(String) as proposed in the list (concerning camlCase for dashed properties like font-weight); Modified test to cache test fixture instead of reloading it, should make the test suite run faster 2006-09-05 17:58:22 +00:00
Jörn Zaefferer 00e6e81f94 Testcase now logs exceptions if a console is avaiable, makes it easier to find bugs; Added test for all base events 2006-09-05 15:05:56 +00:00
John Resig e2d3c43419 Made a bunch of fixes to the docs, per Sam's request. Also, did some re-organization of the order of the function names. 2006-09-05 06:21:35 +00:00
Franck Marcia 6346e5d1c2 quick fix for JSMin build 2006-09-04 19:58:06 +00:00