QB64 Phoenix Edition
QB64PE v4.1 is now live - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: Announcements (https://qb64phoenix.com/forum/forumdisplay.php?fid=18)
+--- Thread: QB64PE v4.1 is now live (/showthread.php?tid=3489)



QB64PE v4.1 is now live - SMcNeill - 02-23-2025

QB64PE v4.1

Enhancements

#591 - Keyword changes and additions - @a740g
The _DEFLATE$ function now supports an optional compression level parameter, ranging from 0 (fastest, least compression) to 10 (slowest, best compression).

Two new functions have been introduced to handle Base64 encoding and decoding. See _BASE64DECODE$ and _BASE64ENCODE$, These are implemented using the high-speed MODP_B64 library from the Google Chromium Project.

#596 - The "Export As..." menu got a new entry to allow code export into a Discord ANSI code block. - @RhoSigma-QB64
The ANSI sequences unfortunately count into the Discord message chars limit, so it will quickly eat up your regular 5000 allowed chars. Hence, unless you've enough Nitro to extend your message limit, this is really only useful for short snippets.

#602 - _FULLPATH$ will no longer throw an error when an empty string is passed, instead it simply returns empty too. Also _CWD$ and _STARTDIR$ were changed to always return the path with an trailing slash. - @a740g

#609 - Various improvements to _LOADIMAGE. - @a740g
Adds 3x and 4x XBR family pixel scalers.
Adds support for ImageMagick-generated 32bpp PCX files (see @SteveMcNeill's post in the Forum).

#610 - Updates tinyfd_beep() to play a 900 Hz tone for 500 ms, making the BEEP sound closer to its behavior before version 4.x. - @a740g
Note that on Windows and most platforms, the beep is generated as a sine wave rather than a square or triangle wave, resulting in a softer sound as before version 4.x.

#611, #612 - Improving the IDE and commandline (-y switch) code formatter behavior. - @RhoSigma-QB64
The keywords formatting is now detached from the auto single-spacing process, so one could switch off layouting to be able to space and align code on own desire, but still get proper UPPER, CaMeL or lower case formatting of the keywords.
In alternative we can have proper formatting switched on by default, but can use the new $FORMAT metacommand to suppress any auto spacing (indention+single spacing of code elements) for sections we rather want to space/align manually for better readability.

In addition the "Export As..." menu now also remains active if the auto layouting is switched off, which wasn't the case until and
inclusive v4.0.0.


Library Updates
#603 - Updated FreeType to versions 2.13.3, this update's main improvement is a significant performance boost to the B/W rasterizer. - @a740g


Bug Fixes

#591 - Fix for error: arithmetic on a pointer to void that occurs when using _MEMGET/_MEMPUT with $CHECKING:OFF. - @mkilgore

#593 - Fixed status area command reference help for user-defined SUBs and FUNCTIONs, if the SUB/FUNCTION takes array arguments (e.g. myarr()) the reference got truncated at the closing paranthesis of the first array argument. - @RhoSigma-QB64

#598 - Make the _CONSOLEINPUT function non-blocking as discussed in the Forum. - @RhoSigma-QB64

#599 - Resolves _MOUSEMOVEMENTX and _MOUSEMOVEMENTY returning 0 on Windows on ARM with C++ optimizations enabled. - @a740g

#602 - Fixes a bug on macOS where mouse events are suppressed for 0.25 seconds when _MOUSEMOVE is used. - @a740g

#603 - Fixing issue #595 (CVE_2018_3870-6497366-2). - @a740g

#605 - Fixes an issue on macOS where the program compiles successfully but doesn't run unless you toggle the logging output to be displayed. - @mkilgore

#607 - There were several problems identified with the existing escaping for calling make, parenthesis at the end would get lost, dollar signs got expanded incorrectly etc.. This change redoes the escaping and applies it correctly depending on the platform. - @mkilgore


RE: QB64PE v4.1 is now live - NakedApe - 02-23-2025

Excellent work, killer dev team! It’s great to see those Mac issues fixed. Thanks, a740g.


RE: QB64PE v4.1 is now live - Petr - 02-23-2025

Adds support for ImageMagick-generated 32bpp PCX files (see @SteveMcNeill's post in the Forum).
Big Grin  That sounds like a challenge Smile


RE: QB64PE v4.1 is now live - Pete - 02-23-2025

Who was the dev who made it possible to display graphics in Screen 0? I'm guessing it was Sam. 

Ah, and no, I don't intend to put a hit out on him. I'm still awaiting a return on my investment in Clippy! Big Grin

Don Pietro


RE: QB64PE v4.1 is now live - bert22306 - 02-23-2025

Nice!

The previous bug, which prevented running Steve's graphics speed test, is fixed. And as an added bonus, my number crunching speed test, built on a prime number generator, is marginally faster now, and I mean repeatedly. Not just a one-time fluke.

Thanks guys. Now to explore the new stuff ...


RE: QB64PE v4.1 is now live - a740g - 02-25-2025

(02-23-2025, 08:19 PM)NakedApe Wrote: Excellent work, killer dev team! It’s great to see those Mac issues fixed. Thanks, a740g.

You are welcome.  Big Grin

(02-23-2025, 09:32 PM)Pete Wrote: Who was the dev who made it possible to display graphics in Screen 0? I'm guessing it was Sam. 

Ah, and no, I don't intend to put a hit out on him. I'm still awaiting a return on my investment in Clippy! Big Grin

Don Pietro
Yeah, that's me! Got more fun SCREEN Pete stuff coming soon - stay tuned! Big Grin


RE: QB64PE v4.1 is now live - Pete - 02-25-2025

A BIG +2 for you! Heart 

You know Dav actually codes his text apps with...

SCREEN Pete

It only upsets me a little when Steve writes a deductive program analysis proving the value of Pete is zero. He totally forgets about my entire negative side!

Pete Big Grin