Personal tools
Sections
Path: Home Software Gambas Dev Releases Gambas Dev 1.9.91 (Release candidate)
Document Actions

Gambas Dev 1.9.91 (Release candidate)

Up to Product page

This is not a final release. Experimental releases should only be used for testing and development. Do not use these on production sites, and make sure you have proper backups before installing.

The internal version number of this release is 1.9.91.

For additional information about this project, please visit the project page.

Available downloads

Release Notes

State Release candidate
License GPL
Release Manager Benoît Minisini

The main changes are:

  • Gambas now can be used as a scripting language.
  • The IDE icon editor got support for image alpha channel.
  • The gb.pdf component was enhanced.
  • The interpreter can return error stack backtraces.

Change log

Configuration

  • NEW: Libtool was updated.
  • NEW: Register a mime-type for Gambas executable if xdg utils from the Portland project are installed on the system.
  • NEW: Register a mime-type for Gambas scripts if xdg utils from the Portland project are installed on the system.

Development Environment

  • BUG: New translations are automatically removed in the translation dialog if they are void.
  • BUG: Changing the value of a property in the property sheet correctly updates the property name and background.
  • BUG: Symbolic links can be renamed safely.
  • BUG: Watched variables are correctly restored.
  • BUG: Saving and reading debug window settings is more reliable now.
  • BUG: Importing a translation works again.
  • BUG: Building Debian package failed when '_' was part of the name of the project.
  • BUG: Debian package didn't recognize when the package building failed.
  • BUG: Fixed one color in the Emerald theme.
  • BUG: Fixed the window title display routine, so that it only displays the "read-only" flag when the project is writable and not running.
  • BUG: Fixed getDebVersion() routine, so Debian packaging from the IDE works again.
  • BUG: Fixed a possible crash in translation dialog when checking the translation just after having saved it.
  • BUG: Help on gb.gui or gb.gtk is automatically redirected to gb.qt help.
  • BUG: Debugging balloons should work correctly on Gnome and XFCE now.
  • BUG: Searching list window when starting the search in a data text file does not crash anymore.
  • BUG: Fixed the icon editor selection when the image is not square.
  • BUG: Fix the "bad path bug" with autotools package generator. Previously it was searching in System.Path instead of 'System.Path'/bin.
  • NEW: Swedish translation updated.
  • NEW: Catalan translation updated.
  • NEW: Italian translation updated.
  • NEW: Japanese translation updated.
  • NEW: The translation dialog now can display statistics in the language list.
  • NEW: Updated tips of the day italian translation.
  • NEW: MDI window title now displays if the file is read-only whereas the project is not.
  • NEW: Project tree view information balloon displays information on symbolic links.
  • NEW: Error messages when building Debian packages are caught.
  • NEW: Debian packages are built without checking build-dependencies, so it will work using svn version, without installing packages.
  • NEW: The subversion user is now stored in the global Gambas configuration file and not in the project file anymore.
  • NEW: Support for alpha channel in the icon editor.
  • NEW: A new icon for searching entire words option.
  • NEW: New link icon.
  • NEW: Stack size is not a multiple of 1024 bytes anymore, but a multiple of 1024 stack slots. A stack slot is 16 bytes, and will be 32 bytes in the 64 bit version of Gambas.
  • NEW: Little option dialog redesign.
  • NEW: A new option for hiding the message bar.
  • NEW: When adding an image, HTML or CSS file, a new option allows to specify if the default file extension should be added.
  • NEW: The example groups are now drawn with a blended background in the welcome dialog.
  • NEW: The project directory icon was changed.
  • NEW: The reload button was implemented in text editor and icon editor.
  • NEW: The reload button is always active, even if the editor was not modified in the IDE.
  • NEW: Open web page with Firefox using a new window (Help Browser), if Firefox is already running
  • OPT: Class symbols scan is faster.

Database Manager

  • BUG: Copying a table does not destroy the destination table when its has the same name as the source table anymore.
  • NEW: The import CSV routine now automatically remove accents from field names.
  • NEW: Catalan translation updated.

Wiki Cgi Script

  • NEW: Google search function.
  • NEW: The page path is displayed on the first line instead of a link to the page one level up.
  • NEW: Displays the number of classes and number of symbols in the component page.
  • NEW: Arabic translation made by Daif Otaibi.
  • NEW: A new URL argument for showing a page with the top path links, and without.
  • NEW: A new keyword, "@no-autolink", that prevent auto-link feature when putat the beginning of a page.
  • NEW: Catalan translation updated.
  • NEW: Updated spanish translation.

Examples

  • BUG: PdfViewer fixed for the last interface changes in gb.pdf component
  • BUG: Updated the GameOfLife example to the new Draw.Zoom behaviour.
  • BUG: OnScreenDisplay example now display correctly. i've add the possibility to move the display too.
  • NEW: Removed the old PDFViewer example
  • NEW: Adds a new PDFViewer example made by Daniel Campos.
  • NEW: PdfViewer supports rotation and text finding
  • NEW: PdfViewer example supports PDF Index

