Donald Wong
428f76d8a2
Reverting D2475270
2015-09-24 14:11:42 -07:00
Martin Konicek
a3e6afe137
Merge pull request #3006 from foghina/merge_yo_tests
...
[cli] merge yeoman tests into one file to avoid concurrenct issues with jest
2015-09-24 21:43:17 +01:00
Christoph Pojer
252c12c353
Update to 0.5.8
...
Reviewed By: @vjeux
Differential Revision: D2475270
2015-09-24 10:58:32 -07:00
Martin Konicek
dfbee9f558
add dropped frame count to FPS overlay
...
Differential Revision: D2476082
committer: Service User <svcscm@fb.com>
2015-09-24 10:22:40 -07:00
Martin Konicek
bdb11c05a8
Update README.md
2015-09-24 17:18:29 +01:00
Felix Oghină
5cd64a658d
[cli] merge yeoman tests into one file to avoid concurrenct issues with jest
2015-09-24 17:02:43 +01:00
Andrei Coman
a37d0f9c20
Dirty hack to consume enter key
...
Differential Revision: D2475863
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:26 -07:00
Andrei Coman
c1e3f9100e
Fix SQL errors caused by huge operations
...
Differential Revision: D2475717
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:23 -07:00
Martin Bigio
eee11eaeed
Log server state when client is unexpetedly closed
...
Reviewed By: @javache
Differential Revision: D2473036
2015-09-24 08:20:20 -07:00
Krzysztof Magiera
5623c831b3
Introducing view property annotation.
...
Differential Revision: D2475680
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:17 -07:00
Krzysztof Magiera
6c3fb77f30
Static type check for int params + migrate colorInt to just int.
...
Differential Revision: D2475618
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:14 -07:00
James Ide
944fa4d635
Suppress warning when checking for JSGlobalContextSetName
...
Summary: This API is defined only on iOS 8 and newer. There is a warning that the function is defined when checking if it exists since it is always defined in the iOS 8 SDK but not necessarily on iOS 7 phones. Use pragmas to silence the warning.
Closes https://github.com/facebook/react-native/pull/2475
Reviewed By: @trunkagent, @vjeux
Differential Revision: D2443432
Pulled By: @tadeuzagallo
2015-09-24 08:20:11 -07:00
Andrei Coman
33cc607c1f
AsyncStorage improvements
...
Differential Revision: D2475604
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:08 -07:00
James Ide
7615d74d14
Check self.isValid in RCTBatchedBridge after initial script evaluation
...
Summary: I noticed that sometimes the batched bridge would be valid before `[self enqueueApplicationScript:url:onComplete:]` but then become invalid in the completion callback. This diff checks `self.isValid` inside of the callback.
Closes https://github.com/facebook/react-native/pull/2016
Reviewed By: @trunkagent, @jspahrsummers
Differential Revision: D2443438
Pulled By: @tadeuzagallo
2015-09-24 08:20:05 -07:00
Jan Kassens
974ec059e8
Fix for displayName transform
...
Summary: The `react.displayName` transform was added in 93b9329b758cde3e921b26e11ba91d9700d2a06d.
That diff missed to update the `.babelrc` where the comment says it should stay
in sync (I'm not sure where it's used though). I added a comment in the other
direction so this can be prevented in the future.
I also updated the `cacheVersion` so we actually transform the code again to add
the missing displayName properties to unchanged components.
Closes https://github.com/facebook/react-native/pull/2905
Reviewed By: @vjeux
Differential Revision: D2473447
Pulled By: @kassens
2015-09-24 08:20:02 -07:00
Jason Brown
74f467b00a
Add skewX and skewY to the transform style options
...
Summary: Closes https://github.com/facebook/react-native/pull/2652
Reviewed By: @trunkagent, @svcscm
Differential Revision: D2437758
Pulled By: @vjeux
2015-09-24 08:19:59 -07:00
oveddan
8db35d492b
Have the chrome debugger run javascript within a web worker, to remove the global document.
...
Summary: To make the chrome debugger environment consisten with the JSC executer environment,
where there is no `window.document`, make the chrome debugger run the javascript inside a web worker.
This fixes #1473
Closes https://github.com/facebook/react-native/pull/1632
Reviewed By: @martinbigio
Differential Revision: D2471710
Pulled By: @vjeux
2015-09-24 08:19:55 -07:00
Hedger Wang
200d9af315
Add method stopPropagation
and stop
to NavigationEvent
...
Summary: @public
Add method `stopPropagation` and `stop` to NavigationEvent so we can stop event easily once event bubbling and capturing is supported.
Reviewed By: @fkgozali
Differential Revision: D2471903
2015-09-24 08:19:52 -07:00
Martin Konicek
a0ccebc460
Update GettingStarted.md
2015-09-24 15:18:42 +01:00
Aaron Chiu
a7dd4f09b5
Merge pull request #2902 from morenoh149/fixGrammarNativeModulesAndroid
...
Fix Grammar
2015-09-24 14:15:43 +01:00
Aaron Chiu
e55b5a0e37
Merge pull request #2901 from morenoh149/fixTypoKnownIssues
...
Fix typo
2015-09-24 14:14:19 +01:00
Felix Oghină
9f1ff48458
Merge pull request #3000 from foghina/fix_yeoman_tests
...
[cli] use different names in generator tests
This should fix #2974
2015-09-24 13:57:12 +01:00
Felix Oghină
2dcb06949a
[cli] use different names in generator tests
2015-09-24 13:54:01 +01:00
Martín Bigio
51917f6cd9
Add portfinder dev dependency
...
Reviewed By: @vjeux
Differential Revision: D2468120
2015-09-23 19:29:40 -07:00
Jordan Byron
4c366d0bcb
Remove duplicate PanResponderExample and update docs
...
Summary: While looking at the [pan responder docs](https://facebook.github.io/react-native/docs/panresponder.html#working-example ) I noticed they linked to `ResponderExample` rather than `PanResponderExample` and that `ResponderExample ` defined `NavigatorIOSExample` which was odd. This PR just kills `ResponderExample` and updates the link in the docs. :bowtie:
Closes https://github.com/facebook/react-native/pull/1743
Reviewed By: @svcscm
Differential Revision: D2468010
Pulled By: @vjeux
2015-09-23 19:29:35 -07:00
Alex Kotliarskyi
390649ab4e
Support tintColor for managed image assets
...
Reviewed By: @nicklockwood
Differential Revision: D2443089
2015-09-23 19:29:30 -07:00
Charlie Cheever
dc7681e946
Also call the original console
methods if they exist
...
Summary: Ex. When `console.log` or similar is called, this will call
the original method, which can be quite useful.
For example, under iOS, this will log to the Safari console debugger,
which has an expandable UI for inspecting objects, etc., and is also
just useful if you are using that as a REPL.
I don't believe this incurs a meaningful performance penalty unless
the console is open, but it would be easy to stick behind a flag
if that is a problem.
Closes https://github.com/facebook/react-native/pull/2486
Reviewed By: @svcscm
Differential Revision: D2472470
Pulled By: @vjeux
2015-09-23 19:29:24 -07:00
Alex Kotliarskyi
34d57afc32
Handle errors that are not Error
instances
...
Reviewed By: @sahrens
Differential Revision: D1799587
2015-09-23 19:29:19 -07:00
Elia Grady
88b101bb3e
Fixed typo
...
Summary: _setRenderSceneToHarwareTextureAndroid was changed to _setRenderSceneToHardwareTextureAndroid.
Closes https://github.com/facebook/react-native/pull/2869
Reviewed By: @svcscm
Differential Revision: D2472438
Pulled By: @vjeux
2015-09-23 19:29:14 -07:00
Andrei Coman
d1e316fce3
Remove text input warnings
...
Reviewed By: @mkonicek
Differential Revision: D2471396
2015-09-23 19:29:04 -07:00
Hedger Wang
b2049e3ccb
Hierarchical event bubbling - 1
...
Reviewed By: @fkgozali
Differential Revision: D2469495
2015-09-23 19:28:56 -07:00
Thomas Aylott
30e9bf6077
TextMate support for launchEditor
...
Reviewed By: @frantic
Differential Revision: D2467263
2015-09-23 19:28:44 -07:00
James Ide
0386858586
Merge pull request #2987 from kassens/gh-only
...
Update cacheVersion in bundle.js
2015-09-23 15:27:21 -07:00
Jan Kassens
c6a9d0e69f
Update cacheVersion in bundle.js
...
As requested by @vjeux, this moves the change to this file to a separate PR.
For more info see #2905 .
2015-09-23 15:24:54 -07:00
Christopher Chedeau
c52a13186f
Merge pull request #2981 from exponentjs/separate-cli-tests
...
[Tests] Move the packager and cli tests to separate matrix entries
2015-09-23 15:12:48 -07:00
James Ide
03c874cb7f
[Tests] Move the packager and cli tests to separate matrix entries
...
The packager and cli tests now run independently of the RN JS tests. When the packager moves to its own repo we can just remove the packager entry from .travis.yml.
The cli tests are also marked as allowed to fail for now.
2015-09-23 14:14:29 -07:00
Christopher Chedeau
2494261e07
Merge pull request #2982 from AaaChiuuu/sample
...
[ReactNative] remove unused files in SampleApp
2015-09-23 14:14:02 -07:00
Aaron Chiu
c604b6e866
[ReactNative] remove unless files in SampleApp
2015-09-23 22:01:14 +01:00
Christopher Chedeau
0c8e910ed8
Merge pull request #2976 from AaaChiuuu/flow
...
merge the root .flowconfig and local-cli/generator/templates/_flowconfig
2015-09-23 14:01:06 -07:00
Aaron Chiu
2566ed8089
merge the root .flowconfig and local-cli/generator/templates/_flowconfig
...
Test Plan: flow check && scripts/e2e-tests.sh
2015-09-23 21:47:43 +01:00
Aaron Chiu
9f62d54cce
merge .flowconfig files part 1
...
Differential Revision: D2472462
committer: Service User <svcscm@fb.com>
2015-09-23 13:02:27 -07:00
Martin Bigio
407247fe1e
Don't swallow client errors
...
Reviewed By: @swarr
Differential Revision: D2472285
2015-09-23 12:43:23 -07:00
Frédéric Sagnes
d26d4708b0
Implement cancellation for RCTAssetsLibraryImageLoader
...
Reviewed By: @tadeuzagallo
Differential Revision: D2471253
2015-09-23 12:09:31 -07:00
Tadeu Zagallo
98378cab18
Add gluecode for systrace
...
Summary: @public
Add gluecode to allow use to systrace as the backend of RCTProfile
Reviewed By: @jspahrsummers
Differential Revision: D2439181
2015-09-23 12:09:25 -07:00
rxb
dcf245a9a2
Definable distance pagination for ScrollView
...
Summary: This is an enhancement for ScrollView that adds the ability to paginate based on a width other than the width of the ScrollView itself. This is a fairly common pattern used on apps like Facebook, App Store, and Twitter to scroll through a horizontal set of cards or icons:
![img_8726 2](https://cloud.githubusercontent.com/assets/451050/8017899/39f9f47c-0bd2-11e5-9c1d-889452f20cf7.PNG ) ![img_8727 2](https://cloud.githubusercontent.com/assets/451050/8017898/39f962dc-0bd2-11e5-98b4-461ac0f7f21b.PNG ) ![img_8728 2](https://cloud.githubusercontent.com/assets/451050/8017900/39fd91a4-0bd2-11e5-8786-4cf0316295a0.PNG )
After trying to accomplish this only with JS, it appears that attempting to take over an in-progress native scroll animation with JS is always going to result in some amount of jankiness and jumping.
This pull request uses `scrollViewWillEndDragging` in RCTScrollView.m to adjust `targetContentOffset` based on two new optional props added to ScrollView. `snapToInterval` sets the multiple that the
Closes https://github.com/facebook/react-native/pull/1532
Reviewed By: @svcscm, @trunkagent
Differential Revision: D2443701
Pulled By: @vjeux
2015-09-23 11:47:25 -07:00
alvaromb
b9ef384f74
Updated TouchableHighlight docs
...
Summary: ``onlyChild`` restriction is implemented in ``TouchableHighlight``, not ``TouchableOpacity``.
Closes https://github.com/facebook/react-native/pull/2542
Reviewed By: @svcscm
Differential Revision: D2471539
Pulled By: @vjeux
2015-09-23 11:25:34 -07:00
Brent Vatne
118cf51522
Fix PanResponder example code
...
Summary: Fixes this:
![](http://url.brentvatne.ca/VwLF.png )
Closes https://github.com/facebook/react-native/pull/1464
Reviewed By: @svcscm
Differential Revision: D2471541
Pulled By: @vjeux
2015-09-23 11:25:27 -07:00
Tadeu Zagallo
1ab650f958
Remove use of const from packager and add systrace internally
...
Reviewed By: @martinbigio
Differential Revision: D2471270
2015-09-23 10:56:31 -07:00
Amir Rosenfeld
da284f6e36
stub Java QPL for OSS
...
Reviewed By: @mkonicek
Differential Revision: D2470258
2015-09-23 10:30:28 -07:00
Christopher Chedeau
393b6791a8
Delete ResponderExample.js
...
See https://github.com/facebook/react-native/pull/1743
2015-09-23 10:18:05 -07:00