Gambas Documentation
Aperçu du Langage
À traduire
Code Snippets
Comment faire ...
Compilation et installation
Composants
Controls pictures
Derniers changements
Dépôt d'applications
Documentation de l'Environnement de développement
Documentation des développeurs
Documents
À propos de ma formule préférée
Captures d'écrans
Comportement interne de DrawingArea
Convention de Nommage des Variables
Conventions de nommage
Database Datatype Mapping
DBus et Gambas
Démarrer avec Gambas
Détails de l'architecture
Différences avec Visual Basic
Différences entre Shell et Exec
Distributions et systèmes d'exploitation
Drag & Drop
Gambas, c'est quoi ?
Introduction
Le modèle objet de Gambas
Le programme s'est arrêté de façon inattendue en levant le signal #11
Licence
LIENS RELATIFS à Gambas
Listes de diffusion et Forums
Livres
Localisation et Internationalisation
Network Programming
News
Notes de version
Gambas 2.23.0
Gambas 2.23.1
Gambas 2.24.0
Gambas 3.1.0
Gambas 3 RC1
Gambas 3 RC2
Gambas 3 RC3
Gambas 3 RC4
Gambas 3 RC5
Gambas 3 RC6
ODBC Component Documentation
Pages serveur Gambas
Passer Un Argument Par Référence
PCRE Pattern Syntax
Portage de Gambas 2 en Gambas 3
Questions fréquemment posées (FAQ)
Rich Text Syntax
Signaler un problème, un bogue ou un plantage
Tests de performance (benchmarks)
Window Activation & Deactivation
Indenter
Index de tous les Documents
Index du langage
Lexique
LISEZ-MOI
Manuel du wiki
Messages d'erreur
Tutoriels
Wiki License

Gambas 3.8.1

What's new

This release includes all bugs fixes and little changes made since the release of Gambas 3.8.0.

ChangeLog

DEVELOPMENT ENVIRONMENT

  • Error translations updated.

  • French translation updated.

  • Editor: Do not mark a file as unsaved when refactoring is triggered by saving this same file.

  • Some HiDPI fixes.

  • Recent Projects use the saved sort order now

  • Do not display the SVN revision anymore in the welcome dialog. Only in the system information.

  • SVN revision is now taken from the interpreter executable.

  • System information is now anonymous.

  • Comment, uncomment, indent and unindent now work as expected if the text has been selected from bottom to top.

  • Color chooser does not crash anymore when the project does not use any GUI component.

  • The packager now can create a package for a component project whatever the name of the project. It will internally prefix the project name with the vendor name if needed.

  • Image editor: Fix pen and eraser tool drawing.

  • Image editor: Information is now displayed on top of the image.

  • Image editor: The property panel got a close button.

  • Image editor: The information label is correctly refreshed when zooming in or zooming out.

  • Fix behaviour of shortcut text properties having ampersands inside.

  • Packager: Support for a vendor prefix shortcut, that is used in the package name instead of the vendor full name.

  • Packager: Now package names are normalized for each distribution. All non alphanumeric characters are replaced by an hyphen, but this can be changed independently of the distribution if needed.

  • Debugger: Displaying a dynamic variable in a static context does not crash anymore

  • GB.SubstString() API now can take a void substitution string. It returns NULL instead of doing a segfault. Consequently, RegExp.Replace() from gb.pcre can take a null replace string without crashing.

INTERPRETER

  • Fix DateDiff() day comparison when comparing two dates with different times.

  • Array.Resize() now correctly raises an error if its argument is negative.

  • Correctly detect too large arrays.

  • Array allocation incrementation now cannot be larger than 256 slots.

  • Fix multi-dimensional arrays size check.

  • New routine to compute the localized time/date formats and separators.

COMPILER

  • Syntax errors in constant declarations now give more detailed messages.

GB.DB.FORM

  • The application busy state is now correctly reset when an SQL error occurs.

  • Fix the queries requesting the data after the 256th entry.

GB.DB.MYSQL

  • Use the MySQL documentation trick to make the difference between a blob field and a text field. This should work far better than using the "max_length" value returned by the MySQL API that seems to randomly change between MySQL versions.

GB.DB.ODBC

  • Allow the Connection.Host property to be a full ODBC connection string.

GB.DB.SQLITE3

  • Interpret unknown SQL datatypes as "String" instead of using random garbage.

GB.FORM

  • Stock icon default sizes ("small", "medium"...) are now proportional to Desktop.Scale by steps of 8 pixels. This is for HiDPI support.

  • Wizard BeforeChange event can be cancelled now.

  • MessageView: Custom background color is now taken into account.

GB.FORM.EDITOR

  • TextEditor: Fix tab ("\t") character printing.

  • TextEditor: Only change the contents of a line if the provided new content is different from the current one.

GB.FORM.MDI

  • Toolbar tries to update the size of its icons when the font changes.

GB.GTK

  • Window now raises a Font event when its font changes.

  • Fix a uninitialized variable that can lead to a crash when creating a window.

  • TextArea.Paste() and CTRL+V works correctly now.

  • No GTK+ warning message anymore when a TextArea or TextBox gets the focus using some input methods.

GB.GTK3

  • Window now raises a Font event when its font changes.

  • Fix a uninitialized variable that can lead to a crash when creating a window.

  • TextArea.Paste() and CTRL+V works correctly now.

  • No GTK+ warning message anymore when a TextArea or TextBox gets the focus using some input methods.

GB.GUI.BASE

  • IconView: Fix item drawing when in horizontal orientation.

  • TreeView items height padding is now proportional to Desktop.Scale.

  • Fix behaviour of shortcut text properties having ampersands inside.

GB.NET.SMTP

  • SmtpClient.MessageId is a new property that allows to define the Message-ID header of the mail.

  • SmtpClient.InReplyTo is a new property that allows to define the In-Reply-To header of the mail. It defines the References header as well with the same value.

  • SmtpClient.AddHeader() is a new method to add a custom specific header to the mail.

GB.PCRE

  • RegExp.Replace() does not crash anymore when the replace string is void.

GB.QT4

  • Window now raises a Font event when its font changes.

  • Correctly initialize window properties when showing it in all cases.

  • Breeze widget theme patch to fix its bugs on small TextBox, ComboBox and SpinBox controls.

GB.QT5

  • Window now raises a Font event when its font changes.

  • Breeze widget theme patch to fix its bugs on small TextBox, ComboBox and SpinBox controls.

GB.REPORT2

  • The printer resolution is always 1200 dpi now.

  • Preview: The layout has been changed to be more readable.

  • Preview: Fix the printer combo initial value.

GB.XML

  • Document: Fixed a memory leak when the instanciation failed due to a parsing exception.

  • XmlElement: Internally setting an attribute with a NULL value does not crash anymore.

  • Encountering a never-ended attribute does not crash the parser anymore.

  • Optimized parser cleanup when an exception is thrown.

  • Fix attribute initialization method.

GB.XML.HTML

  • Encountering a never-ended attribute does not crash the parser anymore.

Compilation and installation

Read the instructions there.

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

Enjoy it !

See also