Commit graph

10543 commits

Author SHA1 Message Date
Benoît Minisini
c17f5a58f8 Add the branch to the version number when it comes from a 'VERSION' file.
[COMPILER]
* BUG: Add the branch to the version number when it comes from a 'VERSION' file.
2022-05-02 15:06:32 +02:00
Benoît Minisini
3eb379c447 Fix 'gb.qt4' compilation.
[GB.QT4]
* BUG: Fix 'gb.qt4' compilation.
2022-05-02 08:14:54 +02:00
Benoît Minisini
cd6d80816f Do not use the deprecated printer functions anymore. Use the 'explicit' keyword in all C++ constructors.
[GB.QT4]
* NEW: Use the 'explicit' keyword in all C++ constructors.

[GB.QT5]
* NEW: Use the 'explicit' keyword in all C++ constructors.
* BUG: Do not use the deprecated printer functions anymore.
2022-05-02 00:55:35 +02:00
Benoît Minisini
e43cbd6672 Remove an unused class public slot.
[GB.QT5.WEBVIEW]
* BUG: Remove an unused class public slot.
2022-05-02 00:55:05 +02:00
Benoît Minisini
58e06fd6bb Update the layout of the option panel.
[GB.FORM.PRINT]
* NEW: Update the layout of the option panel.
* NEW: Update French translation.
2022-05-02 00:54:41 +02:00
Benoît Minisini
3e41ff1ef4 ComboBox: Setting the Text property of an editable combo-box can raise the Click event as before.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the Text property of an editable combo-box can raise the Click event as before.
2022-05-02 00:44:13 +02:00
Benoît Minisini
0b76cd2153 Update stock icon mapping for Gambas icon theme.
[GB.FORM]
* NEW: Update stock icon mapping for Gambas icon theme.
2022-04-30 15:20:00 +02:00
Benoît Minisini
38cef83adc Redraw 'notification' icon.
[GB.FORM.STOCK]
* NEW: Redraw 'notification' icon.
* BUG: Gambas icon theme does not inherit 'gnome' icon theme anymore.
2022-04-30 15:19:29 +02:00
Benoît Minisini
5816d5b4f9 ComboBox: Setting the List property of an editable combo-box does not clear the text anymore.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the List property of an editable combo-box does not clear the text anymore.
2022-04-30 15:18:21 +02:00
Benoît Minisini
70fc9675aa Store and restore the maximized state of windows.
[GB.SETTINGS]
* NEW: Store and restore the maximized state of windows.
2022-04-29 23:48:45 +02:00
Benoît Minisini
012436e88f ComboBox: Fix Select() method. Handle 'RETURN' and 'ESC' keys in the popup.
[GB.GUI.BASE]
* BUG: ComboBox: Fix Select() method.
* BUG: ComboBox: Handle 'RETURN' and 'ESC' keys in the popup.
2022-04-29 14:01:26 +02:00
Benoît Minisini
38aea6b3d5 * The new proxy of a control is now correctly unlinked if it was already the proxy of another control.
[GB.GTK]
* BUG: The new proxy of a control is now correctly unlinked if it was already the proxy of another control.

[GB.GTK3]
* BUG: The new proxy of a control is now correctly unlinked if it was already the proxy of another control.

[GB.QT4]
* BUG: The new proxy of a control is now correctly unlinked if it was already the proxy of another control.

