dom/tests/mochitest/ajax/jquery/ChangeLog.txt

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 == jQuery ChangeLog ==
michael@0 2
michael@0 3 == 1.2.2 ==
michael@0 4
michael@0 5 * show is now element aware (uses default display type instead of just forcing block)
michael@0 6 * New special events api: jQuery.events.special
michael@0 7 * ready is now a real event and can be bound, unbound and triggered.
michael@0 8 * mouseenter and mouseleave now work on all supported browsers
michael@0 9 * The hover helper method now uses the mouseenter and mouseleave events
michael@0 10 * New offset test suite test/offset.html (requires your pop-up blocker to be disabled)
michael@0 11 * Refactored the width and height methods (fixes lots of bugs)
michael@0 12 * Fixed event memory leaks in IE (html, remove, empty also no longer leak memory)
michael@0 13 * Fixed window/document width/height values
michael@0 14 * Fixed event.pageX and event.pageY in IE
michael@0 15
michael@0 16 == 1.2 ==
michael@0 17
michael@0 18 === 1.1.3 ===
michael@0 19 * Always create an ActiveXObject when it is available instead of the XMLHttpRequest, even in IE7
michael@0 20 * Removed XMLHttpRequest shadowing, may break code that relies on existence of that function for browser checking
michael@0 21 * ...
michael@0 22
michael@0 23 === 1.1.2 ===
michael@0 24
michael@0 25 * Event handlers (like element.onclick) are now removed when no more functions are bound to the event.
michael@0 26 * Fixed DOM Manipulations for form elements.
michael@0 27 * Fixed jQuery.isFunction to return false on nodes.
michael@0 28 * Fixed jQuery.className.has, escaping regex characters in className (for metadata)
michael@0 29 * Fixed an issue in IE where an event on a cloned element is fired during a .clone() inside of an event handler.
michael@0 30 * Fixed IE ID selectors selecting by the name attribute.
michael@0 31 * Change: Events are now internally stored in elem.$events rather than elem.events (due to a nasty bug relating to DOM 0 expandos).
michael@0 32 * .attr('href') is now consistent in all browsers.
michael@0 33 * @href is now consistent in all browsers.
michael@0 34 * Fixed the slideDown flickering bug.
michael@0 35 * Having a \r endline in $("...") caused a never-ending loop.
michael@0 36 * Fixed IE6 AJAX memory leak
michael@0 37 * Fixed bug in pushStack, reporting an element at [0] in a jQuery object with length 0
michael@0 38
michael@0 39 === 1.1.1 ===
michael@0 40
michael@0 41 * Setting the numerical value of a css property failed, for example: .css("opacity",0.5) (also occurred with zIndex, fontWeight)
michael@0 42 * Calling $(..., jqobj) with a context of a jQuery object failed.
michael@0 43 * Accessing a property on an element that doesn't exist caused an error, for example: $("#foobar").attr("id")
michael@0 44 * Calling .load() without a callback caused an error.
michael@0 45 * You couldn't cancel an event that was triggered using .trigger() or .click() (for example).
michael@0 46 * .add()ing a single DOM element to a jQuery object was broken.
michael@0 47 * Passing in undefined values to a $.post() caused weird errors to occur.
michael@0 48 * Accessing child nodes within an xml document didn't work properly.
michael@0 49 * jQuery.isFunction() was unable to reliably determine a function, in a cross-browser way.
michael@0 50 * Triggering a .click() failed in IE.
michael@0 51 * Triggered click handlers were executed twice in most browsers.
michael@0 52 * A newline passed into $(...) caused Firefox to go into a never-ending loop.
michael@0 53 * Calling $.post() without any data caused an error.
michael@0 54 * Calling a descendant selector after a child selector caused strange results, for example: $("ul > li ul")
michael@0 55 * Triggered events did not occur if an event handler was not bound for that event.
michael@0 56
michael@0 57 == 1.1 ==
michael@0 58
michael@0 59 * Massive speed-ups (4x-10x) in the selector engine.
michael@0 60 * You can now unbind event handlers from within themselves
michael@0 61 * Added new .one( "type", fn ) method
michael@0 62 * text(String) now escapes HTML
michael@0 63 * Added attr(String,Function) to calculate the value
michael@0 64 * Performming .click(), .blur(), .focus(), .submit() will actually trigger the browsers default action for those events.
michael@0 65 * Added global settings for AJAX (in addition to timeout), use $.ajaxSetup() to modify them
michael@0 66 * Implemented a better error handling for ajax requests. Exceptions caused by dropping connections are now handled, too.
michael@0 67 * Improved event fixing (Opera provides event.srcElement, must ignore it if target is available; only create pageX if clientX is available)
michael@0 68 * Fixed nth-child selectors to start on the right number
michael@0 69 * jQuery is no longer destructive. Doing var a = $("a"); a.find("span"); does not change the original "a" variable.
michael@0 70 * Fixed synchronous requests
michael@0 71 * Fixed ID with context selectors (eg. div #id doesn't ignore "div" anymore)
michael@0 72 * Fixed docs for html(): Now mentions that is not available for XML documents
michael@0 73 * Improved AJAX docs (eg. more examples for $.ajax)
michael@0 74 * Documented filter(Function), a very powerful approach for custom filtering
michael@0 75 * Improved docs for FX module, merging method descriptions and marking optional arguments
michael@0 76 * Improved docs for append, prepend, before and after, merging the three pairs into one
michael@0 77 * Improved show/hide animations to show only hidden and hide only visible elements
michael@0 78 * Removed .oneEvent() and .unEvent() helper methods.
michael@0 79 * Removed all CSS helper methods.
michael@0 80 * Removed most attribute helper methods.
michael@0 81 * Removed the (undocumented) .find( "selector", fn ) for all destructive methods.
michael@0 82 * $.get, $.getIfModified, $.post, $.getScript and $.getJSON now all pass through the XMLHttpRequest as returned by $.ajax
michael@0 83
michael@0 84 == 1.0.4 ==
michael@0 85
michael@0 86 * Tons of bug fixes
michael@0 87 * Extensions to $.ajax: $.ajax accepts additonal options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details
michael@0 88 * AJAX module: the public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliable on all browers except Safari
michael@0 89 * New global ajax handler: ajaxSend - called before an ajax request is sent
michael@0 90 * Extensions to global ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments
michael@0 91 * Extensions to event handling: pageX and pageY are available x-browser (IE does not provide native pageX/Y)
michael@0 92 * Improved docs: $(String) method has now two seperate descriptions, one for selecting elements, one for creating (html on-the-fly)
michael@0 93 * FX module: Most inline stlyes added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles)
michael@0 94 * Added note to attr(String, Object) about issues with setting the name property on input elements
michael@0 95 * Seperated internal stuff from get() into set()
michael@0 96 * Merged the two API examples for each() into one more precise example
michael@0 97 * Improved docs for $.browser and added docs for $.boxModel
michael@0 98 * Docs for the jQuery constructor $() were improved: There is now $(String expression[, Object context]) and $(String html)

mercurial