Interpreter

  • BUG: Evaluating expressions in the debugger does not crash anymore.
  • BUG: String[].Exist() second optional argument is correctly declared now.
  • BUG: Now any external process run by SHELL or EXEC starts in the working directory of the current program, as returned by the Application.Dir property.
  • NEW: All array classes got a new method named Delete(), that is a synonymous for Extract().
  • NEW: System.Backtrace is a new property that returns the current backtrace as a string array.
  • NEW: Error.Backtrace is a new property that returns the full stack backtrace of the last error.
  • NEW: Format$() got a new date format token, "uu", which prints the milliseconds of a date/time value with always three digits.

Compiler

  • BUG: Fixed a bug that made the compiler crash if there is a type mismatch on constant declaration.
  • NEW: Translatable strings with only space characters are now ignored.
  • NEW: The files are now always compiled in alphabetic order. This keeps the translation files contents structure between two compilations on different systems.

Archiver

  • BUG: Makefile files are not ignored anymore.

Scripter

  • NEW: A new utility that allows to use Gambas as a scripting language. A Gambas script file must begin with '#!/usr/bin/env gbs2'.

GB.CHART

  • BUG: .info and .list files need to be comitted.

GB.DB

  • BUG: Support for database backends that do not like inserting a record without any value change.

GB.DB.FORM

  • BUG: DataView.Header now works correctly when set to GridView.Both.
  • BUG: Fixed a infinite recursion when checking if a data control was modified.
  • BUG: DataCombo now can be set to a null value when being read-only. This prevent the DataSource to become mad in that case.
  • NEW: Italian translation added.
  • NEW: Catalan translation added.

GB.DB.MYSQL

  • NEW: A 32 bits integer MySQL field with auto increment flag is now seen as a Serial Gambas field.
  • NEW: Client charset is set to System.Charset at database connection when possible.

GB.DB.ODBC

  • NEW: The ODBC driver got blob support.

GB.DEBUG

  • BUG: The internal buffer is now bigger, so that the IDE has less luck to get a truncated message of the debugger. This is a temporary workaround!
  • BUG: The debugger can display anonymous object references without crashing now.

GB.DRAW

  • NEW: Support for alpha channel in Draw.Zoom().

GB.EVAL

  • BUG: Syntax analyzer now correctly interprets the identifier following an exclamation mark as a string. It does not try to change its case anymore.
  • BUG: Fixed the string parser. Spurious syntax error while evaluating some string expressions consequently disappeared.

GB.FORM

  • NEW: Catalan translation added.
  • NEW: Italian translation added.
  • NEW: Japanese translation updated.
  • NEW: XFCE, and XFCE icon theme are correctly detected now.
  • NEW: FontChooser.ShowPreview is a new property for hiding the font preview.
  • NEW: ColorChooser.ShowAlpha is a new property for allowing to set the alpha component of the color.

GB.FORM.DIALOG

  • NEW: Italian translation added.
  • NEW: Japanese translation updated.
  • NEW: Catalan translation added.

GB.FORM.MDI

  • BUG: Workspace should not send spurious activation events anymore.
  • BUG: Closing all windows should work reliably now.
  • BUG: Closing one window and calling Message during the Close event should not crash anymore.
  • NEW: Italian translation added.
  • NEW: Japanese translation updated.
  • NEW: Catalan translation added.

GB.GTK

  • BUG: Some gcc "deprecated conversion from string constant to 'char *'" warnings were fixed.
  • BUG: IconView raises correctly its Click event now.
  • BUG: HBox and VBox with AutoResize set do not shrink to a null size when they have no visible child. They keep their size.
  • BUG: GridView rows resizing works again.
  • BUG: Fixed the Drag.Data property when the Drag & Drop operation started outside of the application.
  • BUG: ListBox.Item.Text does not corrupt the ListBox anymore.
  • BUG: TabStrip is not a drop destination by default anymore.
  • BUG: Button, CheckBox, RadioButton, ToggleButton and ToolButton now correctly raise common Control events like MouseDown, MouseUp, Menu...
  • BUG: Buttons now correctly follows the widget style.
  • BUG: Now you cannot display a message box if another one is already displayed.
  • NEW: The window default title is now the application title as defined in the development environment.
  • NEW: Color.Blend is a new method for blending a color on top of another one.
  • NEW: Color.HSV() now takes an optional alpha component argument.
  • NEW: The GridView now scrolls continuously when the mouse cursor is outside of it while selecting.
  • NEW: TrayIcon Menu and MouseWheel events were implemented.

GB.GTK.EXT

  • New methods added to Theme drawing
  • Added ResizeGrip drawing method
  • Removed Shadow and State classes: mixed with Draw.Theme class

