packages feed

phoityne-vscode 0.0.25.0 → 0.0.26.0

raw patch · 4 files changed

+171/−176 lines, 4 filesdep −ConfigFile

Dependencies removed: ConfigFile

Files

Changelog.md view
@@ -1,4 +1,8 @@ +20180801 phoityne-vscode-0.0.26.0+  * [UPDATE] supported haskell-dap-0.0.7.0++ 20180701 phoityne-vscode-0.0.25.0   * [UPDATE] supported haskell-dap-0.0.6.0   * [FIX][1](https://github.com/phoityne/haskell-debug-adapter/issues/1) : stopOnEntry false doesn't work with haskell-dap.
README.md view
@@ -6,13 +6,12 @@   ## Information-* [2018/07/01] phoityne-vscode released.  +* [2018/08/01] phoityne-vscode released.     * Marketplace [phoityne-vscode-0.0.19](https://marketplace.visualstudio.com/items?itemName=phoityne.phoityne-vscode)-  * hackage [phoityne-vscode-0.0.25.0](https://hackage.haskell.org/package/phoityne-vscode)  +  * hackage [phoityne-vscode-0.0.26.0](https://hackage.haskell.org/package/phoityne-vscode)     __Need update from hackage !!.__ * Release Summary-  * [UPDATE] supported haskell-dap-0.0.6.0-  * [FIX] [1][stopOnEntry false doesn't work with haskell-dap.](https://github.com/phoityne/haskell-debug-adapter/issues/1)+  * [UPDATE] supported haskell-dap-0.0.7.0  ![10_quick_start.gif](https://raw.githubusercontent.com/phoityne/phoityne-vscode/master/docs/10_quick_start.gif)   (This sample project is available from [here](https://github.com/phoityne/stack-project-template).)
app/Phoityne/VSCode/Utility.hs view
@@ -3,10 +3,8 @@  module Phoityne.VSCode.Utility where -import Data.Either.Utils import GHC.IO.Encoding import Distribution.System-import Control.Monad.Trans.Resource import qualified Data.ByteString as BS import qualified Data.ByteString.Lazy as LBS import qualified Data.List as L@@ -14,7 +12,6 @@ import qualified Data.Text.Encoding as TE import qualified Data.Text.Lazy as TL import qualified Data.Text.Lazy.Encoding as TLE-import qualified Data.ConfigFile as CFG import qualified Data.Tree as TR import qualified Data.Conduit.Binary as C import qualified Data.Conduit as C@@ -97,18 +94,7 @@ lbs2str = TL.unpack. TLE.decodeUtf8  --- |----getIniItems :: CFG.ConfigParser-            -> CFG.SectionSpec-            -> [(CFG.OptionSpec, String)]-getIniItems cp sec = foldr go [] opts-  where-    opts = forceEither $ CFG.options cp sec-    go opt acc = let value = forceEither $ CFG.get cp sec opt in-                 (opt, value) : acc - -- | --  addChildTree :: TR.Tree a -> TR.Tree a -> TR.Tree a@@ -143,9 +129,9 @@ --  loadFile :: FilePath -> IO BS.ByteString loadFile path = do-  bs <- runResourceT+  bs <- C.runConduitRes       $ C.sourceFile path-      C.$$ C.consume+      C..| C.consume   return $ BS.concat bs  @@ -160,9 +146,9 @@ --   --  saveFileLBS :: FilePath -> LBS.ByteString -> IO ()-saveFileLBS path cont = runResourceT+saveFileLBS path cont = C.runConduitRes   $ C.sourceLbs cont-  C.$$ C.sinkFile path+  C..| C.sinkFile path   
phoityne-vscode.cabal view
@@ -1,156 +1,162 @@-name:                  phoityne-vscode-version:               0.0.25.0-synopsis:              Haskell Debug Adapter for Visual Studio Code.-description:           Please see README.md-license:               BSD3-license-file:          LICENSE-author:                phoityne_hs-maintainer:            phoityne.hs@gmail.com-homepage:              https://github.com/phoityne/phoityne-vscode-bug-reports:           https://github.com/phoityne/phoityne-vscode/issues-copyright:             2016-2018 phoityne_hs-category:              Development-build-type:            Simple-cabal-version:         >=1.10-extra-source-files:    README.md-                     , Changelog.md+-- This file has been generated from package.yaml by hpack version 0.28.2.
+--+-- see: https://github.com/sol/hpack+--+-- hash: b19b0fcf2dcc588b7530ff1f713fa07c43cf33b004dcb6825997aa462b0658fb -executable phoityne-vscode-  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing-  hs-source-dirs:      app-  main-is:             Main.hs-  other-modules:       Paths_phoityne_vscode-                     , Phoityne.VSCode.Argument-                     , Phoityne.VSCode.Control-                     , Phoityne.VSCode.Core-                     , Phoityne.VSCode.Constant-                     , Phoityne.VSCode.Type-                     , Phoityne.VSCode.Utility-                     , Phoityne.VSCode.Utility-                     , Phoityne.VSCode.TH.BreakpointJSON-                     , Phoityne.VSCode.TH.ColumnDescriptorJSON-                     , Phoityne.VSCode.TH.CompletionsItemJSON-                     , Phoityne.VSCode.TH.CompletionsArgumentsJSON-                     , Phoityne.VSCode.TH.CompletionsResponseBodyJSON-                     , Phoityne.VSCode.TH.CompletionsRequestJSON-                     , Phoityne.VSCode.TH.CompletionsResponseJSON-                     , Phoityne.VSCode.TH.ConfigurationDoneRequestJSON-                     , Phoityne.VSCode.TH.ConfigurationDoneResponseJSON-                     , Phoityne.VSCode.TH.ContinueArgumentsJSON-                     , Phoityne.VSCode.TH.ContinueRequestJSON-                     , Phoityne.VSCode.TH.ContinueResponseJSON-                     , Phoityne.VSCode.TH.DisconnectArgumentsJSON-                     , Phoityne.VSCode.TH.DisconnectRequestJSON-                     , Phoityne.VSCode.TH.DisconnectResponseJSON-                     , Phoityne.VSCode.TH.ErrorResponseBodyJSON-                     , Phoityne.VSCode.TH.ErrorResponseJSON-                     , Phoityne.VSCode.TH.EvaluateArgumentsJSON-                     , Phoityne.VSCode.TH.EvaluateBodyJSON-                     , Phoityne.VSCode.TH.EvaluateRequestJSON-                     , Phoityne.VSCode.TH.EvaluateResponseJSON-                     , Phoityne.VSCode.TH.ExceptionBreakpointsFilterJSON-                     , Phoityne.VSCode.TH.ExitedEventBodyJSON-                     , Phoityne.VSCode.TH.ExitedEventJSON-                     , Phoityne.VSCode.TH.FunctionBreakpointJSON-                     , Phoityne.VSCode.TH.InitializedEventJSON-                     , Phoityne.VSCode.TH.InitializeRequestArgumentsJSON-                     , Phoityne.VSCode.TH.InitializeRequestJSON-                     , Phoityne.VSCode.TH.InitializeResponseCapabilitiesJSON-                     , Phoityne.VSCode.TH.InitializeResponseJSON-                     , Phoityne.VSCode.TH.LaunchRequestArgumentsJSON-                     , Phoityne.VSCode.TH.LaunchRequestJSON-                     , Phoityne.VSCode.TH.LaunchResponseJSON-                     , Phoityne.VSCode.TH.MessageJSON-                     , Phoityne.VSCode.TH.ModuleJSON-                     , Phoityne.VSCode.TH.ModulesArgumentsJSON-                     , Phoityne.VSCode.TH.ModulesRequestJSON-                     , Phoityne.VSCode.TH.ModulesResponseBodyJSON-                     , Phoityne.VSCode.TH.ModulesResponseJSON-                     , Phoityne.VSCode.TH.NextArgumentsJSON-                     , Phoityne.VSCode.TH.NextRequestJSON-                     , Phoityne.VSCode.TH.NextResponseJSON-                     , Phoityne.VSCode.TH.OutputEventJSON-                     , Phoityne.VSCode.TH.OutputEventBodyJSON-                     , Phoityne.VSCode.TH.PauseArgumentsJSON-                     , Phoityne.VSCode.TH.PauseRequestJSON-                     , Phoityne.VSCode.TH.PauseResponseJSON-                     , Phoityne.VSCode.TH.RequestJSON-                     , Phoityne.VSCode.TH.ResponseJSON -                     , Phoityne.VSCode.TH.ScopeJSON-                     , Phoityne.VSCode.TH.ScopesArgumentsJSON-                     , Phoityne.VSCode.TH.ScopesBodyJSON-                     , Phoityne.VSCode.TH.ScopesRequestJSON-                     , Phoityne.VSCode.TH.ScopesResponseJSON-                     , Phoityne.VSCode.TH.SetBreakpointsArgumentsJSON-                     , Phoityne.VSCode.TH.SetBreakpointsRequestJSON-                     , Phoityne.VSCode.TH.SetBreakpointsResponseBodyJSON-                     , Phoityne.VSCode.TH.SetBreakpointsResponseJSON-                     , Phoityne.VSCode.TH.SetExceptionBreakpointsRequestArgumentsJSON-                     , Phoityne.VSCode.TH.SetExceptionBreakpointsRequestJSON-                     , Phoityne.VSCode.TH.SetExceptionBreakpointsResponseJSON-                     , Phoityne.VSCode.TH.SetFunctionBreakpointsArgumentsJSON-                     , Phoityne.VSCode.TH.SetFunctionBreakpointsRequestJSON-                     , Phoityne.VSCode.TH.SetFunctionBreakpointsResponseBodyJSON-                     , Phoityne.VSCode.TH.SetFunctionBreakpointsResponseJSON-                     , Phoityne.VSCode.TH.SourceArgumentsJSON-                     , Phoityne.VSCode.TH.SourceBreakpointJSON-                     , Phoityne.VSCode.TH.SourceJSON-                     , Phoityne.VSCode.TH.SourceRequestJSON-                     , Phoityne.VSCode.TH.SourceResponseBodyJSON-                     , Phoityne.VSCode.TH.SourceResponseJSON-                     , Phoityne.VSCode.TH.StackFrameJSON-                     , Phoityne.VSCode.TH.StackTraceArgumentsJSON-                     , Phoityne.VSCode.TH.StackTraceBodyJSON-                     , Phoityne.VSCode.TH.StackTraceRequestJSON-                     , Phoityne.VSCode.TH.StackTraceResponseJSON-                     , Phoityne.VSCode.TH.StepInArgumentsJSON-                     , Phoityne.VSCode.TH.StepInRequestJSON-                     , Phoityne.VSCode.TH.StepInResponseJSON-                     , Phoityne.VSCode.TH.StepOutArgumentsJSON-                     , Phoityne.VSCode.TH.StepOutRequestJSON-                     , Phoityne.VSCode.TH.StepOutResponseJSON-                     , Phoityne.VSCode.TH.StoppedEventBodyJSON-                     , Phoityne.VSCode.TH.StoppedEventJSON-                     , Phoityne.VSCode.TH.TerminatedEventBodyJSON-                     , Phoityne.VSCode.TH.TerminatedEventJSON-                     , Phoityne.VSCode.TH.ThreadJSON-                     , Phoityne.VSCode.TH.ThreadsRequestJSON-                     , Phoityne.VSCode.TH.ThreadsResponseBodyJSON-                     , Phoityne.VSCode.TH.ThreadsResponseJSON-                     , Phoityne.VSCode.TH.VariableJSON-                     , Phoityne.VSCode.TH.VariablePresentationHintJSON-                     , Phoityne.VSCode.TH.VariablesArgumentsJSON-                     , Phoityne.VSCode.TH.VariablesBodyJSON-                     , Phoityne.VSCode.TH.VariablesRequestJSON-                     , Phoityne.VSCode.TH.VariablesResponseJSON-                     , Phoityne.GHCi-                     , Phoityne.GHCi.Command-                     , Phoityne.GHCi.Process-  build-depends:       base >= 4.7 && < 5-                     , directory-                     , Cabal-                     , hslogger-                     , ConfigFile-                     , cmdargs-                     , MissingH-                     , safe-                     , aeson-                     , bytestring-                     , containers-                     , text-                     , process-                     , transformers-                     , mtl-                     , filepath-                     , directory-                     , parsec-                     , split-                     , fsnotify-                     , conduit-                     , conduit-extra-                     , resourcet-                     , safe-exceptions-                     , lens-                     , data-default-  default-language:    Haskell2010+name:           phoityne-vscode+version:        0.0.26.0+synopsis:       Haskell Debug Adapter for Visual Studio Code.+description:    Please see README.md+category:       Development+homepage:       https://github.com/phoityne/phoityne-vscode+bug-reports:    https://github.com/phoityne/phoityne-vscode/issues+author:         phoityne_hs+maintainer:     phoityne.hs@gmail.com+copyright:      2016-2018 phoityne_hs+license:        BSD3+license-file:   LICENSE+build-type:     Simple+cabal-version:  >= 1.10+extra-source-files:+    Changelog.md+    README.md +executable phoityne-vscode+  main-is: Main.hs+  other-modules:+      Phoityne.GHCi+      Phoityne.GHCi.Command+      Phoityne.GHCi.Process+      Phoityne.VSCode.Argument+      Phoityne.VSCode.Constant+      Phoityne.VSCode.Control+      Phoityne.VSCode.Core+      Phoityne.VSCode.TH.BreakpointJSON+      Phoityne.VSCode.TH.ColumnDescriptorJSON+      Phoityne.VSCode.TH.CompletionsArgumentsJSON+      Phoityne.VSCode.TH.CompletionsItemJSON+      Phoityne.VSCode.TH.CompletionsRequestJSON+      Phoityne.VSCode.TH.CompletionsResponseBodyJSON+      Phoityne.VSCode.TH.CompletionsResponseJSON+      Phoityne.VSCode.TH.ConfigurationDoneRequestJSON+      Phoityne.VSCode.TH.ConfigurationDoneResponseJSON+      Phoityne.VSCode.TH.ContinueArgumentsJSON+      Phoityne.VSCode.TH.ContinueRequestJSON+      Phoityne.VSCode.TH.ContinueResponseJSON+      Phoityne.VSCode.TH.DisconnectArgumentsJSON+      Phoityne.VSCode.TH.DisconnectRequestJSON+      Phoityne.VSCode.TH.DisconnectResponseJSON+      Phoityne.VSCode.TH.ErrorResponseBodyJSON+      Phoityne.VSCode.TH.ErrorResponseJSON+      Phoityne.VSCode.TH.EvaluateArgumentsJSON+      Phoityne.VSCode.TH.EvaluateBodyJSON+      Phoityne.VSCode.TH.EvaluateRequestJSON+      Phoityne.VSCode.TH.EvaluateResponseJSON+      Phoityne.VSCode.TH.ExceptionBreakpointsFilterJSON+      Phoityne.VSCode.TH.ExitedEventBodyJSON+      Phoityne.VSCode.TH.ExitedEventJSON+      Phoityne.VSCode.TH.FunctionBreakpointJSON+      Phoityne.VSCode.TH.InitializedEventJSON+      Phoityne.VSCode.TH.InitializeRequestArgumentsJSON+      Phoityne.VSCode.TH.InitializeRequestJSON+      Phoityne.VSCode.TH.InitializeResponseCapabilitiesJSON+      Phoityne.VSCode.TH.InitializeResponseJSON+      Phoityne.VSCode.TH.LaunchRequestArgumentsJSON+      Phoityne.VSCode.TH.LaunchRequestJSON+      Phoityne.VSCode.TH.LaunchResponseJSON+      Phoityne.VSCode.TH.MessageJSON+      Phoityne.VSCode.TH.ModuleJSON+      Phoityne.VSCode.TH.ModulesArgumentsJSON+      Phoityne.VSCode.TH.ModulesRequestJSON+      Phoityne.VSCode.TH.ModulesResponseBodyJSON+      Phoityne.VSCode.TH.ModulesResponseJSON+      Phoityne.VSCode.TH.NextArgumentsJSON+      Phoityne.VSCode.TH.NextRequestJSON+      Phoityne.VSCode.TH.NextResponseJSON+      Phoityne.VSCode.TH.OutputEventBodyJSON+      Phoityne.VSCode.TH.OutputEventJSON+      Phoityne.VSCode.TH.PauseArgumentsJSON+      Phoityne.VSCode.TH.PauseRequestJSON+      Phoityne.VSCode.TH.PauseResponseJSON+      Phoityne.VSCode.TH.RequestJSON+      Phoityne.VSCode.TH.ResponseJSON+      Phoityne.VSCode.TH.ScopeJSON+      Phoityne.VSCode.TH.ScopesArgumentsJSON+      Phoityne.VSCode.TH.ScopesBodyJSON+      Phoityne.VSCode.TH.ScopesRequestJSON+      Phoityne.VSCode.TH.ScopesResponseJSON+      Phoityne.VSCode.TH.SetBreakpointsArgumentsJSON+      Phoityne.VSCode.TH.SetBreakpointsRequestJSON+      Phoityne.VSCode.TH.SetBreakpointsResponseBodyJSON+      Phoityne.VSCode.TH.SetBreakpointsResponseJSON+      Phoityne.VSCode.TH.SetExceptionBreakpointsRequestArgumentsJSON+      Phoityne.VSCode.TH.SetExceptionBreakpointsRequestJSON+      Phoityne.VSCode.TH.SetExceptionBreakpointsResponseJSON+      Phoityne.VSCode.TH.SetFunctionBreakpointsArgumentsJSON+      Phoityne.VSCode.TH.SetFunctionBreakpointsRequestJSON+      Phoityne.VSCode.TH.SetFunctionBreakpointsResponseBodyJSON+      Phoityne.VSCode.TH.SetFunctionBreakpointsResponseJSON+      Phoityne.VSCode.TH.SourceArgumentsJSON+      Phoityne.VSCode.TH.SourceBreakpointJSON+      Phoityne.VSCode.TH.SourceJSON+      Phoityne.VSCode.TH.SourceRequestJSON+      Phoityne.VSCode.TH.SourceResponseBodyJSON+      Phoityne.VSCode.TH.SourceResponseJSON+      Phoityne.VSCode.TH.StackFrameJSON+      Phoityne.VSCode.TH.StackTraceArgumentsJSON+      Phoityne.VSCode.TH.StackTraceBodyJSON+      Phoityne.VSCode.TH.StackTraceRequestJSON+      Phoityne.VSCode.TH.StackTraceResponseJSON+      Phoityne.VSCode.TH.StepInArgumentsJSON+      Phoityne.VSCode.TH.StepInRequestJSON+      Phoityne.VSCode.TH.StepInResponseJSON+      Phoityne.VSCode.TH.StepOutArgumentsJSON+      Phoityne.VSCode.TH.StepOutRequestJSON+      Phoityne.VSCode.TH.StepOutResponseJSON+      Phoityne.VSCode.TH.StoppedEventBodyJSON+      Phoityne.VSCode.TH.StoppedEventJSON+      Phoityne.VSCode.TH.TerminatedEventBodyJSON+      Phoityne.VSCode.TH.TerminatedEventJSON+      Phoityne.VSCode.TH.ThreadJSON+      Phoityne.VSCode.TH.ThreadsRequestJSON+      Phoityne.VSCode.TH.ThreadsResponseBodyJSON+      Phoityne.VSCode.TH.ThreadsResponseJSON+      Phoityne.VSCode.TH.VariableJSON+      Phoityne.VSCode.TH.VariablePresentationHintJSON+      Phoityne.VSCode.TH.VariablesArgumentsJSON+      Phoityne.VSCode.TH.VariablesBodyJSON+      Phoityne.VSCode.TH.VariablesRequestJSON+      Phoityne.VSCode.TH.VariablesResponseJSON+      Phoityne.VSCode.Type+      Phoityne.VSCode.Utility+      Paths_phoityne_vscode+  hs-source-dirs:+      app+  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing+  build-depends:+      Cabal+    , MissingH+    , aeson+    , base >=4.7 && <5+    , bytestring+    , cmdargs+    , conduit+    , conduit-extra+    , containers+    , data-default+    , directory+    , filepath+    , fsnotify+    , hslogger+    , lens+    , mtl+    , parsec+    , process+    , resourcet+    , safe+    , safe-exceptions+    , split+    , text+    , transformers+  default-language: Haskell2010