[GB.QT5]
* BUG: The new proxy of a control is now correctly unlinked if it was already the proxy of another control.
2022-04-28 23:48:30 +02:00
Benoît Minisini
c771d1d316 QUIT now ends the process brutally. C++ static exit routines from unloaded shared libraries are not called anymore, avoiding the crash.
[INTERPRETER]
* BUG: QUIT now ends the process brutally. C++ static exit routines from unloaded shared libraries are not called anymore, avoiding the crash.
2022-04-28 23:39:42 +02:00
Benoît Minisini
8342f9e8bd Git version control fixes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Add local repository user and e-mail in git version control information.
* BUG: Version control: Use 'kate' if 'kwrite' is not available as version control text editor.
* BUG: Version control: Better detection of 'ssh' prompts.
* BUG: Version control: Detect errors when git commit is impossible.
2022-04-28 00:28:20 +02:00
gambas
ae7fef8763 WebTree: Works correctly now if there is only one item.
[GB.WEB.GUI]
* BUG: WebTree: Works correctly now if there is only one item.
* NEW: WebTree: Add documentation.
2022-04-26 00:52:44 +02:00
gambas
f14163661e New custom focus management.
[GB.WEB.GUI]
* NEW: New custom focus management.
* BUG: Fix keyboard events management.
2022-04-23 01:32:07 +02:00
gambas
1db092531d ComboBox: Disabled editable combo-box background is now accurate.
[GB.GUI.BASE]
* BUG: ComboBox: Disabled editable combo-box background is now accurate.
2022-04-20 01:01:44 +02:00
gambas
5eb66b051a Debugger: Fix 'xfce4-terminal' and 'mate-terminal' support.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix 'xfce4-terminal' and 'mate-terminal' support.
2022-04-18 19:46:30 +02:00
gambas
887408b1ba Debugger: Suppose that 'xfce4-terminal' and 'mate-terminal' are actually the same thing as 'gnome-terminal'.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Suppose that 'xfce4-terminal' and 'mate-terminal' are actually the same thing as 'gnome-terminal'.
2022-04-18 03:16:05 +02:00
gambas
30d605aad0 WebTree: Fix selection management.
[GB.WEB.GUI]
* BUG: WebTree: Fix selection management.
2022-04-18 03:04:31 +02:00
gambas
dab3489f4e Welcome dialog: Don't crash when stopping the medial player.
[DEVELOPMENT ENVIRONMENT]
* BUG: Welcome dialog: Don't crash when stopping the medial player.
2022-04-17 23:30:32 +02:00
gambas
dcc0abdcc5 MediaView: Ensure that the internal media player is deleted with the control.
[GB.MEDIA.FORM]
* BUG: MediaView: Ensure that the internal media player is deleted with the control.
2022-04-17 23:29:10 +02:00
gambas
bdad666477 Welcome dialog: Stop the media player when the form is closed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Welcome dialog: Stop the media player when the form is closed.
2022-04-17 21:45:40 +02:00
gambas
7508d59eb5 Debugger: Move the terminal option from global configuration to debugging configuration.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Move the terminal option from global configuration to debugging configuration.
2022-04-17 19:39:54 +02:00
gambas
e07eb9b22f Allow errors to propagate from event handlers when the event is internally raised by the interpreter.
[INTERPRETER]
* NEW: Allow errors to propagate from event handlers when the event is internally raised by the interpreter.
  All events raised from a component written in Gambas through the Gambas API still do not propagate errors.
2022-04-15 16:33:13 +02:00
gambas
7ab55d54cd Splitter: Fix layout according to the different combinations of 'Transparent', 'Separator' and 'Border' properties values.
[GB.FORM]
* BUG: Splitter: Fix layout according to the different combinations of 'Transparent', 'Separator' and 'Border' properties values.
* BUG: Fix icon map so that the generated Gambas icon theme is better.
2022-04-15 15:13:51 +02:00
gambas
1168502a51 ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
2022-04-15 15:09:36 +02:00
gambas
81c8e435a4 Fix ComboBox behaviour and when controls are animated.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'Index' property must raise the 'Click' event even if the index does not change, to mimic the behaviour of the old native ComboBox.
* BUG: The _Gui.MustAnimate() internal method is accurate now, so that animations occur on the activated window only.
2022-04-15 00:30:41 +02:00
gambas
521f681537 Picture: Refresh() does not try to refresh invalid windows anymore.
[GB.GUI.BASE]
* BUG: Picture: Refresh() does not try to refresh invalid windows anymore.
2022-04-13 16:08:49 +02:00
gambas
1a9a72bd25 Text editor: Fix the zoom buttons of the preview toolbar.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Use the new TreeView item Span property, so that the headings of the debugger trees display correctly.
* BUG: Text editor: Fix the zoom buttons of the preview toolbar.
* BUG: Console output: Define the icon of the "raise to top" toolbar button.
2022-04-13 12:40:01 +02:00
gambas
30005143b7 ColumnView: Items have a new Span boolean property, that tells if the first column spans the control width.
[GB.GUI.BASE]
* BUG: GridView: Save and restore the Paint context before calling the Draw event.
* NEW: ColumnView: Items have a new Span boolean property, that tells if the first column spans the control width.
2022-04-13 12:37:32 +02:00
gambas
34846dbe31 Fix use of GB.Wait().
[GB.GTK3.WEBVIEW]
* BUG: Fix use of GB.Wait().

[GB.QT5.WEBVIEW]
* BUG: Fix use of GB.Wait().
2022-04-13 11:38:01 +02:00
gambas
449ec02f61 Ensure that the copy of a Font is internally completely detached from its source.
[GB.QT4]
* BUG: Ensure that the copy of a Font is internally completely detached from its source.

