* NEW: Update some control icons.
[GB.FORM]
* BUG: Balloon takes desktop panels into account.
* NEW: Update some control icons.
[GB.QT4]
* BUG: Fix the order of message box buttons.
* BUG: Fix Frame Client properties.
git-svn-id: svn://localhost/gambas/trunk@3619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Background colors of controls is drawn the way it should now.
* BUG: DrawingArea background takes the frame into account now.
git-svn-id: svn://localhost/gambas/trunk@3611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Qt4 crash by delaying deletion of dragged toolbar elements.
* BUG: Fix the behaviour of the toolbar when items are dragged.
* BUG: FIx the look of the dragged items.
* NEW: Expander toolbar items are made visible in configuration mode.
git-svn-id: svn://localhost/gambas/trunk@3609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Paste and Delete are now correctly disabled in the form editor when
the form is read-only.
[EXAMPLE]
* NEW: New Printing example.
[GB.DRAW]
* NEW: Paint.RichTextExtents() now take an optional width argument.
* NEW: Paint.DrawText() and Paint.DrawRichText() are two new methods to
directly draw text without using an intermediate path. They make
generated PDF and Postscript files smaller.
[GB.FORM]
* BUG: Setting ScrollArea.Border property correctly refreshes it now.
* BUG: ScrollArea contents is correctly clipped now.
[GB.GTK]
* BUG: gb.gtk now requires 'gtk+-unix-print-2.0' pkg-config library.
* BUG: Dialog.Font works correctly now.
* BUG: Relative font sizes are correctly interpreted in rich text now.
* BUG: TextArea shortcuts correctly ensure that the cursor is visible.
* BUG: Paint.DrawImage() works correctly now.
git-svn-id: svn://localhost/gambas/trunk@3607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Blights example.
[GB.GTK]
* BUG: Workaround a GTK+ bug where drag & drop icon size must be a multiple
of eight pixels.
* NEW: Paint.DrawImage() has been implemented.
git-svn-id: svn://localhost/gambas/trunk@3587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: the text of IconView items is now automatically ellipsized.
[GB.QT4]
* BUG: Rich text size is now computed with no default margin around the
text.
git-svn-id: svn://localhost/gambas/trunk@3585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not use Qt4 message box standard buttons, because they are not
always translated.
git-svn-id: svn://localhost/gambas/trunk@3582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The procedure under the mouse is correctly highlighted while
scrolling the procedure list now.
* BUG: Files with an '@' character in their name should be correctly
handled when the project is under subversion.
[GB.GTK]
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.
[GB.QT4]
* BUG: Setting the margin of an auto-resized Label or TextLabel now
correctly update the control size.
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.
git-svn-id: svn://localhost/gambas/trunk@3581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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: Redesign the option dialog with an IconView.
[GB.GTK]
* BUG: Control.Grab() now works as expected.
* BUG: Desktop.Screenshot() does not crash anymore, and works correctly
when the screenshot is outside of the root window.
[GB.QT4]
* NEW: Remove the default item margin of ListView, TreeView and ColumnView.
git-svn-id: svn://localhost/gambas/trunk@3566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: MoveScaled works correctly for positions and sizes that are not a
multiple of Desktop.Scale.
[GB.QT4]
* BUG: MoveScaled works correctly for positions and sizes that are not a
multiple of Desktop.Scale.
git-svn-id: svn://localhost/gambas/trunk@3544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Port the OnScreenDisplay example to Gambas 3.
[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now
raises the Activate event.
[GB.GTK]
* BUG: Fix warnings when creating a Slider.
[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.
git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ScrollArea.Scroll() now refreshes the view only if necessary.
* NEW: IconView items renaming has been implemented.
* NEW: IconView.Orientation is a new property to define how the control
arrange and draw its icons.
* OPT: IconView refreshing has been optimized.
[GB.GTK]
* NEW: TextArea.Alignment has been implemented.
* BUG: Slider and ScrollBar controls now raise native events correctly.
* BUG: Font.RichTextWidth() now works like Draw.RichTextWidth().
[GB.QT4]
* NEW: TextArea.Alignment has been implemented.
git-svn-id: svn://localhost/gambas/trunk@3514 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
* BUG: Fix ButtonBox on gb.gtk.
[GB.GTK]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.
[GB.QT4]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.
git-svn-id: svn://localhost/gambas/trunk@3502 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
* NEw: Add support for finnish language.
[GB.FORM]
* NEW: Start to implement the new IconView by mixing Fabien's code and
mine.
* New: ScrollArea.Tracking property has been implemented.
* NEW: ScrollArea now undestands mouse wheel events.
[GB.GTK]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now correctly follows text alignment.
* BUG: UserContainer ClientX, ClientY, ClientWidth and ClientHeight
properties now return the accurate value.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
* NEW: Add ScrollView.Contents{W,H,Width,Height} synonymous properties.
[GB.QT4]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now uses the foreground color as expected.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
git-svn-id: svn://localhost/gambas/trunk@3496 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: Support for the new "View" control group.
[GB.FORM]
* NEW: Put view controls under the group "View".
* NEW: ButtonBox now raises the Activate event.
* BUG: MaskBox does not hit RETURN and ENTER key anymore.
* NEW: DateChooser.ShowTime property was replaced by the DateChooser.Mode
property. That property can take three values: DateChoose.DateOnly,
DateChooser.DateTime and DateChooser.TimeOnly.
* NEW: DateBox.ShowTime property was replaced by the DateBox.Mode property,
like DateChooser.
* NEW: DateBox now raises the Activate event.
[GB.GTK]
* NEW: Put view controls under the group "View".
[GB.QT4]
* NEW: Put view controls under the group "View".
git-svn-id: svn://localhost/gambas/trunk@3478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Handle variant control properties as string properties.
* BUG: Try to deal with autocompletion of exported classes in component
projects that use themselves.
[GB.FORM]
* BUG: Fix ButtonBox arrangement.
* NEW: ValueBox was completely redesigned. It supports now the following
editing types: Number, Date, Time, DateTime, Currency & IPAddress.
* NEW: MaskBox.MaskChar has been removed. The mask char is now always a
space!
* NEW: MaskBox is more intelligent now with digit masks and cursor moves.
* NEW: DateChooser.ShowTime is a new property that let it edit times.
* NEW: DateBox.ShowTime is a new property that let it edit times.
[GB.GTK]
* BUG: Setting Control.Proxy to NULL works now.
* BUG: New controls are correctly arranged when they are inserted in their
parent container.
* BUG: UserControl._Arrangement has been implemented.
* BUG: UserControl.SetFocus has been removed.
[GB.QT4]
* BUG: UserControl.Arrangement is really an integer property.
git-svn-id: svn://localhost/gambas/trunk@3469 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
* 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
* NEW: A new control, MaskBox, that is a TextBox with an optional mask.
* NEW: ButtonBox now uses a MaskBox.
[GB.GTK]
* BUG: TextBox.Selection.Length now returns the correct value.
[GB.QT4]
* BUG: TextBox.Selection.Start now returns the cursor position when nothing
is selected.
git-svn-id: svn://localhost/gambas/trunk@3445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Automatic insertion of event handlers is not case sensitive anymore.
* BUG: Fix some symbol icons in automatic completion popup.
[GB.GTK]
* NEW: Key events now handle proxies.
* NEW: The events are now sent to the proxy first. This should be contrary,
but at least it does not break the IDE.
[GB.FORM]
* NEW: ButtonBox.Button is a new property that defines if the button should
be visible or not.
[GB.QT4]
* NEW: Key events now handle proxies.
* NEW: SetFocus() now follows the proxy chain.
* NEW: The events are now sent to the proxy first. This should be contrary,
but at least it does not break the IDE.
git-svn-id: svn://localhost/gambas/trunk@3443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard
events yet.
* BUG: ComboBox does not crash anymore if deleted while there is a pending
internal model update.
* BUG: Control.ScreenX and Control.ScreenY now return the correct values
for controls whose GTK+ widget has no window.
[GB.QT4]
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard
events yet.
* BUG: Remove the now useless specific focus management of UserControl.
git-svn-id: svn://localhost/gambas/trunk@3441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't abort if there is a breakpoint with a bad line number stored
in the project settings file.
[GB.GTK]
* BUG: SpinBox Value property should always be accurate now.
* BUG: Enter and Leave events are correctly raised again.
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
event should not crash anymore.
* BUG: A parent menu does not raise the Click event anymore.
[GB.QT4]
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
event should not crash anymore.
[GB.QT4.EXT]
* BUG: Getting the Editor.Text property now does not leave the current line
uncolorized.
git-svn-id: svn://localhost/gambas/trunk@3440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Symbol icons are all visible again in the completion popup.
* NEW: A source language different from the one used in the source code can
be used in the translation dialog.
[GB.FORM]
* NEW: Bookmark edition has been redesigned and enhanced.
git-svn-id: svn://localhost/gambas/trunk@3433 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: Rect is a new class that represents a Rectangle. It has some useful
methods like Contains, Union or Intersection.
[GB.QT4]
* NEW: Rect is a new class that represents a Rectangle. It has some useful
methods like Contains, Union or Intersection.
git-svn-id: svn://localhost/gambas/trunk@3427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Move() method now correctly works on top-level windows.
[GB.SETTINGS]
* NEW: Support for multiple screens and desktop layout when saving or
loading window geometry in a setting file.
git-svn-id: svn://localhost/gambas/trunk@3423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Simplify the implementation of the component list in the project
property dialog.
[GB.GTK]
* BUG: Try to fix the Label and TextLabel autoresize feature, as well as
the Adjust() method, so that gb.gtk and gb.qt4 behave the same.
[GB.QT4]
* BUG: Try to fix the Label and TextLabel autoresize feature, as well as
the Adjust() method, so that gb.gtk and gb.qt4 behave the same.
* NEW: Disable the glib main loop support only if we are using KDE.
git-svn-id: svn://localhost/gambas/trunk@3419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Exchange the "environment" tab with the "components" tab in the
project property dialog.
[GB.GTK]
* BUG: Rework the management of focus and window activation so that gb.gtk
and gb.qt4 behave the same (or almost). Maybe it will fix the Ballon that
disappears with the Gnome window manager.
[GB.QT4]
* BUG: Rework the management of focus and window activation so that gb.gtk
and gb.qt4 behave the same (or almost). Maybe it will fix the Ballon that
disappears with the Gnome window manager.
* BUG: Do not disable the GLib support, it makes QT applications crash on
Gnome. I think it should be disable on KDE only.
git-svn-id: svn://localhost/gambas/trunk@3416 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
* 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: 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: 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: 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: 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: 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
* 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
* 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
* BUG: Apply the patch to the previous Qt bug only to PDF and PS paint
engines.
git-svn-id: svn://localhost/gambas/trunk@3348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Table existence should be checked correctly now.
[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image
easily.
[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is
taken into account when painting on a Printer object.
git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Button to "flattr" Gambas.
[INTERPRETER]
* BUG: Fix some possible uses of unitialized values.
[COMPILER]
* BUG: Fix a possible crash when having 63 arguments passed by reference
to a function.
[GB.DB.SQLITE3]
* BUG: Detect integer primary key whatever the case used to write
"integer".
[GB.GTK]
* BUG: Page setup is enabled in printer configuration dialog now.
[GB.QT4]
* BUG: The font size of printed texts is now correct.
git-svn-id: svn://localhost/gambas/trunk@3344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove WebView.FindText() highlight argument. It is not supported
on older version of Qt4.
git-svn-id: svn://localhost/gambas/trunk@3316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly close the downloaded file at download end.
* NEW: WebView.FindText() is a new method to search text inside the page.
* NEW: WebView.Cookies is writable now.
git-svn-id: svn://localhost/gambas/trunk@3310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The component now compiles correctly with older versions of Qt.
git-svn-id: svn://localhost/gambas/trunk@3301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebDownload is a new class that represents a file being downloaded
by the browser.
* NEW: WebDownloads is an array-like static class that returns all current
WebDownload objects.
* NEW: WebView now raises a Download event when there is something to
download. A WebDownload object is created and passed to the event. If the
Path property of the WebDownload object is set, the download is started.
Otherwise, it is aborted.
[EXAMPLES]
* NEW: The WebBrowser example now has a download manager window.
git-svn-id: svn://localhost/gambas/trunk@3292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A search field in the menu editor.
[EXAMPLES]
* NEW: The WebBrowser example has been modified to use the new features of
the gb.qt4.webkit component.
[GB.QT4.WEBKIT]
* NEW: Cookie is a new class that represents a cookie.
* NEW: WebView.Cookies is a new property for returning all cookies in the
browser cookie jar. Setting that property has to be done yet.
* NEW: WebView.HitTest() is a new method that tests what is located at the
specified position of the web page. The result of the is test is returned
as a WebHitTest object.
* NEW: WebHitTest is new class that represents the result of a hit test on
a web page. YOu can know if you are on a link, an image, or something
else, and if that content is selected or editable.
git-svn-id: svn://localhost/gambas/trunk@3290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Using the left or right key on the search browse list does not
crash anymore.
* BUG: When cleaning up the project, remove "core" files too.
git-svn-id: svn://localhost/gambas/trunk@3281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Many clean-ups in the MDI management.
[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now
correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children
controls anymore.
[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.
[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.
git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not search text inside form anymore.
[INTERPRETER]
* BUG: The startup class is not global anymore, so that it does not
conflict with anythign having the same name in components. The
interpreter API that was returning the startup class has been updated
to reflect that change.
* BUG: File.Name("/a/b/") now returns a void string instead of returning
"b", to be coherent with File.Dir().
[GB.DESKTOP]
* NEW: Use the new API returning the startup class.
[GB.FORM]
* BUG: Setting DirView.Root with a path ending with a slash does not crash
anymore.
[GB.GTK]
* NEW: Use the new API returning the startup class.
[GB.QT4]
* NEW: Use the new API returning the startup class.
[GB.SIGNAL]
* NEW: Use the new API returning the startup class.
git-svn-id: svn://localhost/gambas/trunk@3267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible when opening the procedure list.
[INTERPRETER]
* NEW: The READ instruction can read arrays and collections with
'AS Object' as well as 'AS Variant'.
[GB.QT4]
* BUG: Minimizing modal windows does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@3246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start trying to display a resume at the end of installation.
[INTERPRETER]
* BUG: Extern functions now can handle up to 16 pointer or string
arguments.
[GB.GTK]
* BUG: Fix a infinite recursion in drag and drop management when draging
TextBox or TextArea contents inside the same application.
[GB.QT]
* BUG: Do not propagate Drop events when there is a drop event handler.
git-svn-id: svn://localhost/gambas/trunk@3237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The search list is updated correctly and almost in real time when
edited files are modified.
* NEW: When an editor is splitted, then the unfocused one is darker now.
[GB.QT4.EXT]
* NEW: Do not highlight text when reading the Editor.Text property.
* NEW: When getting the highlight state of a line, do not highlight it if
it is currently edited.
[GB.WEB]
* NEW: Request.Get and Request.Post are two array-like properties that
return the contents of the "GET" and "POST" parts of a HTTP request.
Using Request directly is possible. Then the two parts are merged.
git-svn-id: svn://localhost/gambas/trunk@3231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ALT+UP and ALT+DOWN moves the current line or the selection one line
up and one line down.
git-svn-id: svn://localhost/gambas/trunk@3227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: "Save project as" now uses a dialog box that allows to choose the
project new name.
* NEW: CSV file import dialog now can ignore the file first lines.
* NEW: CSN file import dialog now saves its contents in the setting file.
[INTERPRETER]
* BUG: Correctly remove '\t' from error messages, as that character is used
by the debugger as separator.
* BUG: Release invalid automatic instances again.
[GB.DB.FORM]
* OPT: Use a transaction when deleting many rows in DataView.
[GB.DB.POSTGRESQL]
* BUG: Remove a debugging message.
[GB.GTK]
* BUG: Changing the stack order of a control now correctly triggers a
parent arrangement.
[GB.QT4]
* BUG: Changing the stack order of a control now always triggers a parent
arrangement.
git-svn-id: svn://localhost/gambas/trunk@3225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix procedure list crash.
[GB.IMAGE]
* NEW: Color merge algorithm has changed. Instead of using the middle of
RGB values, now it uses the middle of HSV values. It changes the value of
Color.LightForeground and the color used for drawing Workspace default
background.
[GB.QT4]
* BUG: Separator and plain borders now use the same color.
* BUG: ShowPopup() now works correctly if used on the same window several
times.
git-svn-id: svn://localhost/gambas/trunk@3217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Find a workaround for a Qt menu crash. The last visible menu must be
created last.
* NEW: Fix and enhance the stack backtrace list.
[GB.FORM]
* BUG: Message.Optional() does not crash anymore the first time it is run.
git-svn-id: svn://localhost/gambas/trunk@3216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The search window now can browse in all source files only.
* BUG: The search list is correctly refreshed for project text files.
* NEW: The debug panel has been slightly redesigned. Local and global
variables lists are always sorted now.
[INTERPRETER]
* BUG: Do not try to run the "_exit" special method if the class load
has previously failed.
* BUG: Do not release the automatic instance when is it invalid.
* BUG: Check that the automatic instance is valid before using it.
git-svn-id: svn://localhost/gambas/trunk@3215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Dialog.SelectFont() and Dialog.SelectColor() now honor the
Dialog.Title property.
git-svn-id: svn://localhost/gambas/trunk@3198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Utility windows now get the focus back after having shown a modal
window.
git-svn-id: svn://localhost/gambas/trunk@3197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use a true popup now to display the editor procedure list.
[GB.FORM.MDI]
* NEW: Slightly change the look of the toolbar configuration dialog.
[GB.QT4]
* BUG: Popups are correctly activated when shown now.
git-svn-id: svn://localhost/gambas/trunk@3195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when scanning project class header.
[GB.FORM]
* NEW: Add svg files for "linux" and "gambas" icons.
* NEW: Stock.Debug is a new property that makes the Stock class print
debugging message when set.
* NEW: The Stock debugging messages are also activated if the environmental
variable named "GB_STOCK_DEBUG" is set.
* BUG: Better detection of how icons are stored inside themes.
* NEW: Icons directories are browsed theme by theme instead of theme being
browsed directory by directory. That follows the freedesktop
specifications.
[GB.QT4.EXT]
* BUG: Highlight.Add() now correctly handles when more than 1024
successive characters have the same highlight pattern.
git-svn-id: svn://localhost/gambas/trunk@3193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the help browser for classes whose name begins with an
underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing
classes.
[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.
[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at
the end of the file.
[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at
the end of the expression.
[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.
[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.
git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Reload menu in text editor.
* NEw: Inserting colors works even if there is no syntax highlighting.
* NEW: The main toolbar has one button for each main menu. That way, the
user can put the menus inside the main toolbar so that eveything fit on
one line.
* NEW: Hiding the menu now displays a removable warning message.
[WIKI CGI SCRIPT]
* NEW: Formatting characters ('*','/','_','=') are not taken into account
inside a word.
[GB.FORM]
* NEW: ButtonBox has an Action property now.
* NEW: Message.Optional() is new method to display an optional message,
i.e. a message the user can decide to not display anymore.
* BUG: TableView handle arrow keys better now.
[GB.FORM.MDI]
* NEW: One can put expanders inside a toolbar.
[GB.GTK]
* BUG: TabStrip now uses its own window, so that it is not partially
visible when covering other widgets.
* NEW: Action[].Controls is new property that returns the list of all
controls and menus associated with an action.
[GB.QT4]
* NEW: Action[].Controls is new property that returns the list of all
controls and menus associated with an action.
git-svn-id: svn://localhost/gambas/trunk@3165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ComboBox does not lose focus when its ReadOnly property is set.
git-svn-id: svn://localhost/gambas/trunk@3163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some new icons.
[GB.GTK]
* BUG: Fix the error message when the SvgImage.Load() method fails.
[GB.QT4]
* BUG: Fix the error message when the SvgImage.Load() method fails.
git-svn-id: svn://localhost/gambas/trunk@3153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Polish the DirChooser/FileChooser bookmark button.
[GB.QT4]
* BUG: Send expected Leave and Enter events when a popup is closed.
git-svn-id: svn://localhost/gambas/trunk@3146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the DirView behaviour when creating a new folder.
* NEW: Replace the DirView directory combo by a label.
git-svn-id: svn://localhost/gambas/trunk@3144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Hardcode some translations directories when searching for Qt
translation files: '/usr/lib/qt4/translations' and
'/usr/share/qt4/translations'.
git-svn-id: svn://localhost/gambas/trunk@3142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: More snippets for declaring local variables: "di" declares an
integer variable, "ds" a string variable...
[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect()
method takes it into account now.
[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event
handler.
[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is
buffered, and if the HTTP client can handle it of course.
git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Main window layout follows main toolbar size correctly again.
[GB.FORM.MDI]
* NEW: Toolbar are now configured through a popup menu. The toolbar handle
has been removed.
[GB.QT4]
* BUG: AutoResize property now works in both dimensions for horizontal and
vertical arrangements.
git-svn-id: svn://localhost/gambas/trunk@3126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Redesign the main window toolbar so that it does not bug anymore
when being configured.
git-svn-id: svn://localhost/gambas/trunk@3123 867c0c6c-44f3-4631-809d-bfa615b0a4ec