Commit graph

10919 commits

Author SHA1 Message Date
Benoît Minisini
7886d5c2c7 Add 'stroke' icon.
[GB.FORM.STOCK]
* NEW: Add 'stroke' icon.
2023-01-14 19:03:37 +01:00
Benoît Minisini
7b4ea4e6bb ComboBox: The Selection property now works correctly.
[GB.GUI.BASE]
* BUG: ComboBox: The Selection property now works correctly.
2023-01-14 19:02:49 +01:00
Benoît Minisini
57aa63bec2 Fix arithmetic overflow detection on datatype conversion.
[GB.JIT]
* BUG: Fix arithmetic overflow detection on datatype conversion.
2023-01-13 23:20:04 +01:00
Benoît Minisini
ef86e17144 Add support for the new 'flag:/' picture URLs, and use it where it makes sense.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add support for the new 'flag:/' picture URLs.
* NEW: Translation dialog: Show flags with languages.
* NEW: Projecgt property dialog: Show a flag with project default language.
2023-01-13 20:20:57 +01:00
Benoît Minisini
e639cb85bb Test suites: Fix the behaviour of the test suites interface when a test suite has no test.
[DEVELOPMENT ENVIRONMENT]
* BUG: Test suites: Fix the behaviour of the test suites interface when a test suite has no test.
2023-01-13 20:17:07 +01:00
Benoît Minisini
08a0338416 Picture: Add support for 'flag:/' stock flags paths.
[GB.GUI.BASE]
* NEW: Picture: Add support for 'flag:/' stock flags paths.
2023-01-13 20:16:01 +01:00
Benoît Minisini
47ffe361de Add support for stock flags.
[GB.FORM]
* NEW: Stock: 'Flags' is a new property that returns the list of all available stock flags.
* NEW: Stock: 'GetFlags()' is a new method that returns a stock flag from its key.
2023-01-13 20:15:11 +01:00
Benoît Minisini
5aa70f9fa4 Add 256 pixels square icons of all country flags.
[GB.FORM.STOCK]
* NEW: Add 256 pixels square icons of all country flags.
2023-01-13 20:13:52 +01:00
Benoît Minisini
c99f74fc7a Merge branch 'master' into 'master'
spanish update

See merge request gambas/gambas!287
2023-01-13 18:03:04 +00:00
Belmotek
41b016fc2f Update Spanish translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Spanish translation.
2023-01-13 18:03:04 +00:00
Christof Thalhofer
1607d303eb GambasSelftests test System.IgnoreOverflow
[DEVELOPMENT ENVIRONMENT]
* NEW: GambasSelftests test System.IgnoreOverflow
2023-01-13 13:49:47 +01:00
Christof Thalhofer
1a8fdb41b7 GambasSelftests integer overflow tests
[DEVELOPMENT ENVIRONMENT]
* NEW: GambasSelftests integer overflow tests
* FIX: GambasSelftests run.sh just tests without JIT

Also refactored GambasSelftests a bit and removed some duplicated code
2023-01-13 11:49:43 +01:00
Benoît Minisini
b0041e93ef Add 'tree' icon.
[GB.FORM.STOCK]
* NEW: Add 'tree' icon.
2023-01-13 08:27:08 +01:00
Benoît Minisini
64d4effc02 Add documentation and 'tree' stock icon.
[GB.FORM]
* NEW: Add documentation.
* NEW: Add 'tree' stock icon.
2023-01-13 08:25:56 +01:00
Benoît Minisini
c2ee9733a4 Fix a compiler warning.
[COMPILER]
* BUG: Fix a compiler warning.
2023-01-13 07:58:34 +01:00
Benoît Minisini
2362a11f66 Update to version 3.18.90. 2023-01-13 07:58:13 +01:00
Benoît Minisini
c1e52df4fd Packager: The 'gb.hash' component will be part of the runtime.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: The 'gb.hash' component will be part of the runtime.
2023-01-12 23:31:22 +01:00
Benoît Minisini
46c13a4b9b 'System.IgnoreOverflow = True' now never raises an error.
[INTERPRETER]
* BUG: 'System.IgnoreOverflow = True' now never raises an error.
2023-01-12 13:22:16 +01:00
Benoît Minisini
40de952214 Starts program by assuming the clipboard has been modified.
[GB.GTK]
* BUG: Starts program by assuming the clipboard has been modified.

[GB.GTK3]
* BUG: Starts program by assuming the clipboard has been modified.

[GB.QT4]
* BUG: Starts program by assuming the clipboard has been modified.

