Commit graph

792 commits

Author SHA1 Message Date
gambas
2fe8178dfd Fix Style drawing methods of gb.gtk3, as GTK+3 breaks again its themin API (for the second time? third time? I dunno).
[GB.GTK3]
* BUG: Fix Style drawing methods, as GTK+3 breaks again its themin API (for the second time? third time? I dunno).
2017-09-03 01:12:14 +02:00
gambas
358e18707b [GB.QT4]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
* BUG: DblClick event also raises the MouseDown event just before, as in gb.gtk.

[GB.QT5]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
* BUG: DblClick event also raises the MouseDown event just before, as in gb.gtk.

[GB.GTK]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.

[GB.GTK3]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
2017-08-26 17:45:04 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
0dce432dfe [WIKI]
* NEW: The [...](...) syntax can be used for images links to display a thumbnail images opening a link in a new page (usually the image in full size).

[GB.GTK]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.GTK3]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.FORM]
* BUG: DateChooser: Use light colors when disabled.

[GB.QT4]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.QT5]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.


git-svn-id: svn://localhost/gambas/trunk@8132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:24:30 +00:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
5e49bfbd90 [GB.DB.SQLITE2]
* BUG: Make component compile with gcc 6.

[INTERPRETER]
* BUG: Include <cmath> instead of <math.h> for components written in C++, so that they compile with gcc 6.

[GB.GTK]
* BUG: Make component compile with gcc 6.

[GB.GTK3]
* BUG: Make component compile with gcc 6.

[GB.QT4]
* BUG: Make component compile with gcc 6.

[GB.QT5]
* BUG: Make component compile with gcc 6.


git-svn-id: svn://localhost/gambas/trunk@8088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-07 00:08:22 +00:00
Benoît Minisini
d78981442e [GB.GTK]
* BUG: Don't try to set the background and foreground colors of pop-up menus. It does not work in all cases.

[GB.GTK3]
* BUG: Don't try to set the background and foreground colors of pop-up menus. It does not work in all cases.


git-svn-id: svn://localhost/gambas/trunk@8078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 01:45:50 +00:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
aab46220f6 [GB.GTK]
* BUG: Window.Show() works again on hidden windows.

[GB.GTK3]
* BUG: Window.Show() works again on hidden windows.

[GB.QT4]
* BUG: Window.Show() works again on hidden windows.

[GB.QT5]
* BUG: Window.Show() works again on hidden windows.


git-svn-id: svn://localhost/gambas/trunk@8044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 10:57:16 +00:00
Benoît Minisini
558f5f2271 [GB.GTK]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.GTK3]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.QT4]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.QT5]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.


git-svn-id: svn://localhost/gambas/trunk@8034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 18:59:14 +00:00
Benoît Minisini
397a1eec2b [GB.GTK]
* BUG: Raise a "GUI is not initialized" error when trying to create a window too early, as QT components do.

[GB.GTK3]
* BUG: Raise a "GUI is not initialized" error when trying to create a window too early, as QT components do.


git-svn-id: svn://localhost/gambas/trunk@8029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 17:20:25 +00:00
Benoît Minisini
b57b2fb7cd [GB.GTK]
* BUG: Window Hide and Show events are now correctly raised when the window is minimized or restored.

[GB.GTK3]
* BUG: Window Hide and Show events are now correctly raised when the window is minimized or restored.



git-svn-id: svn://localhost/gambas/trunk@8028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 17:07:45 +00:00
Benoît Minisini
c0c01b1d4a [GB.GTK]
* BUG: Font.Styles now returns a pre-defined array and does not crash anymore.

[GB.GTK3]
* BUG: Font.Styles now returns a pre-defined array and does not crash anymore.



git-svn-id: svn://localhost/gambas/trunk@8027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 00:01:29 +00:00
Benoît Minisini
7e058b45d8 [GB.GTK]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.GTK3]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.QT4]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.QT5]
* BUG: Search for popup menu defined by the PopupMenu property recursively.


