Commit graph

10904 commits

Author SHA1 Message Date
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
Benoît Minisini
18907a478f FileChooser & DirChooser: default view is now normal.
[GB.FORM]
* BUG: FileChooser & DirChooser: default view is now normal.
2023-01-03 23:26:23 +01:00
Benoît Minisini
c13ad71bb7 DesktopMime: Fix GetIcon() so that stock mime icons are prioritary.
[GB.DESKTOP]
* NEW: DesktopMime: Fix GetIcon() so that stock mime icons are prioritary.
2023-01-03 23:24:54 +01:00
Benoît Minisini
1e5baed3a2 FileView: Disable persistent preview caching.
[GB.FORM]
* NEW: FileView: Disable persistent preview caching.
2023-01-03 22:33:59 +01:00
Benoît Minisini
ae9f1e98b9 Put dependency on 'gb.desktop.x11' back, otherwise the IDE complains.
[GB.DESKTOP.X11]
* BUG: Put dependency on 'gb.desktop.x11' back, otherwise the IDE complains.
2023-01-03 20:19:17 +01:00
Benoît Minisini
d2203afc05 The component must require 'gb.desktop'.
[GB.DESKTOP.X11]
* BUG: The component must require 'gb.desktop'.
2023-01-03 14:47:36 +01:00
Benoît Minisini
8273cfbe03 DesktopWindow.Activate() uses the 'X11' class directly now.
[GB.DESKTOP.X11]
* BUG: DesktopWindow.Activate() uses the 'X11' class directly now.
2023-01-03 14:45:52 +01:00
Benoît Minisini
87ed81f63b Use the new 'Cursor' constants.
[GB.FORM.MDI]
* NEW: Use the new 'Cursor' constants.
2023-01-03 14:40:55 +01:00
Benoît Minisini
7a8610f779 Paint.Rectangle() with a border radius now works as expected with a negative width or height.
[GB.DRAW]
* BUG: Paint.Rectangle() with a border radius now works as expected with a negative width or height.
2023-01-03 14:38:46 +01:00
Benoît Minisini
ffa0611cea Factorize exception management in JIT code.
[GB.JIT]
* OPT: Factorize exception management in JIT code.
2023-01-03 14:25:00 +01:00
Benoît Minisini
60b5c9bfc6 FileProperties: Add file last access time.
[GB.FORM]
* NEW: Update French translation.
* NEW: FileProperties: Add file last access time.
2023-01-03 12:42:30 +01:00
Benoît Minisini
1d02de4c35 Translation dialog: Fix form using the old 'FileView.Style' property.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: Fix form using the old 'FileView.Style' property.
2023-01-03 12:39:55 +01:00
Benoît Minisini
eb68fa4370 Version control: Remove the 'Revert all changes' button in the bottom panel. Project browser: Upgrade to the new FileView view modes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project browser: Upgrade to the new FileView view modes.
* NEW: Version control: Remove the 'Revert all changes' button in the bottom panel. It can be dangerous to leave it there.
2023-01-03 12:33:25 +01:00
Benoît Minisini
1b0ce91712 FileProperties: Use the new 'Trim' property for the file name label.
[GB.FORM]
* BUG: FileView: Save the maximum preview file size in the settings.
* NEW: FileProperties: Use the new 'Trim' property for the file name label.
2023-01-03 06:54:14 +01:00
Benoît Minisini
b2294075f8 Label & TextLabel: 'Trim' is a new property that trims the text if it overflows its frame.
[GB.GUI.BASE]
* NEW: Label & TextLabel: 'Trim' is a new property that trims the text if it overflows its frame.
2023-01-03 06:53:03 +01:00
Benoît Minisini
2f4989febd FileView: Permanent store of previews.
[GB.FORM]
* NEW: FileView; Reload() method takes an optional boolean argument for refreshing the preview cache.
* NEW: DirChooser & FileChooser: 'SHIFT + F5' now refreshes the preview cache.
* NEW: FileView: If the 'gb.desktop' component is loaded, file previews are stored in the home cache directory.
* NEW: FileView: File preview frame has now a one pixel gap with the contents.
2023-01-03 05:09:18 +01:00