jeresig [Mon, 11 Jan 2010 21:43:21 +0000 (16:43 -0500)]
Make sure we do the malformed JSON check for all both JSON.parse and new Function (this helps to create uniformity between browser implementations of JSON.parse - like where Chrome allows some malformed strings. Thanks to DBJDBJ for the heads-up.
jeresig [Mon, 11 Jan 2010 21:25:01 +0000 (16:25 -0500)]
Final pass at fixing #5785. Need to make sure that inner-nodes are detached before the remove() occurs (and it should still occur, the nodes are being obliterated.
jeresig [Mon, 11 Jan 2010 18:48:40 +0000 (13:48 -0500)]
Revert "Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code."
jeresig [Thu, 7 Jan 2010 17:21:58 +0000 (12:21 -0500)]
Make sure that a parsererror is thrown whenever malformed JSON comes back from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support.
jeresig [Wed, 6 Jan 2010 16:32:29 +0000 (11:32 -0500)]
Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code.
jeresig [Wed, 6 Jan 2010 00:17:28 +0000 (19:17 -0500)]
Added in a holdover jQuery.event.guid for back-compat (two plugins use it: mousewheel and a datepicker). Plugin authors should work to stop using jQuery.event.guid and jQuery.event.proxy ASAP.
jeresig [Tue, 5 Jan 2010 22:33:41 +0000 (17:33 -0500)]
Try to use the native JSON parser in all cases and fallback to the old technique otherwise. This allows us to also handle cases where the JSON parser is unable to parse JSON-like strings correctly (e.g. {foo:bar}) which is something that worked before but would stop working with the switch to the new parser.
jeresig [Tue, 5 Jan 2010 22:01:20 +0000 (17:01 -0500)]
Rewrite of jQuery.browser to become engine-centric, rather than browser-centric. Also attempt to determine the engine version in a smarter fashion, less prone to error. Finally, enhanced the test suite with 255 useragent strings from http://user-agent-string.info/download for testing. jQuery.browser.safari is now deprecated, use jQuery.browser.webkit instead.
jeresig [Thu, 31 Dec 2009 14:59:16 +0000 (09:59 -0500)]
Allow the Makefile to be more resiliant to broken builds and handle redirecting the output better in more shells. Thanks to 'candlerb' on jquery-dev for the suggestion.
jeresig [Thu, 31 Dec 2009 05:37:23 +0000 (00:37 -0500)]
Remove the .bind(name, fn, thisObject) and promote jQuery.event.proxy() to jQuery.proxy() as alternative to handling scoping on callbacks. Fixes #5736.
Jörn Zaefferer [Mon, 21 Dec 2009 21:10:21 +0000 (16:10 -0500)]
Stop trying to emulate the focus/blur event in IE, doesn't work as one might expect, anyway. Instead, implement the focusin/focusout events in all other browsers - which creates a much better parity across all browsers. Uses event capturing instead of bubbling to make it happen. Thanks to Alexander for the recommendation and to Joern Zaefferer for the original focus/blur delegation code.
Alexander Farkas [Mon, 21 Dec 2009 20:32:32 +0000 (15:32 -0500)]
Used the patch from Alexander as the basis for a rewrite of the IE change event logic. Now has full parity with the regular change event in other browsers: Works with regular bind, works better with multiple selects, works as a regular change event (note test suite changes), works with readonly/disabled inputs, and much more. The original patch had a number of problems, including firing the change event too many times, not bubblinb properly, and not handling clicks on multi-selects properly - that should all be fixed now. Thanks Alexander for the patch pushing in the right direction.
jeresig [Sat, 19 Dec 2009 02:23:26 +0000 (21:23 -0500)]
Switched from using YUI Compressor to Google Compiler. Minified and Gzipped filesize reduced to 22,839 bytes from 26,169 bytes (13% decrease in filesize). Sizzle copyright was merged into the main header (since it's removed automatically). Still passes all unit tests.