Personal tools
Sections
Path: Home Gareth Changelogs Version 1.9.49 - 17 May 2007
Document Actions

Version 1.9.49 - 17 May 2007

Configuration

  • The README.HOW-TO-PACKAGE-GAMBAS.html file has been updated. The text version of this file has been removed.
  • Bytecode version number has changed because of the optimizations, so all projects and components must be recompiled!
  • The --fno-strict-aliasing compilation flag was removed. You will get a lot of warnings...

Development Environment

  • BUG: Text search works correctly in the text editor now.
  • BUG: Not searching inside comments works now.
  • BUG: The find list does not display void strings anymore.
  • BUG: Inheritance and 'CREATE STATIC' flags are now correctly taken into account by the automatic completion.
  • BUG: Automatic completion now handles overriden classes correctly.
  • BUG: Function signature is now displayed on several lines if it cannot fit the editor.
  • BUG: You can create a new directory directly in the project root directory again.
  • BUG: Form files are read as soon as the form is loaded in the IDE, not just when the form editor is shown. This makes the automatic completion works in the class editor when the form is not opened yet.
  • BUG: Automatic insertion of property handlers is more robust now.
  • BUG: A false symbolic link to an image does not prevent the project to be opened anymore.
  • BUG: You cannot move or resize controls in a read-only or locked form anymore.
  • BUG: The TabStrip properties are correctly displayed again.
  • BUG: Fixed what happens when a debugging action shortcut is pressed outside of the editor.
  • BUG: Fixed a potential crash when removing entries in the project environment dialog.
  • BUG: Class names are now correctly checked during a renaming operation.
  • BUG: New form menu is now hidden if the project has no component that provide forms.
  • BUG: Automatic file naming now works correctly if the creation file dialog is opened more than once.
  • BUG: Shortcuts now do not raise the same action twice anymore.
  • BUG: Removed a duplicated F10 shortcut.
  • BUG: Debug window layout is correctly saved now.
  • BUG: Handles quoted identifiers, i.e. identifiers between '{' and '}', correctly while scanning a class.
  • BUG: The hierarchy window now follows control renaming.
  • BUG: You can now specify a font with an absolute size that is equal to the default font size.
  • BUG: Yellow windows now can handle collections whose keys contain spaces and quote characters.
  • NEW: Project icons proportions are kept now.
  • NEW: Project icon is displayed on the root of the project tree view.
  • NEW: A new option for not searching inside strings.
  • NEW: Search options are saved in the project settings file.
  • NEW: The IDE supports projects stored in a SVN repository. You can now commit, update and revert changes from the project property dialog. CVS implementation of these commands is not done yet.
  • NEW: The file create dialog can create CSS files now.
  • NEW: The new package creation wizard has been implemented. It support Mandriva, Fedora, SuSE, Debian, Ubuntu & Slackware.
  • NEW: A new "Replace" menu entry that opens the find panel and moves the focus directly in the replace text box.
  • NEW: The translate dialog language list was put inside a SidePanel.
  • NEW: The create project dialog has been redesigned. The useless picture was removed.
  • NEW: Now you can create a project from a Subversion repository.
  • NEW: The search panel icon was replaced by a close button.
  • NEW: Console output window is dockable.
  • NEW: Output of version control commands are sent to the console.
  • NEW: The welcome and about dialogs look has been updated.
  • NEW: Recent files can be sorted by paths instead of being sorted by date.
  • NEW: A new option for settings the size of the recent files list.
  • NEW: New menus for inserting forms, classes, modules...
  • NEW: You can double-click in the code editor margin to set a breakpoint.
  • NEW: Started to put my finger in the yellow windows. The new symbol table algorithm does not sort its contents in alphabetic order anymore, so I had to sort the symbols by code.
  • NEW: The Escape key closes the console now.
  • NEW: A little button in the debug panel to show the contents of ME in a yellow window.
  • NEW: The mascot is hidden by default.
  • NEW: A new option to make external commands quiet.
  • NEW: A class name can begin with an underscore.
  • NEW: Classes whose name begins with an underscore are now hidden in automatic completion.
  • NEW: A project "save as" feature has been implemented.
  • NEW: The console window gets a new button that allows the user to choose if it should stay above other windows while debugging.
  • NEW: Property sheet and hierarchy tree view were put in the same TabStrip.
  • NEW: A new option for sorting properties in the property sheet.
  • NEW: A warning message is displayed when a Gambas 1.0 project is opened. Once the project is opened, this message will never be displayed again for this project.
  • NEW: A new virtual property named '(Scaled)', that indicates if a form automatically resize itself according to the default font. This property is set by default.
  • NEW: The property sheet now displays the properties not having their default value with a light background.
  • NEW: Yellow windows now always save their position.
  • NEW: The info panel was removed, and replaced by a tooltip balloon displayed when the mouse cursor stays on the current project file in the project tree view.
  • OPT: Example menu is filled only when it is shown.
  • OPT: Project tree view is filled only when directories are expanded.
  • OPT: Automatic completion of identifiers has been optimized.
  • OPT: The file creation dialog now delays the initialization of its file chooser.
  • OPT: Uses buffered streams as much as possible.

