Commit Graph

5790 Commits

Author SHA1 Message Date
Richard Gibson
ca49ef98d5 Ref gh-1117: Use native push for size and performance 2013-01-09 10:11:33 -05:00
Oleg
8e6c1ba92f Ref gh-1117: Don't stop on a falsy value in buildFragment. Close gh-1124. 2013-01-09 09:52:01 -05:00
nanto
2f6b3f818f Propagate context of returned deferred object in Deferred.then(). Fixes #13160. 2013-01-08 16:37:50 +01:00
jaubourg
18c376a5bd Adjusts unit test regarding exception in injected scripts so that it accounts for the exception being thrown in an event loop for remote scripts 2013-01-08 14:04:00 +01:00
jaubourg
7cc629d097 Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument 2013-01-08 11:15:36 +01:00
jaubourg
d4e666d475 strengthens and dries 304 unit tests 2013-01-08 11:07:18 +01:00
Corey Frang
ce426c5d69 Adding some more test coverage for .finish() 2013-01-08 03:33:27 -06:00
jaubourg
ed6209e8b2 Tweaks the logic in the 304-related unit tests so that they pass for versions of Opera that support manual 304 handling as well as for those that don't 2013-01-08 10:10:18 +01:00
Oleg
57d9dcd4a0 Use while loop instead of for 2013-01-08 02:41:25 +00:00
Oleg
58b4994f56 Always use core_push in jQuery.buildFragment 2013-01-08 02:41:21 +00:00
Oleg
6d2ae92fe4 Change test description 2013-01-08 02:41:18 +00:00
Oleg
c9bf5c5e90 Bring back jQuery.buildFragment and remove jQuery.clean 2013-01-08 02:41:15 +00:00
Oleg
054daa20af Ref #8908. Update IE9 css clone fix. Close gh-1119. 2013-01-08 02:08:47 +00:00
Oleg
9434060722 Simplify .wrapAll() and fix style. Close gh-1116. 2013-01-08 01:35:55 +00:00
Corey Frang
b6abb31df4 Fix #13103. Add .finish() method. Close gh-1118. 2013-01-08 01:19:25 +00:00
nanto_vi
412d910697 Eliminate redundancy of Deferred.then(). 2013-01-08 01:03:38 +09:00
jaubourg
62acda819f Adds the abort on unload trick back in since IE9 still exhibits the bug 2013-01-07 10:34:14 -05:00
jaubourg
f6df0301c8 Fixes comments per @rwldrn. Makes sure failing requests from local protocol yields status 404, not 0. 2013-01-07 10:34:11 -05:00
jaubourg
17049c73bc 2.0: reduced xhr transport 2013-01-07 10:34:07 -05:00
nanto_vi
e7fdda9819 Propagete context of returned deferred object in Deferred.then(). Fixes #13160 2013-01-07 02:49:15 +09:00
Dave Methvin
c61150427f Fix #13143. Event target cannot be a text node.
Check removed in the initial 2.0 refactor but Chrome still needs it. No effective way to unit test; see the test case in #13143.
2013-01-06 10:25:02 -05:00
Dave Methvin
d2a51f0e44 Allow build to continue with --force on bad line endings. 2013-01-06 10:03:59 -05:00
Dave Methvin
b760d798d3 Fix #12471. Use consistent line endings in jquery.js 2013-01-06 09:55:51 -05:00
Dave Methvin
c0241a47e2 Ref #12945, IE9/10 still needs safe .getAttribute check. 2013-01-04 22:29:27 -05:00
Dave Methvin
e9ab6a74d4 Fix #12945. Check for .getAttribute so IE9 is happy. 2013-01-04 17:35:01 -05:00
Zachary Adam Kaplan
8ac7fa71b5 Use new version of grunt-contrib-watch. Close gh-1106.
Previous versions of grunt-contrib-watch did not support editors that used safe-writes (vim, etc..).
2013-01-03 21:27:22 -05:00
Dave Methvin
1e5b14a131 Remove appendChecked detect and stranded markup. 2013-01-03 20:57:00 -05:00
Dave Methvin
9a32f12bdf Remove oldIE styleFloat detect. 2013-01-03 20:56:02 -05:00
Dave Methvin
cef3450228 Remove noCloneEvent detects and white-box unit test. 2013-01-03 20:55:59 -05:00
Dave Methvin
4ee1b03c54 Remove oldIE submit/change bubble detects. 2013-01-03 20:55:56 -05:00
Dave Methvin
11e6a66002 Remove deleteExpando detect. 2013-01-03 20:55:52 -05:00
Dave Methvin
aa529696fb Remove inlineBlockNeedsLayout and shrinkWrapBlocks. 2013-01-03 20:52:38 -05:00
Dave Methvin
02d7f9aee3 Remove support.reliableHiddenOffsets detect. 2013-01-03 20:52:35 -05:00
Dave Methvin
3d9edb32bc Remove stranded support.js checks for oldIE. 2013-01-03 20:52:31 -05:00
Dave Methvin
445dbd9d95 Revert data.js rewrite.
Reverts the following commits:

