LB Booster
« LB Booster version 3.04 released »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:27am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: LB Booster version 3.04 released  (Read 1557 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx LB Booster version 3.04 released
« Thread started on: Mar 13th, 2016, 1:44pm »

I am pleased to announce the release of LB Booster version 3.04. It may be downloaded from here:

http://lbbooster.com/LBB.exe (IDE/compiler)
http://lbbooster.com/LBBRUN.exe (optional runtime engine)

You will need administrative privileges when running the program for the first time after upgrading (in Windows Vista, 7, 8/8.1 and 10, with UAC enabled, use 'Run as administrator').

This release has been necessitated in order to update the Code Signing Certificate to SHA-2, as is now required by Microsoft because SHA-1 certificates are considered insecure. I have taken the opportunity to make the following minor changes:

Bug fixes:
  1. Fixed a bug in the BACKGROUNDXY command causing the sprite background not to be plotted correctly if the X-offset was negative and the Y-offset non-zero.
Compatibility:
  1. The SINGLECLICKSELECT command can now take an optional handler (branch label or SUB) which will be activated by a single-click on the listbox. This functionality is provided by LB 4.04 and LB 4.5.0 although it is effectively undocumented. Note that a double-click will activate both handlers.
Language extensions:
  1. A new reserved variable PrinterMargin$ is introduced which controls the paper margins used by the LPRINT statement. It should be set to a string such as "10,10,10,10" where the figures are the left, bottom, right and top margins respectively, in millimetres. Previously the margins could be set only using the PAGESETUPDIALOG statement.

  2. The FIELD statement will now accept array elements as well as scalar variables. This allows you to store array elements in random-access files without the inconvenience of having to copy them to or from scalar variables.
IDE enhancements:
  1. The IDE now incorporates a combobox in which are listed all the branch labels, SUBs and FUNCTIONs in the currently loaded program. Selecting one of these causes the editor to jump directly to the appropriate program line. You can choose whether to sort the list alphabetically or in the order in which the items appear in the program.
Miscellaneous:
  1. The lb45func.bas library is now included with the distribution, to support the new functions provided by LB 4.5.0.
The LBB.EXE and LBBRUN.EXE files have been signed with a SHA-2 certificate, a SHA-1 digest and a SHA-1 timestamp. This meets all of Microsoft's requirements for the time being, but they may at some future stage require both the digest and timestamp to be SHA-2 as well (currently I can't easily do that).

Please note however that having a valid certificate is not sufficient for Windows to 'trust' the files, and you may still receive security warnings when you download them. That issue will resolve itself eventually when the files have been downloaded a sufficient number of times for them to have gained a 'reputation' for safety.

Richard.
« Last Edit: Mar 13th, 2016, 10:06pm by Richard Russell » User IP Logged

Alincon
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 147
xx Re: LB Booster version 3.04 released
« Reply #1 on: Mar 13th, 2016, 4:36pm »

I am very pleased that you have decided to not only keep LBB up to Microsoft standards, but to make enhancements to LBB, in particular the singleclick branch name feature.
But what does this mean: "a double-click will activate both handlers"?

Again, thank you for your fine work on LBB

r.m.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.04 released
« Reply #2 on: Mar 13th, 2016, 5:26pm »

on Mar 13th, 2016, 4:36pm, Alincon wrote:
But what does this mean: "a double-click will activate both handlers"?

It's just confirming the way Windows works. When you (single) click on something, Windows reacts to that click immediately, i.e. as soon as you release the mouse button. Therefore if you do a double-click it is inevitable that the first of those clicks must already have been detected.

So if you have both a single-click and a double-click listbox handler set up, as LB has always allowed you to do and LBB now does too, a double-click will cause both handlers to be activated (the single-click event on the first click and the double-click event on the second click).

I mentioned it because the topic has come up previously and some people seem to be confused by it, despite the fact that it's unavoidable (to distinguish unambiguously between a single-click and a double-click Windows would have to wait for at least the 'double-click time' before responding to a single click, which would be irritating).

Richard.
« Last Edit: Mar 13th, 2016, 10:00pm by Richard Russell » User IP Logged

joker
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 157
xx Re: LB Booster version 3.04 released
« Reply #3 on: Mar 14th, 2016, 10:15am »

Quote:
The FIELD statement will now accept array elements as well as scalar variables. This allows you to store array elements in random-access files without the inconvenience of having to copy them to or from scalar variables.


Just what I wanted (storing arrays in RAF) and at just the right time!

Thanks, Richard!
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.04 released
« Reply #4 on: Mar 14th, 2016, 12:55pm »

on Mar 14th, 2016, 10:15am, pnlawrence wrote:
Just what I wanted (storing arrays in RAF) and at just the right time!

It's probably not a coincidence: that feature was on my 'wish list' because somebody (you, I expect) had at some point asked for it.

However I should apologise to those whose suggestions didn't make it into this release. I wasn't in the mood for a major upgrade; in fact any update at all would have been unlikely had it not been for the Code Signing Certificate issue.

It's perhaps a little ironic that I went to the trouble of updating the certificate, despite my enthusiasm for LBB being at a low ebb, when Carl doesn't even bother to sign his executables at all (although how he can justify that in these security-conscious days I have no idea).

Richard.
User IP Logged

Jack Kelly
Full Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 106
xx Re: LB Booster version 3.04 released
« Reply #5 on: Mar 16th, 2016, 07:28am »

I love the IDE combo box, especially the case-insensitive sort! Nice touch. Thanks for being there for us...
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.04 released
« Reply #6 on: Mar 16th, 2016, 6:38pm »

on Mar 16th, 2016, 07:28am, Jack Kelly wrote:
I love the IDE combo box, especially the case-insensitive sort!

I can't take any credit for that. A case-insensitive sort is the only kind that Windows natively supports, by means of the LBS_SORT style bit.

Richard.
User IP Logged

Cor
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 8
xx Re: LB Booster version 3.04 released
« Reply #7 on: Mar 21st, 2016, 2:39pm »

My garden has kept me busy a bit so noticed this message only just today. Well done Richard. Glad to see you're still hanging in there.

And thank you - I almost forgot.
« Last Edit: Mar 21st, 2016, 2:41pm by Cor » User IP Logged

lancegary
New Member
Image


member is offline

Avatar




PM


Posts: 9
xx Re: LB Booster version 3.04 released
« Reply #8 on: Mar 25th, 2016, 10:03pm »

Thank you.
User IP Logged

HugoS
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: LB Booster version 3.04 released
« Reply #9 on: Mar 26th, 2016, 6:12pm »

Great stuff, thank you Richard.
User IP Logged

pierscintilla
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 30
xx Re: LB Booster version 3.04 released
« Reply #10 on: Mar 27th, 2016, 09:16am »

Richard is irreplaceable!!!

Many thanks
Pier
User IP Logged

aurel
New Member
Image


member is offline

Avatar




PM


Posts: 7
xx Re: LB Booster version 3.04 released
« Reply #11 on: Mar 30th, 2016, 09:17am »

I must try this...
thanks
User IP Logged

http://basicpro.mipropia.com/smf/index.php
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls