Benoît Minisini
3d36330ad3
WebTable: Fix a javascript error when using single mode and radio buttons.
...
[GB.WEB.GUI]
* BUG: WebTable: Fix a javascript error when using single mode and radio buttons.
2023-03-02 00:21:20 +01:00
Benoît Minisini
dfa1d4e96a
ComboBox: The popup now uses the same font as the ComboBox.
...
[GB.GUI.BASE]
* BUG: ComboBox: The popup now uses the same font as the ComboBox.
2023-02-25 19:06:06 +01:00
Benoît Minisini
d6db65a219
Replace </hr>
by <hr>
.
...
[GB.MARKDOWN]
* BUG: Replace `</hr>` by `<hr>`.
2023-02-23 10:53:24 +01:00
Christof Thalhofer
f958da5af4
Revert "fix: gb.markdown now passes it's tests."
...
This reverts commit f3c66196fb
.
2023-02-22 09:56:24 +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
36385b4e25
Merge branch 'master' of gitlab.com:gambas/gambas
2023-02-21 12:38:22 +01:00
Benoît Minisini
43317ec618
'Desktop.Type' does not crash anymore if 'XDG_CURRENT_DESKTOP' is not defined. SpinBox now supports right-to-left written languages.
...
[GB.GUI.BASE]
* BUG: 'Desktop.Type' does not crash anymore if 'XDG_CURRENT_DESKTOP' is not defined.
* NEW: SpinBox: Support for right-to-left written languages.
2023-02-21 12:37:50 +01:00
Christof Thalhofer
f3c66196fb
fix: gb.markdown now passes it's tests.
...
[GB.MARKDOWN]
* FIX: gb.markdown now passes it's tests
gb.markdown did some illegal things like <p><div>...</div></p>, which is
now fixed. The tests pass, a few are marked as TODO. Some tests are adopted
from the original test file of the markdown inventor.
2023-02-12 16:29:50 +01:00
Benoît Minisini
fc14e32994
'TextHighlighter.ToHTML()' correctly handles multiple lines again.
...
[GB.EVAL.HIGHLIGHT]
* BUG: 'TextHighlighter.ToHTML()' correctly handles multiple lines again.
2023-02-12 00:57:25 +01:00
Benoît Minisini
087182ca38
MediaView: Add 'State' property.
...
[GB.MEDIA.FORM]
* NEW: MediaView: Add 'State' property.
2023-02-08 19:57:29 +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
Benoît Minisini
e792c009c9
Support for flag stock icons.
...
[GB.WEB.GUI]
* BUG: Support for flag stock icons.
2023-02-08 11:17:53 +01:00
Benoît Minisini
a0f52d3db5
WebDrawingArea: Fix Refresh() method.
...
[GB.WEB.GUI]
* BUG: WebDrawingArea: Fix Refresh() method.
2023-02-04 12:16:05 +01:00
Benoît Minisini
3021e18df8
'Content-Disposition' HTTP header is not case sensitive.
...
[GB.WEB]
* BUG: 'Content-Disposition' HTTP header is not case sensitive.
2023-02-02 16:17:59 +01:00
Benoît Minisini
5c6e35cb37
TextEditor: The highlight state can be a Short.
...
[GB.FORM.EDITOR]
* BUG: TextEditor: The highlight state can be a Short.
* NEW: TextEditor: Add documentation.
2023-01-31 07:44:24 +01:00
Benoît Minisini
b200e724f6
Fix unit tests.
...
[GB.EVAL.HIGHLIGHT]
* BUG: Fix unit tests.
2023-01-31 07:42:57 +01:00
Benoît Minisini
8ee286ffbf
TextHighlighter: Fix possible overflows.
...
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: The 'State' property is now a Short too.
* BUG: TextHighlighter: Fix possible overflows.
* NEW: Move old code to project files.
2023-01-31 07:40:59 +01:00
gambix
f446879826
Add new functions to MapPoint class to get MapPoint from text representation and get string from mappoint.
...
[GB.MAP]
* NEW: Add new functions to MapPoint class to get MapPoint from text representation and get string from mappoint.
* BUG: Map, do not allow to set a null MapPoint to the center property.
2023-01-28 15:04:22 +01:00
Benoît Minisini
b350f4fe55
WebTabPanel: Fix container management.
...
[GB.WEB.GUI]
* BUG: WebTabPanel: Fix container management.
* BUG: WebContainer: If the '_Container' internal property is used, then we suppose that only one child is visible at the same time.
2023-01-28 09:53:08 +01:00
Benoît Minisini
7bb8f825c1
TreeView, ListView, ColumnView: Fix the rename control management, and so a possible infinite loop.
...
[GB.GUI.BASE]
* BUG: GridView: Take 'Columns.Padding' property into account when computing the preferred width of a column.
* BUG: ColumnView: Extra columns are automatically resized too when 'AutoResize' is True.
* BUG: TreeView, ListView, ColumnView: Fix the rename control management, and so a possible infinite loop.
2023-01-26 10:03:03 +01:00
Benoît Minisini
9235dce28c
Merge branch 'master' of gitlab.com:gambas/gambas
2023-01-26 09:55:59 +01:00
Benoît Minisini
45e64b2653
Temporary hack that correctly raises 'DragMove' events in all cases when the mouse cursor is on the DnD frame.
...
[GB.GUI.BASE]
* BUG: Temporary hack that correctly raises 'DragMove' events in all cases when the mouse cursor is on the DnD frame.
2023-01-26 09:54:28 +01:00
Benoît Minisini
783e73c7c5
Merge branch 'master' into 'master'
...
Contains correction and new Italian translations
See merge request gambas/gambas!290
2023-01-24 20:55:32 +00: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
bb0fab0f3d
Redraw 'bus' and 'truck' icons.
...
[GB.FORM.STOCK]
* NEW: Redraw 'bus' and 'truck' icons.
2023-01-23 20:40:28 +01:00
Benoît Minisini
62c9eb078f
TextHighlighter: The 'Tag' property is actually a Short.
...
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: The 'Tag' property is actually a Short.
* NEW: Add 'accent-color' CSS property.
2023-01-23 20:39:50 +01:00
Benoît Minisini
70378152e1
Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Mate'.
...
[GB.DBUS.TRAYICON]
* BUG: Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Mate'.
2023-01-15 21:12:49 +01:00
Benoît Minisini
663dc311a7
Language: 'Country' is a new property that returns the country code associated with the language.
...
[GB.UTIL]
* NEW: Language: 'Country' is a new property that returns the country code associated with the language. Use it as a name for the stock flag icons.
2023-01-15 18:10:41 +01:00
Benoît Minisini
3d641ccfad
Redraw 'replace' icon.
...
[GB.FORM.STOCK]
* NEW: Redraw 'replace' icon.
2023-01-15 01:25:25 +01: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
7886d5c2c7
Add 'stroke' icon.
...
[GB.FORM.STOCK]
* NEW: Add 'stroke' icon.
2023-01-14 19:03:37 +01:00
Benoît Minisini
7b4ea4e6bb
ComboBox: The Selection property now works correctly.
...
[GB.GUI.BASE]
* BUG: ComboBox: The Selection property now works correctly.
2023-01-14 19:02:49 +01:00
Benoît Minisini
08a0338416
Picture: Add support for 'flag:/' stock flags paths.
...
[GB.GUI.BASE]
* NEW: Picture: Add support for 'flag:/' stock flags paths.
2023-01-13 20:16:01 +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
5aa70f9fa4
Add 256 pixels square icons of all country flags.
...
[GB.FORM.STOCK]
* NEW: Add 256 pixels square icons of all country flags.
2023-01-13 20:13:52 +01:00
Benoît Minisini
b0041e93ef
Add 'tree' icon.
...
[GB.FORM.STOCK]
* NEW: Add 'tree' icon.
2023-01-13 08:27:08 +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
caacdd9c2f
Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported. Fix reference leak in drag & drop target management of Qt components.
...
[INTERPRETER]
* NEW: 'GB.Push()' now can handle Variant values.
[GB.GTK]
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.
[GB.GTK3]
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.
[GB.QT4]
* BUG: Fix reference leak in drag & drop target management.
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.
[GB.QT5]
* BUG: Fix reference leak in drag & drop target management.
* NEW: Control.Drag() now calls Drag(), so that 'text/uri' mimetype is supported.
2023-01-09 02:45:52 +01:00
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
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
b79d305a88
Fix 'news' icon.
...
[GB.FORM.STOCK]
* NEW: Fix 'news' icon.
2023-01-05 17:40:21 +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
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
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
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
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
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
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
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
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
b17e196410
IconView: Fix icon layout so that the number of text lines specified by 'IconLines' is actually displayed.
...
[GB.GUI.BASE]
* BUG: IconView: Fix icon layout so that the number of text lines specified by 'IconLines' is actually displayed.
2022-12-31 09:05:53 +01:00
Benoît Minisini
5d565f823e
IconView: Handle 'PageDown' and 'PageUp' keys correctly.
...
[GB.GUI.BASE]
* NEW: IconView: Handle 'PageDown' and 'PageUp' keys correctly.
2022-12-31 07:45:43 +01:00
Benoît Minisini
de07a867e4
IconView: Handle 'PageDown' and 'PageUp' keys.
...
[GB.GUI.BASE]
* NEW: IconView: Handle 'PageDown' and 'PageUp' keys.
2022-12-31 07:34:10 +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
6d276d7725
TreeView: Do not cancel the row change if the row is set to -1 (no selected row).
...
[GB.GUI.BASE]
* BUG: TreeView: Do not cancel the row change if the row is set to -1 (no selected row).
2022-12-31 03:47:40 +01:00
Benoît Minisini
7629e573c5
WebForm: Disable global shortcuts when a popup -or- a modal dialog is opened.
...
[GB.WEB.GUI]
* BUG: WebForm: Disable global shortcuts when a popup -or- a modal dialog is opened.
2022-12-30 19:07:22 +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
770a3c4025
Still add new stock icons, and redraw other ones.
...
[GB.FORM.STOCK]
* NEW: Still add new stock icons, and redraw other ones.
2022-12-30 16:14:36 +01:00
Benoît Minisini
79c35adc7e
IconView: Check an update hovered item at each refresh.
...
[GB.GUI.BASE]
* BUG: IconView: Check an update hovered item at each refresh.
2022-12-29 21:14:01 +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
c86808b6f6
Add new stock icons, and redraw some ones.
...
[GB.FORM.STOCK]
* NEW: Add new stock icons, and redraw some ones.
2022-12-29 18:37:39 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
gambix
d967daea86
Some tests
2022-12-10 11:21:54 +01:00
gambix
d8159c8289
Add a new hidden function to map to add generic _MapLayer
...
[GB.MAP]
* NEW: Add a new hidden function to map to add generic _MapLayer. This will allow to easily create
information layer or other.
* NEW: Now _MapLayer have hidden functions for mouse events (_MouseMove,_MouseUp..._Enter, etc)
2022-12-09 16:41:13 +01:00
gambix
6eca2376bb
_ShapeItem have now a name more accurate _MapShapeItem and is exported
...
[GB.MAP]
* NEW: _ShapeItem have now a name more accurate _MapShapeItem and is exported.
2022-12-09 09:57:17 +01:00
Benoît Minisini
dbb868f227
FileView: Add MaxPreviewSize property. Cancel the preview background task as soon as the control is hidden.
...
[GB.FORM]
* NEW: FileView: MaxPreviewSize is a new property that allows to define the size limit of previewed file.
* BUG: FileView: The preview background task is now automatically stopped as soon as the control is hidden.
* NEW: FileChooser & DirChooser: Add a menu entry that disables the preview size limit.
* NEW: FileChooser & DirChooser: Add a preview progress bar.
2022-12-04 23:12:30 +01:00
Benoît Minisini
9659286e09
Update some application icons in Gambas icon set.
...
[GB.FORM]
* NEW: Update some application icons in Gambas icon set.
2022-12-01 22:10:29 +01:00
Benoît Minisini
5b651355d2
Update 'key' and 'page-break' icons.
...
[GB.FORM.STOCK]
* NEW: Update 'key' and 'page-break' icons.
2022-12-01 22:09:55 +01:00
Benoît Minisini
c9d0702086
MenuButton: Don't crash anymore when triggering the MenuButton shortcut.
...
[GB.FORM]
* BUG: MenuButton: Don't crash anymore when triggering the MenuButton shortcut.
* NEW: Add icon for Gambas 3 application in Gambas icon set.
2022-11-25 14:05:00 +01:00
Benoît Minisini
36b425aef1
The contents of the '.public' directory is now automatically served by webpages.
...
[GB.WEB]
* NEW: The contents of the '.public' directory is now automatically served by webpages.
2022-11-20 21:17:37 +01:00
Benoît Minisini
73fb9cc642
WebTimer: Deleting a timer now always emits the javascript code that stops it on the client side.
...
[GB.WEB.GUI]
* BUG: WebTimer: Deleting a timer now always emits the javascript code that stops it on the client side.
2022-11-18 16:58:50 +01:00
Benoît Minisini
d8831c7bbc
Fix WebTabPanel render and initial refresh of modal dialogs.
...
[GB.WEB.GUI]
* BUG: WebTabPanel: Correctly render all tabs, even the invisible ones.
* BUG: WebForm: Correctly cancel refreshes on Open, as the entire window will be redrawn.
2022-11-18 01:38:03 +01:00
Benoît Minisini
795cd79f61
WebTree: Item 'Selected' property does not crash anymore.
...
[GB.WEB.GUI]
* BUG: WebTree: Item 'Selected' property does not crash anymore.
2022-11-12 10:52:23 +01:00
Benoît Minisini
53cc9d42f1
Request.Language now correctly ignores the encoding part of the current system language.
...
[GB.WEB]
* BUG: Request.Language now correctly ignores the encoding part of the current system language.
2022-10-30 20:25:18 +01:00
Benoît Minisini
e59da7c0cc
Update 'download' and 'upload' icons.
...
[GB.FORM.STOCK]
* NEW: Update 'download' and 'upload' icons.
2022-10-29 17:18:27 +02:00
Benoît Minisini
c734ead9c1
WebTree: In single selection mode, you can't unselect the selected item with the mouse anymore.
...
[GB.WEB.GUI]
* BUG: WebTree: In single selection mode, you can't unselect the selected item with the mouse anymore.
* BUG: WebTree: Settings the Mode property correctly update the control.
2022-10-29 16:52:41 +02:00
Benoît Minisini
7f16b68f0e
The cookie name now depends on the application name, so that you can run different applications on the same server.
...
[GB.WEB.GUI]
* BUG: The cookie name now depends on the application name, so that you can run different applications on the same server.
2022-10-14 14:20:03 +02:00
Benoît Minisini
a82b8b65b9
GridView: Start scroll timer immediately.
...
[GB.GUI.BASE]
* BUG: GridView: Start scroll timer immediately.
2022-10-12 00:04:11 +02:00
Benoît Minisini
c5e9a57f0a
Fix 'Change' event in WebTextBox and WebTextArea.
...
[GB.WEB.GUI]
* BUG: WebTextBox: 'Change' event works again.
* BUG: WebTextArea: 'Change' event works again.
2022-10-05 20:58:33 +02:00
Benoît Minisini
8059d45fa6
ComboBox: Fix IDE default control size.
...
[GB.GUI.BASE]
* BUG: ComboBox: Fix IDE default control size.
2022-09-29 01:14:45 +02:00
Benoît Minisini
2962cb3f00
FontChooser: Display font preview correctly in dark mode.
...
[GB.FORM]
* BUG: FontChooser: Display font preview correctly in dark mode.
2022-09-29 00:06:12 +02:00
Benoît Minisini
d664f6728a
WebDrawingArea: Correctly implement the Refresh() method.
...
[GB.WEB.GUI]
* BUG: WebDrawingArea: Correctly implement the Refresh() method.
2022-09-24 02:27:55 +02:00
Benoît Minisini
86539be37f
Fix WebTree selection, and how WebTextBox and WebTextArea changes are handled. Add server port to the session cookie.
...
[GB.WEB.GUI]
* BUG: Session: Add the server port to the session cookie.
* BUG: WebTree: The Clear() method correctly triggers a refresh.
* OPT: WebTree: Don't trigger useless refreshes when selection changes.
* BUG: Accumulates WebTextBox and WebTextArea changes, and send them just before the next request.
2022-09-24 02:21:34 +02:00
Benoît Minisini
ec937fcbd6
DataSource: Prevent 'Save()' method to call itself.
...
[GB.DB.FORM]
* BUG: DataSource: Prevent 'Save()' method to call itself.
2022-09-23 23:49:38 +02:00
Benoît Minisini
74f80c0ef9
Merge branch 'master' of gitlab.com:gambas/gambas
2022-09-17 22:51:07 +02:00
Benoît Minisini
da046feb3f
Add error location when displaying an error message in the generated HTML.
...
[GB.MARKDOWN]
* NEW: Add error location when displaying an error message in the generated HTML.
2022-09-17 22:50:44 +02:00
Benoît Minisini
1a433879f1
Update some icons.
...
[GB.FORM.STOCK]
* NEW: Update 'download' and 'upload' icons.
* NEW: Redraw 'inheritance', 'gradient' and 'network' icon.
2022-09-17 22:49:05 +02:00