v0.80
Version: Exolve v0.80 July 20 2020
- Supporting code and documentation for creating Exolve widgets.
- Set some cookie attributes to allow websites to use Exolve code served by a
different site. - Some crossrefs in README.md.
Version: Exolve v0.79 July 10 2020
- Changes to make puzzles more responsive on mobile devices.
- Set the grid size and clues panel sizes depending upon the viewport size.
- Most of the time, the user will not have to "pinch" to size, the UI
should be correctly sized already.
- If the 'outermost-stack' div already exists (old html file, likely),
replace it with current HTML.
Version: Exolve v0.78 June 30 2020
- If an HTML element with the id "exolve" is present, insert the puzzle
within it.
Version: Exolve v0.77 June 20 2020
-
In puzzles with solutions, we now automatically add to the anno (or create
an anno consisting of) the solution to the clue, derived from the grid
letters and the enum (for spaces, hyphens, etc.). For orphan clues,
the solution gets placed inside the placeholder blank slot instead of
the head of the anno. -
This would have meant that if in an older grid the the solution was explicitly
included in the anno, it would have got duplicated. So, the code does check
to see if the solution string (punctuation/markup notwithstanding) is present
at the head of the anno, and avoids duplicating it if so. If the solver wants
to present the solution in some other way, they can suppress the automatic
addition of the solution to the anno by adding
this line to the puzzle specs:
exolve-option: no-auto-solution-in-anno
This option only suppresses the solution getting added to the anno appearing
after the clue. The solution does still get added to the placeholder blank
slot of an orphan clue, upon "Reveal this," even with this option. -
If a clue does not provide its enum (using "(?)" or "(one word)" for eg),
the setter can still provide its correct solution in square brackets,
at the beginning of the anno. For example,
"[A] Lack of understanding (?) [NO CLUE]" -
For orphan clues (such as in a jigsaw puzzle), if the solver is navigating
in the clues list having clicked there last (rather than the grid), then
we now make "Reveal this" reveal the current clue rather than the current
light in the grid. -
The styling of the anno is now normal monospace instead of italic. The
solution text within the anno is bold monospace (and has the class name
"solution" for use in css overrides if desired). -
Backspace now does not go back beyond a light boundary (except in linked
clues).
Version: Exolve v0.76 June 13 2020
- Allow 'exolve-preamble' as an alias for 'exolve-prelude' as "preamble" is
more commonly used in crosswordese. - Add 'exolve-postscript' section to add a section at the bottom of the puzzle
panel. This can be used, for example, to add nav links. - Add option to allow exolve-question to not convert all answer letters into
uppercase (for long-form answers, for example). This is done by optionally
including the phrase "[lowercase-ok]" (without the quotes) immediately after
the enum specified in the question. - When exolve-submit is specified, allow submitting partial solutions too,
but with an extra warning in the confirmation dialog.
Version: Exolve v0.75 May 28 2020
- Add support to completely customize the colour scheme of the puzzle by
using options like "exolve-option: color-button:blue". - Add support for specifying orphan-clue to grid-clue (and/or or grid-cells)
mappings: eg., in a nodir clue like "[P] Some clue (4) [4d]" - Tweak linked clue indentation a little for non-numeric labels and for Firefox.
- Bug fix: HTMLCollection is not iterable on Edge, fixed in displayNinas()
Version: Exolve v0.74 May 26 2020
- The latest version of Chrome adds a black outline on focus to #grid-input,
which does not look that great. Add css to counteract.
Version: Exolve v0.73 May 25 2020
- Bug fix: "catch" needs a paramter (IE/Edge require it strictly).
- Make the grid-input text invisible, as not matter how much I tweak
its alignment with the underlying svg text in the cell, there is
still some doubling effect seen in some platforms.
Version: Exolve v0.72 May 14 2020
- No functionality change. Only some optimizations: use object references
when possible, instead of deindexing arrays with the same indices
repeatedly. - Change the example crossword in exolve.html and exolve-m.html to
something smaller and simpler.
Version: Exolve v0.71 May 7 2020
- Bug-fix: Unicode property escapes in regexpes (added to the code in v0.70)
do not work on some browsers such as Firefox (support is coming soon though).
Exolve was failing on Firefox because of this, even for English. Fixed so
that it only fails for non-English, and that too with a useful error
message.