Skip to content

v1.50

Latest
Compare
Choose a tag to compare
@viresh-ratnakar viresh-ratnakar released this 16 May 22:13
· 58 commits to master since this release
25ccaac

Version: Exolve v1.50: May 16, 2023

  • Remove the Firefox-specific code that made pageinate() a no-op—it
    seems to work OK now.
  • But in Firefox, use settings for the toggle "Shrink to page width"
    vs "Scale [100]" seem sticky. Add documentation that this should
    be set to "Shrink to page width."

Version: Exolve v1.49: May 10, 2023

  • When testing if the current input is a valid letter in a
    multi-char-letters script such as Devanagari, we need to check all
    the entered letters.
  • Increase max chars per letter to 5 for Devanagari (from 4).

Minor Version: Exolve v1.48.3: March 23, 2023

  • Do not fire a completion event if there is not .frame Element
    (perhaps because it's a temp puzzle that has been deleted).

Minor Version: Exolve v1.48.2: March 12, 2023

  • If setColumnLayout() is called without the DOM rendering of the
    puzzle yet done, it gets duped when calculating the clues column
    width. Fix that by falling back to simply using the viewport
    width if this.frame's width is found to be 0.

Minor Version: Exolve v1.48.1: March 8, 2023

  • Slight tweak to the available width calculation in resizing clue
    column widths, for the case of embedded (not full-width) puzzles.

Version: Exolve v1.48: March 7, 2023

  • When already in the Notes section, return to the last cell in
    the grid if another Ctrl-/ is pressed. Restore scroll position
    when jumping back to the grid from the notes.
  • Reduce clue-column widths progressively if the display is resized.
  • Make the exolve-option `clues-at-right-in-two-columns be a no-op.
    We now always behave as if this were true.

Version: Exolve v1.47.3: March 1, 2023

  • Add option to skip printing the questions (in crosswords that have
    them).

Version: Exolve v1.47.2: February 26, 2023

  • Add support for exolve-option: override-number-<name>:<value> to
    overrride numeric properties that do not have their own dedicated
    exolve-option (such as GRIDLINE).
  • Make exolve-option parsing be case-sensitive.

Version: Exolve v1.47.1: February 24, 2023

  • Remove the "notebook" background temporarily when copying notes
    as it looks weird when pasted into emails.

Version: Exolve v1.47: December 19, 2022

  • Allow '/' as a linked-clue-number separator.
  • Make exolveFromText() work in the background using a Worker thread.
    It can take a lot of time for large grid sizes (such as 23x23). it
    now communicates its progress and results through postMessage().

Minor Version: Exolve v1.46.5: October 25, 2022

  • Bug-fix in exolve-player: A temp exolve puzzle created to figure
    out clue locations from the grid (when parsing .puz) hangs around,
    and leads to an ID conflict when the same .puz file is reloaded.
    Fixed by (a) Using a random temp ID, and (b) Calling .destroy()
    on the temp puzzle.

Minor Version: Exolve v1.46.4: October 2, 2022

  • Made the clue notes have a substantial min width, so that they can
    be clicked into.

Minor Version: Exolve v1.46.3: September 25, 2022

  • Add support for using Ctrl-* to mark the current clue's notes with a
    * prefix (without changing focus).

Minor Version: Exolve v1.46.2: September 24, 2022

  • Change clue-note tag from p to div to make it more compact.

Minor Version: Exolve v1.46.1: September 24, 2022

  • Set the title of the clue-notes element in JavaScript rather than through
    HTML-parsing of text that may potentially contain double quotes.

Version: Exolve v1.46: September 23, 2022

  • Bug fix: need to update the clue entry shown in the Notes panel even
    when the state goes from solved-to-solved but with a change. Now, just
    save the previous entry in the clue structure and compare the new one
    with that.
  • Show the clue as a tooltip when the mouse is hovered over a clue's notes.

Version: Exolve v1.45: September 22, 2022

  • Reorganize the line of links under the crossword. It used to be:
    "Tools, Print, [Webifi], Bug, Exolve on Github". The "Tools" link
    has been renamed to "Exolve" (it is more general now). The "Bug" link
    (renamed to "Report Bug") and the "Exolve on Github" link have been
    moved inside the panel that open up on clicking on the "Exolve" link.
  • A new link called "Notes" has been added (described below).
  • So the line of links now looks like: "Exolve, Print, Notes, [Webifi]"
    (shorter than before).
  • Clicking on any of the three Exolve/Print/Notes links opens a panel
    underneath, while also closing the previous panel that may have been
    open there.
  • Minor tweaks to documentation and UI labels (such as all hover-texts
    now consistently end in a period or some other punctuation mark.
  • The Notes link lets you add/edit/view clue-specific as well as overall
    notes for the crossword. These notes are saved in the local
    storage along with the crossword state.
  • The notes can be copied to the clipboard using the "Copy notes" button.
    Clicking on the "Email notes" button composes an email draft containing
    the notes. If the crossword includes contact email addresses (via a new
    exolve-email section) then the draft is addressed to those addresses.
  • The notes can include a few features automatically, if desired (each one
    can be turned off with a checkbox). These are:
    • The solving order of the clues.
    • The solution entered.
    • The time at which the clue was solved.
  • When solving a clue, if you type Ctrl-/ (Ctrl-Slash), then you are directly
    taken to the notes line for that particular clue, where you can edit the
    note or just read what you may have written. When no clue is selected,
    typing Ctrl-/ will take you the overall notes section.

Version: Exolve v1.44: September 14, 2022

  • If the solver changes a cell entry from a non-blank letter to a different
    non-blank letter, then that changed letter is highlighted by showing in a
    different colour for a short while. This animation's start/end colours
    (overwritten-start and overwritten-end) and the duration
    (highlight-overwritten-seconds) can be configured with exolve-option.
  • The default duration is 5 seconds. I have tried to keep the animation
    low-key.
  • Setting highlight-overwritten-seconds to 0 will turn this off.
  • This is motivated especially by competetion settings such as IXL where
    if a solver accidentally types over a cell then a visual indicator can
    save them from losing points.

Version: Unnumbered minor tweak: September 8, 2022

  • Chrome has a bug wherein after the first page load, window.print() does not
    conclude with an 'afterprint' event occasionally. So, just call
    handleAfterPrint() after calling window.print() as it can be safely called
    twice.
  • Make the xlv-frame div be able to capture keyboard events with tabindex=-1
    (this makes it not a part of tab-navigation while still lets it capture
    keydown events). This is useful for catching Ctrl-B for printing, after
    clicking anywhere in the puzzle area, not necessarily within a grid cell.
  • Add css rule for .xlv-frame:focus to not get drawn with a border/outline.

Version: Exolve v1.43: September 7, 2022

  • Create an Exolve.destroy() function, to be used by ExolvePlayer to
    remove window-listeners that would otherwise keep accumulating.
  • Rename the Exolve constructor param "saveState" to "notTemp". When
    notTemp is false, apart from not saving state, also do not attach
    window-listeners (for resize/printing). This stops listeners from
    accumulating in Exet.
  • In 3-column printing, minor tweak: minimize the sum of absolute
    diffs |diff12| + |diff23| + |diff13|.
  • When printOnlyCrossword or when printAsIs is true for any exolve
    crossword on the page (matters when there are more than one), make
    handleBeforePrint() a no-op for all other crosswords on the page.
  • Make print options background be transparent and color be "inherit"
    so that it looks OK in embedded settings such as blogs too.

Version: Exolve v1.42: August 27, 2022

  • Several printing fixes/improvements:
  • Bug-fix: when printing just the crossword from a blog (or from widgets in
    general), the exolve stylesheet was (sometimes) not getting applied. Some
    browser bug (?) got triggered when the element containing the link tag
    for the stylsheet got moved. The code now does not move elements (only
    moves top-level text nodes), styling them to be invisible directly
    while printing.
  • Add a "Print wysiwyg" button to allow printing without having Exolve
    do crossword-reformatting.
  • Improve/fix printing layout: in 3-column modea, minimize the sum of
    two gaps: |col1 - col2| + |col3 - min(col1,col2)|.

Version: Unnumbered minor tweak: July 26, 2022

  • Do not display the xlv-clear-area strip when printing.

Version: Exolve v1.41: July 18, 2022

  • When treating '&' as a linked child indicator in a clue label, only do so
    if a numeric label follows.