Commit Graph
8527 Commits
Author SHA1 Message Date
Dominic Gannaway dad841e2b6 Merge branch 'rollup' of github.com:trueadm/react into rollup 2017-03-31 14:04:57 +01:00
Dominic Gannaway a449c15ba7 added test_build.sh back in 2017-03-31 14:04:48 +01:00
Dominic Gannaway 4da9ea594e removed gulp-extract-errors 2017-03-31 14:01:20 +01:00
Dan Abramov eb265f3397 Fix lint 2017-03-31 13:59:06 +01:00
Dominic Gannaway c13c82ee87 configured circleci to use new paths 2017-03-31 13:52:40 +01:00
Dominic Gannaway 373f812663 Merge branch 'rollup' of github.com:trueadm/react into rollup 2017-03-31 13:46:14 +01:00
Dominic Gannaway 16fc8d24f4 removed gulp and grunt and moved tasks to standalone node script 2017-03-31 13:46:09 +01:00
Dan Abramov 89199ac872 Fix flow issues 2017-03-31 13:42:26 +01:00
Dan Abramov 0017318cb8 Merge branch 'master' into rollup 2017-03-31 13:34:14 +01:00
Nathan HunzakerandDan Abramov 27c844905f Remove scroll capture support warning (#9303)
I removed the scroll capture feature check for IE8, however I missed
the associated warning.
2017-03-31 11:36:08 +01:00
Nathan HunzakerandDan Abramov bd2802523c Remove viewport metrics, other pageX/pageY behaviors (#9290)
* Remove viewport metrics

event.pageX and event.pageY are in every browser React supports.

* Rerecord tests
2017-03-31 02:20:57 +01:00
Andrey MarchenkoandBrandon Dail 5ad1c76386 Deleted a specific code for ie8 - document.selection (#9298) 2017-03-30 19:00:12 -05:00
Brian VaughnandGitHub 76c5c6deb5 Disabling a no-unreachable lint error (#9300) 2017-03-30 16:40:45 -07:00
Brian VaughnandGitHub 4f69474e03 Added explicit null return to completeUnitOfWork() to resolve Flow error (#9299) 2017-03-30 15:45:13 -07:00
Brian VaughnandGitHub 224487a0e2 Show more meanignful stack trace for ReactNative errors (#9291)
* Show more meanignful stack trace for ReactNative errors

Clicking on the stack should jump to where the error actually occurred rather than to where it's logged in a redbox component.

* Made showDialog() return type stricter. Added mock and Flow types for ExceptionManager

* Prettier

* Handle null/string thrown errors

* Removed unused reference to emptyFunction
2017-03-30 15:15:33 -07:00
Nathan HunzakerandSebastian Markbåge b8857d4f27 Remove captured focus feature check (#9285)
IE8 was the only browser that did not support captured focus. We no
longer have that constraint.
2017-03-30 13:47:14 -07:00
Brian VaughnandGitHub 004c937cb0 Move takeSnapshot from UIManager to ReactNative renderer(s) (#9292)
* Move takeSnapshot from UIManager to ReactNative renderer(s)

* Prettier
2017-03-30 13:10:15 -07:00
Dominic Gannaway 794e0b908e moved around plugin order to try and fix deadcode requires as per https://github.com/rollup/rollup/issues/855 2017-03-30 20:31:17 +01:00
Dominic Gannaway 589305637a per bundle property mangling added 2017-03-30 18:08:17 +01:00
Brandon DailandGitHub 8d6d3e8c05 Update JSFiddle for issue template (#9289) 2017-03-30 11:43:16 -05:00
Dominic Gannaway e1fbc7a39d Merge branch 'rollup' of github.com:trueadm/react into rollup 2017-03-30 17:26:59 +01:00
Dominic Gannaway 221b611070 added basic mangle support (disbaled by default) 2017-03-30 17:26:52 +01:00
Brandon DailandDan Abramov 686010037d Remove IE8-specific setInnerHTML behavior (#9288)
Since IE8 is not supported anymore, lets save those bytes!
2017-03-30 17:24:58 +01:00
Nathan HunzakerandBrandon Dail dbeb37fe69 Add DOM fixture for unmasking passwords (#9269)
IE11 and Edge have a password unmask field that React prevents the
display of for controlled inputs. This commit adds DOM fixture
coverage for this test case.
2017-03-30 10:16:36 -05:00
Damian NicholsonandDan Abramov 0c70fb8b18 Added semicolons to addons imports examples. (#9287) 2017-03-30 15:55:27 +01:00
Ben AlpertandGitHub e57ad7f51e Allow returning null as host context (#9278)
If your renderer doesn't use host context, you might prefer to return null. This used to give an error:

> Invariant Violation: Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.

I use a sentinel value instead now.

The code in ReactFiberHostContext is a little complicated now. We could probably also just remove the invariants.
2017-03-30 13:18:39 +01:00
Nathan HunzakerandDan Abramov 4c292facc9 Remove captured scroll feature check (#9283)
* Remove captured scroll feature check

IE8 was the only browser that did not support captured scroll. We no
longer have that constraint.

* Remove WINDOW_HANDLE const
2017-03-30 11:01:29 +01:00
Brandon DailandGitHub 9a93be0b33 Remove IE8-specific ChangeEventPlugin logic (#9281) 2017-03-29 17:37:56 -05:00
Dan Abramov d86e827de1 Ensure requires stay at the top 2017-03-29 18:37:47 +01:00
Dan Abramov 7e7ca633b5 Remove TEST env 2017-03-29 17:20:23 +01:00
Brandon DailandGitHub da91e9ebe9 Add DOM fixtures for disabled button click events (#9271) 2017-03-29 11:17:54 -05:00
Dominic Gannaway 272a6d4cb0 adds -test to provides module name 2017-03-29 16:52:40 +01:00
Dominic Gannaway ee37df120b allows both ReactCurrentOwner and react/lib/ReactCurrentOwner 2017-03-29 16:50:50 +01:00
Dominic Gannaway 33fa7c3e6f adds a FB_TEST bundle 2017-03-29 16:43:11 +01:00
Dominic Gannaway 0e0bb5ae74 added a WIP solution for ReactCurrentOwner on FB DEV 2017-03-29 16:06:09 +01:00
Dominic Gannaway 024881150e fixed an issue with stubbed modules not properly being replaced due to greedy replacement 2017-03-29 14:50:06 +01:00
Dominic Gannaway 99df11dfcb Merge branch 'rollup' of github.com:trueadm/react into rollup 2017-03-29 14:12:19 +01:00
Dominic Gannaway 1ed2b030f2 Fixes Jest so it run tests correctly 2017-03-29 14:12:07 +01:00
Dan Abramov 77add81e28 Merge branch 'master' into rollup 2017-03-29 13:59:44 +01:00
Dominic GannawayandGitHub 09f0a5ded9 Merge pull request #9276 from trueadm/getDeclarationErrorAddendum_DEV
[Fiber] Adds DEV condition around getDeclarationErrorAddendum
2017-03-29 13:55:04 +01:00
Dominic Gannaway 660306982c added DEV condition around getDeclarationErrorAddendum contents 2017-03-29 13:49:30 +01:00
Dominic Gannaway 28e9cb240f fixed fixtures and updated cjs/umd paths 2017-03-29 13:00:00 +01:00
Dominic Gannaway 607b021d49 added external babel helpers plugin 2017-03-29 11:42:07 +01:00
Sasha AickinandBen Alpert aaabd655a6 Added jest-cli to the package.json for the Fiber record-tests script. (#9270) 2017-03-28 22:55:22 +01:00
Brian VaughnandGitHub a749f4fb63 Adding fix to EventPropagators that was accidentally omitted from PR #9219 (#9274) 2017-03-28 11:24:13 -07:00
Brian VaughnandGitHub fca5d3ffc5 Added missing @flow annotation to ReactNativeFeatureFlags file (#9267) 2017-03-27 14:59:37 -07:00
Andrew Clark 090efbdb17 Merge branch 'giamir-add_toggle_to_fiber_triangle_demo' 2017-03-27 12:48:39 -07:00
Andrew Clark f6a64cad5d Use radio buttons for toggle 2017-03-27 12:48:05 -07:00
Andrew Clark ef9dac518f Merge branch 'add_toggle_to_fiber_triangle_demo' of https://github.com/giamir/react into giamir-add_toggle_to_fiber_triangle_demo 2017-03-27 11:46:59 -07:00
Dominic Gannaway f79b32a6af keeps comments in prod 2017-03-27 19:21:07 +01:00