Gambas 3.21.2

What's new?

This release includes important bug fixes made since the 3.21.1 release.

Compilation and installation

Read the instructions there.

If everything was fine, type "gambas3" to run the development environment.

Enjoy it !

Changelog

DEVELOPMENT ENVIRONMENT

Connection editor

  • Fix table rename on PostgreSQL.

Form editor

  • Panel class background color is taken into account as much as possible.

Help browser

  • Synchronize offline help with the wiki code.

  • React to global color theme changes.

  • Add a CSS for offline help dark mode.

Options dialog

  • Do not crash anymore when saving a GUI layout.

Procedure popup

  • Fix the behaviour of the filter buttons.

Project tree

  • Better emblems for project files.

  • Correctly initialize the project tree again when reloading a project.

Search panel

  • Some result list look fixes.

  • Use the default text background color for the search result list again.

Version control

  • Do not close workspace when pulling the local repository.

  • Use default foreground color for branch labels.

Welcome dialog

  • Remove the WebView used for the void example list.

  • Text of disabled buttons is lighter.

Miscellaneous

  • Correctly adapt project icons to dark theme.

INTERPRETER

  • Fix a memory leak in File.Load() when the method fails.

  • Fix the Wait() method of Process and Task classes when a timeout is specified.

ARCHIVER

  • Individual source code files whose bytecode must not be included in the executable are now correctly ignored.

GB.DB2.POSTGRESQL

  • Correctly unescape the value of BYTEA fields (a.k.a. blobs).

GB.DEBUG

  • Class names comparison must be case unsensitive when setting or unsetting breakpoints.

GB.FORM

  • FileChooser & DirChooser: Fix bookmarks refresh.

  • Bookmarks: Use the new DO AFTER instruction for triggering the bookmarks refresh.

  • MenuButton: Fix text clipping so that it is drawn correctly on GTK+3.

GB.FORM.EDITOR

  • TextEditor: Prevent a crash occuring when Paint.ClipRect is NULL in the drawing event handler.

  • TextEditor: Correctly clear the line drawing cache when the highlighting theme has changed.

GB.FORM.HTMLVIEW

  • HtmlView: Add missing rem conversion in litehtml source code.

  • HtmlView: Fix an uninitialized class member.

GB.FORM.STOCK

  • Redraw the binary icon in all themes.

GB.FORM.TERMINAL

  • TerminalView: Automatically invert the foreground color of a character if it is the same as the background color, and if that background color is the default background color.

  • TerminalView: Do not draw selection frame when Style.Flat is TRUE.

  • TerminalView: Apply the foreground and background colors to the scrollbar.

GB.GTK

  • Move the Style.ScrollbarSize and Style.ScrollbarSpacing properties to gb.gui.base.

  • Implement Lower() using Raise() internally, otherwise it does not work.

  • Raising or lowering a control does nothing if the control is already on top or at the bottom.

GB.GTK3

  • Move the Style.ScrollbarSize and Style.ScrollbarSpacing properties to gb.gui.base.

  • Implement Lower() using Raise() internally, otherwise it does not work.

  • Raising or lowering a control does nothing if the control is already on top or at the bottom.

GB.GUI.BASE

ComboBox

  • Highlight the current selected entry when opening the popup.

  • Load the clear button icon without crashing when stock icons are not available.

GridView

  • In multiple mode, automatically highlight the current row if the control has the focus.

ScrollArea

  • Correctly clip contents when the Shape property is defined.

  • Correctly relayout the contents if the styled border changes.

ScrollBar

  • Take the foreground color into account.

Style

  • Fix styled border clipping.

  • Fix and factorize PaintBackground() and ClipBackground() methods.

  • Move the Style.ScrollbarSize and Style.ScrollbarSpacing properties to gb.gui.base.

GB.HIGHLIGHT

  • Better CSS highlighting.

  • Correctly invalidate the Styles property when the theme has changed.

GB.PDF

  • Make gb.pdf compile with poppler 25.12.0.

GB.POPPLER

  • Support for actions that move to a "named destination".

GB.QT4

  • Move the Style.ScrollbarSize and Style.ScrollbarSpacing properties to gb.gui.base.

GB.QT5

  • Move the Style.ScrollbarSize and Style.ScrollbarSpacing properties to gb.gui.base.

GB.QT6

  • Move the Style.ScrollbarSize and Style.ScrollbarSpacing properties to gb.gui.base.