Commit graph

10832 commits

Author SHA1 Message Date
Benoît Minisini
2123d65926 Merge branch 'master' of gitlab.com:gambas/gambas 2022-12-20 15:33:23 +01:00
Benoît Minisini
476d8505e9 Stock: Implement the '.<folder>/<icon>' syntax for 'Gambas' icon theme.
[GB.FORM]
* BUG: Stock: Implement the '.<folder>/<icon>' syntax for 'Gambas' icon theme.
 *NEW: Stock: The Refresh() method now clears the 'DesktopFile' internal cache.
2022-12-20 15:32:59 +01:00
Benoît Minisini
96a463221a DesktopFile: GetIcon() now really works correctly.
[GB.DESKTOP]
* BUG: DesktopFile: GetIcon() now really works correctly.
* NEW: DesktopFile: Hidden method for clearing the internal cache.
2022-12-20 15:31:20 +01:00
Christof Thalhofer
be0eb109b4 GambasSelftests Todo for future CShort overflow
[DEVELOPMENT ENVIRONMENT]
* BUG: CFloat Test failed
* NEW: GambasSelftests Test Todo for CShort overflow
2022-12-20 15:22:50 +01:00
Benoît Minisini
df6fd7a28a DesktopFile: GetIcon() now works correctly.
[GB.DESKTOP]
* NEW: DesktopFile: Clean up the internal desktop file decoding method.
* BUG: DesktopFile: GetIcon() now works correctly.
2022-12-20 14:45:45 +01:00
Benoît Minisini
0fb9c7ada2 DirView & FileView: Display directory custom icons.
[GB.FORM]
* NEW: DirView: Display directory custom icons.
* NEW: FileView: Display directory custom icons.
2022-12-20 14:44:09 +01:00
Benoît Minisini
60d6dada96 Many debugger fixes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Debugger: Many fixes.
2022-12-20 11:34:01 +01:00
Benoît Minisini
b3e2edff13 FileView: Add column padding to the detailed view.
[GB.FORM]
* NEW: FileView: Add column padding to the detailed view, as there is no implicit padding anymore in 'ColumnView'.
2022-12-20 10:55:45 +01:00
Benoît Minisini
20b5c1c794 Fix Splitter and add 'ColumnView.Columns.Padding' property.
[GB.GUI.BASE]
* BUG: Splitter: Fix layout in vertical mode.
* NEW: Splitter: A double-click on the handle now resets the layout.
* NEW: ColumnView: Add 'Padding' property to the ColumnView.Columns object.
* NEW: ColumnView: No column padding by default.
2022-12-20 10:54:37 +01:00
Benoît Minisini
0ca614c4cb Fix the tests that now overflow.
[SELF-TESTER]
* BUG: Fix the tests that now overflow.
2022-12-20 02:09:26 +01:00
Benoît Minisini
6f541c94e0 Hitting ESC does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Hitting ESC does not crash anymore.
2022-12-20 02:02:21 +01:00
Benoît Minisini
1d56aa7dcf Merge branch 'master' of gitlab.com:gambas/gambas 2022-12-20 01:45:44 +01:00
Benoît Minisini
5f0d8c78fa Debugger: Put the debugger in the left panel with the project tree.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Put the debugger in the left panel with the project tree.
2022-12-20 01:38:00 +01:00
Benoît Minisini
c6e12e2ea1 TabPanel: Fix container layout when 'ShowTabBar' property is false.
[GB.FORM]
* BUG: TabPanel: Fix container layout when 'ShowTabBar' property is false.
2022-12-20 01:37:28 +01:00
Benoît Minisini
89d941397b Splitter enhancements.
[GB.GUI.BASE]
* NEW: Splitter: Layout does not include separator size anymore.
* NEW: Splitter: Proportional resize when there is more than two children.
* NEW: Splitter: Support of the 'Invert' property.
2022-12-19 22:48:42 +01:00
Christof Thalhofer
d79b36dc3c Gambas-Selftest get rid of 'Inform' command
[DEVELOPMENT ENVIRONMENT]
* OPT: Gambas-Selftest get rid of 'Inform' command
2022-12-18 11:32:11 +01:00
Benoît Minisini
ff2fe08c72 Remove debugging messages on dnd.
[GB.GTK]
* BUG: Remove debugging messages on dnd.

[GB.GTK3]
* BUG: Remove debugging messages on dnd.
2022-12-17 12:32:29 +01:00
Benoît Minisini
0456541f43 TabPanel: Inner container was one pixel too short vertically!
[GB.FORM]
* BUG: TabPanel: Inner container was one pixel too short vertically!