Examples

  • BUG: Fixed the use of Dialog.Filter in the Notepad example.
  • NEW: Adds the PictureDatabase example made by Timothy Marshal-Nicols.
  • NEW: Adds an example to show the use of the Embedder control.
  • NEW: The Sensor example has been enhanced.
  • NEW: TextEdit example made by Fabien Bodard and me.
  • NEW: A new section for Control examples.

Wiki Cgi Script

  • NEW: Some little cosmetic changes.
  • NEW: Support for class that must be hidden because their name begins with an underscore.

Interpreter

  • BUG: Observers that cannot observe anything won't crash the interpreter anymore.
  • BUG: French date separator is now forced to be a slash.
  • BUG: Format$() now can deal with Variant arguments.
  • BUG: Adds more sanity checks to event raising routines.
  • BUG: Removed the List class that was not used anymore.
  • BUG: Removed all warnings.
  • BUG: Fixed a potential crash in the debugger.
  • BUG: Stopping an event inside an event handler now works correctly when STOP EVENT is not the last instruction of the event handler.
  • BUG: Inheritance was fixed. Calling a method on a class didn't call the right implementation is some situations.
  • BUG: Accessing the properties of an uninitialized Stream now raise an error instead of crashing.
  • BUG: Pseudo-collections of the gb.db component now always work correctly when being accessed.
  • NEW: Support for the new archive format.
  • NEW: The image conversion functions were centralized into the interpreter API.
  • NEW: InStr() and RInStr() now take a fourth optional argument that gives the kind of comparison: gb.Binary (by default) or gb.Text (case is ignored).
  • NEW: Replace() takes a third optional parameter for the same reason.
  • OPT: Symbol tables do not sort their contents in alphabetic order only anymore, but sort first by symbol length, then by symbol alphabetic order. This speeds up symbol lookup.
  • OPT: Some optimizations in hashing routines.
  • OPT: Many little optimizations in many places.

Compiler

  • BUG: The compiler does not crash anymore if the current directory does not exist.
  • NEW: The error management routines do not use alloca() anymore.
  • OPT: Symbol tables do not sort their contents in alphabetic order only anymore, but sort first by symbol length, then by symbol alphabetic order. This speeds up symbol lookup.
  • OPT: Several optimizations (thanks valgrind!). The compiler is now twice faster than it was in the previous version!

Archiver

  • OPT: File names stored in archives are compressed. It saves a few bytes. This new format cannot be read by older interpreters.

GB.EVAL

  • BUG: The [] array creation syntax now works correctly.
  • BUG: Fixed the analyze of quoted identifiers in syntax highlighting.
  • NEW: The compiler optimizations were propagated to the gb.eval component.
  • NEW: Syntax highlighting now keeps spaces before comments.

