Commit graph

45 commits

Author SHA1 Message Date
John Resig ea98b16438 Who am I kidding |= is useless. 2007-06-29 21:52:45 +00:00
John Resig e7a8310f65 Added minor support for |= and ~= selectors. 2007-06-29 21:43:22 +00:00
John Resig 88c88f0704 Added fix for :nth-child(n). 2007-06-29 21:08:46 +00:00
John Resig 7b9d825890 Added fix for broken :only-child. 2007-06-29 21:03:27 +00:00
John Resig fd249ca808 Added massive speed improvements to selectors. Also added support for :nth-child(An+B) syntax. 2007-06-29 19:52:38 +00:00
Brandon Aaron 7c6100f5ed Fix for #1169 2007-05-13 17:20:03 +00:00
John Resig c512984303 We're not adding new selector features in until a new full release. Please discuss features like this in the dev mailing list, and in the bug tracker, before committing code. 2007-05-01 21:31:26 +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 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 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
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
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
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
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