Commit graph

8639 commits

Author SHA1 Message Date
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
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
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
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
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
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
gambas
61537d8e96 Add 'ubuntu bionic'. 2020-12-15 17:21:55 +01:00
gambas
e0ee49d296 Fix the standard date format, to ensure that 'IsDate(Str(Now))' is always TRUE.
[INTERPRETER]
* BUG: Fix the standard date format, to ensure that 'IsDate(Str(Now))' is always TRUE.
2020-12-15 17:19:38 +01:00
gambas
cb5d74f51c Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-15 14:50:57 +01:00
gambas
18f5c250fb Tune the behaviour of message boxes.
[GB.GUI.BASE]
* NEW: Message: Provide default buttons if none are specified.
* NEW: Message: The message can only be closed by clicking on a button.
* NEW: Message: Focus on the cancel button by default.
2020-12-15 14:50:43 +01:00
Benoît Minisini
665712a50f Update .gitlab-ci.yml 2020-12-15 13:15:45 +00:00
gambas
112c4ca49d Fix project git root detection, and allow to include changes with the commit history in the file versioning dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: The git root directory including a project is now correctly detected when there is a symbolic link somewhere in the path.
* NEW: Versioning dialog: Add a checkbox that allows to include changes with the commit history. Only implemented for 'git' at the moment.
* NEW: Code editor: Make private symbols darker in the procedure list so that they are easier to read.
2020-12-15 13:42:17 +01:00
gambas
e61e7583bc Fix a buffer overflow that makes the component crash on aarch64.
[GB.GTK3]
* BUG: Fix a buffer overflow that makes the component crash on aarch64.
2020-12-12 22:44:57 +01:00
gambas
c316cbaaf1 Forgot to free the new date standard format string when it is not needed anymore.
[INTERPRETER]
* BUG: Forgot to free the new date standard format string when it is not needed anymore.
2020-12-12 20:10:15 +01:00
gambas
54713e71c5 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-12 17:38:50 +01:00
gambas
93659c3f7e Str() on dates now return something valid for Val() and IsDate().
[INTERPRETER]
* NEW: Formatting a date with 'gb.Standard' now uses 'gb.MediumDate' concatenated to 'gb.MediumTime', as 'gb.GeneralDate' now is a different format.
* BUG: Str() now uses gb.Standard to format dates, so that Val() and IsDate() can understand them.
2020-12-12 17:36:00 +01:00
Benoît Minisini
ecb11f6552 Update .gitlab-ci.yml 2020-12-11 23:29:14 +00:00
Benoît Minisini
25b35ce3f3 Update .gitlab-ci.yml 2020-12-11 19:26:03 +00:00
gambas
c2242f5d59 Fix compilation on GTK+ < 3.22.
[GB.GTK]
* BUG: Fix some deprecation warning messages.

[GB.GTK3]
* BUG: Fix compilation on GTK+ < 3.22.
2020-12-11 17:31:44 +01:00