Commit graph

8866 commits

Author SHA1 Message Date
gambas
93c9cbbe5c Some wayland fixes on menus.
[GB.GTK]
* BUG: Hidden menu bar is now moved in the negative horizontal coordinates so that a click on the CSD title bar does not see it.

[GB.GTK3]
* BUG: Fix Menu.Popup() on Wayland.
* BUG: Hidden menu bar is now moved in the negative horizontal coordinates so that a click on the CSD title bar does not see it.
2020-12-22 03:37:19 +01:00
gambas
5c39034418 Support for Wayland.
[GB.SDL2]
* NEW: The 'GB_GUI_PLATFORM' environement variable allows to select the platform between 'x11' or 'wayland'.
* NEW: By default, the SDL2 'wayland' video driver is used if the 'WAYLAND_DISPLAY' environment variable exists.
2020-12-22 01:52:01 +01:00
gambas
2a26a5d8b0 The 'GB_GUI_PLATFORM' environment variable allows to override the default platform.
[GB.GTK3]
* NEW: The 'GB_GUI_PLATFORM' environment variable allows to override the default platform.

[GB.QT5]
* NEW: The 'GB_GUI_PLATFORM' environment variable allows to override the default platform.
2020-12-22 01:36:13 +01:00
gambas
d12c57041c Fix platform component detection.
[GB.GTK3]
* BUG: Fix platform component detection.
2020-12-21 23:04:12 +01:00
gambas
cc32852d04 Merge branch 'master' into wayland 2020-12-21 17:47:51 +01:00
gambas
05e27f506b Use "$XDG_CURRENT_DESKTOP" before "$KDE_FULL_SESSION" to know if we are running KDE.
[GB.GUI]
* BUG: Use "$XDG_CURRENT_DESKTOP" before "$KDE_FULL_SESSION" to know if we are running KDE.

[GB.GUI.QT]
* BUG: Use "$XDG_CURRENT_DESKTOP" before "$KDE_FULL_SESSION" to know if we are running KDE.
2020-12-21 17:45:26 +01:00
gambas
10abab3811 Merge branch 'master' into wayland 2020-12-21 17:35:15 +01:00
gambas
7716f08584 Fix how menus are destroyed.
[GB.GTK]
* BUG: Fix how menus are destroyed.

[GB.GTK3]
* BUG: Fix how menus are destroyed.
2020-12-21 17:32:41 +01:00
gambas
5fac3c81a0 Printer: Setting OutputFile property to a void string does not toggle printing to file.
[GB.GTK]
* BUG: Printer: Setting OutputFile property to a void string does not toggle printing to file.

[GB.GTK3]
* BUG: Printer: Setting OutputFile property to a void string does not toggle printing to file.
2020-12-21 17:31:05 +01:00
Benoît Minisini
7d81756ead Some fixes in merge with master.
[GB.GTK3]
* BUG: Some fixes in merge with master.
2020-12-21 06:35:40 +01:00
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
7b569604b7 TextEditor: Do not optimize character layouting for non-ASCII text.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not optimize character layouting for non-ASCII text, so that lines including non-western characters are displayed correctly whatever the font.
* NEW: TextEditor: Keep displaying the cursor and the matching braces when the editor does not have the focus.
2020-12-21 00:25:45 +01:00
gambas
0127d32738 TerminalView: Printing an incorrect UTF-8 string does not lock the output anymore.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Printing an incorrect UTF-8 string does not lock the output anymore.
2020-12-20 21:26:54 +01:00
gambas
68473a84d1 Finally it's better to start snowing on X-mas.
[DEVELOPMENT ENVIRONMENT]
* NEW: Finally it's better to start snowing on X-mas.
2020-12-20 14:06:22 +01:00
gambix
b451da983b Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-20 09:16:09 +01:00
gambas
09da68993e Start snow at solstice.
[DEVELOPMENT ENVIRONMENT]
* NEW: Start snow at solstice.
2020-12-20 01:14:01 +01:00
gambas
2387e8c549 Emit keyboard events from the top-level window when no control has the focus.
[GB.GTK]
* BUG: Emit keyboard events from the top-level window when no control has the focus.

[GB.GTK3]
* BUG: Emit keyboard events from the top-level window when no control has the focus.
2020-12-19 22:26:09 +01:00
gambas
50e51284ae Fix popup menus that didn't pop up with some widget themes like 'Yaru'.
[GB.GTK3]
* BUG: Fix popup menus that didn't pop up with some widget themes like 'Yaru'.
2020-12-19 21:55:13 +01:00
gambas
26024e57bd Stat().Device is a new property that return the device containing the file as a string.
[INTERPRETER]
* NEW: Stat().Device is a new property that return the device containing the file as a string.
2020-12-19 17:37:31 +01:00
gambas
73511577bd 'Format(0, "#")' now returns "0" and not a void string anymore.
[INTERPRETER]
* BUG: 'Format(0, "#")' now returns "0" and not a void string anymore.
2020-12-19 13:52:57 +01:00
gambas
5e22276818 WebForm: AddHeader() is a new method that allows to add a custom page header.
[GB.WEB.GUI]
* NEW: WebForm: AddHeader() is a new method that allows to add a custom page header.
* BUG: WebForm: Custom form javascript files are now different for each form.
2020-12-19 12:46:09 +01:00
gambas
6d3f8297fb Font dialog: Set focus on FontChooser control at opening.
[DEVELOPMENT ENVIRONMENT]
* NEW: Font dialog: Set focus on FontChooser control at opening.
2020-12-19 03:03:30 +01:00
gambas
5789e6036b Font dialog: Set focus on FontChooser control at opening.
[GB.FORM.DIALOG]
* NEW: Font dialog: Set focus on FontChooser control at opening.
2020-12-19 03:02:52 +01:00
gambas
0ae82b7115 Enhance FontChooser control again.
[GB.FORM]
* NEW: FontChooser: Enhance GUI again.
2020-12-19 03:02:11 +01:00
gambas
3b8e0ec105 Enhance FontChooser control.
[GB.FORM]
* NEW: FontChooser: Better GUI.
* NEW: FontChooser: Add a ShowFont property that toggle the display of fonts inside the font tree.
* NEW: FontChooser: Define pangrams for some languages.
2020-12-19 02:33:59 +01:00
gambas
43dad3fced Code editor: Correctly hide automatic completion and signature popups when saving.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Correctly hide automatic completion and signature popups when saving.
2020-12-19 01:58:06 +01:00
Bruce Steers
1fddd43394 Update .gitlab-ci.yml: Add Ubuntu 21.04 (Hirsute Hippo)
[GITLAB.CI]
* NEW: Add Ubuntu 21.04 (hirsute hippo)

Duplicate ubuntu-latest and upgrade postgresql-server-dev-12 to 13 and libgmime-2.6-dev to 3.0
2020-12-19 00:17:40 +00:00
gambas
e1fc63ba15 Fixes in Label autoresize, Panel arrangement, and Slider Max property.
[GB.GTK]
* BUG: Panel: Arrangement is now correctly triggered when the background color is set.
* BUG: Label: Fix autoresize behavior when the parent has an automatic arrangement.
* BUG: Slider: Max property works correctly again.

[GB.GTK3]
* BUG: Label: Fix autoresize behavior when the parent has an automatic arrangement.
* BUG: Slider: Max property works correctly again.
2020-12-19 00:26:01 +01:00
gambas
e61f93e77c ScrollView: Clip children for GTK+2 by forcing control background.
[GB.GUI.BASE]
* BUG: ScrollView: Clip children for GTK+2 by forcing control background.
2020-12-19 00:25:35 +01:00
gambas
7719f0e495 Version control: The version control dialog now opens only if the project compiles correctly.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: The version control dialog now opens only if the project compiles correctly.
2020-12-18 22:17:03 +01:00
gambas
4c5d7efc44 Code editor: Do not hide automatic completion and signature popup when we are scrolling horizontally.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Do not hide automatic completion and signature popup when we are scrolling horizontally.
2020-12-18 13:58:42 +01:00
gambas
be18f431c7 Fixes in rich text to pango markup conversion.
[GB.GTK]
* NEW: Replace '<code>' by '<tt>' in rich text.
* BUG: '<p>' in rich text is replaced by a single line break.

