* 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
* NEW: The Image.Picture and the Picture.Image property do not change the
internal type of the image (server or memory). That change is done only
if necessary. Instead, these properties return a deep copy of the object.
git-svn-id: svn://localhost/gambas/trunk@3396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Draw.Picture() and Draw.Zoom() now have the same behaviour as
gb.qt4. The picture is not smoothed when it is enlarged by an integer
ratio.
[GB.QT4]
* BUG: Cached DrawingArea refresh should work again.
* BUG: Resizing a cached DrawingArea should work correctly now.
git-svn-id: svn://localhost/gambas/trunk@3394 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
* BUG: Update DataControl and DataView to the new behaviour of IsXXX() and
Val() functions.
git-svn-id: svn://localhost/gambas/trunk@3391 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
* BUG: Fix glu.pickmatrix() method, with need an integer array instead of a simple integer.
git-svn-id: svn://localhost/gambas/trunk@3386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not crash during structure declaration analyze, when the
structure name has been forgotten.
git-svn-id: svn://localhost/gambas/trunk@3384 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 Printer.OutputFile property for space and non-ascii
characters.
* BUG: Don't show the configuration dialog briefly when calling
Printer.Print().
git-svn-id: svn://localhost/gambas/trunk@3370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Initialize correctly the painter when drawing on a DrawingArea.
git-svn-id: svn://localhost/gambas/trunk@3369 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: Allow to add additional lines to the *.desktop configuration file in
the packager.
git-svn-id: svn://localhost/gambas/trunk@3367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Fix the packager mimetypes label and update the french translation.
git-svn-id: svn://localhost/gambas/trunk@3366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Mimetypes handled by the application can be specified in the
packager now.
git-svn-id: svn://localhost/gambas/trunk@3365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw the class name into the icon of project exported controls.
* NEW: A search box in the hierarchy tree.
* BUG: Deleting project files works correctly again.
[GB.FORM]
* NEW: ButtonBox.Editor is a new property that returns the internal TextBox
used by the control.
git-svn-id: svn://localhost/gambas/trunk@3364 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
* BUG: Do not use the deprecated DrawingArea.Merge property anymore.
[GB.QT4]
* BUG: The component should compile correctly now.
git-svn-id: svn://localhost/gambas/trunk@3360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Drawing.Merge has been deprecated. Display a warning only when the
property is set to TRUE.
git-svn-id: svn://localhost/gambas/trunk@3357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not display the internal self-component in the project property
component list.
[GB.FORM]
* NEW: Bookmarks are editable now.
git-svn-id: svn://localhost/gambas/trunk@3355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Clicking with the right mouse button on a toolbox control now
correctly raises the help on that control.
git-svn-id: svn://localhost/gambas/trunk@3354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Exported project classes that are controls are now automatically
visible in the control toolbar.
* NEW: Compiling the project now automatically refreshes the control
toolbar when needed.
[INTERPRETER]
* BUG: File.SetExt() now works correctly with files whose name begins with
a dot.
[GB.QT4]
* BUG: The frame width of raised or sunken borders used by some Container
classes now should correctly follow the style.
git-svn-id: svn://localhost/gambas/trunk@3352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Hide the menu entry "add a project link".
[GB.GTK]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred
default size of a scrollbar.
[GB.QT4]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred
default size of a scrollbar.
git-svn-id: svn://localhost/gambas/trunk@3349 867c0c6c-44f3-4631-809d-bfa615b0a4ec