Author |
Topic: LB Booster version 3.04 released (Read 1557 times) |
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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: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: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: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.
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: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: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.
|
|
|
|
Alincon
Full Member
member is offline
Posts: 147
|
|
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.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
|
|
joker
Global Moderator
member is offline
Gender:
Posts: 157
|
|
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!
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
Logged
|
|
|
|
Jack Kelly
Full Member
member is offline
Gender:
Posts: 106
|
|
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...
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
Logged
|
|
|
|
Cor
New Member
member is offline
Gender:
Posts: 8
|
|
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 » |
Logged
|
|
|
|
lancegary
New Member
member is offline
Posts: 9
|
|
Re: LB Booster version 3.04 released
« Reply #8 on: Mar 25th, 2016, 10:03pm » |
|
Thank you.
|
|
Logged
|
|
|
|
HugoS
New Member
member is offline
Posts: 5
|
|
Re: LB Booster version 3.04 released
« Reply #9 on: Mar 26th, 2016, 6:12pm » |
|
Great stuff, thank you Richard.
|
|
Logged
|
|
|
|
pierscintilla
New Member
member is offline
Gender:
Posts: 30
|
|
Re: LB Booster version 3.04 released
« Reply #10 on: Mar 27th, 2016, 09:16am » |
|
Richard is irreplaceable!!!
Many thanks Pier
|
|
Logged
|
|
|
|
|