Commit graph

3796 commits

Author SHA1 Message Date
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
gambix
65a5c53ea2 [GB.REPORT2]
* BUG: Remove the use of deprecated and removed function of DocumentView
  in ReportView. The page delection is available now
2022-09-17 14:02:25 +02:00
Benoît Minisini
c35d61bd7b Redraw 'download' and 'upload' icons.
[GB.FORM.STOCK]
* NEW: Redraw 'download' and 'upload' icons.
2022-09-06 10:29:20 +02:00
Benoît Minisini
5c347359cf Redesign the 'goto' panel.
[GB.FORM.EDITOR]
* NEW: TextEditor: Do not show the 'goto' panel if there is only one line.
* NEW: TextEditor: Redesign the 'goto' panel.
* NEW: TextEditor: Update French translation.
2022-09-03 14:29:49 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
Benoît Minisini
620ad9c919 TerminalView: Compute the character width so that non-fixed font characters are not truncated.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Compute the character width so that non-fixed font characters are not truncated.
2022-09-03 02:40:45 +02:00
Benoît Minisini
e5a0d48c2e Language.GetTranslations() method now browses the correct language files in executables.
[GB.UTIL]
* BUG: Language.GetTranslations() method now browses the correct language files in executables.
2022-08-26 17:01:54 +02:00
Benoît Minisini
f9207cb5a2 Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
[GB.DBUS.TRAYICON]
* BUG: Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
  Cinnamon seems to ignore the return value of the 'AboutToShow' event.
2022-08-26 16:51:09 +02:00
Benoît Minisini
0f99e553c9 Fix 'hibernate' and 'info' icons.
[GB.FORM.STOCK]
* NEW: Fix 'hibernate' and 'info' icons.
2022-08-26 00:20:11 +02:00
Benoît Minisini
9ae544c5b2 ListEditor: Add 'Grid' property.
[GB.FORM]
* NEW: ListEditor: Add 'Grid' property.
2022-08-26 00:19:31 +02:00
Benoît Minisini
c875154868 GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
[GB.GUI.BASE]
* BUG: GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
2022-08-26 00:18:39 +02:00
Benoît Minisini
72020e39a9 GridView: Add 'Rows.Padding' and 'Columns.Padding' properties. ListBox: Add 'Grid' property.
[GB.GUI.BASE]
* NEW: GridView: Add 'GridView.Columns.Padding' property for an additional cell horizontal padding.
* NEW: GridView: Add 'GridView.Rows.Padding' property for an additional cell vertical padding.
* NEW: ListBox: Add a 'Grid' property, that adds a grid and some padding inside cells when set.
2022-08-26 00:11:14 +02:00
Benoît Minisini
e2e2b55f68 DataView: Custom column alignment is taken into account now.
[GB.DB.FORM]
* BUG: DataView: Make blob editor fully translated.
* NEW: DataView: Custom column alignment is taken into account now.
* NEW: Update French translation.
2022-08-26 00:07:33 +02:00
Benoît Minisini
ada033d6dd Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
[GB.GUI.BASE]
* BUG: Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
2022-08-25 17:11:52 +02:00
Benoît Minisini
d1fabcfe38 TextEditor: Raise the 'Change' event when setting the 'Text' property.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when setting the 'Text' property.
2022-08-22 14:28:21 +02:00
Benoît Minisini
395e368d32 TextEditor: Raise the 'Change' event when loading a file, settings the bookmarks or the disabled breakpoints.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when loading a file, settings the bookmarks or the disabled breakpoints.
2022-08-20 16:34:33 +02:00
Benoît Minisini
441fd57ceb Add 'MouseDown', 'MouseUp', and 'MouseMove' events in DrawingArea. Add 'Enter' and 'Leave' events in WebControl.
[GB.WEB.GUI]
* NEW: WebControl: Implement 'Enter' and 'Leave' event.
* NEW: DrawingArea: Implement 'MouseDown', 'MouseUp', and 'MouseMove' events. At the moment 'MouseMove' are raised only when a button is pressed.
* BUG: Paint: Do not crash if no brush has been defined. Let the underlying driver use the default brush instead.
2022-08-11 18:34:26 +02:00
Benoît Minisini
9b66aa13ec Paint: Add 'LineCap', 'LineJoin', 'MiterLimit', 'LineDash' and 'LineDashOffset' properties.
[GB.WEB.GUI]
* NEW: Paint: Add 'LineCap', 'LineJoin', 'MiterLimit', 'LineDash' and 'LineDashOffset' properties.
* NEW: Paint: Add public constants for 'LineCap' and 'LineJoin' properties.
2022-08-09 23:59:22 +02:00
Benoît Minisini
5f958623a4 Continue 'Paint' implementation, and make the DrawingArea canvas resize automatically.
[GB.WEB.GUI]
* NEW: DrawingArea: The canvas now resizes automatically, and send its size to the server.
* NEW: Paint: Implement 'Width' and 'Height' properties.
* NEW: Paint: Add 'Translate()', 'Rotate()', 'Scale()' and 'Reset()' methods.
* NEW: Paint: Add write-only 'Operator' property. Not all composition modes are supported at the moment.
* BUG: Move focus frame when the window is resized.
2022-08-09 17:04:06 +02:00
Benoît Minisini
861eebaa7a Merge branch 'fix-dw-black' into 'master'
WebDrawingArea, fix using zero value Color.Black