GB.QT

  • BUG: Fixed the 'option' stock icon for Gnome.
  • BUG: Try to delete controls only when they are not in a QT event notification routine, so that the interpreter does not crash.
  • BUG: Fixed a case when containers forgot to arrange their contents.
  • BUG: TabStrip.Text and TabStrip.Picture do not crash anymore when no tab is visible.
  • BUG: Deletes all active popup windows when displaying the error message, to try to release all pending pointer grabs.
  • BUG: Reading GridView cells does not return sometimes incorrect values anymore.
  • BUG: When mouse events are explicitely handled, they are not propagated anymore to the Qt library. This avoid crashes when the widget that received the event is destroyed in the event handler.
  • BUG: Setting the value of an action associated with buttons that are not toggles now works.
  • BUG: Setting the value of a ToolButton that is not a toggle now works.
  • BUG: Non toggle actions now should behave correctly and not raise twice.
  • BUG: The Window KeyPress event handler now correctly intercepts all keyboard events sent to any control inside the window.
  • BUG: The Default and Cancel properties of Button controls now work correctly when their window is embedded into another window.
  • BUG: Closing a window by code or from the window manager is now strictly equivalent. The Open event is now correctly raised each time a persistent dialog is opened.
  • BUG: Found a workaround for a QT strangeness that made the Window.Reparent() method not respect the window position.
  • BUG: Font properties now can be set to NULL without crashing.
  • BUG: Filling the picture cache explicitely does not leak memory anymore.
  • NEW: TextArea.Selected returns if some text is selected in the TextArea.
  • NEW: TextArea.Unselect() is a synonymous for TextArea.Selection.Hide.
  • NEW: TextArea.Selection.Clear() has been removed.
  • NEW: TextBox.Selected returns if some text is selected in the TextBox.
  • NEW: TextBox.Unselect() is a synonymous for TextBox.Selection.Hide.
  • NEW: TextBox.Selection.Clear() has been removed.
  • NEW: Stock class is not mandatory anymore.
  • NEW: The Stock class and the stock icons were removed from gb.qt.
  • NEW: Drag and drop frame is now drawn inside the target widget, not outside.
  • NEW: The image conversion function was replaced by a call to the new interpreter API.
  • NEW: Menu.Value is now a property on its own, and acts like the Button.Value property.
  • NEW: Clipboard.Formats and Drag.Formats are two new properties that return all formats provided by the clipboard or a drop operation.
  • NEW: The Clipboard.Paste() optional argument now allows to choose which format will be pasted.
  • NEW: Drag.Paste() is a new method that allows to get the dragged data and choose its format.
  • NEW: The conversion formula between Font.Grade and Font.Size has changed. Now Font.Grade is between -4 and +16, and makes Font.Size grows slower.
  • NEW: Font.TextHeight() argument is now optional.
  • NEW: GridView cells got their Foreground and Background properties.
  • NEW: A new rich text editor control named TextEdit. It replaces the TextView control, even if it does not manage links at the moment.

GB.QT.EXT

  • BUG: Some little fixes in the routine that highlights matching braces.
  • BUG: Now pasting in Editor with the middle mouse button correctly works.
  • NEW: Editor.GetPurgedLine() method got options to return a source code line with or without comments, and with or without strings.
  • NEW: Editor now does not highlight the current line by default anymore.
  • NEW: Editor.FindNextWord() is a new method to help optimizing the automatic completion of identifiers.
  • NEW: TextView has been removed.

GB.QT.OPENGL

  • NEW: Now text can be render inside a GLarea with the method GLarea.Text(Text, X, Y), color can be set with the Gl.Colorf opengl method.
  • NEW: Now GLarea share their lists each others. Shared lists are automagically destroyed when all GLareas are destroyed.

GB.QT.KDE

  • BUG: Try to delete controls only when they are not in a QT event notification routine, so that the interpreter does not crash.

GB.QT.KDE.HTML

  • NEW: WebBrowser.Find() is a new method that opens the text search dialog on the active frame.
  • NEW: WebBrowser.Selection.Text is a new property that returns the text selected in the active frame.
  • NEW: WebBrowser.Selection.HTML is a new property that returns the HTML code of what is selected in the active frame.
  • NEW: WebBrowser.Selected returns if something is selected in the active frame.