[GB.QT5]
* BUG: Starts program by assuming the clipboard has been modified.
2023-01-12 00:57:27 +01:00
Benoît Minisini
47fd6ba080 Prevent autotools macro from erasing CFLAGS.
[CONFIGURATION]
* BUG: Prevent autotools macro from erasing CFLAGS.
2023-01-12 00:55:48 +01:00
Benoît Minisini
ee040e1b14 Fix SvgImage.Render(). Correctly release the current grab when the debugger wakes up.
[GB.GTK]
* BUG: Fix SvgImage.Render() so that it correctly stretches the result.
* BUG: Correctly release the current grab when the debugger wakes up.

[GB.GTK3]
* BUG: Fix SvgImage.Render() so that it correctly stretches the result.
* BUG: Correctly release the current grab when the debugger wakes up.
2023-01-12 00:54:19 +01:00
Benoît Minisini
2687a8607b Fix some buttons tooltips.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Fix some buttons tooltips.
* NEW: Add 'librsvg' to the system information.
2023-01-11 21:59:19 +01:00
Benoît Minisini
246cf40553 Don't use '-O3'. It makes benchmarks sometimes slower than using '-O2'.
[CONFIGURATION]
* BUG: Do not use the default CFLAGS forces by autotools. Either use the CFLAGS provided on the command-line, or the default ones of the project.

[INTERPRETER]
* OPT: Don't use '-O3'. It makes benchmarks sometimes slower than using '-O2'.

[COMPILER]
* OPT: Optimize variable initialization.
2023-01-10 21:55:25 +01:00
Benoît Minisini
b9f9aa4499 Add java benchmarks.
[BENCHMARK]
* NEW: Add java benchmarks. Note that 'string' and 'string2' benchmarks are too slow when run with the Java interpreter. So they are just run with Java and JIT compilation enabled.
2023-01-10 17:10:31 +01:00
Benoît Minisini
b03cfc16bf Enable overflow detection when at least 'gcc 8' is used.
[INTERPRETER]
* BUG: Enable overflow detection when at least 'gcc 8' is used.
2023-01-10 17:08:16 +01:00
Benoît Minisini
caacdd9c2f Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported. Fix reference leak in drag & drop target management of Qt components.
[INTERPRETER]
* NEW: 'GB.Push()' now can handle Variant values.

[GB.GTK]
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.

[GB.GTK3]
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.

[GB.QT4]
* BUG: Fix reference leak in drag & drop target management.
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.

[GB.QT5]
* BUG: Fix reference leak in drag & drop target management.
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.
2023-01-09 02:45:52 +01:00
Benoît Minisini
a10cbc585e Label: Correctly clip the border when there is no background color.
[GB.GUI.BASE]
* NEW: Splitter: Add some documentation
* NEW: Label: Add some documentation
* BUG: Label: Correctly clip the border when there is no background color.
2023-01-08 21:52:51 +01:00
Benoît Minisini
43958aa538 Code editor: Paste special now automatically replaces no-break space by normal space.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Paste special now automatically replaces no-break space by normal space.
2023-01-07 18:17:13 +01:00
Benoît Minisini
1b6b81243f 'Painter.Font' sometimes does not work correctly for an unknown reason. Found a workaround.
[GB.QT4]
* BUG: 'Painter.Font' sometimes does not work correctly for an unknown reason. Found a workaround.

[GB.QT5]
* BUG: 'Painter.Font' sometimes does not work correctly for an unknown reason. Found a workaround.
2023-01-07 13:30:36 +01:00
Benoît Minisini
5fad14b3ba Fix 'sport' icon.
[GB.FORM.STOCK]
* NEW: Fix 'sport' icon.
2023-01-07 02:51:09 +01:00
Benoît Minisini
02c58c17a1 WebTabPanel: Optimize refresh when the current tab changes.
[GB.WEB.GUI]
* OPT: WebTabPanel: Optimize refresh when the current tab changes.
2023-01-06 21:10:14 +01:00
Benoît Minisini
05dc6f2718 Add a constant to make internal debugging messages less verbose by default.
[GB.WEB.GUI]
* NEW: Add a constant to make internal debugging messages less verbose by default.
2023-01-06 20:35:42 +01:00
Benoît Minisini
a8bbc2c85c FileView: Draw the preview page or lines count differently.
[GB.FORM]
* NEW: FileView: Draw the preview page or lines count differently.
2023-01-06 19:10:44 +01:00
Benoît Minisini
ae0604b542 Form editor: Set the 'Highlight' property of the control TabPanel.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Get rid of a GTK+ warning.
* NEW: Form editor: Set the 'Highlight' property of the control TabPanel.
2023-01-06 19:10:07 +01:00
Benoît Minisini
b79d305a88 Fix 'news' icon.
[GB.FORM.STOCK]
* NEW: Fix 'news' icon.
2023-01-05 17:40:21 +01:00
Benoît Minisini
f05de9b897 Fix rewrite of ERROR instruction.
[GB.EVAL]
* BUG: Fix rewrite of ERROR instruction.
2023-01-05 17:39:29 +01:00
Benoît Minisini
a44508a79d Fix value of 'Key.Shift', 'Key.Control', 'Key.Alt', 'Key.Meta' and 'Key.Normal'.
[GB.GTK]
* BUG: Fix value of 'Key.Shift', 'Key.Control', 'Key.Alt', 'Key.Meta' and 'Key.Normal'.

