Commit graph

  • 1533bf7c77 Expose jQuery.uuid (use with caution) and make sure the expando property is used in the events module. John Resig 2010-04-24 14:15:45 -07:00
  • 4a64f9a5b8 Removed extra semicolon leftover from recent tweaking. jeresig 2010-03-31 14:36:24 -04:00
  • d6f03aa0df Merge branch 'master' of github.com:jquery/jquery Brandon Aaron 2010-03-27 18:58:55 -05:00
  • dab1d74677 Mobile WebKit browsers don't support accessing the scroll position of the document/window. jeresig 2010-03-25 17:30:13 -04:00
  • 298c81a844 Need to expose the isLocal change globally as well. jeresig 2010-03-24 16:16:13 -04:00
  • 59124f92b5 Temporarily disable ajax tests when running in TestSwam. jeresig 2010-03-24 16:04:10 -04:00
  • 1ba2df02d6 Use custom events for testing unbind instead of the, potentially conflicting, error event. jeresig 2010-03-24 15:39:58 -04:00
  • 3b221da8b0 Adjust isPlainObject test to run in an iframe. jeresig 2010-03-24 15:18:11 -04:00
  • efea0f23f9 Merge branch 'master' of github.com:jquery/jquery Brandon Aaron 2010-03-23 22:40:38 -05:00
  • 96ea3d615e Make sure the offset tests work without a built jQuery file. jeresig 2010-03-23 16:37:40 -04:00
  • 273822c138 Update other remote test URLs as well. jeresig 2010-03-23 16:24:51 -04:00
  • 0fbac16dbe Strip off filename and query string for JSONP Remote test. jeresig 2010-03-23 16:22:09 -04:00
  • 2301e2a1c3 Update the TestSwarm URL to point to the new jQuery swarm location. jeresig 2010-03-23 15:21:42 -04:00
  • fa80693c4a Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result). jeresig 2010-03-23 12:31:40 -04:00
  • f6a50cacd8 Handle auto-running of the TestSwarm injection script in the test suite. jeresig 2010-03-23 12:19:47 -04:00
  • 8effe3a7de Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least). jeresig 2010-03-23 12:12:16 -04:00
  • 656fe92178 Fixed an issue with setting offset of absolutely positioned element that has no position values ("auto"). Fixes #5781. Brandon Aaron 2010-03-22 20:11:37 -04:00
  • 08cf82e88e Fix setting only one property at a time in .offset({}) Brandon Aaron 2010-03-22 20:05:08 -04:00
  • 1844f95c5b Added unit tests for setting offset one property at a time and added radix to parseInt calls Brandon Aaron 2010-03-22 18:50:17 -04:00
  • ba8938d444 Switch to using String.prototype.trim from String.trim as it's more-widely available. jeresig 2010-03-11 10:49:19 -05:00
  • da26d0eb4e Rewrote the live/delegate submit tests to be more generic. jeresig 2010-03-09 14:08:33 -05:00
  • f68b46d7ab Make sure that special remove and teardown events get called when .die() is used. Additionally made sure that default actions are triggered when namespaced events are used. Fixes #6202 and #6250. jeresig 2010-03-09 12:22:25 -05:00
  • 2fbe3fbf68 Removing the mention of buliding the docs from the README. Thanks to 'phihag' in the forum for the heads-up. jeresig 2010-03-09 09:16:35 -05:00
  • 141ad3c3e2 Landing a faster trim method. Based upon the work by Travis Hardiman and DBJDBJ. More details here: http://forum.jquery.com/topic/faster-jquery-trim Fixes #2279, #4452, and #4835. jeresig 2010-03-09 09:14:27 -05:00
  • 0a307b332e No need to use .call() anymore since we switched from .apply() for appendTo, etc. Thanks to Robert in 2c08004f6d for the heads-up. jeresig 2010-03-05 09:59:58 -05:00
  • 145f2f0459 I take that back! It was a bug, but the cache had to be triggered and a collection of cached nodes had to be passed in (an odd case to be sure). Fixes #6227. jeresig 2010-03-05 00:14:47 -05:00
  • 2c08004f6d Attempted to fix #6227, not entirely sure if it's a problem as I'm having a hard time reproducing it. Regardless, the change is harmless and potentially even speeds up appendTo, etc. slightly. jeresig 2010-03-05 00:07:57 -05:00
  • 9584e908a2 Added in Ben Alman's proposed event.namespace property (the property holds the namespaces specified in a call to trigger). Additionally fixes namespaces with .live(). Fixes #6208 and #6209. jeresig 2010-03-02 17:34:12 -05:00
  • 04e31ff058 Make sure that we don't try to remove data from an applet. Re-Fixes #1675. jeresig 2010-03-02 13:56:15 -05:00
  • ad103c8e6a Add in the new level information to the closest(Array) test. jeresig 2010-03-02 10:53:54 -05:00
  • 5c111a028a We no longer support globally-triggered events on plain objects. This is a trade-off to having good garbage collection on the objects. jeresig 2010-03-02 10:51:31 -05:00
  • 86ace44fbb Moving more properties onto jQuery.ajax, also copy them back to the jQuery object for backwards compatibility. jeresig 2010-03-02 10:44:48 -05:00
  • a33d01a7b0 Remove the need for the return in sizzle-jquery and just remove the attempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now. jeresig 2010-03-01 21:56:08 -05:00
  • 950b5d64a2 Added in integrated JSLint checking against the jQuery source. Just run 'make lint' to see the result. jeresig 2010-03-01 21:51:44 -05:00
  • dcf0fa5048 More changes to get jQuery in line with JSLint. jeresig 2010-03-01 21:24:49 -05:00
  • 8c8f685a91 We don't want to increment the Ajax counter if there isn't a global event. jeresig 2010-03-01 19:31:13 -05:00
  • a4043cdcbf Land some additional tweaks related to running through JSLint. jeresig 2010-03-01 18:19:29 -05:00
  • fc08d0ea8d Fixed some cases where expression, expression was used and shouldn't be. jeresig 2010-03-01 16:26:57 -05:00
  • a18f682012 Made some code tweaks related to running jQuery through JSLint (thanks to Lorin Larson for the JSLint run). jeresig 2010-03-01 12:44:56 -05:00
  • 5353c6bcc3 Adding unit tests to make sure .scrollTop() and .scrollLeft() work cross-frame. brandonaaron 2010-02-28 10:55:59 -06:00
  • 1d352084c4 Use correct window reference in offset to work properly cross-frame. Fixes #6190. brandonaaron 2010-02-27 19:43:23 -06:00
  • 36faab439a No reason to double-bind the beforeunload event. Fixes #6113. jeresig 2010-02-27 10:03:43 -05:00
  • a49e6b6313 Attach data directly to plain objects, no reason to use the central jQuery.cache. Fixes #6189. jeresig 2010-02-27 09:49:58 -05:00
  • 42568db4c4 Merge branch 'master' of github.com:jquery/jquery jeresig 2010-02-27 09:02:18 -05:00
  • a45372a4c5 Adding in .bind(name, false), .unbind(name, false) support - an easy way to just stop bubbling and the default action on an element. Fixes #6188. jeresig 2010-02-27 09:02:13 -05:00
  • 7d5da0ee03 Make sure events exist before trying to access them in jQuery.event.handle and removed unnecessary var statement. Fixes #6163. brandonaaron 2010-02-27 01:31:33 -06:00
  • ba7195e3f9 Make it so that you can pass in event data to .click(), et. al. Fixes #6187. jeresig 2010-02-26 20:01:19 -05:00
  • 9e06903a99 Make sure that undefined is always returned for undefined data properties. Fixes #6166. jeresig 2010-02-26 12:35:04 -05:00
  • 7f5179b654 Make sure that unbinding on a plain javascript object works correctly. Fixes #6184. jeresig 2010-02-26 11:32:12 -05:00
  • 28b489bfc8 Make sure that the correct type is set for live mouseenter/mouseleave events. Fixes #6169. jeresig 2010-02-26 11:23:49 -05:00
  • 26b0e913dd Make sure that live events bubble unless explicitly told not to, like a normal event. Fixes #6182. jeresig 2010-02-26 09:26:14 -05:00
  • 7e6b20e2e8 Updating the source version to 1.4.3pre. jeresig 2010-02-13 22:33:57 -05:00
  • efe51cdf20 Tagging the 1.4.2 release. 1.4.2 jeresig 2010-02-13 22:33:48 -05:00
  • 437ddb931d No need to run trim on every class iteration in addClass, thanks for the heads-up Leeoniya. jeresig 2010-02-13 14:30:27 -05:00
  • 053af95294 Adapt the nbsp entity test for Opera (output isn't as important as the fact that it's getting converted. jeresig 2010-02-13 07:05:39 -05:00
  • a6f3757d50 Found a better detect for deleting an expando, added back in removeAttribute as it does work in IE. jeresig 2010-02-13 06:57:58 -05:00
  • 9195107dbb Clean up expando removal code - only try to delete the expando from an element if it's possible. jeresig 2010-02-13 06:32:20 -05:00
  • da966573c3 Make sure that elements that have been removed also have their special events cleaned up. Fixes #6084. jeresig 2010-02-13 06:10:43 -05:00
  • 6a82f2ae63 Make sure that mousing over XUL elements results in no trigger of a mouseleave. Fixes #6013. jeresig 2010-02-13 05:45:48 -05:00
  • dd5c26304a Make sure that live focus and blur events also bind to the regular events, to handle triggered events. Fixes #6055. jeresig 2010-02-13 05:37:17 -05:00
  • 467063a2e2 When binding a change directly to a file input just passthrough to the normal bind. A temporary fix for #5997, needs more investigation. jeresig 2010-02-13 04:40:26 -05:00
  • c1ac9fdf45 Don't inject style elements using innerHTML as they will go away in IE. Fixes #5977. jeresig 2010-02-13 03:30:45 -05:00
  • 14e1200d59 Added some tests to test repeated injected of scripts. Was fixed when fixing #5094. jeresig 2010-02-13 03:25:27 -05:00
  • 99e7560808 Make sure that we don't try to use a detached node (that was in a fragment) as a fragment in IE. Fixes #5829. jeresig 2010-02-13 03:14:00 -05:00
  • 726fda08be Make sure the fragment isn't used if it's not the same set we're working with. Fixes #6068. jeresig 2010-02-13 02:49:04 -05:00
  • a7dc66b832 Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094. jeresig 2010-02-13 02:26:50 -05:00
  • abcc1a76ee If .attr() is run on no elements undefined should be returned (as should be the case when no attribute is found). Fixes #6012. jeresig 2010-02-13 02:23:38 -05:00
  • 83a044f1b5 Make sure that no extra whitespace is leftover after an addClass. Fixes #6050. jeresig 2010-02-13 02:18:38 -05:00
  • 94d925cd46 Make sure leading whitespace is trimmed for parseJSON. Fixes #6031. jeresig 2010-02-13 02:14:23 -05:00
  • 8b86004f9c Make sure that fragments containing options aren't cached. jeresig 2010-02-13 01:50:19 -05:00
  • 7a467ed936 Remove the need for the internal setArray method, it was only really used by pushStack anyway. Fixes #6003. jeresig 2010-02-13 01:45:09 -05:00
  • 8404ad6070 Make sure that there are some live events before continuing on. jeresig 2010-02-12 19:38:57 -05:00
  • 5d36fe3210 Make sure that live mouseenter/mouseleave work properly. Fixes #6077. jeresig 2010-02-11 16:50:26 -05:00
  • 021b809ace Make sure that the teardown is called after all the handlers of a type are removed. Fixes #6065. John Resig 2010-02-11 01:42:51 -05:00
  • 639f4931b0 No reason to expose the temporary _load method. John Resig 2010-02-11 01:23:13 -05:00
  • d3d497f900 Ignore potential error codes from Github in doing a clone. Fixes #6049. Iraê Carvalho 2010-02-10 16:40:48 -05:00
  • 35c379075c Simplify the special change/submit event removal logic, per Scott's suggestion in 5267824aa3. jeresig 2010-02-10 15:56:53 -05:00
  • 5267824aa3 Updated formatting for the change/submit special event logic. Also switched the function declarations to statements. Thanks to Garrett for the recommendation. jeresig 2010-02-08 23:28:15 -05:00
  • fec02aa5cb Merge branch 'master' of github.com:jquery/jquery jeresig 2010-02-08 11:31:13 -05:00
  • 75bb2d6e51 Fix in logic for handling exclusive namespace testing. Fixes #6048. jeresig 2010-02-08 11:31:01 -05:00
  • 3c5b1ca03b Ok, this should actually fix #6041 :) Ben Alman 2010-02-06 10:43:10 +08:00
  • 8a66a30fec spelling mistake (insead) tomviner 2010-02-06 01:31:49 +08:00
  • d743899971 Make sure that &#...; entities are encoded properly. Fixes #6042. jeresig 2010-02-05 19:58:08 -05:00
  • 54bd004e53 Make sure that we don't try to double-encode params using the traditional style. Fixes #6041. jeresig 2010-02-05 19:43:31 -05:00
  • 43b3ed086d Update special events to work with the internal event system changes. Also fixes #5967. jeresig 2010-02-05 11:02:56 -05:00
  • 6f7adb95c1 Add in a test for testing the performance of event handling. jeresig 2010-02-04 22:43:23 -05:00
  • 9118828a59 Update benchmark basis file to jQuery 1.3.2. jeresig 2010-02-04 22:03:32 -05:00
  • 5d2e0efd7c Reformat benchamrk function. jeresig 2010-02-04 22:02:27 -05:00
  • be2407e233 Rewrote the live event handling to use the new event logic. Also added in support for live namespaced events. Fixes #5945. jeresig 2010-02-04 21:36:32 -05:00
  • 104757705a Added some more tests for checking the execution order of events (from last night's changes - routes around Chrome's busted object looping abilities). jeresig 2010-02-04 09:23:50 -05:00
  • e177465a6b Forgot to land Justin's tests for the event fixes. Justin Meyer 2010-02-04 00:49:46 -05:00
  • e7912805d6 A large refactor of the event handling logic. Data and namespace information is maintained in a separate object now, no longer on the event handler. Proxy functions are no longer needed, as a result. Additionally execution order of the handlers is maintained, fixing #4261, and the execution of handlers is maintained even while they're being removed. Live events will be refactored separately. jeresig 2010-02-04 00:20:52 -05:00
  • 8a4b2102ff Removed extraneous nodeName check from f95147f465 commit. jeresig 2010-02-01 21:56:11 -05:00
  • 532bec4c69 Adding in some more replaceWith tests for #5917. Neeraj Singh 2010-02-01 21:53:31 -05:00
  • 8660ea1ab6 Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes #5986. Noah Sloan 2010-02-01 21:48:05 -05:00
  • e76ba32ceb Make sure the resulting className from removeClass is nicely trimmed. Fixes #5988. jeresig 2010-02-01 21:33:58 -05:00
  • f95147f465 Fix for problem in IE 8 where deserialized (then reserialized) form markup was getting malformed. Thanks IE. Fixes #5998. jeresig 2010-02-01 21:26:47 -05:00
  • f9417b9da9 Same problem happens with plain embed elements as well. Follow-up fix to #5904. jeresig 2010-02-01 18:52:12 -05:00
  • 1b28bba4d2 Make sure that injection of object elements continues to work in IE 6. Really hard to unit test this in a meanigful manner (the result is a visually broken plugin). Will need to be diligent about watching for this in the future. Fixes #5094. jeresig 2010-02-01 18:22:48 -05:00
  • 31432e048f Add .delegate() and .undelegate(). An alternative to using .live() which goes from a single root and filters by the specified selectors. Should be used like do: .delegate(td, hover, someFn);. Fixes #6005. jeresig 2010-02-01 18:06:03 -05:00