Tadeu Zagallo
3ab4d32538
[ReactNative] Fix DevMenu crash when launching the app with WebView executor
2015-05-05 07:30:55 -08:00
Alex Akers
08246b77df
[React Native] Fix immediate animation crash
2015-05-05 07:21:43 -08:00
Nick Lockwood
acafa7e921
[ReactNative] Properly transition RCTTouchHandler state
...
Summary:
When touches end or cancel, update self.state in
RCTTouchHandler to let iOS know that we are in an ended/canceled state.
This way we won't eat other touches because it still thinks we're in a
began/changed state.
@public
Test Plan:
Scrolling in the back swipe area no longer busts gesture
recognition in Wilde.
2015-05-05 06:21:55 -08:00
Alex Akers
5eca2e1d3c
[React Native] Added RCTSettings
2015-05-05 05:46:52 -08:00
Tadeu Zagallo
65a3da3003
[ReactNative] Fix chrome debugger
2015-05-05 05:36:05 -08:00
Tadeu Zagallo
d713a711c4
[ReactNative] Fix packager assets
2015-05-05 02:54:51 -08:00
Tadeu Zagallo
132a9170f1
[ReactNative] Create private underlying bridge to prevent retain cycles
2015-05-04 10:36:20 -08:00
Nick Lockwood
c5a6ec5b53
Disable React Native dev menu in release mode
2015-05-03 15:57:26 -08:00
Nick Lockwood
d29a0c6768
Fix for nil array crash
2015-05-02 18:40:04 -08:00
Tadeu Zagallo
09460cf21b
[ReactNative] Use explicit doubles on RCTLocationOptions to avoid NSInvocation bug
2015-05-02 14:19:56 -08:00
Tadeu Zagallo
17262db5a9
[ReactNative] Fix JS calls being lost
2015-05-02 13:14:19 -08:00
Nick Lockwood
ba501a1bf5
Upgraded dev menu
2015-05-01 06:36:49 -08:00
Kevin Gozali
b6646d1c4c
[ReactNative] Honor fontWeight once again
2015-04-30 11:33:36 -08:00
Nick Lockwood
eb0476074f
Improved debug and fixed macros
2015-04-30 09:59:16 -08:00
Ben Alpert
d8ab648fce
Updates from Wed 29 Apr
2015-04-29 18:55:07 -07:00
Tadeu Zagallo
483077d4da
[ReactNative] Don't log invalid utf8 strings
2015-04-29 12:24:52 -08:00
Brent Vatne
c09bdebcd5
Add support for multiline TextInput via UITextView
...
Summary:
@nicklockwood - Could I get a review of this?
Just took `RCTTextField` and ported it from `UITextField` to `UITextView` as you mentioned in another discussion, and removed any `UITextField` specific attributes.
- How do you think this should behave when there are subviews?
- Do you know how we can respond to the `UIControlEventEditingDidEndOnExit` event to respond to submit? Because `UITextView` isn't a `UIControl` we can't just use `addTarget` with `UIControlEventEditingDidEndOnExit`.
- Any other feedback?
Still going to look over the `UITextView` docs in more detail and make sure we expose all important options, and add it to the UIExplorer example, just putting this out here for feedback.
![multiline](https://cloud.githubusercontent.com/assets/90494/7310854/32174d6a-e9e8-11e4-919e-71e54cf3c739.gif )
Closes https://github.com/facebook/react-native/pull/991
Github Author: Brent Vatne <brent.vatne@madriska.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-29 01:33:58 -08:00
Tadeu Zagallo
2f4430cf51
[ReactNative] Fix bridge event dedupe
2015-04-28 07:58:35 -08:00
Nick Lockwood
bc24be8584
Fixed nil object insertion crash due to incorrectly encoded HTTP response body data
2015-04-28 04:48:32 -08:00
Ben Alpert
dd56ccb9c7
[react-native] Fix capitalization of "REact"
2015-04-27 13:52:57 -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
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
Spencer Ahrens
21b4b5b352
Updates from Fri 24 Apr
2015-04-24 11:46:18 -07:00
Kevin Gozali
34a5aa1d0a
[ReactNative][madman] Revert D2001353
2015-04-23 13:39:56 -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:
![screen shot 2015-04-16 at 17 23 46](https://cloud.githubusercontent.com/assets/1121616/7176887/63af36de-e45d-11e4-9aa9-40586560b716.png )
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:
![screen shot 2015-04-16 at 17 27 48](https://cloud.githubusercontent.com/assets/1121616/7176955/f139764a-e45d-11e4-8dc8-3c13aab70828.png )
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
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
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
Nick Lockwood
fc6e209223
Fixed broken struct arguments
2015-04-22 13:25:53 -08:00
Tadeu Zagallo
3595b79ec3
[ReactNative] Move VSync bound events to JS thread
2015-04-22 07:01:48 -08:00
Nick Lockwood
2ee7ebae1f
Fixed broken font weight on iPhone 5
2015-04-21 14:45:12 -08:00
Nick Lockwood
ee898c24c7
Removed debug code from release builds
2015-04-21 09:47:21 -08:00
Nick Lockwood
8e15a0d5e7
Added RCT_DEBUG
2015-04-21 05:24:10 -08:00
Alex Kotliarskyi
2434512847
[ReactNative] Allow JS know its URL
2015-04-20 14:20:36 -08:00
Nick Lockwood
5ce9fa4dda
Changed default method queue to a background queue.
2015-04-20 12:02:04 -08:00
Tadeu Zagallo
d6afe1b124
[ReactNative] Don't break when can't create executor
2015-04-20 11:21:42 -08:00
Tadeu Zagallo
2d5d55d17e
[ReactNative] Add if DEBUG to profile functions declarations
2015-04-20 06:03:36 -08:00
Tadeu Zagallo
fb1fa12e89
[ReactNative] Better profiling API + Fix overlaping events
2015-04-20 04:57:28 -08:00
Tadeu Zagallo
0e67e33534
[ReactNative] Ensure JS calls scheduled by a deallocated context don't fire
2015-04-20 02:03:22 -08:00
Nick Lockwood
0b21df4a34
Improved logging and dev menu
2015-04-19 12:56:22 -08:00
Nick Lockwood
ead0f2e020
Implemented thread control for exported methods
2015-04-18 11:13:39 -08:00
Christopher Chedeau
014065b277
Updates from Fri 17 Apr
2015-04-17 08:42:57 -07:00
Tadeu Zagallo
1883ba535c
[ReactNative] Send batched calls from objc to js every frame + add bridge profiling
2015-04-17 04:01:02 -08:00
Christopher Chedeau
970dd8acca
Merge branch 'oss-sync/master' into import_everycommit
2015-04-15 08:50:27 -07:00
Tadeu Zagallo
75e4e124fa
[ReactNative] Use a single DisplayLink held by the bridge
2015-04-15 07:07:48 -08:00
guru inamdar
7a68691686
MapView to support MKPointAnnotation using new attribute annotate in Map...
...
Summary:
### MapView to support Pin annotation
var pinLocation = {
latitude: property.latitude,
longitude: property.longitude,
title: property.title
};
this.state = {propertyPoint: pinLocation};
<MapView style={styles.map} region={this.state.region} annotate={this.state.propertyPoint}>
</MapView>
![mapview-pinannotation](https://cloud.githubusercontent.com/assets/845379/7100280/6c1ffc08-dfe5-11e4-9d1b-8da6a65da1bc.png )
Closes https://github.com/facebook/react-native/pull/810
Github Author: guru inamdar <guru.inamdar@gmail.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-14 18:03:37 -08:00
Christopher Chedeau
99bbd4a38c
Merge branch 'oss-sync/master' into HEAD
2015-04-14 18:16:23 -07:00