GB.GTK

  • NEW: The Stock class and the stock icons were removed.
  • NEW: gb.gtk now uses the image conversion routines located in the interpreter.

GB.DB

  • BUG: The Result.Update() method does not lose blob data anymore.

GB.DB.FIREBIRD

  • BUG: Patch from Debian to let compile with gcc 4.3.

GB.NET

  • BUG: Fixes stream declaration.

GB.NET.CURL

  • BUG: Fixes stream declaration.

GB.NET.SMTP

  • BUG: An error while attaching a file now raises an error and does not crash the interpreter anymore.
  • BUG: Quoted printable encoding works correctly now.

GB.COMPRESS.BZLIB2

  • BUG: Fixes stream declaration.

GB.COMPRESS.ZLIB

  • BUG: Fixes stream declaration.

GB.V4L

  • BUG: Fixes stream declaration.

GB.SDL

  • BUG: Patch from Debian to let compile with gcc 4.3.
  • NEW: gb.sdl now uses the image conversion routines located in the interpreter.

GB.OPENGL

  • BUG: Add missing Gl.GetXXX() methods.
  • BUG: Add missing Gl.GetIndexBits() and Gl.IndexClearValue() methods.
  • BUG: Add missing constants and methods.
  • NEW: Update to gb.opengl API changes.
  • OPT: Gl.Vertexf and Gl.Vertexi replace old Gl.vertexXX behaviour. Now z and w component are optionals.
  • OPT: Same changes for Gl.Color, Gl.RasterPos, Gl.TexCoord.

GB.FORM

  • BUG: The Stock class now works correctly when the desktop is not KDE or GNOME.
  • BUG: ColorButton does not refresh anymore when its Color property does not change.
  • NEW: Wizard buttons got shortcuts.
  • NEW: ValueBox is a control that inherits TextBox and that allows to enter numbers, dates, times & identifiers easily.
  • NEW: DateBox and TimeBox were removed. ValueBox should be used instead.
  • NEW: The Stock class and the stock icons are now located in the gb.form component, so that they are automatically shared by every GUI component.
  • NEW: DirChooser and FileChooser got a refresh button.
  • NEW: DirChooser and FileChooser buttons got tooltips.
  • NEW: DirView and FileView got a Reload() method that refreshes their contents.
  • NEW: Added stock icons for 'add' and 'remove' actions.
  • NEW: Dialog.SelectDirectory is a new method that replaces the default method of the GUI component.
  • NEW: TableView manages the RETURN and the ESC key while editing a cell, so that default or cancel buttons are not raised automatically.
  • NEW: Balloon.Font is a new property that allows to define the font used by the balloons.

GB.FORM.MDI

  • NEW: Setting the Workspace.Font property now changes the font of its TabStrip only.

GB.SETTINGS

  • NEW: Boolean are saved in settings files as 'True' and 'False', and not as integers anymore. This way, reading a boolean setting now returns a real boolean value.

GB.REPORT

  • BUG: Now the spacing is not repeated at the bottom of an expanded container.
  • NEW: Preview function in Report class show a form that draw the report at screen and simplify the consult or printing.
  • NEW: New property on ReportControl: Autoresize. This property makes the control manage its size (Height for VBox, Width for HBox, Size for other controls) according to their contents.
  • NEW: The Height, Width, Spacing properties now accept relatives values in percentages. The other properties (Left, Top, Padding) return an error if a relative value is set.
  • NEW: The ReportControl class has an autoresize property that automatically sets the size of the control according to its contents.
  • NEW: Now the Cloner index can be read directly from the field instance with the ReportField.Index property.
  • NEW: A well commented tutorial is in the sources.
  • NEW: New widget: ReportTextLabel. It allow to draw multiline text. It can do wordwrapping and manage some base formating tags. These tags are: - <font> (for fontname, size, color) - <b>, <i>, <u> (bold, italic, underline)
  • OPT: The ReportTable widget have been temporaly removed.
  • OPT: The ReportRepetor have been renamed ReportCloner.

GB.DESKTOP

  • NEW: This is a new component that provides an access to the Portland project xdg utilities.