Commit graph

5387 commits

Author SHA1 Message Date
Benoît Minisini
66f5c498d2 [INTERPRETER]
* BUG: Shell$() does not try to convert into current locale anymore.


git-svn-id: svn://localhost/gambas/trunk@7542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 11:11:52 +00:00
Benoît Minisini
a6f458e05c [INTERPRETER]
* 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
2015-12-30 18:11:01 +00:00
Benoît Minisini
7b734661d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Connection editor: Moving index fiels now correctly marks the connection as modified.


git-svn-id: svn://localhost/gambas/trunk@7540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 18:05:20 +00:00
Benoît Minisini
97ab7c0a3a [INTERPRETER]
* BUG: Correctly load optional exported classes at component loading.


git-svn-id: svn://localhost/gambas/trunk@7539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 17:10:00 +00:00
Fabien Bodard
c255863403 [GB.REPORT2]
* BUG: Remove unneeded variable initialization.


git-svn-id: svn://localhost/gambas/trunk@7538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 13:58:23 +00:00
Benoît Minisini
b9b46f3873 [CONFIGURATION]
* 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
2015-12-27 18:16:32 +00:00
Benoît Minisini
f63e8caf6b [COMPILER]
* BUG: Optional exported classes are now correctly inserted into '*.list' files.


git-svn-id: svn://localhost/gambas/trunk@7535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-22 20:41:18 +00:00
Benoît Minisini
bf3b070c70 [GB.DB.SQLITE3]
* BUG: Handle double quotes in table schemas, when detecting auto-increment
  fields.


git-svn-id: svn://localhost/gambas/trunk@7534 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-22 00:39:47 +00:00
Fabien Bodard
c2fb96c345 [GB.REPORT2]
* 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
2015-12-17 20:51:10 +00:00
Fabien Bodard
a2290a6d79 [GB.REPORT]
* BUG: Adding a forgotten file.


git-svn-id: svn://localhost/gambas/trunk@7532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:20:34 +00:00
Fabien Bodard
7b3b2ee0c7 [GB.REPORT]
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
2015-12-16 11:17:56 +00:00
Benoît Minisini
4e993933c5 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Use debhelper version 9 requirement everywhere.


git-svn-id: svn://localhost/gambas/trunk@7527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 02:06:09 +00:00
Benoît Minisini
b4c6feae13 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-15 02:01:07 +00:00
Benoît Minisini
adc0f772a2 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-15 01:50:27 +00:00
Benoît Minisini
a5c770607d [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-12 12:03:20 +00:00
Benoît Minisini
e1ee3f7115 [GB.QT4]
* BUG: Window.Border property works correctly again.


git-svn-id: svn://localhost/gambas/trunk@7515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-12 11:39:20 +00:00
Fabien Bodard
406fde1827 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-11 11:02:34 +00:00
Benoît Minisini
8e05c10ece [GB.GTK]
* 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
2015-12-10 23:14:17 +00:00
Henrique
12cb188e10 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@7510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 22:43:04 +00:00
Fabien Bodard
23058fcc2d [GB.REPORT2]
* 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
2015-12-10 14:35:51 +00:00
Benoît Minisini
88f79e6a45 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm client: Farm account passwords should be correctly remembered
  now.


git-svn-id: svn://localhost/gambas/trunk@7508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 00:43:44 +00:00
Benoît Minisini
dd5a3a3ee5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of color properties with alpha value.


git-svn-id: svn://localhost/gambas/trunk@7507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-06 17:38:11 +00:00
Benoît Minisini
18ac7691c3 [GB.DB.POSTGRESQL]
* 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
2015-12-06 00:12:15 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-05 18:44:58 +00:00
Benoît Minisini
a339e66a94 [CONFIGURATION]
* NEW: Update Gambas 3 appdata XML file.


git-svn-id: svn://localhost/gambas/trunk@7504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 17:16:38 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-05 11:14:30 +00:00
Benoît Minisini
da9e37f4c0 [GB.DESKTOP]
* NEW: Update xdg-utils scripts to the last version (1.1.1).


git-svn-id: svn://localhost/gambas/trunk@7502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 01:04:40 +00:00
Benoît Minisini
145edbfec5 [GB.REPORT2]
* BUG: ReportView: Initialize the temporary image buffer contents when
  grayscale is enabled. Otherwise uninitialized pixels are painted.


git-svn-id: svn://localhost/gambas/trunk@7501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 00:46:12 +00:00
Benoît Minisini
9125907102 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-04 23:46:30 +00:00
Benoît Minisini
6a5a0b0dc1 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-04 23:23:08 +00:00
Benoît Minisini
c5b1165909 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-04 21:48:45 +00:00
Benoît Minisini
1e32bb79dd [GB.DESKTOP.X11]
* 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
2015-12-04 19:57:17 +00:00
Benoît Minisini
52cdf4f324 [DEVELOPMENT ENVIRONMENT]
* 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
2015-12-02 19:36:46 +00:00
Benoît Minisini
e854439f50 [GB.NET.SMTP]
* NEW: Support for PLAIN and CRAM-MD5 authentications.


git-svn-id: svn://localhost/gambas/trunk@7495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-30 02:18:18 +00:00
Benoît Minisini
40c8517465 [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-29 14:19:13 +00:00
Benoît Minisini
ab219112ba [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of common properties of unknown controls again.


git-svn-id: svn://localhost/gambas/trunk@7493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-25 01:36:58 +00:00
Benoît Minisini
7362fae0ac [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-25 01:28:36 +00:00
Benoît Minisini
17a4a7bf5f [GB.GUI.BASE]
* 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
2015-11-24 03:43:42 +00:00
Benoît Minisini
8b9f351c62 [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-23 23:52:00 +00:00
Benoît Minisini
f927974b19 [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-23 19:56:52 +00:00
Benoît Minisini
c8499d454f [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-21 20:23:20 +00:00
Benoît Minisini
9268df987c [GB.EVAL.HIGHLIGHT]
* 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
2015-11-21 05:00:57 +00:00
Benoît Minisini
e525d08dd7 [INTERPRETER]
* BUG: Object.Raise() now works correctly with events having arguments.


git-svn-id: svn://localhost/gambas/trunk@7486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 05:00:27 +00:00
Benoît Minisini
636c68c68d [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix crashes with selections having no extents.


git-svn-id: svn://localhost/gambas/trunk@7485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 04:54:45 +00:00
Benoît Minisini
c4631efb8d [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-21 03:29:21 +00:00
Benoît Minisini
5a36c89169 [GB.FORM.EDITOR]
* BUG: Don't crash while deleting selection.


git-svn-id: svn://localhost/gambas/trunk@7483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-20 23:28:19 +00:00
Benoît Minisini
8d24b22411 [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-18 01:29:28 +00:00
Benoît Minisini
794122fe66 [DEVELOPMENT ENVIRONMENT]
* 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
2015-11-17 00:57:06 +00:00
Benoît Minisini
759dabeb81 [GB.GTK]
* 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
2015-11-16 14:31:24 +00:00
Benoît Minisini
2ccdb3336c [GB.WEB.FORM]
* 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
2015-11-16 06:07:06 +00:00