Commit graph

10811 commits

Author SHA1 Message Date
Benoît Minisini
496960ad4f Label: Fix frame drawing and text alignment inside frame.
[GB.GUI.BASE]
* BUG: Label: Clip frame drawing for style that draw an unwanted background.
* BUG: Label: Take the frame width into account when aligning the contents.
2022-12-28 17:47:36 +01:00
Benoît Minisini
bd069c9ffd WebForm: Disable global shortcuts when a popup is opened.
[GB.WEB.GUI]
* BUG: WebForm: Disable global shortcuts when a popup is opened.
2022-12-28 14:52:24 +01:00
Benoît Minisini
a43fc09acd Paint.DrawText() and Paint.DrawRichText() do not move the current point anymore.
[GB.GTK]
* BUG: Paint.DrawText() and Paint.DrawRichText() do not move the current point anymore.

[GB.GTK3]
* BUG: Paint.DrawText() and Paint.DrawRichText() do not move the current point anymore.
2022-12-28 13:38:31 +01:00
Benoît Minisini
6037ecd1dd The color chooser dialog does not overflow anymore when selecting an alpha component greater or equal than 128.
[DEVELOPMENT ENVIRONMENT]
* BUG: The color chooser dialog does not overflow anymore when selecting an alpha component greater or equal than 128.
* NEW: Use the new 'application' stock icon for the farm dialog.
2022-12-28 12:17:36 +01:00
Benoît Minisini
f7e2a64659 New stock icons.
[GB.FORM]
* NEW: New stock icons.
2022-12-28 12:16:40 +01:00
Benoît Minisini
2fc77cdb98 Some new icons, and some old ones redrawn.
[GB.FORM.STOCK]
* NEW: Some new icons, and some old ones redrawn.

* NEW: Add 128 pixels versions of 'layout' and 'share' icons.
2022-12-28 12:15:54 +01:00
Benoît Minisini
99c523daa3 Image editor: Make the resize / stretch dialog remember the last selected ratio.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Make the resize / stretch dialog remember the last selected ratio.
2022-12-27 23:17:22 +01:00
Benoît Minisini
2470a4221c TextEditor: Application.MiddleClickPaste is taken into account.
[GB.FORM.EDITOR]
* NEW: TextEditor: Application.MiddleClickPaste is taken into account.
2022-12-27 22:18:39 +01:00
Benoît Minisini
fcef1adabf Application.MiddleClickPaste is a new property that tells if middle click should paste.
[GB.GTK]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.
  The global GTK+ settings is taken into account at application startup.

[GB.GTK3]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.
  The global GTK+ settings is taken into account at application startup.

[GB.QT4]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.

