Commit graph

8439 commits

Author SHA1 Message Date
gambas
d353cd3e69 Welcome dialog: Void example tab does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Welcome dialog: Void example tab does not crash anymore.
2020-10-21 19:56:24 +02:00
gambas
d25f92bc61 Use 'gb.gui' instead of 'gb.gui.qt', so that GTK+ component can be used.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use 'gb.gui' instead of 'gb.gui.qt', so that GTK+ component can be used.
2020-10-21 01:08:09 +02:00
gambas
9768081288 Use the new Web browser of the 'gb.gui.webview' component.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Web browser of the 'gb.gui.webview' component. Not everything works at the moment.
2020-10-21 01:01:44 +02:00
gambas
5a506877ab When changing the geometry of a control, the move is done before the resize, to get the same behaviour as the Qt components.
[GB.GTK]
* BUG: Fix an uninitialized flag in 'gmainwindow.cpp'.
* BUG: When changing the geometry of a control, the move is done before the resize, to get the same behaviour as the Qt components.

[GB.GTK3]
* BUG: Fix an uninitialized flag in 'gmainwindow.cpp'.
* BUG: When changing the geometry of a control, the move is done before the resize, to get the same behaviour as the Qt components.
2020-10-21 00:49:32 +02:00
gambas
6e6f4053e9 Work continues on the new WebView.
[GB.QT5.WEBVIEW]
* NEW: WebSettings: All WebView share the same settings.
* NEW: WebSettings: Font size properties are in points now.
* NEW: WebView: The NewView event is raised when a new WebView is requested for a new page.
* NEW: WebView: The NewView property must be set to the new WebView as the answer to the NewView event.
* NEW: WebView: The Link property returns the last hovered link.
* NEW: WebView: The Link event does not take any argument anymore.
* BUG: WebView: Fix the History property.
* NEW: WebView: Cancelling the Start event cancels the page load (same beahviour in gb.gtk3).
2020-10-21 00:45:28 +02:00
gambas
f7e6f5ba4a Work continues on the new WebView.
[GB.GTK3.WEBVIEW]
* NEW: WebSettings: The default settings object is common to all WebView.
* NEW: WebSettings: Font size properties are in points now.
* NEW: WebView: The NewView event is raised when a new WebView is requested for a new page.
* NEW: WebView: The NewView property must be set to the new WebView as the answer to the NewView event.
* NEW: WebView: The Link property returns the last hovered link.
* NEW: WebView: The Link event does not take any argument anymore.
2020-10-21 00:41:12 +02:00
gambas
7387b7b116 MediaView: Ensure that the video DrawingArea has its own window on gb.gtk/gb.gtk3.
[GB.MEDIA.FORM]
* BUG: MediaView: Ensure that the video DrawingArea has its own window on gb.gtk/gb.gtk3.
2020-10-19 23:05:30 +02:00
gambas
5516d43fa4 Enhance the behaviour of the version control dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Version control dialog: Ignore changes in white spaces in the diff.
* NEW: Version control dialog: Always save the commit log, even if the dialog is cancelled.
* NEW: Version control dialog: Use explicit commit buttons now.
2020-10-19 23:03:20 +02:00
gambas
18cd2a48ed Fix global toolbars layout management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix global toolbars layout management.
2020-10-19 23:02:36 +02:00
gambas
4433597ff6 Fixes in ScrollArea, HSplit, VSplit and ListBox.
[GB.GUI.BASE]
* BUG: ScrollArea: Delete shadows differently to better support GTK+.
* NEW: HSplit & VSplit: Handle the Design property.
* NEW: ListBox: Setting the Index property with an incorrect value now raise an explicit error.
2020-10-19 22:54:03 +02:00
gambas
279e56381f Lots of 'gb.gtk' and 'gb.gtk3' fixes.
[GB.GTK]
* NEW: Control.Design is partially implemented.
* BUG: A control being dragged cannot be explicitely destroyed anymore.
* NEW: DrawingArea: Paint default color is now its foreground color.
* BUG: ToolButtons do not steal focus anymore.
* BUG: Fix focus management so that it behaves like Qt.
* OPT: Control: Modifying the Expand property does not trigger an arrangement anymore if the Ignore property is set.
* BUG: Control: Fix Raise() and Lower() method that sometimes hid the control.
* BUG: Windows can now take focus by default.
* BUG: Menu: Shortcuts are now automatically disabled when the menu or one if its parent is disabled.

[GB.GTK3]
* NEW: Control.Design is partially implemented.
* BUG: Fix Style.PaintCheck() and Style.PaintOption().
* BUG: A control being dragged cannot be explicitely destroyed anymore.
* NEW: DrawingArea: Paint default color is now its foreground color.
* BUG: ToolButtons do not steal focus anymore.
* BUG: Fix focus management so that it behaves like Qt.
* OPT: Control: Modifying the Expand property does not trigger an arrangement anymore if the Ignore property is set.
* BUG: Control: Fix Raise() and Lower() method that sometimes hid the control.
* BUG: Color: Fix button, tooltip and link system colors and support more themes.
* BUG: Windows can now take focus by default.
* BUG: Menu: Fix indicator drawing.
* BUG: Menu: Shortcuts are now automatically disabled when the menu or one if its parent is disabled.
2020-10-19 22:42:15 +02:00
gambas
b2fafd930f Some fixes on foreground color management.
[GB.QT4]
* BUG: DrawingArea: Paint default color is now its foreground color.
* BUG: Fix foreground color inheritance through containers.

[GB.QT5]
* BUG: DrawingArea: Paint default color is now its foreground color.
* BUG: Fix foreground color inheritance through containers.
2020-10-19 22:32:43 +02:00
gambas
4dea9a2c75 Workaround a bug in 'xdg-desktop-menu' that triggers on Alpine systems.
[CONFIGURATION]
* BUG: Workaround a bug in 'xdg-desktop-menu' that triggers on Alpine systems.
2020-10-18 00:53:15 +02:00
gambas
420e69a551 Fix 'make install' that should now correctly remove all installed files.
[CONFIGURATION]
* BUG: Fix 'make install' that should now correctly remove all installed files.
2020-10-17 23:57:34 +02:00
gambas
d89a27e752 ToolBar: Layout is a new synonymous property of Settings.
[GB.FORM.MDI]
* NEW: ToolBar: Layout is a new synonymous property of Settings.
2020-10-17 23:30:50 +02:00
gambas
25373331b4 Fix installation of IDE icons and menu.
[CONFIGURATION]
* BUG: Fix installation of IDE icons and menu.
2020-10-17 18:08:08 +02:00
gambas
b26fe3a32d Darker green color for 'apply' and 'call' icons.
[GB.FORM.STOCK]
* NEW: Darker green color for 'apply' and 'call' icons.
2020-10-16 12:56:22 +02:00
gambas
726c0023a8 Some fixes in icons and mimetypes installation.
[CONFIGURATION]
* NEW: Update Gambas IDE icons.
* NEW: Install an icon for the Gambas IDE.
* BUG: Uninstall mimetypes for Gambas script and server pages.
2020-10-16 02:36:50 +02:00
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