simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Dec 2 23:50:23 GMT 2022


TL;DR:
  2b5a4a0 Document how Enter and Space are handled in the mid-end
  66a9279 js: Remove a JavaScript construct that confused emcc -O3
  acd1f45 js: Add an SVG resize handle to the HTML
  85dabc1 js: Improve comment explaining same-origin policy for file:
  2522dd2 js: Don't bother resizing offscreen canvas at startup

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2022-12-02 23:50:23

commit 2b5a4a062cf3f1ea6b64a92b8735a49b517f4557
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=2b5a4a062cf3f1ea6b64a92b8735a49b517f4557;hp=dbb2d2adb28eec4258783aa37589ccf4a3265f8f
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Wed Nov 30 13:10:59 2022 +0000

    Document how Enter and Space are handled in the mid-end
    
    They've been canonicalised to CURSOR_SELECT and CURSOR_SELECT2 since
    2008.

 devel.but | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 66a927920aeecececfcf6939b5f4a43ed7079949
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=66a927920aeecececfcf6939b5f4a43ed7079949;hp=2b5a4a062cf3f1ea6b64a92b8735a49b517f4557
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Fri Dec 2 02:10:19 2022 +0000

    js: Remove a JavaScript construct that confused emcc -O3

 emccpre.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit acd1f451523595ba294f29a223163ba9dbb6d981
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=acd1f451523595ba294f29a223163ba9dbb6d981;hp=66a927920aeecececfcf6939b5f4a43ed7079949
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Tue Nov 29 23:40:04 2022 +0000

    js: Add an SVG resize handle to the HTML
    
    This is more compact than carefully drawing it on a canvas in
    JavaScript.  More importantly, the SVG resize handle scales nicely as
    the page is zoomed, or on high-DPI screens.
    
    At the moment, the nice SVG resize handle is removed by JavaScript,
    but we need to wait a little while for everyone to get the new HTML
    cached before changing that.

 html/jspage.pl | 3 +++
 1 file changed, 3 insertions(+)

commit 85dabc1eb97c4e144744f863d2e6f54555cc0db9
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=85dabc1eb97c4e144744f863d2e6f54555cc0db9;hp=acd1f451523595ba294f29a223163ba9dbb6d981
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Fri Dec 2 22:01:34 2022 +0000

    js: Improve comment explaining same-origin policy for file:
    
    Also a way around it, at least in Firefox.

 Buildscr | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 2522dd249bc30472a8a9a1ae12286cba6542ba9c
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=2522dd249bc30472a8a9a1ae12286cba6542ba9c;hp=85dabc1eb97c4e144744f863d2e6f54555cc0db9
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Fri Dec 2 23:18:17 2022 +0000

    js: Don't bother resizing offscreen canvas at startup
    
    It will get its size set soon enough once we know the size of the
    puzzle anyway.

 emccpre.js | 2 --
 1 file changed, 2 deletions(-)



More information about the tartarus-commits mailing list