* NEW: Put the Rect class in the gb.draw component.
[GB.GTK]
* NEW: Remove the Rect class.
* BUG: Draw.Tile() works now.
[GB.QT4]
* NEW: Remove the Rect class.
git-svn-id: svn://localhost/gambas/trunk@3567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.DrawAlpha() can work with images having different formats.
git-svn-id: svn://localhost/gambas/trunk@3562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.Format is a new property that returns the image internal
format as a string.
* BUG: Fix a possible crash that occurs when creating a temporary handle
needs a conversion.
git-svn-id: svn://localhost/gambas/trunk@3559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the SIGCHLD management, so that KDE 4.6 file dialogs do not hang
anymore.
git-svn-id: svn://localhost/gambas/trunk@3553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Key[] does not print GTK+ warning anymore when getting a null
string as argument.
* BUG: Mouse.Blank cursor works as expected now.
git-svn-id: svn://localhost/gambas/trunk@3547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The debugger now correctly prints expression compilation errors.
git-svn-id: svn://localhost/gambas/trunk@3546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: CoordBox correctly returns decimal value in american format.
[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog
anymore.
* BUG: Printed font now have the correct size.
[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because
Paint.DrawText aligns according to Font.Height and not
Paint.TextExtents().
git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Error.Raise("") does not crash the interpreter anymore. It displays
"Unknown error" instead.
git-svn-id: svn://localhost/gambas/trunk@3529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Current edited line is not highlighted by force anymore after a
global search.
[GB.FORM]
* NEW: New IconView control entirely made in Gambas.
* NEW: ScrollArea.EnsureVisible() has been implemented.
[GB.GTK]
* NEW: Old IconView has been removed.
* BUG: Do not use the deprecated tooltip API anymore.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take
an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
[GB.IMAGE]
* NEW: Color.SetAlpha() is a new method that takes an integer color, change
its alpha component, and return the modified integer color.
[GB.QT4]
* NEW: Old IconView has been removed.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take
an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
* BUG: Window default title is correctly converted from UTF-8.
[GB.QT4.EXT]
* NEW: Editor.HighlightAll is a new method to force the highlighting of the
entire text.
* NEW: The Editor.Lines CollapseAll() and ExpandAll() methods were moved to
the Editor class.
git-svn-id: svn://localhost/gambas/trunk@3513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw.Arc() is a new method to draw arcs.
[GB.GTK]
* BUG: Draw.Ellipse() now correctly draws a pie when filling is enabled.
* NEW: Implement Draw.Arc().
[GB.QT4]
* NEW: Implement Draw.Arc().
git-svn-id: svn://localhost/gambas/trunk@3500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The procedure list geets the focus again when it is opened.
[GB.FORM]
* NEW: ScrollArea is a new Container widget that is a DrawingArea with
scrolling capabilities.
[GB.GTK]
* NEW: Style is new static class whose properties return global information
about the current style. At the moment, you have Style.ScrollbarSize and
Style.ScrollbarSpacing.
* BUG: Scrollbar sliders size now follows the PageStep property.
[GB.QT4]
* NEW: Style is new static class whose properties return global information
about the current style. At the moment, you have Style.ScrollbarSize and
Style.ScrollbarSpacing.
git-svn-id: svn://localhost/gambas/trunk@3493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current
desktop.
[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker,
Enlighnement.
[GB.GTK]
* NEW: Support for screen available geometry.
git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Normal arrays of structures are not supported. Display an error
message instead of compiling something that crashes the interpreter.
git-svn-id: svn://localhost/gambas/trunk@3454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Support for MkPointer$().
* NEW: Embedded arrays of structures array write accessor has been
implemented.
git-svn-id: svn://localhost/gambas/trunk@3453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raise an error instead of crashing now when reading memory at a
forbidden address with a <type>@() function.
git-svn-id: svn://localhost/gambas/trunk@3451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: '\0' is a new string escape character for Chr$(0).
[GB.DRAW]
* NEW: Several Draw.Begin() and/or Paint.Begin() on the same device can be
safely imbricated.
[GB.EVAL]
* NEW: '\0' is a new string escape character for Chr$(0).
[GB.FORM]
* NEW: ButtonBox.Alignment is a new property to define the alignment of its
internal TextBox.
* NEW: New syntaxes for the MaskBox mask:
- '<' just after a mask character and just before a separator means that
the text before will be right-aligned.
- '!' marks the default cursor position when the MaskBox gets the focus.
git-svn-id: svn://localhost/gambas/trunk@3450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Error raised inside form generated code are correctly displayed
again.
[INTERPRETER]
* NEW: The GB.Every() API now takes a pointer argument that will be passed
to the callback.
git-svn-id: svn://localhost/gambas/trunk@3430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't show '$' in the dependencies combo-box of the component
property dialog.
[INTERPRETER]
* NEW: GB.Every() is a new API that allows a component to call a callback
regularly. Useful for polling something for example.
git-svn-id: svn://localhost/gambas/trunk@3429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: gb.Millisecond is a new date operation constant to deal with
milliseconds.
* NEW: Support for gb.Millisecond in DateDiff() and DateAdd().
git-svn-id: svn://localhost/gambas/trunk@3420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a gb.ShortNumber format to Format$().
* NEW: Use that format for converting Single to String.
* BUG: Check the internal conversion special class method everywhere an
object is converted.
[GB.DEBUG]
* NEW: Use gb.ShortNumber to display Single values.
git-svn-id: svn://localhost/gambas/trunk@3414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Qt 4.5.0 is now required to compile the gb.qt4 components.
[INTERPRETER]
* NEW: You can now define a non-creatable but auto-creatable class. It
means that you cannot instanciate the class, but you can use it
statically.
[GB.GTK]
* NEW: Screens is a new pseudo-array of all screens.
* NEW: Screen is a new class that represents the geometry of a screen. The
X, Y, Width and Height properties return the full geometry. The
AvailableX, AvailableY, AvailableWidth and AvailableHeight properties
return the geometry available to the windows. The screen class can be
used statically to get the geometry of the default screen.
BEWARE: The available geometry is not yet implemented on gb.gtk!
* NEW: Window.Screen is a new property that returns the screen where most
of the window is located.
* NEW: Desktop.{X,Y,Width,Height} are four new properties that return the
available geometry of the default screen. It is an equivalent of
Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}.
[GB.QT4]
* NEW: Screens is a new pseudo-array of all screens.
* NEW: Screen is a new class that represents the geometry of a screen. The
X, Y, Width and Height properties return the full geometry. The
AvailableX, AvailableY, AvailableWidth and AvailableHeight properties
return the geometry available to the windows. The screen class can be
used statically to get the geometry of the default screen.
* NEW: Window.Screen is a new property that returns the screen where most
of the window is located.
* NEW: Desktop.{X,Y,Width,Height} are four new properties that return the
available geometry of the default screen. It is an equivalent of
Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}.
git-svn-id: svn://localhost/gambas/trunk@3413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: PRINT can ends with a comma. In that case, a tab is printed, but no
newline.
git-svn-id: svn://localhost/gambas/trunk@3410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for NOT LIKE, NOT BEGINS, NOT ENDS and NOT IS.
[COMPILER]
* NEW: New operators: NOT LIKE, NOT BEGINS, NOT ENDS and NOT IS.
[GB.EVAL]
* NEW: New operators: NOT LIKE, NOT BEGINS, NOT ENDS and NOT IS.
git-svn-id: svn://localhost/gambas/trunk@3407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The control rename algorithm should work better now.
[EXAMPLES]
* BUG: Fix ServerSocket and ClientSocket examples.
[INTERPRETER]
* BUG: WRITE and READ with a specified length of zero now does nothing.
[GB.NET]
* BUG: Closing a socket created by a ServerSocket does not crash anymore.
[GB.QT4]
* BUG: When a combo-box becomes read-only, the first item is automatically
selected if there was no current item.
* BUG: Window with no border can have focus now.
git-svn-id: svn://localhost/gambas/trunk@3404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Enhance the import wizard. The list of conversions that are
automatically handled is in the wiki.
[WIKI CGI SCRIPT]
* BUG: Do allow '{' and '}' between '=='. But then allow lines to begin
with a slash, to escape those characters.
* BUG: Display correctly titles with a '#' inside.
[COMPILER]
* NEW: DownTo is a new keyword for decrementing For...Next loops. You can
save some "Step -1" with it.
[GB.QT4]
* BUG: Fix a reference leak with DnD operations started outside of then
application.
git-svn-id: svn://localhost/gambas/trunk@3402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Files can be dropped from files managers to the project treeview.
They are automatically inserted into the project then.
[WIKI CGI SCRIPT]
* BUG: '{' and '}' are not interpreted anymore between '=='.
[BENCHMARKS]
* NEW: Add Gambas/Perl/Python benchmarks to the repository.
[INTERPRETER]
* NEW: A Stop instruction encountered inside a component is not ignored
anymore and stops the program.
* BUG: Fix the File.SetName, File.SetExt and File.SetBaseName methods.
[COMPILER]
* NEW: The preprocessor now undestands the False and True constants.
[GB.FORM]
* NEW: Clean up the Stock class icon loading algorithm.
* BUG: Fix the Gnome icon map.
[GB.FORM.STOCK]
* NEW: Support for svg stock icons.
[GB.QT4]
* BUG: Drag.Show() now works for DnD operations started outside of the
application.
[GB.GTK]
* BUG: Drag.Show() now works for DnD operations started outside of the
application.
git-svn-id: svn://localhost/gambas/trunk@3400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Gambas2 to Gambas3 project converter. Only forms and project
structure are converted at the moment, as before.
* NEW: Update compiler error messages list.
[INTERPRETER]
* BUG: Activate the automatic instance just after its creation, but
before calling the constructors, so that they can reference it without
trying to create it recursively again and again.
git-svn-id: svn://localhost/gambas/trunk@3397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The project property dialog does not crash anymore when there is an
hidden component in the component list described in the '.project' file.
[INTERPRETER]
* BUG: -2147483648 is a valid integer.
[COMPILER]
* BUG: -2147483648 is a valid integer.
[GB.QT4]
* NEW: DrawingArea.NoBackground is a new property that prevent the
DrawingArea to automatically refresh its background when you know that
you will paint it fully yourself.
[GB.GTK]
* NEW: DrawingArea.NoBackground is a new property that prevent the
DrawingArea to automatically refresh its background when you know that
you will paint it fully yourself.
git-svn-id: svn://localhost/gambas/trunk@3393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: IsInteger(), IsLong(), IsFloat(), IsDate() and IsNumber() argument
now must be a string. There is no automatic conversion anymore.
git-svn-id: svn://localhost/gambas/trunk@3390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Code indentation routine correctly handles structures now.
[INTERPRETER]
* NEW: Object.LastEventName has been deprecated, and replaced by
the Param.EventName property.
* BUG: IsFloat() is now a synonymous for IsNumber().
* BUG: Intrinsic functions description has been updated.
[COMPILER]
* NEW: "\e" is a new string escape sequence equivalent to "\x1B".
[GB.FORM]
* NEW: Use the new Control.Proxy property instead of internal observers
inside compound controls (ValueBox, ButtonBox, MenuButton).
[GB.GTK]
* NEW: Control.Proxy is a new property that allows to define a control
proxy that will handle focus, key and mouse events in original control's
place.
[GB.QT4]
* NEW: Control.Proxy is a new property that allows to define a control
proxy that will handle focus, key and mouse events in original control's
place.
git-svn-id: svn://localhost/gambas/trunk@3387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Define preprocessor color for all highlighting themes.
[COMPILER]
* NEW: The maximum number of constants in a class is now 65536.
[INTERPRETER]
* NEW: The maximum number of constants in a class is now 65536.
git-svn-id: svn://localhost/gambas/trunk@3383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Val() and IsXXX() functions algorithm has been fixed. Now the
string is trimmed before being converted. Thousand separators are really
valid only to separate thousands. Extra non-space characters at the end
of the string make the conversion fail.
git-svn-id: svn://localhost/gambas/trunk@3382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove parser debugging messages.
* NEW: DEBUG is a new preprocessor symbol that returns if the compiler
generates debugging information.
[GB.QT4]
* BUG: Should compile with Qt 4.5.3 now.
git-svn-id: svn://localhost/gambas/trunk@3377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The preprocessor now understands three constants: SYSTEM,
ARCHITECTURE (or ARCH), and VERSION (or GAMBAS). The VERSION constants
didn't change. The two others return a string that can be compare with
equality or inequality operator. The comparison is not case sensitive.
[GB.EVAL]
* NEW: Comments are correctly highlighted in preprocessor lines.
git-svn-id: svn://localhost/gambas/trunk@3376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In icon editor, the width of the selection frame now follows the
zoom level.
* NEW: Support for preprocessor highlighting.
[COMPILER]
* NEW: Integrated preprocessor. The following commands are supported:
#If <expr>, #Else If <expr>, #Else and #Endif. <expr> can be a
combination of constants (OS_LINUX, OS_FREEBSD, ARCH_X86, ARCH_X86...),
parenthesis, 'And' & 'Or' operators, version test (VERSION >= "3.0").
This is work in progress.
[GB.EVAL]
* NEW: A new highlighting color for the preprocessor.
[GB.QT4.EXT]
* NEW: A new highlighting color for the preprocessor in Editor control.
git-svn-id: svn://localhost/gambas/trunk@3374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the icon editor.
[INTERPRETER]
* NEW: If Stop Event is used during the Timer event, the timer is stopped.
[INFORMER]
* BUG: Fix a file descriptor leak.
[GB.DRAW]
* NEW: Draw.Zoom() now does not draw cell borders unless zoom is greater or
equal than 6.
[GB.DESKTOP]
* BUG: Fix a forgotten "break" in a switch statement when setting a window
property with a string array.
[GB.QT4]
* BUG: Fix image leak in Clipboard.Copy() and Drag().
* BUG: Fix incorrect copy of image data when taking ownership of an image
object.
* NEW: Draw.Image() does not do a smooth transformation the image is
enlarged in both dimensions, and if the new size is a multiple of the old
size.
* OPT: DrawingArea with the default background color now does not repaint
its background before calling the Draw event.
[GB.QT4.EXT]
* BUG: Fix a bad test in GDocument::getLineFlag().
git-svn-id: svn://localhost/gambas/trunk@3368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Collection.Copy() is a new method that returns a copy of a
collection.
git-svn-id: svn://localhost/gambas/trunk@3363 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: '%' is a new operator that is a synonymous for 'MOD'. It has its
assignment operator shortcut '%=' too.
git-svn-id: svn://localhost/gambas/trunk@3362 867c0c6c-44f3-4631-809d-bfa615b0a4ec