Commit graph

3509 commits

Author SHA1 Message Date
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
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