1. 07 8月, 2015 1 次提交
  2. 30 7月, 2015 1 次提交
  3. 29 7月, 2015 1 次提交
  4. 09 7月, 2015 1 次提交
    • A
      Unify the Closed/Open targets files · ebd5cd6e
      Andy Gocke 提交于
      The targets files were previously split into an open version in
      Microsoft.CodeAnalysis.Toolset.Open and a closed version in build/. This
      unifies the four targets into two new targets, VSL.Settings.targets and
      VSL.Imports.targets, and moves all the targets from ..Toolset.Open into
      the build/ folder.
      ebd5cd6e
  5. 30 6月, 2015 1 次提交
  6. 12 6月, 2015 1 次提交
  7. 11 6月, 2015 1 次提交
  8. 15 5月, 2015 3 次提交
  9. 13 5月, 2015 4 次提交
  10. 10 5月, 2015 1 次提交
    • J
      Remove references to Desktop projects · 817fe8c5
      Jared Parsons 提交于
      This removes the majority of references to the deprecated Desktop
      assemblies.  The only remaining ones are in the VSIX projects.  They
      must remain until we actually delete the assemblies.
      817fe8c5
  11. 09 5月, 2015 1 次提交
  12. 07 5月, 2015 2 次提交
  13. 22 4月, 2015 1 次提交
    • T
      Push loaders out to the hosts · 58ca057b
      Tom Meschter 提交于
      Move the analyzer assembly loaders out of `CodeAnalysis.Desktop` and
      into the individual host projects (csc. csi, vbc, vbi, etc.). This
      solves two issues:
      
      1. The loader types can now be made internal.
      2. `CodeAnalysis.Desktop` no longer has a dependency on the loader
      implementation, and the loaders can be swapped or modified on a per-host
      basis as needed.
      58ca057b
  14. 21 4月, 2015 2 次提交
  15. 18 4月, 2015 2 次提交
    • T
    • T
      Add a basic assembly loader. · 3df4931c
      Tom Meschter 提交于
      Currently we expect that an analyzer's dependencies are located next to
      it in the file system, and we do not require that those dependencies be
      explicitly passed to the compiler. These requirements are changing. We
      will now allow analyzers and their dependencies to be located anywhere,
      and this requires that the full set of analyzers and dependencies be
      passed in so that we know where to find them.
      
      In order to load analyzers and dependencies under these new
      requirements, this commit introduces the SimpleAnalyzerAssemblyLoader.
      This type loads assemblies with a simple `Assembly.LoadFrom`, but it
      also hooks the `AppDomain.AssemblyResolve` event in order to find and
      load items from its list of dependencies.
      
      Csc.exe and vbc.exe have been updated to use this loader instead of
      calling directly into `Assembly.LoadFrom`. It is also exposed to the
      workspace layer through the IAnalyzerService type.
      3df4931c
  16. 17 4月, 2015 1 次提交
  17. 04 4月, 2015 1 次提交
    • T
      Set correct path to linked rule set file · 1f0f7138
      Tom Meschter 提交于
      When the user right-clicks on a rule set file in Solution Explorer and
      chooses "Set as Active Rule Set", we ask the associated `IVsHierarchy`
      for the name of the rule set file and use that to set the
      `<CodeAnalysisRuleSet>` property in the project file. However, the name
      returned by the `IVsHierarchy` does not include the full path, so this
      only works if the rule set is immediately next to the project file.
      
      For linked files this will generally not be the case. Instead, we need
      to ask for the *canonical* name, which will give us the full path. We
      then compute the relative path to that file from the project's
      directory, and use that for the `<CodeAnalysisRuleSet>` property.
      
      Fixes #1579.
      1f0f7138
  18. 28 3月, 2015 1 次提交
    • J
      Move ToAssemblyName · 37a0c6ab
      Jared Parsons 提交于
      This function relied on CultureInfo which is not a supported CoreFx API.
      Moved it out to the Desktop layers where it was actually used.
      37a0c6ab
  19. 27 3月, 2015 2 次提交
    • P
      Move Workspace layer and above to 4.5.2 · 79c49540
      Paul Harrington 提交于
      79c49540
    • J
      Remove serialization code · 49a879ab
      Jared Parsons 提交于
      Binary serialization is not supported in CoreCLR and hence must be removed
      from the subset which runs there.  This code is only used to support
      CodeLens so rather than moving it around we are simply removing it
      completely.  It will be relocated to CodeLens internally to continue supporting
      their scenarios.
      
      The Public API changes to DocumentId and ProjectId were necessary to
      continue supporting serialization outside of the Roslyn code base.
      
      closes #915
      49a879ab
  20. 26 3月, 2015 1 次提交
    • J
      Analyzer loading is now host controlled · 73c2e600
      Jared Parsons 提交于
      The loading of analyzer DLLS is now controlled by the compiler host.  It
      is a behavior the host is forced to provide via the abstract member
      CommonCompiler.AnalyzerLoadFunc.
      73c2e600
  21. 07 3月, 2015 3 次提交
  22. 06 3月, 2015 1 次提交
  23. 18 2月, 2015 2 次提交
    • J
      Fix use of DefineConstants · 5e896eb9
      Jared Parsons 提交于
      The primary use of DefineConstants should be to append constant values,
      not replace them.  Any time a replacement operation is used it prevents
      us from establishing defines in our targets and pushing them down to all
      affected projects.
      5e896eb9
    • P
      Moved most of EncodedStringText into portable layer. · 1680d2f0
      Paul Harrington 提交于
      SourceText now includes the logic to decode efficiently from streams, throwing if binary files are detected and using LargeEncodedText to avoid the large object heap.
      EncodedStringText, a shell of its former self, provides the 'desktop' entry point to detect FileStream and decode MemoryStream as byte arrays.
      1680d2f0
  24. 14 2月, 2015 1 次提交
    • B
      Move VisualStudioSetup into the open · da85b6e0
      beep boop 提交于
      This change moves the contents of VisualStudioSetup into the open,
      merging with (and consuming) VisualStudioComponents. The Components/
      Setup split originally existed as a way to allow multiple Roslyn-using
      components to have a single source of truth of the MEF exports. This
      meant you could have either the interactive window, language services,
      or both installed and everything worked. This was important when we
      were atop Visual Studio 2013, but now that we're integrated it's buying
      us nothing.
      
      The VSIX ID from VisualStudioComponents is preserved so that way any
      extensions that declared a dependency on it will still work.
      da85b6e0
  25. 09 2月, 2015 1 次提交
    • P
      PERF: EncodedStringText allocations · ce08a954
      Pharring 提交于
      1. Reduce allocations when reading from FileStream.
      2. Pre-compute checksum if possible.
      3. Reduce allocations for lazily computed checksums.
      4. Avoid LOH allocations for large source text.
      5. Update EditorTextFactory to optimize for reads from temporary storage
      
      Perf results for the Picasso rebuild scenario:
      184 MB total allocations saved. Including: 78 MB of char[], 73 MB of Byte[], 9 MB of string. Also, 35 MB of LOH allocations were eliminated.
       (changeset 1412085)
      ce08a954
  26. 29 1月, 2015 1 次提交
  27. 24 1月, 2015 1 次提交
    • B
      First step in moving the compiler code base to the .Net Foundation coding style. · 16512b64
      beep boop 提交于
      Background:
      
      As discussed in the dev team all hands all code under the GitHub dotnet foundation is using a single process for contribution, API review, infrastructure and coding style. The idea is to present a unified view to our customer and give them a single story for contributing to any project under the dotnet foundation.
      
      https://github.com/dotnet/corefx/wiki/Contributing#c-coding-style
      
      The coding style transition is automated using a Roslyn based rewrite tool:
      
      https://github.com/dotnet/codeformatter
      
      This will be applied in stages across our developer tree. Right now the focus is on the Open directory as this is what is being presented on github. Code owners will be contacted before the transition happens.
      
      Note: this is a soft style requirement. There are no build errors that come from this change.
       (changeset 1403394)
      16512b64
  28. 20 1月, 2015 1 次提交
    • T
      Update Microsoft.Net.ToolsetCompilers and Microsoft.Net.RoslynDiagnostics to... · d2142093
      tmeschter 提交于
      Update Microsoft.Net.ToolsetCompilers and Microsoft.Net.RoslynDiagnostics to version 1.0.0-rc1-20150116-01.
      
      Also turn on the DeclarePublicAPI analyzer for all of the C# assemblies that end up in our NuGet packages. I can't turn the DeclarePublicAPI analyzer on for our VB projects yet due to bugs in the analyzer driver. (changeset 1400249)
      d2142093