Commit graph

3698 commits

Author SHA1 Message Date
Benoît Minisini
9496ef2cdc The background color of a selected row now overrides the background color of its cells.
[GB.WEB.GUI]
* BUG: The background color of a selected row now overrides the background color of its cells.
* BUG: WebTable: Use white text for the index column of selected rows.
2023-03-02 01:06:28 +01:00
Benoît Minisini
be395c4ea1 MediaView: Internally use the 'Duration' event to refresh the time panel when the duration is known.
[GB.MEDIA.FORM]
* NEW: MediaView: Internally use the 'Duration' event to refresh the time panel when the duration is known.
2023-03-02 00:54:11 +01:00
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