See merge request gambas/gambas!274
2022-08-09 01:15:50 +00:00
Benoît Minisini
546989eb56 Fix component dependencies.
[GB.WEB.GUI]
* BUG: Fix component dependencies.
2022-08-09 03:13:35 +02:00
Benoît Minisini
687fa8460f Paint: Implement 'DrawImage' method.
[GB.WEB.GUI]
* NEW: Make the ';' explicit in internally generated javascript.
* NEW: Add 'gb.geom' as a new dependency.
* NEW: Paint: Implement 'DrawImage' method.
* BUG: Paint: Fix gradient generation routine in 'lib.js'.
* NEW: DrawingArea: Do not include the refresh code inside the main page HMTL.
2022-08-09 03:06:23 +02:00
Benoît Minisini
ecfbd41969 ComboBox: Settings the 'List' property does not raise the 'Click' event anymore.
[GB.GUI.BASE]
* BUG: ComboBox: Settings the 'List' property does not raise the 'Click' event anymore.
2022-08-09 02:47:53 +02:00
Bruce Steers
f1f23bcb93 WebDrawingArea, fix using zero value Color.Black
[GB.GUI.WEB]
* BUG: use IsNull() to check style as Color.Black is 0
2022-08-09 00:27:42 +01:00
Benoît Minisini
4930e6d406 ComboBox: Fix padding of borderless editable comboboxes.
[GB.GUI.BASE]
* BUG: ComboBox: Fix padding of borderless editable comboboxes.
* NEW: ComboBox: Always display the border when the popup is opened.
2022-08-09 01:16:09 +02:00
Benoît Minisini
47ae5e6e70 TextEditor: Setting the 'Breakpoint' property correctly raises the 'Change' event.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the 'Breakpoint' property correctly raises the 'Change' event.
2022-08-08 17:25:58 +02:00
Benoît Minisini
654daa0724 Simplify and fix the PaintBrush implementation.
[GB.WEB.GUI]
* NEW: Color: Replace 'WebControl._GetColor()' by 'Color.ToHTML()'.
* NEW: Paint: Handle the 'PaintBrush' class directly in the Paint class. The paint driver job is just translating it into javascript.
* NEW: Paint: Remove the javascript generation routine from the Gradient class and move it to the paint driver.
* NEW: Paint: Add the 'Paint.Color' method that creates a color brush.
* NEW: Paint: Move the 'PaintBrush' type constants to the 'PaintDriver' class.
2022-08-08 16:20:45 +02:00
Benoît Minisini
f350d8171a Merge branch 'web-gui-brush' into 'master'
Add PaintBrush class with gradients to gb.web.gui

