Commit graph

10821 commits

Author SHA1 Message Date
Benoît Minisini
4561baf342 Label: Add BorderRadius, BorderWidth and BorderColor property.
[GB.GUI.BASE]
* NEW: Label: Add BorderRadius, BorderWidth and BorderColor property.
2022-12-29 15:39:58 +01:00
Benoît Minisini
9ed4595ec5 Clear the modified flag after the image texture has been synchronized.
[GB.SDL2]
* BUG: Clear the modified flag after the image texture has been synchronized.
2022-12-29 01:06:18 +01:00
Benoît Minisini
250c292820 Correctly synchronize the image texture when the image has been modified by a method from 'gb.image'.
[GB.SDL2]
* BUG: Correctly synchronize the image texture when the image has been modified by a method from 'gb.image'.
2022-12-29 01:04:01 +01:00
Benoît Minisini
e7b5908a0e Initialize the 'Application.MiddleClickPaste' property at the right time.
[GB.GTK]
* BUG: Initialize the 'Application.MiddleClickPaste' property at the right time.

[GB.GTK3]
* BUG: Initialize the 'Application.MiddleClickPaste' property at the right time.
2022-12-28 22:13:33 +01:00
Benoît Minisini
7f4d4e7457 Merge branch 'master' of gitlab.com:gambas/gambas 2022-12-28 18:13:15 +01:00
Benoît Minisini
8c850058ff Update project icon.
[GB.FORM.TERMINAL]
* NEW: Update project icon.
2022-12-28 18:13:06 +01:00
Benoît Minisini
2a0ed10cf5 Add 'chat' and 'magnet' stock icons.
[GB.FORM]
* NEW: Add 'chat' and 'magnet' stock icons.
2022-12-28 18:12:18 +01:00
Benoît Minisini
c518977d59 Add 'chat' and 'magnet' stock icons.
[GB.FORM.STOCK]
* NEW: Add 'chat' and 'magnet' stock icons.
2022-12-28 18:11:55 +01:00
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
1dd2f4969f Merge branch 'bsteers4-master-patch-46598' into 'master'
TextHighlighter_Sh.class, fix error after function keyword if bracket does not exist

See merge request gambas/gambas!285
2022-12-28 14:09:36 +00: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
Bruce Steers
e50869e886 Update TextHighlighter_Sh.class
[GB.EVAL.HIGHLIGHT]
* BUG: check first for bracket after function keyword.
2022-12-21 17:16:30 +00: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