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

12731 Коммитов

Автор SHA1 Сообщение Дата
Steffen Forkmann 52fa967fa9 Starting to add tests for discrimanted unions. 2014-04-16 20:30:04 -07:00
latkin 542ef81df5 Fix for fsbugs issue "can't run F# Console Application with 'update' in name".
Root cause was that compiler was not embedding a win32 manifest into generated executables, thus all EXEs were running virtualized and at the mercy of "Installer Detection Technology" (see http://technet.microsoft.com/en-us/library/cc709628(v=WS.10).aspx for heuristics used).  EXEs with "update", "install", etc in their file names triggered the heuristic and required admin privs to run.  Trying to start these from VS would not work unless you were also running VS as admin.  The old logic used to decide whether to embed a manifest was tied to .NET version and had drifted out of date.

New logic is to embed the default manifest for all EXEs unless there is some specific config that precludes this.  New test added to validate that a manifest is present for EXE, absent for DLL. (changeset 1232952)
2014-04-16 17:24:13 -07:00
wochae d8ee80fe45 [F#] Slicing and range expression inconsistent
Slice expressions (ex., e1.[e1..e2]) looks similar to range expression (ex., [| e1 .. e2 |] ) but their behaviors are not consistent when length < 0. For example, [| 1..10 |].[3..1] raises overflow exception while [| 3..1 |] evaluates [| |]. In this shelveset, length check is added consistently for array/string slice expressions, so their behaviors looks consistent.

Additionally, for open-ended slices (e.g., m.[1..] or m.[..5]), exception would raise for invalid range. (changeset 1231622)
2014-04-15 16:45:26 -07:00
Steffen Forkmann ebf2bc4a30 Fixing typo in TESTGUIDE 2014-04-11 15:24:55 -07:00
latkin 05772845d0 Update open build to target .NET 4.5 and MSBuild 12. This aligns the open build with what ships in VS 2013 and F# 3.1.1 OOB.
Also stripping out some unnecessary configuration checking - 'net40' is the only supported TargetFramework for building the compiler, build libraries, and type providers. Only FSharp.Core supports other target platforms. (changeset 1227697)
2014-04-10 08:30:37 -07:00
latkin 8275213763 Add strong name validation skip for test library FSharp.Compiler.Hosted (changeset 1227695) 2014-04-10 08:20:32 -07:00
Don Syme 71f2fab7fd Add folders to FSharp.Core.fsproj 2014-04-09 16:06:12 -07:00
Don Syme 42e72fb540 remove non-existent file in solution 2014-04-09 16:06:12 -07:00
Don Syme eaf37e5138 Use folders in FSharp.Compiler.fsproj 2014-04-09 16:06:11 -07:00
latkin 8ce939145a Fixing a couple of typos from the previous checkin (changeset 1226793) 2014-04-09 13:46:35 -07:00
latkin e73516959c Reconfiguring a bunch of tests that were hard-coded to use Visual Studio paths to find FSharp.Core and other F# bits. They will now use open-built bits when run from an open repo. (changeset 1226736) 2014-04-09 12:26:27 -07:00
latkin 114d643625 Fixing defines for portable profile 47 FSharp.Core to align with what ships in Visual Studio F# (changeset 1226720) 2014-04-09 12:17:10 -07:00
latkin 0e817e3545 Update docs to reflect recent changes (changeset 1225564) 2014-04-09 11:15:53 -07:00
latkin 615e4dfb7c Allow user to specify what build flavor they want to run tests against, debug or release. (changeset 1225561) 2014-04-09 11:13:36 -07:00
latkin fe368f3b70 Add script to build test tools from source (changeset 1225556) 2014-04-09 11:13:36 -07:00
latkin b6bbcb0ae2 Add required plumbing so that one can build FSharp.Core for portable profile 47 in open repo (Requires rebuild of Proto so that portable targets file gets dropped) (changeset 1225504) 2014-04-09 11:13:35 -07:00
latkin 75839b3337 Move the hosted compiler infrastructure over to the open repo and refactor projects so that it builds from source rather than requiring a checked-in binary. (changeset 1225435) 2014-04-09 11:13:34 -07:00
latkin b5360c9029 Refactoring the ILComparer tool project so that it can build from source, instead of requiring a checked-in binary (changeset 1225430) 2014-04-09 11:13:33 -07:00
Steffen Forkmann fa4c26cde9 Adding links to Perl and NUnit in DEVGUIDE.html 2014-04-09 14:18:34 +02:00
Steffen Forkmann 0bb8ef1771 Small fix in DEVGUIDE.html docu
- If we work the DEVGUIDE step-by-step we will be in /src
- In order to get to tests we need to step out
2014-04-09 14:00:42 +02:00
latkin 4e4f51d95b Updating exe.config files for fsc, fsi, fsiAnyCpu:
- Use a simple version span instead of listing every individual version redirected
- Redirect to *.9055 so that open bits will be used instead of shipped VS bits
- Update fsc.fsproj to actually copy its exe.config (changeset 1222653)
2014-04-04 09:35:24 -07:00
latkin f10c220412 Swapping <tt> tags in DEVGUIDE and TESTGUIDE with <code> tags to increase compatibility with CodePlex (changeset 1222337) 2014-04-03 13:07:34 -07:00
latkin 2e865b41af Adding script to handle GAC, strong name verification skips, and ngen. Updating docs accordingly. (changeset 1222151) 2014-04-03 08:28:30 -07:00
KevinRansom 65f9cad24e Set the version numbers for the open source build. (changeset 1221847) 2014-04-02 22:25:09 -07:00
latkin 8f8eebe572 Yet more fixes for tests so that they work properly against open source builds. (changeset 1221642) 2014-04-02 18:06:59 -07:00
latkin 05cc995bc2 Some small fixes tp projects and fsharp.sln:
- Add fsiAnyCpu to fsharp.sln
- Add fsi.exe.config to fsi.fsproj
- Remove some dead comment code from fsi.fsproj, fsiAnyCpu.fsproj
- Give fsiAnyCpu a new project GUID, it had been copied from fsi.fsproj
- Better align fsi.fsproj and fsiAnyCpu.fsproj wrt whitespace and other small details (changeset 1221287)
2014-04-02 12:37:46 -07:00
latkin 4f67422af3 Adding top-level project for FSharp.Data.TypeProviders, including it in sln, and updating docs (changeset 1220397) 2014-04-01 14:26:54 -07:00
latkin e032f5e0df Fix FSharp.Data.TypeProviders project (changeset 1220318) 2014-04-01 12:43:16 -07:00
latkin 27333a7f42 Various cleanup of RunTests.cmd, in particular setting all suites to write similarly-named log files directly to \tests. Also updating the docs and adding .gitignore for test logs. (changeset 1219334) 2014-03-31 12:39:37 -07:00
latkin ac90475ad2 First draft of TESTGUIDE doc describing tests, and a few fixes to DEVGUIDE (changeset 1219175) 2014-03-31 10:20:18 -07:00
latkin 3900d411ae printfn "Hello, world!";; 2014-03-27 19:11:16 -07:00