git-svn-id: svn://localhost/gambas/trunk@8026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-29 22:59:41 +00:00
Benoît Minisini
03fb86d7c3 [GB.QT4]
* BUG: Workaround to prevent system tooltip colors to be unreadable.

[GB.QT5]
* BUG: Workaround to prevent system tooltip colors to be unreadable.

[GB.GTK]
* BUG: Workaround to prevent system tooltip colors to be unreadable.

[GB.GTK3]
* BUG: Workaround to prevent system tooltip colors to be unreadable.


git-svn-id: svn://localhost/gambas/trunk@8004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-28 06:18:10 +00:00
Benoît Minisini
d475c9074c [GB.GTK]
* BUG: Window.Menus[] does not crash anymore.

[GB.GTK3]
* BUG: Window.Menus[] does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:16:16 +00:00
Benoît Minisini
d2afc5bc00 [GB.GTK]
* BUG: TextBox: Make SetFocus() not select the text.

[GB.GTK3]
* BUG: TextBox: Make SetFocus() not select the text.


git-svn-id: svn://localhost/gambas/trunk@7899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-07 20:08:36 +00:00
Benoît Minisini
113b3ff5de [GB.GTK]
* BUG: Make r7877 compile on older versions of GTK+2.


git-svn-id: svn://localhost/gambas/trunk@7878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 21:41:05 +00:00
Benoît Minisini
59b8546ba8 [GB.GTK]
* BUG: TextArea should not crash anymore in some cases when destroyed.


git-svn-id: svn://localhost/gambas/trunk@7877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 18:39:59 +00:00
Benoît Minisini
f03ddee926 [GB.GTK]
* BUG: Don't use gtk_window_set_resizable(), it has a broken behaviour in GTK+3. Use gtk_window_set_geometry_hints instead. 
* BUG: Destroying a parent menu automatically destroys its children as expected now.

[GB.GTK3]
* BUG: Don't use gtk_window_set_resizable(), it has a broken behaviour in GTK+3. Use gtk_window_set_geometry_hints instead. 
* BUG: Destroying a parent menu automatically destroys its children as expected now.
* BUG: Patch all layout methods.


git-svn-id: svn://localhost/gambas/trunk@7863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-25 23:58:28 +00:00
Benoît Minisini
4cd8b9c7f3 [GB.GTK]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash.

[GB.GTK3]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash.


git-svn-id: svn://localhost/gambas/trunk@7861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-22 19:03:18 +00:00
Benoît Minisini
676d06b0d7 [GB.GTK]
* NEW: Implement the Menu.Proxy property.
* BUG: Prevent a crash when a non-void TabStrip is deleted.

[GB.GTK3]
* NEW: Implement the Menu.Proxy property.
* BUG: Prevent a crash when a non-void TabStrip is deleted.


git-svn-id: svn://localhost/gambas/trunk@7840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-15 12:56:57 +00:00
Benoît Minisini
33b6b23b6a [DEVELOPMENT ENVIRONMENT]
* NEW: The editor pop-up menu is now accessible from the top menu-bar through an "Edit" menu.

[GB.QT4]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.QT5]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.GTK]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!

[GB.GTK3]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!


git-svn-id: svn://localhost/gambas/trunk@7839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-14 14:50:03 +00:00
Benoît Minisini
5e9d52e73d [GB.GTK]
* BUG: TextArea: Shortcuts that could modify the text are now disabled if the TextArea is read-only.

[GB.GTK3]
* BUG: TextArea: Shortcuts that could modify the text are now disabled if the TextArea is read-only.


git-svn-id: svn://localhost/gambas/trunk@7830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-23 09:37:38 +00:00
Benoît Minisini
2a3ecf982d [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: New project arguments interface.
* NEW: Debugger: The project arguments is now selectable with a popup menu.
* BUG: Fix position history behaviour.

[INTERPRETER]
* NEW: Object.Type(), Object.Class() and Object.Is() now work with invalid objects.

[GB.FORM]
* NEW: Completion: Support for TextArea editor.
* NEW: Completion: Editor property is now writable.
* NEW: TableView: Raise a new Hide event when the editor is hidden.

[GB.FORM.EDITOR]
* NEW: TextEditor: CursorAt() is a new method that returns the cursor screen position from a line and a column.

[GB.GTK]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GTK3]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GUI.BASE]
* BUG: GridView: Newlines in cells with WordWrap property set are now taken into account correctly.

