Commit graph

8471 commits

Author SHA1 Message Date
gambas
dfa83a2454 FileView: Path is a new read-only property that return the absolute path of the current selected file.
[GB.FORM]
* NEW: FileView: Path is a new read-only property that return the absolute path of the current selected file.
2020-10-16 01:32:52 +02:00
gambas
c3e224bd76 Fix GUI default layouts.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix GUI default layouts.
2020-10-11 22:37:52 +02:00
gambas
10427e7ac9 Many bug fixes in GTK components.
[GB.GTK]
* BUG: Button text is not truncated anymore.
* BUG: Disabled button icons are now correctly desaturated.
* BUG: Fix a memory leak in the Application.Restart property.
* BUG: Window close management is now similar to QT components' one.
* BUG: Form.Load() now behaves correctly if the static instance is already created.
* NEW: Separators are drawn he same wat as in Qt components.

[GB.GTK3]
* BUG: Button text is not truncated anymore.
* BUG: Disabled button icons are now correctly desaturated.
* BUG: Fix a memory leak in the Application.Restart property.
* BUG: Window close management is now similar to QT components' one.
* BUG: Form.Load() now behaves correctly if the static instance is already created.
* NEW: Separators are drawn he same wat as in Qt components.
2020-10-10 16:17:54 +02:00
gambas
75f5a6f907 Separator: Do not use widget theme for drawing.
[GB.QT4]
* NEW: Separator: Do not use widget theme for drawing.
* OPT: Showing a control with Ignore property set does not trigger a parent arrangement anymore.

[GB.QT5]
* NEW: Separator: Do not use widget theme for drawing.
* OPT: Showing a control with Ignore property set does not trigger a parent arrangement anymore.
2020-10-10 14:55:55 +02:00
gambas
834ad5d882 Fix control arrangement, buttons appearance, ToolButton focus stealing, and embedded windows resize event.
[GB.GTK]
* BUG: Control: Make MoveResize() method behave the same way as in QT components.
* BUG: Container: Arrange contents only when mapped, as in QT components.
* BUG: ToolButton: Do not steal the focus anymore when clicked.
* NEW: Button & ToolButton: Draw buttons the same way as in QT components.

[GB.GTK3]
* BUG: Control: Make MoveResize() method behave the same way as in QT components.
* BUG: Container: Arrange contents only when mapped, as in QT components.
* BUG: ToolButton: Do not steal the focus anymore when clicked.
* NEW: Button & ToolButton: Draw buttons the same way as in QT components.
* BUG: Window: Embedded windows now correctly raise their Resize event.
2020-10-08 01:22:16 +02:00
gambas
b275b3a358 Project tree: Fix directory creation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Fix directory creation.
2020-10-07 14:51:14 +02:00
gambas
7b37117b9d Fix Variant arrays sort when a mode is specified.
[INTERPRETER]
* BUG: Fix Variant arrays sort when a mode is specified.
2020-10-07 01:32:44 +02:00
gambas
c4f7b69ee4 Fix Control Lower(), Raise() and Refresh() methods.
[GB.GTK]
* BUG: Fix Control.Lower() and Control.Raise() methods.
* BUG: Fix Control.Refresh() method when the update area is specified.

[GB.GTK3]
* BUG: Fix Control.Lower() and Control.Raise() methods.
* BUG: Fix Control.Refresh() method when the update area is specified.
2020-10-07 00:43:54 +02:00
gambas
9df7f50047 Child processes do not inherit locks anymore. Workaround libraries that override SIGCHLD handler.
[INTERPRETER]
* BUG: Child processes do not inherit locks anymore.
* BUG: Workaround libraries like 'glib' that override SIGCHLD handler by checking and reinstalling it at each process run.
2020-10-06 16:40:58 +02:00
gambas
ba46ed80b7 MessageView: Speed animation up.
[GB.FORM]
* NEW: MessageView: Speed animation up.
2020-10-06 16:39:29 +02:00
gambas
3392fabda2 TerminalView: Take padding into account when computing the number of visible lines.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Take padding into account when computing the number of visible lines.
2020-10-06 16:38:29 +02:00
gambas
fa65f45d5d Fix management of Paint.Font. Underline and Strikeout properties are now correctly drawn.
[GB.GTK]
* BUG: Fix management of Paint.Font. Underline and Strikeout properties are now correctly drawn.

[GB.GTK3]
* BUG: Fix management of Paint.Font. Underline and Strikeout properties are now correctly drawn.
2020-10-06 01:39:12 +02:00
gambas
bc8334bd92 Help browser: Deal with possible missing GUI component information files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Deal with possible missing GUI component information files.
* BUG: Do not warn when generating the executable twice without any change, if project version comes from a 'VERSION' file.
2020-10-05 19:04:10 +02:00
gambas
0330156ab0 Void tooltips do not display anything anymore.
[GB.GTK]
* OPT: Moving or resizing a control with Ignore property set does not trigger a arrangment anymore.
* BUG: Void tooltips do not display anything anymore.

