Commit graph

1231 commits

Author SHA1 Message Date
W. Raets (gbWilly)
ac0bfb9197 [GB.EVAL.HIGHLIGHT]
* NEW: Dutch translation updated

[GB.FORM]
* NEW: Dutch translation updated

[GB.FORM.EDITOR]
* NEW: Dutch translation updated

[GB.FORM.PRINT]
* NEW: Dutch translation updated

[GB.FORM.TERMINAL]
* NEW: Dutch translation updated

[GB.GUI.BASE]
* NEW: Dutch translation updated

[GB.UTIL]
* NEW: Dutch translation updated

[GB.WEB.GUI]
* NEW: Dutch translation updated
2023-06-29 21:20:28 +02:00
Benoît Minisini
2ef4fff770 ValueBox: Add Unselect() method to unselect the selected text.
[GB.FORM]
* NEW: ValueBox: Add Unselect() method to unselect the selected text.
2023-06-19 22:45:03 +02:00
Martín Belmonte
1f603480c2 Update Spanish translations. 2023-06-08 11:17:25 +00:00
Benoît Minisini
8fb2189446 FileView: Prevent a possible infinite refresh and preview recursion when some properties are read during the 'Refresh' event.
[GB.FORM]
* BUG: FileView: Prevent a possible infinite refresh and preview recursion when some properties are read during the 'Refresh' event.
2023-05-25 10:37:08 +02:00
Benoît Minisini
b5887bef8a ColorChooser: Use the new Desktop.PickColor() function to pick a color.
[GB.FORM]
* NEW: ColorChooser: Use the new Desktop.PickColor() function to pick a color.
* BUG: FileView: Do not crash if a file has disappeared when reloading the view.
2023-05-12 15:57:21 +02:00
Benoît Minisini
8206a3fa73 FileView: Contents refresh is now always forced when neeeded.
[GB.FORM]
* BUG: FileView: Contents refresh is now always forced when neeeded.
2023-05-08 13:48:23 +02:00
Benoît Minisini
f6497d2e00 SwitchButton: Smaller button and better use of system colors.
[GB.FORM]
* NEW: SwitchButton: Smaller button and better use of system colors.
2023-03-28 23:12:21 +02:00
Benoît Minisini
196f43e3c2 FileView: Do not disable the file watch when the control is hidden, but when the control is detached from its parent.
[GB.FORM]
* BUG: FileView: Do not disable the file watch when the control is hidden, but when the control is detached from its parent.
2023-03-18 08:22:19 +01:00
Benoît Minisini
e550a4e76e SwitchButton: Little enhancements in the drawing routine.
[GB.FORM]
* NEW: SwitchButton: Little enhancements in the drawing routine.
2023-03-17 16:14:43 +01:00
Benoît Minisini
8d7b541421 SwitchButton: Change the way it is drawn, so that it's a bit more "readable".
[GB.FORM]
* NEW: SwitchButton: Change the way it is drawn, so that it's a bit more "readable".
2023-03-17 03:16:03 +01:00
Benoît Minisini
e1a07a798d Desktop directory icons initialisation does not crash anymore if a specific desktop directory does not exist.
[GB.FORM]
* BUG: Desktop directory icons initialisation does not crash anymore if a specific desktop directory does not exist.
2023-03-08 16:53:08 +01:00
Benoît Minisini
7884cbabca Stock: Fix support for KDE desktop.
[GB.FORM]
* BUG: Stock: Fix support for KDE desktop.
2023-02-21 15:48:56 +01:00
Benoît Minisini
6cf4c47c7a Fix 'FileChooser.Root' and prevent SizePanel size from being lower than the minimum size after being hidden.
[GB.FORM]
* BUG: FileChooser & DirChooser: Setting the Root property works again as before.
* BUG: SidePanel: Prevent the panel size from being lower than the minimum size after being hidden.
2023-02-08 11:20:42 +01:00
Gianluigi Gradaschi
a1aed6fbba [DEVELOPMENT ENVIRONMENT]
* NEW: Update Italian translation.

[SELF-TESTER]
* NEW: Update Italian translation.

[GB.FORM]
* NEW: Update Italian translation.

[GB.FORM.EDITOR]
* NEW: Update Italian translation.

[GB.UTIL]
* NEW: Update Italian translation.

[GB.WEB.GUI]
* NEW: Update Italian translation.
2023-01-24 20:55:31 +00:00
Benoît Minisini
e54c4e50a4 Add 'stroke' stock icon.
[GB.FORM]
* NEW: Add 'stroke' stock icon.
2023-01-14 19:03:57 +01:00
Benoît Minisini
47ffe361de Add support for stock flags.
[GB.FORM]
* NEW: Stock: 'Flags' is a new property that returns the list of all available stock flags.
* NEW: Stock: 'GetFlags()' is a new method that returns a stock flag from its key.
2023-01-13 20:15:11 +01:00
Benoît Minisini
64d4effc02 Add documentation and 'tree' stock icon.
[GB.FORM]
* NEW: Add documentation.
* NEW: Add 'tree' stock icon.
2023-01-13 08:25:56 +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
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
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
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
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
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
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
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
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
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
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
5a1095794e FileView: Number of pages are now be more readable on dark backgrounds.
[GB.FORM]
* BUG: FileView: Remove a debugging message.
* NEW: FileView: Number of pages are now be more readable on dark backgrounds.
2023-01-01 14:53:52 +01:00
Benoît Minisini
166bb46e7e Add preview of OpenOffice and EPub files, and the number of pages in the preview when possible.
[GB.FORM]
* NEW: FileView: Add preview of OpenOffice and EPub files.
* NEW: FileView: Add the number of pages to the preview of OpenOffice and PDF files.
2023-01-01 14:40:02 +01:00
Benoît Minisini
ca6ce92d1e DirChooser: Find the best associated bookmark when setting the root directory.
[GB.FORM]
* BUG: DirChooser: Use the correct Copy.Paste() method.
* BUG: DirChooser: Find the best associated bookmark when setting the root directory.
2022-12-31 14:25:04 +01:00
Benoît Minisini
b0c3c0e32f TabPanel: Ensure that the current tab button is always visible even if the last tab is hidden.
[GB.FORM]
* BUG: TabPanel: Ensure that the current tab button is always visible even if the last tab is hidden.
2022-12-31 07:12:47 +01:00
Benoît Minisini
21eb4686c2 Add new stock icons.
[GB.FORM]
* NEW: Add new stock icons.
2022-12-30 16:15:03 +01:00
Benoît Minisini
19d592dff7 Add some new stock icons.
[GB.FORM]
* NEW: Add some new stock icons.
2022-12-29 18:38:02 +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
f7e2a64659 New stock icons.
[GB.FORM]
* NEW: New stock icons.
2022-12-28 12:16:40 +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
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
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
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
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
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
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
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
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
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
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
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