Skip to content

Commit

Permalink
bump to v4.0.a.14
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcl committed Sep 12, 2023
1 parent 587fac8 commit d3c08d3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "issie",
"version": "4.0.13",
"version": "4.0.14",
"description": "Schematic editor and Simulator",
"homepage": "https://github.com/tomcl/issie",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions src/Renderer/DrawBlock/SheetUpdateHelpers.fs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ let mUpUpdate (model: Model) (mMsg: MouseT) : Model * Cmd<ModelType.Msg> = // mM
match model.TmpModel with
| None -> model
| Some newModel -> {newModel with SelectedComponents = model.SelectedComponents}
printfn "mUpUpdate with action: %A" model.Action
//printfn "mUpUpdate with action: %A" model.Action
match model.Action with
| MovingWire segIdL ->
let connIdL = segIdL |> List.map snd
Expand Down Expand Up @@ -894,4 +894,4 @@ let rec getChannel (bb1:BoundingBox) (bb2:BoundingBox) : (BoundingBox * Orientat
else // bb2 above bb1
let y1, y2 = bb1.TopLeft.Y, bb2.TopLeft.Y + bb2.H
let topLeft = { X = union.TopLeft.X; Y = bb2.TopLeft.Y + bb2.H }
Some ( { TopLeft = topLeft; H = y1 - y2; W = union.W }, Horizontal )
Some ( { TopLeft = topLeft; H = y1 - y2; W = union.W }, Horizontal )
4 changes: 1 addition & 3 deletions src/Renderer/Interface/FilesIO.fs
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,11 @@ let readMemLines (addressWidth:int) (wordWidth: int) (lines: string array) =
| _ -> failwithf "What? can't happen"

let readMemDefns (addressWidth:int) (wordWidth: int) (fPath: string) =
printfn "starting defn read"
tryReadFileSync fPath
tryReadFileSync fPath
|> Result.bind (
//(fun contents -> printfn "read file:\n contents={contents}"; contents)
String.splitRemoveEmptyEntries [|'\n';'\r'|]
>> readMemLines addressWidth wordWidth
>> (fun x -> printfn "read lines"; x)
>> Result.map Map.ofArray)


Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/Interface/Version.fs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Version
let VERSION = [ "4" ; "0" ; "a"; "13" ]
let VERSION = [ "4" ; "0" ; "a"; "14" ]

// The first 12 white-space separated words in this file must be in the above format - note that spaces are required.
// This works as valid F# data for displaying the code version and can also be read programmatically from the master branch github file
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/UI/TopMenuView.fs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ let loadDemoProject model dispatch basename =
|> List.filter isNotDir
|> List.iter (fun basename ->
let newPath = pathJoin [|newDir; basename|]
log <| printf "haha: %A" (dirName <| dirName newPath)
//log <| printf "haha: %A" (dirName <| dirName newPath)
copyFile (pathJoin [|sourceDir; basename|]) newPath)

openDemoProjectFromPath newDir model dispatch
Expand Down

0 comments on commit d3c08d3

Please sign in to comment.