[GB.QT4]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.QT5]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.


git-svn-id: svn://localhost/gambas/trunk@7825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:01:59 +00:00
Benoît Minisini
40bc4ec9ec [GB.QT4]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.QT5]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK3]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.


git-svn-id: svn://localhost/gambas/trunk@7824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-17 16:15:07 +00:00
Benoît Minisini
383e34ea8b [GB.GTK3]
* BUG: Using colors with alpha component works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:31:21 +00:00
Benoît Minisini
8e1bc2a049 [GB.GTK3]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@7822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:06:06 +00:00
Benoît Minisini
f5c1dd7b00 [GB.GTK3]
* BUG: Background and Foreground colors should work as expected now.
* BUG: SpinBox: Minimum width is a bit larger now.


git-svn-id: svn://localhost/gambas/trunk@7821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:03:47 +00:00
Benoît Minisini
92386d1a6e [GB.GTK]
* BUG: Utility windows correctly take the focus when shown.

[GB.GTK3]
* BUG: Utility windows correctly take the focus when shown.



git-svn-id: svn://localhost/gambas/trunk@7819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-15 00:05:16 +00:00
Benoît Minisini
a341bb730c [GB.GTK3]
* BUG: Background and Foreground colors should work better with most of the controls.


git-svn-id: svn://localhost/gambas/trunk@7818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-14 22:20:37 +00:00
Benoît Minisini
b4910c912f [GB.QT4]
* BUG: Fix Style.FrameWidth and Style.BoxFrameWidth for Breeze style.
* BUG: Fix Window Close event signature.

[GB.QT5]
* BUG: Fix Style.FrameWidth and Style.BoxFrameWidth for Breeze style.
* BUG: Fix Window Close event signature.

[GB.GTK]
* BUG: Fix Window Close event signature.

[GB.GTK3]
* BUG: Fix Window Close event signature.


git-svn-id: svn://localhost/gambas/trunk@7815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-11 16:12:40 +00:00
Benoît Minisini
f0a058e675 [GB.GTK3]
* BUG: Fix compilation with GTK+ version < 3.14.


git-svn-id: svn://localhost/gambas/trunk@7802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-19 22:24:32 +00:00
Benoît Minisini
bad1f7398f [GB.GTK3]
* BUG: Checked menus are now drawn correctly with all widget themes.


git-svn-id: svn://localhost/gambas/trunk@7801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-19 18:59:16 +00:00
Benoît Minisini
f57d3273fe [CONFIGURATION]
* NEW: Support for Haiku operating system.
* BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages.

[GB.FORM]
* NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces.

[GB.UTIL.WEB]
* BUG: Fix collection generation in JSON.Encode().

[GB.WEB.FORM]
* NEW: WebImage: Add the Border property.
* NEW: WebImage: Image property now can be an absolute path.
* BUG: WebButton: Workaround Firefox not supporting flex on buttons.
* BUG: WebComboBox: Enabled property is now taken into account.
* BUG: WebUploadArea: The file name now keeps the uploaded file extension.


git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-24 16:18:48 +00:00
Benoît Minisini
79d8aa1673 [GB.GTK]
* BUG: Button grab is correctly released now when a modal dialog is opened after a button click.

[GB.GTK3]
* BUG: Button grab is correctly released now when a modal dialog is opened after a button click.


git-svn-id: svn://localhost/gambas/trunk@7764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 14:01:49 +00:00
Benoît Minisini
8abf1b70dd [GB.GTK]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.GTK3]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.QT4]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.QT5]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.


