December 04, 2020, 05:50:36 PM

Author Topic: 12.19  (Read 1840 times)

Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
12.19
« on: July 19, 2020, 10:00:27 AM »
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

Offline johnno56

  • Jr. Member
  • **
  • Posts: 38
  • Logic is the beginning of Wisdom.
Re: 12.19
« Reply #1 on: July 23, 2020, 12:44:27 AM »
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.

Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Re: 12.19
« Reply #2 on: July 23, 2020, 09:12:40 AM »
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


Offline johnno56

  • Jr. Member
  • **
  • Posts: 38
  • Logic is the beginning of Wisdom.
Re: 12.19
« Reply #3 on: July 25, 2020, 03:17:27 AM »
Sounds like fun! I'm in!
May your journey be free of incident.

Live long and prosper.

Offline johnno56

  • Jr. Member
  • **
  • Posts: 38
  • Logic is the beginning of Wisdom.
Re: 12.19
« Reply #4 on: July 26, 2020, 12:47:40 PM »
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.

Offline round157

  • Sr. Member
  • ****
  • Posts: 391
Re: 12.19
« Reply #5 on: July 27, 2020, 08:32:58 AM »
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

Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Re: 12.19
« Reply #6 on: July 27, 2020, 09:42:47 AM »
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



Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Re: 12.19
« Reply #7 on: July 28, 2020, 12:52:38 AM »
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)




Offline johnno56

  • Jr. Member
  • **
  • Posts: 38
  • Logic is the beginning of Wisdom.
Re: 12.19
« Reply #8 on: July 28, 2020, 03:33:33 AM »
Excellent! 12.19 is now installed! Thank you for the fix. Much appreciated!
May your journey be free of incident.

Live long and prosper.

Offline round157

  • Sr. Member
  • ****
  • Posts: 391
Re: 12.19
« Reply #9 on: July 29, 2020, 09:52:39 AM »
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.

Offline round157

  • Sr. Member
  • ****
  • Posts: 391
Re: 12.19
« Reply #10 on: July 31, 2020, 11:24:14 AM »
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.)

Offline round157

  • Sr. Member
  • ****
  • Posts: 391
Re: 12.19
« Reply #11 on: August 02, 2020, 08:58:08 AM »
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.

Offline chrisws

  • Jr. Member
  • **
  • Posts: 61
    • SmallBASIC
Re: 12.19
« Reply #12 on: August 03, 2020, 12:57:06 AM »
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

Offline round157

  • Sr. Member
  • ****
  • Posts: 391
Re: 12.19
« Reply #13 on: August 04, 2020, 04:08:00 AM »

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.


Offline round157

  • Sr. Member
  • ****
  • Posts: 391
Re: 12.19
« Reply #14 on: August 06, 2020, 10:05:38 AM »
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.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal