]>
source.dussan.org Git - jquery.git/log
Dave Methvin [Tue, 12 Apr 2011 22:32:23 +0000 (18:32 -0400)]
Explicitly set event.type in case we chopped out a namespace or exclusive flag.
Dave Methvin [Tue, 12 Apr 2011 21:46:15 +0000 (17:46 -0400)]
Use explicit "new jQuery.Event" to avoid double-function-call overhead.
Dave Methvin [Mon, 11 Apr 2011 17:25:57 +0000 (13:25 -0400)]
Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-trigger
Dave Methvin [Mon, 11 Apr 2011 17:19:00 +0000 (13:19 -0400)]
Shave some time off array setup in trigger/handle
jeresig [Mon, 11 Apr 2011 16:13:04 +0000 (12:13 -0400)]
Merge branch '8777' of https://github.com/rwldrn/jquery into rwldrn-8777
Conflicts:
src/event.js
Dave Methvin [Mon, 11 Apr 2011 15:44:26 +0000 (11:44 -0400)]
Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-trigger
Conflicts:
src/event.js
Rick Waldon [Mon, 11 Apr 2011 15:32:23 +0000 (11:32 -0400)]
Ticket #8753 Always set event type explicitly
Dave Methvin [Mon, 11 Apr 2011 15:25:27 +0000 (11:25 -0400)]
Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-trigger
jeresig [Mon, 11 Apr 2011 15:22:52 +0000 (11:22 -0400)]
Fix broken merge.
Dave Methvin [Mon, 11 Apr 2011 15:15:00 +0000 (11:15 -0400)]
Move initialization of event until we determine if anyone wants it.
Dave Methvin [Sun, 10 Apr 2011 21:40:31 +0000 (17:40 -0400)]
Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-trigger
jeresig [Sun, 10 Apr 2011 21:27:34 +0000 (17:27 -0400)]
Merge branch '8101_lrbabe_requestAnimationFrame' of https://github.com/timmywil/jquery into timmywil-8101_lrbabe_requestAnimationFrame
Conflicts:
src/effects.js
timmywil [Sun, 10 Apr 2011 21:17:34 +0000 (17:17 -0400)]
Separate raf function definition from passing it to requestAnimationFrame
jeresig [Sun, 10 Apr 2011 21:11:35 +0000 (17:11 -0400)]
Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery
timmywil [Sun, 10 Apr 2011 21:08:18 +0000 (17:08 -0400)]
Added back support.js test for getSetAttribute and removed some duplicate code that crept into attributes.js
jeresig [Sun, 10 Apr 2011 20:56:56 +0000 (16:56 -0400)]
Merge branch 'modest_val_proposal' of https://github.com/timmywil/jquery into timmywil-modest_val_proposal
Conflicts:
src/attributes.js
jeresig [Sun, 10 Apr 2011 20:51:22 +0000 (16:51 -0400)]
Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into gf3-proxy-native-bind
jeresig [Sun, 10 Apr 2011 20:48:02 +0000 (16:48 -0400)]
Merge branch 'bug_7369' of https://github.com/timmywil/jquery into timmywil-bug_7369
jeresig [Sun, 10 Apr 2011 20:46:14 +0000 (16:46 -0400)]
Merge branch 'map-object.1.6' of https://github.com/danheberden/jquery into danheberden-map-object.1.6
jeresig [Sun, 10 Apr 2011 20:37:09 +0000 (16:37 -0400)]
Merge branch '2773_find_closest' of https://github.com/timmywil/jquery into timmywil-2773_find_closest
Conflicts:
test/unit/traversing.js
jeresig [Sun, 10 Apr 2011 20:32:40 +0000 (16:32 -0400)]
Fix formatting.
jeresig [Sun, 10 Apr 2011 20:31:10 +0000 (16:31 -0400)]
Merge branch 'bug_2773' of https://github.com/timmywil/jquery into timmywil-bug_2773
jeresig [Sun, 10 Apr 2011 20:28:44 +0000 (16:28 -0400)]
Bringing in the latest Sizzle code.
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
timmywil [Sun, 10 Apr 2011 20:26:39 +0000 (16:26 -0400)]
Merge branch 'master' into attrhooks.1.6v2
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
timmywil [Sun, 10 Apr 2011 19:40:49 +0000 (15:40 -0400)]
Had some stale code in test/unit/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.
Dave Methvin [Thu, 7 Apr 2011 03:41:47 +0000 (23:41 -0400)]
Allow specific custom events to exit trigger early if there are no handlers bound for that type.
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
timmywil [Wed, 6 Apr 2011 02:40:12 +0000 (22:40 -0400)]
Performance testing: localize val to each block and only set val to value when not a function
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 22:12:50 +0000 (18:12 -0400)]
Ticket #8777 undelegate by namespace
rwldrn [Tue, 5 Apr 2011 20:32:42 +0000 (16:32 -0400)]
Remove this.type assignment
timmywil [Tue, 5 Apr 2011 20:28:25 +0000 (16:28 -0400)]
Per rwaldron's request, added oRequestAnimationFrame as a possibility
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 15:33:14 +0000 (08:33 -0700)]
Add missing var declaration for
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 [Tue, 5 Apr 2011 06:59:54 +0000 (23:59 -0700)]
Improve speed of $.map with object support (-5% previous speed) and improve .length detection
Dan Heberden [Mon, 4 Apr 2011 23:48:24 +0000 (16:48 -0700)]
Improve relative string performance in .css and some code cleanup
timmywil [Mon, 4 Apr 2011 23:25:12 +0000 (19:25 -0400)]
Some adjustments and style edits on lrbabe's pull for requestAnimationFrame
- Moved support.js check to effects.js. This is just an assignment to the function if it exists. Removed string concatenations.
+ Still need to do the checks on window, but after that, window is no longer needed.
- Switched ternary to an if statmenet
- assigned timerId to a number rather than the function. I did perf tests to check which is faster.
louisremi [Fri, 11 Mar 2011 10:33:15 +0000 (11:33 +0100)]
shorten requestAnimationFrame test
louisremi [Wed, 2 Feb 2011 10:25:09 +0000 (11:25 +0100)]
first tick should not occur immediatly; no tick should happen after a stop()
+ comments
louisremi [Wed, 2 Feb 2011 09:26:04 +0000 (10:26 +0100)]
reduce impact of requestAnimationFrame on incompatible browsers by minimizing number of lookups
louisremi [Tue, 1 Feb 2011 18:57:14 +0000 (19:57 +0100)]
there was no way to 'manually' stop an animation
louisremi [Tue, 1 Feb 2011 17:26:41 +0000 (18:26 +0100)]
timerId has to be set to true, to avoid starting multiple animation queues
louisremi [Tue, 1 Feb 2011 15:00:19 +0000 (16:00 +0100)]
'this' is the window
louisremi [Tue, 1 Feb 2011 11:02:02 +0000 (12:02 +0100)]
omitting 'window.' was causing undefined errors
louisremi [Mon, 31 Jan 2011 17:57:23 +0000 (18:57 +0100)]
use requestAnimationFrame instead of setInterval for animations, when available.
timmywil [Mon, 4 Apr 2011 18:22:58 +0000 (14:22 -0400)]
Remove the unused radiocheck regex
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