12.19

Started by chrisws, July 19, 2020, 10:00:27

Previous topic - Next topic

chrisws

Is here:

https://github.com/smallbasic/SmallBASIC/releases/tag/12_19

The android version has also been updated.

If I've missed anything there's always next time :)

Cheers,
Chris

johnno56

Hi Chris,

Just downloaded 12.19 deb file but my Linux Mint OS warned me that it needed libc6 v 2.29 or greater. My system already has libc6 installed (v 2.27) which is the 'latest' version of libc6 (for LM). I am running the latest stable version of LM (v 19.3).
May your journey be free of incident.

Live long and prosper.

chrisws

Quote from: johnno56 on July 23, 2020, 00:44:27
Hi Chris,

Just downloaded 12.19 deb file but my Linux Mint OS warned me that it needed libc6 v 2.29 or greater. My system already has libc6 installed (v 2.27) which is the 'latest' version of libc6 (for LM). I am running the latest stable version of LM (v 19.3).

Hi Johno,

Do you feel up for building from source? I can give you some extra instructions and help if you get stuck.

It should be fairly straight forward from mint.

Cheers,
Chris


johnno56

Sounds like fun! I'm in!
May your journey be free of incident.

Live long and prosper.

johnno56

Hi Chris,

Downloaded 12.19 file and accessed the README.md file for instructions to build the sdl version.

The "initial setup" ran to completion without error. (all packages that needed to be installed were already up to date)

"./configure --enable-sdl" completed no errors

"make" not so lucky... see attached.

I will also include the full text of the failed 'make' command.

Any assistance would be appreciated.

J
May your journey be free of incident.

Live long and prosper.

round157

Quote from: chrisws on July 19, 2020, 10:00:27
Is here:

https://github.com/smallbasic/SmallBASIC/releases/tag/12_19

The android version has also been updated.

If I've missed anything there's always next time :)

Cheers,
Chris

This mentions "Implement DEFINEKEY undo".
https://github.com/smallbasic/SmallBASIC/releases/tag/12_19

However, the manual does not mention how to use "DEFINEKEY undo".
https://smallbasic.github.io/reference/1015

chrisws

Quote from: round157 on July 27, 2020, 08:32:58
Quote from: chrisws on July 19, 2020, 10:00:27
Is here:

https://github.com/smallbasic/SmallBASIC/releases/tag/12_19

The android version has also been updated.

If I've missed anything there's always next time :)

Cheers,
Chris

This mentions "Implement DEFINEKEY undo".
https://github.com/smallbasic/SmallBASIC/releases/tag/12_19

However, the manual does not mention how to use "DEFINEKEY undo".
https://smallbasic.github.io/reference/1015

Thanks for the reminder, I've updated the page. Basically you just pass 0 instead of the SUB, for example:

DEFINEKEY 0xFF04, 0



chrisws

Quote from: johnno56 on July 26, 2020, 12:47:40
Hi Chris,

Downloaded 12.19 file and accessed the README.md file for instructions to build the sdl version.

The "initial setup" ran to completion without error. (all packages that needed to be installed were already up to date)

"./configure --enable-sdl" completed no errors

"make" not so lucky... see attached.

I will also include the full text of the failed 'make' command.

Any assistance would be appreciated.

J

Hi Johno,

Ah, I see it's a problem with how I've setup some dependencies.

Try saving the code below as a file, say "submodules.sh" in the SmallBASIC folder.

Then run it with:

$ sh submodules.sh

If you get an error, you might need to install git first:

$ sudo apt install git

Quote
#!/bin/bash
(cd src/lib && rm -rf lodepng && git clone https://github.com/lvandeve/lodepng.git)
(cd src/lib && rm -rf stb && git clone https://github.com/nothings/stb.git)
(cd src/lib && rm -rf miniaudio && git clone https://github.com/dr-soft/miniaudio.git)
(cd src/lib && rm -rf jsmn && git clone https://github.com/zserge/jsmn.git)




johnno56

Excellent! 12.19 is now installed! Thank you for the fix. Much appreciated!
May your journey be free of incident.

Live long and prosper.

round157

Quote from: chrisws on July 27, 2020, 09:42:47
Thanks for the reminder, I've updated the page. Basically you just pass 0 instead of the SUB, for example:

DEFINEKEY 0xFF04, 0


Thank you.

Sometimes the editor shows some squares. These squares are actually useless characters. Will there be any plan to remove the bug in the editor(sbasicg.exe)? Thanks again.

round157

I want to report a flaw of the theme "R157" in sbasicg.exe.

In the [Online] section, text is still dark green. It is hard to read text in this color. Replacing the color with a bright color for the next version will be convenient for users. (The color cannot be changed in settings.txt.)

round157

I need to report the font bug.

https://smallbasic.github.io/pages/sdl.html

The above page tells us that the default font of sbasicg.exe can be changed to Envy font or Adobe Source Code Pro font. I followed the steps of the page to try.(used Envy font files and also Adobe Source Code Pro font files). However, I could not succeed and the default font was still displayed.

A bug exists.

chrisws

Quote from: round157 on July 31, 2020, 11:24:14
I want to report a flaw of the theme "R157" in sbasicg.exe.

In the [Online] section, text is still dark green. It is hard to read text in this color. Replacing the color with a bright color for the next version will be convenient for users. (The color cannot be changed in settings.txt.)

Thanks for your report. The online page doesn't currently use the themes. When you click "online" the following page is downloaded an run:

https://github.com/smallbasic/smallbasic.github.io/blob/master/samples/index.bas

Actually this is the link that is used; it's a different view of the same thing:

http://smallbasic.github.io/samples/index.bas

So, the display issues could be fixed without making another update.

Cheers,
Chris

round157

#13
Quote from: chrisws on August 03, 2020, 00:57:06

So, the display issues could be fixed without making another update.


Thank you.

One small problem. I remember that bplus introduced the command "w.setsize()" to me in this forum several months ago. Nevertheless, I discover that w.setsize() is not talked about anywhere in the manual:

https://smallbasic.github.io/reference/624.html

So it is better to add w.setsize() to the manual. Thanks.


round157

Hi.......an idea here.....

If w.setsize(640,480) is used, the small window will always be made at the top left corner. Maybe it will be nice for SmallBASIC users to decide locations of windows. For example, w.setlocation(0,0) is at the top left corner and w.setlocation((XMAX-640)/2, (YMAX-480)/2) is in the central part. This new command may be quite useful for all of us.