]>
source.dussan.org Git - jquery.git/log
Richard Gibson [Mon, 3 Dec 2012 05:49:40 +0000 (00:49 -0500)]
Improvements per @jaubourg
Richard Gibson [Mon, 3 Dec 2012 04:32:16 +0000 (23:32 -0500)]
No ticket: improve global variable/ajax request tracking
Dave Methvin [Sun, 2 Dec 2012 15:53:34 +0000 (10:53 -0500)]
Don't really want to expect any global events here.
Dave Methvin [Sun, 2 Dec 2012 15:48:26 +0000 (10:48 -0500)]
Followup to #12989 fix, improve unit test resiliency.
Dave Methvin [Sat, 1 Dec 2012 20:25:52 +0000 (15:25 -0500)]
Fix #12989. Remove ajax "global" event behavior.
Richard Gibson [Fri, 30 Nov 2012 21:11:51 +0000 (16:11 -0500)]
keep manipulation.js assertions consistent
jaubourg [Thu, 29 Nov 2012 16:28:16 +0000 (17:28 +0100)]
Fixes awkward spacing
jaubourg [Thu, 29 Nov 2012 16:16:42 +0000 (17:16 +0100)]
Simplifies how url is kept devoid of anti-cache parameter for ifModified requests. Also, renames ifModifiedKey to cacheURL so that it now conveys the variable's nature rather than its purpose. -5 min/gzipped.
jaubourg [Wed, 28 Nov 2012 23:15:17 +0000 (00:15 +0100)]
Unit test for #12004
Matt Farmer [Wed, 28 Nov 2012 22:59:37 +0000 (23:59 +0100)]
Alias options.method to options.type. Fixes #12004.
Oleg [Wed, 28 Nov 2012 02:32:59 +0000 (21:32 -0500)]
Fix #12957. Simplify wrapMap, it doesn't need end tags. Close gh-1044.
Richard Gibson [Tue, 27 Nov 2012 14:53:30 +0000 (09:53 -0500)]
save a byte
Richard Gibson [Tue, 27 Nov 2012 14:46:06 +0000 (09:46 -0500)]
Don't let removeClass create attributes
jaubourg [Tue, 27 Nov 2012 01:39:08 +0000 (02:39 +0100)]
sandboxes start for real this time (fixes test failures in IE)
jaubourg [Tue, 27 Nov 2012 01:38:20 +0000 (02:38 +0100)]
Use strictEqual rather than equal
jaubourg [Tue, 27 Nov 2012 01:01:03 +0000 (02:01 +0100)]
Merge branch 'master' of github.com:jquery/jquery
Richard Gibson [Mon, 26 Nov 2012 08:20:43 +0000 (03:20 -0500)]
Fix #12959: Optimize library-wide patterns
jaubourg [Mon, 26 Nov 2012 11:09:42 +0000 (12:09 +0100)]
Removes unnecessary closure and apply
jaubourg [Mon, 26 Nov 2012 10:49:20 +0000 (11:49 +0100)]
Greatly simplifies ajaxTest
Richard Gibson [Mon, 26 Nov 2012 08:20:43 +0000 (03:20 -0500)]
Fix #12959: Optimize library-wide patterns
jaubourg [Mon, 26 Nov 2012 02:31:19 +0000 (03:31 +0100)]
Total revamping of the ajax unit tests
Timo Tijhof [Sun, 25 Nov 2012 18:50:49 +0000 (19:50 +0100)]
Grunt: Rename TestSwarm job name pattern for PR. Close gh-1042.
More consistent with the other one:
Project Name <id_type> #id.
Corey Frang [Thu, 8 Nov 2012 06:02:14 +0000 (00:02 -0600)]
Fix #12803. Add jQuery.fx.start as a hook point. Close gh-1024.
Scott González [Thu, 8 Nov 2012 16:52:27 +0000 (11:52 -0500)]
Fix #12869. Zoom the body after support tests; avoids layout changes in IE8/9/10 in IE7 mode. Close gh-1025.
Dave Methvin [Sun, 25 Nov 2012 19:54:07 +0000 (14:54 -0500)]
Fix #12134. Make .serialize() HTML5-compliant; provide a propHook for shimming.
Richard Gibson [Fri, 23 Nov 2012 15:29:08 +0000 (10:29 -0500)]
No ticket: compress ajax. Close gh-1041.
Corey Frang [Sun, 25 Nov 2012 00:04:34 +0000 (18:04 -0600)]
Using the right matched param
Corey Frang [Sat, 24 Nov 2012 23:59:56 +0000 (17:59 -0600)]
Adding job name for pull request jobs coming from mergeatron
Dave Methvin [Sat, 24 Nov 2012 22:22:14 +0000 (17:22 -0500)]
Fix #12191. jQuery.type should return "error" for Error objects.
dcooper [Fri, 7 Sep 2012 18:12:24 +0000 (14:12 -0400)]
Fix #9960, allow manipulation for parent document nodes. Close gh-924.
Dave Methvin [Sat, 24 Nov 2012 21:03:57 +0000 (16:03 -0500)]
Fix #12733. Ignore excess spaciness in event strings.
Thanks @bentruyman!
Dave Methvin [Sat, 24 Nov 2012 20:25:54 +0000 (15:25 -0500)]
Close #10882. Test case for "hover" event in 1.9
Dave Methvin [Fri, 23 Nov 2012 20:03:55 +0000 (15:03 -0500)]
Fix #12868. Use native focus/blur to get event order right.
Dave Methvin [Wed, 21 Nov 2012 03:31:33 +0000 (22:31 -0500)]
Fix #3827. Get the correct checkbox status for a click handler.
Timo Tijhof [Thu, 22 Nov 2012 02:47:59 +0000 (21:47 -0500)]
Set async to true instead of async (prop vs. attr). Closes gh-1039
Richard Gibson [Wed, 21 Nov 2012 03:57:41 +0000 (22:57 -0500)]
Fix #12920: remove addMandatoryAttributes. Close gh-1037.
Richard Gibson [Mon, 19 Nov 2012 22:17:48 +0000 (17:17 -0500)]
fix Safari test failures
Richard Gibson [Mon, 19 Nov 2012 14:50:19 +0000 (09:50 -0500)]
Fix #11795, #10470: keep scripts in DOM; execute only on first insertion. Close gh-864.
Timo Tijhof [Sat, 17 Nov 2012 20:20:09 +0000 (21:20 +0100)]
Grunt: Set testswarm/browserSets from JSON file.
File on jq03.jquery.com is already updated.
aFarkas [Mon, 19 Nov 2012 01:48:49 +0000 (20:48 -0500)]
Fix #12915, add propHook for scrip src property on oldIE. Close gh-1035.
Dave Methvin [Sun, 18 Nov 2012 19:56:46 +0000 (14:56 -0500)]
Merge branch 'x8908'
Elijah Manor [Fri, 16 Nov 2012 03:20:07 +0000 (22:20 -0500)]
Fix #8908. Don't let change to originals affect clones in IE9/10. Close gh-886.
Richard Gibson [Fri, 16 Nov 2012 20:57:43 +0000 (15:57 -0500)]
update Sizzle
Dave Methvin [Fri, 16 Nov 2012 17:16:47 +0000 (12:16 -0500)]
Updating the version to 1.9.0pre.
Dave Methvin [Thu, 15 Nov 2012 02:09:12 +0000 (21:09 -0500)]
Revert "Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967"
This reverts commit
063ea024e945adbeefbf88578f8ba424ca8a0939 .
I've beaten on this for a while and can't find a suitable feature detect that catches Chrome's support for focusin.
Dave Methvin [Mon, 12 Nov 2012 03:49:17 +0000 (22:49 -0500)]
Fix #12777. Add applet to non-cacheable fragment types.
I don't want to add a unit test that creates a dependency on an applet.
Richard Gibson [Tue, 13 Nov 2012 02:06:16 +0000 (21:06 -0500)]
No ticket: speedup effects tests
Richard Gibson [Sat, 10 Nov 2012 04:43:46 +0000 (23:43 -0500)]
Fix #12858: don't expose jQuery/Sizzle expandos
Richard Gibson [Thu, 8 Nov 2012 15:05:10 +0000 (10:05 -0500)]
No ticket: speedup test suite. Close gh-1020.
Corey Frang [Thu, 8 Nov 2012 03:29:55 +0000 (21:29 -0600)]
Unroll the ( || ) in the math - Fixes #12497 - Thanks @lukemella @curiousdannii - Closes gh-1019
Corey Frang [Thu, 8 Nov 2012 03:11:16 +0000 (21:11 -0600)]
Rewriting unit test to be less sticky based on time issues
Corey Frang [Thu, 8 Nov 2012 02:45:03 +0000 (20:45 -0600)]
Fixing units
Corey Frang [Thu, 8 Nov 2012 01:23:24 +0000 (19:23 -0600)]
Keep track of a hiding state for toggle based animations - Fixes #8685
Closes gh-1018
Corey Frang [Thu, 8 Nov 2012 01:22:14 +0000 (19:22 -0600)]
Ensure each tick gets it's own fxNow - Fixes #12837 - Thanks @chadparry
Closes gh-1022
Closes gh-1021
Dave Methvin [Thu, 8 Nov 2012 00:42:10 +0000 (19:42 -0500)]
Remove APIs now in jquery-compat
Richard Gibson [Tue, 6 Nov 2012 14:53:00 +0000 (09:53 -0500)]
Restore jQuery.access parameter mistakenly removed in
80d45a69
Richard Gibson [Sat, 3 Nov 2012 04:06:50 +0000 (00:06 -0400)]
No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016.
Richard Gibson [Mon, 5 Nov 2012 22:21:24 +0000 (17:21 -0500)]
Fix #12840: remove undocumented parameter "pass" from .attr. Close gh-1017.
Richard Gibson [Fri, 2 Nov 2012 02:22:39 +0000 (22:22 -0400)]
Remove gratuitous punctuation
Dave Methvin [Fri, 2 Nov 2012 01:40:01 +0000 (21:40 -0400)]
Must attach the .selector to the new jQuery object.
Oleg [Fri, 2 Nov 2012 00:36:48 +0000 (04:36 +0400)]
Follow-up for .selector property removal
Dave Methvin [Fri, 2 Nov 2012 00:50:45 +0000 (20:50 -0400)]
Fix #10299. Add a propHook for oldIE link href.
Dave Methvin [Thu, 1 Nov 2012 23:48:21 +0000 (19:48 -0400)]
Remove unneeded parameter hockey in event shortcuts.
Dave Methvin [Thu, 1 Nov 2012 23:47:59 +0000 (19:47 -0400)]
Remove trailing comma to fix test lint.
Dave Methvin [Thu, 1 Nov 2012 21:51:34 +0000 (17:51 -0400)]
Fix #12828. Remove non-standard event properties.
Richard Gibson [Thu, 1 Nov 2012 21:32:08 +0000 (17:32 -0400)]
No ticket: remove test suite external dependencies
Dave Methvin [Thu, 1 Nov 2012 20:53:39 +0000 (16:53 -0400)]
Fix #12827. Remove exclusive event semantics from .trigger().
No unit tests were removed in the undoing of this feature. :sob:
Timo Tijhof [Thu, 1 Nov 2012 04:30:39 +0000 (05:30 +0100)]
Followup to gh-997, decode entities in test names. Close gh-1013.
Richard Gibson [Thu, 1 Nov 2012 04:40:27 +0000 (00:40 -0400)]
Fix testing of no-ajax custom builds
Richard Gibson [Thu, 1 Nov 2012 04:29:58 +0000 (00:29 -0400)]
Fix builds with partial ajax support (e.g., custom:ajax/xhr)
Dave Methvin [Thu, 1 Nov 2012 03:36:43 +0000 (23:36 -0400)]
Test case for #12816
Dave Methvin [Thu, 1 Nov 2012 02:43:04 +0000 (22:43 -0400)]
Fix #12816. Ensure .find() result are DOM ordered.
Dave Methvin [Wed, 31 Oct 2012 17:55:51 +0000 (13:55 -0400)]
Fix #10544. Remove deprecated .data() event namespaced triggering.
Data events were horribly slow, never documented, and caused strange interpretation of data items with dots in them.
Timo Tijhof [Wed, 31 Oct 2012 17:26:43 +0000 (18:26 +0100)]
No ticket: fix effects test failure in IE6. Close gh-1012.
Mike Sherov [Tue, 30 Oct 2012 17:32:53 +0000 (13:32 -0400)]
Fix #12009. $().find( DOMElement ) should pushStack properly. Close gh-927.
yiminghe [Mon, 22 Oct 2012 03:40:37 +0000 (11:40 +0800)]
Fix #12685. Handle inconsistent opacity for ie < 9. Close gh-1005.
Oleg [Fri, 28 Sep 2012 20:56:49 +0000 (00:56 +0400)]
Fix #10416. Don't trust computed styles on detached elements. Close gh-941.
Dave Methvin [Mon, 29 Oct 2012 02:53:32 +0000 (22:53 -0400)]
Update authors.
Timo Tijhof [Wed, 17 Oct 2012 08:33:47 +0000 (04:33 -0400)]
Implement expectation test instead of using _removeData. Close gh-997.
* Removed inline usage of QUnit.reset() because it is messing with the
expectation model as reset does .empty() which does a recursive cleanData
on everything in #qunit-fixture, so any expectJqData above .reset() would
fail negatively.
Instead of calling reset inline, either updated the following assertions to
take previous assertions' state into account, or broke the test() up into
2 tests at the point where it would call QUnit.reset.
* After introducing the new memory leak discovery a whole bunch of tests were
failing as they didn't clean up everything. However I didn't (yet) add
QUnit.expectJqData calls all over the place because in most if not all of
these cases it is valid data storage. For example in test "data()", there
will be an internal data key for "parsedAttrs". This particular test isn't
intending to test for memory leaks, so therefor I made the new discovery
system only push failures when the test contains at least 1 call to
QUnit.expectJqData.
When not, we'll assume that whatever data is being stored is acceptable
because the relevant elements still exist in the DOM anyway (QUnit.reset
will remove the elements and clean up the data automatically).
I did add a "Always check jQuery.data" mode in the test suite that will
trigger it everywhere. Maybe one day we'll include a call to everywhere,
but for now I'm keeping the status quo: Only consider data left in storage
to be a problem if the test says so ("opt-in").
* Had to move #fx-tests inside the fixture because ".remove()" test would
otherwise remove stuff permanently and cause random other tests to fail
as "#hide div" would yield an empty collection.
(Why wasn't this in the fixture in the first place?)
As a result moving fx-tests into the fixture a whole bunch of tests failed
that relied on arbitrary stuff about the document-wide or fixture-wide
state (e.g. number of divs etc.). So I had to adjust various tests to
limit their sample data to not be so variable and unlimited...
* Moved out tests for expando cleanup into a separate test.
* Fixed implied global variable 'pass' in effects.js that was causing
"TypeError: boolean is not a function" in *UNRELATED* dimensions.js that
uses a global variable "pass = function () {};" ...
* Removed spurious calls to _removeData. The new test exposed various failures
e.g. where div[0] isn't being assigned any data anyway.
(queue.js and attributes.js toggleClass).
* Removed spurious clean up at the bottom of test() functions that are
already covered by the teardown (calling QUnit.reset or removeClass to
supposedly undo any changes).
* Documented the parentheses-less magic line in toggleClass. It appeared that
it would always keep the current class name if there was any (since the
assignment started with "this.className || ...".
Adding parentheses + spacing is 8 bytes (though only 1 in gzip apparently).
Only added the comment for now, though I prefer clarity with logical
operators, I'd rather not face the yayMinPD[1] in this test-related commit.
* Updated QUnit urlConfig to the new format (raw string is deprecated).
* Clean up odd htmlentities in test titles, QUnit escapes this.
(^\s+test\(.*)(>\;) → $1>
(^\s+test\(.*)(<\;) → $1<
[1] jQuery MinJsGz Release Police Department (do the same, download less)
David Fox [Fri, 26 Oct 2012 16:38:05 +0000 (12:38 -0400)]
Fixes #12139, make sure absolutely positioned elements have HTML as offsetParent, closes gh-1010
Oleg [Fri, 26 Oct 2012 00:41:47 +0000 (20:41 -0400)]
Elements created from html strings have a parentnode. Fixes #12392
Rick Waldron [Thu, 25 Oct 2012 14:50:57 +0000 (10:50 -0400)]
Simplify tests for #12786, reduce to only those required to support the fix
Rick Waldron [Thu, 25 Oct 2012 12:46:53 +0000 (08:46 -0400)]
Less deep and more strict.
Daniel Gálvez [Sun, 19 Aug 2012 19:53:09 +0000 (21:53 +0200)]
Fix #11542. document.body should not be special in .offset() and document.documentElement is the default element.offsetParent. Close gh-899.
Dave Methvin [Wed, 24 Oct 2012 00:22:34 +0000 (20:22 -0400)]
Fix #9469. Remove semi-functional .selector property. Close gh-1006.
Saved 65 bytes.
Dave Methvin [Thu, 25 Oct 2012 02:25:08 +0000 (22:25 -0400)]
Add new authors and sort in commit order.
Rick Waldron [Wed, 24 Oct 2012 20:47:40 +0000 (16:47 -0400)]
Remove .hyphen property from tests (left behind in refactoring)
Rick Waldron [Wed, 24 Oct 2012 18:12:28 +0000 (14:12 -0400)]
Brute force property removal when removeData([a,b,c]). Fixes #12786
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Timmy Willison [Wed, 24 Oct 2012 14:31:22 +0000 (10:31 -0400)]
Sizzle: remove unneeded vars and POS regex (-22 bytes)
Dave Methvin [Wed, 24 Oct 2012 00:38:42 +0000 (20:38 -0400)]
Update authors.
Mike Sherov [Tue, 23 Oct 2012 23:21:49 +0000 (19:21 -0400)]
Add More New Contributors to AUTHORS.txt
Mike Sherov [Mon, 22 Oct 2012 17:28:51 +0000 (13:28 -0400)]
new JSHINT mixed spaces/tabs is smart enough to not warn on multiline comments, rendering smarttabs useless
Matthias Jäggli [Tue, 28 Aug 2012 13:26:06 +0000 (16:26 +0300)]
Fix #12411, .removeClass(undefined) is a chaining no-op. Close gh-913.
.removeClass() //removes all classes, as documented
.removeClass(window.nonExistentVariable) // removes nothing
Mike Sherov [Mon, 22 Oct 2012 00:55:26 +0000 (20:55 -0400)]
updated AUTHORS
Dave Methvin [Mon, 22 Oct 2012 00:19:51 +0000 (20:19 -0400)]
Missing semicolon.
Oleg [Sun, 21 Oct 2012 18:17:46 +0000 (22:17 +0400)]
Fix failing tests for beforeunload in Safari 5.0. Close gh-1002.
Mike Sherov [Sun, 21 Oct 2012 12:31:37 +0000 (09:31 -0300)]
Remove references to the Makefile from the README
Oleg [Tue, 14 Aug 2012 20:10:10 +0000 (00:10 +0400)]
Fix #12061. Avoid window.onbeforeunload to permit multiple handlers. Close gh-894.
Dave Methvin [Sun, 21 Oct 2012 02:18:29 +0000 (22:18 -0400)]
Remove deprecated $.uuid and dunseled $.deletedIds.
Marcel Greter [Thu, 19 Jul 2012 15:54:14 +0000 (17:54 +0200)]
Fix #12107. Let .proxy() curry args without overwriting context. Close gh-866.