Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
6b4d73f
Add flag to enable building with chakra core on uwp (#2630)
stecrain Jun 18, 2019
752233e
Applying package update to 0.59.0-vnext.12
Jun 18, 2019
3f6421a
Wrong argument type bug fix (#2624)
asachin96 Jun 18, 2019
7cfc3f9
Applying package update to 0.59.0-vnext.13
wravery Jun 18, 2019
a370859
Update to react-native@0.59.0-microsoft.5 (#2640)
acoates-ms Jun 18, 2019
c9ed805
rename preprocessor (#2644)
stecrain Jun 19, 2019
8d60e8e
Applying package update to 0.59.0-vnext.14
Jun 19, 2019
2421050
Add test to run through basic CLI scenario (#2641)
acoates-ms Jun 19, 2019
7cdf4be
Applying package update to 0.59.0-vnext.15
Jun 19, 2019
acbf23f
Update OpenSSL NuGet dependency. (#2614)
JunielKatarn Jun 19, 2019
b28c252
Applying package update to 0.59.0-vnext.16
Jun 19, 2019
40a32ec
Reduce onLayoutCalls (native to JS). Move Image download setup to wor…
stecrain Jun 19, 2019
4d9a023
Applying package update to 0.59.0-vnext.17
Jun 20, 2019
096b738
Added image sample and fixed a couple bugs (#2649)
marlenecota Jun 20, 2019
fdd0853
Applying package update to 0.59.0-vnext.18
Jun 20, 2019
d2d1a3c
Use C++ 2017 for Desktop projects. (#2650)
JunielKatarn Jun 20, 2019
6dbe20d
Applying package update to 0.59.0-vnext.19
Jun 20, 2019
85bc45c
Update ChakraCore Debugger to 0.0.0.36. (#2651)
JunielKatarn Jun 20, 2019
0fed997
Applying package update to 0.59.0-vnext.20
Jun 20, 2019
4593056
Implementing accessibilityStates ('disabled' and 'selected') view pro…
jonthysell Jun 20, 2019
8076eb4
Applying package update to 0.59.0-vnext.21
Jun 20, 2019
cbb455e
Implemented Uwp ScriptStore and PreparedScriptStore to allow caching …
jnvbui Jun 21, 2019
cb858ac
Applying package update to 0.59.0-vnext.22
Jun 21, 2019
08aaf18
Delay setting ReactImageBrush source until image has actually loaded …
Thristhart Jun 21, 2019
a28f985
Applying package update to 0.59.0-vnext.23
Jun 21, 2019
328acdc
Implement test WebSocket server. (#2552)
JunielKatarn Jun 21, 2019
fa57607
Applying package update to 0.59.0-vnext.24
Jun 21, 2019
d2d75c6
Add commit Id to nuget packages (#2647)
acoates-ms Jun 21, 2019
08924fd
Applying package update to 0.59.0-vnext.25
Jun 21, 2019
e145135
Fix Memory Leak in ViewViewManager (#2658)
stecrain Jun 21, 2019
e276863
Applying package update to 0.59.0-vnext.26
Jun 21, 2019
9b1fd91
Remove UTs from CMake builds
acoates-ms Jun 21, 2019
19ffbfb
Applying package update to 0.59.0-vnext.27
Jun 21, 2019
739ab0a
Change watch script to use tsc directly (#2661)
marlenecota Jun 21, 2019
4a94f2c
Applying package update to 0.59.0-vnext.28
Jun 24, 2019
f2c374f
fix directory for script store (#2665)
stecrain Jun 24, 2019
0808407
Applying package update to 0.59.0-vnext.29
Jun 24, 2019
e862c4d
Fix memory leaks in ReactImage (#2667)
stecrain Jun 24, 2019
1859454
Applying package update to 0.59.0-vnext.30
Jun 24, 2019
b8d9791
Support Keyboard (#2623)
licanhua Jun 24, 2019
a5946e1
Applying package update to 0.59.0-vnext.31
Jun 24, 2019
402ec43
Clean up MSBuild files (#2664)
JunielKatarn Jun 24, 2019
22d65a4
Applying package update to 0.59.0-vnext.32
Jun 24, 2019
a10c211
Update to react-native@0.59.0-microsoft.6 (#2675)
acoates-ms Jun 25, 2019
f50b7e8
Applying package update to 0.59.0-vnext.33
Jun 25, 2019
0dbe5a1
Minimize use of NOJSC macro (#2670)
JunielKatarn Jun 25, 2019
1e25635
Applying package update to 0.59.0-vnext.34
Jun 25, 2019
0a307a6
Update to react-native@0.59.0-microsoft.7 (#2685)
acoates-ms Jun 26, 2019
6f83fd4
TextInput: Don't blur if not focused (WI: 3249010) (#2687)
Jun 26, 2019
923d7b3
Applying package update to 0.59.0-vnext.35
Jun 26, 2019
43db5b7
Fix Flyout placement for versions <RS5 (#2676)
khetanashita Jun 26, 2019
179a2fb
Applying package update to 0.59.0-vnext.36
Jun 26, 2019
d223d0a
Add AppTheme module (#2684)
marlenecota Jun 27, 2019
10bc81b
Applying package update to 0.59.0-vnext.37
Jun 27, 2019
2e29bb6
Linking fixes - canOpen should always succeed and return false on can…
ahimberg Jun 27, 2019
e0e1335
Applying package update to 0.59.0-vnext.38
Jun 27, 2019
5ce157f
AppTheme jest fix (#2689)
ahimberg Jun 27, 2019
b398411
Applying package update to 0.59.0-vnext.39
Jun 27, 2019
df63830
DynamicAutomationPeer Refactor (#2678)
jonthysell Jun 27, 2019
2dd93e0
Applying package update to 0.59.0-vnext.40
Jun 27, 2019
931c536
Add MissingNativeAppThemeShim (#2691)
marlenecota Jun 27, 2019
89ad394
Applying package update to 0.59.0-vnext.41
Jun 27, 2019
d2c3c9f
Support keyboard focus and blur for View and TextInput (#2682)
licanhua Jun 27, 2019
b55840e
Applying package update to 0.59.0-vnext.42
Jun 27, 2019
f5bb623
Add documentation for WebSocket types. (#2662)
JunielKatarn Jun 28, 2019
7f0186e
Applying package update to 0.59.0-vnext.43
Jun 28, 2019
9120ffb
back out onlayout noise reduction (#2694)
stecrain Jun 28, 2019
0ebddf3
Applying package update to 0.59.0-vnext.44
Jun 28, 2019
b38b0f8
NativeAnimatedModule (#2556)
StephenLPeters Jun 28, 2019
4d0eb54
Applying package update to 0.59.0-vnext.45
Jun 28, 2019
aa95e0b
Adding support for setting a custom root path for bundle loading (#2690)
sayzenberg Jun 28, 2019
8116a4a
Applying package update to 0.59.0-vnext.46
Jun 28, 2019
250e309
Added NuGet.config for Playground. (#2695)
JunielKatarn Jun 28, 2019
3ee7ed4
Applying package update to 0.59.0-vnext.47
Jun 28, 2019
84cb49e
Roundup after measure to workaround yoga clipping regression in 59 (#…
ahimberg Jun 28, 2019
f2e5334
Applying package update to 0.59.0-vnext.48
Jun 28, 2019
ba6bb1e
[AppTheme] Add high contrast properties and events (#2697)
decrowle Jun 29, 2019
92e3dcd
Applying package update to 0.59.0-vnext.49
Jun 29, 2019
e899599
add base64 image support (#2700)
ahimberg Jun 29, 2019
083f58c
Applying package update to 0.59.0-vnext.50
Jun 29, 2019
87427dd
fix Animated shutdown crash (#2707)
ahimberg Jul 1, 2019
c9af61c
Applying package update to 0.59.0-vnext.51
Jul 1, 2019
411f698
Update to react-native@0.59.0-microsoft.8 (#2711)
acoates-ms Jul 1, 2019
a82802f
added xaml direct instance, added XDI for updating properties to pro…
Jul 2, 2019
9172f2f
added xdi to datepicker and picker, small issue with picker when tryi…
Jul 3, 2019
2637781
added xdi on rawtext, rootview and switchview update properties
Jul 3, 2019
ea3acb0
added xdi to viewpanel border
Jul 3, 2019
a3217e2
added xdi to update properties for framework element
Jul 3, 2019
b059a26
propertyutils update
Jul 3, 2019
767cf04
updated textinput
Jul 3, 2019
a0b3d4b
updated tryupdating to not be templates and take xamldirectobject as …
Jul 6, 2019
15b41ca
made update font properties take in prop argument
Jul 8, 2019
ab2f727
update scrollview and popup, removed extra comments
Jul 8, 2019
ef0f365
remove setobjectproperty calls
Jul 8, 2019
b6870dd
converted setcolorprop to setxdprop, removed setobjectprops
Jul 9, 2019
3e7e8a9
reset setcolorprops
Jul 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .ado/bumpFileVersions.js

This file was deleted.

36 changes: 19 additions & 17 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,11 @@ jobs:

- task: CmdLine@2
displayName: Update package version
name: updateVersionTask
inputs:
script: node ../.ado/updateVersion.js
workingDirectory: vnext

# since the above task will update the package.json, we want to ensure that we use the correct version for the nuget
- task: PublishBuildArtifacts@1
displayName: 'Publish updated package.json for nuget'
inputs:
PathtoPublish: 'vnext\package.json'
ArtifactName: 'UpdatedPackageJson'

- task: Npm@1
displayName: npm public publish (vnext)
inputs:
Expand All @@ -61,6 +55,8 @@ jobs:
- job: RnwNativeBuild
displayName: React-Native-Windows Native Build
dependsOn: RnwNpmPublish
variables:
publishCommitId: $[ dependencies.RnwNpmPublish.outputs['updateVersionTask.publishCommitId'] ]
strategy:
matrix:
X64Debug:
Expand Down Expand Up @@ -90,13 +86,11 @@ jobs:

steps:

# The RnwNpmPublish task does this too before publishing the npm package,
# but when each slice checks out code, its not going to have those changes
# Sync to point where the version numbers have been updated
- task: CmdLine@2
displayName: Update version numbers to align with publishing version
inputs:
script: node ../.ado/bumpFileVersions.js
workingDirectory: vnext
script: git checkout $(publishCommitId)


- template: templates/npm-install-and-build.yml

Expand All @@ -115,20 +109,28 @@ jobs:


- job: RNWNuget
dependsOn: RnwNativeBuild
dependsOn:
- RnwNpmPublish
- RnwNativeBuild
displayName: React-Native-Windows Build and Publish Nuget
pool:
name: OE Standard Pool
variables:
publishCommitId: $[ dependencies.RnwNpmPublish.outputs['updateVersionTask.publishCommitId'] ]
npmVersion: $[ dependencies.RnwNpmPublish.outputs['updateVersionTask.npmVersion'] ]

steps:
- checkout: none #skip checking out the default repository resource

- task: DownloadBuildArtifacts@0
displayName: 'Download source Artifact'
# The commit tag in the nuspec requires that we use at least nuget 4.6
- task: NuGetToolInstaller@0
inputs:
artifactName: UpdatedPackageJson
downloadPath: $(System.DefaultWorkingDirectory)
versionSpec: '>=4.6.0'

- template: templates/prep-and-pack-nuget.yml
parameters:
publishCommitId: $(publishCommitId)
npmVersion: $(npmVersion)

- task: NuGetCommand@2
displayName: 'NuGet push'
Expand Down
20 changes: 5 additions & 15 deletions .ado/templates/prep-and-pack-nuget.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
publishCommitId: '0'
npmVersion: '0.0.1-pr'

steps:
- task: DownloadBuildArtifacts@0
Expand Down Expand Up @@ -50,23 +53,10 @@ steps:
robocopy $(System.DefaultWorkingDirectory)\ReactWindows-debug-arm $(System.DefaultWorkingDirectory)\NugetRoot\target\arm\debug /E /MOVE /NP
robocopy $(System.DefaultWorkingDirectory)\ReactWindows-ship-arm $(System.DefaultWorkingDirectory)\NugetRoot\target\arm\ship /E /MOVE /NP

- task: PowerShell@2
displayName: Extract version from package.json, and put it in nuspec
inputs:
targetType: inline # filePath | inline
script: |
if (Test-Path $env:SYSTEM_DEFAULTWORKINGDIRECTORY/UpdatedPackageJson/package.json) {
$lines = Get-Content $env:SYSTEM_DEFAULTWORKINGDIRECTORY/UpdatedPackageJson/package.json | Where {$_ -match '^\s*"version":.*'}
$npmVersion = $lines.Trim().Split()[1].Trim('",');
} else {
$npmVersion = "0.0.1-pr"
}
(Get-Content $env:SYSTEM_DEFAULTWORKINGDIRECTORY/NugetRoot/ReactWin32.nuspec).replace('__BuildBuildNumber__', $npmVersion) | Set-Content $env:SYSTEM_DEFAULTWORKINGDIRECTORY/NugetRoot/ReactWin32.nuspec
(Get-Content $env:SYSTEM_DEFAULTWORKINGDIRECTORY/NugetRoot/ReactUwp.nuspec).replace('__BuildBuildNumber__', $npmVersion) | Set-Content $env:SYSTEM_DEFAULTWORKINGDIRECTORY/NugetRoot/ReactUwp.nuspec

- task: NuGetCommand@2
displayName: 'NuGet pack'
inputs:
command: pack
packagesToPack: '$(System.DefaultWorkingDirectory)/NugetRoot/React*.nuspec'
packDestination: '$(System.DefaultWorkingDirectory)/NugetRoot/'
packDestination: '$(System.DefaultWorkingDirectory)/NugetRoot/'
buildProperties: CommitId=${{parameters.publishCommitId}};npmVersion=${{parameters.npmVersion}}
2 changes: 1 addition & 1 deletion .ado/templates/vs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
feedsToUse: config
#vstsFeed: # Required when feedsToUse == Select
#includeNuGetOrg: true # Required when feedsToUse == Select
nugetConfigPath: vnext/NuGet.config
nugetConfigPath: vnext/NuGet.config
#externalFeedCredentials: # Optional
#noCache: false
#disableParallelProcessing: false
Expand Down
5 changes: 5 additions & 0 deletions .ado/updateVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ function updateVersion() {
exec(`git push origin HEAD:${tempPublishBranch} --follow-tags --verbose`);
exec(`git push origin tag ${tagName}`);

// Record the updated npmVersion and commitId so that later build tasks can use it (to record in the nuget for instance)
const publishCommitId = execSync(`git rev-list -n 1 ${tagName}`);
console.log(`##vso[task.setvariable variable=publishCommitId;isOutput=true]${publishCommitId}`);
console.log(`##vso[task.setvariable variable=npmVersion;isOutput=true]${releaseVersion}`);

exec(`git checkout ${publishBranchName}`);
exec(`git pull origin ${publishBranchName}`);
exec(`git merge ${tempPublishBranch} --no-edit`);
Expand Down
89 changes: 89 additions & 0 deletions .ado/windows-vs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,90 @@ jobs:
script: del SampleApp.uwp.bundle
workingDirectory: vnext

- job: CliInit
displayName: Verify react-native init
pool:
vmImage: vs2017-win2016
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # whether to fetch clean each time
# fetchDepth: 2 # the depth of commits to ask Git to fetch
lfs: false # whether to download Git-LFS files
submodules: false # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: false # set to 'true' to leave the OAuth token in the Git config after the initial fetch

# First do a build of the local package, since we point the cli at the local files, it needs to be pre-built
- task: CmdLine@2
displayName: yarn install (local react-native-windows)
inputs:
script: yarn install --frozen-lockfile
workingDirectory: vnext

- task: CmdLine@2
displayName: yarn build (local react-native-windows)
inputs:
script: yarn build
workingDirectory: vnext

# yarn ends up copying the whole node_modules folder when doing an install of a file package
# Delete node_modules, so that resolution is more like when installing from a published npm package
- task: CmdLine@2
displayName: Remove node_modules
inputs:
script: rd /S /Q node_modules
workingDirectory: vnext

- task: CmdLine@2
displayName: Install react-native cli
inputs:
script: npm install -g react-native-cli

- task: CmdLine@2
displayName: Init new project
inputs:
script: react-native init testcli
workingDirectory: $(Agent.BuildDirectory)

- task: CmdLine@2
displayName: Install rnpm-plugin-windows
inputs:
script: yarn add rnpm-plugin-windows@file:$(Build.SourcesDirectory)\current\local-cli\rnpm\windows
workingDirectory: $(Agent.BuildDirectory)\testcli

- task: CmdLine@2
displayName: Apply windows template
inputs:
script: react-native windows --template vnext --windowsVersion file:$(Build.SourcesDirectory)\vnext
workingDirectory: $(Agent.BuildDirectory)\testcli

- template: templates/install-SDK.yml

- task: NuGetCommand@2
displayName: NuGet restore
inputs:
command: restore
restoreSolution: $(Agent.BuildDirectory)\testcli\windows\testcli.sln

- task: MSBuild@1
displayName: MSBuild - Build the project
inputs:
solution: $(Agent.BuildDirectory)\testcli\windows\testcli.sln
msbuildVersion: '15.0' # Optional. Options: latest, 16.0, 15.0, 14.0, 12.0, 4.0
msbuildArchitecture: 'x86' # Optional. Options: x86, x64
platform: x64 # Optional
configuration: Debug # Optional
restoreNugetPackages: true
msbuildArguments: '/p:PreferredToolArchitecture=x64' # Optional
clean: true # Optional

- task: CmdLine@2
displayName: Create bundle
inputs:
script: react-native bundle --entry-file App.windows.js platform uwp --bundle-output test.bundle
workingDirectory: $(Agent.BuildDirectory)\testcli

- job: RnwNativePRBuild
displayName: Windows Visual Studio with Win32 PR
strategy:
Expand Down Expand Up @@ -296,4 +380,9 @@ jobs:
steps:
- checkout: none #skip checking out the default repository resource

# The commit tag in the nuspec requires that we use at least nuget 4.6
- task: NuGetToolInstaller@0
inputs:
versionSpec: '>=4.6.0'

- template: templates/prep-and-pack-nuget.yml
5 changes: 4 additions & 1 deletion vnext/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ indent_size = 2
end_of_line = crlf

# Xml project files
[*.{csproj,vcxproj,pssproj,vcxproj.filters,targets,props}]
[*.{config,csproj,props,targets,vcxitems,vcxproj,vcxproj.filters}]
end_of_line = crlf
insert_final_newline = false

[*.ps1]
indent_style = tab
indent_size = 4

[package.json]
insert_final_newline = false
Loading