Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
About The Best Formula In The World
Architecture details
Benchmarks
Books
By Reference Argument Passing
Compatibility between versions
Creating And Using Libraries
Database Datatype Mapping
Database Request Quoting
Date & time management
Dates and calendars
DBus and Gambas
Differences Between Shell And Exec
Differences From Visual Basic
Distributions & Operating Systems
Drag & Drop
DrawingArea Internal Behaviour
External functions datatype mapping
Frequently Asked Questions
Gambas Farm Server Protocol
Gambas Mailing List Netiquette
Gambas Markdown Syntax
Gambas Naming Conventions
Gambas Object Model
Gambas Scripting
Gambas Server Pages
Gambas Unit Testing
Gambas Wiki Markup Syntax
Getting Started With Gambas
Hall Of Fame
Image Management In Gambas
Including Help Comments in Source Code
Interpreter limits
Introduction
Just In Time Compiler
Just In Time Compiler (old version)
License
Localisation and Internationalization
Mailing Lists & Forums
Naming Conventions
Network Programming
ODBC Component Documentation
PCRE Pattern Syntax
Porting from Gambas 2 to Gambas 3
Previous News
Project Directory Structure
Release Notes
Gambas 2.23.0
Gambas 2.23.1
Gambas 2.24.0
Gambas 3.0.0
Gambas 3.1.0
Gambas 3.1.1
Gambas 3.2.0
Gambas 3.2.1
Gambas 3.3.0
Gambas 3.3.1
Gambas 3.3.2
Gambas 3.3.3
Gambas 3.3.4
Gambas 3.4.0
Gambas 3.4.1
Gambas 3.4.2
Gambas 3.5.0
Gambas 3.5.1
Gambas 3.5.2
Gambas 3.5.3
Gambas 3.5.4
Gambas 3.6.0
Gambas 3.6.1
Gambas 3.6.2
Gambas 3.7.0
Gambas 3.7.1
Gambas 3.8.0
Gambas 3.8.1
Gambas 3.8.2
Gambas 3.8.3
Gambas 3.8.4
Gambas 3.9.0
Gambas 3.9.1
Gambas 3.9.2
Gambas 3.10.0
Gambas 3.11.0
Gambas 3.11.1
Gambas 3.11.2
Gambas 3.11.3
Gambas 3.11.4
Gambas 3.12.0
Gambas 3.12.1
Gambas 3.12.2
Gambas 3.13.0
Gambas 3.14.0
Gambas 3.14.1
Gambas 3.14.2
Gambas 3.14.3
Gambas 3.15.0
Gambas 3.15.1
Gambas 3.15.2
Gambas 3.16.0
Gambas 3.16.1
Gambas 3.16.2
Gambas 3.16.3
Gambas 3.17.0
Gambas 3.17.1
Gambas 3.17.2
Gambas 3.17.3
Gambas 3.18.0
Gambas 3.18.1
Gambas 3.18.2
Gambas 3.18.3
Gambas 3.18.4
Gambas 3.19.0
Gambas 3.19.1
Gambas 3 RC1
Gambas 3 RC2
Gambas 3 RC3
Gambas 3 RC4
Gambas 3 RC5
Gambas 3 RC6
Gambas 3 RC7
Reporting a problem, a bug or a crash
Rich Text Syntax
Screenshots
Text highlighting definition file syntax
The Program has stopped unexpectedly by raising signal #11
Variable Naming Convention
WebPage Syntax
Web site home page
What Is Gambas?
Window & Form Management
Window Activation & Deactivation
Window Life Cycle
XML APIs
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

Gambas 3.5.1

What's new

This releases mainly tries to fix the packager, but there are some bug fixes too, and new features related to that bug fixes.

ChangeLog

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix project browser cursor management when the focus is on the
  filter field.
* BUG: Fix form editor control highlighting when the hovered control is a
  ScrollView.
* BUG: Packager now use the current Gambas major & minor version as minimum
  version for component dependencies.
* BUG: Follow Ubuntu package naming convention.
* BUG: Some fixes in GUI metapackage creation for Debian/Ubuntu.
* BUG: Automatic completion of identifiers now correctly shows the known
  classes.
* BUG: Correctly display optional values in signatures.
* NEW: The system information dialog now displays the Gambas version.
* NEW: The 'gb.desktop.gnome' component is now visible and explicitely
  checkable.
* NEW: If a project uses gb.gui, then the packager will create two extra
  packages: one for Qt4 support, the other for GTK+ support.
* NEW: Support for package version number.
* NEW: Update Gambas font.
* NEW: Display help for third-party components.
* NEW: Add Afrikaans to the language list.

[INTERPRETER]
* BUG: Don't detach a process that returns an error otherwise the Kill
  event is lost.
* BUG: Correctly check that there is a current enumeration if the Enum
  class methods and properties.
* BUG: The [] operator is now correctly overridden in classes inheriting an
  array class or Collection.
* BUG: VarPtr() correctly works on method arguments.
* BUG: Fix the CLOSE instruction when dealing with a string stream.
* BUG: Prevent crashes at exit by releasing array classes first.
* NEW: Support for the GB_PATH environment variable, that gives the Gambas
  interpreter path if set.
* NEW: Enum.Stopped is a new property that returns if the current
  enumeration  has been stopped.
* NEW: OPEN STRING is a new instruction that allows to use a string as a
  stream. Writing to it appends the written data to the end of the string
  at the moment.
* NEW: Closing a string stream returns the data written to the stream as a
  new string.
* NEW: Make WRITE behave the same way as READ on a memory stream. I.e. it
  writes a null-terminated "C" string, as READ was reading a null-terminated
  "C" string.

[COMPILER]
* NEW: New OPEN STRING instruction.
* NEW: OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE
  instructions alone.

[GB.DESKTOP.GNOME]
* NEW: Make this component visible to the IDE.

[GB.EVAL]
* NEW: Highlight the new OPEN STRING instruction correctly.

[GB.FORM]
* BUG: DirChooser.ShowPreview used FDirChooser.GetPreview which does not
  exist. The correct symbol is FDirChooser.GetShowPreview.
* NEW: FileChooser now has support for uncompressing 'zip' files, provided
  that the 'zip' utility is installed on the system.

[GB.GUI]
* NEW: If one GUI component fails to load, try the other one.
* NEW: Abort if no GUI component is found.
* NEW: Define the GB_GUI environment variable with the GUI component
  actually loaded.

[GB.GUI.OPENGL]
* NEW: Always load the OpenGL support component associated with what lies
  in the GB_GUI environment variable.

[GB.SDL]
* NEW: Rename the default SDL font file as "_default.ttf" to prevent
  packaging conflicts.
* NEW: Use the Gambas monospace font as SDL default font now.

[GB.WEB]
* BUG: JSON.Encode() correctly encodes ASCII control characters.
* NEW: JSON.Decode() now takes an extra optional argument indicating that
  keys having a null value are taken into account inside objects.
* NEW: JSONCollection is a new class that represents a JSON object whose
  some keys are associated with a 'null' value.

Compilation and installation

Read the instructions there.

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

Enjoy it !

See also