commit f717226b3a
Author: Rick Waldron <waldron.rick@gmail.com>
Date:   Mon Dec 31 18:06:38 2012 -0500

Only splice from internal arrays when item actually exists.

commit b9cdc4136b
Author: Rick Waldron <waldron.rick@gmail.com>
Date:   Mon Dec 31 16:20:35 2012 -0500

Updates to data.js re-write to pass events and manipulation

commit d1de3000c6
Author: Rick Waldron <waldron.rick@gmail.com>
Date:   Mon Dec 31 15:09:45 2012 -0500

2.0: Rewrite data.js
2013-01-03 20:43:01 -05:00
Dave Methvin
0d540c3750 Happy New Year! It's 2013. 2013-01-03 17:41:18 -05:00
Dave Methvin
b0e40a4fd3 Update README to include grunt-cli step. 2013-01-02 14:15:33 -05:00
Rick Waldron
f717226b3a Only splice from internal arrays when item actually exists.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 18:06:38 -05:00
Rick Waldron
b9cdc4136b Updates to data.js re-write to pass events and manipulation (full pass in local test runs)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 16:23:20 -05:00
Rick Waldron
d1de3000c6 2.0: Rewrite data.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 16:23:20 -05:00
Dave Methvin
e1dcf96b52 Use a fresh input for the value-lossage check. 2012-12-31 15:17:24 -05:00
Dave Methvin
f75c0627f2 Restore optSelected hack still needed by IE9/10 2012-12-31 14:32:58 -05:00
Rick Waldron
747dd8c042 Remove invalid test "jQuery.getJSON() - Using Native JSON" from test/unit/ajax.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 13:31:03 -05:00
Rick Waldron
6d1080114d Merge branch '2.0-core' of https://github.com/rwldrn/jquery
* '2.0-core' of https://github.com/rwldrn/jquery:
  Explanations for each step of isPlainObject
  obj === Object(obj) comparison is an unnecessary artifact from refactoring
  Ensure that null/undefined args don't choke on native indexOf
  Further reduction, thanks @dcherman
  Straightforward support note
  Straightforward support note
  Remove setTimeout for body existance
  2.0: Reduce globalEval
  2.0: Reduced parseXML
  2.0: Reduce isPlainObject
  2.0: Remove isArray shim
  2.0: Remove now shim
  2.0: Remove inArray shim
  2.0: Remove JSON.parse shim
  2.0: Remove trim shim
  2.0: Removes attachEvent paths for jQuery.ready()
2012-12-31 13:28:04 -05:00
Rick Waldron
57b268e60f Merge branch 'event20' of https://github.com/dmethvin/jquery
* 'event20' of https://github.com/dmethvin/jquery:
  Clean up comments, including browser support levels.
  Remove try/catch around focus events needed by oldIE.
  Remove obsolete event object fixups.
  Remove oldIE proprietary event methods/properties.
  Remove oldIE change and submit special-event code.
2012-12-31 13:26:28 -05:00
Rick Waldron
dc93f8cbb5 Merge branch '2.0-manipulation' of https://github.com/orkel/jquery
* '2.0-manipulation' of https://github.com/orkel/jquery: (51 commits)
  Rename fixCloneNodeIssues helper to fixInput Move support comment
  Add tests for th element
  Add empty line
  Add more tests for wrapMap
  Add test for td append
  wrapMap.col = wrapMap.tr
  wrapMap.thead = wrapMap.tr Add support comments
  Rewrite tests for colgroup, caption Add tests for thead, tbody, tfoot
  Remove fix for #11280
  Remove fieldset from wrapMap
  Add comments for optgroup and option elements in wrapMap Add tests for optgroup element
  Remove fix for #4484, add more tests
  Use tabs instead of spaces
  Simplify getAll helper
  Simplify check for non-Elements
  Remove fix for object element
  Save 43 bytes
  Use common loop iteration idiom
  Remove fix for #9587
  Use correct comments
  ...
2012-12-31 13:26:28 -05:00
Rick Waldron
a205aac7f0 Merge branch '2.0-attributes-rebased'
* 2.0-attributes-rebased:
  2.0: Remove getSetAttribute and getSetInput and oldIE attroperties hooks
  Resolved conflict
  2.0: Remove style->cssText attroproties fallback
  Remove outdated support tests
  2.0: Remove support.optSelected
  2.0: Remove oldIE enctype propFix
2012-12-31 13:26:27 -05:00
Rick Waldron
7539ba5a1e Merge branch 'css2' of https://github.com/dmethvin/jquery
* 'css2' of https://github.com/dmethvin/jquery:
  2.0: Reduce css.js
2012-12-31 13:26:27 -05:00
Rick Waldron
5f5d2e55f7 Merge branch '2.0-traversing' of https://github.com/orkel/jquery
* '2.0-traversing' of https://github.com/orkel/jquery:
  Code style
  Reduce traversing module
2012-12-31 13:26:26 -05:00
Timmy Willison
3f66e928c8 2.0: Remove getSetAttribute and getSetInput and oldIE attroperties hooks 2012-12-31 13:23:32 -05:00