Граф коммитов

7138 Коммитов

Автор SHA1 Сообщение Дата
Eric Rozell d63ac79457 style(UIExplorer): Cosmetic work for UIExplorer
Moves files around to mimic existing folder structure, and creates separate file for Windows.
2016-05-25 12:15:52 -04:00
Eero Bragge 4935e2994a fix(ClipboardModule): Change the dispatcher used with the module
Clipboard Module provides access to native clipboard for React Native
Javascript applications.

Fixes #262
2016-05-25 12:15:52 -04:00
Eric Rozell b2933b6664 fix(BackAndroid): Exit app when back pressed
Native back press behavior is now wired up to exit the app.

Fixes #267
2016-05-25 12:15:51 -04:00
Eric Rozell fd20867a45 style(Core): Cosmetic cleanup of core classes
Fixing whitespace and removing dead code.
2016-05-25 12:15:50 -04:00
Eric Rozell 4b11121d7e fix(UIExplorer): Cleanup test code for UIExplorer work
Remove miscellaneous snippets of test code used in UIExplorer development.
2016-05-25 12:15:50 -04:00
Eric Rozell c5897e1377 feat(UIExplorer): Minimal UIExplorer App
Get a stripped down version of the UIExplorer app working. This minimal version excludes the status bar, drawer/navigator tab bar, and removes most of the demos except for simple ones.

Fixes #210
2016-05-25 12:15:49 -04:00
Eric Rozell d09f0b196d fix(RCTScrollView): Fix vertical scrolling behavior for RCTScrollView
There is an issue with scroll view where the container view was being collapsed by the optimizer. Ensure the 'collapsable' property is picked up.

Fixes #143
2016-05-25 12:15:49 -04:00
Eric Rozell 5b96cbb893 Towards #262 - Temporarily ignoring Clipboard/ClipboardModuleTests
The ClipboardModuleTests are causing the test execution process to fail. Ignores tests until we can diagnose and fix.
2016-05-25 12:15:48 -04:00
Eric Rozell 8a4145a8e1 fix(AsyncStorage): Fixes contract for AsyncStorageModule callbacks
The callbacks for AsyncStorageModule expect two parameters, where the first is the list of errors and the second is the results. Ensure that a null error value is inserted into the callback arguments before the results, or that null is sent when no error occurred.

Fixes #260
2016-05-25 12:15:47 -04:00
Eric Rozell 938c075708 fix(DevSupport): Display JavaScript source code info in red box
Fix a bug in the dev support stack prevented the JavaScript source code information from displaying properly.
2016-05-25 12:15:47 -04:00
ebragge dc1a91612d fix(AsyncStorageModule): change soft casts to hard casts
AsyncStorageModule provides permanent storage for React Native JavaScript applications.
- implement PR #3 comments

Fixes #136
2016-05-25 12:15:46 -04:00
ebragge f172736291 fix(AsyncStorageModule): capitalize internal function names
AsyncStorageModule provides permanent storage for React Native JavaScript applications.
- implement PR #3 comments

Fixes #136
2016-05-25 12:15:45 -04:00
ebragge 812f38cb98 feat(AsyncStorageModule): add AsyncStorageModule
AsyncStorageModule provides permanent storage for React Native JavaScript applications.
- implement PR comments #2
- add Android tests

Fixes #136
2016-05-25 12:15:45 -04:00
ebragge 49c3352ce6 fix(ClipboardModule): change ClipboardModule base class
ClipboardModule provides access to native clipboard for React Native JavaScript applications.
- change ClipboardModule base class to NativeModuleBase from ReactContextNativeModuleBase

Fixes #255
2016-05-25 12:15:44 -04:00
ebragge 0c194373e1 feat(AsyncStorageModule): add AsyncStorageModule
AsyncStorageModule provides permanent storage for React Native JavaScript applications.
- implement PR comments
- add AsyncStorageModule to MainReactPackage

Fixes #136
2016-05-25 12:15:44 -04:00
Eric Rozell 533d1dd6f3 feat(BackAndroid): Add BackAndroid JS module for Windows platform
The BackAndroid module provides a JS API for the native DeviceEventEmitter module to hook into back-button presses. This is needed, e.g., for Navigator.

Fixes #246
2016-05-25 12:15:43 -04:00
Eric Rozell a17547e90f feat(WebSocketModule): Add cross reference to issue for TODO
TODOs should be cross-referenced to open issues for better tracking.
Adds cross-reference for options support in WebSocketModule.
2016-05-25 12:15:42 -04:00
Eric Rozell 66d33eecea feat(Bundler): ReactWindows folder changes to support windows platform option
A key to allowing ReactNative for UWP to differentiate itself is to allow JavaScript customization for native modules and view managers.
This lays the ground work for that by:
* adding the Windows-specific JavaScript exports that are referenced in the core ReactNative modules
* making the necessary changes to ReactPage and the dev support tools.

