]>
source.dussan.org Git - jquery.git/log
jeresig [Sun, 10 Apr 2011 20:28:15 +0000 (16:28 -0400)]
Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into rwldrn-eventprops.1.6final
Conflicts:
test/unit/event.js
jeresig [Sun, 10 Apr 2011 19:49:17 +0000 (15:49 -0400)]
Merge branch 'attrhooks.1.6'
Conflicts:
src/core.js
src/support.js
jeresig [Sun, 10 Apr 2011 19:41:51 +0000 (15:41 -0400)]
Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery into timmywil-attrhooks.1.6v2
Conflicts:
src/attributes.js
jeresig [Sun, 10 Apr 2011 19:38:54 +0000 (15:38 -0400)]
Pulling in latest Sizzle.
Dave Methvin [Sun, 10 Apr 2011 19:26:30 +0000 (15:26 -0400)]
Merge branch 'git_for_dummies' of https://github.com/azatoth/jquery into land-git-readme
Alexis Abril [Sun, 10 Apr 2011 19:17:00 +0000 (15:17 -0400)]
Fixes #7328. When getting data- attributes, after-cap any embedded dashes per the W3C HTML5 spec.
Rick Waldron [Sun, 10 Apr 2011 18:31:31 +0000 (14:31 -0400)]
Fixes #8814. Clean up inArray.
timmywil [Sat, 9 Apr 2011 21:25:06 +0000 (17:25 -0400)]
#8150 - When removing the width and height attributes in IE6/7, setting to "" actually sets to 0 instead of auto
- Having fixed this automatically with the use of removeAttribute in browsers that support it, this will fix it for IE6/7 as well.
- This has no effect on width/height styles set elsewhere( test added to removeAttr )
- With this addition, I need to call attr in removeAttr for IE6/7, which means boolean calls like .attr("checked", "") will no longer remove the attribute, which I think is fine. .attr("checked", false) will still remove. If I had left it, it would have gone in an infinite loop since setting to empty string is the only way to remove it in these browsers.
- The hrefNormalized hooks were returning null if they weren't present. Added the null check to the getter.
- Now that the style support fails in IE8 as well due to uppercasing everything, no need to have style included with the hrefNormalized hooks
timmywil [Sat, 9 Apr 2011 19:56:35 +0000 (15:56 -0400)]
IE8 testing for lowercasing the css properties on retrieving style; had assumed the style support check failed in IE8, which it now does
Carl Fürstenberg [Fri, 8 Apr 2011 18:56:56 +0000 (20:56 +0200)]
Git for dummies
Per request, here is an simple git for dummies quick sheet, with some
useful commands.
jaubourg [Fri, 8 Apr 2011 16:24:25 +0000 (18:24 +0200)]
Adds a default falsy value for focusinBubbles + minor style consistency regarding test expression in support map initialization.
jaubourg [Fri, 8 Apr 2011 15:41:14 +0000 (17:41 +0200)]
Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
jaubourg [Fri, 8 Apr 2011 15:35:08 +0000 (17:35 +0200)]
Renames chain as pipe.
Dave Methvin [Fri, 8 Apr 2011 02:52:15 +0000 (22:52 -0400)]
Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
Dave Methvin [Thu, 7 Apr 2011 15:30:26 +0000 (11:30 -0400)]
Merge branch 'master' of github.com:jquery/jquery
Dave Methvin [Thu, 3 Feb 2011 02:57:44 +0000 (21:57 -0500)]
Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .
jaubourg [Thu, 7 Apr 2011 04:56:19 +0000 (06:56 +0200)]
Merge branch 'master' of github.com:jquery/jquery
Conflicts:
src/support.js
jaubourg [Thu, 7 Apr 2011 04:51:37 +0000 (06:51 +0200)]
Rewrite of the support module. We use a temporary body element in order not to have to wait for the document to be ready for boxModel-related support tests.
jaubourg [Thu, 7 Apr 2011 04:47:15 +0000 (06:47 +0200)]
Rewrite of globalEval. Uses window.execScript or window.eval with a trick to ensure proper context. Unit tests added.
jaubourg [Thu, 7 Apr 2011 04:00:52 +0000 (06:00 +0200)]
Adds fn.promise as a mean to observe the completion of animations on a set of elements. Only queued animations are handled for now, non-queued animations support coming soon. Effects unit tests updated to test the feature (needs more testing though).
jaubourg [Thu, 7 Apr 2011 03:49:32 +0000 (05:49 +0200)]
Adds always and chain methods to deferreds.
jaubourg [Thu, 7 Apr 2011 03:07:20 +0000 (05:07 +0200)]
Makes sure each animation tick has the same timestamp for all animations in the batch.
Dave Methvin [Mon, 4 Apr 2011 14:27:31 +0000 (10:27 -0400)]
Fix #8732. Change feature detect for focusin event support, so IE9 won't have duplicate events.
Dave Methvin [Thu, 7 Apr 2011 02:11:58 +0000 (22:11 -0400)]
Fixes #8712. Bubble custom events to the window when they are triggered. Ride that, Cowboy!
Dave Methvin [Wed, 6 Apr 2011 15:34:41 +0000 (11:34 -0400)]
Fix some spacing and comment issues that crept in with the rebase.
Dave Methvin [Wed, 6 Apr 2011 14:31:14 +0000 (10:31 -0400)]
Sadly, we still have to bubble the event so inline handlers will work.
Dave Methvin [Wed, 16 Mar 2011 03:40:25 +0000 (23:40 -0400)]
Only bubble a triggered event if we have attached a jQuery handler, but check the current element for an inline handler regardless. Make some other size optimizations as well.
Dave Methvin [Fri, 11 Feb 2011 04:43:45 +0000 (23:43 -0500)]
Switch from recursion to iteration for event triggering. Move event-name namespace processing out of event handler, since it has to always go through trigger.
carpie [Wed, 19 Jan 2011 23:37:31 +0000 (17:37 -0600)]
Skip id regex check when large html strings are passed to the jQuery constructor (#7990).
Dave Methvin [Wed, 6 Apr 2011 02:40:59 +0000 (22:40 -0400)]
Merge branch 'cssrelative.1.6' of https://github.com/danheberden/jquery into danheberden-cssrelative.1.6
Dave Methvin [Wed, 6 Apr 2011 02:24:40 +0000 (22:24 -0400)]
Merge branch 'domready' of https://github.com/cowboy/jquery
Dave Methvin [Wed, 6 Apr 2011 02:04:05 +0000 (22:04 -0400)]
Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321
Dave Methvin [Wed, 6 Apr 2011 01:59:09 +0000 (21:59 -0400)]
Shorten up the code and do event cleanup on test cases.
Dave Methvin [Wed, 6 Apr 2011 01:42:58 +0000 (21:42 -0400)]
Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into rwldrn-ticket_7883
rwldrn [Tue, 5 Apr 2011 20:32:42 +0000 (16:32 -0400)]
Remove this.type assignment
rwldrn [Tue, 5 Apr 2011 20:20:55 +0000 (16:20 -0400)]
Move this.type setting to after prop set; avoid setting twice
rwldrn [Tue, 5 Apr 2011 19:55:40 +0000 (15:55 -0400)]
Ticket #8753 Allow special properties to explicitly defined on jQuery.Event objects
Dan Heberden [Tue, 5 Apr 2011 14:20:58 +0000 (07:20 -0700)]
Remove extra else in parseJSON
Dan Heberden [Tue, 5 Apr 2011 08:43:14 +0000 (01:43 -0700)]
Bug 7587; Enhancement/1.6 Feature: Bypass regexp filter on $.parseJSON and use native thrown exceptions if window.JSON.parse is available
Dan Heberden [Mon, 4 Apr 2011 23:48:24 +0000 (16:48 -0700)]
Improve relative string performance in .css and some code cleanup
Dan Heberden [Mon, 4 Apr 2011 18:21:15 +0000 (11:21 -0700)]
Bug 7345; Add support for explicit/relative string values in .css - modified from original pull req by brandonaron #78
jaubourg [Mon, 4 Apr 2011 15:41:30 +0000 (17:41 +0200)]
Fixes #8744. Makes sure script transport abort method actually removes the script tag even if readyState exists.
timmywil [Sun, 3 Apr 2011 22:47:44 +0000 (18:47 -0400)]
Normalize css property names to lowercase for comparisons on a .attr('style') call since IE uppercases everything
timmywil [Sun, 3 Apr 2011 22:18:32 +0000 (18:18 -0400)]
Found a problem removing the style attribute in IE
- Style is now a special case in IE6/7 to set cssText. My goal is to avoid calling attr again for the performance benefit, and at this point it would also cause an infinite loop for the boolean attributes hooks such as selected & checked. Nevertheless, style seems to be the only one requiring a special call.
timmywil [Sun, 3 Apr 2011 20:49:48 +0000 (16:49 -0400)]
Move the if statement in jQuery.fn.removeAttr to jQuery.removeAttr
- Extra testing on removeAttr and IE form weirdness( all good )
timmywil [Sat, 2 Apr 2011 18:23:33 +0000 (14:23 -0400)]
Minor adjustments and cleanup, including normalizing the value to a string when setting( list of changes below )
- Normalize set value to string to synchronize return type cross-browser
- Add style attrHook to propHooks to support style getting in all browsers for both attr and prop
- Extend the selected propHook instead of overriding a possible set function
- Remove selected propHook TODO since there is no selected content attribute and it should return null
timmywil [Sat, 2 Apr 2011 01:38:54 +0000 (21:38 -0400)]
#5413 - Much shorter solution for getting width/height in ie6
- #8255 Added support for the list attribute in browsers that support it (it is automatically readonly, but can be set if using getAttribute( name, 2)
timmywil [Sat, 2 Apr 2011 01:13:01 +0000 (21:13 -0400)]
- Added a hook to swap display none for width and height in browsers that do not sufficiently support get/setAttribute
timmywil [Wed, 30 Mar 2011 21:13:15 +0000 (17:13 -0400)]
Move the check for the name attribute out of attr and down to the formHook definition
timmywil [Wed, 30 Mar 2011 01:49:37 +0000 (21:49 -0400)]
Add style attribute support tests to $.attr
timmywil [Tue, 29 Mar 2011 04:23:39 +0000 (00:23 -0400)]
Shorten the logic for hooks, ternary was unnecessary
timmywil [Sat, 26 Mar 2011 04:18:02 +0000 (00:18 -0400)]
Add name to prop hooks as well
timmywil [Sat, 26 Mar 2011 04:15:25 +0000 (00:15 -0400)]
Add attribute name to paramaters for hooks
timmywil [Sat, 26 Mar 2011 03:36:07 +0000 (23:36 -0400)]
Style formatting
timmywil [Sat, 26 Mar 2011 03:10:59 +0000 (23:10 -0400)]
No longer need to check for objects or string of null with the special form treatment and updates to removeAttr
timmywil [Sat, 26 Mar 2011 03:03:02 +0000 (23:03 -0400)]
Clean up
timmywil [Sat, 26 Mar 2011 02:57:01 +0000 (22:57 -0400)]
Shorten even further
timmywil [Sat, 26 Mar 2011 02:55:11 +0000 (22:55 -0400)]
Modularize special form code for IE6/7 and clean up attr again
timmywil [Sat, 26 Mar 2011 01:13:25 +0000 (21:13 -0400)]
Fix issue where non-existant attributes on forms in IE6/7 were throwing errors
timmywil [Fri, 25 Mar 2011 14:40:46 +0000 (10:40 -0400)]
Add test for bug #3116
timmywil [Fri, 25 Mar 2011 06:07:15 +0000 (02:07 -0400)]
Add test for bug#3685, remove added html and add dynamicly to avoid global test suite errors
timmywil [Fri, 25 Mar 2011 05:46:29 +0000 (01:46 -0400)]
Fix #6562, tighten up the special code for form objects, add name attrHook for IE6/7, and don't check for undefined with getting hook'd attr
timmywil [Fri, 25 Mar 2011 04:35:50 +0000 (00:35 -0400)]
Fix #7472 and added test for #3113
- Forms with an input that has either name="action" or name="some-other-attr-on-the-form" caused problems in IE6/7. This is fixed.
- Changed check in $.attr for ret === null to typeof ret === "object" to catch any inputs that are accidentally retrieved in IE6/7, since attributes cannot be set to objects and typeof null === "object"
timmywil [Thu, 24 Mar 2011 04:42:00 +0000 (00:42 -0400)]
Non-existent attribute for jQuery.attr no longer needs to check for "undefined"
- Remove an unnecessary var
- Use variable in removeAttr for better minification
timmywil [Fri, 18 Mar 2011 02:59:05 +0000 (22:59 -0400)]
Performance enhancement switching nodeType to a var
timmywil [Wed, 16 Mar 2011 23:00:20 +0000 (19:00 -0400)]
Pass jslint, 2 missing semicolons
timmywil [Wed, 16 Mar 2011 02:47:20 +0000 (22:47 -0400)]
Test description
timmywil [Mon, 14 Mar 2011 02:24:45 +0000 (22:24 -0400)]
Restored 6 tests that I had commented to come back to later to split up between prop and attr. All tests still pass in all browsers.
- I should make it clear that I have not removed any tests, but only moved some attr tests to prop where I thought it was appropriate.
timmywil [Mon, 14 Mar 2011 01:27:45 +0000 (21:27 -0400)]
Style edits according to comments from John and rwaldron.
timmywil [Sun, 13 Mar 2011 20:29:33 +0000 (16:29 -0400)]
Don't use extend when setting the action attrHook for IE6/7
timmywil [Sun, 13 Mar 2011 20:23:21 +0000 (16:23 -0400)]
No, don't return this.
timmywil [Sun, 13 Mar 2011 20:17:13 +0000 (16:17 -0400)]
Simplify jQuery.removeAttr and return this
timmywil [Sun, 13 Mar 2011 19:44:51 +0000 (15:44 -0400)]
Full test suite now passes in all browsers! There are probably some tweaks we can make to shorten and simplify.
- removeAttr now only uses setAttribute if camelCase setAttribute is not supported
+ Might want to rename jQuery.support.getSetAttribute
- tabIndex is a special case now for hooks where undefined should be returned.
+ Should we be checking if hooks returns undefined? undefined might be the desired return value in future hooks.
As of now, tabIndex is the only one that needs it, but the test suite will still pass if we don't check if hooks are undefined.
timmywil [Sat, 12 Mar 2011 02:28:42 +0000 (21:28 -0500)]
Continuing IE7 testing, conditional attr fixes and hooks with feature testing. Will figure out a way to shorten after the test suite passes.
timmywil [Fri, 11 Mar 2011 20:59:34 +0000 (15:59 -0500)]
Fix feature test, accidentally got rid of closure end
timmywil [Fri, 11 Mar 2011 19:57:37 +0000 (14:57 -0500)]
Didn't actually need the hooks anymore
timmywil [Fri, 11 Mar 2011 19:51:57 +0000 (14:51 -0500)]
First proposed solution for IE6/7 get/setAttribute quirks. Needs more testing, but solves some issues
timmywil [Thu, 10 Mar 2011 23:34:15 +0000 (18:34 -0500)]
Speed up hasAttr a little
timmywil [Thu, 10 Mar 2011 01:20:53 +0000 (20:20 -0500)]
Now passes in IE8, changed around $.hasAttr and switched the attrHook for selected to be a propHook
timmywil [Tue, 8 Mar 2011 17:07:05 +0000 (12:07 -0500)]
Make the new attr/prop changes pass the test suite (in Webkit). There are still errors in IE.
+ Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey
+ Removed all attrs from attrFix, these aren't needed for setAttribute
+ If prop is used for class, do we want a propFix for class?
- We could just assume the user should know to use className with prop. I've done the latter for now.
+ Created tests for $.fn.prop and $.fn.removeProp
- Actually all I did was change broken attr tests to prop where it made sense.
jeresig [Mon, 7 Mar 2011 03:47:40 +0000 (22:47 -0500)]
Very crude first pass at splitting apart the attr/prop logic. Also adding in attrHooks/propHooks. All of it is completely untested.
John Resig [Thu, 31 Mar 2011 19:28:33 +0000 (15:28 -0400)]
Updating the source version to 1.6pre.
John Resig [Thu, 31 Mar 2011 19:28:23 +0000 (15:28 -0400)]
Tagging the 1.5.2 release.
Ben Alman [Thu, 31 Mar 2011 17:36:16 +0000 (13:36 -0400)]
Updated DOM ready unit tests.
Ben Alman [Thu, 31 Mar 2011 15:37:48 +0000 (11:37 -0400)]
DOM Ready unit tests (but not the supporting fixed code).
Dave Methvin [Thu, 31 Mar 2011 14:25:59 +0000 (10:25 -0400)]
Merge branch 'bug_8316' of https://github.com/timmywil/jquery into timmywil-bug_8316
Dave Methvin [Thu, 31 Mar 2011 13:10:30 +0000 (09:10 -0400)]
Followup commit for #7340 test case; make sure second test fires properly on IE by focusing to another element rather than blurring off the first.
timmywil [Thu, 31 Mar 2011 06:55:16 +0000 (02:55 -0400)]
Fix test cases for bug #8316 fix.
- Removed special page, just needed another test in the fixed offset tests
- Checks it's position related to scrolling
Dave Methvin [Thu, 31 Mar 2011 01:59:38 +0000 (21:59 -0400)]
Remove crossDomain:null comment, it's not needed since undefined==null below.
Dave Methvin [Thu, 31 Mar 2011 01:52:04 +0000 (21:52 -0400)]
Merge branch 'crossDomain' of https://github.com/JessThrysoee/jquery into JessThrysoee-crossDomain
Dave Methvin [Thu, 31 Mar 2011 01:21:49 +0000 (21:21 -0400)]
Fixes #8203. Remove some misguided nulling of elements done in the name of IE memory cleanup. Based on a patch by davidmurdoch in pull 226.
John Resig [Wed, 30 Mar 2011 19:23:31 +0000 (15:23 -0400)]
Merge branch 'makefile_fixes' of https://github.com/azatoth/jquery into azatoth-makefile_fixes
John Resig [Wed, 30 Mar 2011 18:54:52 +0000 (14:54 -0400)]
Merge branch 'fix_8346' of https://github.com/lrbabe/jquery into lrbabe-fix_8346
jaubourg [Wed, 30 Mar 2011 16:54:32 +0000 (18:54 +0200)]
Fixes #8692. Strange FF4 bug: values changed onto the arguments object sometimes end up as undefined values outside the $.when method. Cloning the object into a fresh array solves the issue.
John Resig [Mon, 28 Mar 2011 17:10:12 +0000 (13:10 -0400)]
Update the Sizzle location to point to the newly-moved repo.
rwldrn [Mon, 28 Mar 2011 16:10:16 +0000 (12:10 -0400)]
Bug #8635 Firefox uncaught exception
jeresig [Fri, 25 Mar 2011 02:10:38 +0000 (22:10 -0400)]
Merge branch 'bug-3333' of https://github.com/rdworth/jquery
jeresig [Fri, 25 Mar 2011 00:12:40 +0000 (20:12 -0400)]
Updating the source version to 1.5.2pre.
jeresig [Fri, 25 Mar 2011 00:12:31 +0000 (20:12 -0400)]
Tagging the 1.5.2rc1 release.
jeresig [Fri, 25 Mar 2011 00:08:40 +0000 (20:08 -0400)]
Land new sizzle commit.