See merge request gambas/gambas!273
2022-08-08 12:32:33 +00:00
Bruce Steers
299f0b3232 Update Paint.ToHTML wiki help
[GB.WEB.GUI]
* OPT: Explain in help that Color.ToHTML() will return text only useable with CSS style assignments if alpha is used.
2022-08-08 12:17:46 +01:00
Bruce Steers
892d2a7ab6 Web Paint, handle colors in PaintBrush
[GB.WEB.GUI]
* NEW: handle colors with PaintBrush.class

I do not think colors is needed in PaintBrush as can simply be the argument for Fill/Stroke. I added it as GUI Paint class does it a similar way.
2022-08-08 10:38:21 +01:00
Bruce Steers
0d611f19ba Adjust WebPaint/Gradient methods.
[GB.WEB.GUI]
* OPT: do not Export Gradient.class
* OPT: Remove Paint.Brush property and replace with Paint.SetBrush() and hidden paint._GetBrush() methods
* OPT: Rename Color.ToJS() to Color.ToHTML()
* OPT: Hide PaintBrush methods for internal use only with relevant methods.
* OPT: Check for String datatype when checking Style argument.
* NEW: default to use Brush if Style is ommited from Fill() Stroke() methods
* OPT: Replace the gw.gradient.getvar() method of lib.js with gw.paint.makeGradient()
2022-08-08 10:20:54 +01:00
Benoît Minisini
bb46ed342a FileView: Remove 'Title' and 'ShowTitle' properties.
[GB.FORM]
* NEW: FileView: Remove 'Title' and 'ShowTitle' properties.
2022-08-08 02:43:24 +02:00
Benoît Minisini
8f41ac3148 IconView: Item shape now follows the icon size and the text size. Fix 'Selection' property.
[GB.GUI.BASE]
* NEW: IconView: Item shape now follows the icon size and the text size.
* BUG: IconView: Setting the 'Selection' property now work correctly.
2022-08-08 02:42:37 +02:00
Benoît Minisini
0c0256e190 TextLabel: Vertically centered TextLabels take the 'AutoResize' property into account correctly.
[GB.GUI.BASE]
* BUG: TextLabel: Vertically centered TextLabels take the 'AutoResize' property into account correctly.
2022-08-07 22:21:02 +02:00
Benoît Minisini
9e37aa68da DirBrowser: A new control that displays an horizontal directory browser.
[GB.FORM]
* NEW: DirBrowser: A new control that displays an horizontal directory browser.
2022-08-07 20:33:10 +02:00
Benoît Minisini
0c68489ad1 IconView: 'Select' event is correctly raised again in single selection mode.
[GB.GUI.BASE]
* BUG: IconView: 'Select' event is correctly raised again in single selection mode.
2022-08-07 16:59:49 +02:00
Bruce Steers
b308a78efc Fix typo Colour should be Color , remove old debug statement
[GB.WEB.GUI]
* BUG: had typed Colour not Color (the curse of being English ;) )
* BUG: remove Debug Paint.Linewidth call as Linewidth is now ReadOnly
2022-08-07 10:09:55 +01:00
Bruce Steers
f1beb42fd1 Merge branch 'master' of https://gitlab.com/gambas/gambas into web-gui-brush 2022-08-07 09:52:30 +01:00
Bruce Steers
379012175d web.gui, Add RadialGradient(), create a Paint folder for all Paint classes. add Color.ToJS()
[GB.WEB.GUI]
* NEW: Paint.RadialGradient() Raidal (circular) gradients
* NEW: Color.ToJS(GBColor As Integer) As String. converts a gambas color integer into javascript code.
* OPT: create a Paint folder for all Paint related classes
2022-08-07 09:29:32 +01:00
Bruce Steers
3b9c9adc96 make New PaintBrush take arguments to create the brush imediately, add help
[GB.WEB.GUI]
* NEW: PaintBrush(Type, Value) can create the brush instantly
* NEW: add inline wiki help

just a tweak or 2
2022-08-06 23:54:17 +01:00
Bruce Steers
c57ab3a25c Add PainBrush.class to gb.web.gui
[GB.WEB.GUI]
* NEW: PaintBrush.class for Colors,Images,Gradients
* NEW: implement LinearGradient as a trial run
2022-08-06 23:10:30 +01:00
Benoît Minisini
583ced3d77 WebTree: Raise the 'Select' event in single selection mode.
[GB.WEB.GUI]
* BUG: WebTree: Raise the 'Select' event in single selection mode.
2022-08-06 19:26:00 +02:00
Benoît Minisini
122d963552 ComboBox: Setting the 'List' property now raises the 'Click' event if the first item is automatically selected.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'List' property now raises the 'Click' event if the first item is automatically selected.
2022-08-06 19:05:44 +02:00
Benoît Minisini
b4ab4c0d04 Update 'language' icon.
[GB.FORM.STOCK]
* NEW: Update 'language' icon.
2022-08-06 18:02:35 +02:00
Benoît Minisini
c5f1d4603b Use the new support of file paths in the Drag.Paste() method.
[GB.FORM.TERMINAL]
* NEW: Use the new support of file paths in the Drag.Paste() method.
2022-08-06 18:01:59 +02:00
Benoît Minisini
ce88aab1c2 Automatic DnD support and a few other enhancements in FileView.
[GB.FORM]
* NEW: FileView: Add a 'ShowTitle' property, that toggles a title bar.
* NEW: FileView: 'Title' is a new property that allows to define the title displayed on top. By default it's the path of the current directory.
* NEW: FileView: Add a 'Filter' event, that allows to filter what is displayed file by file.
* NEW: FileView: 'Paths' is a new property that returns the absolute paths of all selected elements.
* NEW: FileView: Automatic support of drag & drop.
* NEW: FileView: 'Copy()' is a new method that copy the selected elements to the clipboard as a "text/uri-list".
* NEW: Update icon map.
2022-08-06 18:00:40 +02:00
Benoît Minisini
60daa96a2e Fix DnD support, IconView, and add automatic support for file paths array in clipboard.
[GB.GUI.BASE]
* NEW: Clipboard: Remove 'CopyPath()' and 'CopyPaths()' methods.
* NEW: Clipboard: 'Copy()' now can takes a file path array as soon as the mime type is "text/uri-list".
* NEW: Clipboard: 'Paste()' now returns a file path array as soon as the mime type is "text/uri-list".
* NEW: Drag: 'Drag()' now can takes a file path array as soon as the mime type is "text/uri-list".
* BUG: GridView: 'RowAt()' now returns rows at negative coordinates.
* BUG: GridView: Use 'Color.TextBackground' when the 'Background' property is set to 'Color.Default'.
* NEW: IconView: Add 'Scroll' event.
* NEW: IconView: Rubberband selection is more clever.
* NEW: IconView: Support for DnD.
* BUG: IconView: Use 'Color.TextBackground' when the 'Background' property is set to 'Color.Default'.
* NEW: ScrollArea: Automatic scrolling during DnD now should work as expected.
* NEW: Drag: The Dnd Frame now has a darker border.
2022-08-06 17:55:06 +02:00
Benoît Minisini
386201347d FileView: Add a 'Rename' event that allows to implement a custom file renaming.
[GB.FORM]
* NEW: FileView: Add a 'Rename' event that allows to implement a custom file renaming.
2022-08-03 13:50:47 +02:00
Benoît Minisini
72481d964a IconView: fix a few problems.
[GB.GUI.BASE]
* BUG: IconView: UnselectAll() now always reset the current item.
* NEW: IconView: ESC key now unselects all items.
* BUG: IconView: Fix computation of text icon position when renaming.
2022-08-03 13:50:06 +02:00
Benoît Minisini
1179e3a0fc FileView: Correctly set the item texts so that renaming works as expected in all cases.
[GB.FORM]
* BUG: FileView: Correctly set the item texts so that renaming works as expected in all cases.
2022-08-03 12:57:00 +02:00
Benoît Minisini
4e0dcdc19d Toolbar: Configuring is a new property that returns if the toolbar is in configuration mode.
[GB.FORM.MDI]
* NEW: Toolbar: Configuring is a new property that returns if the toolbar is in configuration mode.
2022-08-03 11:38:45 +02:00
Benoît Minisini
5b1bafb69f Paint: Implement LineWidth as a write-only property.
[GB.WEB.GUI]
* NEW: Paint: Implement LineWidth as a write-only property.
2022-08-03 11:36:42 +02:00
Benoît Minisini
2dd20ec882 FileView: Add Selected property that returns if at least one item is selected.
[GB.FORM]
* NEW: FileView: Add Selected property that returns if at least one item is selected.
2022-08-03 11:33:24 +02:00
Benoît Minisini
365fcd2b8c TreeView, ColumnView, ListView, IconView: Add a Selected property that returns if at least one item is selected.
[GB.GUI.BASE]
* NEW: TreeView, ColumnView, ListView, IconView: Add a Selected property that returns if at least one item is selected.
2022-08-03 11:32:57 +02:00
Benoît Minisini
e323b08347 FileView: Correctly refresh icons on icon theme change.
[GB.FORM]
* BUG: FileView: Correctly refresh icons on icon theme change.
2022-08-03 10:06:38 +02:00
Benoît Minisini
62330a4992 Clipboard: PastePaths() method is a new method that does the contrary as CopyPaths().
[GB.GUI.BASE]
* NEW: Clipboard: PastePaths() method is a new method that does the contrary as CopyPaths().
2022-08-03 10:05:41 +02:00
Benoît Minisini
c07451ee73 New stock icons 'export' and 'import'.
[GB.FORM.STOCK]
* NEW: New stock icons 'export' and 'import'.
2022-08-02 17:38:33 +02:00
Benoît Minisini
dadeb18e32 New stock icon 'import' and 'export'. Enhance FileView control.
[GB.FORM]
* NEW: New stock icon 'import' and 'export'.
* NEW: FileView: Add a Refresh event that triggers just after the FileView has refreshed its contents.
* NEW: FileView: Add FileCount, DirCount and TotalSize properties, to get statistics on the current directory contents.
* NEW: FileView: Add a permission column in detailed view mode.
* NEW: FileView: Display a 'lock' emblem on non-readable files in icon view mode.
2022-08-02 17:38:07 +02:00
Benoît Minisini
40918a8363 TreeView: treeview items now have a Selectable property. If set to FALSE, the item is not selectable anymore.
[GB.GUI.BASE]
* BUG: GridView: Take custom row border into account correctly.
* NEW: IconView: Selection is new property that returns an array of the keys of all selected items.
* NEW: IconView: Selection is updated during rubberband selection.
* NEW: ColumnView: The extra columns have now a default horizontal padding.
2022-08-02 17:35:35 +02:00
Benoît Minisini
5f62893d8f New stock icon 'chart' and 'office-math'. Update icon map.
[GB.FORM]
* NEW: New stock icon 'chart' and 'office-math'.
* NEW: Update icon map.
2022-08-01 22:16:53 +02:00
Benoît Minisini
df2c1b1808 New stock icon 'office-math'. Redraw some icons.
[GB.FORM.STOCK]
* NEW: New stock icon 'office-math'.
* NEW: Redraw some icons.
2022-08-01 22:16:09 +02:00
Benoît Minisini
3f9efaad6e Paint: Continue implementation.
[GB.WEB.GUI]
* NEW: Paint: Continue implementation.
2022-08-01 20:53:27 +02:00
Benoît Minisini
9494747a6c Paint: Continue implementation.
[GB.WEB.GUI]
* NEW: Paint: Continue implementation.
2022-08-01 18:21:13 +02:00
Benoît Minisini
0f4521a744 Initial implementation of WebDrawingArea control and Paint class.
[GB.WEB.GUI]
* NEW: WebDrawingArea: Initial implementation.
* NEW: Paint: Initial implementation.
2022-08-01 15:14:21 +02:00
Benoît Minisini
d64e07c69a New stock icon 'chart'. Redraw some icons.
[GB.FORM.STOCK]
* NEW: New stock icon 'chart'.
* NEW: Redraw some icons.
2022-07-31 22:12:11 +02:00
Benoît Minisini
681f91d9bb TextEditor: The 'Remove()' method now normalizes its arguments to avoid crashing if they are outside the document.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add a default popup menu.
* NEW: TextEditor: Add a panel to go to a specific line.
* NEW: TextEditor: ShowFindPanel() and ShowGotoPanel() are now public methods for showing the action panels.
2022-07-30 18:07:50 +02:00
Benoît Minisini
d722446841 TerminalView: Correctly update the popup menu when it opens.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Correctly update the popup menu when it opens.
2022-07-30 17:33:26 +02:00
Benoît Minisini
525f5d72ac TerminalView: Don't open the default popup if the Menu event handler exists.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Don't open the default popup if the Menu event handler exists.
2022-07-30 17:15:22 +02:00
Benoît Minisini
4adaac3377 New stock icon 'version-control'.
[GB.FORM]
* NEW: New stock icon 'version-control'.
2022-07-30 16:07:05 +02:00
Benoît Minisini
15ecb84745 New stock icon 'version-control'.
[GB.FORM.STOCK]
* NEW: New stock icon 'version-control'.
2022-07-30 16:06:49 +02:00
Benoît Minisini
f4832f5b98 String: Add new IsEMail(), IsIP() and IsIPv6() validation methods.
[GB.UTIL]
* NEW: String.IsEmail() is a new function that checks if a string seems to be an e-mail address.
* NEW: String.IsIP() is a new function that checks if a string is an IPv4 address.
* NEW: String.IsIPv6() is a new function that checks if a string is an IPv6 address.
2022-07-30 15:17:13 +02:00
Benoît Minisini
9832ab491c Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
2022-07-28 22:37:15 +02:00
Benoît Minisini
04cc46d81e Update a control icon and the stock icon map.
[GB.FORM]
* NEW: Update a control icon.
* NEW: Update stock icon map.
2022-07-28 22:36:48 +02:00
Benoît Minisini
564590cfbf WebAudio: Add Tracking to the properties visible to the IDE.
[GB.WEB.GUI]
* BUG: WebAudio: Add Tracking to the properties visible to the IDE.
2022-07-28 17:24:16 +02:00
Benoît Minisini
4190e6bfea WebAudio: Fix a lot of bugs and add Tracking property.
[GB.WEB.GUI]
* BUG: WebAudio: Fix a lot of bugs and implementation problems.
* NEW: WebAudio: Tracking is a new property that tells if the Position property is updated in real-time.
2022-07-28 17:18:49 +02:00
Bruce Steers
4876c62654 WebAudio, undo removing Width from properties from previous edit.
[GB.WEB.GUI]
* BUG: had added Width to the control in a previous edit, now reverted
2022-07-28 14:32:04 +01:00
Bruce Steers
eb77982b94 WebAudio, make Play only play from 0 if not in paused state.
[GB.WEB.GUI]
* OPT: backward compatibility, Play will play from 0 if not in paused state.
2022-07-28 14:12:24 +01:00
Bruce Steers
490278010a Merge branch 'master' of https://gitlab.com/gambas/gambas into WebAudio-upgrade 2022-07-28 13:44:52 +01:00
Bruce Steers
d934c356e3 WebAudio, Add Length as synonym for Duration as in MediaPlayer
[GB.WEB.GUI]
* NEW: Length is a synonym fofr Duration
2022-07-28 13:33:39 +01:00
Bruce Steers
9b0555358a [GB.WEB.GUI]
* NEW: WebAudio.AutoPlay, Autoplay audio on loading.
* NEW: WebAudio.Sources for alternative <source> items.
* NEW: WebAudio_Ready() event fires when audio has loaded.
* NEW: WebAudio_Position() event fires as audio position changes during play.
* NEW: WebAudio_End() event fires when a track finishes
* NEW: WebAudio_Pause() event triggers when audio pauses.
* NEW: Property WebAudio.Duration gets song length.
* NEW: Property WebAudio.Position, get or set song position.
* NEW: Property Paused gets or sets paused state.
* OPT: do not reset play position to 0 on play in lib.js so audio can un-pause.
* OPT: clean up code and add inline wiki help to WebAudio.
2022-07-28 13:25:45 +01:00
Benoît Minisini
361148a42c Merge branch 'master' of gitlab.com:gambas/gambas 2022-07-27 22:01:26 +02:00
Benoît Minisini
cd84bc6545 Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
2022-07-27 22:01:16 +02:00
Benoît Minisini
a133d351d9 Merge branch 'master' into 'master'
Contains new German translations

