Commit Graph

47 Commits

Author SHA1 Message Date
John Resig
09a2e48f45 Removed support for the XPath [n] - we weren't doing it right, and it would actually require a lot of code to "do it right" (much more than what the feature is immediately worth). See ticket #995. 2007-04-28 15:43:18 +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
Corey Jewett
2fac5e7949 Add RegExp style xpath attributes and testcases. e.g. [@foo =~ /bar/i] and [@foo !~ /bar/] 2007-04-13 17:48:04 +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
3446c3af76 Opera is also vulnerable to the getElementById-returning-name issue, fixed it there as well. Also had to tweak the UTF8 regexps to work in Safari (Safari doesn't support \uXXXX in RegExps, lame.) 2007-03-25 20:30:16 +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
John Resig
25b424134f 2007-03-25 02:45:12 +00:00
John Resig
ae208246fb Added support for escaping selectors in ID and Classname queries (#143). You need to be sure to double-escape selectors, though, as JavaScript requires it to get the right effect. 2007-03-25 02:04:03 +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
fde2867fce Added a fix for #891 (Using a /foo selector within a non-document context.) 2007-03-24 03:00:03 +00:00
John Resig
32b523b5c5 Added fix for #986 (ID selector within an element that doesn't exist). 2007-03-24 02:54:24 +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
Brandon Aaron
44599e174b * Fixed IE ID selectors selecting by the name attribute and added tests
* Added href attribute test to test suite
* Updated Changelog
2007-02-23 02:53:22 +00:00
John Resig
4259b02c99 Added a test case for bug #986. 2007-02-22 21:54:56 +00:00
Brandon Aaron
2712efd0fc Update for src and href attribute selectors fix 2007-02-14 01:49:28 +00:00
Brandon Aaron
4c850c2ecd Fix the ^= type attribute selector in firefox for href. 2007-02-13 19:06:38 +00:00
John Resig
02ffee4610 Fixed the ~ selector - it was selecting in the wrong direction. 2007-02-04 16:51:34 +00:00
Jörn Zaefferer
4e256bffa3 Added test for #891 2007-01-31 21:25:58 +00:00
Jörn Zaefferer
c60d4519bc Added test for #895 2007-01-31 21:19:35 +00:00
John Resig
8fc9e06c46 Fixed an issue with child selectors that also have filters. 2007-01-22 05:33:28 +00:00
John Resig
8e105ef931 Added in jQuery.nodeName() to simplify checking nodeName constantly. 2007-01-22 05:27:54 +00:00
John Resig
31d65e9052 Fixed an issue with child selectors accidentally triggering filter mode. 2007-01-22 04:50:30 +00:00
John Resig
9141004442 Fixed some more nodeName inconsistencies. 2007-01-22 00:28:23 +00:00
John Resig
ddb3004a47 Fixed an issue with child selectors and XML documents (nodeName isn't in all-caps, and it was assumed that it was). 2007-01-22 00:25:16 +00:00
John Resig
34355cd698 Converted a lot of for loops to use jQuery.each() instead. 2007-01-14 21:49:59 +00:00
John Resig
e50a2f6ca3 Added a fix for :nth-child(even/odd). 2007-01-14 17:54:54 +00:00
John Resig
375499c1f3 Added a fix for $("div").filter("*") never ending. 2007-01-14 17:45:49 +00:00
Jörn Zaefferer
2b82ffbbfa Fixed a few docs 2007-01-14 15:47:32 +00:00
John Resig
e1e631a044 Removed a bunch more bytes from the total file size. 2007-01-14 07:17:41 +00:00
John Resig
ed5bda3020 Added in jQuery.isFunction(). 2007-01-14 06:22:20 +00:00
John Resig
dfa1a0246f Added minor regexp optimization. 2007-01-12 07:32:15 +00:00
John Resig
74c06be3ea Added a fix for $("object *") in IE7. 2007-01-11 07:31:40 +00:00
John Resig
7b439921c4 Removed support for //foo | //bar - please use "," instead. 2007-01-10 18:26:13 +00:00
John Resig
75b6bcdb42 Added support .css("left",30). Fixed up the multiFilter code. 2007-01-10 18:06:19 +00:00
John Resig
f2ff0db032 Lots of improvements. Added support for .not( jQuery("...") ) and support for multi filters: .filter("foo,bar") .parent("div, .class"), etc. 2007-01-10 17:54:42 +00:00
John Resig
aa424984f7 Added support for (basic) nested parens and (basic) nested brackets. You can now do: div:not(.foo[a:not(.even)]) or div[p[a.even]]. 2007-01-09 06:04:54 +00:00
John Resig
12e6335339 Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally. 2007-01-08 00:12:41 +00:00
John Resig
e1e47cddd6 Added support for [@foo] against DOM object properties (not just attributes). 2007-01-07 22:51:41 +00:00
John Resig
33662cd713 Fixed problem with $("div",$("body")) breaking (returning an array, of length one, containing undefined). 2007-01-07 22:29:15 +00:00
Jörn Zaefferer
955fdb87a7 Fixed test for object/param selection (thanks Andrea) 2007-01-07 10:26:58 +00:00
Jörn Zaefferer
e0c7e6aec4 Updated test for #750 2007-01-03 20:48:40 +00:00
Jörn Zaefferer
02483b4a59 Added assertions for #750 2007-01-03 16:03:16 +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
John Resig
c3d8cb0c09 Moved the bulk of the selector code out into a separate file, changed the build files to represent this. 2006-12-31 05:22:06 +00:00