1. 16 5月, 2015 1 次提交
    • T
      Update the VS AnalyzerDependencyChecker · fa4a25d3
      Tom Meschter 提交于
      This commit updates the `AnalyzerDependencyChecker` type to reflect the
      recent changes to require all analyzers and dependencies to be
      specified, and the changes in how we load analyzer assemblies.
      
      Now that we require all analyzers and dependencies to be specified, we
      no longer look next to the specified analyzers to optimistically locate
      dependencies. Instead, we only consider the list of passed-in analyzers
      *plus* the assemblies already loaded into the `AppDomain`. The latter
      avoids unhelpful warnings in the event that the analyzer assembly
      includes a code fix that take a dependency on a Visual Studio assembly,
      which of course can't be included in the list of analyzers. We now
      create a warning when we identify a missing dependency.
      
      We now also check analyzers themselves for conflicts (i.e., assemblies
      at different paths with the same identity but different contents)
      instead of just their dependencies.
      fa4a25d3
  2. 13 5月, 2015 2 次提交
    • D
      Rename: Check for existence of BufferUndoState in UndoTemporaryEdits · 4cdd2235
      David Poeschl 提交于
      Fixes part of internal TFS bug #1167415.
      
      We have reports of the BufferUndoState being unavailable in
      UndoTemporaryEdits when inline rename has been dismissed due to an
      external workspace change. This change prevents the crash by checking
      for the existence of the relevant BufferUndoState while we await more
      information on what leads to this state.
      4cdd2235
    • J
      Get rid of Roslyn.VisualStudio.Setup as a shipping assembly · 915f8d45
      Jason Malinowski 提交于
      The RoslynPackage type originally lived in a seperate assembly than
      Microsoft.VisualStudio.LanguageServices when it was important for us
      to be able to support the core parts of Roslyn being installed atop
      the existing Visual Studio 2013 language services. This is no longer
      a supported scenario anywhere, so we should just get rid of the
      assembly.
      
      Doing this is easy, it's just a matter of moving the files and related
      assets to the LanguageServices assembly. A MEF interface is added
      to prevent a circularity around triggering a load of stuff in the
      SolutionExplorerShim. That could be delt with later by moving the core
      of that code back to LanguageServices, but I don't want to touch that
      now since it's very sensitive.
      915f8d45
  3. 12 5月, 2015 6 次提交
  4. 11 5月, 2015 4 次提交
    • J
      revert old changes · 7bbebfe6
      Jonathon Marolf 提交于
      7bbebfe6
    • J
      Fix threading issue in Generate Type Dialog · 35e5ef36
      Jonathon Marolf 提交于
      Attempting to generate a new file in an ASP.NET 5 web project would
      deadlock because we were attempting to get the default namespace from a
      worker thread.
      
      The solution is to move the work of computing the default namespace from
      ComputeOperationsAsync to GetOptions.  GetOptions is always guaranteed
      to execute on the UI thread wheras ComputeOperationsAsync happens from a
      worker thread.
      35e5ef36
    • J
      Revert "Fix threading issue in Generate Type Dialog" · 8a1ca7fa
      Jonathon Marolf 提交于
      This reverts commit 779cea70.
      8a1ca7fa
    • J
      Fix threading issue in Generate Type Dialog · 779cea70
      Jonathon Marolf 提交于
      Attempting to generate a new file in an ASP.NET 5 web project would
      deadlock because we were attempting to get the default namespace from a
      worker thread.
      
      The solution is to move the work of computing the default namespace from
      ComputeOperationsAsync to GetOptions.  GetOptions is always guaranteed
      to execute on the UI thread wheras ComputeOperationsAsync happens from a
      worker thread.
      779cea70
  5. 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
  6. 09 5月, 2015 8 次提交
  7. 08 5月, 2015 2 次提交
  8. 07 5月, 2015 2 次提交
  9. 06 5月, 2015 2 次提交
    • H
      changed the way tracks non roslyn files · 42d1a956
      Heejae Chang 提交于
      42d1a956
    • S
      Introduce new entry named 'Default' in solution explorer context menu · 5474940a
      Shyam N 提交于
      Fixes #1512
      
      The solution explorer context menu that allows users to change severity of analyzer-reported diagnostics currently displays the following entries -
          Error
          Warning
          Info
          Hidden
          None
      
      When the context menu is displayed, a check mark is displayed next to the entry representing the severity of diagnostic as configured in the project's ruleset file. This works fine in cases where a severity is explicitly specified for the diagnostic in the ruleset file.
      
      However, in cases where the severity is not explicitly specified in the ruleset file, the diagnostic is assigned its 'default' severity and we don't display a check mark against any entry in the above menu. As noted in #1512, this is confusing because the 'default' severity is also one of the severities listed above.
      
      This change introduces an additional entry named 'Default' in the above menu that will be checked in cases where the dagnostic does not have an explicitly specified severity in the ruleset file. If the user clicks this entry to change the severity of some diagnostic to 'Default', the entry corresponding to this diagnostic is removed from the ruleset file.
      5474940a
  10. 05 5月, 2015 5 次提交
    • T
      Pass IAnalyzerAssemblyLoader · be5b71f2
      Tom Meschter 提交于
      Update `AnalyzerFileReference` to take an `IAnalyzerAssemblyLoader`
      instead of a `Func<string, Assembly>`.
      be5b71f2
    • H
      track non roslyn text buffer changes as well as roslyn text buffer changes to... · bb715ae0
      Heejae Chang 提交于
      track non roslyn text buffer changes as well as roslyn text buffer changes to delay solution crawler
      
      There are 2 things incremental processor takes care of
      
      @1 is making sure we delay processing any work until there is enough idle (ex, typing) in host.
      @2 is managing cancellation and pending works.
      
      we used to do #1 and #2 only for Roslyn files. and that is usually fine since most of time solution contains only roslyn files.
      
      but for mixed solution (ex, Roslyn files + HTML + JS + CSS), #2 still makes sense but #1 doesn't. We want to pause any work while something is going on in other project types as well.
      
      we need to make sure we play nice with neighbors as well.
      
      now, we don't care where changes are coming from. if there is any change in host, we puase oursevles for a while.
      bb715ae0
    • D
      Add global undo to ContainedLanguageCodeSupport.TryRenameElement · 928d24e8
      David Poeschl 提交于
      Fixes internal TFS bug #1035934 "Undo didn't work in code file after
      rename control's ID in properties"
      
      Wrap the contents of ContainedLanguageCodeSupport,.TryRenameElement in a
      global undo. This allows the undo of a rename done from the aspx
      designer (for example) to correctly revert the C#/VB part of the rename
      as well.
      928d24e8
    • P
      Add some error handling. · ef54ff12
      Pilchie 提交于
      ef54ff12
    • P
      Add support for IVsLanguageBlock.GetCurrentBlock · a1cff112
      Pilchie 提交于
      Fixes internal TFS bug 1043580.
      a1cff112
  11. 04 5月, 2015 1 次提交
  12. 02 5月, 2015 1 次提交
    • J
      log watson when codefix or refactoring throws · d8eaab0e
      Jonathon Marolf 提交于
      When a codefix or refactoring throws an exception, we turn it off, log
      it to the activity log, and put up and info bar telling the user what
      happened.
      
      With this change we also check to see if the codefix/refactoring was
      implemented by the roslyn team and send a non-fatal watson report.
      d8eaab0e
  13. 30 4月, 2015 2 次提交
  14. 29 4月, 2015 3 次提交