Commit graph

10893 commits

Author SHA1 Message Date
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
Benoît Minisini
ca0023dcbc Fix 'chart' icon.
[GB.FORM.STOCK]
* NEW: Fix 'chart' icon.
2023-01-03 00:44:52 +01:00
Benoît Minisini
821cc4640e FileView: 'Style' property has been renamed as 'View'. File preview is now a 'View' mode.
[GB.FORM]
* BUG: FileView; Fix line count of text file previews.
* NEW: FileView: 'Style' property has been renamed as 'View'.
* NEW: FileView: File preview is now a 'View' mode associated to the new 'Preview' constant.
* BUG: FileView: Correctly abort preview when the 'Dir' property changes.
* NEW: FileChooser & DirChooser: 'Style' property has been renamed as 'View'.
2023-01-03 00:39:24 +01:00
Benoît Minisini
31cae9e585 Fix IconView icon layout. Fix Paint.TrimRichText(). Fix ColumnView first column automatic resizing.
[GB.GUI.BASE]
* BUG: IconView: Fix icon layout in both orientations.
* BUG: Rewrite and fix 'Paint.TrimRichText()' method.
* BUG: ColumnView: Fix automatic resizing of the first column.
2023-01-03 00:36:14 +01:00
Benoît Minisini
3c1a76248b Add Expand() and Shrink() methods to the rectangle classes.
[GB.GEOM]
* NEW: Add Expand() and Shrink() methods to the rectangle classes.
2023-01-02 20:22:30 +01:00
Benoît Minisini
aaee1fa427 Fix icon size in the unsaved file dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix icon size in the unsaved file dialog.
2023-01-02 18:01:06 +01:00
Benoît Minisini
448b5a9018 When checking keyboard events for shortcuts on the client side, take a possible undefined key code into account.
[GB.WEB.GUI]
* BUG: When checking keyboard events for shortcuts on the client side, take a possible undefined key code into account.
2023-01-02 17:26:18 +01:00
Benoît Minisini
ce118d50ec Merge branch 'master' of gitlab.com:gambas/gambas 2023-01-02 09:18:52 +01:00
Benoît Minisini
6168fa80ab Fix some icons.
[GB.FORM.STOCK]
* NEW: Fix some icons.
2023-01-02 09:18:44 +01:00
Benoît Minisini
c8c5d07120 FileView: Enhance file preview.
[GB.FORM]
* NEW: Update French translation.
* NEW: FileView: Add page count in PDF or office files preview.
* NEW: FileView: Add line count in text files preview.
* NEW: FileView: Add the file mime icon on top of its preview, except for video and images.
2023-01-02 09:18:09 +01:00
Benoît Minisini
6da173b304 Merge branch 'c99' into 'master'
C99 compatibility fixes for configure scripts

See merge request gambas/gambas!286
2023-01-02 07:55:37 +00:00
Florian Weimer
22bf34222e C99 compatibility fixes for configure scripts
Define _GNU_SOURCE in the math tests so that exp10 can be found.
Include <stdio.h> for the puts function in the __progname check.
2023-01-02 08:20:04 +01:00