Commit graph

3608 commits

Author SHA1 Message Date
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
Benoît Minisini
cc7c994656 Continue making icons thinner.
[GB.FORM.STOCK]
* NEW: Continue making icons thinner.
2022-07-13 00:51:54 +02:00
Benoît Minisini
a671ac5927 Make many icons thinner.
[GB.FORM.STOCK]
* NEW: Make many icons thinner.
2022-07-12 20:56:35 +02:00
Benoît Minisini
0a08564257 SwitchButton: Make the middle bar narrower. FileView: Make file details fit the icon frame better in icon view mode.
[GB.FORM]
* NEW: SwitchButton: Make the middle bar narrower.
* BUG: FileView: Make file details fit the icon frame better in icon view mode.
2022-07-12 20:55:34 +02:00
Benoît Minisini
34dc2920e0 Replace the '$()' javascript function by '$_()' in the internal library to avoid conflict with other libraries like 'jquery'.
[GB.WEB.GUI]
* BUG: Replace the '$()' javascript function by '$_()' in the internal library to avoid conflict with other libraries like 'jquery'.
2022-07-09 20:34:43 +02:00
Benoît Minisini
4816155986 Some fixed in how FileChooser and DirChooser refresh their states (bookmarks and toolbar).
[GB.FORM]
* NEW: Bookmarks: Changing the bookmarks automatically updates all DirChooser and FileChooser controls.
* BUG: DirChooser & FileChooser: Showing the toolbar now automatically updates its contents according to the current view.
2022-07-07 22:41:46 +02:00
Benoît Minisini
365da0aded Forgot to declare new Clipboard methods as static.
[GB.GUI.BASE]
* BUG: Forgot to declare new Clipboard methods as static.
2022-07-02 02:19:14 +02:00
Benoît Minisini
1538e1c3a1 FileChooser: Use the new Clipboard.CopyPaths() method.
[GB.FORM]
* NEW: FileChooser: Use the new Clipboard.CopyPaths() method.
2022-07-02 00:07:22 +02:00
Benoît Minisini
6e6c5bf9e0 Add Clipboard.CopyPath() and Clipboard.CopyPaths() methods.
[GB.GUI.BASE]
* NEW: Clipboard.CopyPath() is a new method that copies a file path to the clipboard.
* NEW: Clipboard.CopyPaths() is a new method that copies a list of file paths to the clipboard.
2022-07-02 00:06:49 +02:00
Benoît Minisini
40d0fb585b Remove a possible stack overflow in javascript focus management.
[GB.WEB.GUI]
* NEW: Key events modifiers do not have two different names anymore according to the context.
* BUG: Remove a possible stack overflow in javascript focus management.
2022-07-01 00:33:16 +02:00
Benoît Minisini
711fc6942d ComboBox: Fix normalization of popup position.
[GB.GUI.BASE]
* BUG: ComboBox: Fix normalization of popup position.
2022-06-30 21:16:02 +02:00
Benoît Minisini
3ce9fb2b5e TextEditor: The 'Remove()' method now normalizes its arguments to avoid crashing if they are outside the document.
[GB.FORM.EDITOR]
* BUG: TextEditor: The 'Remove()' method now normalizes its arguments to avoid crashing if they are outside the document.
2022-06-30 15:10:59 +02:00
Benoît Minisini
ae0c3bb573 Error raised by the Gambas code on the server should now normally be displayed in the browser within an alert box.
[GB.WEB.GUI]
* NEW: Error raised by the Gambas code on the server should now normally be displayed in the browser within an alert box.
2022-06-23 03:32:44 +02:00
Benoît Minisini
ad84e75f6d ComboBox: Popup list now can be searched by entering text with the keyboard.
[GB.GUI.BASE]
* NEW: ComboBox: Popup list now can be searched by entering text with the keyboard.
2022-06-21 03:24:54 +02:00
Benoît Minisini
fb078cb8a7 ValueBox: 'SelectAll()' is a new method that selects the text inside the ValueBox internal editor.
[GB.FORM]
* NEW: DateBox: 'Editor' is a new property that returns the internal MaskBox.
* NEW: ValueBox: 'SelectAll()' is a new method that selects the text inside the ValueBox internal editor.
2022-06-20 19:06:22 +02:00
Benoît Minisini
8d576493c8 SidePanel: 'ShowButtond' is a new property that hides the little arrow buttons that toggle the panels, and also hides the side handle in transparent mode.
[GB.FORM]
* NEW: SidePanel: 'ShowButtond' is a new property that hides the little arrow buttons that toggle the panels, and also hides the side handle in transparent mode.
2022-06-07 01:45:46 +02:00
Benoît Minisini
4cf7f26d7f Focus frame should be managed correctly in all cases now.
[GB.WEB.GUI]
* BUG: Focus frame should be managed correctly in all cases now.
* NEW: Disable the web page until it is fully loaded.
2022-05-31 00:24:26 +02:00
Benoît Minisini
745d8c4456 TabPanel: Fix layout routine.
[GB.FORM]
* BUG: TabPanel: Fix layout routine.
* NEW: TabPanel: Make 'ShowTabPanel' property visible in the IDE
2022-05-30 01:49:55 +02:00
Benoît Minisini
4efa3b1343 TextHighlighter: Fix ToHTML(), ToRichText() and ToANSI() methods.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix ToHTML(), ToRichText() and ToANSI() methods.
2022-05-27 17:54:49 +02:00
Benoît Minisini
971747a31b ComboBox: The popup layout is now more clever to mimic the old Qt native popup behaviour.
[GB.GUI.BASE]
* NEW: ComboBox: The width of the popup now tries to fit the largest item if possible.
* NEW: ComboBox: The popup is now positioned so that it is always fully visible as much as possible. It must not work on Wayland.
2022-05-27 15:48:24 +02:00
Benoît Minisini
d2b82a2735 Default and cancel buttons work again.
[GB.WEB.GUI]
* BUG: Default and cancel buttons work again.
2022-05-25 20:40:31 +02:00
Benoît Minisini
073c8dc4a8 SpinBox: Buttons in wide mode correctly follow the enabled state now.
[GB.GUI.BASE]
* BUG: SpinBox: Buttons in wide mode correctly follow the enabled state now.
2022-05-24 20:11:35 +02:00
Benoît Minisini
b518e8cf5a Keyboard events are now sent to the server only if needed (i.e. if a control or a form has a KeyPress event handler).
[GB.WEB.GUI]
* NEW: Keyboard events are now sent to the server only if needed (i.e. if a control or a form has a KeyPress event handler).
2022-05-24 19:43:52 +02:00
Benoît Minisini
d2b7a14068 Remove the useless 'Message.Name' property.
[GB.WEB.GUI]
* BUG: Remove the useless 'Message.Name' property.
2022-05-24 16:13:50 +02:00
Benoît Minisini
af972b95dc Date.DaysInMonth() is a new method that returns the number of days in a month of a specific year.
[GB.UTIL]
* NEW: Date.DaysInMonth() is a new method that returns the number of days in a month of a specific year.
2022-05-15 20:51:46 +02:00
Benoît Minisini
f1211b2b99 Flush the standard output before quitting.
[GB.WEB.GUI]
* BUG: Flush the standard output before quitting.
2022-05-02 15:38:57 +02:00
Benoît Minisini
58e06fd6bb Update the layout of the option panel.
[GB.FORM.PRINT]
* NEW: Update the layout of the option panel.
* NEW: Update French translation.
2022-05-02 00:54:41 +02:00
Benoît Minisini
3e41ff1ef4 ComboBox: Setting the Text property of an editable combo-box can raise the Click event as before.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the Text property of an editable combo-box can raise the Click event as before.
2022-05-02 00:44:13 +02:00
Benoît Minisini
0b76cd2153 Update stock icon mapping for Gambas icon theme.
[GB.FORM]
* NEW: Update stock icon mapping for Gambas icon theme.
2022-04-30 15:20:00 +02:00
Benoît Minisini
38cef83adc Redraw 'notification' icon.
[GB.FORM.STOCK]
* NEW: Redraw 'notification' icon.
* BUG: Gambas icon theme does not inherit 'gnome' icon theme anymore.
2022-04-30 15:19:29 +02:00
Benoît Minisini
5816d5b4f9 ComboBox: Setting the List property of an editable combo-box does not clear the text anymore.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the List property of an editable combo-box does not clear the text anymore.
2022-04-30 15:18:21 +02:00
Benoît Minisini
70fc9675aa Store and restore the maximized state of windows.
[GB.SETTINGS]
* NEW: Store and restore the maximized state of windows.
2022-04-29 23:48:45 +02:00
Benoît Minisini
012436e88f ComboBox: Fix Select() method. Handle 'RETURN' and 'ESC' keys in the popup.
[GB.GUI.BASE]
* BUG: ComboBox: Fix Select() method.
* BUG: ComboBox: Handle 'RETURN' and 'ESC' keys in the popup.
2022-04-29 14:01:26 +02:00
gambas
ae7fef8763 WebTree: Works correctly now if there is only one item.
[GB.WEB.GUI]
* BUG: WebTree: Works correctly now if there is only one item.
* NEW: WebTree: Add documentation.
2022-04-26 00:52:44 +02:00
gambas
f14163661e New custom focus management.
[GB.WEB.GUI]
* NEW: New custom focus management.
* BUG: Fix keyboard events management.
2022-04-23 01:32:07 +02:00
gambas
1db092531d ComboBox: Disabled editable combo-box background is now accurate.
[GB.GUI.BASE]
* BUG: ComboBox: Disabled editable combo-box background is now accurate.
2022-04-20 01:01:44 +02:00
gambas
30d605aad0 WebTree: Fix selection management.
[GB.WEB.GUI]
* BUG: WebTree: Fix selection management.
2022-04-18 03:04:31 +02:00
gambas
dcc0abdcc5 MediaView: Ensure that the internal media player is deleted with the control.
[GB.MEDIA.FORM]
* BUG: MediaView: Ensure that the internal media player is deleted with the control.
2022-04-17 23:29:10 +02:00
gambas
7ab55d54cd Splitter: Fix layout according to the different combinations of 'Transparent', 'Separator' and 'Border' properties values.
[GB.FORM]
* BUG: Splitter: Fix layout according to the different combinations of 'Transparent', 'Separator' and 'Border' properties values.
* BUG: Fix icon map so that the generated Gambas icon theme is better.
2022-04-15 15:13:51 +02:00
gambas
1168502a51 ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
2022-04-15 15:09:36 +02:00
gambas
81c8e435a4 Fix ComboBox behaviour and when controls are animated.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'Index' property must raise the 'Click' event even if the index does not change, to mimic the behaviour of the old native ComboBox.
* BUG: The _Gui.MustAnimate() internal method is accurate now, so that animations occur on the activated window only.
2022-04-15 00:30:41 +02:00
gambas
521f681537 Picture: Refresh() does not try to refresh invalid windows anymore.
[GB.GUI.BASE]
* BUG: Picture: Refresh() does not try to refresh invalid windows anymore.
2022-04-13 16:08:49 +02:00
gambas
30005143b7 ColumnView: Items have a new Span boolean property, that tells if the first column spans the control width.
[GB.GUI.BASE]
* BUG: GridView: Save and restore the Paint context before calling the Draw event.
* NEW: ColumnView: Items have a new Span boolean property, that tells if the first column spans the control width.
2022-04-13 12:37:32 +02:00
gambas
572185cb03 Update weather icons associations. Add 'moon-cloud' icon.
[GB.FORM]
* BUG: Update weather icons associations.
* NEW: Add 'moon-cloud' icon.
2022-04-12 23:33:00 +02:00
gambas
a4c570c3c3 Add 'moon-cloud' weather icon, and update 'moon' icon.
[GB.FORM.STOCK]
* NEW: Add 'moon-cloud' weather icon, and update 'moon' icon.
2022-04-12 23:32:01 +02:00
gambas
9d989a4ddf ComboBox: Read-only combo-box first item is now automatically selected when inserting a new item or setting the 'List' property, if no item is currently selected.
[GB.GUI.BASE]
* BUG: ComboBox: Read-only combo-box first item is now automatically selected when inserting a new item or setting the 'List' property, if no item is currently selected.
2022-04-12 18:50:12 +02:00
gambas
9dc0a64f89 ComboBox control is now written in Gambas.
[GB.GUI.BASE]
* NEW: ComboBox control is now written in Gambas.
2022-04-12 13:10:09 +02:00
gambas
29dba7dc8c Remove 'recent' icon. Update 'sun-cloud' associated paths.
[GB.FORM]
* NEW: Remove 'recent' icon. Update 'sun-cloud' associated paths.
2022-04-08 03:20:40 +02:00
gambas
a6ce6f6a36 Redraw 'cloud' icon, and add 128 pixels version of monochrom weather icons. Remove the 'recent' icon.
[GB.FORM.STOCK]
* NEW: Redraw 'cloud' icon, and add 128 pixels version of monochrom weather icons.
* NEW: Remove the 'recent' icon.
2022-04-08 03:19:20 +02:00
gambas
b58a0b9140 CSS highlighting: Add some missing properties and values.
[GB.EVAL.HIGHLIGHT]
* NEW: CSS highlighting: Add some missing properties and values.
2022-04-07 13:23:31 +02:00
gambas
adf39a97b2 WebTable: EnsureVisible() now works on the first row in all cases.
[GB.WEB.GUI]
* BUG: WebTable: EnsureVisible() now works on the first row in all cases.
2022-04-07 01:14:05 +02:00
gambas
0935c48fcc MessageBox: The arrow keys now move the focus, for GTK+.
[GB.GUI.BASE]
* NEW: MessageBox: The arrow keys now move the focus, for GTK+.
2022-04-07 01:08:15 +02:00
gambas
203a1789c7 Add weather stock icons.
[GB.FORM]
* NEW: Add weather stock icons.
2022-04-04 04:46:22 +02:00
gambas
eee2553008 Forgot monochromatic version of some icons. New weather and 'layer' icons.
[GB.FORM.STOCK]
* BUG: Forgot monochromatic version of some icons.
* NEW: New weather icons. New 'layer' icon.
* NEW: Redraw 'raise' and 'lower' icons.
2022-04-04 04:46:04 +02:00
gambas
04cfa9da0e Some new icons, and some changes in existing ones.
[GB.FORM.STOCK]
* NEW: Some new icons, and some changes in existing ones.
2022-04-03 00:43:16 +02:00
gambas
055fe72fb5 DateChooser: Don't draw weeks if the 'ShowWeek' property is false.
[GB.FORM]
* BUG: DateChooser: Don't draw weeks if the 'ShowWeek' property is false.
* NEW: Some new stock icons.
2022-04-03 00:42:40 +02:00
gambas
bf33067bdd Add 'open-link' and 'cherry' icons.
[GB.FORM.STOCK]
* NEW: Add 'open-link' and 'cherry' icons.
2022-03-26 20:26:36 +01:00
gambas
394ac2a5c4 Use the new GUI API to decide if a control must be animated.
[GB.FORM]
* NEW: Use the new GUI API to decide if a control must be animated.
* NEW: Add 'open-extern' and 'cherry' icons.
2022-03-26 20:26:10 +01:00
gambas
9f8f4a9b15 Add a GUI API for checking if a control must be animated.
[GB.GUI.BASE]
* NEW: Add a GUI API for checking if a control must be animated.
2022-03-26 20:25:25 +01:00
gambas
4d299a1eac Language: Support for some languages from India.
[GB.UTIL]
* NEW: Language: Support for some languages from India.
2022-03-26 20:23:52 +01:00
gambas
cb752e9f87 ListEditor: The remove button is correctly enabled when the first item is selected.
[GB.FORM]
* BUG: ListEditor: The remove button is correctly enabled when the first item is selected.
2022-03-26 04:41:38 +01:00
gambas
b86b94c6df TextEditor: Take the mode into account when selecting a word.
[GB.FORM.EDITOR]
* BUG: TextEditor: Take the mode into account when selecting a word.
* BUG: TextEditor: Correctly define the identifier characters of the different modes.
2022-03-24 15:36:24 +01:00
gambas
cc5cba7378 Toolbar: Try to prevent a crash when configuring a toolbar.
[GB.FORM.MDI]
* BUG: Toolbar: Try to prevent a crash when configuring a toolbar.
2022-03-23 00:19:23 +01:00
gambas
0f0bb17a6d WebScrollView: Draw the control with a 'ScrollView' whose 'Border' is initially unset.
[GB.WEB.GUI]
* BUG: WebScrollView: Draw the control with a 'ScrollView' whose 'Border' is initially unset.
2022-03-20 23:10:50 +01:00
gambas
135e08483d ScrollView: Ignore controls with 'Ignore' property set when resizing the contents.
[GB.GUI.BASE]
* BUG: ScrollView: Ignore controls with 'Ignore' property set when resizing the contents.
2022-03-20 23:09:57 +01:00
gambas
1ad9bf5963 WebTable: Fix internal row ids and checkbox ids, so that selection works as expected.
[GB.WEB.GUI]
* BUG: WebTable: Fix internal row ids and checkbox ids, so that selection works as expected.
2022-03-20 21:27:38 +01:00
gambas
8fb93842ad Redraw 'compress' and 'uncompress' icons.
[GB.FORM.STOCK]
* NEW: Redraw 'compress' and 'uncompress' icons.
2022-03-13 23:47:36 +01:00
gambas
5622a4d915 WebTable: Always define row ids, so that 'EnsureVisible()' works when 'ShowCheck' is TRUE.
[GB.WEB.GUI]
* BUG: WebTable: Always define row ids, so that 'EnsureVisible()' works when 'ShowCheck' is TRUE.
2022-03-13 20:54:19 +01:00
gambas
3033ece871 FileProperties: Center the 'Close' button when it is used as a dialog.
[GB.FORM]
* NEW: FileProperties: Center the 'Close' button when it is used as a dialog.
2022-03-12 00:07:11 +01:00
gambas
3fb3a50784 WebListBox: Arrow keys change the current selected element in single selection mode.
[GB.WEB.GUI]
* BUG: Better management of keypress events.
* NEW: WebListBox: Arrow keys change the current selected element in single selection mode.
* BUG: WebListBox: Don't raise the Select event twice when setting the Index property.
2022-03-04 15:03:37 +01:00
gambas
d045dddfb0 WebDateChooser: Add a line to the calendar, otherwise some months can be truncated.
[GB.WEB.GUI]
* BUG: WebDateChooser: Add a line to the calendar, otherwise some months can be truncated.
2022-03-03 23:26:08 +01:00
gambas
744f6907af Move a source code file.
[GB.WEB.GUI]
* NEW: Move a source code file.
2022-03-03 12:28:44 +01:00
gambas
5559106393 Message: Add a popup menu to copy the message contents to the clipboard.
[GB.GUI.BASE]
* NEW: Message: Add a popup menu to copy the message contents to the clipboard.
2022-03-03 12:27:40 +01:00
gambas
3ed4d3e1ba Rename the 'no-reverse' file as 'reverse', as it contains the list of icons that can be reversed.
[GB.FORM.STOCK]
* NEW: Rename the 'no-reverse' file as 'reverse', as it contains the list of icons that can be reversed.
2022-03-02 02:36:11 +01:00
gambas
bc18e6224f Add 'shopping' and 'today' stock icons.
[GB.FORM]
* NEW: Add 'shopping' and 'today' stock icons.
2022-03-01 15:47:19 +01:00
gambas
0910d786a3 Automatic flipping of some icons when system language is right-to-left written.
[GB.FORM.STOCK]
* NEW: Automatic flipping of some icons when system language is right-to-left written.
2022-03-01 15:46:47 +01:00
gambas
cdc45fb056 Update some stock icons.
[GB.FORM.STOCK]
* NEW: Update some stock icons.
2022-03-01 13:42:46 +01:00
gambas
620593105c ProgressBar: Right-to-left direction support.
[GB.GUI.BASE]
* NEW: ProgressBar: Right-to-left direction support.
* NEW: ProgressBar: Draw an hatch in pulsing mode.
2022-02-28 03:13:09 +01:00
gambas
b78a29486d FontChooser: Add a button to open the font selector in small mode.
[GB.FORM]
* NEW: FontChooser: Add a button to open the font selector in small mode.
2022-02-27 23:45:39 +01:00
gambas
e34a06a5b8 Global focus management. WebScrollView.EnsureVisible() should work as expected now.
[GB.WEB.GUI]
* NEW: If a modal window is opened, controls outside of the modal window cannot be focused anymore.
* NEW: The current focus is now kept when the page is refreshed.
* NEW: Application.ActiveControl is a new property that returns the current control having the focus.
* NEW: WebListBox now keeps its scroll status.
* NEW: WebListBox has now ScrollX and ScrollY properties.
* NEW: WebScrollView: EnsureVisible method should work as expected now.
2022-02-27 01:35:53 +01:00
gambas
eebaa18852 Update some stock icons.
[GB.FORM.STOCK]
* NEW: Update some stock icons.
2022-02-25 20:37:55 +01:00
gambas
cdb4a431a3 ColorChooser: Use the third argument of Image.Stretch() correctly.
[GB.FORM]
* BUG: ColorChooser: Use the third argument of Image.Stretch() correctly.
2022-02-25 20:36:08 +01:00
gambas
558f3efae5 ColorChooser: The colormap now visually adapts to the current control settings.
[GB.FORM]
* NEW: ColorChooser: The colormap now visually adapts to the current control settings.
2022-02-25 16:57:50 +01:00
gambas
afbf32aa8e SliderBox: Fix automatic arrangement.
[GB.FORM]
* BUG: SliderBox: Fix automatic arrangement.
2022-02-24 23:05:32 +01:00
gambas
6acdd757a1 SpinBox: Fix automatic arrangement.
[GB.GUI.BASE]
* BUG: SpinBox: Fix automatic arrangement.
2022-02-24 23:05:08 +01:00
gambas
3b3ed78ede SliderBox: Adapt inner SpinBox width more intelligently.
[GB.FORM]
* NEW: SliderBox: Adapt inner SpinBox width more intelligently.
2022-02-24 17:33:59 +01:00
gambas
7f4b2c3119 SpinBox: Automatically replace little arrows by bigger horizontal buttons when the control is wide enough.
[GB.GUI.BASE]
* NEW: SpinBox: Automatically replace little arrows by bigger horizontal buttons when the control is wide enough.
2022-02-24 17:33:24 +01:00
gambas
4181629ca3 ButtonBox: The horizontal inner padding between the border and the contents cannot be greater than 3 pixels now.
[GB.FORM]
* BUG: ButtonBox: The horizontal inner padding between the border and the contents cannot be greater than 3 pixels now.
2022-02-23 20:33:50 +01:00
gambas
32d3056473 Forgot to declare the 'city' stock icon.
[GB.FORM]
* BUG: Forgot to declare the 'city' stock icon.
2022-02-23 19:53:24 +01:00