* 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
* NEW: Enabled is now a property of the WebControl class.
* NEW: Hidden controls are not rendered anymore.
* NEW: WebCheckBox is a new control that implements a check box.
* NEW: WebComboBox is a new control that implements a combo-box. It is
only read-only at the moment.
git-svn-id: svn://localhost/gambas/trunk@7474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Form editor: Text property is now applied for "draw with" controls.
git-svn-id: svn://localhost/gambas/trunk@7473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Stock: Fix how theme-specific icons are handled. They are now tried
on every possible size and other non theme-specific icons are ignored.
git-svn-id: svn://localhost/gambas/trunk@7472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Components can now use proxy controls to be displayed in the form
editor even if they don't depend on a GUI component.
* BUG: Component containers arrangement is now based on the symbol names of
the Arrange class, not on the symbol values.
[WIKI CGI SCRIPT]
* NEW: Automatic generation of IDE dependencies.
[GB.DESKTOP]
* BUG: Remove a debugging stop.
[GB.WEB.FORM]
* NEW: WebTabPanel is a new TabStrip-like container.
* NEW: Support for multi-containers.
* NEW: WebControl.Ignore is a new property that makes a control use CSS
absolute position.
* NEW: Emit refresh code before event javascript reply.
git-svn-id: svn://localhost/gambas/trunk@7470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Subroutine table is faster to access now.
* OPT: Don't browse temporary directory at end if no temporary file has
been used.
git-svn-id: svn://localhost/gambas/trunk@7469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Collection.Default is a new property that allows to define the
default value returned by a collection when a key has no value. Note that
assigning the default value does not clear the key. You have to
explicitly assign NULL for that.
git-svn-id: svn://localhost/gambas/trunk@7468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Application.Dir is correctly declared now. Consequently, it will
work with JIT compiler.
git-svn-id: svn://localhost/gambas/trunk@7467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash if the VERSION file is incorrect. Display an error
message instead.
[GB.FORM]
* NEW: MessageView: Ignore a message if its contents is the same as the
currently displayed message.
git-svn-id: svn://localhost/gambas/trunk@7465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Button.Enabled is a new property that allows to disable a button.
* BUG: Fix container style generation.
* NEW: WebControl have a Width and Height properties now, which are
synoymous for their style property counterparts.
* OPT: WebControl do not send events if there are no event handler inside
the server code.
* NEW: WebTextBox is a new control that implements a text box.
* NEW: New 'update' message from the client to update a control property in
the server.
* NEW: WebForm.Close() is a new method that resets the form state, and try
to close it. Note that the browser prevent windows to be closed by a
script if they haven't been opened by a script.
* NEW: Control refresh in the browser tries to preserve the current active
element and its selection.
git-svn-id: svn://localhost/gambas/trunk@7464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Contextual help (F2) on classes belonging to the project works
correctly now.
git-svn-id: svn://localhost/gambas/trunk@7463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Application state is now stored correctly and support different
forms at the same time.
git-svn-id: svn://localhost/gambas/trunk@7462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't raise an error while filling the editor procedure combo-box.
Just fill it with nothing.
* BUG: Use the true family name as class name for the root control of a
form.
[GB.HTTPD]
* NEW: The standard error output of CGI scripts is not redirected to the
HTTP client anymore, so that the IDE catch debugging messages printed by
the DEBUG instruction.
[GB.UTIL.WEB]
* NEW: JS is a new class that quotes a string for javascript when used as a
static function.
[GB.WEB.FORM]
* NEW: Control can raise events from the browser to the application.
* NEW: Control properties changed during an event are stored in the session
to make them permanent.
* NEW: Refreshing a control during an event sends the updated HTML to them
browser.
git-svn-id: svn://localhost/gambas/trunk@7461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: TextEditor: Try to detect if the desktop is remote, and disable all
optimizations based on image caches in that case.
git-svn-id: svn://localhost/gambas/trunk@7460 867c0c6c-44f3-4631-809d-bfa615b0a4ec