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

17938 Коммитов

Автор SHA1 Сообщение Дата
Tom Underhill 6249f6920c
Fix react-native-macos-init to not break react-native-windows-init (#317)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Restored ios:macos RNTester parity except for InputAccessoryView.

* Revert "Restored ios:macos RNTester parity except for InputAccessoryView."

This reverts commit 5a67ae06b0.

* Make react-native.config.js be appended to existing file.
2020-04-23 11:21:40 -07:00
React-Native Bot 77927fe242 Applying package update to 0.60.0-microsoft.76 ***NO_CI*** 2020-04-23 15:20:31 +00:00
Eloy Durán 8cb99cd2cd
[generator-macos] Setup Podfile for platform specificity during auto-linking (#318)
See https://github.com/react-native-community/cli/pull/1126
2020-04-23 17:05:33 +02:00
React-Native Bot 12f726589d Applying package update to 0.60.0-microsoft.75 ***NO_CI*** 2020-04-21 03:54:09 +00:00
Eloy Durán f940702eae
[generator-macos] Enable auto-linking of native modules (#312)
* [generator-macos] Guard against package.json not having scripts yet

* [generator-macos] Enable auto-linking

Currently uses @react-native-communit/cli-platform-ios, but this is mostly
semantics as they work the same. In the future this will move into a
cli-platform-apple package which will hold common iOS and macOS tooling.
2020-04-20 20:38:07 -07:00
React-Native Bot a0e09ab4f0 Applying package update to 0.60.0-microsoft.74 ***NO_CI*** 2020-04-16 20:52:11 +00:00
Tom Underhill bfed7d4297
macOS Picker was rendering too tall (#311)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Restored ios:macos RNTester parity except for InputAccessoryView.

* Revert "Restored ios:macos RNTester parity except for InputAccessoryView."

This reverts commit 5a67ae06b0.

* Fix macOS Picker height.

* Set Picker height to height of NSComboBox in Storyboards.
2020-04-16 13:39:45 -07:00
React-Native Bot f7c73cc7dc Applying package update to 0.60.0-microsoft.73 ***NO_CI*** 2020-04-15 22:39:58 +00:00
Tom Underhill 6639248252
Get Cocoapods build building for test targets, make macOS API surface equivalent to iOS and Android (#305)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Restored ios:macos RNTester parity except for InputAccessoryView.

* Add InputAccessoryView for mac

* iOS tests pass via Pods

* IntegrationTests passing

* All targets building

* Removed unused file.

* Preserve building in both static xcodeproj and cocoapods.

* Missed a diff comment

* Elliminstated RCTTest #ifdefs

* Align with upstream changes post .60

* Fix Flow check and minor ESLint whitespace

* Make .gitignore align with changes upstream.
2020-04-15 15:24:55 -07:00
React-Native Bot d9b7a7d283 Applying package update to 0.60.0-microsoft.72 ***NO_CI*** 2020-04-14 22:37:52 +00:00
Eloy Durán 4bbea7cde2
[generator-macos] Use CocoaPods to build iOS and macOS targets (#298)
* [generator-macos] Import upstream v0.62 template and add macOS target

* [generator-macos] Make targets build using CP

* [generator-macos] Give macOS app localhost access

* [generator-macos] Update pbxproj after pod install

* [generator-macos] Remove last refs to Flipper

* [generator-macos] Revert some unneeded changes

* [CI] Run pod install before run-macos

* [CLI] No longer use legacy build system

* [CLI] Don't try to parse build output
2020-04-15 00:24:47 +02:00
React-Native Bot 2cd3cdb164 Applying package update to 0.60.0-microsoft.71 ***NO_CI*** 2020-04-14 18:55:02 +00:00
Anandraj f0b5614168
EditText AutoFocus is not working (#302)
* EditText AutoFocus is not working

* Change files

* Change files

* Change files

* Change files

* Cleaning up unneeded change files and renaming the package.json in android-patches to avoid being tracked

* A nudge to restart the CI runs

Co-authored-by: Anandraj Govindan <anandrag@microsoft.com>
2020-04-14 11:41:46 -07:00
React-Native Bot 62717910f5 Applying package update to 0.60.0-microsoft.70 ***NO_CI*** 2020-04-14 00:46:21 +00:00
Tom Underhill 6196f60a34
Add `react-native run-macos` command (#300)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Start of run-macos cli

* run-macos working

* Add JSDoc

* Fix script to only pass argument when installed

* Fixed var name

* Added run-macs CI step

* Log success or failure
2020-04-13 17:32:02 -07:00
React-Native Bot f9df0ae074 Applying package update to 0.60.0-microsoft.69 ***NO_CI*** 2020-04-07 18:21:39 +00:00
Tom Underhill bfd9b433e5
Add CI for react-native-macos-init (#297)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Added CI test for react-native-macos-init

* Rename command

* Apparently ADO variables cannot be yml arrays.  Remove the Demands variable.

* Ensure node 10.x

* Try npm install -g verdaccio

* Try without npx

* Log verdaccio console output.

* Try NodeTool instead of UseNode

* Fix argument

* Try using `n` to enforce node version when running ado-start-verdaccio.sh

* No bump

* Set env var

* Lets try setting the correct env var this time.

* Make versionUtils.js more robust.

* Restore package.json

* Run beachball from react-native-macos-init

* Fix \ to /.

* Change version to latest
2020-04-07 11:08:40 -07:00
React-Native Bot 9a7079c049 Merge branch 'publish-temp-1586045919127' 2020-04-05 00:19:42 +00:00
React-Native Bot dbbb39e541 Applying package update to 0.60.0-microsoft.68 ***NO_CI*** 2020-04-05 00:18:40 +00:00
React-Native Bot 9d7e9f50ad applying package updates ***NO_CI*** 2020-04-05 00:06:58 +00:00
Tom Underhill 65bfadb616
Fix beachball npm publish pipeline (#296)
* Update scripts to publish react-native-macos-init

* Fix beachball publish by using a template to set the git user.email and user.name

* Manually set the package version to what the beachball publish step tried and failed to commit.

* Clean up merge markers
2020-04-04 17:04:33 -07:00
React-Native Bot f7c9b9ae99 Merge branch 'publish-temp-1585980412923' 2020-04-04 06:07:54 +00:00
React-Native Bot 1ae64861b2 Applying package update to 0.60.0-microsoft.67 ***NO_CI*** 2020-04-04 06:06:53 +00:00
Tom Underhill 94d6bd48c9
Repair yarn.lock file (#295)
* Update scripts to publish react-native-macos-init

* Repair yarn.lock file

* Fix merge markers
2020-04-03 23:06:08 -07:00
Tom Underhill e9f6c209bc
Update scripts to publish react-native-macos-init (#294)
* Update scripts to publish react-native-macos-init

* Change files

* Change files

* Changed publish to use beachball.

* Used yarn install instead of npm install

* Add yarn build
2020-04-03 22:54:36 -07:00
React-Native Bot 804e6a6a04 Applying package update to 0.60.0-microsoft.66 ***NO_CI*** 2020-04-03 19:10:49 +00:00
Tom Underhill d7aa4df7fb
Re-enable npmjs.org npm publishing (#293)
* Restore npmjs publishing.

* Rename display names of pipelines
2020-04-03 11:57:49 -07:00
React-Native Bot a204977e2c Applying package update to 0.60.0-microsoft.65 ***NO_CI*** 2020-04-02 20:04:27 +00:00
Eloy Durán 7a67a247ed
Minor macOS generator related changes (#292)
* [macos-init] Build on publish

* [generate-macos] Cleanup copy-paste leftover

* [generator-macos] Remove FB copyright notices

Equal to upstream iOS change https://github.com/facebook/react-native/pull/27725

* [generator-macos] Name app product without `-macOS` suffix
2020-04-02 12:52:22 -07:00
React-Native Bot e0666e282f Applying package update to 0.60.0-microsoft.64 ***NO_CI*** 2020-04-02 00:35:58 +00:00
Tom Underhill ef31e51828
Add `react-native-macos-init` for adding macOS apps to existing `react-native init` projects. (#291)
* Got npx command line working.

* Generating project folder.

* Added macOS template files.

* Lint fixes

* Remove temp workarounds.

* Make react-native.config.js mac and windows compatible.

* Restore parity of macOS components with iOS because the `react-native init` sample app depends on them: e.g. StatusBar.

* Updated NewAppScreen language for macOS.

* Added `--prerelease` switch to allow installing pre-rerelease versions without prompting as this will be needed in CI.
Made tweaks to templates and fixed template schemes to rename to project name.
2020-04-01 17:22:01 -07:00
React-Native Bot feed0ac06b Applying package update to 0.60.0-microsoft.63 ***NO_CI*** 2020-03-27 02:32:39 +00:00
Anandraj fd772eed16
Fixing DialogModule for Android SDK version before 26 (#285)
* Fixing DialogModule for Android SDK version before 26

* Adding a comment

Adding a comment .. as a workaround to retrigger Apple PR

Co-authored-by: Anandraj Govindan <anandrag@microsoft.com>
2020-03-26 19:17:45 -07:00
React-Native Bot 058aa0b1d7 Applying package update to 0.60.0-microsoft.62 ***NO_CI*** 2020-03-25 18:15:17 +00:00
HeyImChris 2117256a5e
Send mouse up notifications for all enabled NSControls (#263)
* remove a stale event from the native tracking queue that prevents every other click from registering

* comment change inline
2020-03-25 11:00:10 -07:00
React-Native Bot 2296bda5bc Applying package update to 0.60.0-microsoft.61 ***NO_CI*** 2020-03-23 18:50:09 +00:00
Tom Underhill d604a2d9e2
Add support for macOS legacy scroller system setting. (#262)
* Add support for macOS legacy scroller system setting.

* Add missing comment.  Whitespace cleanup

* Add locals

* Fixed ] in comment
2020-03-23 11:36:10 -07:00
React-Native Bot 08a90a0066 Applying package update to 0.60.0-microsoft.60 ***NO_CI*** 2020-03-20 21:32:42 +00:00
HeyImChris ba0ccdf7b9
MacOS mouse events show up at wrong locations (#260)
* macos mouse events showing up at wrong locations sometimes fix

* cache some vars

* minor var renames
2020-03-20 14:18:27 -07:00
React-Native Bot d380cd80a3 Applying package update to 0.60.0-microsoft.59 ***NO_CI*** 2020-03-20 17:29:55 +00:00
HeyImChris b25c2efadf
provide an anchor to our actionsheet (#261) 2020-03-20 10:15:07 -07:00
React-Native Bot 36306e3849 Applying package update to 0.60.0-microsoft.58 ***NO_CI*** 2020-03-19 01:34:51 +00:00
Anandraj 3a93643e8e
Moving the android specific changes to patch files and reverting them… (#254)
* Moving the android specific changes to patch files and reverting them from the repo.

* Apply patches immediately after cloning

* Fixing the webpack config for the bundle to run correctly

* Removing an unwanted hunk from folly makefile hwich might be causing a build failure

* Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper

* Fixing the patch scripts

* Fixing a patch file with integrity failure.. and tightening the error handling.

* Adding more diagnostics

* More diagnostics

* Fixing line splitting of patch and source files while patching

* Cleaning up the diagnostics.. Patching should work this time.

* Reverting the change needed for MAC/iOS

* More diagnostics printed out ..

* Fixing MAC/iOS build

* yarn test -u

* Update .eslintignore

Update .eslintignore to ignore patching code and patch files.

* Fixing a couple of linking errors in JS'

* Adding prettierignore and making some fixes to the patches

* More fixes to the path

* Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code

* A fix in the patch application condition

* More fixes in the patch application condition

* Another attempt to fix the patching condition

* Yet Another attempt to fix the patching condition

* Yet Another attempt to fix the patching condition.. forcing the parameter to be strings

* Yet Another attempt to fix the patching condition.. forcing the parameter to be strings

* Making patches work on non-windows.. and more fixes for the condition in yaml

* Diagnostics for debugging conditions

* Diagnostics for debugging conditions 2

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Workaround

* Workaround

* Workaround

* Workaround

* Fixing Apple build failure with patch applied ..

* Refactoring the patch application to template

* Fixing the template file relative URL when referenced from another template

* Fixing a mistake introduced while refactoring the patch creating steps.

* Fixing some formatting

* Fixing some formatting

Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-18 18:20:08 -07:00
React-Native Bot bcd99838ca Applying package update to 0.60.0-microsoft.57 ***NO_CI*** 2020-03-10 18:36:24 +00:00
HeyImChris 65f2bcad14
Remove a stale ref to a deprecated file (UIWebView) (#259)
* Remove a stale ref to a deprecated file

* remove more unneeded recovered files- remove libs by ref

* add back lib refs as we get build failures with them out

* fix up blank space issues
2020-03-10 11:22:18 -07:00
React-Native Bot e7b93a1f86 Applying package update to 0.60.0-microsoft.56 ***NO_CI*** 2020-03-08 00:37:46 +00:00
Tom Underhill 5819699717
Do not override `accessibilityRole` on `NSView` for macOS. (#258) 2020-03-07 16:24:41 -08:00
React-Native Bot 59adec8f2b Applying package update to 0.60.0-microsoft.55 ***NO_CI*** 2020-03-07 22:12:37 +00:00
Tom Underhill 8214368e58
Restore macOS <Image> and ActionSheetIOS. Cherry pick multi windows UIScene support from upstream. (#256)
* Fix manual merge error.

* Fix missing getters from react-native-implementation.macos.js.
Cherry pick https://github.com/facebook/react-native/pull/28147 into fork to Make RCTKeyWindow multi-window aware and add UIScene support to RCTRedBox.

* release _window now to ensure its UIKit ivars are dealloc'd on the main thread as the RCTRedBox can be dealloc'd on a background thread
2020-03-07 13:59:28 -08:00
React-Native Bot dadfc30bea Applying package update to 0.60.0-microsoft.54 ***NO_CI*** 2020-03-05 01:07:36 +00:00