]>
source.dussan.org Git - jquery.git/log
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.
Oleg Gaidarenko [Sun, 21 Oct 2012 01:24:07 +0000 (21:24 -0400)]
Alternate fix for #11426; check responseText. Close gh-843.
Rick Waldron [Sun, 21 Oct 2012 01:02:01 +0000 (21:02 -0400)]
Don't expose jQuery.deletedIds. Close gh-889.
Sai Wong [Mon, 15 Oct 2012 18:20:36 +0000 (14:20 -0400)]
Fix #12048. Set attributes for XML fragments. Close gh-965.
Jonathan Sampson [Thu, 11 Oct 2012 18:30:51 +0000 (15:30 -0300)]
Fix attribute names in aliased form property test. Close gh-951.
Test expects input elements having name='id', name='name', and name='target'. Additionally, these should have id='id', id='name', and id='target' respectively. No element was provided with id='id' or name='id', but rather one element had two name attributes (illegal) with the values 'id' and 'name' respectively.
Merrifield, Jay [Mon, 15 Oct 2012 15:54:32 +0000 (11:54 -0400)]
Fixes #12518, removes an offsetWidth on focus/blur events for an <IE9 bug that caused a performance hit. Closes gh-958
Mike Sherov [Sat, 20 Oct 2012 17:46:11 +0000 (13:46 -0400)]
adding awesome new contributors to AUTHORS.txt
Sai Wong [Sat, 20 Oct 2012 14:01:31 +0000 (10:01 -0400)]
Fix #12610, remove unneeded window.event. Close gh-968.
Richard Gibson [Fri, 19 Oct 2012 21:08:50 +0000 (17:08 -0400)]
Fix #4262: faster .eq(), closes gh-1000.
Dave Methvin [Sat, 20 Oct 2012 01:59:33 +0000 (21:59 -0400)]
Combine parseJSON tests and fix style.
We only care about the result of parseJSON so there's no reason to feature detect the entire test.
Dave Methvin [Fri, 19 Oct 2012 21:18:33 +0000 (17:18 -0400)]
Followup for #12751, only test on browsers with JSON.parse
Allen J Schmidt Jr [Tue, 16 Oct 2012 00:22:19 +0000 (20:22 -0400)]
Fix #12739. Keep namespace when triggering with an Event. Close gh-972.
Julian Aubourg [Fri, 19 Oct 2012 08:13:41 +0000 (01:13 -0700)]
Merge pull request #998 from jquery/strict
jaubourg [Fri, 19 Oct 2012 08:09:52 +0000 (10:09 +0200)]
@mikesherov says `strict` is redundant when `node` is already there
jaubourg [Thu, 18 Oct 2012 04:50:01 +0000 (00:50 -0400)]
adds strict rule to jshint options (except for test files). "use strict" is added to the main jQuery closure and some "could-be-unsafe" `this` trickery in effects is silenced.
James Huston [Tue, 16 Oct 2012 18:51:54 +0000 (14:51 -0400)]
Fix #12751. Ensure parseJson throws in the same situations as JSON.parse. Close gh-993.
Richard Gibson [Wed, 17 Oct 2012 19:20:15 +0000 (15:20 -0400)]
no ticket: fix jQuery suite failure on Android
Merrifield, Jay [Mon, 15 Oct 2012 19:16:11 +0000 (15:16 -0400)]
Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967
Mike Sherov [Wed, 17 Oct 2012 18:51:58 +0000 (14:51 -0400)]
fix failing offset tests
Rick Waldron [Wed, 17 Oct 2012 17:47:47 +0000 (13:47 -0400)]
Update grunt-compare-size to 0.2.0
Merrifield, Jay [Wed, 17 Oct 2012 17:40:52 +0000 (13:40 -0400)]
Fixes #12749, correctly detect position() for position:fixed elements, closes gh-991
Roland Eckl [Wed, 17 Oct 2012 07:29:21 +0000 (09:29 +0200)]
Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on Windows operating systems. closes gh-996
Mike Sherov [Wed, 17 Oct 2012 16:50:12 +0000 (12:50 -0400)]
no ticket: remove and enforce unused vars in jshint
Rick Waldron [Wed, 17 Oct 2012 16:50:10 +0000 (12:50 -0400)]
Don't be so picky about path separators
Timmy Willison [Tue, 16 Oct 2012 21:28:57 +0000 (17:28 -0400)]
Update Sizzle: fixes failing tests in traversing (FF, Opera, Safari)
Erick Ruiz de Chavez [Tue, 16 Oct 2012 21:25:20 +0000 (17:25 -0400)]
Style nit in test/unit/callbacks.js. Closes gh-992
Tom Fuertes [Tue, 16 Oct 2012 21:19:36 +0000 (17:19 -0400)]
Update README.md - grunt *update_*submodules
Sai Wong [Tue, 16 Oct 2012 20:50:30 +0000 (16:50 -0400)]
Refactored before/after/replaceWith to not pushStack. Fixes #12664, closes gh-987
Timmy Willison [Tue, 16 Oct 2012 20:45:50 +0000 (16:45 -0400)]
Update package.json for update submodules
Erick Ruiz de Chavez [Tue, 16 Oct 2012 20:43:30 +0000 (16:43 -0400)]
Enforce style in test/unit/callbacks.js. https://github.com/jquery/2012-dev-summit/issues/56
Timmy Willison [Tue, 16 Oct 2012 20:42:06 +0000 (16:42 -0400)]
Sizzzzzzllllleeeee
jaubourg [Tue, 16 Oct 2012 20:08:13 +0000 (16:08 -0400)]
Uses an additive approach to generating anti-cache parameters rather than a timestamp. Fixes #12550
Timmy Willison [Tue, 16 Oct 2012 19:23:03 +0000 (15:23 -0400)]
Update Sizzle: <3 reverts
Dave Methvin [Tue, 16 Oct 2012 19:15:00 +0000 (15:15 -0400)]
Merge branch 'master' of github.com:jquery/jquery
Daniel Galvez [Tue, 16 Oct 2012 18:59:36 +0000 (14:59 -0400)]
Fix #11280. IE6-8 need name attribute to parse param. Close gh-914.
Rick Waldron [Tue, 16 Oct 2012 19:06:51 +0000 (15:06 -0400)]
Fixes busted indents. Sorry folks
Richard Gibson [Tue, 16 Oct 2012 19:02:26 +0000 (15:02 -0400)]
update sizzle for test failures
Rick Waldron [Tue, 16 Oct 2012 19:01:59 +0000 (15:01 -0400)]
Replace unknown, mysterious html arg to replaceWith(fn...), with just the current node.
Greg Lavallee [Tue, 16 Oct 2012 18:36:47 +0000 (14:36 -0400)]
Fixes #12736. Move hover event hack to deprecated.js for removal in 1.9. Closes gh-982.
Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
Rick Waldron [Tue, 16 Oct 2012 18:14:09 +0000 (14:14 -0400)]
Convert all jQuery.removeData(foo, bar, true) calls to jQuery._remove(foo, bar)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Timmy Willison [Tue, 16 Oct 2012 17:28:57 +0000 (13:28 -0400)]
Sizzle was accidentally reverted