git-svn-id: svn://localhost/gambas/trunk@7763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 12:41:17 +00:00
Benoît Minisini
5da7ed1c4e [DEVELOPMENT ENVIRONMENT]
* BUG: Remove old console search code.

[GB.FORM]
* NEW: MenuButton controls now automatically pop up when one of their sibling is already opened.

[GB.FORM.EDITOR]
* NEW: TextEditor: The cursor position label background is now semi-transparent.

[GB.GTK]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.GTK3]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT4]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT5]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.


git-svn-id: svn://localhost/gambas/trunk@7751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 23:55:10 +00:00
Benoît Minisini
dd3d5c351b [GB.GTK]
* BUG: Remove use of g_mem_set_vtable() deprecated Glib API.
* BUG: Fix a warning on NULL constant use.
* BUG: Remove use of some GtkStatusIcon deprecated functions.

[GB.GTK3]
* BUG: Remove use of g_mem_set_vtable() deprecated Glib API.
* BUG: Fix a warning on NULL constant use.
* BUG: Don't use gtk_widget_reparent() deprecated function anymore.
* BUG: Remove use of some GtkStatusIcon deprecated functions.


git-svn-id: svn://localhost/gambas/trunk@7742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 21:24:56 +00:00
Benoît Minisini
5ad88d32a5 [GB.GTK]
* BUG: The minimum and maximum values of ScrollBar and Slider controls now can be equal, to mimic QT components behaviour.

[GB.GTK3]
* BUG: The minimum and maximum values of ScrollBar and Slider controls now can be equal, to mimic QT components behaviour.


git-svn-id: svn://localhost/gambas/trunk@7736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-11 00:02:59 +00:00
Benoît Minisini
e6c400c46c [INTERPRETER]
* BUG: Fix 'gambas.h' header for new version of gcc.


git-svn-id: svn://localhost/gambas/trunk@7715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 11:40:08 +00:00
Benoît Minisini
ff7bbe8a21 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.form.terminal' to the component list.
* NEW: New component status icons.

[INTERPRETER]
* BUG: Correctly export Stream.Term description.
* NEW: Stream.Term.FlowControl is a new property that allows to set or retrieve if flow control is enabled on a terminal stream.

[GB.GTK]
* NEW: Change the name of 'NewChild' event argument.

[GB.GTK3]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT4]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT5]
* NEW: Change the name of 'NewChild' event argument.

[GB.FORM.TERMINAL]
* NEW: Support for the 'Set title' command.
* NEW: TerminalView now emits the Title event when the terminal requests a title change.
* NEW: Support for flow control. When output is suspended, the terminal contents becomes darker.
* BUG: Correctly update the scrollbar when switching between screens.


git-svn-id: svn://localhost/gambas/trunk@7714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 10:54:21 +00:00
Benoît Minisini
79a4ea2a70 [INTERPRETER]
* BUG: Fix a crash on one error message thrown incorrectly.

[GB.FORM.TERMINAL]
* OPT: Optimize drawing routine. Still slow, but less flicker.
* NEW: TerminalView: Add a blink property that enables or disables cursor blink.

[GB.GTK]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?

[GB.GTK3]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?


git-svn-id: svn://localhost/gambas/trunk@7698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 09:25:11 +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
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
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
2343770b6f [GB.FORM.EDITOR]
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
  speed up redraws. This image cache is cleared as soon as the editor
  loses the focus, to save memory, or five seconds after the last redraw.


git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-07 20:57:54 +00:00
Benoît Minisini
d289c1d0ad [GB.GTK3]
* BUG: ScrollView with a border should not display scrollbars anymore when 
  they are void.


git-svn-id: svn://localhost/gambas/trunk@7420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 23:27:35 +00:00
Benoît Minisini
c6ff0fe96f [GB.GTK]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.
  
[GB.GTK3]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.


git-svn-id: svn://localhost/gambas/trunk@7409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 23:11:45 +00:00
Benoît Minisini
7f44f910de [GB.GTK]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.

[GB.GTK3]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.


git-svn-id: svn://localhost/gambas/trunk@7406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 21:50:05 +00:00