Commit graph

10389 commits

Author SHA1 Message Date
Benoît Minisini
7f182bff2f Replace a global variable by a function argument in CLASS_look() and CLASS_find() functions.
[INTERPRETER]
* NEW: Replace a global variable by a function argument in CLASS_look() and CLASS_find() functions.
2022-06-20 01:37:03 +02:00
Benoît Minisini
e411c17fe1 Fix debug browser selection button management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix debug browser selection button management.
2022-06-19 22:19:49 +02:00
Benoît Minisini
46dbcdc964 Try again to make 'gb.qt4.webview' compile.
[GB.QT4.WEBVIEW]
* BUG: Try again to make 'gb.qt4.webview' compile.
2022-06-19 00:42:56 +02:00
Benoît Minisini
0d44591b74 Add a menu button to the main toolbar to choose the debug browser.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu button to the main toolbar to choose the debug browser.
* NEW: Update French translation.
2022-06-19 00:27:18 +02:00
Benoît Minisini
22b5c6334f Fix 'gb.qt4.webview' compilation.
[GB.QT4.WEBVIEW]
* BUG: Fix 'gb.qt4.webview' compilation.
2022-06-19 00:24:28 +02:00
Benoît Minisini
a39e6477e5 Allows to configurate the browser used for debugging web application. Add an internal browser too.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Remove the ability to choose the external browser. The default one given by the environment is always used.
* NEW: Add an internal browser for debugging web applications.
* NEW: Debugger options dialog: Allow to choose the browser used for debugging web applications, between Firefox, Chromium or the internal debug browser.
* NEW: The browser used for debugging is now run in its own process and in private mode. Create a custom profile in Firefox for that.
2022-06-18 23:55:51 +02:00
Benoît Minisini
2acba6caf9 WebView.Cookies.Clear() is a new method that removes all cookies.
[GB.GTK3.WEBVIEW]
* NEW: WebView.Cookies.Clear() is a new method that removes all cookies.

[GB.QT4.WEBVIEW]
* NEW: WebView.Cookies.Clear() is a new method that removes all cookies.

[GB.QT5.WEBVIEW]
* NEW: WebView.Cookies.Clear() is a new method that removes all cookies.
2022-06-18 23:47:15 +02:00
Benoît Minisini
b9ec608cde Fix 'String[].FindSorted()' and 'String[].ExistSorted()' when using 'gb.Like' or 'gb.Match' comparison methods.
[INTERPRETER]
* BUG: Fix 'String[].FindSorted()' and 'String[].ExistSorted()' when using 'gb.Like' or 'gb.Match' comparison methods.
2022-06-14 02:24:32 +02:00
Benoît Minisini
a5d10c36bc Use the new 'ShowButtons' property to hide side panels handles.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new 'ShowButtons' property to hide side panels handles.
2022-06-07 01:47:37 +02:00
Benoît Minisini
d1b26e37c8 Update support file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update support file.
2022-06-07 01:46:24 +02:00
Benoît Minisini
8d576493c8 SidePanel: 'ShowButtond' is a new property that hides the little arrow buttons that toggle the panels, and also hides the side handle in transparent mode.
[GB.FORM]
* NEW: SidePanel: 'ShowButtond' is a new property that hides the little arrow buttons that toggle the panels, and also hides the side handle in transparent mode.
2022-06-07 01:45:46 +02:00
Benoît Minisini
cceb791311 Restarting a timer during its event handler should not lead to a possible crash anymore.
[GB.GTK]
* BUG: Restarting a timer during its event handler should not lead to a possible crash anymore.

[GB.GTK3]
* BUG: Restarting a timer during its event handler should not lead to a possible crash anymore.
2022-06-07 01:01:17 +02:00
Benoît Minisini
bba34bedf9 Fix the 'sort_and_dedupe()' internal method.
[GB.OPENSSL]
* BUG: Fix the 'sort_and_dedupe()' internal method.
2022-06-06 01:37:08 +02:00
Benoît Minisini
4cf7f26d7f Focus frame should be managed correctly in all cases now.
[GB.WEB.GUI]
* BUG: Focus frame should be managed correctly in all cases now.
* NEW: Disable the web page until it is fully loaded.
2022-05-31 00:24:26 +02:00
Benoît Minisini
745d8c4456 TabPanel: Fix layout routine.
[GB.FORM]
* BUG: TabPanel: Fix layout routine.
* NEW: TabPanel: Make 'ShowTabPanel' property visible in the IDE
2022-05-30 01:49:55 +02:00
Benoît Minisini
5ed618e24b Container hidden because of a null size do not disable arrangement.
[GB.GTK]
* BUG: Container hidden because of a null size do not disable arrangement.

[GB.GTK3]
* BUG: Container hidden because of a null size do not disable arrangement.
2022-05-30 01:11:01 +02:00
Benoît Minisini
cf1679faa6 Container are now still arranged when they are hidden because of a null size.
[GB.GTK]
* BUG: Container are now still arranged when they are hidden because of a null size.

[GB.GTK3]
* BUG: Container are now still arranged when they are hidden because of a null size.
2022-05-28 23:41:23 +02:00
Benoît Minisini
178c665461 In 'gb.openssl', use the API instead of directly including interpreter header files.
[INTERPRETER]
* NEW: Add all comparison constants to 'gambas.h' API header file.

[GB.OPENSSL]
* BUG: Use the API instead of directly including interpreter header files. It breaks compilation on Ubuntu 22.10.1.
2022-05-28 18:51:48 +02:00
Benoît Minisini
2b7588c047 Hide menu before destroying it, so that the top-level menu bar is correctly updated.
[GB.GTK]
* BUG: Hide menu before destroying it, so that the top-level menu bar is correctly updated.

[GB.GTK3]
* BUG: Hide menu before destroying it, so that the top-level menu bar is correctly updated.
2022-05-28 16:27:29 +02:00
Benoît Minisini
4efa3b1343 TextHighlighter: Fix ToHTML(), ToRichText() and ToANSI() methods.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix ToHTML(), ToRichText() and ToANSI() methods.
2022-05-27 17:54:49 +02:00
Benoît Minisini
5f38763e86 Fix detection of C++11 and C++17 compilation flags.
[CONFIGURATION]
* BUG: Fix detection of C++11 and C++17 compilation flags.

[GB.FORM.HTMLVIEW]
* BUG: Fix use of C++11 compilation flags.
2022-05-27 16:54:36 +02:00
Benoît Minisini
0d3b39eed3 Disable 'gb.poppler' or 'archlinux-clang', as clang seems to be unable to compile it. 2022-05-27 16:45:56 +02:00
Benoît Minisini
971747a31b ComboBox: The popup layout is now more clever to mimic the old Qt native popup behaviour.
[GB.GUI.BASE]
* NEW: ComboBox: The width of the popup now tries to fit the largest item if possible.
* NEW: ComboBox: The popup is now positioned so that it is always fully visible as much as possible. It must not work on Wayland.
2022-05-27 15:48:24 +02:00
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