GB.GUI *BUG: Now Draw.RichTextHeight and Draw.RichTextWidth return values.

GB.NET.CURL *BUG: Many compiler warnings removed

GB.PDF

  • BUG: Some annotations to continue the work later
  • BUG: Found text and Links are not merged when changing current page anymore
  • BUG: PdfIndex.MoveNext() and PdfIndex.MovePrevious() do not crash the program anymore
  • BUG: Internal string conversions to UTF-8 fixed
  • BUG: Fixed segfault in PdfIndex when moving from a children node to its parent
  • BUG: Now a document rotated and zoomed provide the right Width and Height dimensions for each page
  • BUG: fixed segfault when GetPicture or GetImage take dimensions outside of the real PDF page dimensions
  • BUG: Fix the _new() method when no argument is given.
  • BUG: Fix some warnings with recent versions of gcc.
  • BUG: Fixed Image and Picture extraction when PDF page is zoomed
  • BUG: Fixed Image and Picture extraction when Orientation is Sideways
  • BUG: Page bookmarks position fixed according to page zoom and orientation
  • BUG: Text finding failed due to wrong Unicode conversion
  • BUG: Text finding not taking in account rotation and scale
  • BUG: Bad alloction of found items due to a bad cast
  • BUG: Bad cast for indexes
  • BUG: Pdf Index fixed when Index has more than two nested levels
  • BUG: Zoom property must take values greater than zero
  • BUG: poppler >= 0.5 is now a requirement for the compilation.
  • BUG: Some warning messages from compiler removed
  • NEW: 'Scale' property has been renamed to 'Zoom', which is more intuitive for that case
  • NEW: '_new' method takes now an optional 'File' argument
  • NEW: PDFINFO_permissions modified, each permission is a boolean property, and PDFPermissions class has been removed
  • NEW: PDFINFO_mode implemented, PdfMode class fixed
  • NEW: PDFINFO_layout constants modified , PdfLayout class fixed
  • NEW: PdfInfo.Format implemented
  • NEW: Initial support for text finding implemented
  • NEW: Creation and modification date implemented in PdfInfo
  • NEW: Some PdfPageLink properties implemented: Type,Left,Top,Width and Height
  • NEW: PdfIndex partially implemented, work in progress
  • NEW: PdfIndex class improved
  • NEW: PdfLinkData class implemented
  • NEW: PdfPage.Select() implemented. All interfaces are implemented now, entering in the stabilization phase.
  • NEW: PdfIndex and PdfLink properties mixed in the PdfLinkData interface, a good amount of code removed
  • NEW: PdfIndex can manage now the state of nodes (expanded/collapsed) using the 'Expanded' property. 'IsOpen' read-property removed
  • NEW: Added PdfLink.Parameters property for Launch Actions.
  • NEW: 'Rotation' property in PdfDocument has been renamed to 'Orientation'
  • NEW: Four new constants for 'Orientation': Normal, Sideways, Inverted and InvertedSideways
  • NEW: PdfPage contains two properties: Image and Picture, synonymous of GetPicture() and GetImage() without parameters
  • NEW: Add many 'static' keyword.
  • NEW: 'W' and 'H' page properties as synoymous of 'Width' and 'Height'
  • NEW: PdfInfo author, subject, keywords, creator and producer properties implemented
  • NEW: Layout and linearized properties implemented in PdfInfo class
  • NEW: Some PdfPageLink properties implemented: Type,Left,Top,Width and Height

GB.QT

  • BUG: Some fixes in the ListView, TreeView and ColumnView classes that prevent two different crashes.
  • BUG: Closing a modal dialog inside the Open event now works again.
  • BUG: Do not change ColumnView column widths when clearing it, if the AutoResize property is not set.
  • BUG: Closing a modal form during the Open event should work correctly now.
  • BUG: HBox and VBox with AutoResize set do not shrink to a null size when they have no visible child. They keep their size.
  • BUG: GridView Row and Column property now can be set to -1, meaning that there is no current cell.
  • BUG: Now you cannot display a message box if another one is already displayed.
  • NEW: The ColumnView ColumnClick event was removed. It had got nothing to with GridView ColumnClick event, and was not really useful.
  • NEW: Color.Blend is a new method for blending a color on top of another one.
  • NEW: Color.HSV() now takes an optional alpha component argument.
  • NEW: Mouse events can be cancelled by using STOP EVENT.

GB.QT.EXT

  • BUG: Fixed an editor crash when you try to insert some characters after the last line.

GB.SDL

  • BUG: Fix RGB/BGR color problem when an image is resized and assigned as a texture with gb.opengl component.
  • BUG: Draw.Image method failed with segfault when image is NULL.

GB.V4L

  • BUG: Updated author e-mail address.

GB.WEB

  • BUG: Session.Abandon now correctly clears the Session so that a new one can be created again.
  • OPT: The HTML() routine is faster. This routine should be written in C anyway, as it is called often.