]>
source.dussan.org Git - jquery.git/log
John Resig [Mon, 7 Dec 2009 04:00:31 +0000 (20:00 -0800)]
Make sure that expando properties aren't set on embed, applet, or object elements. An uncatchable exception is thrown and we must avoid it. Fixes #1675 and #2349.
John Resig [Mon, 7 Dec 2009 02:20:08 +0000 (18:20 -0800)]
Broke out the logic for the bubbling change/submit events so that they aren't bound if they aren't used.
John Resig [Mon, 7 Dec 2009 02:02:58 +0000 (18:02 -0800)]
Make sure that we're doing proper focus bubble testing. Also simplified the logic for the IE focusin/focusout handling.
John Resig [Mon, 7 Dec 2009 01:52:31 +0000 (17:52 -0800)]
Use the isXML function from Sizzle.
John Resig [Mon, 7 Dec 2009 01:47:41 +0000 (17:47 -0800)]
Use the getText utility function provided by Sizzle.
John Resig [Mon, 7 Dec 2009 01:26:39 +0000 (17:26 -0800)]
Added in support for injecting area elements into map elements. Fixes #4484.
John Resig [Mon, 7 Dec 2009 01:17:14 +0000 (17:17 -0800)]
Added in support for $.ajax jsonpCallback (allowing you to specify the name of the callback method - and allowing you to avoid skipping the cache). Fixes #4206.
John Resig [Mon, 7 Dec 2009 00:55:08 +0000 (16:55 -0800)]
Adding in cross-browser onbeforeunload support. Fixes #4106.
John Resig [Sun, 6 Dec 2009 23:51:15 +0000 (15:51 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery
John Resig [Sun, 6 Dec 2009 22:19:33 +0000 (17:19 -0500)]
Split the queue code out from data.js into a dedicated queue.js file (also split tests accordingly).
John Resig [Sun, 6 Dec 2009 22:11:51 +0000 (17:11 -0500)]
Renamed isObjectLiteral to isPlainObject (makes more sense, per the suggestion of Michael Geary).
Dave Methvin [Sun, 6 Dec 2009 02:02:15 +0000 (10:02 +0800)]
Fix regexp for $.trim so it doesn't whack embedded spaces.
Dave Methvin [Sun, 6 Dec 2009 01:06:00 +0000 (09:06 +0800)]
Fix for #4011, crash when two text nodes are appended in IE.
jeresig [Sun, 6 Dec 2009 02:06:14 +0000 (21:06 -0500)]
Make sure that animated show resets the display correctly. Fixes #5130.
lrbabe [Mon, 30 Nov 2009 20:04:55 +0000 (04:04 +0800)]
Fix inverted 'orig' and 'fix' event in mouseenter/mouseleave special events.
Karl Swedberg [Sat, 5 Dec 2009 21:49:21 +0000 (05:49 +0800)]
added semicolons to end of 2 statements (and fixed a misspelled word in comment)
jeresig [Sat, 5 Dec 2009 23:06:27 +0000 (18:06 -0500)]
Adding in an extra check, per the comments in
25b0ba9f9612583033b902a0e40345463a3a71d0 .
jeresig [Sat, 5 Dec 2009 20:30:36 +0000 (15:30 -0500)]
Make sure that the previous element is removed from the page before the next is inserted, in replaceWith. Using a variation of the patch by snaury. Fixes #2697.
jeresig [Sat, 5 Dec 2009 20:12:02 +0000 (15:12 -0500)]
Made sure that css() in IE handles negative non-px values correctly. Fixes #3331.
jeresig [Sat, 5 Dec 2009 20:02:45 +0000 (15:02 -0500)]
Minor syntactical changes to :visible and :hidden.
jeresig [Sat, 5 Dec 2009 19:33:40 +0000 (14:33 -0500)]
Made sure that a null speed doesn't get passed around. Patch from daltonlp. Fixes #5557.
John Resig [Sat, 5 Dec 2009 05:10:19 +0000 (00:10 -0500)]
Make sure that width or height don't animate to a negative value. Fixes #3881.
John Resig [Sat, 5 Dec 2009 04:18:05 +0000 (23:18 -0500)]
Retooled the native triggering code, simplifying it.
John Resig [Sat, 5 Dec 2009 02:20:58 +0000 (21:20 -0500)]
Allow the user to explicitly set a content-type header even when there's no data being sent to the server. Fixes #1900.
Yehuda Katz [Sat, 5 Dec 2009 02:18:37 +0000 (18:18 -0800)]
Fixes a bug I introduced
Yehuda Katz [Tue, 1 Dec 2009 22:34:44 +0000 (14:34 -0800)]
Added a test for bug 1095 for animations (animations don't clear check boxes)
jeresig [Fri, 4 Dec 2009 17:53:09 +0000 (12:53 -0500)]
Updating the source version to 1.4a2pre.
jeresig [Fri, 4 Dec 2009 17:51:47 +0000 (12:51 -0500)]
Tagging the 1.4a1 release.
jeresig [Fri, 4 Dec 2009 17:36:24 +0000 (12:36 -0500)]
Switched to using slice instead of join to get the correct results.
Ben Alman [Fri, 4 Dec 2009 17:28:47 +0000 (12:28 -0500)]
Landing Ben Alman's patch to add nextUntil, prevUntil, and parentsUntil. Also adds some tests for prevAll and nextAll, and fixes an test edge case in parents.
jeresig [Fri, 4 Dec 2009 17:06:47 +0000 (12:06 -0500)]
Added in the .delay() method for delaying the execution of queued functions and animations.
Justin Meyer [Fri, 4 Dec 2009 16:28:50 +0000 (11:28 -0500)]
Adding in support for bubbling submit and change events, thanks to the patch by Justin Meyer. Includes a delegation test suite for manually testing to see if the events work as intended.
jeresig [Thu, 3 Dec 2009 19:20:06 +0000 (14:20 -0500)]
Minor syntax changes to the winnow function.
jeresig [Thu, 3 Dec 2009 18:59:19 +0000 (13:59 -0500)]
Use now() in support.js instead of getTime.
jeresig [Thu, 3 Dec 2009 17:34:27 +0000 (12:34 -0500)]
Tweaked a CSS test to handle differences in font-size % support in browsers.
jeresig [Thu, 3 Dec 2009 17:26:25 +0000 (12:26 -0500)]
Removed broken hidden/visible test.
jeresig [Thu, 3 Dec 2009 16:59:59 +0000 (11:59 -0500)]
Removing unnecessary parens from :hidden.
jeresig [Thu, 3 Dec 2009 16:45:38 +0000 (11:45 -0500)]
Re-arranged many of the selector tests, breaking them into smaller test groups and into more-appropriate sections.
jeresig [Thu, 3 Dec 2009 16:28:49 +0000 (11:28 -0500)]
Just restore window.JSON in the getJSON test, don't try to delete the value.
jeresig [Thu, 3 Dec 2009 16:15:26 +0000 (11:15 -0500)]
Landed the rest of the liveHandler rewrite that takes advantage of the new closest multi-selector signature (sorry, accidentally committed some of it in the wrong commit:
4daae7a79f43815935a2890d16904c5a052717f3 ).
jeresig [Thu, 3 Dec 2009 16:14:10 +0000 (11:14 -0500)]
Re-worked the closest no-duplicate-selector code again to be more efficient.
jeresig [Thu, 3 Dec 2009 16:05:12 +0000 (11:05 -0500)]
Prevent duplicate selectors from having to match in closest.
jeresig [Thu, 3 Dec 2009 15:51:04 +0000 (10:51 -0500)]
No need to do the closest match if no selectors are passed in.
jeresig [Thu, 3 Dec 2009 00:05:51 +0000 (19:05 -0500)]
Added in the new .closest(Array) method, will be used to improve the performance of live filtering.
jeresig [Wed, 2 Dec 2009 22:15:09 +0000 (17:15 -0500)]
Extracted the logic for copying events from one jQuery set to another, makes it easier to work with disconnected DOM nodes.
jeresig [Wed, 2 Dec 2009 20:20:33 +0000 (15:20 -0500)]
Fixed logic error in html method - support.leadingWhitespace shouldn't have been negated.
jeresig [Wed, 2 Dec 2009 20:14:48 +0000 (15:14 -0500)]
Removed debug statements from manipulation tests, was causing errors in IE.
jeresig [Wed, 2 Dec 2009 19:59:19 +0000 (14:59 -0500)]
Make sure that a DOM node isn't getting passed through (as is the case in IE, it has a toString of [object Object].
jeresig [Wed, 2 Dec 2009 19:57:13 +0000 (14:57 -0500)]
Added some isObjectLiteral tests.
Yehuda Katz [Tue, 1 Dec 2009 22:11:32 +0000 (14:11 -0800)]
Adding a test that a new option can be selected with val(N)
Yehuda Katz [Tue, 1 Dec 2009 19:40:28 +0000 (11:40 -0800)]
Fix css("opacity") to not clobber other filters in IE. Closes #4707.
jeresig [Mon, 30 Nov 2009 20:56:40 +0000 (15:56 -0500)]
Updated the Rakefile to use the correct init code.
jeresig [Mon, 30 Nov 2009 20:54:14 +0000 (15:54 -0500)]
Shortened the build messages in the Makefile and added test/qunit and src/sizzle to the cleanup.
jeresig [Mon, 30 Nov 2009 20:52:41 +0000 (15:52 -0500)]
Don't try to run the clone code if the directory already exists.
jeresig [Mon, 30 Nov 2009 20:45:16 +0000 (15:45 -0500)]
Switched from using Git Submodules to just doing a straight clone of the QUnit and Sizzle directories. Works much better for what we want.
jeresig [Mon, 30 Nov 2009 20:09:50 +0000 (15:09 -0500)]
Bringing Sizzle and QUnit up to date.
jeresig [Mon, 30 Nov 2009 20:08:55 +0000 (15:08 -0500)]
Don't do the update after the pull - forces the submodules up to date.
jeresig [Mon, 30 Nov 2009 19:39:34 +0000 (14:39 -0500)]
Use .add() to merge two test groups together for .unwrap().
jeresig [Mon, 30 Nov 2009 19:31:32 +0000 (14:31 -0500)]
Changed the style attribute test to handle hex colors (as that's what Opera returns, in this case.
jeresig [Mon, 30 Nov 2009 19:28:09 +0000 (14:28 -0500)]
Made .show(null/undefined) and .hide(null/undefined) work the same as .show() and .hide().
jeresig [Mon, 30 Nov 2009 19:22:24 +0000 (14:22 -0500)]
Fixed a problem with animations with a duration of 0 not working properly for hide and show.
jeresig [Mon, 30 Nov 2009 19:02:03 +0000 (14:02 -0500)]
Simplified a selector in the .live() tests.
jeresig [Mon, 30 Nov 2009 18:50:25 +0000 (13:50 -0500)]
Tweaked the live test to be a bit simpler.
jeresig [Mon, 30 Nov 2009 18:46:14 +0000 (13:46 -0500)]
Fixed wrap test that was looking for comment values from .text().
jeresig [Mon, 30 Nov 2009 18:42:26 +0000 (13:42 -0500)]
Merge branch 'master' of github.com:jquery/jquery
jeresig [Mon, 30 Nov 2009 18:42:19 +0000 (13:42 -0500)]
Fixed bug with singleTag matching in core.js.
Yehuda Katz [Mon, 30 Nov 2009 18:21:56 +0000 (10:21 -0800)]
Fixes $.trim for closes #4980
jeresig [Mon, 30 Nov 2009 18:00:06 +0000 (13:00 -0500)]
Ignore diff and patch files.
jeresig [Sun, 29 Nov 2009 21:22:08 +0000 (16:22 -0500)]
Merge branch 'master' of github.com:jquery/jquery
jeresig [Sun, 29 Nov 2009 21:21:54 +0000 (16:21 -0500)]
Adding a Rakefile to build jQuery core, for those that need it.
Karl Swedberg [Fri, 27 Nov 2009 19:31:28 +0000 (03:31 +0800)]
added missing semicolons
Karl Swedberg [Fri, 27 Nov 2009 19:29:44 +0000 (03:29 +0800)]
added missing radix parameter for parseInt()
Karl Swedberg [Fri, 27 Nov 2009 19:28:42 +0000 (03:28 +0800)]
added curly braces around all if/else statements
jeresig [Fri, 27 Nov 2009 16:23:19 +0000 (11:23 -0500)]
Force endlines to be just LF (any CRLF is auto-converted to LF by Git).
John Resig [Wed, 25 Nov 2009 18:29:34 +0000 (13:29 -0500)]
Disable the X-Requested-With header to avoid preflighting remote POST requests. Fixes #4601.
John Resig [Wed, 25 Nov 2009 18:24:24 +0000 (13:24 -0500)]
Fixed spacing on the modified Ajax code.
Mark Gibson [Wed, 25 Nov 2009 17:09:53 +0000 (12:09 -0500)]
Fixing endlines.
Robert Katic [Thu, 19 Nov 2009 12:37:48 +0000 (20:37 +0800)]
Re-adding zeros removed from slice calls in last commit.
Robert Katic [Thu, 19 Nov 2009 05:11:29 +0000 (13:11 +0800)]
Corrected RegExp to match event namespaces. Fixes #5303.
Robert Katic [Wed, 18 Nov 2009 02:26:42 +0000 (10:26 +0800)]
Generic jQuery.merge and safer jQuery.makeArray(nodeList).
* Made jQuery.marge more generic supporting null and undefined values, and supporting array like objects as results. Fixes #5527.
* Made jQuery.makeArray(nodeList) more safer using jQuery.merge internally. Fixes #5528.
* Added a second "results" argument to jQuery.makeArray for internal usage to avoid intermediary arrays in init.
John Resig [Tue, 17 Nov 2009 19:52:08 +0000 (14:52 -0500)]
Added support for .text() on text nodes. Fixes #5525.
John Resig [Tue, 17 Nov 2009 19:36:10 +0000 (14:36 -0500)]
Re-wrote context Ajax test to use an element instead of an object (a more realistic test and works with the new jQuery.extend logic for cloning object literals).
John Resig [Tue, 17 Nov 2009 19:25:14 +0000 (14:25 -0500)]
Re-adding the QUnit submodule file.
Andrea Giammarchi [Tue, 17 Nov 2009 15:45:01 +0000 (10:45 -0500)]
Changed the === undefined ready event check to == null since frameElement is usually null and was skipping the normal line of checks.
John Resig [Sun, 15 Nov 2009 05:27:06 +0000 (00:27 -0500)]
Hide the .settings file in the gitignore.
Kim Dalsgaard [Fri, 13 Nov 2009 21:26:00 +0000 (05:26 +0800)]
Ignoring src/selector.js (build) and Emacs backup files
Scott Gonzalez [Thu, 12 Nov 2009 23:08:33 +0000 (07:08 +0800)]
Added test for passing null to .show()
Scott Gonzalez [Thu, 12 Nov 2009 22:39:33 +0000 (06:39 +0800)]
Allowing falsy values to be passed as a speed for hide().
Scott Gonzalez [Thu, 12 Nov 2009 22:27:10 +0000 (06:27 +0800)]
Allowing falsy values to be passed as a speed for show().
Robert Katic [Thu, 12 Nov 2009 15:24:19 +0000 (23:24 +0800)]
Corrected some minor errors made by me (rkatic) in last commits.
Robert Katic [Thu, 12 Nov 2009 06:03:59 +0000 (14:03 +0800)]
Forgotten to update the number of jQuery.extend related tests.
Robert Katic [Thu, 12 Nov 2009 05:48:45 +0000 (13:48 +0800)]
Made jQuery.extend(true, ...) to extend recursively only 'object literal' values.
Robert Katic [Thu, 12 Nov 2009 04:50:40 +0000 (12:50 +0800)]
Made isObjectLiteral to work correctly with custom objects with empty prototypes.
John Resig [Wed, 11 Nov 2009 23:08:07 +0000 (18:08 -0500)]
Make sure that the submodules are pulling from the right location.
lrbabe [Wed, 11 Nov 2009 20:15:58 +0000 (15:15 -0500)]
Use array.indexOf if available (speeds up modern browsers). Thanks to lrbabe and Andrea for the patch. Fixes #5160.
John Resig [Wed, 11 Nov 2009 20:11:58 +0000 (15:11 -0500)]
Added useMap and frameBorder IE support to attr. Fixes #4561.
John Resig [Wed, 11 Nov 2009 19:55:32 +0000 (14:55 -0500)]
Added a check to make sure that a load request isn't done if the element doesn't exist. Fixes #4235.
John Resig [Wed, 11 Nov 2009 19:29:01 +0000 (14:29 -0500)]
Pass in the XHR object as the third argument to the success callback (which helps $.get, $.post, and load). Fixes #3363.
John Resig [Wed, 11 Nov 2009 19:23:56 +0000 (14:23 -0500)]
Fixed the case where HTML that contained entities was being inserted as text strings instead of HTML. Thanks to dmethvin for the test case! Fixes #5483.
John Resig [Wed, 11 Nov 2009 19:17:16 +0000 (14:17 -0500)]
Landing tweak from 'haruka' that fixes non-pixel fontSize values in IE. Fixes #760.