* NEW: DirView: Display unwritable directories with a lock emblem.
2022-12-16 19:18:18 +01:00
Benoît Minisini
8b4c7a14a1 Update some icons. Gambas icon theme now can have specific icons for applications.
[GB.FORM.STOCK]
* NEW: Redraw 'home' button.
* NEW: Fix 'microphone-off' icon in 32 pixels size.
* NEW: Update the list of icons that must be reversed with ltr languages.
* NEW: Gambas icon theme now can have specific icons for applications.
* BUG: Fix Gambas IDE application icon in Gambas icon theme.
2022-12-16 08:53:47 +01:00
Benoît Minisini
4520e88486 DirView: Display unwritable directories with a lock emblem.
[GB.FORM]
* BUG: FileChooser: The bookmark button works correctly again the first time it is clicked.
* NEW: DirView: Display unwritable directories with a lock emblem.
2022-12-16 08:51:40 +01:00
Benoît Minisini
c42043aacc Debugger: Clicking on the stack backtrace works correctly again.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Clicking on the stack backtrace works correctly again.
2022-12-16 08:48:58 +01:00
Benoît Minisini
b145355b76 The debugger now indicates if the printed information is from the current stack frame or from another one.
[GB.DEBUG]
* NEW: The debugger now indicates if the printed information is from the current stack frame or from another one.
2022-12-16 08:46:17 +01:00
Benoît Minisini
e9a050ebcb Project browser: Use a better dialog to handle file overwrite during a copy.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project browser: Use a better dialog to handle file overwrite during a copy.
* NEW: Update French translation.
2022-12-16 01:58:29 +01:00
Benoît Minisini
ee1a23039d Use the old drawing for 'debug-cursor', 'debug-into', 'debug-out' and 'debug-over' icons.
[GB.FORM.STOCK]
* NEW: Use the old drawing for 'debug-cursor', 'debug-into', 'debug-out' and 'debug-over' icons. The new one was not pretty.
2022-12-16 01:56:52 +01:00
Benoît Minisini
eef92cc2fa Debugger: Fix debugger state tracking.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix debugger state tracking.
2022-12-15 14:55:38 +01:00
Benoît Minisini
94af499b8d UserControl now automatically refreshes itself when its enabled state changes.
[GB.QT4]
* BUG: UserControl now automatically refreshes itself when its enabled state changes.

