-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge from master #13
Commits on Nov 9, 2016
-
Change the way we generate nupkg files (#1721)
* Simplify Nugets * Re-remove ValidateConfiguration * Re-remove ValidateConfiguration * fsianycpu.config was inadvertently deleted * FSC.proj merge issue * fsharp.core.proj * Remove prerequisited from vsixmanifest
Configuration menu - View commit details
-
Copy full SHA for ce83658 - Browse repository at this point
Copy the full SHA ce83658View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddf2e5 - Browse repository at this point
Copy the full SHA 7ddf2e5View commit details
Commits on Nov 10, 2016
-
This fixes #1728 and makes sure we are checking the error code. This PR also removes the exclude option from build.cmd which was causing batch file hell (because of the use of a ! character!), which was only used to exclude Expensive tests. Now use an explicit include Expensive .
Configuration menu - View commit details
-
Copy full SHA for 0e40f7d - Browse repository at this point
Copy the full SHA 0e40f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f86dc7 - Browse repository at this point
Copy the full SHA 7f86dc7View commit details
Commits on Nov 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for dedf4f8 - Browse repository at this point
Copy the full SHA dedf4f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f3e6a - Browse repository at this point
Copy the full SHA 70f3e6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a8339f - Browse repository at this point
Copy the full SHA 1a8339fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e8bd80 - Browse repository at this point
Copy the full SHA 9e8bd80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99021e8 - Browse repository at this point
Copy the full SHA 99021e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30bb033 - Browse repository at this point
Copy the full SHA 30bb033View commit details -
Configuration menu - View commit details
-
Copy full SHA for 558805a - Browse repository at this point
Copy the full SHA 558805aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20eaba5 - Browse repository at this point
Copy the full SHA 20eaba5View commit details
Commits on Nov 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ff62b0b - Browse repository at this point
Copy the full SHA ff62b0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 500229b - Browse repository at this point
Copy the full SHA 500229bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f82f527 - Browse repository at this point
Copy the full SHA f82f527View commit details -
Use dotnet publish to deploy fsharp.core.unittests for coreclr (#1733)
* Simplify Nugets * Re-remove ValidateConfiguration * Re-remove ValidateConfiguration * fsianycpu.config was inadvertently deleted * FSC.proj merge issue * fsharp.core.proj * Remove prerequisited from vsixmanifest * Use publish for fsharp.core.unittests * remove tuplesample.dlls * Fix tuplesample reference * correct profile for fsharp.core.unittests * typo * Remove pre-requisites again * Put readme in artifacts directory to ensure it exists
Configuration menu - View commit details
-
Copy full SHA for d0a1356 - Browse repository at this point
Copy the full SHA d0a1356View commit details
Commits on Nov 13, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bfbf8b6 - Browse repository at this point
Copy the full SHA bfbf8b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1891be - Browse repository at this point
Copy the full SHA d1891beView commit details
Commits on Nov 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9967c1b - Browse repository at this point
Copy the full SHA 9967c1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bd0d30 - Browse repository at this point
Copy the full SHA 8bd0d30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f6c106 - Browse repository at this point
Copy the full SHA 3f6c106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95452c2 - Browse repository at this point
Copy the full SHA 95452c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8174c85 - Browse repository at this point
Copy the full SHA 8174c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4525ee5 - Browse repository at this point
Copy the full SHA 4525ee5View commit details -
Merge branch 'test-fixes-2' of https://github.com/dsyme/visualfsharp …
…into test-fixes-2
Configuration menu - View commit details
-
Copy full SHA for 593e151 - Browse repository at this point
Copy the full SHA 593e151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb164d - Browse repository at this point
Copy the full SHA 7eb164dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62fabb1 - Browse repository at this point
Copy the full SHA 62fabb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f567e - Browse repository at this point
Copy the full SHA 82f567eView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa0d768 - Browse repository at this point
Copy the full SHA aa0d768View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f95b10 - Browse repository at this point
Copy the full SHA 5f95b10View commit details -
* Cleanup 'fsharp' suite * remove resx arguments processing and System.Windows.Forms dependency * add FSharp.sln * Normalize code in fsc.fs and add comments * Normalize, simplify and cleanup lists of FX_NO_XYZ defines * Delete all batch files from "fsharp" suite * Remove FSHarp.Compiler.Hosted, it was silly * Remove testing for portable profiles from "fsharp" suite as it was mostly disabled * Reinstate ``isNil`` for ``List.empty`` * Normalize ``#if`` followed by empty then ``#else`` * Remove unused defines * Remove old stay-resident compiler that was used on Mono years ago
Configuration menu - View commit details
-
Copy full SHA for 6ce962e - Browse repository at this point
Copy the full SHA 6ce962eView commit details -
Make Async.AwaitHandle Timeout test more lenient.
This test is failing regularly on AppVeyor, hopefully this helps.
Configuration menu - View commit details
-
Copy full SHA for 091fade - Browse repository at this point
Copy the full SHA 091fadeView commit details
Commits on Nov 15, 2016
-
Merge pull request #1743 from kurtschelfthout/async-awaithandle-timeout
Make Async.AwaitHandle Timeout test more lenient.
Configuration menu - View commit details
-
Copy full SHA for ec9fb95 - Browse repository at this point
Copy the full SHA ec9fb95View commit details
Commits on Nov 16, 2016
-
Fix 1393 and simplify "fsharp" suite further (#1744)
* fix 1393 and simplify fsharp test suite * fix 1393 and simplify fsharp test suite * play errors only once * fix tests * fix tests
Configuration menu - View commit details
-
Copy full SHA for bca082a - Browse repository at this point
Copy the full SHA bca082aView commit details -
Fix 99: remove restriction on static linking (#1741)
* remove restriction on static linking * add test case * fix test * fix test * check static linking of mscorlib-based into System.Runtime DLLs * merge master * fix test
Configuration menu - View commit details
-
Copy full SHA for 34690eb - Browse repository at this point
Copy the full SHA 34690ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for b811e37 - Browse repository at this point
Copy the full SHA b811e37View commit details -
* Use vssdk from nuget * forget to commit packages.config
Configuration menu - View commit details
-
Copy full SHA for 032f9c4 - Browse repository at this point
Copy the full SHA 032f9c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f3a2bc - Browse repository at this point
Copy the full SHA 1f3a2bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e37ea23 - Browse repository at this point
Copy the full SHA e37ea23View commit details
Commits on Nov 17, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 558e47e - Browse repository at this point
Copy the full SHA 558e47eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7e398b - Browse repository at this point
Copy the full SHA a7e398bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d59c1f4 - Browse repository at this point
Copy the full SHA d59c1f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c03f13e - Browse repository at this point
Copy the full SHA c03f13eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab106fc - Browse repository at this point
Copy the full SHA ab106fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3af0ea - Browse repository at this point
Copy the full SHA e3af0eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e1284e - Browse repository at this point
Copy the full SHA 5e1284eView commit details -
Minor Build Configuration Improvements (#1760)
* gitignore 'tests/fsharpqa/testenv/bin/' * fix paths for posh * ensure preview2 of dotnet cli is used with global.json * delete global.json
Configuration menu - View commit details
-
Copy full SHA for 9bcfe0b - Browse repository at this point
Copy the full SHA 9bcfe0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3db89 - Browse repository at this point
Copy the full SHA 6c3db89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ad98ac - Browse repository at this point
Copy the full SHA 7ad98acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12eb574 - Browse repository at this point
Copy the full SHA 12eb574View commit details
Commits on Nov 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 551a7a0 - Browse repository at this point
Copy the full SHA 551a7a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9379e75 - Browse repository at this point
Copy the full SHA 9379e75View commit details -
Merge pull request #1750 from dsyme/fsi-4
Additional testing for CoreCLR and make it easier to play with F# Compiler and Interactive on CoreCLR
Configuration menu - View commit details
-
Copy full SHA for f31f26f - Browse repository at this point
Copy the full SHA f31f26fView commit details
Commits on Nov 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 384451e - Browse repository at this point
Copy the full SHA 384451eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ea283 - Browse repository at this point
Copy the full SHA c1ea283View commit details -
Don't append Module for types with arguments. (#1772)
Don't implicitly append 'Module' to module names if the type with the same name as the module has a type argument. In that case the name is not ambiguous. In addition, the current situation breaks these fairly common use cases for libraries that need to interoperate with other .NET languages, as with the new compiler some modules will suddenly gain a Module suffix. There is no way to turn this off, short of making the module into a static class, which is silly.
Configuration menu - View commit details
-
Copy full SHA for 9367586 - Browse repository at this point
Copy the full SHA 9367586View commit details
Commits on Nov 22, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 7cb0929 - Browse repository at this point
Copy the full SHA 7cb0929View commit details -
Make async test less flakey. (#1794)
* Make async test less flakey. See #1755. Instead of a ref cell with a lock, we use a ManualResetEvent so that the sleep 100ms - which I assume is the reason for the flakiness, this is not proven - can be replaced with a generous timeout, while the test can still complete in reasonable time. * Make sure cancel handler is registered.
Configuration menu - View commit details
-
Copy full SHA for bfd9bc6 - Browse repository at this point
Copy the full SHA bfd9bc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234ebff - Browse repository at this point
Copy the full SHA 234ebffView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd9ac53 - Browse repository at this point
Copy the full SHA dd9ac53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d919b7 - Browse repository at this point
Copy the full SHA 2d919b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 413bc7a - Browse repository at this point
Copy the full SHA 413bc7aView commit details -
Improve compiler's type searching logic (#1792)
The compiler has some logic to search for known types amongst available DLLs. With this PR we get to enable several tests that uses F# Interactive on .NET Core and more tests for the F# compiler on .NET Core Some of the known-type-search logic is OK, but swathes of it are not so good, e.g. this stuff This improves the search by just having one function to do the search moving many "known types" out of Abstract IL (ILGlobals) and into the F# Compiler TcGlobals. THe advantages of this is that getting started with ILGlobals is much simpler if the set of referenced types is simpler - in particular if the small set of types known to Abstract IL are all always in the primary assembly (Int32, String, Array etc.). This is particularly important for .NET Core. I don't trust the current code to correctly find some of the more obscure types for .NET Core, since the searching was based around various assumptions for Profile 7, 78, 259. Overall this removes a fair chunk of fragile code from the compiler. Separately this refactors TcGlobals to be a class instead of a record (which requires fewer lines of code)
Configuration menu - View commit details
-
Copy full SHA for a0db991 - Browse repository at this point
Copy the full SHA a0db991View commit details
Commits on Nov 23, 2016
-
Configuration menu - View commit details
-
Copy full SHA for de77efc - Browse repository at this point
Copy the full SHA de77efcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d88f89 - Browse repository at this point
Copy the full SHA 8d88f89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60fd445 - Browse repository at this point
Copy the full SHA 60fd445View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66c3343 - Browse repository at this point
Copy the full SHA 66c3343View commit details -
Fix some underlying causes of long UI blocks in new LS implementation (…
…#1819) Fixes underlying issues associated with #1815 After getting a 15+ second UI block in VS 2017, I've done a complete review of the way the new LanguageService implementation is using FSharp.Compiler.Service (the DLL internally called FSharp.Compiler.LanguageService in the Visual F# Tools repo, but it's basically the same component as FCS) In short, the new LS implementation expects FCS to honour cancellation of submitted tasks in a more timely way. This PR greatly improves the cancellability of FCS requests, which was one of the underlying causes of such a long UI block. 1. Improve FCS so that it respects cancellation in a more timely way. Cancellation will now be respected at each step of the evaluation of the incremental build graph (IncrementalBuild.fs). This represents a fundamental improvement to FCS which will be very useful to other F# editors as well, as long as they are cancelling tasks. In particular, some FCS requests could be _very_ long running, e.g. CheckFileInProject may require checking **all** the files prior to this file (and if cross-F#-to-F#-project checking is enabled then it will require checking all the dependent projects too). Prior to this PR FCS was not respecting cancellation of these requests, and was simply running them through and then throwing the results away. 2. The new LS implementation was using some unnecessary calls to Async.RunSynchronously. All of these could inject arbitrary non-responsiveness into some part of the causality chains. I've removed these in favour of fully async code. 3. In FCS the old IsResultObsolete logic can be removed in favour of checking a cancellation token This also fixes #1756, see [this change here](https://github.com/Microsoft/visualfsharp/pull/1819/files#diff-69fa840cd1c6d144d0cd489cad82e901R88) We have a separate issue that too may errors/warnings are shown for out-of-project files - the old LS implementation showed the first 3 errors - a good choice which we decided on long ago. I'll add an issue for that.
Configuration menu - View commit details
-
Copy full SHA for 820af62 - Browse repository at this point
Copy the full SHA 820af62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fbc133 - Browse repository at this point
Copy the full SHA 3fbc133View commit details
Commits on Nov 24, 2016
-
Fix [<RequireQualifiedAccess>] on a DU shadows types in the same modu…
…le (#1512) * Reproduce #1253 * Union resolution should not stop other searches * reproduce #1294 * fix #1294 * Show that constructor syntax still works * Fix shortcut * Fix shortcut * Adding further tests * Search for a discriminated union without RequireQualifiedAccess attribute * Don't run union search twice * Simplify code * Fix encoding issue
Configuration menu - View commit details
-
Copy full SHA for adff559 - Browse repository at this point
Copy the full SHA adff559View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41cc6af - Browse repository at this point
Copy the full SHA 41cc6afView commit details -
Fix colorization speed in large files (#1829)
Fixes #1821 Incremental colorization was not being effective on changing files for a number of reasons •Data cache was keyed by source text rather than document ID •We were writing None entries right through to end-of-file even when we could stop earlier •We weren't checking that start-of-line indexes and lex states were still the same when reusing entries •Tokenizers getting recreated for each line - we can cache these as well. I've tried the PR out on large files and it works much more efficiently. Also a fix to make ShouldTriggerCompletionAux faster in the common case where not pressing . This also fixes glyphs: #1806. Public/private/protected is not yet propagated to the glyph but this gives us feature parity with VS2015
Configuration menu - View commit details
-
Copy full SHA for bfe4086 - Browse repository at this point
Copy the full SHA bfe4086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74c9869 - Browse repository at this point
Copy the full SHA 74c9869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0e0da - Browse repository at this point
Copy the full SHA 8e0e0daView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6e900e - Browse repository at this point
Copy the full SHA a6e900eView commit details
Commits on Nov 25, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 2f5851a - Browse repository at this point
Copy the full SHA 2f5851aView commit details -
Add type info to error - references #1574 (#1834)
* Add type info to error - references #1574 * Add type info to FS0314 * Add type info to more SignatureConformance errors
Configuration menu - View commit details
-
Copy full SHA for 403fc0c - Browse repository at this point
Copy the full SHA 403fc0cView commit details -
Modify build to include fsharp compiler dependencies in vsix'. Enable…
…s OSS build FSI to run. (#1833)
Configuration menu - View commit details
-
Copy full SHA for beef089 - Browse repository at this point
Copy the full SHA beef089View commit details
Commits on Nov 26, 2016
-
Fix GoTo Definition issues (#1836)
* fix goto defn on operators and other items * fix gtd
Configuration menu - View commit details
-
Copy full SHA for 5b105dc - Browse repository at this point
Copy the full SHA 5b105dcView commit details -
dsyme authored and dsyme committed
Nov 26, 2016 Configuration menu - View commit details
-
Copy full SHA for 7752a08 - Browse repository at this point
Copy the full SHA 7752a08View commit details -
As a result of struggling with running and adding to the compiler tests recently, hopefully this will make things clearer for future contributors. * FSharpSuite are NUnit tests now. * Move RunAll.pl specific test.lst stuff to FSharpQA paragraph. * Add example of using build.cmd to run subset of FSharpQA tests.
Configuration menu - View commit details
-
Copy full SHA for d03cca8 - Browse repository at this point
Copy the full SHA d03cca8View commit details
Commits on Nov 27, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 4506180 - Browse repository at this point
Copy the full SHA 4506180View commit details -
Fix for missing IntelliSense after type constraint error (#1568)
* partially fixes Intellisense after type constraint error * working with intellisense * fix tests * exits on too many errors, remove some of the expected error messages
Configuration menu - View commit details
-
Copy full SHA for 66a5f53 - Browse repository at this point
Copy the full SHA 66a5f53View commit details -
Implement FSharpQuickInfoProvider (by @OmarTawfik) (#1849)
* Implement FSharpQuickInfoProvider (by @OmarTawfik) * extract tryClassifyAtPosition and reuse it in QuickInfoProvider * address code review * fix QuickInfo text span * don't show empty tooltip * add a QuickInfoProvider test * QuickInfoProvider respects current theme colors * revert problem stuff into FSharp.Compiler.fsproj
Configuration menu - View commit details
-
Copy full SHA for f67db1f - Browse repository at this point
Copy the full SHA f67db1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22ca784 - Browse repository at this point
Copy the full SHA 22ca784View commit details