* NEW: Add "-march=native" to the compilation flags. Maybe it could speed up then interpretrer a bit?
[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Update layout.
* NEW: Form editor: Clicking on the master selection selects the parent control.
[WEB SITE MAKER]
* NEW: Update for 3.8.4 version.
[GB.DB]
* BUG: Default values are now correctly taken into account by database templates.
[GB.DB.SQLITE3]
* BUG: Fix a possible uninitialized allocation of columns names.
[GB.UTIL]
* NEW: Class.Stat() class name argument now allows "../" in the name to search for classes in parent components.
[GB.WEB]
* NEW: Request.Language returns the main language requested by the HTTP client. This value can be directly assigned to System.Language.
* NEW: Session.Size returns the size of the session file in bytes.
[GB.WEB.FORM]
* NEW: Automatic management of favicon. The application favicon must be a file named "favicon.png" in the ".public" directory.
* NEW: The Align class for alignment constants.
* NEW: WebControl: Any control can raise a Message event now.
* NEW: The Message boxes now raise the "Message" event of the WebControl that opened the message box. If the event is not handled, then the event is raised by the WebForm of the control.
* NEW: The Select class for selection mode constants.
* BUG: WebComboBox: Define the default event.
* NEW: WebContainer: Indent is a new property that allows to add a left padding to the container.
* NEW: WebContainer: Extra children (those created after initialization) are now recreated with their event observer and event name, provided that the event observer is another WebControl.
* NEW: WebContainer: DeleteChildren() is a new method that deletes all container children.
* NEW: WebExpander: New container that implements an expander.
* NEW: WebForm: Teh application language now automatically switches to the language requested by the HTTP client.
* BUG: WebForm: Show() and ShowModal() method now raise the Open event.
* NEW: WebLabel: Add the Border property to the property list.
* NEW: WebLabel: Newlines in label text are automatically replaced by "<br>".
* NEW: WebTable: New control that implements an HTML table with automatic scrollbars. It gets its data through a Data event, and only displays the first hundred elements by default. A button allows to increase the number of displayed elements.
The 'Mode' property allows to define the selection mode. When rows are selectable, an extra columns is added, with radion buttons on single selection mode, and checkboxes on multiple selection mode. The indexes of selected rows is returned by
the 'Selection' property.
* BUG: Many fixes in the default stylesheet.
git-svn-id: svn://localhost/gambas/trunk@7536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Optional exported classes are now correctly inserted into '*.list' files.
git-svn-id: svn://localhost/gambas/trunk@7535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Finally , after 10 years, I managed to solve the numbering problem of cloned elements.
This will allow to manage data groups.
* NEW: Two new variable are supported in the expression evaluator
Page for the page number, and Index for the cloned element index.
ex: =Page
git-svn-id: svn://localhost/gambas/trunk@7533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
NEW: Start to implement an external formula evaluator. This will allow to manage data and format more easily
and at a widget level.
git-svn-id: svn://localhost/gambas/trunk@7531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Don't display functions whose name ends with a '$' in automatic
completion if there is another function having the same name without the
'$' character.
git-svn-id: svn://localhost/gambas/trunk@7526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Pacakger: support for 'gb.gui.qt' and 'gb.gui.qt.webkit' generic
components.
git-svn-id: svn://localhost/gambas/trunk@7525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Connection editor: Request editor is now selectable when QT4 is in
use.
* NEW: Connection editor: A little redesign of the window top toolbar.
git-svn-id: svn://localhost/gambas/trunk@7516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Make the report editor using the Auto arrangement system like
for webforms.
git-svn-id: svn://localhost/gambas/trunk@7512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raise an error now when calling WAIT during a repaint event. This is
-not- a good idea tha can crash everything.
[GB.GTK3]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
-not- a good idea tha can crash everything.
[GB.QT4]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
-not- a good idea tha can crash everything.
[GB.QT5]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
-not- a good idea tha can crash everything.
git-svn-id: svn://localhost/gambas/trunk@7511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new class ReportSizeParser to replace TSizeParse.
TSizeParse is maintained but deprecated.
* NEW: The ReportViewer is updated when the report layout is finished.
git-svn-id: svn://localhost/gambas/trunk@7509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Gambas date/time values without date is now stored as the minimum
possible date that PostgreSQL accepts, '4713-01-01 BC'.
git-svn-id: svn://localhost/gambas/trunk@7506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix image selection when the allowed image root directory is the
'.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
WebForms.
* BUG: WebImage can display SVG files too.
[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.
[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
it fits inside another rectangle frame while keeping its proportions.
git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
default unit.
* BUG: CoordBox is now correctly not localized.
[GB.DB.FORM]
* BUG: Correctly define the default size of controls.
[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.
[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
rectangle, keeping the image proportions.
[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
kind.
git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Report family: Don't crash when the image of a ReportImage or
ReportSvgImage cannot be loaded. Display a big red broken icon instead.
git-svn-id: svn://localhost/gambas/trunk@7500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Form editor: Don't initialize properties of controls having a
"_DrawWith" property. I don't know why I did that, but anyway it prevents
Undo/Redo from working correctly.
git-svn-id: svn://localhost/gambas/trunk@7499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Text editor: Procedure list correctly centers the editor on the
target procedure.
* BUG: Farm software: Software download events are correctly ignored when
the wizard is moved back to the software list.
git-svn-id: svn://localhost/gambas/trunk@7498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not crash when some desktop properties are not defined by the
window manager.
[GB.GTK]
* BUG: Initialize the root window event mask when setting the X11 event
filter.
[GB.GTK3]
* BUG: Initialize the root window event mask when setting the X11 event
filter.
git-svn-id: svn://localhost/gambas/trunk@7497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Form editor: Fix automatic arrangement support.
* BUG: Form editor: Moving child controls should be easier now in automatic
arrangement support. But still far from perfect for row and column
arrangements.
* NEW: Form editor: Paint expanded void containers in web forms like in GUI
forms.
[GB.WEB.FORM]
* BUG: Render hidden children with "display:none" style.
* BUG: Fix rendering of WebTabPanel with no border.
* NEW: Add support for web site "favicon".
git-svn-id: svn://localhost/gambas/trunk@7496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image editor: Rectangle and ellipse tools now have half-pixel
precision.
* BUG: Image editor: The ellipse tool now works correctly when the ellipse
is drawn from its center.
git-svn-id: svn://localhost/gambas/trunk@7494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Form editor: Setting common properties (Text, Background,
Foreground) of unknown controls should work correctly again now.
* BUG: Form editor: Fix automatic arrangement management.
* NEW: Allow each family to declare the base class of controls. This is
used by the property editor.
git-svn-id: svn://localhost/gambas/trunk@7492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: FridView: Increase the size of the invisible row and column resize
handles.
git-svn-id: svn://localhost/gambas/trunk@7491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Centralize family-specific sources in dedicated folders.
* NEW: Form editor: Top and left handles of controls layed out by automatic
arrangement are inactive now.
[GB.WEB.FORM]
* NEW: Implement the Border property for many controls.
* NEW: WebControl.Class is a new property that allows to define a custom
CSS class for any control.
git-svn-id: svn://localhost/gambas/trunk@7490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Form editor: Some icons were redone, with their dark theme version.
* NEW: Form editor: Support for automatic arrangement. It is activated only
for webform form family at the moment.
* NEW: Form editor: Support for custom representation of component
controls. This representation is a GUI control class named
"<family><control>". For example, WebformWebMenu is the IDE control class
that will represent a WebMenu of a Webform.
* NEW: Specific drawing of WebMenu and WebMenuItem controls.
[GB.WEB.FORM]
* BUG: Don't add "display:block" on each control specific stylesheet.
* BUG: WebSeparator is displayed correctly now.
* BUG: Popup-menus are displayed on top of windows now.
* BUG: Popuè-menus are displayed correctly on Chrome now.
git-svn-id: svn://localhost/gambas/trunk@7489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Web form: Support for WebMenuItem drawing.
[GB.WEB.FORM]
* NEW: WebMenu.Image is a new property that allows to define the image of
a menu.
* NEW: WebMenu can be imbricated to make sub-menus.
* NEW: WebMenuItem is usable now.
git-svn-id: svn://localhost/gambas/trunk@7488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add some missing CSS keywords.
[GB.WEB.FORM]
* NEW: WebMenu is a new control that implements a popup menu.
* NEW: WebSeparator is a new control that implements a separator.
* NEW: Message boxes now raise a 'Message' event in their forms when they
are closed.
* NEW: Add Message.Info(), Message.Error() and Message.Question() message
boxes.
* BUG: Fix container arrangement.
* BUG: Deleting a control correctly removes its custom session data.
* NEW: WebMenuItem is a new control supposed to implement a menu item. Not
yet usable.
git-svn-id: svn://localhost/gambas/trunk@7487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Object.Raise() now works correctly with events having arguments.
git-svn-id: svn://localhost/gambas/trunk@7486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Using a form whose name starts with an underscore is now possible.
git-svn-id: svn://localhost/gambas/trunk@7484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the function that detects if a control needs a parent.
* BUG: When adding every new file to the subversion repository, the
'.gambas' directory is now correctly ignored.
[COMPILER]
* NEW: The _load() special method is now called just after the initial form
creation is finished.
[GB.WEB.FORM]
* NEW: Message is a new class for displaying message boxes.
* BUG: Fix management of control names.
* NEW: Implement the WebContainer.Delete() method and WebWindow.Delete()
methods. Child controls are now automatically deleted if their parent is
also deleted.
* NEW: WebControl.Show() and WebControl.Hide() are two new methods that are
synonymous of the Visible property.
* NEW: WebControl acts now like an collection-like array, so that you can
store user data associated with a control in the session.
* NEW: WebControl.Reset() is a new method to reset the control user data.
* NEW: WebForm.ShowModal() shows a form as a modal window.
* NEW: WebForm.Show() does not take an optional parent anymore. Windows are
always shown in the current form.
* NEW: Windows with no initial size are centered.
* NEW: WebImage is a new control that displays an image.
* NEW: WebLabel is a new control that displays a one-line vertically
centered label.
* NEW: WebTextArea is a new control that implements a multi-line text area.
git-svn-id: svn://localhost/gambas/trunk@7482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for WebHBox and WebVBox.
[WIKI CGI SCRIPT]
* NEW: Style for news date with a white background.
[GB.WEB.FORM]
* NEW: WebForm.Resizable is a new property that tells if a form is
resizable when displayed as a window.
* NEW: Declare the '_Similar' properties.
* NEW: Replace the WebForm.Open method by a Show() method that acts on the
from to be opened as a window. Mimic the syntax of GUI components.
* NEW: WebSpinBox is a new control that implements a spin box.
* NEW: WebSlider is a new control that implements a slider.
* BUG: WebTimer.Enabled property now works correctly.
* NEW: WebHBox is a new container that arrange its children horizontally.
* NEW: WebVBox is a new container that arrange its children vertically.
* NEW: Windows now have a blue title bar when they are on top, and a gray
one if they are behind.
* OPT: Don't use elements with absolute positioning in window frames, it
slows down Firefox.
[GB.UTIL.WEB]
* NEW: JS() now can convert any Gambas native value, array, or collection
to a Javascript expression.
git-svn-id: svn://localhost/gambas/trunk@7481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix crashes on desktops not defining some X11 properties.
[GB.GTK3]
* BUG: Fix crashes on desktops not defining some X11 properties.
[GB.QT4]
* BUG: Fix crashes on desktops not defining some X11 properties.
[GB.QT5]
* BUG: Fix crashes on desktops not defining some X11 properties.
git-svn-id: svn://localhost/gambas/trunk@7480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebControl.Raise() is a new method to raise a control in its parent
hierarchy.
* NEW: WebControl.Lower() is a new method to lower a control in its parent
hierarchy.
* NEW: WebControl.Delete() deletes a control.
* NEW: Support for reisable windows.
* NEW: WebForm.Open() is a new method to open a child form as a window
inside the current form.
git-svn-id: svn://localhost/gambas/trunk@7479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Form editor: Decide that a control has a parent according to its
constructor, not to its Virtual state.
* BUG: Form editor: Correctly handle color properties with an alpha value.
* NEW: The '_HiddenControls' property of form controls now can hide
controls from any other components.
[BENCHMARKS]
* NEW: Do less repeats in the 'string 'benchmark.
* NEW: Update the Gambas version of 'mandelbrot' and 'polynom' benchmarks.
[GB.WEB.FORM]
* NEW: A small Color class.
* BUG: WebButton now uses the 'gw-button' CSS class.
* BUG: Fix WebCheckBox rendering.
* NEW: WebRadioButton is a new control that implements a radio button.
* NEW: WebTimer is a new virtual control that implements a timer on the
browser client side.
* NEW: Implement read-write WebComboBox.
* NEW: WebControl now has Background and Foreground properties.
* BUG: Hidden controls do not refresh. A control is hidden if it is not
visible or if one of its parent is not visible.
* NEW: Controls can render JavaScript code.
* NEW: WebTextBox now uses the 'gw-textbox' CSS class.
git-svn-id: svn://localhost/gambas/trunk@7477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Optimize access to objects whose class is "simple", i.e. without
parent, children, special check method, and not virtual.
* OPT: Detect when automatic conversion is useless in arithmetic and
comparison operators.
* OPT: Optimize a bit inequality comparison operators.
git-svn-id: svn://localhost/gambas/trunk@7476 867c0c6c-44f3-4631-809d-bfa615b0a4ec