Since we have a few options to choose from in regards to the JavaScriptExecutor, we need an affordance to select which JavaScriptExecutor is used in the framework.
By default, the `ChakraJavaScriptExecutor` is currently being used.
Facebook.Yoga was throwing an AccessViolationException on ARM devices due to a marshaling error. We added a patch to work around this limitation.
Fixes#1027
A previous change to adjust the touch point for a visible status bar does not seem to be necessary when the device is in landscape orientation.
Fixes#945
Recent update to the UWP Community Toolkit allows us to cancel prefetch operations. This changeset also adds the ability to query for images on disk, but not yet in-memory.
* Bump dependencies to latest versions compatible with VS2015. Skip NUnit for now, may do in a separate pass.
* Update to latest Yoga and Toolkit.Uwp.UI. Eliminate relative references to the package directory so project files with work in the npm install scenario.
* Removing unused Postal.NET dependency.
Thanks to the great work by @pre10der89 and @mpodwysocki, there will soon be a NuGet package available for Facebook.Yoga. This changeset includes all the necessary modifications to integrate React Native for UWP and WPF with the Yoga flexbox engine.
Recent changes to the ReactImageManager and the ImageLoaderModule introduced a bug where local assets were not behaving correctly because they did not work with the ImageCache API from UWP Community Toolkit. This fix works around that limitation and uses the previous `getSize` implementation approach for non-HTTP assets.
Fixes#930
Bug reported where updating the items prop with new values would result in appending rather than replacing items. Adding a `Clear()` call to ensure correct behavior.
Fixes#911
* Syncing with upstream
* Reverting the Examples to the previous version
* Changing UIImplementation to take the EventDispatcher in its constructor
* Fixing some formatting per review comments
When a ScrollViewer is placed in the context of a Matrix3DProjection (which is how translate animations are achieved in React Native), the touch-based and touchpad scrolling behaviors stop functioning.
This PR works around that by using a simple RenderTransform for common cases of matrix projections, like simple XY translations, in which scrolling still works.
Fixes#873
This adds support for `Animated.event` driven natively.
At the moment, it works by providing a mapping between a view tag, an event name, an event path and an animated value when a view has a prop with a `AnimatedEvent` object. Then we can hook into `EventDispatcher`, check for events that target our view + event name and update the animated value using the event path.
For now it works with the onScroll event but it should be generic enough to work with anything.
Also adds zoomEnabled and zoomScale props. The zoomEnabled is a new Windows-specific prop because scroll views are not zoomable by default in Windows.
Fixes#857
`PasswordBox.Measure(size)` does not result in a value being set for `PasswordBox.DesiredSize` property. The same goes for `TextBox`, which we worked around by measuring a `TextBlock` and including the `TextBox` margin values in the resulting measurement. Making the same change for `PasswordBox`.
Fixes#855
The previous commit included what was effectively an implementation of `onMouseEnter` and `onMouseLeave` because it lacked bubbling semantics. This commit changes the direct event names to `topMouseEnter` and `topMouseLeave`, leaving room to implement the bubling/capturing `onMouseOver` and `onMouseOut`.
At some point, as an optimization, we may still want to consider firing only the `topMouseOut` and/or the `topMouseOver` events, as is done in ReactDOM. This would be an optimization that leverages the assumption that whenever a "mouse out" event occurs, it should be followed by a "mouse over" event (thus subsequent "mouse over" events could be ignored).
Likewise, we may want to consider sending only one event type to JavaScript (either enter|leave or over|out), and have the bubbling behavior implemented by a React.js event plugin, as is done for ReactDOM in [EnterLeaveEventPlugin.js](c78464f8ea/src/renderers/dom/client/eventPlugins/EnterLeaveEventPlugin.js).
A first approach at adding mouseenter/mouseleave events for react-native-windows. We may eventually want to considering adding a specific event plugin for this (to implement behavior like "capture" without "bubbling").
Fixes#775
* UIManager Migration
* initial work migrating Network module
* Progress on Networking Module
* more progress on Network module
* fix csproj
* migrating more devsupport
* migrating more devsupport
* Migrate DevOptionDialog
* migrated Progress Dialog
* migrated RedBoxDialog
* migrated WebSocketJavaScriptExecutor
* migrate DevSupportManager
* saved changes from last commit -- oops.
* implement feedback from @rozele
* a little more cleanup
* switched to in-memory settings strategy
* tweaks to try to fix AppVeyor build
* fixed build path for Facebook.CSSLayout
* remove unwanted comment
* migrating easy UIManager files
* migrating moderate UIManager files
* refactored Networking module to shared per @rozele feedback
* starting migration of pointers in touch
* Touch basics needs circular references
* update csproj
* migrated difficult UIManager files
* implemented more feedback from @rozele
* fix(Linking): Adds `getInitialUrl` and `url` events to LauncherModule (#798)
Using the ProtocolActivatedEventArgs, this changeset adds the `getInitialUrl` API implementation for the Linking module (aka the LauncherModule in native code) and the `url` event, which is called each time the app is activated with a new protocol URI.
Fixes#301Fixes#687
* imlemented more @rozele feedback
* implement @rozele feedback
* implemented feedback from @matthargett
* removed another unnecessary if/def
* small tweaks to wrap up UIModule migration
* migrated uimanager tests - all but 2 pass
* Revert "Merge pull request #787 from infinitered/shared-project-network"
This reverts commit 4b781831c6, reversing
changes made to 8da18242be.
* Revert "merge upstream"
This reverts commit 1fd5fdffac, reversing
changes made to 249c6f7e9d.
* tweaks for tests
* tweak I18N setting read
* fix spacing changes
* adding touch handling
* diverge BaseViewManager for UWP/WPF
* implemented feedback from @rozele
* added reactprop to no-op todo comments
* allow ReactShadowNode dirty override for Net46
* more tweaks per feedback
* added missing files
* add csproj change
* abstracted platform specific window finding code from UIManagerModule
* cleanup
* implemented @rozele feedback for touch
* changes per @rozele feedback
* cleanup NativeViewHierarchyManager
* cleanup I18N imports
* added doc comments for new NullLoggingActivityBuilder method
* diverge UWP and Net46 UIManagerModule
* cleanup
* Add ChakraCore as submodule, pinned to their release/1.3 branch
* Add wrapper ChakraCore project to ReactNative solution, delegating via msbuild
* Use ChakraCore.dll instead of Chakra.dll for non-UWP builds