Fixes #240
2016-05-25 12:15:42 -04:00
ebragge 6dd2c163c0 feat(AsyncStorageModule): add AsyncStorageModule
AsyncStorageModule provides permanent storage for React Native JavaScript applications.
- add AsyncStorageModuleTests

Fixes #136
2016-05-25 12:15:41 -04:00
Eric Rozell 327db9db59 feat(WebSocketModule): add WebSocketModule
WebSocketModule provides WebSocket behavior for React Native JavaScript applications.

Fixes #90
2016-05-25 12:15:41 -04:00
Eric Rozell 200fd14a9f Addressing comments from PR. 2016-05-25 12:15:40 -04:00
Eric Rozell 40daf38f0a Fixes #193 - Adds better formatting for the RedBoxDialog.
Replacing with a XAML view with list binding to make red box formatting quicker and easier (and more declarative).
2016-05-25 12:15:39 -04:00
Eero Bragge 2e1efab442 Blocking Test Methods 2016-05-25 12:15:39 -04:00
Eero Bragge 44b5002874 Line endings 2016-05-25 12:15:38 -04:00
Eero Bragge ca98e9d2b2 Changed dispatcher 2016-05-25 12:15:37 -04:00
Eero Bragge 57739b1fc0 Line endings 2016-05-25 12:15:37 -04:00
Eero Bragge c9c588de02 Fixes 2016-05-25 12:15:36 -04:00
Eric Rozell 93758e62d4 Adding unsaved change from previous commit. 2016-05-25 12:15:35 -04:00
Eric Rozell e90c3c754a Minor cosmetic change - cleanup namespaces. 2016-05-25 12:15:35 -04:00
Eric Rozell 1e645d8f7e Adding timeout support to debugger WebSocket connection.
When launching the debugger in Chrome, if the debugger window is not yet open, we can attempt to prepare the debug environment before it's ready.

This changeset adds a cancellation after a 5 seconds, and utilizes the 3 possible retries.
2016-05-25 12:15:34 -04:00
Eric Rozell a4f02015dd Fixes #158 - Adds Chrome debugging to ReactNative for UWP
This was a pretty trivial setup, given all the infrastructure and designs that were already in place to implement the DevSupportManager.

All we really needed was to investigate the correct format for data on the wire, and implement it.
2016-05-25 12:15:33 -04:00
Eric Rozell f8b83708a7 Minor bug fix to ReactTextShadowNode related to recent changes to layout updates. 2016-05-25 12:15:33 -04:00
Eric Rozell 6771637327 Addressing comments from pull request. 2016-05-25 12:15:32 -04:00
Eric Rozell 085a9592f0 Improved exception tracking for Chakra. 2016-05-25 12:15:31 -04:00
Eero Bragge 6a479879b1 ClipboardModule 2016-05-25 12:15:31 -04:00
Eric Rozell e576c83cf2 Addressing comments from pull request review. 2016-05-25 12:15:30 -04:00
Eric Rozell 2099b13496 Fixes #179 - Adds NetInfo module.
Currently, we are mimicking the iOS behavior for the NetInfoModule. Eventually, we can add other Windows specific features in the same way Android has.
2016-05-25 12:15:29 -04:00
Eric Rozell cdc0844b65 Fixes #220 - Ensure that animations are run and cancelled sequentially.
Rapid storyboard changes can result in incorrect behavior. This set of changes ensures that storyboards execute sequentially and have explicit cancellation semantics.
2016-05-25 12:15:29 -04:00
Eric Rozell bebd12a8be Fixes #224 - ExecutionEngineException no longer occurs
As it turns out, when you pass a delegate to Chakra to define native functions, make sure you hang on to a reference to that delegate.

The delegates for console.log, console.warn, and console.error were being garbage collected, so when React Native made calls to them, they tried to invoke a delegate that was already garbage collected.

The ChakraJavaScriptExecutor now holds references to these for the entire lifetime of the object.
2016-05-25 12:15:28 -04:00
Eric Rozell f2ff607336 Update README.md 2016-05-25 12:15:27 -04:00
Eric Rozell 0e328e68fc Update README.md 2016-05-25 12:15:27 -04:00
Eric Rozell 0fde25aabc Updates Playground for use with local-cli 2016-05-25 12:15:26 -04:00
Eric Rozell 6ad0e713c1 Addressing issue with ReactBridge dispose and initialization sequences. 2016-05-25 12:15:26 -04:00
Erik Schlegel 8de02b2d23 Update README.md 2016-05-25 12:15:25 -04:00
Erik Schlegel e9c6c09416 Update README.md 2016-05-25 12:15:25 -04:00
Erik Schlegel 56673bb800 Update README.md 2016-05-25 12:15:24 -04:00
Eric Rozell 002e2ce7bc Minor fixes to layout animation. 2016-05-25 12:15:24 -04:00
Erik Schlegel a542e9fca6 Update README.md 2016-05-25 12:15:23 -04:00
Erik Schlegel 7314e4b774 Update README.md 2016-05-25 12:15:23 -04:00
Erik Schlegel 92493e09a0 Create README.md 2016-05-25 12:15:22 -04:00