[GB.GTK3]
* NEW: Replace '<code>' by '<tt>' in rich text.
* BUG: '<p>' in rich text is replaced by a single line break.
2020-12-18 02:57:12 +01:00
gambas
6dc8e4f66f Hide proxy configuration button and fix about dialog contents for 'gb.gtk3'.
[DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Hide proxy configuration button, as it is not yet supported by new webview components.
* BUG: About dialog: Fix contents for 'gb.gtk3'.
2020-12-18 02:56:03 +01:00
gambas
6b4b954cfa Get rid of unused code of native message boxes.
[GB.GTK]
* BUG: Get rid of unused code of native message boxes.

[GB.GTK3]
* BUG: Get rid of unused code of native message boxes.
2020-12-18 02:09:04 +01:00
gambas
aab93798f1 Stock: Read the Mate desktop icon theme with the 'dconf' tool, as apparently the mate tool has been deprecated.
[GB.FORM]
* BUG: Stock: Read the Mate desktop icon theme with the 'dconf' tool, as apparently the mate tool has been deprecated.
2020-12-17 14:26:45 +01:00
gambas
1d3992467d ColorButton: Display the inner color the same way in all GUI components.
[GB.FORM]
* BUG: ColorButton: Display the inner color the same way in all GUI components.
2020-12-17 04:37:54 +01:00
gambas
c3e07f4a33 Fix conversion to pango markup language when a rich text markup has spaces after the '<' character.
[GB.GTK]
* BUG: Fix conversion to pango markup language when a rich text markup has spaces after the '<' character.

[GB.GTK3]
* BUG: Fix conversion to pango markup language when a rich text markup has spaces after the '<' character.
2020-12-17 04:03:40 +01:00
gambas
82dc368486 Stock: Add a debugging message that displays the icon theme.
[GB.FORM]
* NEW: Stock: Add a debugging message that displays the icon theme.
2020-12-17 03:20:02 +01:00
gambix
df3b105b01 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-16 15:46:23 +01:00
Benoît Minisini
d673a110af Merge branch 'bsteers4-master-patch-03841' into 'master'
Backward compatibility, fix test arguments being erased.

See merge request gambas/gambas!168
2020-12-16 14:45:19 +00:00
Bruce Steers
c7bef47759 Backward-compatibility with older IDE versions for storing program arguments in the project file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Backward-compatibility with older IDE versions for storing program arguments in the project file.
2020-12-16 14:45:19 +00:00
Benoît Minisini
476689055f Merge branch 'bsteers4-master-patch-83433' into 'master'
Update TextHighlighter_Sh.class

See merge request gambas/gambas!169
2020-12-16 14:27:18 +00:00
Bruce Steers
a64b2b3f25 Remove escape character '\' from operator list.
[GB.EVAL.HIGHLIGHT]
* BUG: Remove escape character '\' from operator list.
2020-12-16 14:27:17 +00:00
Benoît Minisini
ad8d353520 Merge branch 'VT100-WinManipulation' into 'master'
VT100: Add XTerm wndow manipulation CSI escape sequences.

See merge request gambas/gambas!173
2020-12-16 14:26:22 +00:00
Bruce Steers
34b0c2f925 TerminalView: Handle XTerm window manipulation CSI escape sequences.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Various XTerm window manipulation escape sequences added to VT100.
* NEW: TerminalView: Added WindowCommands boolean property to enable manipulations.

Useful if your terminalview is a standalone in a form/window although\
handling has been added to account for other objects in a form.\

Set property TerminalView1.WindowCommands = True and it enables\
XTerm escape sequences on the top window...

Eg. Type 'echo -en "\\033\[10;2t"' to toggle fullscreen.\
Handles the following modes...\

1, Minimize false\
2, Minimize true\
3, Move window (x,y)\
4, Resize (h,w) in pixels\
5, Send to front (Window.Raise)\
6, Send to back (Window.Lower)\
7, Refresh (useless but it would be a shame to do 1-10 and leave 7 out.)\
8, Resize (lines, cols) text characters\
9;0 Maximize false\
9;1 Maximize true (also works as true/false toggle)\
10;0 Full screen off\
10;1 Full screen on\
10;2 Full screen toggle\
2020-12-16 14:26:22 +00:00
gambas
c833c29e46 Fix some spaces in 'gambas3.desktop' file.
[CONFIGURATION]
* BUG: Fix some spaces in 'gambas3.desktop' file.
2020-12-16 15:12:48 +01:00
gambas
e33f93a3b3 Debug panel: Display the local variables and the watch expressions in one half of the panel, and the global variables in the other half.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Display the local variables and the watch expressions in one half of the panel, and the global variables in the other half.
2020-12-15 22:10:31 +01:00
gambas
784b5ade3c Update 'ubuntu-bionic'. 2020-12-15 18:33:05 +01:00