Alex Kotliarskyi
282a2071ad
[ReactNative] Bump watchman timeout to 25s
2015-04-27 19:30:02 -08:00
Spencer Ahrens
b94610887c
[ReactNative] temp disable flow check in packager for OSS
2015-04-27 19:13:33 -08:00
Eric Vicenti
ec3d70e738
[ReactNative] Quiet Navigator context warning
2015-04-27 17:31:12 -08:00
Eric Vicenti
6749f88650
[ReactNative] Fix Navigator resetTo
2015-04-27 17:18:52 -08:00
Gabe Levi
b6e6dae6ba
[Flow] Properly fix new errors as of Flow v0.10.
2015-04-27 14:56:21 -08:00
Ben Alpert
dd56ccb9c7
[react-native] Fix capitalization of "REact"
2015-04-27 13:52:57 -08:00
Eric Vicenti
3f723f451d
[ReactNative][RFC] Yellow Box for warnings
2015-04-27 13:32:22 -08:00
Maksim Bunkow
bae4e44c60
Added placeholderTextColor property for TextInput class
...
Summary:
Closes https://github.com/facebook/react-native/pull/997
Github Author: Maksim Bunkow <bimawa@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-27 10:43:10 -08:00
Alex Akers
826b56a41b
[React Native] Update RCTView border implementation
2015-04-27 04:10:43 -08:00
Tadeu Zagallo
136431cc2f
[ReactNative] Fix struct args on exported methods
2015-04-27 04:01:37 -08:00
Tadeu Zagallo
8aeb33d44c
[ReactNative] Make so each RCTContextExecutor has its own thread
2015-04-27 03:46:27 -08:00
Nick Lockwood
77e38b26c5
Improved RCTActivityIndicatorView and fixed some flow errors
2015-04-26 02:17:13 -08:00
Tadeu Zagallo
dd6bce78e1
[ReactNative] Allow bridge modules to run on the JavaScript thread
2015-04-25 19:29:00 -08:00
Nick Lockwood
8a3b0fa9e8
Fix edge cases and add tests for +[RCTConvert NSURL:]
2015-04-25 15:11:23 -08:00
Tadeu Zagallo
bd5736414a
[ReactNative] Fix error when reload during profile
2015-04-25 13:23:09 -08:00
Gabe Levi
4cbd7ceb81
[Flow] Add versions to fbobjc .flowconfigs
2015-04-24 22:49:51 -08:00
Spencer Ahrens
1cc0c96508
[React Native] Bring back console.error redboxes with disable flag
2015-04-24 17:54:16 -08:00
Spencer Ahrens
68eb3e4906
[ReactNative] geolocation method docs
2015-04-24 16:26:28 -08:00
Alex Kotliarskyi
a1a15bda06
[ReactNative] Fix reloading in debug mode sometimes crashes packager
2015-04-24 15:07:57 -08:00
Spencer Ahrens
a2dd7fc69f
[ReactNative] Fix dimensions in jest tests
2015-04-24 14:00:35 -08:00
Krzysztof Magiera
46db1826c5
[react_native] JS files from D2017699: Expose JavaScriptEnabled property for WebView component on android.
2015-04-24 11:53:35 -08:00
Ben Alpert
1f98c843b0
[react-native] Update react-tools to 0.13.2*
2015-04-24 10:58:28 -08:00
Alex Kotliarskyi
970bff6132
[ReactNative] Enable resolveAssetSource for Image.android
2015-04-24 10:56:04 -08:00
Kevin Gozali
d094952725
[ReactNative] Re-applied D2011598
2015-04-24 10:33:41 -08:00
Alex Kotliarskyi
861c66e587
[ReactNative] Fix launchEditor script
2015-04-24 10:31:56 -08:00
Andrei Coman
a635a73abc
[react_native] JS files from D2020585: [react_native] Remove focus for TextInputs when they unmount
2015-04-24 09:49:39 -08:00
Tadeu Zagallo
d293bed5ab
[ReactNative] Fix analyze errors on oss
2015-04-24 08:28:35 -08:00
Felix Oghina
d354c7dd91
[react_native] JS files from D2009062: add geolocation support
2015-04-24 02:24:18 -08:00
Ben Alpert
dd6f7743eb
Fix updating RCTText with new text of the same size
...
Summary:
Fixes #979 .
Previously, a Text whose width is determined automatically (as opposed to set by a container) would position the text incorrectly after an update to the text *if* the text's width did not change (i.e., when changing only digits in a font with tabular numbers).
Every time RCTShadowText's RCTMeasure runs, it sets the text container's size to be the maximum allowed size for the text. When RCTText's drawRect is called later, it relied on layoutSubviews having been called to set the text container's size back to the proper width. But if RCTMeasure returned the same dimensions as last time, then RCTText's frame wasn't reset and so layoutSubviews was never re-called. With this change, we set the textContainer's size each time we draw the text.
We could also fix this by using a different NSTextContainer instance in RCTMeasure. Not sure what the pros and cons of that are.
Closes https://github.com/facebook/react-native/pull/989
Github Author: Ben Alpert <balpert@fb.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 16:12:35 -08:00
Kevin Gozali
4c9ed22ff6
[ReactNative][madman] Reverted D2014357
2015-04-23 16:04:16 -08:00
Alex Kotliarskyi
1f1c6af9cd
[ReactNative] Add instructions for new react-native bundle
2015-04-23 15:34:07 -08:00
Kevin Gozali
ee3986342a
[ReactNative][madman] Revert D2011598 temporarily
2015-04-23 15:12:01 -08:00
Eric Vicenti
36afc46274
[ReactNative] Fix for Navigator.replacePreviousAndPop
2015-04-23 14:19:44 -08:00
Kevin Gozali
34a5aa1d0a
[ReactNative][madman] Revert D2001353
2015-04-23 13:39:56 -08:00
Philipp von Weitershausen
e88ba1a6a3
[ReactNative] Back out D2014163 entirely
2015-04-23 12:02:47 -08:00
Amjad Masad
24095fcc2d
[react-packager] Change uri to name
2015-04-23 11:52:00 -08:00
Amjad Masad
4f89d1f76c
[react-packager] Fix jest tests
2015-04-23 11:39:41 -08:00
Herman Schaaf
4242bd9c83
Replace percent escapes in file URL before using as path
...
Summary:
This is to fix a bug that prevents bundling of projects that contain spaces (or other special characters) in their names.
#### Reproduction steps before the fix
1. Create a project with a space in the name:

2. Follow the steps in `OPTION 2` for running from a bundled file, i.e. create the `main.bundle` file, add it to the project if is not there already, and uncomment `jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];`
3. Run the application. This is what happens:

To prove that it has to do with a space in the name, refactor the project name to not contain a space:
![screen shot 2015-04-16 at 17 28 27](https://cloud.githubusercontent.com/assets/1121616/7176966/056b6c9a
Closes https://github.com/facebook/react-native/pull/876
Github Author: Herman Schaaf <hermanschaaf@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 11:01:18 -08:00
Bill Fisher
357a54500e
Implement transform styles, redux
2015-04-23 10:17:39 -08:00
Philipp von Weitershausen
d2dbf4e0ed
[ReactNative] Disable console.error => redboxes to unwedge Android
2015-04-23 09:56:15 -08:00
Alex Kotliarskyi
7de74b129d
[ReactNative] Move NativeModules mock to OSS
2015-04-23 09:35:55 -08:00
Robert Payne
b72acc2313
Add support for exporting Swift modules
...
Summary:
External modules are any Objective-C class in which the implementation is private. This currently will be most useful for Swift classes but also has potential to allow exposing methods on 3rd party libraries to the bridge.
Closes https://github.com/facebook/react-native/pull/982
Github Author: Robert Payne <robertpayne@me.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 09:20:18 -08:00
Jakub Zika
e293efbfb1
Bump .buckversion to 6cdb82cb7493a86c39d0f0dc3c102d0f470f55de.
2015-04-23 08:24:08 -08:00
Eduardo
aa3d343547
NavigatorIOS custom nav bar colors
...
Summary:
NavigatorIOS with custom nav bar custom colors, working example included in
UIExplorer.
Based on pull request #318 to complete pending work based on comments.
Closes https://github.com/facebook/react-native/pull/695
Github Author: Eduardo <edo.lomeli@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 06:32:35 -08:00
Ivan Starkov
a36da5130b
Add Linear easing to AnimationUtils
...
Summary:
Simple linear easing also very useful.
Closes https://github.com/facebook/react-native/pull/794
Github Author: Ivan Starkov <istarkov@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 06:03:22 -08:00
Brent Vatne
c219f61818
Add minimumTrackTintColor and maximumTrackTintColor to SliderIOS
...
Summary:
There are still many other props that can be added to further customize the SliderIOS component, but I had a specific need for these two so I just went ahead and added them.
Closes https://github.com/facebook/react-native/pull/799
Github Author: Brent Vatne <brent.vatne@madriska.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 05:57:15 -08:00
Dr. Kibitz
621a30c8b8
Fixes #813
...
Summary:
Also fix RCTShadowText export name.
Closes https://github.com/facebook/react-native/pull/857
Github Author: "Dr. Kibitz" <info@drkibitz.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 04:06:16 -08:00
Tadeu Zagallo
2bda21fbf0
[ReactNative] Flush ReactUpdates only once per batch
2015-04-22 17:57:07 -08:00
Alex Kotliarskyi
ffb3026419
[ReactNative] Pick correct assets depending on device scale
2015-04-22 16:39:54 -08:00
Alex Kotliarskyi
b2e8dc9834
[ReactNative] Backport packager logs redirect
2015-04-22 16:28:54 -08:00