aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-triggerDave Methvin2011-04-111-0/+8
| |\ \
| * | | Shave some time off array setup in trigger/handleDave Methvin2011-04-111-2/+2
| | | |
| * | | Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-triggerDave Methvin2011-04-111-1/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/event.js
| * | | | Move initialization of event until we determine if anyone wants it.Dave Methvin2011-04-111-15/+18
| | | | |
| * | | | Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-triggerDave Methvin2011-04-101-34/+54
| |\ \ \ \
| * | | | | Allow specific custom events to exit trigger early if there are no handlers ↵Dave Methvin2011-04-061-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | bound for that type.
* | | | | | Removing un-needed frameElement check as discussed in #8018. Fixes #8108.jeresig2011-04-121-11/+0
| |_|_|/ / |/| | | |
* | | | | Merge branch '8777' of https://github.com/rwldrn/jquery into rwldrn-8777jeresig2011-04-111-0/+8
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Conflicts: src/event.js
| * | | | Ticket #8777 undelegate by namespacerwldrn2011-04-051-2/+11
| | | | |
* | | | | Ticket #8753 Always set event type explicitlyRick Waldon2011-04-111-2/+5
| |_|/ / |/| | |
* | | | Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into ↵jeresig2011-04-101-17/+27
|\ \ \ \ | | | | | | | | | | | | | | | gf3-proxy-native-bind
| * \ \ \ Merge branch 'master' into proxy-native-bindGianni Chiappetta2011-01-211-67/+55
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (194 commits) Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing problems with the focusin event, see: #7340. Replaces "text in-between" technique with a full-fledged one-level transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible. Moves determineResponse logic into main ajax callback. Puts responseXXX fields definitions into ajaxSettings. Removes misleading comment. Bring jQuery('#id') and jQuery('body') logic back into core (while leaving it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle. Renames Deferred's fire and fireReject methods as resolveWith and rejectWith respectively. Fix typo in regex tweak from previous commit. Renames determineDataType as determineResponse. Makes it more generic as a first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js. Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable). Revises the way arguments are handled in ajax. Makes sure statusCode callbacks are ordered in the same way success and error callbacks are. Unit tests added. Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). Rework unit tests to check actual result elements. Moves active counter test after all other ajax tests where it should be. Revised the Nokia support fallback. It turns out that Nokia supports the documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height. Moves things around to make jsLint happier. Fixes crossDomain test so that it assumes port to be 80 for http and 443 for https when it is not provided. Moves determineDataType into ajaxSettings so that it is accessible to transports without the need for a second argument and so that we can now pass the original options to the transport instead. Also ensures the original options are actually propagated to prefilters (they were not). Re-adds hastily removed variable and simplifies statusCode based callbacks handling. Use undefined instead of 0 to deference transport for clarity. ... Conflicts: src/event.js
| * | | | Fixing $.proxy to work like (and use) Function.prototype.bind (ticket #7783)Gianni Chiappetta2010-12-141-17/+27
| | | | | | | | | | | | | | | | | | | | http://bugs.jquery.com/ticket/7783
* | | | | Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into ↵jeresig2011-04-101-4/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rwldrn-eventprops.1.6final Conflicts: test/unit/event.js
| * | | | | Remove this.type assignmentrwldrn2011-04-051-4/+0
| | | | | |
| * | | | | Move this.type setting to after prop set; avoid setting twicerwldrn2011-04-051-1/+4
| | | | | |
| * | | | | Ticket #8753 Allow special properties to explicitly defined on jQuery.Event ↵rwldrn2011-04-051-3/+14
| | |_|/ / | |/| | | | | | | | | | | | | objects
* | | | | Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow ↵Dave Methvin2011-04-071-13/+13
| |_|_|/ |/| | | | | | | | | | | bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
* | | | Fix #8732. Change feature detect for focusin event support, so IE9 won't ↵Dave Methvin2011-04-061-1/+1
| | | | | | | | | | | | | | | | have duplicate events.
* | | | Fixes #8712. Bubble custom events to the window when they are triggered. ↵Dave Methvin2011-04-061-1/+2
| | | | | | | | | | | | | | | | Ride that, Cowboy!
* | | | Fix some spacing and comment issues that crept in with the rebase.Dave Methvin2011-04-061-61/+60
| | | |
* | | | Sadly, we still have to bubble the event so inline handlers will work.Dave Methvin2011-04-061-5/+4
| | | |
* | | | Only bubble a triggered event if we have attached a jQuery handler, but ↵Dave Methvin2011-04-061-27/+30
| | | | | | | | | | | | | | | | check the current element for an inline handler regardless. Make some other size optimizations as well.
* | | | Switch from recursion to iteration for event triggering. Move event-name ↵Dave Methvin2011-04-061-70/+52
| | | | | | | | | | | | | | | | namespace processing out of event handler, since it has to always go through trigger.
* | | | Shorten up the code and do event cleanup on test cases.Dave Methvin2011-04-051-8/+3
| | | |
* | | | Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into ↵Dave Methvin2011-04-051-1/+6
|\ \ \ \ | |/ / / |/| | | | | | | rwldrn-ticket_7883
| * | | #7883 .delegate and .live should accept false as the fn arg, like bindrwldrn2011-01-011-1/+6
| | | |
* | | | Merge branch 'fix-8456-lost-mouseenter' of ↵jeresig2011-03-211-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter
| * | | | Fixes #8456. Make sure parent is not null before crawling into its lap, so ↵Dave Methvin2011-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | mouseenter is triggered on a mouseover event.
* | | | | Fixes #7340. Use a single capturing handler to simulate bubbling ↵Dave Methvin2011-03-041-9/+23
|/ / / / | | | | | | | | | | | | focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery.
* | | | Bug #6911 - Prevent action on disabled elements, both triggering and bound ↵Dan Heberden2011-02-181-1/+1
| | | | | | | | | | | | | | | | via .live()
* | | | A temporary workaround for #8018 that avoids any chance of ↵Alex Sexton2011-02-171-4/+9
| | | | | | | | | | | | | | | | compatibility-breaking changes until a proper fix can be landed in 1.6.
* | | | Fix some whitespace issues.Anton M2011-02-151-1/+1
| | | |
* | | | Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so ↵Dave Methvin2011-02-151-9/+17
| | | | | | | | | | | | | | | | that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
* | | | Make sure that mousing over Chrome "internal div" doesn't trigger a ↵Anton M2011-02-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mouseleave. Fixes #8209. Follow up to https://github.com/jquery/jquery/commit/4a828c93d40eb67b2041b08bbed0f1973442bd03 which was stupid and got reversed.
* | | | Revert "Make sure that mousing over Chrome "internal div" elements results ↵Anton M2011-02-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | in no trigger of a mouseleave." This reverts commit 4a828c93d40eb67b2041b08bbed0f1973442bd03.
* | | | Make sure that mousing over Chrome "internal div" elements results in no ↵Anton M2011-02-081-1/+3
| | | | | | | | | | | | | | | | trigger of a mouseleave. Fixes #8209.
* | | | Update $.data to use a function instead of an object when attaching to JS ↵Colin Snover2011-02-071-44/+12
| |_|/ |/| | | | | | | | objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
* | | Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This ↵jeresig2011-01-211-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was causing problems with the focusin event, see: #7340. This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00. Conflicts: src/event.js test/unit/event.js
* | | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-171-21/+25
|\ \ \ | | | | | | | | | | | | checks for leaky stuff.
| * | | Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-21/+25
| |/ / | | | | | | | | | collision between user data and internal data. Fixes #6968.
* | | Merging pull request 183 for #7793.jeresig2011-01-171-1/+1
|\ \ \ | |/ / |/| |
| * | Simplify the check for isDefaultPrevented.Dave Methvin2010-12-241-4/+2
| | |
| * | When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-231-0/+6
| |/ | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* | Merge branch 'fix7762' into jquery master. Fixes #7762.Colin Snover2010-12-301-43/+26
|\ \
| * | Clearing event handlers on unload is no longer necessary in any version of ↵Colin Snover2010-12-261-17/+0
| | | | | | | | | | | | IE. This issue causing memory leaks between pages was fixed in MS07-033.
| * | Fix whitespace in event.jsColin Snover2010-12-261-26/+26
| |/
* / When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-271-0/+6
|/ | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* Merge branch 't6398' of https://github.com/jitter/jquery into jitter-t6398John Resig2010-12-061-1/+1
|\
| * Make sure custom events named "submit" can be bound to non DOM elements in ↵Anton M2010-11-211-1/+1
| | | | | | | | IE too. Fixes 6398.