simon-git: puzzles (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri May 16 21:16:54 BST 2025
TL;DR:
c610e24 Document getenv_bool()
3b943d4 Update reference Git commit in devel.but
c9070b4 Remove BLITTER_FROMSAVED from drawing API
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: 2025-05-16 21:16:54
commit c610e24a56c3f54bbcf7f6ce56504d4feabc3454
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=c610e24a56c3f54bbcf7f6ce56504d4feabc3454;hp=6d09ad23b51ec5ce91ab135200315389c5548f8c
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Fri May 16 14:01:27 2025 +0100
Document getenv_bool()
devel.but | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
commit 3b943d412f6acb7489fb9488c53113f63876f519
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=3b943d412f6acb7489fb9488c53113f63876f519;hp=c610e24a56c3f54bbcf7f6ce56504d4feabc3454
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Fri May 16 14:16:03 2025 +0100
Update reference Git commit in devel.but
I've read through the log and the only thing that was missing was
getenv_bool().
devel.but | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c9070b4b40dcf1d1c5294bc827fe996a8925e7f5
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=c9070b4b40dcf1d1c5294bc827fe996a8925e7f5;hp=3b943d412f6acb7489fb9488c53113f63876f519
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Fri May 16 20:12:50 2025 +0100
Remove BLITTER_FROMSAVED from drawing API
blitter_load had a feature whereby passing in BLITTER_FROMSAVED as both
x and y co-ordinates would cause them to be treated as whatever was last
passed to blitter_save() for the same blitter. But no back end has ever
used this feature, and the JavaScript front end has never implemented
it, so it's obviously not a very memorable feature. Moreover, it would
be quite reasonable to want to load from a blitter at (-1, -1), so
usurping those co-ordinates could cause surprising results.
I think if one did want this feature, it would be better implemented as
a separate function, but it doesn't seem like much trouble to let the
back end remember the co-ordinates.
I don't think this requires a change to the drawing API version number
because it will cause a compile failure in the (unlikely) event that
any third-party front end is actually using the feature.
devel.but | 8 +-------
gtk.c | 8 +-------
nestedvm.c | 8 +-------
osx.m | 8 --------
puzzles.h | 5 -----
windows.c | 7 +------
6 files changed, 4 insertions(+), 40 deletions(-)
More information about the tartarus-commits
mailing list