Skip to content

Commit

Permalink
v1.19
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
viresh-ratnakar authored Sep 10, 2021
1 parent 73cf368 commit 97a2206
Show file tree
Hide file tree
Showing 44 changed files with 96 additions and 90 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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: <w> <h>`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion exolve-from-ipuz.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion exolve-from-puz.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions exolve-m-simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->

<link rel="stylesheet" type="text/css" href="https://viresh-ratnakar.github.io/exolve-m.css?v1.18"/>
<script src="https://viresh-ratnakar.github.io/exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="https://viresh-ratnakar.github.io/exolve-m.css?v1.19"/>
<script src="https://viresh-ratnakar.github.io/exolve-m.js?v1.19"></script>

<title>Exolve</title>

Expand Down
2 changes: 1 addition & 1 deletion exolve-m.css
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions exolve-m.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Exolve (replace with puzzle title)</title>

Expand Down
4 changes: 2 additions & 2 deletions exolve-m.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down
12 changes: 6 additions & 6 deletions exolve-player.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<script src="exolve-from-ipuz.js?v1.18"></script>
<script src="exolve-from-puz.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>
<script src="exolve-from-ipuz.js?v1.19"></script>
<script src="exolve-from-puz.js?v1.19"></script>

<style>
#exolve-player {
Expand Down Expand Up @@ -112,8 +112,8 @@
'<meta charset="utf-8"/>\n' +
'<meta name="viewport" content="width=device-width, initial-scale=1"/>\n' +
'<link rel="stylesheet" type="text/css" ' +
'href="https://viresh-ratnakar.github.io/exolve-m.css?v1.18"/>\n' +
'<script src="https://viresh-ratnakar.github.io/exolve-m.js?v1.18">' +
'href="https://viresh-ratnakar.github.io/exolve-m.css?v1.19"/>\n' +
'<script src="https://viresh-ratnakar.github.io/exolve-m.js?v1.19">' +
'<\/script>\n' +
'<\/head>\n' +
'<body>\n' +
Expand Down
4 changes: 2 additions & 2 deletions exolve.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
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;
Expand Down Expand Up @@ -1358,7 +1358,7 @@ <h2 id="${this.prefix}-title" class="xlv-title"></h2>
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) {
Expand Down
4 changes: 2 additions & 2 deletions test-15x15-unsolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-15x15</title>

Expand Down
4 changes: 2 additions & 2 deletions test-3d-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-3D</title>

Expand Down
4 changes: 2 additions & 2 deletions test-basic-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Basic</title>

Expand Down
4 changes: 2 additions & 2 deletions test-basic-unsolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Basic</title>

Expand Down
4 changes: 2 additions & 2 deletions test-big-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Big</title>

Expand Down
4 changes: 2 additions & 2 deletions test-color-scheme.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Color-Scheme</title>

Expand Down
4 changes: 2 additions & 2 deletions test-columnar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>

<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Columnar</title>

Expand Down
5 changes: 3 additions & 2 deletions test-completion-notice.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Completion-Notices</title>

Expand All @@ -27,6 +27,7 @@
000
0.0
000
exolve-option: ignore-unclued
exolve-end
Expand Down
4 changes: 2 additions & 2 deletions test-customize-puzzle.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<script>
function customizeExolve(p) {
Expand Down
4 changes: 2 additions & 2 deletions test-deleted-clues-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-3D</title>

Expand Down
4 changes: 2 additions & 2 deletions test-diagramless-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Diagramless</title>

Expand Down
4 changes: 2 additions & 2 deletions test-diagramless-unsolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Diagramless</title>

Expand Down
4 changes: 2 additions & 2 deletions test-exolve-div.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Exolve-Div</title>

Expand Down
4 changes: 2 additions & 2 deletions test-hindi.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Hindi</title>

Expand Down
6 changes: 3 additions & 3 deletions test-ipuz-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<script src="exolve-from-ipuz.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>
<script src="exolve-from-ipuz.js?v1.19"></script>

<title>Test-Ipuz-Solved</title>

Expand Down
6 changes: 3 additions & 3 deletions test-ipuz-unsolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<script src="exolve-from-ipuz.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>
<script src="exolve-from-ipuz.js?v1.19"></script>

<title>Test-Ipuz-Solved</title>

Expand Down
4 changes: 2 additions & 2 deletions test-jigsaw-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Jigsaw</title>

Expand Down
4 changes: 2 additions & 2 deletions test-jigsaw-unsolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Jigsaw</title>

Expand Down
4 changes: 2 additions & 2 deletions test-linked-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Linked</title>

Expand Down
4 changes: 2 additions & 2 deletions test-linked-unsolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Linked</title>

Expand Down
4 changes: 2 additions & 2 deletions test-mixed-solved.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Mixed</title>

Expand Down
4 changes: 2 additions & 2 deletions test-ninas-colours.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.18"/>
<script src="exolve-m.js?v1.18"></script>
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.19"/>
<script src="exolve-m.js?v1.19"></script>

<title>Test-Ninas-Colours</title>

Expand Down
Loading

0 comments on commit 97a2206

Please sign in to comment.