See merge request gambas/gambas!270
2022-07-27 10:07:05 +00:00
Benoît Minisini
d82e21caf3 Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
2022-07-27 01:24:58 +02:00
GianluigiOr
e583d63b90 Contains new German translations
[GB.REPORT2]
* NEW: The translation by Claus Dietrch is now complete.
2022-07-26 10:20:23 +02:00
Benoît Minisini
a492e0ca83 Settings: Reading a collection from a settings file now works correctly.
[GB.SETTINGS]
* BUG: Settings: Reading a collection from a settings file now works correctly.
2022-07-25 21:31:09 +02:00
Benoît Minisini
29d779d1e8 Redrawing some icons.
[GB.FORM.STOCK]
* NEW: Redrawing some icons.
2022-07-25 18:16:44 +02:00
Benoît Minisini
762e73615f Update control icons.
[GB.FORM]
* NEW: Update control icons.
2022-07-25 13:19:22 +02:00
Benoît Minisini
c0c37d6ca2 Update control icons.
[GB.DB.FORM]
* NEW: Update control icons.
2022-07-25 13:19:02 +02:00
Benoît Minisini
3889012f2a Continue redrawing some icons.
[GB.FORM.STOCK]
* NEW: Continue redrawing some icons.
2022-07-24 23:37:06 +02:00
Benoît Minisini
2789fbc305 Update project configuration files.
[CONFIGURATION]
* NEW: Update project configuration files.
2022-07-23 15:47:38 +02:00
Benoît Minisini
e859588d1f Fix upload management when 'Request.TempDir' is set.
[GB.WEB.FORM]
* BUG: Fix upload management when 'Request.TempDir' is set.
2022-07-23 15:45:56 +02:00
Benoît Minisini
f87a2ed274 Update stock icon map.
[GB.FORM]
* NEW: Update stock icon map.
2022-07-23 15:43:43 +02:00
Benoît Minisini
de2782633c TreeView: treeview items now have a Selectable property. If set to FALSE, the item is not selectable anymore.
[GB.GUI.BASE]
* NEW: TreeView: treeview items now have a Selectable property. If set to FALSE, the item is not selectable anymore.
2022-07-23 13:17:23 +02:00
Benoît Minisini
5236699a94 Continue making icons lighter.
[GB.FORM.STOCK]
* NEW: Continue making icons lighter.
2022-07-22 20:35:19 +02:00
Benoît Minisini
619325233b Merge branch 'bsteers4-master-patch-77541' into 'master'
Update WebLabel.class, fix center align on WebLabel

See merge request gambas/gambas!269
2022-07-21 10:52:53 +00:00
Bruce Steers
d232385703 WebLabel, include justify-content:center for html
[GB.WEB.GUI]
* BUG: include justify-content:center for html compatibility
2022-07-19 17:48:23 +01:00
Bruce Steers
e3db552a06 Update WebLabel.class, fix center align on labels
[GB.WEB.GUI]
* BUG: fix center align on WebLabel, change justify-content:center to text-align:center
2022-07-19 15:21:02 +00:00
Benoît Minisini
6aa5a98d7b Continue making icons thinner.
[GB.FORM.STOCK]
* NEW: Continue making icons thinner.
2022-07-19 02:01:26 +02:00
Benoît Minisini
c72f85abeb Fix conversion of Gambas opacity to HTML transparency in colors.
[GB.WEB.GUI]
* BUG: Fix conversion of Gambas opacity to HTML transparency in colors.
2022-07-18 21:38:20 +02:00
Benoît Minisini
79ee67e5f0 CsvFile: Reading the Fields property now automatically reads the fields from the first line of the file if needed.
[GB.UTIL]
* BUG: CsvFile: Reading the Fields property now automatically reads the fields from the first line of the file if needed.
2022-07-18 20:25:38 +02:00