[GB.GTK3]
* OPT: Moving or resizing a control with Ignore property set does not trigger a arrangment anymore.
* BUG: Void tooltips do not display anything anymore.
2020-10-03 02:48:38 +02:00
gambas
868b769e1c Make '.project' format backward-compatible.
[DEVELOPMENT ENVIRONMENT]
* BUG: Make '.project' format backward-compatible.
* NEW: Project argument dialog: Save dialog geometry.
2020-10-02 10:19:52 +02:00
gambas
2370d3507a TextArea: Fix both Font and Background property.
[GB.GTK3]
* BUG: TextArea: Fix both Font and Background property.
2020-10-02 09:53:57 +02:00
gambas
df83543ab3 Fix Menu proxy management and Control.Refresh().
[GB.GTK]
* BUG: Fix Menu proxy management.
* BUG: Fix Control.Refresh() method when arguments are specified.
* BUG: Fix an uninitalized internal control flag.

[GB.GTK3]
* BUG: Fix Menu proxy management.
* BUG: Fix Control.Refresh() method when arguments are specified.
* BUG: Fix an uninitalized internal control flag.
2020-10-01 23:23:40 +02:00
gambas
aefc635d54 Ignore CVS and CVSROOT directories when searching for source files to compile.
[COMPILER]
* BUG: Ignore CVS and CVSROOT directories when searching for source files to compile.
2020-10-01 23:22:30 +02:00
gambas
d9e2d27580 Button grab is now automatically released when a new event loop is started.
[GB.GTK]
* BUG: Button grab is now automatically released when a new event loop is started.

[GB.GTK3]
* BUG: Button grab is now automatically released when a new event loop is started.
2020-09-30 21:02:47 +02:00
gambas
fd1836b8d1 Fix a bad include.
[GB.QT4.WEBVIEW]
* BUG: Fix a bad include.
2020-09-30 18:40:43 +02:00
gambas
5ae68582e6 Add 'gb.qt4.webview' component.
[GB.GUI.WEBVIEW]
* NEW: Handle 'gb.qt4.webview'.

