aleclarson
7dfd3948a9
Add 'node-haste' roots
15.3.2
2017-03-16 21:58:43 -04:00
aleclarson
b3ebab438b
Add 'build.sh' script for easier rebuilds
2017-03-16 21:58:43 -04:00
aleclarson
0070ad353a
Implement multi-gesture support
...
`ResponderCache`
- Track active responders
- Provide `findAncestor` for getting active ancestor
`GestureCache`
- Group touches by their current target
- Active responders automatically capture touches inside descendants
- Each gesture has:
- `target: Number`
- `touchMap: {Number: Touch}`
- `changedTouches: [Touch]`
- `touchHistory: TouchHistory`
- Call `touchesChanged(...)` for every touch event
- Call `targetChanged(...)` for every grant/release event
`ResponderEventPlugin`
- Remove `responderInst` local variable in favor of `ResponderCache`
- Replace `changeResponder(...)` with `ResponderCache` methods
- Add `extractTouchEvents(...)` and call it for each changed gesture
- Remove `noResponderTouches(...)` in favor of gesture-specific `TouchHistory`
- Ignore native events without a `touches` array
- Increment/decrement `trackedTouchCount` by the number of `changedTouches`
- Add injectable `GlobalTouchHandler` to receive 'touchEnd' events
`TouchHistory`
- Previously known as the `ResponderTouchHistoryStore`
- No longer a singleton, because each gesture needs its own
`ReactNativeEventEmitter`
- Batch touch events since we handle all `changedTouches` at once
`ReactNativeGlobalResponderHandler`
- Support multiple JS responders
2017-03-16 21:58:43 -04:00
aleclarson
39ce13e9b3
[babel-plugin] Avoid circular dependency of 'object-assign' on itself
...
The 'transform-object-assign-require.js' plugin replaces usage of Object.assign with require('object-assign').
But it needs to make sure the current file is not 'object-assign' itself. Otherwise a circular dependency will be introduced.
2017-03-16 21:58:42 -04:00
aleclarson
6ed8e9d788
Revert "Compile to 'lib' instead of 'build/modules'"
...
This reverts commit 9eb86c14b4 .
2017-03-16 21:58:42 -04:00
aleclarson
9eb86c14b4
Compile to 'lib' instead of 'build/modules'
2016-09-19 21:44:51 -07:00
aleclarson
c7a4196413
Ignore 'docs' directory
2016-09-19 21:23:38 -07:00
aleclarson
4decc08e53
Revert test changes made in bb11639
2016-09-19 21:23:14 -07:00
aleclarsoniv
76a30ace67
[ResponderEventPlugin] Always dispatch 'responderTerminate' before 'responderGrant'
...
Since the 'grantEvent' is passed to 'executeDirectDispatch', it's currently handled before the 'terminateEvent'.
It makes more sense for the previous responder to handle its terminate event before the next responder handles its grant event.
2016-09-19 21:23:06 -07:00
Paul O’Shannessy
bdf263625d
15.3.2
v15.3.2
2016-09-19 10:35:00 -07:00
Paul O’Shannessy
8c7bbbfc21
Update Changelog & Readme for 15.3.2
2016-09-19 10:33:58 -07:00
Paul O’Shannessy
15631e02a2
Merge branch '15-dev' into 15-stable
2016-09-19 10:22:31 -07:00
Paul O’Shannessy
1907f72934
15.3.2-rc.1
2016-09-15 16:40:56 -07:00
Stephen John Sorensen
ba62748217
remove plain object warning ( #7724 )
...
(cherry picked from commit b2297ae6c3 )
2016-09-15 16:32:45 -07:00
tokikuch
224ace32be
BeforeInput is fired with a wrong text at a wrong time on IE ( #7107 )
...
(cherry picked from commit a64ca9b697 )
2016-09-15 16:32:45 -07:00
Brandon Dail
3ef748abb3
Use compositeType in warning invariant for refs ( #7658 )
...
(cherry picked from commit 06ea71d3fd )
2016-09-15 16:32:45 -07:00
Paul O’Shannessy
3f8b8d754c
Add more specific link to react-addons-shallow-compare readme ( #7608 )
...
(cherry picked from commit 2e38fcf355 )
2016-09-15 16:32:45 -07:00
Paul O’Shannessy
7a18e4e00b
Copy all SVG child nodes when using setting innerHTML in IE ( #7618 )
...
(cherry picked from commit c73d8633c3 )
2016-09-15 16:32:45 -07:00
Mateusz Burzyński
60ed71459c
Guarded ensureScrollValueMonitoring against some malicious script on the Internet overriding native document.createEvent ( fixes #6887 ) ( #7621 )
...
(cherry picked from commit 51476de913 )
2016-09-15 16:32:45 -07:00
Ben Alpert
7b39bbaa91
Improve error boundaries tests ( #7569 )
...
(cherry picked from commit 7d7defe30f )
2016-09-15 16:32:45 -07:00
Miller Medeiros
2927c4ce76
Add checkpoint/rollback to ReactNativeReconcileTransaction ( #7619 )
...
(cherry picked from commit 51f04fdbc1 )
2016-09-15 16:32:45 -07:00
Kevin Lin
3e47b3002b
Add 'as' keyword ( #7543 ) ( #7582 )
...
* Add 'as' keyword (#7543 )
* fix commenting to adhere to styling
* fix grammar in comment
(cherry picked from commit c85f46320e )
2016-09-15 16:32:45 -07:00
Marcin Mazurek
1bac6d567f
Warn if input changes controlledness - also for null ( #7544 ) ( #7603 )
...
(cherry picked from commit ba84b5b0a7 )
2016-09-15 16:32:45 -07:00
TedPowers
92cfbf16c2
Changed to !document.documentMode ( #7594 )
...
(cherry picked from commit 8397ef58db )
2016-09-15 16:32:45 -07:00
Miller Medeiros
b445b26164
Support error boundaries on ReactTestRenderer ( #7558 )
...
(cherry picked from commit 38f74bcaf4 )
2016-09-15 16:32:45 -07:00
Dan Abramov
832c503c92
Ensure lifecycle timers are stopped on errors ( #7548 )
...
* Ensure lifecycle timers are stopped on errors
Fixes #7349
* Address review feedback and add an extra test
(cherry picked from commit a229cdba7f )
2016-09-15 16:32:45 -07:00
Paul Kehrer
076d7fd63a
Add playsInline as an allowed HTML property ( #7519 )
...
The WHATWG has unprefixed `-webkit-playsinline` as `playsinline` (see: https://github.com/whatwg/html/pull/1444 ) and iOS 10 intends to use it (https://webkit.org/blog/6784/new-video-policies-for-ios/ ).
(cherry picked from commit 7b11aa9450 )
2016-09-15 16:32:45 -07:00
Lucas
3ed71070a3
Add missing KeyUp eventType ( #7533 )
...
Fixes #7222 .
(cherry picked from commit 869cb05b76 )
2016-09-15 16:32:45 -07:00
Greg Palmer
08dbefedc7
Avoid "Member not found" error in IE ( #7411 )
...
Explanation, discussion, and similar change as #7343
Addresses #7320
(cherry picked from commit a8741963dc )
2016-09-15 16:32:45 -07:00
Ben Alpert
4be377650e
Improve validateDOMNesting message for whitespace ( #7515 )
...
For #5071 .
(cherry picked from commit 6a65960641 )
2016-09-15 16:32:45 -07:00
Paul O’Shannessy
8898803b4a
Merge remote-tracking branch 'upstream/15-stable' into 15-dev
2016-09-15 16:31:58 -07:00
Kite
21f71d72f0
Fix the HTML for package management ( #7656 )
...
(cherry picked from commit ed8a753346 )
2016-09-06 15:35:57 -07:00
却痕
d79061e0c6
docs:translate doc 11-advanced-performance to chinese ( #7584 )
...
(cherry picked from commit 4c365ea957 )
2016-09-06 15:35:57 -07:00
Michael Jackson
d951c560e4
s/npmcdn/unpkg/g ( #7609 )
...
npmcdn.com is moving to unpkg.com. Same backend, one less letter in the
domain name. Boom.
(cherry picked from commit 9fd42264fe )
2016-09-06 15:35:57 -07:00
Duke Pham
6cf782b75c
Add line breaks to examples on 10.1-animation docs per ( #7606 )
...
comments to issue #7317 .
Updated JP doc examples to match other languages
Reformat to match JSX multi-line style #7550
(cherry picked from commit 3071f31d04 )
2016-09-06 15:35:57 -07:00
Robert Kielty
dca0f7315c
Adds minor additions clarifying questions I had reading intro tutorial ( #7595 )
...
(cherry picked from commit ee199381de )
2016-09-06 15:35:57 -07:00
Nik Nyby
0983d2dbcf
docs: re-position comments to account for code sample width ( #7602 )
...
(cherry picked from commit 9511b4fe29 )
2016-09-06 15:35:57 -07:00
Christophe Hurpeau
d90cbec236
doc: npm ls react is a better advice ( #7513 )
...
Refs Must Have Owner Warning
`npm ls react` is a better advice than `npm ls | grep react`
(cherry picked from commit 517a0dc051 )
2016-09-06 15:35:57 -07:00
NestorTejero
6e20d410bb
add explicit link to http://bower.io/ ( #7546 )
...
(cherry picked from commit 32e60fecdc )
2016-09-06 15:35:56 -07:00
Dan Abramov
b4f6460bff
Link to Create React App ( #7654 )
...
* Link to Create React App
* Reword
2016-09-03 18:14:00 +01:00
Paul O’Shannessy
199056cf1b
Update website for 15.3.1
2016-08-19 11:46:11 -07:00
Paul O’Shannessy
681c68c62a
15.3.1
v15.3.1
2016-08-19 11:42:05 -07:00
Paul O’Shannessy
cc41ec258f
Update readme for 15.3.1
2016-08-19 11:41:29 -07:00
Paul O’Shannessy
3c0906ca24
Update changelog for 15.3.1
2016-08-19 11:40:07 -07:00
Paul O’Shannessy
60a3655469
Merge branch '15-dev' into 15-stable
2016-08-19 11:39:36 -07:00
Paul O’Shannessy
15df676d2e
Update deps and re-shrinkwrap
2016-08-19 11:24:43 -07:00
Paul O’Shannessy
e5276bbbe7
regenerate error codes
2016-08-19 10:49:42 -07:00
Paul O’Shannessy
12ab5baff4
Upgrade to fbjs v0.8.4 ( #7532 )
...
(cherry picked from commit 944be18357 )
2016-08-19 10:46:22 -07:00
Alexandre Kirszenberg
f120c1b78e
Fix ReactTestInstance::toJSON() with empty top-level components ( #7523 )
...
(cherry picked from commit 9f5b009f05 )
2016-08-19 10:45:06 -07:00
ventuno
421bb8c53a
Warn if using React.unmountComponentAtNode on a different React instance's tree. ( #7456 )
...
* Warn when using React.unmountComponentAtNode on a different React instance's tree
https://github.com/facebook/react/issues/3787
* Adding tests.
* Implementing recommended changes.
https://github.com/facebook/react/issues/3787
(cherry picked from commit a9e681a828 )
2016-08-19 10:45:06 -07:00