[Gambas-devel] Release of gambas2 1.9.33

Benoit Minisini gambas at ...1...
Sat Jul 1 12:01:26 CEST 2006


Hi,

This new release fixes two important bugs in the interpreter:

The error management does not leak stack anymore. Too many TRY inside the same 
function created a stack overflow.

The = and <> operators now always behave correctly when comparing a string 
with NULL. 

Last, but not least, the symbolic links in /usr/bin are not necessary anymore! 
Now the Gambas installation path is encoded directly in the executable at 
compilation time. The only requirement is that gbr2 must be in the PATH. 

If a /usr/bin/gbx2 symbolic link exist, then it will be used to find gambas 
instead of the installation path defined at compilation time.

You may have to create a /usr/bin/gbr2 symbolic link too, if gbr2 is installed 
in a strange location that /usr/local on Mandriva, then Apache won't be able 
to run a CGI script written in Gambas, as /usr/local/bin is not in the PATH 
of apache processes.

It is experimental, so please report any problem with this new way to get the 
Gambas installation path.

Here is the full ChangeLog:

--8<-------------------------------------------------------------------------

CONFIGURATION & INSTALLATION

* The symbolic links in /usr/bin are not needed anymore. Now the gambas
  installation path is encoded in the executable at compilation time, 
  unless a symbolic link /usr/bin/gbx2 exists. Otherwise, the only 
  requirement is that gbr2 must be in the PATH.

DEVELOPMENT ENVIRONMENT

* BUG: Move some code from Form constructors to Form_Open event handlers, 
  as no event can be raised during instanciation.
* BUG: Some fixes in the automatic completion.
* BUG: Some fixes in the help explorer window.
* BUG: Making an executable outside of the project directory now works 
  correctly.

INTERPRETER

* BUG: The error management does not leak stack anymore. So functions doing
  a lot of TRY do not crash the interpreter anymore.
* NEW: File.SetName, File.SetExt, File.SetDir and File.SetBaseName replace
  the File.Name, File.Ext, File.Dir and File.BaseName methods called with
  two parameters.
* BUG: The = and <> operator now work correctly in any case when comparing
  two strings whose one is null.

GB.QT COMPONENT

* NEW: The Draw.Drawing method now takes four extra optional clipping 
  parameters, like Draw.Image and Draw.Picture.
* BUG: Windows automatic layout works again.

GB.QT.EXT COMPONENT

* BUG: The procedure line delimiter is correctly displayed in all cases now.

GB.FORM COMPONENT

* BUG: Some fixes because of the constructor not being able to raise events
  anymore.

GB.FORM.MDI COMPONENT

* NEW: Pressing the Shift key allows to resize MDI child windows freely.

GB.DB COMPONENT

* BUG: Drivers functions that test the existence of a user, an index, a 
  field, and so on, now correctly return FALSE if an error occurs.

GB.V4L COMPONENT

* BUG: The component now requires the "linux/videodev2.h" include to 
  compile.

--8<-------------------------------------------------------------------------

Enjoy it!

-- 
Benoit Minisini




More information about the Devel mailing list