Commit Graph

60 Commits

Author SHA1 Message Date
John Resig
127c0b8a5d Fixed the issue where $("body").find("div#foo") would ignore the specified tag name. (Bug #1543) 2007-08-27 04:58:02 +00:00
John Resig
257eaf7ee3 Marked all the appropriate methods as being deprecated for the 1.1.4 release (in preparation for 1.2). 2007-08-24 01:28:07 +00:00
John Resig
f2f399dcd5 Fixed use of eval() and new Function() to work within the correct scope (and not throw errors). 2007-08-22 06:19:22 +00:00
John Resig
46e770352a Added the new :has() selector (Bug #1521) 2007-08-21 07:33:52 +00:00
John Resig
b6d920cf05 Fix for a selector speed regression (calling a simple selector many times resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression.
Speed results:
http://dev.jquery.com/~john/ticket/1351/ vs.
http://dev.jquery.com/~john/ticket/1351/113.html vs.
http://dev.jquery.com/~john/ticket/1351/112.html
2007-08-21 05:43:44 +00:00
John Resig
3c82f8fb4a Added a fix for Safari's broken CSS getComputedStyle accessing. Additionally, added a fix for Safari mis-reporting @selected for display: none options. The test suite is now completely passing in Safari 3. (Bug #1349) 2007-07-29 22:32:06 +00:00
John Resig
f8b00051c3 $("#foo", xml) would always return an empty set, fixed (bug #877). Additionally, a bug in jQuery.isXMLDoc(xmlDoc) was discovered, if the element was, in fact, an XML document. 2007-07-25 00:56:50 +00:00
John Resig
bdf05d890f Added a fix for relative // - $("//div",this) (bug #1418) 2007-07-25 00:39:45 +00:00
John Resig
97a6bdbaba Added a fix for h1 + h2 not working. (Bug #1361) 2007-07-20 23:43:12 +00:00
John Resig
bdb5dad8e5 Final fix for Safari crasher (bug #1331). 2007-07-06 13:36:38 +00:00
John Resig
2278b24f70 Fix for Safari 1.3 crash (bug #1331). 2007-07-05 20:40:44 +00:00
Ed Engelhardt
28a80202b3 fix little typo in comment 2007-07-05 08:18:25 +00:00
John Resig
6f064fc9c5 Added fix for broken child selectors in XML documents, bug #1346. 2007-07-05 02:45:01 +00:00
John Resig
38d74fe912 Added a fix for bug #1331, which caused Safari 1.3 to crash. 2007-07-04 16:15:09 +00:00
John Resig
fa7bfcfd78 Fixed bug that prevented $= from working on elements that didn't have the specified attribute. 2007-07-04 16:10:26 +00:00
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