[GB.GTK3]
* BUG: Fix value of 'Key.Shift', 'Key.Control', 'Key.Alt', 'Key.Meta' and 'Key.Normal'.
2023-01-05 17:31:59 +01:00
Benoît Minisini
c533cbe445 FileView: Do not forget to kill the preview background task is some cases.
[GB.FORM]
* NEW: Stock: Add 'news' icon.
* OPT: FileView: Add a 250 ms limit for previewing a big text file.
2023-01-05 14:31:41 +01:00
Benoît Minisini
a157c2322a Add 'news' icon.
[GB.FORM.STOCK]
* NEW: Add 'news' icon.
2023-01-05 14:30:50 +01:00
Benoît Minisini
0e89d805d9 Settings: The Maximized property of a window is now correctly restored when it is present in the settings.
[GB.SETTINGS]
* BUG: Settings: The Maximized property of a window is now correctly restored when it is present in the settings.
2023-01-05 13:18:04 +01:00
Benoît Minisini
d9a5b8feaf FileView: Do not forget to kill the preview background task is some cases.
[GB.FORM]
* NEW: FileView: EPub preview generator is more clever.
* BUG: FileView: Do not forget to kill the preview background task is some cases.
* BUG: FileView: Fix the refresh logic.
2023-01-05 11:35:19 +01:00
Benoît Minisini
78841b379e Splitter: Settings layout when the splitter is hidden works correctly again.
[GB.GUI.BASE]
* BUG: Splitter: Settings layout when the splitter is hidden works correctly again.
2023-01-05 01:51:31 +01:00
Benoît Minisini
3a1e0d5dbe Don't put dependencies on 'gb.desktop', otherwise it won't compile! Let the IDE complain at the moment.
[GB.DESKTOP.X11]
* BUG: Don't put dependencies on 'gb.desktop', otherwise it won't compile! Let the IDE complain at the moment.
2023-01-05 00:58:28 +01:00
Benoît Minisini
f6bf9b177d FileChooser & DirChooser: Bookmarks are correctly updated again.
[GB.FORM]
* BUG: FileChooser & DirChooser: Bookmarks are correctly updated again.
2023-01-05 00:52:22 +01:00
Benoît Minisini
8309139973 Project tree: Fix behaviour of 'Open with' menu.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Fix behaviour of 'Open with' menu.
2023-01-04 20:39:19 +01:00
Benoît Minisini
1fd1d16ec8 Convert two global interpreter flags from boolean to bitfield.
[INTERPRETER]
* NEW: Convert two global interpreter flags from boolean to bitfield.
* NEW: Remove a unused JIT API and take the previous into account.

[GB.JIT]
* NEW: Take the boolean to bitfield interpreter flag changes into account.
2023-01-04 18:49:13 +01:00
Benoît Minisini
95574a9170 'System.IgnoreOverflow' is a new property that allows to ignore overflows in arithmetic operations.
[INTERPRETER]
* NEW: 'System.IgnoreOverflow' is a new property that allows to ignore overflows in arithmetic operations.
* OPT: Replace most of boolean global interpreter flags by bitfields.
2023-01-04 17:06:41 +01:00
Benoît Minisini
51a88d26b4 'Error' keyword is now correctly written without spurious spaces around.
[GB.TEST]
* BUG: 'Error' keyword is now correctly written without spurious spaces around.
2023-01-04 17:05:46 +01:00
Benoît Minisini
c24d92c21d Correctly rewrite the 'Error' keyword.
[COMPILER]
* NEW: Synchronize with 'gb.eval' parser.

[GB.EVAL]
* NEW: Synchronize with compiler parser.
* BUG: Correctly rewrite the 'Error' keyword.
2023-01-04 17:04:34 +01:00
Benoît Minisini
b4aa02d55a Switch version to 3.18.0.
[CONFIGURATION]
* NEW: Switch version to 3.18.0.
2023-01-03 23:42:15 +01:00