-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi,
While trying to use the "standalone" version for my own purposes, I found some bugs in the image itself and in the Smalltalk78.js file. I've fixed them and have them locally, but to be honest while I was debugging and understanding how everything work together, the whole development process seems a bit chaotic to me.
Here's what I found that looks confusing, at least to me that has never seen this project before.
As far as I can see there are a couple of different versions or deviations of the code here:
-
main repo (https://github.com/codefrau/Smalltalk78/tree/main)
It stands on itself through Smalltalk78.js. This is the one I forked and worked with.
It has updates up to 362. -
github page (https://codefrau.github.io/Smalltalk78/)
The image used has updates up to 346 (https://smalltalkzoo.thechm.org/images/updated.st78).
This can be fixed by runningUserView updatesthat will update up to 363 (this is 1 more than what is found on the main branch).
The reason is because theSmalltalk.updateURLused is "https://smalltalkzoo.thechm.org/users/codefrau/St78/updates/" and not the expected (at least by me 😅) "https://codefrau.github.io/Smalltalk78/updates".
However, I don't know where this0363ChangesApr10.stis coming from, as it doesn't exist in this git repo. -
smalltalkzoo version (https://smalltalkzoo.thechm.org/users/codefrau/St78/updates/)
This seems to be the source of the image and updates used on the github page.
From the looks of its .git, the contents seem to be coming from the smalltalkzoo branch.
Not sure why the github page version is using the same "data" as the smalltalkzoo version. -
lively version (https://lively-web.org/users/bert/Smalltalk-78.html, sorry about the url but codefrau seems to be empty)
"lively-web" branch.
It uses the image https://lively-web.org/users/bert/St78/updates/updated.st78, but it gets its updates from the smalltalkzoo version (which is probably a good thing given how behind https://lively-web.org/users/bert/St78/updates is).
This version works differently because lively is supporting its bootstrap instead Smalltalk78.js.
The other big difference I found is the image of the lively world as well. I found a bunch of updates added to the lively side, for which I do not know the source. An example isonKeyDownon an instance ofCanvasMorph(Notetaker.Display).lively.morphic.CanvasMorphdefinition doesn't have this function. It kind of seems that it was patched in for theNotetaker.Displayonly?
Anyway, a bunch of issues I found was related to a few of theseNotetaker.Displayscripts that do not exist in Smalltalk78.js but the onkeydown there assumes they do. This is why copy/paste is not working over there.
I've also added some new features that I needed (what led me to this rabbit hole in the first place).
I wanted to do PRs with my fixes, etc. but not really sure the best way to do that, and on which branch. I will be pushing these to my fork pretty soon though: https://github.com/aadsm/Smalltalk78/.