]>
source.dussan.org Git - jquery.git/log
jeresig [Sat, 19 Dec 2009 00:36:35 +0000 (19:36 -0500)]
Added additional checks for DOM nodes and window to isPlainObject, IE 8 was still letting those pass through. Fixes #5669.
jeresig [Sat, 19 Dec 2009 00:24:19 +0000 (19:24 -0500)]
Temporarily disabling test for bug #4299.
jeresig [Fri, 18 Dec 2009 17:43:35 +0000 (12:43 -0500)]
Fixed the spacing from the last commit.
jeresig [Fri, 18 Dec 2009 17:41:53 +0000 (12:41 -0500)]
Disabled the passthrough .attr(method_name) functionality. You can now use it if you do: .attr({method_name: value}, true) OR as an easy initialization method: jQuery('<div/>', {html: '...', id: 'test'}).
Robert Katic [Fri, 18 Dec 2009 16:34:20 +0000 (00:34 +0800)]
Made isPlainObject() supporting null, undefined, and window values on IE too. Also added some related tests. Fixes #5669.
jeresig [Fri, 18 Dec 2009 16:30:04 +0000 (11:30 -0500)]
Backing out the change from
841f9ff7a1815b521044aeeb39ccbe70fa688201 , it was ineffectual in Internet Explorer. Keeping the broken test case, for now, so that we can check into the issue some more.
jeresig [Fri, 18 Dec 2009 16:27:56 +0000 (11:27 -0500)]
Brought the attributes module more inline with the jQuery style guidelines.
jeresig [Fri, 18 Dec 2009 16:16:26 +0000 (11:16 -0500)]
Bringing the effects module closer to being inline with the style guideline.
jeresig [Fri, 18 Dec 2009 16:01:19 +0000 (11:01 -0500)]
Renamed the 'fx' module to 'effects'. Should've been done a long time ago.
jeresig [Fri, 18 Dec 2009 15:54:34 +0000 (10:54 -0500)]
Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip.
Dave Methvin [Thu, 17 Dec 2009 02:13:50 +0000 (10:13 +0800)]
Ignore case of script tags to make sure they're removed. Fixes #5668. Thanks to Motty/Fudgey for the report and Jitter for the patch!
Dave Methvin [Thu, 17 Dec 2009 02:02:58 +0000 (10:02 +0800)]
Add new html5 input types to list of serializable types. Older browers handle these as type="text" so they should be consistently serialized on both old and new browsers. Fixes #5667.
jeresig [Thu, 17 Dec 2009 20:04:07 +0000 (15:04 -0500)]
Removed 'abbr' from self-closing tags list. Fixes #5167.
Dave Methvin [Tue, 15 Dec 2009 02:45:22 +0000 (10:45 +0800)]
Default callbackContext to the $.extended ajax options for 1.3.2 compatibility, per #5654.
Ben Alman [Wed, 16 Dec 2009 12:41:56 +0000 (20:41 +0800)]
Reorganized param code slightly to once again define buildParams as a named function expression, as moving it outside the param closure would necessitate moving and rewriting the add function as well.
Ben Alman [Wed, 16 Dec 2009 03:54:12 +0000 (11:54 +0800)]
Further modified jQuery 1.4 .param() method to serialize arrays containing non-scalar values. PHP and jQuery BBQ can both deserialize these structures, while rack (as of 1.0.0) cannot.
Karl Swedberg [Mon, 14 Dec 2009 15:56:01 +0000 (23:56 +0800)]
added a couple missing semicolons and fixed a typo in the comments
jeresig [Thu, 17 Dec 2009 19:18:15 +0000 (14:18 -0500)]
Follow-up to
100ed686426b8b404b094b8c8086aefce715f91a , forgot to remove one of the tests.
jeresig [Thu, 17 Dec 2009 19:17:05 +0000 (14:17 -0500)]
Revert the changes from
65ebf57c1e5d7fa96536b66d4fcacbafad8dc1e5 , they were ineffectual against IE's insanity: http://ejohn.org/files/bugs/fragment/ Used a different tactic instead (just don't return a fragment from .parent()). Fixes #5638.
jeresig [Thu, 17 Dec 2009 18:34:38 +0000 (13:34 -0500)]
Reworked some more of the selector tests as well to clean up after themselves.
jeresig [Thu, 17 Dec 2009 18:23:39 +0000 (13:23 -0500)]
Added some more tests around the name tests to catch possible regressions.
jeresig [Thu, 17 Dec 2009 18:15:12 +0000 (13:15 -0500)]
Make sure that the node exists before attempting to clone.
jeresig [Thu, 17 Dec 2009 17:23:04 +0000 (12:23 -0500)]
Stick with just getter/setters in attrFn.
jeresig [Thu, 17 Dec 2009 04:09:55 +0000 (23:09 -0500)]
Moved readyList check.
jeresig [Wed, 16 Dec 2009 22:08:10 +0000 (17:08 -0500)]
Make sure that some height/width is set for the nothiddendiv before checking.
jeresig [Wed, 16 Dec 2009 21:54:21 +0000 (16:54 -0500)]
jeresig [Wed, 16 Dec 2009 21:45:00 +0000 (16:45 -0500)]
Retooled the arguments.callee-related changes in
98ce35d52b17a033822f31d8a36232222d0d365e to avoid re-declarations where possible.
jeresig [Wed, 16 Dec 2009 20:42:03 +0000 (15:42 -0500)]
No need to use jQuery's event system for binding the onunload event in IE.
Batiste Bieler [Mon, 14 Dec 2009 21:24:28 +0000 (16:24 -0500)]
Enforce that hasClass and removeClass work even with tabs and endlines in class attributes. Fixes #5505.
jeresig [Mon, 14 Dec 2009 06:15:02 +0000 (01:15 -0500)]
Disable getting values using the .attr() function shortcut until the full implications of which can be explored.
John Resig [Fri, 11 Dec 2009 20:53:17 +0000 (12:53 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery
John Resig [Fri, 11 Dec 2009 20:49:22 +0000 (12:49 -0800)]
John Resig [Fri, 11 Dec 2009 20:47:55 +0000 (12:47 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery
John Resig [Fri, 11 Dec 2009 20:47:41 +0000 (12:47 -0800)]
John Resig [Fri, 11 Dec 2009 19:46:38 +0000 (11:46 -0800)]
John Resig [Fri, 11 Dec 2009 01:01:04 +0000 (17:01 -0800)]
Make sure that dynamically-created elements don't have a parent. Fixes #5638.
Karl Swedberg [Thu, 10 Dec 2009 22:44:30 +0000 (14:44 -0800)]
combined jQuery.bind() and jQuery.one() to make them more DRY
John Resig [Thu, 10 Dec 2009 22:40:11 +0000 (14:40 -0800)]
Removed .attr(removeClass) and .attr(each) tests as they don't really make sense.
John Resig [Thu, 10 Dec 2009 22:03:24 +0000 (14:03 -0800)]
Missed the case of bind in the new attr multi-setter.
John Resig [Thu, 10 Dec 2009 17:25:25 +0000 (09:25 -0800)]
Moved some methods around inbetween core.js and traversing.js. Core methods shouldn't rely upon other modules (e.g. the selector engine) wherever possible.
John Resig [Thu, 10 Dec 2009 17:07:19 +0000 (09:07 -0800)]
Made some minor formatting changes to the access function.
John Resig [Thu, 10 Dec 2009 07:56:47 +0000 (23:56 -0800)]
Made the licensing verbiage a little more explicit. Thanks to Dan Montgomery for the suggestion.
John Resig [Thu, 10 Dec 2009 07:49:13 +0000 (23:49 -0800)]
Adding .DS_Store to Git ignore.
John Resig [Thu, 10 Dec 2009 07:45:56 +0000 (23:45 -0800)]
Ignore html files living in the main directory (likely being used for testing).
John Resig [Thu, 10 Dec 2009 06:03:14 +0000 (22:03 -0800)]
Make sure that the correct args are passed in to the filter callback (and by extension, the not callback). Fixes #5594.
John Resig [Thu, 10 Dec 2009 05:58:29 +0000 (21:58 -0800)]
Make sure that calling .width(num) or .height(num) on an empty set returns the empty set. Fixes #5600.
John Resig [Thu, 10 Dec 2009 05:43:20 +0000 (21:43 -0800)]
Rewrote .merge() (faster and less obtuse now). Fixed #5610.
John Resig [Thu, 10 Dec 2009 05:28:33 +0000 (21:28 -0800)]
Restrict the attr quick setters to only methods that specifically ask for the functionality. Fixes #5612.
Yehuda Katz [Thu, 10 Dec 2009 05:15:49 +0000 (21:15 -0800)]
Fix up whitespace and a couple of glitches.
John Resig [Thu, 10 Dec 2009 04:59:12 +0000 (20:59 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery
John Resig [Thu, 10 Dec 2009 04:58:49 +0000 (20:58 -0800)]
Make sure that the defaultView exists before attempting to get at the computedStyle (makes it easier to hide items that don't have a view). Fixes #5619.
Yehuda Katz [Thu, 10 Dec 2009 04:57:19 +0000 (20:57 -0800)]
Add function values to addClass, removeClass, toggleClass, text, and removeAttr
John Resig [Thu, 10 Dec 2009 04:51:58 +0000 (20:51 -0800)]
Made sure that css('width') and height returned string values, not numerical values. Fixes #5627.
John Resig [Thu, 10 Dec 2009 04:37:14 +0000 (20:37 -0800)]
Work around a weird computed number issue in WebKit. Fixes #5145.
John Resig [Thu, 10 Dec 2009 04:36:07 +0000 (20:36 -0800)]
Switched jQuery() to represent jQuery([]) instead of jQuery(document).
John Resig [Thu, 10 Dec 2009 00:00:59 +0000 (16:00 -0800)]
Add a try/catch to handle the exception thrown by unloaded iframes in IE. Fixes #4280.
John Resig [Wed, 9 Dec 2009 23:07:16 +0000 (15:07 -0800)]
Clarified the use of jQuery.browser and enforced jQuery.browser.firefox matching Firefox, after the discussion in
17791c9a3e8a88e129a6956e7053b964d7b34778 .
John Resig [Wed, 9 Dec 2009 22:49:31 +0000 (14:49 -0800)]
Make sure that we don't try to trigger non-existant native events on applets, embed, objects, etc. as it'll cause an exception with Java applets. Fixes #2414.
John Resig [Wed, 9 Dec 2009 22:43:53 +0000 (14:43 -0800)]
Fixed problems with removing live events. Fixes #4894.
John Resig [Wed, 9 Dec 2009 21:53:07 +0000 (13:53 -0800)]
We have to access the native event handlers/triggers directly, otherwise they won't execute in most modern browsers. Fixes #5124.
John Resig [Wed, 9 Dec 2009 21:45:06 +0000 (13:45 -0800)]
Make sure that document ready events, inside a document ready, are added to the queue rather than executing immediately. Fixes #5261.
John Resig [Wed, 9 Dec 2009 21:28:58 +0000 (13:28 -0800)]
Made .clone(true) also copy over element data. Fixes #4191.
John Resig [Wed, 9 Dec 2009 21:16:18 +0000 (13:16 -0800)]
Added support for .data(Object), overwriting the existing data object. Fixes #4284.
Yehuda Katz [Wed, 9 Dec 2009 20:43:13 +0000 (12:43 -0800)]
Landing in jQuery.contains, jQuery.fn.contains, and jQuery.fn.has support. Fixes #4101.
John Resig [Wed, 9 Dec 2009 16:09:41 +0000 (08:09 -0800)]
Make sure that an actual timeout is triggered (and not accidentally triggered from a setInterval). Fixes #5609.
John Resig [Wed, 9 Dec 2009 06:52:32 +0000 (22:52 -0800)]
Added in jQuery.browser.firefox, deprecated jQuery.browser.mozilla.
David Petersen [Mon, 7 Dec 2009 23:43:36 +0000 (07:43 +0800)]
Handle changing form attributes correctly when there is a child element with the same name. Fixes #4299
Dave Methvin [Wed, 9 Dec 2009 03:46:07 +0000 (11:46 +0800)]
Get browser version rather than rendering engine version.
Don't recognize Chrome as Safari.
See results of different userAgent strings here:
http://spreadsheets.google.com/ccc?key=0Aj5JJFjq9rZDdHdxXzRLVnY0SzFpRTBOUDc4VmhzRVE
jzaefferer [Tue, 8 Dec 2009 21:22:49 +0000 (22:22 +0100)]
Further cleanups on ant build
unknown [Tue, 8 Dec 2009 21:09:49 +0000 (22:09 +0100)]
Merge branch 'master' of github.com:jquery/jquery
unknown [Tue, 8 Dec 2009 21:03:22 +0000 (22:03 +0100)]
Fixed ant build by cloning or pulling qunit and sizzle submodules, similar to the make build
unknown [Tue, 8 Dec 2009 20:27:27 +0000 (21:27 +0100)]
Further cleanup on ant build: Revision is gone
unknown [Tue, 8 Dec 2009 20:22:15 +0000 (21:22 +0100)]
Further cleanup on ant build
unknown [Tue, 8 Dec 2009 20:17:26 +0000 (21:17 +0100)]
Further cleanup on ant build
unknown [Tue, 8 Dec 2009 19:59:05 +0000 (20:59 +0100)]
Cleaning up build.xml in prepartion to get it running again
John Resig [Tue, 8 Dec 2009 19:21:24 +0000 (11:21 -0800)]
Make sure that events are cloned for wrap, fixes #2977.
John Resig [Tue, 8 Dec 2009 02:07:15 +0000 (18:07 -0800)]
Fixed extra p in Rakefile.
John Resig [Tue, 8 Dec 2009 00:42:25 +0000 (16:42 -0800)]
Removed uses of arguments.callee from jQuery.
John Resig [Tue, 8 Dec 2009 00:34:55 +0000 (16:34 -0800)]
Moved .ready() to core.js from event.js.
John Resig [Mon, 7 Dec 2009 23:33:14 +0000 (15:33 -0800)]
Check Sizzle or jQuery.
John Resig [Mon, 7 Dec 2009 23:31:25 +0000 (15:31 -0800)]
Only run the visibility selectors if the filter exists.
John Resig [Mon, 7 Dec 2009 23:08:06 +0000 (15:08 -0800)]
Fixed other nodeNode mistake, sigh.
John Resig [Mon, 7 Dec 2009 15:48:15 +0000 (07:48 -0800)]
This is why you don't do commits when you're tired. Fixing bugs from
59802928566b6be3a66d65e77c2418fff37e6f5f .
John Resig [Mon, 7 Dec 2009 15:45:20 +0000 (07:45 -0800)]
support.js needs to come before event.js (also placed in a temporary setTimeout to delay the introduction of the ready in support - will remove when ready is moved to core.js, likely later today).
John Resig [Mon, 7 Dec 2009 15:38:16 +0000 (07:38 -0800)]
James Padolsey [Sun, 6 Dec 2009 16:37:34 +0000 (00:37 +0800)]
Added support for per-property easing
John Resig [Mon, 7 Dec 2009 04:20:49 +0000 (20:20 -0800)]
Added an extra function check to prevent crashes in Safari 2. Fixes #3039.
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.