Gambas Documentation
Documents
Books

Gambas 3.16.2

What's new?

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

  • Correctly handle compiler output now it compiles several files at the same time.

  • Fix external terminal support when debugging the project.

  • Don't crash if no terminal emulator is found. Display an error message instead.

  • Fix search inside form files whose text contents would be different if saved.

  • Update French translation.

  • Remove an unused variable.

EXAMPLES

  • SystemTray: Update example to follow the new behaviour of X11Systray class.

INTERPRETER

  • AND, OR and XOR operators now correctly raise an error if they deal with Single or Float values.

  • AND, OR and XOR operators should be a bit faster.

  • Call an optional fork helper in each loaded component libraries before starting a task.

  • Array.Read() and Array.Write() now check their stream argument instead of crashing if it is NULL.

  • Fix a memory leak in the return value of Eval().

  • Fix error management on disabled fast functions.

  • Class.Symbols and Class[] now correctly ignore symbol table entries overriden by inheritance.

  • Date formatting with escaped characters works correctly again.

  • Fix number formatting when the format include escaped characters.

  • When using SHELL, call setpgrp() after the possible setsid() call. Otherwise the shell i/o are not visible to the Gambas process.

GB.DB

  • Connection.Collations correctly returns the collation list now.

GB.DB.MYSQL

  • Unlimited string fields now use MEDIUMTEXT type instead of TEXT, so that their actual maximum size is now 16 Mb.

GB.EVAL

  • Fix highlighting and rewriting of lines having comments with more than one space before them.

GB.FORM

  • ButtonBox: Clamp the vertical padding so that the inner textbox works on GTK+ with small fonts.

  • ButtonBox: Fix border drawing according to the widget state (focus and hovering).

  • ButtonBox: Disabled background is now drawn correctly.

  • FileView: Selection property now does return file names without any rich text formatting.

  • FileChooser: Correctly restore the ShowDetailed property from settings.

  • FileChooser: Do not use a Watcher to initialize the popup menu.

  • ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.

  • MaskBox: Modifier keys do not hide selection anymore.

  • MaskBox: Fix behavior with copy & paste.

  • MaskBox: Allow default popup menu.

  • MaskBox: Text that do not have the same size as the mask are not valid anymore.

  • MaskBox: The Text property now must match the mask when set. If the set text is smaller than the mask, it is completed with the default characters.

  • MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.

  • MenuButton: Remove workaround for the TAB key.

  • TableView: Fix editing control position and size.

GB.FORM.DIALOG

  • File dialog geometry is now correctly saved when Dialog.Key is not set.

GB.FORM.EDITOR

  • TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.

GB.FORM.MEDIA

  • MediaView: Hide spacer panel when hiding controls.

GB.FORM.TERMINAL

  • TerminalView: Ignore errors if resizing the running process virtual terminal fails.

GB.GTK

  • Add Placeholder to the list of ComboBox control properties.

  • Fix focus management of windows.

  • Activate embedded windows on show.

  • Forgot to define the Key.AltGrKey symbol.

  • Style.BackgroundOf() method is now reliable.

  • Fix control restacking.

  • Fix keyboard events management.

  • Fix focus walk with the TAB key.

GB.GTK3

  • Add Placeholder to the list of ComboBox control properties.

  • Fix focus management of windows.

  • Activate embedded windows on show.

  • Popup menus should not sometimes close immediately anymore when the mouse button is released.

  • Forgot to define the Key.AltGrKey symbol.

  • Style.BackgroundOf() method is now reliable.

  • Fix control restacking.

  • Fix Menu.Popup() when popup global coordinates are specified.

  • Fix focus walk with the TAB key.

GB.GUI.BASE

  • SpinBox: Clamp the vertical padding so that the inner textbox works on GTK+ with small fonts.

  • GridView: Fix current cell cursor size and width.

GB.QT4

  • Add Placeholder to the list of ComboBox control properties.

  • Fix focus management so that the focus order is always the stacking order.

  • Style.BackgroundOf() method is now reliable.

GB.QT5

  • Add Placeholder to the list of ComboBox control properties.

  • Fix some Qt5 warnings.

  • Reset the internal Qt5 thread pool before forking.

  • Delete global QThreadPool object on fork only if QT version is at least 5.15.0.

  • Fix focus management so that the focus order is always the stacking order.

  • Style.BackgroundOf() method is now reliable.

GB.PDF

  • Make gb.pdf compile with poppler 21.06.0.

GB.WEB.GUI

  • Fix combo-box layout.

  • Do not allow window titlebar to be moved outside of the visible area.

  • WebComboBox: Use the input event instead of the change event to implement the Click Gambas event.

  • WebComboBox: Editable combo-box Click event should now trigger again for the first list element as expected.