Commit graph

10366 commits

Author SHA1 Message Date
Benoît Minisini
33ec6b88e3 'GB.Every()' API now creates a timer that is ignored by the event loop.
[INTERPRETER]
* NEW: 'GB.Every()' API now creates a timer that is ignored by the event loop.
2022-05-26 20:47:52 +02:00
Benoît Minisini
1fb3e6e6be Disable 'gb.pdf' component on alpine, as it does not compile anymore. 2022-05-26 20:42:56 +02:00
Benoît Minisini
05774304df Add C++ 17 compilation flag to make 'gb.poppler' compile everywhere.
[GB.POPPLER]
* BUG: Add C++ 17 compilation flag to make 'gb.poppler' compile everywhere.
2022-05-26 20:17:44 +02:00
Benoît Minisini
8ad11ab5cb Still try to make 'gb.poppler' compile again everywhere.
[GB.POPPLER]
* BUG: Still try to make 'gb.poppler' compile again everywhere.
2022-05-26 19:36:45 +02:00
Benoît Minisini
d2b82a2735 Default and cancel buttons work again.
[GB.WEB.GUI]
* BUG: Default and cancel buttons work again.
2022-05-25 20:40:31 +02:00
Benoît Minisini
8ef2747def Try to fix compilation on ArchLinux.
[GB.POPPLER]
* BUG: Try to fix compilation on ArchLinux.
2022-05-24 20:17:31 +02:00
Benoît Minisini
073c8dc4a8 SpinBox: Buttons in wide mode correctly follow the enabled state now.
[GB.GUI.BASE]
* BUG: SpinBox: Buttons in wide mode correctly follow the enabled state now.
2022-05-24 20:11:35 +02:00
Benoît Minisini
b518e8cf5a Keyboard events are now sent to the server only if needed (i.e. if a control or a form has a KeyPress event handler).
[GB.WEB.GUI]
* NEW: Keyboard events are now sent to the server only if needed (i.e. if a control or a form has a KeyPress event handler).
2022-05-24 19:43:52 +02:00
Benoît Minisini
d2b7a14068 Remove the useless 'Message.Name' property.
[GB.WEB.GUI]
* BUG: Remove the useless 'Message.Name' property.
2022-05-24 16:13:50 +02:00
Benoît Minisini
90f27dd1e1 Pretty printer: A line with PRINT ending with a comma does not indent the next line.
[DEVELOPMENT ENVIRONMENT]
* BUG: Pretty printer: A line with PRINT ending with a comma does not indent the next line.
2022-05-24 12:12:41 +02:00
Benoît Minisini
d27cbb5d1f Application.Task is a new property that returns if we are executing a Task object.
[INTERPRETER]
* NEW: Application.Task is a new property that returns if we are executing a Task object.
2022-05-24 11:55:48 +02:00
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