[GB.QT5]
* BUG: Ensure that the copy of a Font is internally completely detached from its source.
2022-04-13 09:59:01 +02:00
gambas
d4df33901c HtmlView: Fix a crash triggered by the Clear() method.
[GB.FORM.HTMLVIEW]
* BUG: HtmlView: Fix a crash triggered by the Clear() method.
2022-04-13 03:36:06 +02:00
gambas
7d38878e70 Fix GB_Wait() calls as the meaning of its argument changed.
[INTERPRETER]
* BUG: Fix GB_Wait() calls as the meaning of its argument changed.
2022-04-13 02:24:55 +02:00
gambas
9f85e2b5a3 Debugger: The console automatic show should work correctly when the console is undocked now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: The console automatic show should work correctly when the console is undocked now.
2022-04-13 01:59:17 +02:00
gambas
56e24c8cf3 Fix the list of different terminals, and workaround 'gnome-terminal' missing feature.
[DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Fix the list of different terminals.
* NEW: Debugger: Workaround 'gnome-terminal' that is not able to hold its child process.
2022-04-13 01:25:31 +02:00
gambas
fe43102071 Program exit now can be hold by the debugger to workaround a missing feature of the Gnome terminal.
[INTERPRETER]
* NEW: Program exit now can be hold by the debugger to workaround a missing feature of the Gnome terminal.

[GB.DEBUG]
* NEW: Program exit now can be hold by the debugger to workaround a missing feature of the Gnome terminal.
2022-04-13 01:23:19 +02:00
gambas
572185cb03 Update weather icons associations. Add 'moon-cloud' icon.
[GB.FORM]
* BUG: Update weather icons associations.
* NEW: Add 'moon-cloud' icon.
2022-04-12 23:33:00 +02:00
gambas
a4c570c3c3 Add 'moon-cloud' weather icon, and update 'moon' icon.
[GB.FORM.STOCK]
* NEW: Add 'moon-cloud' weather icon, and update 'moon' icon.
2022-04-12 23:32:01 +02:00
gambas
1c985ac3ad Allow calling 'WAIT' alone during a keyboard event handler.
[GB.GTK]
* BUG: Allow calling 'WAIT' alone during a keyboard event handler.

[GB.GTK3]
* BUG: Allow calling 'WAIT' alone during a keyboard event handler.
2022-04-12 20:00:06 +02:00
gambas
97d862a2d0 Allow calling 'WAIT' alone during a keyboard event handler.
[GB.QT4]
* BUG: Allow calling 'WAIT' alone during a keyboard event handler.

[GB.QT5]
* BUG: Allow calling 'WAIT' alone during a keyboard event handler.
2022-04-12 19:58:15 +02:00
gambas
9d989a4ddf ComboBox: Read-only combo-box first item is now automatically selected when inserting a new item or setting the 'List' property, if no item is currently selected.
[GB.GUI.BASE]
* BUG: ComboBox: Read-only combo-box first item is now automatically selected when inserting a new item or setting the 'List' property, if no item is currently selected.
2022-04-12 18:50:12 +02:00
gambas
41ee2c8f9c Remove now useless ComboBox source code.
[GB.GTK]
* NEW: Remove now useless ComboBox source code.

[GB.GTK3]
* NEW: Remove now useless ComboBox source code.

[GB.QT4]
* NEW: Remove now useless ComboBox source code.

[GB.QT5]
* NEW: Remove now useless ComboBox source code.
2022-04-12 13:32:10 +02:00
gambas
9a39b91297 The background color of borderless ComboBox must be specified now, when it is not the default color.
[DEVELOPMENT ENVIRONMENT]
* BUG: The background color of borderless ComboBox must be specified now, when it is not the default color.
2022-04-12 13:12:10 +02:00
gambas
9dc0a64f89 ComboBox control is now written in Gambas.
[GB.GUI.BASE]
* NEW: ComboBox control is now written in Gambas.
2022-04-12 13:10:09 +02:00
gambas
4b6c6e2d0f Remove the native ComboBox.
[GB.GTK]
* NEW: UserControl._Focus is a new property that defines if a UserControl can take focus.
* BUG: UserControl_Draw() event handler is called before drawing the control children.
* NEW: Remove the native ComboBox.

[GB.GTK3]
* NEW: UserControl._Focus is a new property that defines if a UserControl can take focus.
* BUG: UserControl_Draw() event handler is called before drawing the control children.
* NEW: Remove the native ComboBox.

[GB.QT4]
* NEW: UserControl._Focus is a new property that defines if a UserControl can take focus.
* NEW: Style methods draw focus and tab focus.
* NEW: Remove the native ComboBox.

[GB.QT5]
* NEW: UserControl._Focus is a new property that defines if a UserControl can take focus.
* NEW: Style methods draw focus and tab focus.
* NEW: Remove the native ComboBox.
2022-04-12 13:06:38 +02:00
gambas
26d0949282 Help browser: Correctly handle project help links in online mode.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Correctly handle project help links in online mode.
2022-04-09 23:41:54 +02:00
gambas
2742b48afa Support for "Wait 0" syntax. Fix support of "Wait" alone syntax in GTK+ components.
[GB.GTK]
* NEW: Support for "Wait 0" syntax.
* BUG: Fix support of "Wait" alone syntax.

[GB.GTK3]
* NEW: Support for "Wait 0" syntax.
* BUG: Fix support of "Wait" alone syntax.

[GB.SDL2]
* NEW: Support for "Wait 0" syntax.

[GB.QT4]
* NEW: Support for "Wait 0" syntax.

[GB.QT5]
* NEW: Support for "Wait 0" syntax.
2022-04-09 19:11:56 +02:00
gambas
b224cd3436 "Wait 0" is now an equivalent of "Wait" alone, but with processing of input events.
[INTERPRETER]
* NEW: "Wait 0" is now an equivalent of "Wait" alone, but with processing of input events.
2022-04-09 19:08:02 +02:00