* BUG: Use a dedicated control stack slot for each GOSUB subroutine.
* BUG: GOSUB labels now must be at top-level, and must be declared *after*
the GOSUB call. Consequently, recursion is not possible anymore.
git-svn-id: svn://localhost/gambas/trunk@4531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New GOSUB instruction. You return from a GOSUB with the RETURN
instruction alone. Consequently, you cannot exit from a 'SUB' with it if
there is a pending GOSUB. The GOSUB stack is only limited by the
available memory.
[COMPILER]
* NEW: New GOSUB instruction.
git-svn-id: svn://localhost/gambas/trunk@4530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Implement Title properties as synonymous of Text for row and column
headers.
* BUG: GridView.Rows[].Selected now works correctly when multiple selection
is enabled.
git-svn-id: svn://localhost/gambas/trunk@4529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new panel in the option dialog that allows to define which files
must be ignored when creating a source package or an installation
package.
[INTERPRETER]
* BUG: Fix String.Mid$() when the third argument goes after the string
length.
[GB.FORM]
* NEW: IconPanel now uses a GridView and not an IconView anymore.
* BUG: GridView.Mouse property now works as expected.
git-svn-id: svn://localhost/gambas/trunk@4528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix error when inserting a new form with dialog management option
checked.
git-svn-id: svn://localhost/gambas/trunk@4526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Make error message tooltips always visible.
* NEW: Update logos.
[GB.FORM]
* NEW: GridView: The Shift key is taken into account when selecting rows
with the mouse.
git-svn-id: svn://localhost/gambas/trunk@4525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't print a line number greater than the number of lines in the
compiled file when displaying an error message.
git-svn-id: svn://localhost/gambas/trunk@4524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Raise an error now when using TRY with GOTO, BREAK, CONTINUE or
STOP.
git-svn-id: svn://localhost/gambas/trunk@4523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix ToolPanel Index value when decreasing the Count property.
* NEW: Less space around GridView row headers text.
[GB.QT4]
* BUG: Do not crash when UserControl or UserContainer container is deleted.
* BUG: Delete the Qt4 application class in component exit routine,
otherwise Qt 4.8 seems to crash sometimes.
git-svn-id: svn://localhost/gambas/trunk@4521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Try to fix the spurious error that is raised sometimes when clicking
on a control in the form editor.
[GB.FORM]
* NEW: GridView.Columns.Width property has been implemented.
git-svn-id: svn://localhost/gambas/trunk@4519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Draw.RichTextWidth() by rounding the internal floating point
width up.
git-svn-id: svn://localhost/gambas/trunk@4518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Adding years with DateAdd() to 29 Feb now switch to 28 Feb not to
create invalid dates if the result is not in a leap year.
git-svn-id: svn://localhost/gambas/trunk@4515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Set the focus back to the editor after a paste operation.
* NEW: Less flickering when displaying project items.
[GB.FORM]
* NEW: GridView.Rows.Insert() and GridView.Rows.Remove() methods were
implemented.
[GB.GTK]
* NEW: Remove the old GridView source code.
[GB.QT4]
* NEW: Remove the old GridView source code.
git-svn-id: svn://localhost/gambas/trunk@4514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly release the stack when dealing with a CATCH / FINALLY
instruction.
git-svn-id: svn://localhost/gambas/trunk@4512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The GridView.Rows.Width property is writable now.
* NEW: Setting the text of a row header now automatically enlarge it.
git-svn-id: svn://localhost/gambas/trunk@4511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: LINE INPUT does not try to incorrectly release its stream argument
anymore when there is no stream argument.
* OPT: A little optimization in Space$(), Upper$() and Lower$().
* OPT: EXEC / SHELL ... TO does not return the process output through a
temporary string that will be freed later. If the string is big, then
the memory is retained longer than necessary.
git-svn-id: svn://localhost/gambas/trunk@4509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: 't' and 'tt' are two new date formatting patterns that display the
timezone.
git-svn-id: svn://localhost/gambas/trunk@4507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Destructors now can safely raise errors. If these errors are
ignored, the object is released anyway.
git-svn-id: svn://localhost/gambas/trunk@4506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Take the GridView cell RichText property into account.
* BUG: Take the GridView.Enabled property into account.
* BUG: The minimum column width and minimum row height are one pixel now.
[GB.GTK]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
Align.IsRight() and Align.Center() are new methods that allow to know the
direction of an alignment according to the current language direction.
[GB.QT4]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
Align.IsRight() and Align.Center() are new methods that allow to know the
direction of an alignment according to the current language direction.
git-svn-id: svn://localhost/gambas/trunk@4505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: If the DrawingArea Draw event handler raises an error, then the
interpreter should not crash anymore.
* BUG: Mouse events are now cancelable, like in gb.qt4, so that proxies cancelable
prevent their propagation.
git-svn-id: svn://localhost/gambas/trunk@4504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Take property synonymous into account.
* BUG: Pasting text as comments correctly converts tabulations into spaces.
[INTERPRETER]
* NEW: GB.RaiseBegin() and GB.RaiseEnd() are two new intepreter APIs that
allow to define a callback that will be called if an exception is raised
during a call to GB.Raise().
* BUG: CATCH and FINALLY correctly restore the stack pointer. Without that,
it is possible to use more stack than possible and to crash the
interpreter.
[COMPILER]
* NEW: A property now can has up to four different names. The syntax is:
"Property Name [ , Synonymous1, ..., Synonymous3 ] As Datatype".
[GB.DB]
* BUG: Table.Type property now correctly handle null table types.
[GB.DB.FORM]
* NEW: DataBrowser.Grid is a new property to define the grid visibility.
* BUG: The DataBrowser and DataView controls have been fixed. There is only
one problem to fix that depends on a gb.gtk bug.
[GB.DRAW]
* BUG: Setting Draw.Font to NULL does not crash anymore, and raise an error
instead.
[GB.FORM]
* NEW: The new GridView is finished and replaces the old one now.
* NEW: GridView.ShowCursor is a new property that displays a light cursor
around the current cell when set.
[GB.GTK]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: GTK+ GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
[GB.QT4]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: Qt4 GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
* BUG: If the DrawingArea Draw event handler raises an error, then the
interpreter should not crash anymore.
[GB.QT4.EXT]
* BUG: Fix an uninitialized field in Editor internal GLine class.
git-svn-id: svn://localhost/gambas/trunk@4503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Change CPolynomial_SolveQuadratic and CPolynomial_SolveCubic to use
values from internal data array. Also added Out of bounds error if the number of
coefficients is incorrect for the called method.
git-svn-id: svn://localhost/gambas/trunk@4502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Commented out bad line of code that cause the component to fail to compile.
git-svn-id: svn://localhost/gambas/trunk@4500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed issue with incorrect return type in CPolynomial_SolveCudic and
CPolynomial_SolveQuadratic methods.
git-svn-id: svn://localhost/gambas/trunk@4499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start to make a GridView control entirely in Gambas. Contrary to
its native implementations, it will be able to handle millions of lines
without eating all memory.
git-svn-id: svn://localhost/gambas/trunk@4498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Constructors that receive too many arguments now correctly raise an
error.
[GB.DRAW]
* BUG: Accessing a temporarily closed drawing device now raises an error
instead of crashing.
git-svn-id: svn://localhost/gambas/trunk@4496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly handle libraries that depends on more than one component.
git-svn-id: svn://localhost/gambas/trunk@4492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Make project creation dialog and project save as dialog less
difficult to understand.
[GB.FORM]
* NEW: Wizard: Remove padding around contents when the wizard has no
border.
git-svn-id: svn://localhost/gambas/trunk@4491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix DBusObserver matching rules handling.
[GB.GTK]
* NEW: Control.NoTabFocus is a new property that prevents a control from
being in the TAB key focus chain.
[GB.QT4]
* NEW: Control.NoTabFocus is a new property that prevents a control from
being in the TAB key focus chain.
* OPT: Make part of the internal widget structure optional to save a bit of
memory when rarely used properties are not set.
git-svn-id: svn://localhost/gambas/trunk@4490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Convert the return value of a native function to a variant
automatically only if the function call is done by a "CALL" bytecode.
Consequently the gb.signal component works again.
git-svn-id: svn://localhost/gambas/trunk@4489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed filenames in file headers.
Renamed static *create_complex() in the complex class
to GSLComplex_create() so that it could be used in other
compenent files.
git-svn-id: svn://localhost/gambas/trunk@4488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Changed function prototypes in all files to use upper case variable names (xf) to (X)f.
Moved frexp to c_gsl where it belongs.
git-svn-id: svn://localhost/gambas/trunk@4487 867c0c6c-44f3-4631-809d-bfa615b0a4ec