Plot-ho-matic 0.11.1.0 → 0.11.2.0
raw patch · 4 files changed
+9/−5 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- SetHo: runSetter :: String -> DTree -> IO (Maybe (Int, DTree)) -> IO () -> (Int -> DTree -> IO ()) -> IO ()
+ SetHo: runSetter :: String -> DTree -> IO (Maybe (Int, DTree)) -> (Int -> IO ()) -> (Int -> DTree -> IO ()) -> IO ()
Files
- CHANGELOG.md +4/−0
- Plot-ho-matic.cabal +1/−1
- examples/SetExample.hs +2/−2
- src/SetHo.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+0.11.{1,2}.0+---+* make settings aware of message counter+ 0.11.0.0 --- * newHistoryChannel' can now take meta without data
Plot-ho-matic.cabal view
@@ -1,5 +1,5 @@ name: Plot-ho-matic-version: 0.11.1.0+version: 0.11.2.0 synopsis: Real-time line plotter for generic data license: BSD3 license-file: LICENSE
examples/SetExample.hs view
@@ -93,8 +93,8 @@ void $ CC.forkIO upstreamProcess - let refresh :: IO ()- refresh = do+ let refresh :: Int -> IO ()+ refresh _ = do putStrLn "downstream sending refresh request" CC.putMVar upMsg Nothing
src/SetHo.hs view
@@ -24,7 +24,7 @@ import SetHo.LookupTree ( newLookupTreeview ) -- | fire up the the GUI-runSetter :: String -> DTree -> IO (Maybe (Int, DTree)) -> IO () -> (Int -> DTree -> IO ()) -> IO ()+runSetter :: String -> DTree -> IO (Maybe (Int, DTree)) -> (Int -> IO ()) -> (Int -> DTree -> IO ()) -> IO () runSetter rootName initialValue userPollForNewMessage sendRequest userCommit = do statsEnabled <- GHC.Stats.getGCStatsEnabled @@ -159,7 +159,7 @@ _ <- on buttonRefresh Gtk.buttonActivated $ do counter <- readIORef counterRef putStrLn $ "sending settings request " ++ show counter- sendRequest+ sendRequest counter _ <- on buttonTakeUpstream Gtk.buttonActivated takeLatestUpstream