Skip to content

Conversation

@brettfo
Copy link
Member

@brettfo brettfo commented Oct 24, 2017

This brings along the <EmbeddedResource />, <EmbeddedText />, and WriteCodeFragment build task.

This brings the branches back into sync and also pulls in non-shipping changes to fcs and tests.

brettfo and others added 30 commits September 21, 2017 20:42
* add build task to generate *.fs from *.resx files

* generate source for embedded resources in tests

* generate source for embedded resources in FSharp.Editor

* generate source for embedded resources in FSharp.LanguageService

* generate source for embedded resources in FSharp.ProjectSystem.FSharp

* generate source for embedded resources in FSharp.VS.FSI

* don't generate non-string resources when <=netstandard1.6

* update baseline error message for tests

The error output should be the exception message, not the exception type.

* perform up-to-date check before generating *.fs from *.resx

* remove non-idiomatic fold for an array comprehension

* correct newline replacement

* output more friendly error message

* throw if boolean value isn't explicitly `true` or `false`

* only generate object resource code on non `netstandard1.*` and `netcoreapp1.*` platforms

* ensure FSharp.Core specifies a target framework for resource generaton

* rename attributes to be non-ambiguous and properly include them
…egistry key"), improve finding of VS2017 tools, fix DEVGUIDE.md (#3635)

* Fix build.com displaying the following error on each run "ERROR: The system was unable to find the specified registry key or value."

* Remove warning about reg.exe errors introduced in #3614 (in commit b548bd7, but unrelated to that fix), it is no longer necessary.

* Fix #3638, VS2017 Preview installation was not found when VS2017RTM is not installed. Remove comment introduced in #3614 (through commit 966bd7f)
… by removing Debugger.Break() (#3627)

* Fixing JaroWinkler tests to use InvariantCulture for number-to-string

* Fixing the crashing of test runners because of a Debugger.Break() in a test
* update to System.Collections.Immutable 1.3.1

* fixes
* Adds optimized emit for int64 constants.

* Adds comment linking to the changing PR.

Thanks for this PR.

Kevin
* fix assembly reference

* remove more build warnings

* fix build
* enable fs as prefix and ignore invalid values for warnings + tests

* Allow #pragma to validate warnings

* do it right

* use ordinal compare

* In both places

* Add fs prefix to warnaserror

* Fixup tests
* Fix stack overflow on tp assembly resolution

* Feedback
* add LanguageServiceProfiling project to internals visible to list of FSharp.Compiler.Private project

* add ImplementationFiles to FSharpCheckFileResults

* make FSharpImplementationFileContents ctor internal

* throw if ImplementationFiles is called having keepAssemblyContents flag set to false

* add a test

* spelling and cosmetics
…ate-vsintegration.cmd (#3672)

* This adds backup, restore, coloration and many more checks to the update-vsintegration.cmd

* This adds backup, restore, coloration and many more checks to the update-vsintegration.cmd

* Remove ambiguous an irrelevant instruction, improved help and instructions

* Fix a scenario where the return code wasn't nonzero for error conditions, fixes not creating backup dir when not backing up
* bump version

* Update RELEASE_NOTES.md
… options (#3601)

* Parse without reactor, add parsing options, error severity options

* Revert parsing APIs (fallback to the new ones), fix VFT projects

* Cache parse results after type check

* Add impl files to file check results (#3659)

* add LanguageServiceProfiling project to internals visible to list of FSharp.Compiler.Private project

* add ImplementationFiles to FSharpCheckFileResults

* make FSharpImplementationFileContents ctor internal

* throw if ImplementationFiles is called having keepAssemblyContents flag set to false

* add a test

* spelling and cosmetics

* This adds backup, restore, coloration and many more checks to the update-vsintegration.cmd (#3672)

* This adds backup, restore, coloration and many more checks to the update-vsintegration.cmd

* This adds backup, restore, coloration and many more checks to the update-vsintegration.cmd

* Remove ambiguous an irrelevant instruction, improved help and instructions

* Fix a scenario where the return code wasn't nonzero for error conditions, fixes not creating backup dir when not backing up

* add LanguageServiceProfiling project to internals visible to list of FSharp.Compiler.Private project (#3657)

* bump FCS version (#3676)

* bump version

* Update RELEASE_NOTES.md

* updates to make tests pass

* restore old behaviour of CheckFileInProjectAllowingStaleCachedResults (builder had been created by ParseFileInProject)

* restore use of CheckFileInProjectAllowingStaleCachedResults

* deprecate test relying on whacky behaviour of deprecated GetCheckResultsBeforeFileInProjectEvenIfStale

* Use ParseFile and FSharpParsingOptions instead of ParseFileInProject

* prepare FCS release with this feature
* fix xmldocs for in-memory project references

* add test

* fix tests
* fix assembly reference

* whitespace and comments

* whitespace and comments

* whitespace and comments
* fix assembly reference

* remove line endings from all *.nuspec files

* ProjectCracker returns *.fsi files in FSharpProjectOptions.SourceFiles array (in addition to *.fs files, in right order)

* ProjectCracker raises exception if ProjectCrackerTool returns non null ProjectCrackerOptions.Error (new field)

* fix build on linux

* fix a test

* slashes

* revert slashes

* Update FSharp.Compiler.Service.ProjectCracker.nuspec
dsyme and others added 27 commits October 13, 2017 10:39
* Do not commit autocompletion on bracket or pipe chars

* Remove accidentally added open statement
* make SimplifyNameEachItemDelay zero

* QuickParse.GetPartialLongNameEx returns pos of the last dot in long ident which is used father in GetDeclaredItems to determine the RHL type

* refactoring

* fix QuickParse

* move QuickParse to FSharp.Compiler.Private project

* add QuickParse to all projects which need it

* fix QuickParse

* add a test

* fix QuickParse

* xml docs

* embed colAtEndOfNamesAndResidue into PartialLongName

* revert unrelated change
* fix IL types constructors nice print

* fix a test

* static constructors do not return anything
* add WriteCodeFragment build task for assembly-level attribute generation

* move InternalsVisibleTo to the project files where possible
* Add `IsRelativeNameResolvableFromSymbol`

* fix compilation
… bug #819) (#3700)

* fix de-duplication of individual files

* bump fcs version
* typeof in quotations.fs now respects ByRef types

* [Test] added tests for AddressOf quotations
- AddressOf now has a proper type (byref<'a>)
- AddressOf can be used in Expr.Call (was an error)
- calls containing AddressOf can be rebuilt using RebuildShapeCombination
* Activate FCS build on CI

* Simplify groovy

* Use paket in magic mode

* Ignore .fake

* Gitignore fcs/packages

* Ignore paket-files
* Update netci.groovy

* Run Release_fcs on ubuntu

* show dotnet version

* wrong path?
* P2p references

* Fix test

* test fix

* go faster stripes

* new project works better

* Re-add debug assert for sourcefiles
@brettfo brettfo merged commit 5f6388b into vs2017-rtm Oct 24, 2017
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
Merge F# code generation into vs2017-rtm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.