[Gambas-devel] Release of gambas 1.9.37

Benoit Minisini gambas at ...1...
Sun Aug 6 20:01:28 CEST 2006


Hi,

Here is a release that should make Gnome users happy, as now the Development 
Environment uses GNOME icons on GNOME, and KDE icons on KDE.

The Stock class makes this possible.

This feature is experimental, and so may not work correctly on your system. 
The reason is that, if KDE icon paths are detected by using the 'kde-config' 
tool and follow the KDE theme, GNOME icon paths are hardcoded and do not 
follow the GNOME theme.

The Stock class looks for GNOME icons in the following folders:
- /usr/share/icons/gnome
- /opt/gnome
- /usr/share/icons/hicolor

If your icons are not installed there, tell me, I will add your path.

And if somebody knows how to get the current GNOME icon theme without the 
GNOME libraries, I'd like to have the information! :-)

Another point: gb.gtk does not support this feature at the moment. Daniel 
Campos is in holidays. Maybe I will make a gb.form.stock component 
independent of gb.qt and gb.gtk in the future.

Otherwise, the project creation dialog has been redesigned, in the aim of 
being less cluttered, and a crashing bug has been fixed in the interpreter 
too.

Here is the full ChangeLog:

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

DEVELOPMENT ENVIRONMENT

* NEW: Almost all icons now come from the stock. The development 
  environment now takes a GNOME look when running under GNOME.
* BUG: Automatic insertion of property handlers now correctly deals with
  static properties.
* BUG: CTRL+Up and CTRL+Down work again.
* BUG: Search backward does not freeze the IDE anymore.
* BUG: Arranging buttons in the form editor do not crash the IDE anymore.
* BUG: Some unneeded process was removed when inserting a new file in the
  project.
* NEW: Now project source files can only be put in the project root 
  directory.
* NEW: The project creation dialog has been redesigned.
* NEW: The menu editor is now resizable.
* NEW: The icon selector has been redesigned. But this is not the final
  version!
* NEW: A new highlight theme made by Fabien Bodard, 'amber'.
* BUG: Color buttons in the option dialog now should be visible with any
  widget theme.
* BUG: Find previous and find next buttons are at the good place now.
* BUG: Saving translation now waits for the completion of the 'msgfmt' 
  command.
* NEW: CVS directories are now automatically hidden.

DATABASE MANAGER

* NEW: The databaser manager starts using stock icons.

INTERPRETER

* BUG: The error message displayed when accessing an unknown object symbol
  has been fixed.
* BUG: Byte order and end of line character are now correctly initialized
  when opening a file inside an archive.
* BUG: Static arrays should not be freed twice and so crash the 
  interpreter anymore.

COMPILER

* NEW: Now project source files are compiled only if they are located in
  the project root directory.

GB.QT COMPONENT

* NEW: The Stock class has been redesigned and completed.
* NEW: Stock.List returns the list of all stock icon names.
* NEW: Application.Theme is a new property that stores the application
  theme. This property is used, for example, by the Stock class to choose
  which icon theme should be displayed.
* NEW: ToggleButton.Radio is a new boolean property that makes it behave 
  like a RadioButton when it is set.
* NEW: When loading an image, the component looks before for an image with
  the same basename, but with an underscore followed by the current
  application theme added. For example, if Application.Theme is "gnome",
  and if you load the "flower.png" image, then a "flower_gnome.png" will be
  loaded instead if it exits.
* BUG: Label autoresize was enabled again.
* NEW: ListBox, ListView, TreeView and ColumnView events are now dispatched
  immediately if the selection mode is "Single".
* NEW: Message boxes now follow the application theme.
* BUG: When the application is uniconified, the focus correctly returns to
  the correct form, and not always to the main window.

GB.QT.EXT COMPONENT

* BUG: Editor.GetPurgedLine() now correctly deals with quoted string
  characters.
* NEW: A margin was added between line numbers and text in the editor.

GB.FORM COMPONENT

* NEW: DirChooser and FileChooser now raise an Icon event that allows to 
  change the icon displayed for each file. The icon must be stored in the
  new Icon property inside the Icon event handler.
* BUG: A potential crash in DirChooser and FileChooser has been fixed.
* NEW: FileChooser.SelectedPath property is now writable.
* NEW: Wizard.ShowTitle is a property that allows to hide the wizard title.

GB.DB COMPONENT

* NEW: The gb.db.sqlite driver was renamed as gb.db.sqlite3.
* NEW: A new gb.db.sqlite pseudo-driver had been created that automatically
  switches between gb.db.sqlite2 and gb.db.sqlite3 as needed.
* NEW: Field names are systematically quoted when using Find and Edit 
  methods.

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

Enjoy it!

-- 
Benoit Minisini





More information about the Devel mailing list