doc • release • 3.15.2

Gambas 3.15.2

What's new?

This release includes important bug fixes made since the 3.15.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

  • Fix component sorting.

  • Version control: Error message is now top aligned.

  • System information dialog: Add GDK library.

  • Search: Fix search result line numbers.

  • Form editor: Do not set the Name property if a virtual control has no Name property.

  • Automatic completion: Use substitutes for missing components only in the help browser.

  • Code editor: Make compiler and runtime errors tooltips more readable.

  • Code editor: Hitting F2 on a non-existing label does not crash anymore.

INTERPRETER

  • The interpreter can compile without libffi again.

  • Fix possible buffer overflow on localization environment variables.

  • Always define LC_ALL and LANG with the effective language chosen.

  • Use the current language to load translations, not what setlocale() returns.

  • Disable JIT compiler if no compiler is found.

  • Add process id in warning messages.

  • If no language environment variable is defined, use "C" locale instead of "en_US".

GB.DB.FORM

  • DataComboView: Fix default event.

  • DataComboView: Prevent the popup contents from scrolling horizontally.

  • DataComboView: Ignore vertical alignment when drawing the contents.

  • DataComboView: Draw grid inside the combo if the grid property is set.

  • DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.

GB.DB.SQLITE2

  • Correctly handle "~" in database directories.

GB.DB.SQLITE3

  • Correctly handle "~" in database directories.

GB.DESKTOP

  • Desktop.SendMail() now waits for the completion of the xdg-email script, so that errors are raised.

GB.FORM.EDITOR

  • TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.

GB.FORM.MDI

  • ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.

GB.FORM.TERMINAL

  • TerminalView: Ignore window manipulations sequences ("ESC [ ... t").

GB.GTK

  • Fix popup management.

  • Save drawing context when running a style method.

  • The automatic width of RadioButton and CheckBox is now larger to avoid GTK+ warnings.

  • Drawing a null rich text string does not crash anymore.

GB.GTK3

  • Fix popup management.

  • Save drawing context when running a style method.

  • Popups now work on Wayland compositors.

  • Support for client-side decorations.

  • The automatic width of RadioButton and CheckBox is now larger to avoid GTK+ warnings.

  • Drawing a null rich text string does not crash anymore.

GB.GUI.BASE

  • ListBox: Click event is now raised on the next event loop.

  • Message: text is not vertically truncated anymore when using a GTK+ component.

GB.JIT

  • Don't crash if no compiler is found, but just tell the interpreter.

GB.NET

  • UdpSocket: Writing does not crash anymore if the target is not defined.

  • UdpSocket: Fix declaration of SourcePath property.

GB.PDF

  • Fix poppler version detection.

GB.REPORT2

  • Report.Print() now works correctly whatever the toolkit or the printer.

  • Checking or unchecking the grayscale checkbox now correctly refreshes the preview.

GB.TEST

  • Improve diagnostics of Approximate and RelativeApproximate assertions, showing the original values too.

GB.QT4

  • Never export the menu bar through DBus, it crashes on Mate.

  • Better support of menu bar exported through DBus.

  • Only the Application.MainWindow menubar is exported through DBus.

  • Make component compile again.

  • Breeze and oxygen theme fixes should not crash anymore.

GB.QT5

  • Never export the menu bar through DBus, it crashes on Mate.

  • Better support of popups when run on Wayland.

  • Better support of menu bar exported through DBus.

  • Only the Application.MainWindow menubar is exported through DBus.

  • Breeze and oxygen theme fixes should not crash anymore.

GB.SETTINGS

  • Remove a debugging message.

GB.WEB.GUI

  • Log is now disabled by default. Setting the GB_WEB_GUI_DEBUG environment variable to "1" enables it.

  • WebComboBox: Use the onclick event instead of onselect, so that initial click on first list element is detected.

  • WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.