[GB.QT5]
* BUG: UserControl now automatically refreshes itself when its enabled state changes.
2022-12-15 02:32:32 +01:00
Benoît Minisini
d8ff5eb39d New debugger icons. Longer timeout for version control commands.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Use the new debugger stock icons.
* NEW: Project tree: Use a fixed size for the emblems.
* NEW: Version control: the command timeout is now 30 seconds instead of 15 seconds.
2022-12-15 02:24:20 +01:00
Benoît Minisini
3e51b40923 Add 'debug-cursor', 'debug-into', 'debug-out' and 'debug-over' stock icons.
[GB.FORM]
* NEW: Add 'debug-cursor', 'debug-into', 'debug-out' and 'debug-over' stock icons.
2022-12-15 02:22:35 +01:00
Benoît Minisini
aa27e4fb82 Add 'debug-cursor', 'debug-into', 'debug-out' and 'debug-over' icons.
[GB.FORM.STOCK]
* NEW: Add 'debug-cursor', 'debug-into', 'debug-out' and 'debug-over' icons.
2022-12-15 02:22:10 +01:00
Benoît Minisini
e1eb227882 Fix cell spanning in GridView and TreeView.
[GB.GUI.BASE]
* BUG: GridView: Fix row and column spanning algorithm.
* BUG: TreeView: Item 'Span' property works correctly now.
2022-12-15 00:33:28 +01:00
Benoît Minisini
db39432a2f Redraw the icon of source files that must not be translated.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw the icon of source files that must not be translated.
2022-12-13 02:54:22 +01:00
Benoît Minisini
74fef86b36 FileView: Fix generation of svg file previews.
[GB.FORM]
* BUG: FileView: Fix generation of svg file previews.
2022-12-13 02:53:41 +01:00
Benoît Minisini
0e8ecf18e7 FileView: Fix a crash when filling the popup menu. Many other enhancements and fixes.
[GB.FORM]
* NEW: FileView: The image file previews are now cached in the '/tmp' directory. The cache is cleared when the process terminates.
* NEW: FileView: Add preview of 'webp' image files.
* BUG: FileView: Fix a crash when filling the popup menu.
* NEW: FileView: 'Orientation' is new property that allows to define the orientation of the icon view.
* BUG: FileView: Fix preview refresh when the control is shown or hidden.
2022-12-13 02:37:44 +01:00
Benoît Minisini
faa7838e78 IconView: The layout algorithm has been cleaned up and fixed.
[GB.GUI.BASE]
* NEW: Paint.StretchImage() now returns the frame of the drawn image as a rectangle.
* BUG: IconView: The layout algorithm has been cleaned up and fixed.
2022-12-13 02:34:37 +01:00
Benoît Minisini
d13471c82a Forgot to commit a source file in commit 76196d2c!
[COMPILER]
* BUG: Forgot to commit a source file in commit 76196d2c!
2022-12-12 16:43:41 +01:00
Benoît Minisini
de50615169 Form editor: Fix control selection that broke since the last changes in TreeView.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix control selection that broke since the last changes in TreeView.
2022-12-12 11:16:13 +01:00
Benoît Minisini
6a3d02a154 Fix debugger. Do not try to optimize the shape when using the image editor line selection tool.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix step behaviour.
* NEW: Image editor: Do not try to optimize the shape when using the line selection tool.
2022-12-11 23:57:14 +01:00
Benoît Minisini
2bec336ef0 FileView: Remove file details in icon view mode. It's ugly.
[GB.FORM]
* NEW: FileView: Remove file details in icon view mode. It's ugly.
2022-12-11 23:08:25 +01:00
Benoît Minisini
28e6ed3b71 Debugger: The current frame of the stack backtrace is now always correctly highlighted. Automatic local variable declaration is now enabled by default.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: The current frame of the stack backtrace is now always correctly highlighted.
* NEW: Automatic local variable declaration is now enabled by default.
2022-12-11 21:03:16 +01:00
Benoît Minisini
2ea4b2c24d TreeView: Unselectable items are now really really unselectable.
[GB.GUI.BASE]
* BUG: TreeView: Unselectable items are now really really unselectable.
2022-12-11 21:00:30 +01:00
Benoît Minisini
90c40c740e Merge branch 'master' of gitlab.com:gambas/gambas 2022-12-11 20:50:58 +01:00
Benoît Minisini
ffbd8c3db3 TreeView: Unselectable items are now really unselectable.
[GB.GUI.BASE]
* BUG: TreeView: Unselectable items are now really unselectable.
2022-12-11 20:50:48 +01:00
gambix
34a64274b3 [GB.MAP]
* BUG: Continue to resolve bugs
2022-12-11 17:47:05 +01:00
Benoît Minisini
76196d2cd5 Fix parsing of 'Debug' symbol in preprocessor lines. Don't crash anymore if an error is raised while reading command-line arguments.
[COMPILER]
* BUG: Fix parsing of 'Debug' symbol in preprocessor lines.
* BUG: Don't crash anymore if an error is raised while reading command-line arguments.
2022-12-11 16:44:46 +01:00
Benoît Minisini
7480a9b14c Workaround incorrect use of unsigned color constants by the IDE form editor.
[COMPILER]
* NEW: Workaround incorrect use of unsigned color constants by the IDE form editor.
2022-12-10 20:44:10 +01:00
Benoît Minisini
53cd261647 Fix jump optimization again.
[COMPILER]
* BUG: Fix jump optimization again.
2022-12-10 20:36:49 +01:00
Benoît Minisini
bab0f763c5 Do not run jump optimization on ON GOTO / ON GOSUB, it breaks them.
[COMPILER]
* BUG: Do not run jump optimization on ON GOTO / ON GOSUB, it breaks them.
2022-12-10 19:39:17 +01:00
Benoît Minisini
74bb0fde23 Form editor: Fix reading and writing of color properties so that they do not trigger an overflow. Forms must be updated and recompiled!
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix reading and writing of color properties so that they do not trigger an overflow. Forms must be updated and recompiled!
2022-12-10 18:37:17 +01:00
Benoît Minisini
529e382122 Prevent a possible infinite recursion when initializing window menu bar.
[GB.QT4]
* BUG: Prevent a possible infinite recursion when initializing window menu bar.
* BUG: Fix the use of a local variable out of scope.

[GB.QT5]
* BUG: Prevent a possible infinite recursion when initializing window menu bar.
* BUG: Fix the use of a local variable out of scope.
2022-12-10 18:08:39 +01:00
Benoît Minisini
9e6d896a86 GridView: Fix integer overflow in cell span management.
[GB.GUI.BASE]
* BUG: GridView: Fix integer overflow in cell span management.
2022-12-10 17:51:53 +01:00