Commit graph

1027 commits

Author SHA1 Message Date
Benoît Minisini
eefb03c5ba Merge branch 'wayland' of https://gitlab.com/gambas/gambas into wayland 2020-12-21 05:19:07 +01:00
Benoît Minisini
a6311c6b63 Continue working on Wayland support.
[GB.GTK3]
* NEW: Support for specific platforms: X11 & Wayland.

[GB.GTK3.X11]
* NEW: This is the GTK+3 X11 platform component.

[GB.GTK3.WAYLAND]
* NEW: This is the GTK+3 Wayland platform component.
2020-12-21 04:54:14 +01:00
gambas
60249d57ee Merge branch 'master' into wayland 2020-12-21 01:23:08 +01:00
gambas
d4a0982a47 Explicitly hidden startup forms do not popup at startup anymore.
[GB.QT4]
* BUG: Explicitly hidden startup forms do not popup at startup anymore.

[GB.QT5]
* BUG: Explicitly hidden startup forms do not popup at startup anymore.
2020-12-10 04:33:22 +01:00
gambas
e186a1b753 TabStrip should not crash anymore with an undefined symbol.
[GB.QT4]
* BUG: TabStrip should not crash anymore with an undefined symbol.

[GB.QT5]
* BUG: TabStrip should not crash anymore with an undefined symbol.
2020-11-29 00:56:31 +01:00
gambas
21b6007e8a Fix TabStrip control.
[GB.GTK]
* BUG: Fix TabStrip control.

[GB.GTK3]
* BUG: Fix TabStrip control.
2020-11-28 20:20:32 +01:00
gambas
1bf591abe6 Fix some debugging messages.
[GB.QT4]
* NEW: Fix some debugging messages.

[GB.QT5]
* NEW: Fix some debugging messages.
2020-11-24 21:46:23 +01:00
gambas
bdf18360f1 Fix compilation.
[GB.QT4.WEBVIEW]
* BUG: Fix compilation.
2020-11-19 11:38:27 +01:00
gambas
4d47240a73 WebView.Clear() should not make the view crash anymore.
[GB.QT4.WEBVIEW]
* BUG: WebView.Clear() should not make the view crash anymore.
2020-11-18 23:12:40 +01:00
gambas
b2a55d6bc1 Fix TabStrip Design property behaviour.
[GB.GTK]
* BUG: Fix TabStrip Design property behaviour.

[GB.GTK3]
* BUG: Fix TabStrip Design property behaviour.

[GB.QT4]
* BUG: Fix TabStrip Design property behaviour.

[GB.QT5]
* BUG: Fix TabStrip Design property behaviour.
2020-11-15 23:27:08 +01:00
gambas
429e373c91 WebView.Clear() is a new method that resets the view.
[GB.QT4.WEBVIEW]
* NEW: WebView: Clear() is a new method that resets the view.
2020-11-14 03:51:39 +01:00
gambas
1cd8bd9035 Rework Design property management so that it works better.
[GB.GTK]
* NEW: Rework Design property management so that it works better.
* OPT: Cache font metrics to speed up some font properties.

[GB.GTK3]
* NEW: Rework Design property management so that it works better.
* OPT: Cache font metrics to speed up some font properties.

[GB.QT4]
* NEW: Rework Design property management so that it works better.

[GB.QT5]
* NEW: Rework Design property management so that it works better.
2020-11-12 19:58:51 +01:00
gambas
c4a6164f96 Disabled state is now correctly taken into account by style drawing methods.
[GB.QT4]
* BUG: Disabled state is now correctly taken into account by style drawing methods.

[GB.QT5]
* BUG: Disabled state is now correctly taken into account by style drawing methods.
2020-11-11 02:03:10 +01:00
gambas
c9f97a02fe Synchronize with gb.qt5.webview.
[GB.QT4.WEBVIEW]
* NEW: WebView: Add NewView event and NewView property.
* NEW: WebView: Add Link event and Link property.
2020-10-22 00:31:49 +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
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
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
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
e072bdd11f Breeze and oxygen theme fixes should not crash anymore.
[GB.QT4]
BUG: Breeze and oxygen theme fixes should not crash anymore.

[GB.QT5]
* BUG: Breeze and oxygen theme fixes should not crash anymore.
2020-08-21 13:07:14 +02:00
gambas
1c44184a68 Make component compile again.
[GB.QT4]
* BUG: Make component compile again.
2020-08-21 11:55:52 +02:00
gambas
41af42c8d9 Better support of menu bar exported through DBus.
[GB.QT4]
* NEW: Better support of menu bar exported through DBus.
* NEW: Only the Application.MainWindow menubar is exported through DBus.

[GB.QT5]
* NEW: Better support of menu bar exported through DBus.
* NEW: Only the Application.MainWindow menubar is exported through DBus.
2020-08-21 11:25:21 +02:00
gambas
e2eabcdb29 Never export the menu bar through DBus, it crashes on Mate.
[GB.QT4]
* BUG: Never export the menu bar through DBus, it crashes on Mate.

[GB.QT5]
* BUG: Never export the menu bar through DBus, it crashes on Mate.
* BUG: Better support of popups when run on Wayland.
2020-08-21 01:31:19 +02:00
gambas
9f1494b7e8 Fix compilation again.
[GB.QT4]
* BUG: Fix compilation again.
2020-07-15 10:02:43 +02:00
Benoît Minisini
9da50cffe4 Merge branch 'wayland' of https://gitlab.com/gambas/gambas into wayland 2020-07-15 02:54:59 +02:00
Benoît Minisini
5abdab140d Workaround that opens the popup menus at the expected place.
[GB.QT5]
* BUG: Workaround that opens the popup menus at the expected place.
2020-07-15 02:53:09 +02:00
gambas
89b94d073f Still try to make 'gb.qt4' compile again.
[GB.QT4]
* BUG: Still try to make 'gb.qt4' compile again.
2020-07-15 01:45:28 +02:00
Benoît Minisini
7d63a282f8 Merge branch 'wayland' of https://gitlab.com/gambas/gambas into wayland 2020-07-15 00:01:22 +02:00
gambas
88749c43da Work on wayland support continues.
[GB.QT5]
* BUG: 'x11' platform component now works as before.
* BUG: Void 'wayland' platform component is working, the IDE run on Wayland, but a lot of Qt Wayland problems remain.
2020-07-14 23:54:26 +02:00
gambas
1cfa9f4a07 Try to make 'gb.qt4' compile again.
[GB.QT4]
* BUG: Try to make 'gb.qt4' compile again.
2020-07-14 23:34:23 +02:00
gambas
ca4b04b7a5 Make gb.qt4 compile again.
[GB.QT4]
* BUG: Make gb.qt4 compile again.
2020-07-14 22:46:26 +02:00
gambas
3111155cd8 Add void wayland platform component and Desktop.Platform property.
[GB.QT4]
* BUG: Fix compilation of gb.qt4.
* NEW: Desktop.Platform is a new property that returns the current platform (always "x11").

[GB.QT5]
* NEW: Add void wayland platform component.
* NEW: Desktop.Platform is a new property that returns the current platform ("x11" or "wayland").
2020-07-14 17:58:15 +02:00
gambas
f522227695 Working on Wayland support...
[GB.QT5]
* NEW: Remove direct X11 dependencies.
* NEW: Support for platform components.

[GB.QT5.X11]
* NEW: New platform component implementing all the specific x11 stuff.
2020-07-14 16:17:10 +02:00
gambas
3c7d85ba85 Remove some useless X11-related includes.
[GB.QT4]
* BUG: Remove some useless X11-related includes.

[GB.QT5]
* BUG: Remove some useless X11-related includes.
2020-07-11 13:53:29 +02:00
gambas
9a2df79a5b Remove debugging message.
[GB.QT4]
* BUG: Remove debugging message.

[GB.QT5]
* BUG: Remove debugging message.
2020-06-29 22:01:39 +02:00
gambas
b469b83e2b Fix modal and popup window management.
[GB.QT4]
* BUG: A modal window can be opened on top of a popup window without breaking the event loop.

[GB.QT5]
* BUG: A modal window can be opened on top of a popup window without breaking the event loop.
2020-06-29 20:16:30 +02:00
gambas
577779961a Negative values are replaced by zero when setting Application.Busy.
[GB.GTK]
* NEW: Negative values are replaced by zero when setting Application.Busy.

[GB.GTK3]
* NEW: Negative values are replaced by zero when setting Application.Busy.

[GB.QT4]
* NEW: Negative values are replaced by zero when setting Application.Busy.

[GB.QT5]
* NEW: Negative values are replaced by zero when setting Application.Busy.
2020-06-17 18:26:08 +02:00
gambas
c5ff52f645 Modal windows are now actually modal before entering their Open event.
[GB.QT4]
* BUG: Modal windows are now actually modal before entering their Open event.

[GB.QT5]
* BUG: Modal windows are now actually modal before entering their Open event.
2020-05-23 10:02:02 +02:00
gambas
535469a228 Add Mouse.Click property.
[GB.QT4]
* NEW: Mouse.Click is a new property that returns the click index in a multi-click event.
* NEW: Style.Name is now lowercase.
* BUG: Some theme-specific workarounds for Style paint methods.

[GB.QT5]
* NEW: Mouse.Click is a new property that returns the click index in a multi-click event.
* NEW: Style.Name is now lowercase.
* BUG: Some theme-specific workarounds for Style paint methods.
2020-05-19 22:25:31 +02:00
gambas
a520d12ef4 Application.DarkTheme is a new property that returns if the current color scheme is dark.
[GB.GTK]
* NEW: Application.DarkTheme is a new property that returns if the current color scheme is dark.

[GB.GTK3]
* NEW: Application.DarkTheme is a new property that returns if the current color scheme is dark.

[GB.QT4]
* NEW: Application.DarkTheme is a new property that returns if the current color scheme is dark.

[GB.QT5]
* NEW: Application.DarkTheme is a new property that returns if the current color scheme is dark.
2020-05-18 13:23:27 +02:00
gambas
4ffe077529 System tray now works with QT5. Drawing on a cached DrawingArea does not display a warning message anymore.
[GB.DESKTOP.X11]
* BUG: System tray now works with QT5. A display glitch remains.

[GB.QT4]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.

[GB.QT5]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.
* BUG: X11 event filter correctly handle ClientMessage events now.
2020-05-11 18:37:21 +02:00
gambas
ee81637c72 Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.
[GB.GTK]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.

[GB.GTK3]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.

[GB.QT4]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.

[GB.QT5]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.
2020-04-21 08:39:07 +02:00
gambas
ccf1491037 Fix Drag() that was returning the drag frame instead of the target control.
[GB.GTK]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GTK3]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GUI.BASE]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT4]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT5]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.
2020-01-24 08:12:01 +01:00
gambas
da2db608bf TextBox: Add Placeholder property.
[GB.GTK]
* NEW: TextBox: Add Placeholder property. Beware that it does nothing as GTK+2 entry widget does not support placeholder text.

[GB.GTK3]
* NEW: TextBox: Add Placeholder property.

[GB.QT4]
* NEW: TextBox: Add Placeholder property.

[GB.QT5]
* NEW: TextBox: Add Placeholder property.
2020-01-24 08:08:42 +01:00
gambas
0ee8b98ca8 Raise Progress events later on the event loop, to avoir possible crashes of WebView methods.
[GB.QT4.WEBKIT]
* BUG: Raise Progress evens later on the event loop, to avoir possible crashes of WebView methods.

[GB.QT5.WEBKIT]
* BUG: Raise Progress events later on the event loop, to avoir possible crashes of WebView methods.
2020-01-07 02:05:12 +01:00
gambas
4ac699a2f7 Fix incorrect declarations of special methods.
[GB.QT4.WEBKIT]
* BUG: Fix incorrect declarations of special methods.

[GB.QT5.WEBKIT]
* BUG: Fix incorrect declarations of special methods.
2020-01-04 22:03:02 +01:00
gambas
63000a27fe WAIT NEXT is a new instruction that waits for the next event and process it.
[INTERPRETER]
* NEW: WAIT NEXT is a new instruction that waits for the next event and process it.

[COMPILER]
* NEW: Support for the new WAIT NEXT instruction.

[GB.GTK]
* NEW: Support for the new WAIT NEXT instruction.

[GB.GTK3]
* NEW: Support for the new WAIT NEXT instruction.

[GB.QT4]
* NEW: Support for the new WAIT NEXT instruction.

[GB.QT5]
* NEW: Support for the new WAIT NEXT instruction.
2020-01-02 13:08:45 +01:00
gambas
8f35362387 Window: set the window size at creation to 1x1, so that there is no default size.
[GB.QT4]
* BUG: Window: set the window size at creation to 1x1, so that there is no default size.

[GB.QT5]
* BUG: Window: set the window size at creation to 1x1, so that there is no default size.
2019-11-30 07:02:46 +01:00
Laurent Carlier
9e958b2c1e Fix warning about converting a packed CWIDGET pointer.....may result in an unaligned pointer value
Remove PACKED attribute - it doesn't change the size of CWIDGET (56 on x86_64)
2019-11-02 18:53:00 +01:00