Commit graph

10505 commits

Author SHA1 Message Date
Benoît Minisini
d92eeb618c Always flush buffered streams at exit even if the exit is immediate.
[INTERPRETER]
* BUG: Always flush buffered streams at exit even if the exit is immediate.
2022-05-24 11:54:46 +02:00
Benoît Minisini
88a442ec09 Automatic completion: Take local variables declared inside loops into account.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Take local variables declared inside loops into account.
2022-05-19 23:59:42 +02:00
Benoît Minisini
8c4b6b5fef Implement Application.ShowTooltips property.
[GB.GTK3]
* BUG: Implement Application.ShowTooltips property.
2022-05-19 14:06:58 +02:00
Benoît Minisini
2033e6cb25 IDE freeze when search result is refreshed should be fixed now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Procedure popup is larger now.
* BUG: IDE freeze when search result is refreshed should be fixed now.
2022-05-16 16:37:21 +02:00
Benoît Minisini
af972b95dc Date.DaysInMonth() is a new method that returns the number of days in a month of a specific year.
[GB.UTIL]
* NEW: Date.DaysInMonth() is a new method that returns the number of days in a month of a specific year.
2022-05-15 20:51:46 +02:00
Benoît Minisini
90634d9cb5 The parent window of a modal window is now always the current active window.
[GB.GTK]
* BUG: The parent window of a modal window is now always the current active window.

[GB.GTK3]
* BUG: The parent window of a modal window is now always the current active window.

[GB.QT4]
* BUG: The parent window of a modal window is now always the current active window.

[GB.QT5]
* BUG: The parent window of a modal window is now always the current active window.
2022-05-15 20:06:26 +02:00
Benoît Minisini
0cd8047efa Closing the main window when it is persistent correctly quits the application. Reparenting a window correctly triggers automatic arrangement.
[GB.GTK]
* BUG: Reparenting a window correctly triggers automatic arrangement.
* BUG: Closing the main window when it is persistent correctly quits the application.

[GB.GTK3]
* BUG: Reparenting a window correctly triggers automatic arrangement.
* BUG: Closing the main window when it is persistent correctly quits the application.
2022-05-14 20:10:19 +02:00
Benoît Minisini
0c0b1e0dc2 TextArea: Modifying the contents by code now refreshes the control as expected.
[GB.GTK]
* BUG: TextArea: Modifying the contents by code now refreshes the control as expected.

[GB.GTK3]
* BUG: TextArea: Modifying the contents by code now refreshes the control as expected.
2022-05-14 19:46:38 +02:00
Benoît Minisini
78f28738e0 Add a message to warn that 'Window.Stacking' property does not work with Wayland and Qt5.
[GB.QT5.WAYLAND]
* NEW: Add a message to warn that 'Window.Stacking' property does not work with Wayland and Qt5.
2022-05-11 16:29:00 +02:00
Benoît Minisini
d4d12bda2b Implement the SetTransientFor() API by using a Qt 5.13 non-documented public method.
[GB.QT5.WAYLAND]
* NEW: Implement the SetTransientFor() API by using a Qt 5.13 non-documented public method.
2022-05-11 16:24:51 +02:00
Benoît Minisini
efe474719a Don't recreate the view when clearing it, it segfaults on Wayland. Just fill it with a void page.
[GB.GTK3.WEBVIEW]
* BUG: Don't recreate the view when clearing it, it segfaults on Wayland. Just fill it with a void page.
2022-05-10 14:47:11 +02:00
Benoît Minisini
f1211b2b99 Flush the standard output before quitting.
[GB.WEB.GUI]
* BUG: Flush the standard output before quitting.
2022-05-02 15:38:57 +02:00
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