aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery
Commit message (Collapse)AuthorAgeFilesLines
* Reorganzing the jQuery source (first phase).John Resig2007-09-082-2079/+0
|
* Fix for bug #760 (fontSize returns different values in IE). This was part of ↵John Resig2007-09-071-0/+15
| | | | a larger issue where IE returned non-pixel values from it's computed style - this normalizes it (thanks to a fix by Dean Edwards).
* Integration of Mike Alsup's excellent form serialization code. The benefits ↵John Resig2007-09-052-5/+28
| | | | | | | | | | | | | | | | | | 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
* Added support for the new .andSelf() method. This method combines the ↵John Resig2007-09-042-2/+14
| | | | | | | | | | | | previous two matched sets on the stack into a single stack. For example: $("#foo").parent(); // => [ #bar ] $("#foo").parent().andSelf(); // => [ #bar, #foo ]
* Fix for bug #1549, where the DOM conversion of <code/> and similar elements ↵John Resig2007-09-042-1/+13
| | | | would fail. This forces it to work correctly in all browsers.
* Made it so that you can't change the type of an input element, having it ↵John Resig2007-09-042-2/+30
| | | | throw an exception instead (except for input elements that haven't yet been injected into the DOM). (Bug #1536)
* Removed all deprecated functionality for jQuery 1.2. A full list of what was ↵John Resig2007-09-042-44/+27
| | | | removed can be found here: http://jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/
* Removed all inline documentation. The current version of all documentation ↵John Resig2007-09-041-1544/+0
| | | | is stored online, on the wiki: http://docs.jquery.com/
* Added support for .wrapInner() and .wrapAll() - and re-wrote .wrap() to use ↵John Resig2007-08-312-25/+60
| | | | .wrapAll(). (Fixes bug #1296)
* Added support for .contents(). Returns ALL child nodes for an element - ↵John Resig2007-08-312-1/+9
| | | | except for on an IFrame, then it returns the IFrame's document. This fixes #1024.
* Added $(...).map() functionality. (Also closes #1250, imo)John Resig2007-08-312-0/+26
|
* Added new replaceWith() (replace all matched elements with the specified ↵John Resig2007-08-252-1/+54
| | | | HTML/DOM Elements/Array/etc.) and replaceAll() (replace the specified elements with the set of matched elements).
* Marked all the appropriate methods as being deprecated for the 1.1.4 release ↵John Resig2007-08-241-0/+1
| | | | (in preparation for 1.2).
* Fixed bug with the packed version of jQuery.John Resig2007-08-221-1/+1
|
* Fixed use of eval() and new Function() to work within the correct scope (and ↵John Resig2007-08-221-2/+2
| | | | not throw errors).
* Made 'jQuery' unrollable via .noConflict(true) and instances of new ↵John Resig2007-08-221-6/+12
| | | | Function() have been converted to eval(function(){}) in order to handle jQuery name changes. (Bug #1393)
* Using some of the ideas presented by rformato, I've significantly sped up ↵John Resig2007-08-211-11/+30
| | | | $("#id") selection. It's now just 10% slower than doing: $(document.getElementById("test")), which seems quite acceptable. (Bug #1316)
* You can now assign jQuery to random namespaces - very cool. (Bug #1393)John Resig2007-08-211-1/+1
|
* Fix for a selector speed regression (calling a simple selector many times ↵John Resig2007-08-211-28/+26
| | | | | | | | | | 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
* Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the ↵John Resig2007-08-211-1/+1
| | | | boolean arg should be used, not overwritten with 'true'.
* Make deep .extend() an optional argument - it will go deep if you pass in an ↵John Resig2007-08-212-3/+9
| | | | boolean as the first argument (fixed bug #1028).
* Fixed two cases where []. was used instead of Array.prototype. (Bug #1427)John Resig2007-08-201-1/+1
|
* Just pushed in my changes for making jQuery.each on objects faster, sample ↵John Resig2007-08-201-9/+15
| | | | results: http://dev.jquery.com/~john/ticket/each/obj.html
* Just pushed some major speed improvements through for $.each() - we're now ↵John Resig2007-08-201-2/+8
| | | | seeing a 2x speed improvement over 1.1.3. Some crude results can be found here: http://dev.jquery.com/~john/ticket/each/
* Implemented the new .slice() method (bug #1517).John Resig2007-08-202-0/+12
|
* Complete overhaul of the Ajax test suite, it's now passing in all browsers. ↵John Resig2007-08-192-38/+79
| | | | | | | | | | 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).
* Added a fix for IE returning comment nodes in * queries. I put the logic in ↵John Resig2007-08-191-2/+11
| | | | $.merge() but added a conditional such that the speed hit only effects IE users. (Bug #1155)
* Applied arrix's fix for getting style values on elements that aren't in the ↵John Resig2007-08-191-1/+1
| | | | DOM, in Safari. (Bug #1482)
* Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)John Resig2007-08-192-6/+15
|
* Added a fix for bug #1489, appending <caption> was broken.John Resig2007-08-162-2/+6
|
* Added a couple JSLint-caught fixes.John Resig2007-08-071-3/+3
|
* Brought back jQuery.globalEval(), fixing bug #1425.John Resig2007-07-311-1/+16
|
* IE prunes whitespace from the start of innerHTML-injected strings. This ↵John Resig2007-07-301-1/+5
| | | | fixes that.
* Fixed failing test for Safari 2.John Resig2007-07-291-1/+1
|
* Got .css() working in Safari 2 as well (a number of shortcuts had to be ↵John Resig2007-07-291-10/+13
| | | | removed, unfortunately). This should successfully close bug #1349.
* Added a fix for Safari's broken CSS getComputedStyle accessing. ↵John Resig2007-07-291-11/+42
| | | | 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)
* Integrated the custom fx test suite into the main test suite. All tests are ↵John Resig2007-07-291-4/+4
| | | | now run automatically. Removed the old suite, as it was no longer needed.
* $("#foo", xml) would always return an empty set, fixed (bug #877). ↵John Resig2007-07-251-1/+2
| | | | Additionally, a bug in jQuery.isXMLDoc(xmlDoc) was discovered, if the element was, in fact, an XML document.
* selectedIndex is now cloned cross-browser (#1294)Brandon Aaron2007-07-211-8/+14
|
* selectedIndex is now cloned in IE (#1294)Brandon Aaron2007-07-211-15/+25
|
* addClass doesn't fail when passed an undefined or null variable (#1309)Brandon Aaron2007-07-211-1/+1
|
* Added a fix for setting the style property in IE: .attr("style", "...") (bug ↵John Resig2007-07-211-2/+4
| | | | #1170).
* Safari doesn't return the correct computed opacity. (Fix for bug #1369)John Resig2007-07-201-0/+3
|
* Completely reworked the evalScripts() code, fixing bugs #1332, #975, and #777.John Resig2007-07-201-2/+7
|
* Added a fix for when trim receives a null value (bug #1395).John Resig2007-07-201-1/+1
|
* Made it so that you can set the text value of elements to numbers (in ↵John Resig2007-07-201-1/+1
| | | | addition to strings). (Fix for bug #1386)
* IE doesn't like doing attaching the mergeNum property to XML documents, so ↵John Resig2007-07-201-5/+9
| | | | for now, we're just going to (possibly) return duplicates in IE, in XML documents. (bug #1357).
* Tweaked some of the tests, added in events and fx tests.John Resig2007-07-091-1/+1
|
* Added a number of fixes: Tag name case-sensitivity, text escaping, opacity ↵John Resig2007-07-081-4/+4
| | | | setting. Tweaked the test suite slightly.
* Added basic support for IFrames, disabled a test which we don't take into ↵John Resig2007-07-081-6/+3
| | | | account.