]>
source.dussan.org Git - jquery.git/log
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.
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.
Richard Worth [Thu, 24 Mar 2011 23:55:55 +0000 (19:55 -0400)]
Further fix for #3333, refactored marginRight css hook to use jQuery.swap and computed. Thanks timmywil
jeresig [Thu, 24 Mar 2011 23:52:45 +0000 (19:52 -0400)]
Oops, that test file for bug #8316 was needed - was also missing an include and was causing errors.
jeresig [Thu, 24 Mar 2011 23:40:09 +0000 (19:40 -0400)]
Updating Sizzle submodule to bring in the latest commit.
jeresig [Thu, 24 Mar 2011 23:36:38 +0000 (19:36 -0400)]
Fix missing semicolon.
Michael Murray [Thu, 24 Mar 2011 23:02:38 +0000 (19:02 -0400)]
Offset setter for fixed position elements in Webkit. Fixes #8316.
jeresig [Thu, 24 Mar 2011 22:58:20 +0000 (18:58 -0400)]
Merge branch 'bug-3333' of https://github.com/rdworth/jquery into rdworth-bug-3333
Richard Worth [Thu, 24 Mar 2011 19:41:46 +0000 (15:41 -0400)]
Added css hook to work around bug in WebKit computed margin-right. Fixes #3333 - .css("marginRight") is incorrect in WebKit
Carl Fürstenberg [Tue, 22 Mar 2011 20:55:49 +0000 (21:55 +0100)]
Merge branch 'master' into makefile_fixes
jeresig [Mon, 21 Mar 2011 14:53:57 +0000 (10:53 -0400)]
Merge branch 'fix-8456-lost-mouseenter' of https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter
jeresig [Mon, 21 Mar 2011 14:53:18 +0000 (10:53 -0400)]
Merge branch 'fix-7340-focusin-focusout-bubble' of https://github.com/dmethvin/jquery into dmethvin-fix-7340-focusin-focusout-bubble
Carl Fürstenberg [Thu, 17 Mar 2011 19:40:07 +0000 (20:40 +0100)]
merge doesn't work when init
sadly the merge strategy doesn't work when doing an initial clone,
circumvent that
Carl Fürstenberg [Thu, 17 Mar 2011 19:26:45 +0000 (20:26 +0100)]
Adding core target
Adding core target to do jquery, minimization and lint
Carl Fürstenberg [Thu, 17 Mar 2011 19:16:19 +0000 (20:16 +0100)]
updating phony rules
Carl Fürstenberg [Thu, 17 Mar 2011 19:14:15 +0000 (20:14 +0100)]
Change makefile order to only update submodules on 'all' target
insterad of always update the submodules, now only "make all" will run
that, thus an "make jquery" will not update them
Carl Fürstenberg [Thu, 17 Mar 2011 19:15:44 +0000 (20:15 +0100)]
Remove jq target
remove obsolete jq target
Carl Fürstenberg [Thu, 17 Mar 2011 18:50:53 +0000 (19:50 +0100)]
Merge when updating submodules on make
When running make, the submodule update will remove all local changes.
Adding flag --rebase or --merge does solve the issue. rebase will
probably make it cleaner, but it might stop on conflict, thus --merge
will result in fewer (probably none).
Carl Fürstenberg [Fri, 4 Mar 2011 22:33:20 +0000 (23:33 +0100)]
Changing dependice order for minify to prevent reminify
unless jquery.js has been updated, no minification should occur
closes: #8519
John Resig [Tue, 15 Mar 2011 21:06:24 +0000 (17:06 -0400)]
Merge branch 'bug_6158' of https://github.com/jboesch/jquery into jboesch-bug_6158
Carl Fürstenberg [Tue, 15 Mar 2011 20:42:58 +0000 (21:42 +0100)]
adding pull command
Carl Fürstenberg [Tue, 15 Mar 2011 20:25:51 +0000 (21:25 +0100)]
pull submodules make command
Adding an helper funciton to pull the latest from all registered
submodules
Carl Fürstenberg [Tue, 15 Mar 2011 19:16:09 +0000 (20:16 +0100)]
Introduce submodules, closes #8536
Instead of the manual clone of sizzle and qunit, use git submodules
instead. this will ensure that all future releases can be recreated by
checking out an tag.
jaubourg [Tue, 15 Mar 2011 18:20:03 +0000 (19:20 +0100)]
Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of http://www.ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added.
Jordan Boesch [Mon, 14 Mar 2011 20:17:02 +0000 (14:17 -0600)]
removing parens
JessThrysoee [Fri, 11 Mar 2011 16:46:59 +0000 (17:46 +0100)]
no need to specifically initialize crossDomain to null
JessThrysoee [Thu, 10 Mar 2011 23:17:38 +0000 (00:17 +0100)]
Make it possible to force the Ajax crossDomain option to false.
Dave Methvin [Thu, 10 Mar 2011 03:38:26 +0000 (22:38 -0500)]
Fixes #8456. Make sure parent is not null before crawling into its lap, so mouseenter is triggered on a mouseover event.
jaubourg [Sun, 6 Mar 2011 23:42:09 +0000 (00:42 +0100)]
Fixes #8423. Never set X-Requested-With header automagically for cross-domain requests.
Jordan Boesch [Sat, 5 Mar 2011 15:59:25 +0000 (09:59 -0600)]
bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon
Jordan Boesch [Sat, 5 Mar 2011 15:46:12 +0000 (09:46 -0600)]
bug 6158; fixing replaceWith from throwing errors on non existant elements
Jordan Boesch [Sat, 5 Mar 2011 15:30:29 +0000 (09:30 -0600)]
bug 6158; fixing replaceWith from throwing errors on empty elements
Dave Methvin [Sat, 5 Mar 2011 02:16:40 +0000 (21:16 -0500)]
Fixes #7340. Use a single capturing handler to simulate bubbling focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery.
jaubourg [Thu, 3 Mar 2011 18:38:06 +0000 (19:38 +0100)]
Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).
jaubourg [Thu, 3 Mar 2011 14:16:47 +0000 (15:16 +0100)]
Fix for #8421. Makes sure resolveWith can be called with only one parameter.
gnarf [Thu, 24 Feb 2011 19:21:05 +0000 (13:21 -0600)]
Grouped up the test
gnarf [Thu, 24 Feb 2011 19:10:33 +0000 (13:10 -0600)]
A quick change to detect AIR urls
jaubourg [Thu, 24 Feb 2011 05:37:37 +0000 (06:37 +0100)]
Removes unnecessary parenthesis from regular expression.
jaubourg [Wed, 23 Feb 2011 23:32:30 +0000 (00:32 +0100)]
Revert "Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6."
This reverts commit
cacea6f7e778d42cda56066a6b1da8fb163410cc .
jeresig [Wed, 23 Feb 2011 18:55:45 +0000 (13:55 -0500)]
Updating the source version to 1.5.2pre.
jeresig [Wed, 23 Feb 2011 18:55:29 +0000 (13:55 -0500)]
Tagging the 1.5.1 release.
jeresig [Wed, 23 Feb 2011 18:18:44 +0000 (13:18 -0500)]
Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365.
louisremi [Wed, 23 Feb 2011 14:55:13 +0000 (15:55 +0100)]
comments for workarounds are always welcome.
louisremi [Wed, 23 Feb 2011 14:53:29 +0000 (15:53 +0100)]
fix the regular expression that turns camel-case properties to lower-case ones for IE9. Fixes #8346
jaubourg [Wed, 23 Feb 2011 07:00:27 +0000 (08:00 +0100)]
Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible.
jaubourg [Wed, 23 Feb 2011 01:50:27 +0000 (02:50 +0100)]
Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
jaubourg [Mon, 21 Feb 2011 23:44:22 +0000 (00:44 +0100)]
Makes the promise method of Deferreds a bit more readable by not using the variable declared as parameter trick anymore.