[GB.QT5]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.
2022-12-27 22:15:50 +01:00
Benoît Minisini
5f74a100e8 Project tree: Do not crash anymore when opening the 'Open with' popup twice.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Do not crash anymore when opening the 'Open with' popup twice.
2022-12-24 14:09:48 +01:00
Benoît Minisini
dd446ef7b6 DesktopFile: Fix FromMime() method that searched mime information files incorrectly.
[GB.DESKTOP]
* BUG: DesktopFile: Fix FromMime() method that searched mime information files incorrectly.
2022-12-24 14:09:13 +01:00
Benoît Minisini
b2e95aa882 Prevent Add(), Remove() and Resize() methods on read-only arrays.
[INTERPRETER]
* BUG: Prevent Add(), Remove() and Resize() methods on read-only arrays.
2022-12-24 14:07:03 +01:00
Benoît Minisini
a06edadf8c Update financial support file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support file.
2022-12-24 13:27:56 +01:00
Benoît Minisini
52a28263fe The preview size limit does not apply to text files and video files.
[GB.FORM]
* NEW: FileView: The preview size limit does not apply to text files and video files.
* BUG: FileView: Fix drawing of video files preview.
2022-12-24 13:03:14 +01:00
Benoît Minisini
b67580b016 Snow starts to fall one day before X-Mas now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Snow starts to fall one day before X-Mas now.
2022-12-23 23:52:57 +01:00
Benoît Minisini
529360675e Key.IsPressed() is a new method that tells if a specific key is pressed. An optional argument allows to ignore the keyboard layout.
[GB.SDL2]
* NEW: Key.IsPressed() is a new method that tells if a specific key is pressed. An optional argument allows to ignore the keyboard layout.
2022-12-23 23:46:05 +01:00
Benoît Minisini
a7e49779e5 FileView: Add preview of video files if 'ffmpeg' is installed.
[GB.FORM]
* NEW: FileView: Add preview of video files if 'ffmpeg' is installed.
* OPT: FileView: Don't hash the contents of the file for preview. Just hash the path and the last modification time.
2022-12-23 15:42:56 +01:00
Benoît Minisini
98fb2a0fc7 Do not check for a project directory when listing archive files.
[ARCHIVER]
* BUG: Do not check for a project directory when listing archive files.
2022-12-23 13:51:20 +01:00
Benoît Minisini
77fb811736 FileView: Add preview of text files and PDF files.
[GB.FORM]
* NEW: FileView: Add preview of text files and PDF files.
2022-12-23 13:47:28 +01:00
Benoît Minisini
d285d7c55a FileView: Display icons for XDG user directories having no explicit '.directory' desktop file.
[GB.FORM]
* NEW: FileView: Display icons for XDG user directories having no explicit '.directory' desktop file.
* NEW: Add 'folder-template' and 'folder-share' stock icons.
2022-12-23 12:46:14 +01:00
Benoît Minisini
ffe786de77 Add 'folder-share' 'folder-template' icons.
[GB.FORM.STOCK]
* NEW: Add 'folder-share' 'folder-template' icons.
* NEW: Add 128 pixels versions of 'layout' and 'share' icons.
2022-12-23 12:44:38 +01:00
Benoît Minisini
21e72303ab Add the '-l' option to list all files included in an archive.
[ARCHIVER]
* NEW: Add the '-l' option to list all files included in an archive.
2022-12-23 12:31:17 +01:00
Benoît Minisini
064c9fb24e Disable all actions that could modify the source code while debugging. Replace debugger tab by little buttons to save vertical space.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Debugger: Switching between project tree and debugger is now done with a little button instead of tabs, to save vertical space.
* BUG: Disable all actions that could modify the source code while debugging.
2022-12-22 04:30:55 +01:00
Benoît Minisini
1076eba4fa IconView: Fix drawing and selection in horizontal orientation.
[GB.GUI.BASE]
* BUG: IconView: Fix drawing and selection in horizontal orientation.
2022-12-21 08:00:02 +01:00
Benoît Minisini
511ffd797c FileView: 'Style' is a new property that allows to define the view style between 'Normal', 'Compact', and 'Detailed'.
[GB.FORM]
* NEW: Update French translation.
* BUG: FileView: Generate thumbnails differently so that they are smooth on Qt.
* NEW: FileView: 'Style' is a new property that allows to define the view style between 'Normal', 'Compact', and 'Detailed'.
* NEW: FileView: The 'ShowDetailed' property is now deprecated.
* NEW: FileView: Memorize a different icon size for 'Compact' and 'Normal' view.
* NEW: DirChooser & FileChooser: Add the 'Style' property.
* NEW: Add 'view-compact' stock icon.
2022-12-21 07:59:01 +01:00
Benoît Minisini
49a0b08e89 Add 'view-compact' and modify 'view-detail' icon.
[GB.FORM.STOCK]
* NEW: Add 'view-compact' and modify 'view-detail' icon.
2022-12-21 07:54:48 +01:00
Benoît Minisini
9da87e7895 TextHighlighter: Use '<tt>' instead of '<pre>' in ToHTML() method.
[GB.EVAL.HIGHLIGHT]
* NEW: Update some CSS properties.
* BUG: TextHighlighter: Use '<tt>' instead of '<pre>' in ToHTML() method.
2022-12-20 21:49:12 +01:00
Benoît Minisini
83942fe012 Label: Use the new UserControl_Resize() handler. It saves one Watcher.
[GB.GUI.BASE]
* NEW: Label: Use the new UserControl_Resize() handler. It saves one Watcher.
2022-12-20 21:47:49 +01:00
Benoît Minisini
af8f28e0e4 UserControl: Call the UserControl_Resize() public method on resize.
[GB.GTK]
* NEW: UserControl: Call the UserControl_Resize() public method on resize.

[GB.GTK3]
* NEW: UserControl: Call the UserControl_Resize() public method on resize.

[GB.QT4]
* NEW: UserControl: Call the UserControl_Resize() public method on resize.

[GB.QT5]
* NEW: UserControl: Call the UserControl_Resize() public method on resize.
2022-12-20 21:45:29 +01:00
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