From 97a220648dec9bf5ab7ccfb38aa4481c7c72dfd8 Mon Sep 17 00:00:00 2001 From: Viresh Ratnakar <39968616+viresh-ratnakar@users.noreply.github.com> Date: Thu, 9 Sep 2021 20:06:38 -0700 Subject: [PATCH] v1.19 ### Version: Exolve v1.19 September 9 2021 - Bug-fix: blank lines in exolve specs mean grid height may be less than grid specs line span. --- CHANGELOG.md | 5 +++++ README.md | 2 +- exolve-from-ipuz.js | 2 +- exolve-from-puz.js | 2 +- exolve-m-simple.html | 6 +++--- exolve-m.css | 2 +- exolve-m.html | 6 +++--- exolve-m.js | 4 ++-- exolve-player.html | 12 ++++++------ exolve.html | 4 ++-- test-15x15-unsolved.html | 4 ++-- test-3d-solved.html | 4 ++-- test-basic-solved.html | 4 ++-- test-basic-unsolved.html | 4 ++-- test-big-grid.html | 4 ++-- test-color-scheme.html | 4 ++-- test-columnar.html | 4 ++-- test-completion-notice.html | 5 +++-- test-customize-puzzle.html | 4 ++-- test-deleted-clues-solved.html | 4 ++-- test-diagramless-solved.html | 4 ++-- test-diagramless-unsolved.html | 4 ++-- test-exolve-div.html | 4 ++-- test-hindi.html | 4 ++-- test-ipuz-solved.html | 6 +++--- test-ipuz-unsolved.html | 6 +++--- test-jigsaw-solved.html | 4 ++-- test-jigsaw-unsolved.html | 4 ++-- test-linked-solved.html | 4 ++-- test-linked-unsolved.html | 4 ++-- test-mixed-solved.html | 4 ++-- test-ninas-colours.html | 4 ++-- test-no-clues.html | 4 ++-- test-nonnum.html | 4 ++-- test-numeric.html | 4 ++-- test-oblongs.html | 4 ++-- test-partial-solved.html | 4 ++-- test-questions.html | 4 ++-- test-russian.html | 4 ++-- test-scroll.html | 4 ++-- test-show-cell-level-buttons.html | 4 ++-- test-skipped-numbers.html | 4 ++-- test-two-puzzles.html | 4 ++-- test-warnings.html | 4 ++-- 44 files changed, 96 insertions(+), 90 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb844c4a..7ee322f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### Version: Exolve v1.19 September 9 2021 + +- Bug-fix: blank lines in exolve specs mean grid height may be less than + grid specs line span. + ### Version: Exolve v1.18 September 6 2021 - Allow the cell size to be overridden via `exolve-cell-size: ` diff --git a/README.md b/README.md index b576bc1f..4816cb62 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## An Easily Configurable Interactive Crossword Solver -### Version: Exolve v1.18 September 6 2021 +### Version: Exolve v1.19 September 9 2021 Exolve can help you create online interactively solvable crosswords (simple ones with blocks and/or bars as well as those that are jumbles or are diff --git a/exolve-from-ipuz.js b/exolve-from-ipuz.js index 71c975ba..46b15336 100644 --- a/exolve-from-ipuz.js +++ b/exolve-from-ipuz.js @@ -24,7 +24,7 @@ SOFTWARE. The latest code and documentation for Exolve can be found at: https://github.com/viresh-ratnakar/exolve -Version: Exolve v1.18 September 6 2021 +Version: Exolve v1.19 September 9 2021 */ /** diff --git a/exolve-from-puz.js b/exolve-from-puz.js index 21145c09..8b27c921 100644 --- a/exolve-from-puz.js +++ b/exolve-from-puz.js @@ -24,7 +24,7 @@ SOFTWARE. The latest code and documentation for Exolve can be found at: https://github.com/viresh-ratnakar/exolve -Version: Exolve v1.18 September 6 2021 +Version: Exolve v1.19 September 9 2021 */ function exolveFromPuzNextNull(buffer, offset) { diff --git a/exolve-m-simple.html b/exolve-m-simple.html index 2c695b79..1492c29a 100644 --- a/exolve-m-simple.html +++ b/exolve-m-simple.html @@ -14,11 +14,11 @@ See the full Exolve license notice in exolve-m.js. -Version: Exolve v1.18 September 6 2021 +Version: Exolve v1.19 September 9 2021 --> - - + + Exolve diff --git a/exolve-m.css b/exolve-m.css index f9fbf22d..f90dfef2 100644 --- a/exolve-m.css +++ b/exolve-m.css @@ -5,7 +5,7 @@ Copyright (c) 2019 Viresh Ratnakar See the full license notice in exolve-m.js. -Version: Exolve v1.18 September 6 2021 +Version: Exolve v1.19 September 9 2021 */ @media (max-width: 500px) { diff --git a/exolve-m.html b/exolve-m.html index e0bab837..bd6cb73c 100644 --- a/exolve-m.html +++ b/exolve-m.html @@ -10,10 +10,10 @@ See the full Exolve license notice in exolve-m.js. -Version: Exolve v1.18 September 6 2021 +Version: Exolve v1.19 September 9 2021 --> - - + + Exolve (replace with puzzle title) diff --git a/exolve-m.js b/exolve-m.js index 4e656660..eb1c5da9 100644 --- a/exolve-m.js +++ b/exolve-m.js @@ -79,7 +79,7 @@ function Exolve(puzzleSpec, visTop=0, maxDim=0, saveState=true) { - this.VERSION = 'Exolve v1.18 September 6 2021'; + this.VERSION = 'Exolve v1.19 September 9 2021'; this.puzzleText = puzzleSpec; this.containerId = containerId; @@ -1311,7 +1311,7 @@ Exolve.prototype.checkConsistency = function() { this.gridHeight < 1 || this.gridHeight > this.MAX_GRID_SIZE) { this.throwErr('Bad/missing width/height'); } else if (this.gridFirstLine < 0 || this.gridLastLine < this.gridFirstLine || - this.gridHeight != this.gridLastLine - this.gridFirstLine + 1) { + this.gridHeight > this.gridLastLine - this.gridFirstLine + 1) { this.throwErr('Mismatched width/height'); } if (this.submitURL) { diff --git a/exolve-player.html b/exolve-player.html index 3c96056d..1022f2f3 100644 --- a/exolve-player.html +++ b/exolve-player.html @@ -3,10 +3,10 @@ - - - - + + + +