Gambas 3.5.2

What's new

This releases includes the following 67 bug fixes backported from the development version.

ChangeLog

[DEVELOPMENT ENVIRONMENT]
* BUG: Report editor: Now the report borders are shown correctly in the
  editor.
* BUG: The property help WebView now uses the same default font size (80%)
  than the help window.
* BUG: Fix HTML compression so that everything is not put on the same line.
* BUG: Subversion: Support for Subversion >= 1.8.
* BUG: Subversion: Automatically remove the ".lang/.pot" file from version
  control, as it is a generated file, and as its conflicts cannot be
  resolved.
* BUG: Subversion: Fix the Subversion conflict management.
* BUG: Subversion: Raise the svn commands timeout to 30 seconds: some
  commits can take a long time.
* BUG: File property dialog: The 'Revert' button is correctly hidden now.
* BUG: Menu editor: The last menu can be move up now.
* BUG: Menu editor: Fix the highlight of the current menu.
* BUG: Menu editor: Fix the menu search box.
* BUG: Project tree: The popup menu should be accurate with extern files
  now.
* BUG: Project tree: Fix popup menu when clicking on the "Data" project
  tree folder.
* BUG: Form editor: Correctly hide and show toolbar entries according to
  the current state (debugging, read-only...).
* BUG: Form editor: Formatting toolbar buttons act on the entire form if
  nothing is selected now.
* BUG: Don't set the focus to the console if it is hidden.
* BUG: Packager: Fix *.deb package description.
* BUG: Image editor: Don't left the editor in an inconsistent state after a
  paste has been done.

[INTERPRETER]
* BUG: String.InStr() does not crash anymore if the string pattern is void.
  It returns 0 instead (like InStr).
* BUG: Don't crash if an unknown option is passed with the '-g' option.
* BUG: Fix the LIKE operator whth "{...}" patterns.
* BUG: Fix a crash when using CStr() on an object having a conversion
  function.
* BUG: Be virtual even the first time when calling the [] operator.

[COMPILER]
* BUG: Fix compilation of NOT LIKE, NOT BEGINS and NOT ENDS operators when
  they are not alone in an expression.

[GB.DB]
* BUG: Don't crash anymore when releasing database objects.
* BUG: The automatic Blob to String conversion does not lead to a crash
  anymore.

[GB.DB.FORM]
* BUG: DataCheckBox correctly defines its internal TriState property
  depending on whether its database field is mandatory or not.
* BUG: Editable DataBrowser and DataView do not create a spurious extra
  line anymore.

[GB.DB.SQLITE3]
* BUG: Fix specific implementation of sqlite3_exec. Prevent some crashes
  and make database creation work again (among other things).
* BUG: Correctly handle requests returning only one table name inside field
  names.

[GB.DRAW]
* BUG: Correctly initialize the Paint class when calling Paint.Begin() on
  an already opened drawing device.

[GB.FORM]
* BUG: FileProperties: Do not crash anymore if the directory size
  calculation task returns rubbish.
* BUG: FileProperties: The icon of the FileProperties control now correctly
  adapts its size.
* BUG: FileChooser: The Paths property now returns the selected path in
  single mode and not a void array anymore.

[GB.FORM.DIALOG]
* BUG: Dialog.Open() in multiple mode works now.

[GB.FORM.MDI]
* BUG: Raise an error if the Toolbar.Configure() method is called whereas
  the toolbar Key property is not defined.
* BUG: Toolbar configuration dialog: the toolbar elements with a short text
  are correctly displayed now.

[GB.GSL]
* BUG: Polynomial: Create a new void polymonial does not lead to a crash
  anymore.

[GB.GTK]
* BUG: The RTL layout is correctly initialized at startup.
* BUG: Embedder.Embed() does not take two arguments.
* BUG: Imbrication of popup menu click events works correctly now and does
  not crash anymore.
* BUG: The Window.Picture property now should work correctly.
* BUG: Correctly update background and foreground of multi-container
  controls.
* BUG: Font.Grade maximum value is now +24, as expected by the font
  selector.
* BUG: Fix memory leak when loading images without alpha channel.
* BUG: GlArea control now can take the focus.

[GB.GUI.BASE]
* BUG: Clicking on GridView/ColumnView headers now should work correctly
  again.

[GB.NET.POP3]
* BUG: Error messages must not be translatable.

[GB.OPENGL]
* BUG: GL.GetString() now raises an error if the glGetString() function
  fails.

[GB.OPENGL.SGE]
* BUG: Don't crash if a model has only one frame.

[GB.PCRE]
* BUG: RegExp.Replace(): Explicitly use 0 if optional arguments are missing
* BUG: Don't call GB.ReturnNewString() if a match returns a null string.
* BUG: Use GB.ReturnVoidString() instead of GB.ReturnNull().

[GB.QT4]
* BUG: Imbrication of popup menu click events works correctly now and does
  not crash anymore.
* BUG: Correctly update background and foreground of multi-container
  controls.
* BUG: Font.Grade maximum value is now +24, as expected by the font
  selector.
* BUG: Foreground and background colors now work as expected on ComboBox
  and SpinBox controls.

[GB.SDL]
* BUG: Restore fill pattern to solid after a Draw.Rect() or a
  Draw.Ellipse(), otherwise Draw.Image() draws nothing!

[GB.XML]
* BUG: XMLElement.AppendFromText() now behaves correctly if no extra
  arguments are given.
* BUG: XMLElement.FromText() now correctly catches parsing exceptions.
* BUG: The Boolean parameter 'Indent' of XMLDocument.ToString() is now
  correctly interpreted.
* BUG: Serializing a comment that is a direct child of a document with
  indentation enabled does not crash anymore.
* BUG: The Document.All property is now correctly declared as an XMLNode[]

[GB.XML.HTML]
* BUG: Serializing a comment that is a direct child of a document with
  indentation enabled does not crash anymore.

[GB.XML.RPC]
* BUG: miniServer would give an out-of-bound with multiple parallel
  requests.
* BUG: miniServer could crash on an invalid request.

[GB.WEB]
* BUG: CGI.Error() now correctly sends an UTF-8 HTML page.

Compilation and installation

Read the instructions there.

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

Enjoy it !

See also