* BUG: WebTable: Don't display progress animation if there is no rows to load.
git-svn-id: svn://localhost/gambas/trunk@7561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebScrollView: A new container that just add scrollbars if its contents is too wide.
* BUG: WebTable: Clear() also resets the horizontal scroll position.
* BUG: Remove some debugging messages in the js library.
git-svn-id: svn://localhost/gambas/trunk@7559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebTable: Clear() is a new method that sets the row count and the scrolling position to zero.
* NEW: WebTable: If a scrolling request fails, send back to the server the scrolling position.
git-svn-id: svn://localhost/gambas/trunk@7557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebTable: ScrollX and ScrollY are two new properties that store the scrolling state of the table.
* NEW: WebTable: Scrolling is preserved between refresh.
* NEW: WebTable: Missing rows are now automatically added when the scrolling bar reaches the end of the table.
git-svn-id: svn://localhost/gambas/trunk@7553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: WebTable: Cell foreground color is correctly taken into account.
git-svn-id: svn://localhost/gambas/trunk@7552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: WebForm: Set the window container Ignore property.
* BUG: WebContainer: Correctly take the Ignore property into account.
git-svn-id: svn://localhost/gambas/trunk@7551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Compress style sheet and javascript library.
* OPT: Put popup windows inside an intermediate container, so that refreshing a window does not refresh the entire page.
git-svn-id: svn://localhost/gambas/trunk@7550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebForm: Width and Height properties now act as minimal dimensions if the form is used as a resizable dialog.
* BUG: WebWindow: Remove the mozilla specific style sheet of window close button.
git-svn-id: svn://localhost/gambas/trunk@7549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebControl: If Expand is FALSE, then prevent the control from shrinking.
* NEW: WebTable: Columns now have a Width property, which defines its minimum width.
* NEW: WebLabel: Allow wrapping, but align vertically to the baseline and hides overflowing text. Not perfect yet... :-(
git-svn-id: svn://localhost/gambas/trunk@7543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: _ready() is new special method that is called when an object construction is completly finished.
[COMPILER]
* NEW: Remove the call to _load() method in form constructors.
[GB.WEB.FORM]
* BUG: WebExpander: Remove a debugging message.
* NEW: WebForm.Debug is a new static property that, if set, dumps all exchanges between the server and the client in the browser console.
* NEW: Use the new _ready special method.
* NEW: WebLabel: Add the Border property.
* NEW: WebLabel: Alignment is a new property that defines the label horizontal alignment.
* NEW: A few changes in default style sheet.
git-svn-id: svn://localhost/gambas/trunk@7541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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: 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: 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: 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: 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: 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: 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
* 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
* 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
* 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
* 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: 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