[GB.QT4.WEBVIEW]
* NEW: New component based on QtWebKit like 'gb.qt4.webkit'.
2020-09-30 17:43:26 +02:00
gambas
0692547c25 TextArea background color property now works as expected.
[GB.GTK3]
* BUG: TextArea background color property now works as expected.
2020-09-29 23:32:50 +02:00
gambas
c93184f275 Fix management of projects using CVS.
[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore 'CVS', 'CVSROOT' and '.svn' directories when browsing the project.
* NEW: Creating a directory named 'CVS' or 'CVSROOT' is now forbidden.
2020-09-29 22:29:21 +02:00
gambas
0acdc0941c The password dialog is not stacked above other windows anymore, but just raised on opening.
[GB.FORM.DIALOG]
* BUG: The password dialog is not stacked above other windows anymore, but just raised on opening.
2020-09-29 00:40:43 +02:00
gambas
df30233faa WebView: Implement events, and the Icon and Progress properties.
[GB.GTK3.WEBVIEW]
* NEW: WebView: Implement events.
* NEW: WebView: Implement the Icon and the Progress properties.

[GB.QT5.WEBVIEW]
* NEW: WebView: Implement events.
* NEW: WebView: Implement the Icon and the Progress properties.
2020-09-29 00:36:23 +02:00
gambas
66e1539a4f Fix containers Indent property.
[GB.GTK]
* BUG: Fix containers Indent property.

[GB.GTK3]
* BUG: Fix containers Indent property.

[GB.QT4]
* BUG: Fix containers Indent property.

[GB.QT5]
* BUG: Fix containers Indent property.
2020-09-29 00:33:42 +02:00
gambas
ff3335e108 Form editor: Drawing control names should work correctly now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Drawing control names should work correctly now.
2020-09-27 20:17:54 +02:00
gambas
f2f9623c14 Correctly catch errors raised inside event handlers in all cases.
[INTERPRETER]
* BUG: Correctly catch errors raised inside event handlers in all cases.
2020-09-27 01:14:54 +02:00
gambas
63e83807c2 Widget tooltips now handle newlines and linefeeds the same way as in Qt.
[GB.GTK]
* BUG: Widget tooltips now handle newlines and linefeeds the same way as in Qt.

[GB.GTK3]
* BUG: Widget tooltips now handle newlines and linefeeds the same way as in Qt.
2020-09-26 18:47:04 +02:00
gambas
a8f94dc42a Project arguments dialog: quote arguments only if really needed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Remove now useless classes.
* BUG: Project arguments dialog: quote arguments only if really needed.
2020-09-25 20:55:40 +02:00
gambas
501210abe3 Update '.gitlab-ci.yml' for new web browser components. 2020-09-25 20:34:55 +02:00
gambas
0499715439 Update '.gitlab-ci.yml' for new web browser components. 2020-09-25 14:30:55 +02:00
gambas
5577b3c6cf Update '.gitlab-ci.yml' for new web browser components. 2020-09-25 13:57:30 +02:00
gambas
11f22c9158 Update '.gitlab-ci.yml' for new web browser components. 2020-09-25 13:26:09 +02:00
gambas
d0befe9414 Forgot a class declaration.
[GB.GTK3.WEBVIEW]
* BUG: Forgot a class declaration.
2020-09-25 11:42:59 +02:00
gambas
81f557229d Form editor: Floating point number properties now are edited in american format and not using the current localization.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add description of 'gb.gui.webview' component.
* BUG: Form editor: Floating point number properties now are edited in american format and not using the current localization.
2020-09-25 02:59:16 +02:00
gambas
3de8161ae4 Response.SetCookie() now sets the 'SameSite' cookie property to 'Lax' as Firefox specifies.
[GB.WEB]
* BUG: Response.SetCookie() now sets the 'SameSite' cookie property to 'Lax' as Firefox specifies.
2020-09-25 02:57:52 +02:00
gambas
8e37076a8f WebView: Fix settings implementation and add font settings.
[GB.GTK3.WEBVIEW]
* BUG: Forgot to add settings implementation source files.
* NEW: Implement fonts settings.
* BUG: Fix implementation of default settings.

[GB.QT5.WEBVIEW]
* BUG: Forgot to add settings implementation source files.
* NEW: Implement fonts settings.
* BUG: Fix implementation of default settings.
2020-09-25 02:55:29 +02:00
gambas
3e0b760dc6 Work on web browser components continue. New QT/GTK+ web browser switcher component.
[GB.GTK3.WEBVIEW]
* NEW: WebView: Add Title and Zoom properties.
* NEW: WebView: Add History property and history support.

[GB.GUI]
* NEW: Enhance debugging messages.

[GB.GUI.OPENGL]
* NEW: Fix debugging messages.

[GB.GUI.QT]
* NEW: Enhance debugging messages.

[GB.GUI.WEBVIEW]
* NEW: New QT/GTK+ web browser switcher component.

[GB.QT5.WEBVIEW]
* NEW: WebView: Add Title and Zoom properties.
* NEW: WebView: Add History property and history support.
2020-09-23 01:06:18 +02:00
gambas
7128534cb0 Update '.gitlab-ci.yml' for new web browser components. 2020-09-22 15:53:02 +02:00
gambas
bc2d55e1e1 Update '.gitlab-ci.yml' for new web browser components. 2020-09-22 15:47:44 +02:00
gambas
6c713bbb6b Work on new web browser components in progress.
[GB.GTK3.WEBVIEW]
* NEW: Add SetHtml() method.
* NEW: Add Back(), Forward(), Stop() and Reload() methods.

[GB.QT5.WEBVIEW]
* NEW: Add SetHtml() method.
* NEW: Add Back(), Forward(), Stop() and Reload() methods.
2020-09-22 15:08:51 +02:00
gambas
adca68dc4b Update 'gitlab-ci.yml' for new webbrowser components. 2020-09-21 02:00:06 +02:00
gambas
6c248f1af4 Update 'gitlab-ci.yml' for new webbrowser components. 2020-09-21 01:44:09 +02:00
gambas
b770395a3b Start development of new GTK+ and QT web browser components.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add description of gb.gtk3.webview and gb.qt5.webview

[GB.GTK]
* NEW: Enhance gb.gtk API for child components like gb.gtk3.webview.

[GB.GTK3.WEBVIEW]
* NEW: Beginning of a new web browser component based on WebKitGTK.

[GB.QT5.WEBVIEW]
* NEW: Beginning of a new web browser component based on QWebEngineView.
2020-09-21 01:09:47 +02:00
gambas
7ad56a4adb Fix panic message displayed when a JIT method is not found.
[INTERPRETER]
* BUG: Fix panic message displayed when a JIT method is not found.
2020-09-17 23:51:13 +02:00
gambas
4471fb350a Code editor: Hitting F2 on a non-existing label does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Hitting F2 on a non-existing label does not crash anymore.
2020-09-17 12:47:52 +02:00
gambas
6aaf3381d9 WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.
[GB.WEB.GUI]
* BUG: WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.
2020-09-17 09:55:34 +02:00
gambas
2d1d307455 If no language environment variable is defined, use "C" locale instead of "en_US".
[INTERPRETER]
* NEW: Add process id in warning messages.
* BUG: If no language environment variable is defined, use "C" locale instead of "en_US".
2020-09-17 09:52:38 +02:00
gambas
f0606b61c3 Disable jit compiler if no compiler is found.
[INTERPRETER]
* NEW: Disable jit compiler if no compiler is found.

[GB.JIT]
* NEW: Don't crash if no compiler is found, but just tell the interpreter.
2020-09-14 21:15:20 +02:00