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:

2015-04-22 20:06:31 -07: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
James Ide
af61b13b9e
[RootView] Fix positioning of the root view content (frame -> bounds)
...
Summary:
The root view's content was being rendered at the wrong offset when it was not positioned at (0, 0) exactly, because the shadow view's frame was set to the root view's frame when it should have been set to the root view's bounds instead.
Closes https://github.com/facebook/react-native/pull/963
Github Author: James Ide <ide@jameside.com >
Test Plan: Render a root view positioned at (0, 100) and see that its content is positioned where the root view is, not at (0, 200).
2015-04-22 16:21:49 -08:00
Spencer Ahrens
27252e611c
[FBRhinos] add sms cmd for device configuration
2015-04-22 16:10:40 -08:00
Spencer Ahrens
e63bfae8f6
[ReactNative] console.error shows RedBox with pretty stack trace
2015-04-22 15:51:41 -08:00
Alexander Kotliarskyi
76e5439a69
Merge pull request #975 from frantic/enable-tests
...
Fix tests runner
2015-04-22 16:34:11 -07:00
Alex Kotliarskyi
7172c2b52b
Re-record snapshot test
2015-04-22 16:26:13 -07:00
Alex Kotliarskyi
5d5ec80452
Fix tests runner
2015-04-22 16:04:06 -07:00
Spencer Ahrens
bd165e86e1
Use requireNativeComponent in website landing page example.
2015-04-22 14:44:37 -07:00
Alex Kotliarskyi
c5ea25f7fb
[ReactNative] Adopt client asset managing code to server changes
2015-04-22 13:41:28 -08:00
Brent Vatne
8529b7bd6a
Merge pull request #969 from artemyarulin/patch-1
...
[Docs] EmbeddedApp.md - index.ios.js has to be created inside ReactComponent
- In order to follow along with the rest of the example
2015-04-22 14:29:12 -07:00
Nick Lockwood
fc6e209223
Fixed broken struct arguments
2015-04-22 13:25:53 -08:00
Amjad Masad
b4c82a4089
[react-packager] Additional data to asset modules
2015-04-22 10:59:37 -08:00
Spencer Ahrens
0727cde42c
[ReactNative] Quick fix to busted redboxes
2015-04-22 10:29:36 -08:00
Eric Vicenti
7aa413d619
[ReactNative] Fix Android back btn regression from D2010265
2015-04-22 10:06:10 -08:00
Andy Street
eafe93096c
[react_native] JS files from D2012956: [react_native] Never return null from XHR.getAllResponseHeaders if request has completed
2015-04-22 09:05:42 -08:00
Brent Vatne
0978923a07
Merge pull request #962 from lpww/patch-1
...
[Docs] Add missing full stops in GettingStarted.md
2015-04-22 08:32:27 -07:00
Tadeu Zagallo
3595b79ec3
[ReactNative] Move VSync bound events to JS thread
2015-04-22 07:01:48 -08:00
Artem Yarulin
9913e421d7
index.ios.js has to be created inside ReactComponent
2015-04-22 17:27:25 +03:00
Nick Lockwood
462224727a
Reduced prop mapping overhead
2015-04-22 04:13:25 -08:00
Andy Street
0f7ebf23a9
[react_native] JS files from D1999034: [react_native] Fix source maps on Android
2015-04-22 03:38:55 -08:00
Spencer Ahrens
58a550fa06
[ReactNative] use requireNativeComponent to clean up a bunch of boilerplate
2015-04-21 21:06:48 -08:00
James Ide
901c24ebb8
[Text] Ensure that the text background is transparent by default
...
Summary:
For a very simple view I was observing that the text background was black and had to manually be set to transparent. This ensures that text nodes have a transparent background by default.
Closes https://github.com/facebook/react-native/pull/256
Github Author: James Ide <ide@jameside.com >
Test Plan:
This example component no longer renders what looks like a black block, and instead displays legible text.
var Example = React.createClass({
render: function() {
return (
<View style={styles.container}>
<Text>hello</Text>
</View>
);
},
});
var styles = StyleSheet.create({
container: {
flex: 1,
},
};
2015-04-21 19:11:26 -08:00
Thomas Treffry
7ee8d8b45c
Update GettingStarted.md
...
Add missing full stops.
2015-04-21 19:45:38 -07:00
Nick Lockwood
b1a15004de
Fixed release builds on UIExplorer
2015-04-21 18:22:34 -08:00
Josh Zana
368e507b38
Implement XmlHttpRequestBase#getAllResponseHeaders and getResponseHeader
...
Summary:
Used https://github.com/facebook/react-native/pull/382 as inspiration
but modified to return null instead of undefined as per the spec at
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
This unblocks use of Dropbox.js within a react-native app, as well
as any other libraries that make use of these methods in XHR usage.
Closes https://github.com/facebook/react-native/issues/872
Closes https://github.com/facebook/react-native/pull/892
Github Author: Josh Zana <joshzana@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-21 16:45:32 -08:00
Mike Wilcox
17e5b04d1a
Fix Typo
...
Summary:
* This PR fixes a typo for the NetInfo docs page
Closes https://github.com/facebook/react-native/pull/937
Github Author: Mike Wilcox <mwilcox56@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-21 16:41:34 -08:00
xcatliu
404f7d9dbf
Fix AlertIOS Docs
...
Summary:
The curly braces seems to be redundant.
Closes https://github.com/facebook/react-native/pull/811
Github Author: xcatliu <xcatliu@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-21 16:10:31 -08:00
Spencer Ahrens
eef40964da
Merge pull request #958 from sahrens/nativeComponentGuide
...
Add Native Components guide.
2015-04-21 16:23:50 -07:00
Spencer Ahrens
c5d367ad39
Add Native Components guide.
2015-04-21 16:22:32 -07:00
Alexander Kotliarskyi
532c780976
Merge pull request #956 from frantic/debug-watchman
...
Debugging watchman
2015-04-21 16:20:32 -07:00
Alex Kotliarskyi
784ab78c29
Cat watchman logs if test fails
2015-04-21 15:56:52 -07:00
Nick Lockwood
2ee7ebae1f
Fixed broken font weight on iPhone 5
2015-04-21 14:45:12 -08:00
Alexander Kotliarskyi
4792707b23
Merge pull request #851 from arthuralee/master
...
Bundle script instead of curl
2015-04-21 15:15:20 -07:00
Nick Lockwood
32084c90a2
Added missing RCTDefines.h to React lib
2015-04-21 13:33:52 -08:00