Commit graph

3613 commits

Author SHA1 Message Date
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
gambas
bfd63b282e Modify some stock icons.
[GB.FORM.STOCK]
* NEW: Modify some stock icons.
2022-02-23 19:53:01 +01:00
gambas
a3226411e9 TreeView, ListView & ColumnView: Fix right-to-left layout.
[GB.GUI.BASE]
* BUG: TreeView, ListView & ColumnView: Fix right-to-left layout.
2022-02-20 23:37:56 +01:00
gambas
89fc98497b MenuButton: Update button state before opening the popup menu. New stock icons.
[GB.FORM]
* NEW: MenuButton: Better drawing of disabled MenuButton picture.
* NEW: New stock icons.
2022-02-19 21:30:45 +01:00
gambas
adc13eb2ea Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-19 21:30:04 +01:00
gambas
3eee801ab6 TextEditor: Append() is a new method that appends some text to the end of the editor without moving the cursor.
[GB.FORM.EDITOR]
* NEW: TextEditor: Append() is a new method that appends some text to the
  end of the editor without moving the cursor.
2022-02-18 10:00:48 +01:00
gambas
f6a43be792 Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-18 00:22:13 +01:00
gambas
d0d72556db MenuButton: Update button state before opening the popup menu. New stock icons.
[GB.FORM]
* BUG: MenuButton: Update button state before opening the popup menu.
* NEW: New stock icons.
2022-02-18 00:18:35 +01:00
gambas
19fac29ab2 ScrollArea: Fix scrollbar relayout.
[GB.GUI.BASE]
* BUG: ScrollArea: Fix scrollbar relayout.
2022-02-18 00:16:03 +01:00
gambas
469ed29280 CsvFile: KeepNames is a new property that keep the column names unchanged.
[GB.UTIL]
* NEW: CsvFile: Columns is a synonymous of Fields property.
* NEW: CsvFile: Add properties for CsvFile configuration.
* NEW: CsvFile: KeepNames is a new property that keep the column names unchanged.
* NEW: CsvFile: Add help comments.
2022-02-13 22:10:53 +01:00
gambas
a760016d2a Pressing a default or cancel button now correctly sets the focus on it to ensure that editable controls have sent their contents to the server.
[GB.WEB.GUI]
* BUG: Pressing a default or cancel button now correctly sets the focus on
  it to ensure that editable controls have sent their contents to the server.
2022-02-09 21:11:09 +01:00
gambas
d8942988e5 Toolbar: No need to unquote '&' button shortcuts anymore in action text.
[GB.FORM.MDI]
* BUG: Toolbar: No need to unquote '&' button shortcuts anymore in action text.
2022-02-07 19:40:19 +01:00
gambas
ddabd8cdfd Action.Text now correctly quotes button shortcuts when needed.
[GB.GUI.BASE]
* BUG: Action.Text now correctly quotes button shortcuts when needed.
2022-02-07 19:39:27 +01:00
gambas
9ff786388a ListEditor: Wrap is a new property that tells if the text of the items is wrapped.
[GB.FORM]
* NEW: ListEditor: Wrap is a new property that tells if the text of the items is wrapped.
2022-02-05 22:42:06 +01:00
gambas
ff49c84d7b ListBox: Wrap is a new property that tells if the text of items is wrapped.
[GB.GUI.BASE]
* NEW: ListBox: Wrap is a new property that tells if the text of items is wrapped.
2022-02-05 22:41:35 +01:00
gambas
9e7749a9a0 IconPanel, TabPanel, ToolPanel, Wizard: Add a FindPanel() method that returns a tab index from its title.
[GB.FORM]
* NEW: SwitchButton: Animated property is now deprecated.
* NEW: IconPanel, TabPanel, ToolPanel, Wizard: Add a FindPanel() method
  that returns a tab index from its title.
2022-02-05 18:45:19 +01:00
gambas
8c4b165e33 Reading settings file is faster now.
[GB.SETTINGS]
* OPT: Reading settings file is faster now.
2022-02-05 02:15:53 +01:00
gambas
9c3d78251f Add new stock icons.
[GB.FORM]
* NEW: Add new stock icons.
2022-02-05 00:23:16 +01:00
gambas
1770809ae8 Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-05 00:22:57 +01:00
gambas
6d4e7f642d GridView & TreeView: Take the Enabled property into account for rendering.
[GB.GUI.BASE]
* NEW: GridView: Take the Enabled property into account for rendering.
* NEW: TreeView: Take the Enabled property into account for rendering.
2022-02-04 04:39:05 +01:00
gambas
8ff0b83c5d Language is a new class that allows to deal with the translation of the current project.
[GB.UTIL]
* NEW: Language is a new class that allows to deal with the translation of
  the current project.
* NEW: Import all needed translations from the IDE.
2022-02-04 04:33:29 +01:00
gambas
4dcf0867ed Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-03 02:34:11 +01:00
gambas
103ae6cf93 Draw MenuButton arrow differently, and enhance ListEditor behaviour.
[GB.FORM]
* NEW: MenuButton: Redraw arrows. Disable them if there is no menu.
* NEW: ListEditor: Enhance its behaviour.
* NEW: Add new stock icons.
2022-02-03 02:33:45 +01:00
gambas
44bf72261c 'Process.Expect' prompts are now automatically disabled after detection by default. Set the new 'Keep' argument to prevent that.
[GB.UTIL]
* OPT: Process: Automatically disable internal observers there is no prompt
  to watch anymore.
* NEW: Process: The Expect() method now takes a third optional argument
  that tells if a detected prompt must be kept, or must be disabled
  automatically. Prompts are automatically disabled by default
2022-02-01 03:07:20 +01:00
gambas
cf5b75870f If a WebControl raises a DOM 'click' event, then it automatically stops the propagation of the DOM 'mousedown' event.
[GB.WEB.GUI]
* NEW: I prefer WebTree and WebTable use a distinct class for their 'Data' event.
* BUG: If a WebControl raises a DOM 'click' event, then it automatically stops the propagation of the DOM 'mousedown' event.
2022-01-29 18:42:43 +01:00
gambas
9b77a5622b Allow to embed a control is a WebTable or a WebTree cell through the 'Data' event.
[GB.WEB.GUI]
* NEW: WebTree and WebTable now use a common WebCellData class for their 'Data' event.
* NEW: WebCellData.Control allows to define a control that will be embedded in the cell.
* NEW: WebTable now raises a 'Click' event if a control that is embedded in a cell raises a 'Click' event. It takes the row and the column as argument.
* NEW: WebTree now raises a similar 'Click' event, but it takes the key and the column as argument.
2022-01-29 18:02:52 +01:00
gambas
117b3eac3f Fix WebButton image. Make WebButton and WebListBox actually focusable. Fix focus drawing.
[GB.WEB.GUI]
* NEW: Use blue inset box shadow for drawing focus.
* NEW: WebButton: Use <button> instead of <div>, to get focus and native keyboard management.
* BUG: WebButton: Stretch the image size to the button height.
* BUG: WebTextArea: Fix style sheet.
* NEW: WebListBox is focusable now.
2022-01-29 04:30:38 +01:00
gambas
3b8c1123a5 Label: Fix drawing horizontal fix for Qt.
[GB.GUI.BASE]
* BUG: Label: Fix drawing horizontal fix for Qt.
2022-01-29 03:04:03 +01:00
Bruce Steers
b6069433fb Update WebTree.class, fix Class name hidden by local declaration: Key
[GB.WEB.GUI]
* BUG: fix Class name hidden by local declaration: Key


thought I'd save you the task.
2022-01-28 23:51:06 +00:00
gambas
68f3fdb939 WebButton image now always fill the button height. Fix WebContainer 'Row' and 'Column' arrangements.
[GB.WEB.GUI]
* BUG: WebButton: Image now always fill the button height.
* BUG: WebContainer: Do not change the 'display' CSS property of children controls when arrangement is 'Row' or 'Column'.
* BUG: If the 'huge' version of a stock icon does not exist, use the 'small' version instead.
2022-01-29 00:29:52 +01:00
gambas
f02eae69f9 WebTree: Add a 'Data' event that allows to define the content of a tree column, like with WebTable.
[GB.WEB.GUI]
* NEW: WebTree: Add a 'Data' event that allows to define the content of a tree column, like with WebTable.
  Image is not supported yet.
2022-01-28 00:50:22 +01:00
gambas
9465bf174b CsvFile: Ignore the useless BOM character put at the beginning of UTF-8 files generated by many stupid Windows softwares.
[GB.UTIL]
* BUG: CsvFile: Ignore the useless BOM character put at the beginning of UTF-8 files generated by many stupid Windows softwares.
2022-01-25 14:35:58 +01:00
gambas
6bec4cb612 Update folder and some other icons.
[GB.FORM.STOCK]
* NEW: Update folder and some other icons.
2022-01-24 20:23:47 +01:00
gambas
bd1c80cd21 Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM.MDI]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:36:28 +01:00
gambas
8353d9e01d Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM.EDITOR]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:34:37 +01:00
gambas
2bb65a267e Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM.TERMINAL]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:34:15 +01:00
gambas
1a3fc6c556 Add 'text-list' and 'text-list-order' icons. Redraw some icons.
[GB.FORM.STOCK]
* NEW: Add 'text-list' and 'text-list-order' icons.
* NEW: Redraw some icons.
2022-01-22 16:33:21 +01:00
gambas
584acf871e Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
* NEW: Add 'text-list' and 'text-list-order' stock icons.
2022-01-22 16:32:02 +01:00
gambas
abba6f607f Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.GUI.BASE]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:31:07 +01:00
gambas
0b6a6f4c01 SidePanel: AutoHide is a new property that let the side panel automatically hide on mouse leave and show on mouse enter.
[GB.FORM]
* NEW: ButtonBox: Make the filter timer be ignored at program end.
* NEW: SidePanel: AutoHide is a new property that let the side panel automatically hide on mouse leave and show on mouse enter.
* NEW: FontChooser: Double-click now opens a font tree item only if the 'Activate' event is not handled.
2022-01-14 22:01:13 +01:00
gambas
f7cf3b6764 TextEditor: Make the long clear line cache timer be ignored at program end.
[GB.FORM.EDITOR]
* NEW: TextEditor: Make the long clear line cache timer be ignored at program end.
2022-01-14 21:56:52 +01:00
gambas
d10dccaccd Message: 'DefaultButton' is a new property that makes the first message dialog button the default one. It is TRUE by default to restore the last year behaviour.
[GB.GUI.BASE]
* NEW: Message: 'DefaultButton' is a new property that makes the first message dialog button the default one. It is TRUE by default to restore the last year behaviour.
2022-01-12 17:09:45 +01:00
gambas
879c024737 Remove the dependency on 'gb.image'.
[GB.EVAL.HIGHLIGHT]
* BUG: Remove the dependency on 'gb.image'.
2022-01-11 12:17:56 +01:00
gambas
d2d93aa553 Add 'DirBox.Title' property. Change the syntax of 'FileBox.Filter' property. Update 'FileBox' icon.
[GB.FORM]
* NEW: DirBox: Add a 'Title' property.
* NEW: FileBox: Make 'Filter' property use the same syntax as 'Dialog.Filter' property.
* NEW: FileBox: If the 'Filter' property is set, automatically select the first filter.
* NEW: Update FileBox icon.
2022-01-08 01:08:52 +01:00
Benoît Minisini
d8639d9a74 Merge branch 'FileBox' into 'master'
FileBox, new control for gb.form and add Path property to FileBox and DirBox

See merge request gambas/gambas!255
2022-01-07 22:42:38 +00:00
Bruce Steers
93afd49f7c New FileBox control. Add Path property to DirBox and FileBox.
[GB.FORM]
* NEW: Add FileBox control, supports open/save mode, filters, custom picture and placeholder.
* NEW: Add Path property to DirBox and FileBox as a synonym for Value and show it in the IDE.
2022-01-07 22:42:38 +00:00
gambas
4bab036916 Message: As ShowModal() finish mouse events, make message box reentrants.
[GB.GUI.BASE]
* BUG: Message: As ShowModal() finish mouse events, make message box reentrants.
2022-01-07 16:44:36 +01:00
gambas
b84e85b5b8 GridView: Use standard arrows to paint sort indicator. Do not use widget style anymore.
[GB.GUI.BASE]
* NEW: GridView: Use standard arrows to paint sort indicator. Do not use widget style anymore.
* NEW: TreeView: Tree arrows are a bit darker now.
* BUG: Paint.Arrow now takes the line width into account, so that stroking the arrow does not overflow the rectangle bounds.
2022-01-06 13:24:56 +01:00
gambas
0ac5d3d44a Label: Use floating point text size to avoid possible text truncation.
[GB.GUI.BASE]
* NEW: Label: Use floating point text size to avoid possible text truncation.
2022-01-05 20:04:33 +01:00
gambas
c8835ae99c Label: Try to take italic fonts into account in text alignement.
[GB.GUI.BASE]
* NEW: Label: Try to take italic fonts into account in text alignement.
* BUG: Label: Workaround a Qt bug where using Paint.TextExtents() on a bitmap font makes it unable to be drawn correctly.
2022-01-05 01:23:32 +01:00
gambas
c4490cbf14 MenuButton: Fix a possible "Invalid object" error when a MenuButton is destroyed during its Click event.
[GB.FORM]
* BUG: MenuButton: Fix a possible "Invalid object" error when a MenuButton is destroyed during its Click event.

* NEW: More icons for Gambas icon theme.
2022-01-02 17:24:35 +01:00
gambas
2707e0061d TextEditor: Do not clip lines whose width is larger than 32767 pixels.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not clip lines whose width is larger than 32767 pixels.
2021-12-29 18:33:44 +01:00
gambas
ba438ac9cc ScrollArea: Do not set the Proxy property, if setting the _Container property already did the job.
[GB.GUI.BASE]
* NEW: ScrollArea: Do not set the Proxy property, if setting the _Container property already did the job.
2021-12-21 20:54:44 +01:00
gambas
1238ce91fc TextEditor: Use the new hidden API that estimates the character width of a specific font.
[GB.FORM.EDITOR]
* NEW: TextEditor: Use the new hidden API that estimates the character width of a specific font.
2021-12-17 13:47:07 +01:00
gambas
56a235f257 TextHighlighter: Use the new hidden API that estimates the character width of a specific font.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Use the new hidden API that estimates the character width of a specific font.
2021-12-17 13:46:43 +01:00
gambas
11c7d60ff4 The hidden API that estimate the character width of a specific font now returns by default an estimated value for non-fixed fonts.
[GB.GUI.BASE]
* NEW: The hidden API that estimate the character width of a specific font now returns by default an estimated value for non-fixed fonts.
2021-12-17 13:46:05 +01:00
gambas
3d3f7cd4d4 TextHighlighter: Fix Paint() method, and add an optional argument that defines the position of the first character of the highlighted text to paint.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Paint() correctly takes into account the new highlighter theme design.
* NEW: TextHighlighter: Paint() method takes an optional argument that defines the position of the first character of the highlighted text to paint.
2021-12-15 15:54:39 +01:00
gambas
1feb4d4ff1 IconView: Little optimization on a test.
[GB.GUI.BASE]
* OPT: IconView: Little optimization on a test.
2021-12-15 15:51:28 +01:00
Bruce Steers
b171733904 IconView: Add 'Next' and 'Previous' properties to the IconView item class, and allows Add() method to insert the new item at the beginning.
[GB.GUI.BASE]
* NEW: IconView: Add 'Next' and 'Previous' properties to the IconView item class.
* NEW: IconView: The 'Add()' method now inserts the new item at the beginning when the 'After' is explicitly specified as 'NULL'.
2021-12-13 21:41:09 +00:00
Bruce Steers
5187e4fcea IconView.class: do not return before drawing background picture if no items are added.
[GB.GUI.BASE]
* BUG: IconView background image is now drawn if no icons are added.
2021-12-12 16:01:58 +00:00
gambas
20dbef2e68 IconView: The 'After' argument of the 'Add()' method now works as expected.
[GB.GUI.BASE]
* BUG: IconView: The 'After' argument of the 'Add()' method now works as expected.
2021-12-11 12:01:58 +01:00
GianluigiOr
3f0fbc5ca9 Contains new Italian translations
[GAMBAS-WIKI]
* NEW: The translation is now complete.
[GAMBAS-SELFTEST]
* NEW: The translation is now complete.
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.
[GBS3]
* NEW: The translation is now complete.
[GB.ARGS]
* NEW: The translation is now complete.
[GB.EVAL.HIGHLIGHT]
* NEW: The translation is now complete.
[GB.FORM.TERMINAL]
* NEW: The complete translation.
[GB.FORM]
* NEW: The translation is now complete.
[GB.GUI.BASE]
* NEW: The translation is now complete.
[GB.WEB.FORM]
* NEW: The translations is now complete.
[GB.WEB.GUI]
* NEW: The translations is now complete.
2021-12-06 17:45:10 +01:00
gambas
800b4d17a6 A workaround to let submenu be displayed on Gnome system tray. The Gnome system tray is still buggy, never reacting to any change in menu properties.
[GB.DBUS.TRAYICON]
* BUG: Detect if we are on a Gnome desktop. In that case the _AboutToShow()
  signal always returns FALSE, otherwise submenus are not displayed. But the
  Gnome system tray seems to still be buggy, never reacting to any change in
  menu properties.
* BUG: Be more robust when a tray icons has no popup menus.
* BUG: Do no crash when freeing remaining tray icons at program clean-up.
2021-11-18 23:09:58 +01:00
gambas
6a495cbc88 TextEditor: Setting the Highlight property now works correctly all the time.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the Highlight property now works correctly all the time.
2021-11-14 18:58:12 +01:00
gambas
fc556669d8 Desktop.OpenTerminal() now correctly interprets again 'Desktop.Type'.
[GB.DESKTOP]
* BUG: Desktop.OpenTerminal() now correctly interprets again 'Desktop.Type',
  which does not include the entire contents of $XDG_CURRENT_DESKTOP, but
  only the first one of that colon-separated desktop names list.
2021-11-12 22:03:23 +01:00
gambas
8006f3b39b Desktop: Ensure that desktop types are in upper case.
[GB.GUI.BASE]
* BUG: Desktop: Ensure that desktop types are in upper case.
2021-11-12 22:01:07 +01:00
gambas
c9517c42ea TextEditor: In "gambas" mode, ALT+' and ALT+" now respectively add single quotes and double quotes around the current selection.
[GB.FORM.EDITOR]
* NEW: TextEditor: In "gambas" mode, `ALT+'` and `ALT+"` now respectively add single quotes and double quotes around the current selection.
2021-11-12 21:48:44 +01:00
gambas
b374ba78de TextEditor: Setting the Text property correctly resets the internal highlighting state.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the Text property correctly resets the internal highlighting state.
2021-11-12 21:44:25 +01:00
gambas
33140371d1 TerminalView: Support for RGB colors.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for RGB colors. Use a bit more memory.
2021-11-09 02:05:07 +01:00
gambas
e2b49075bf TextHighlighter: Fix ToANSI() method.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix ToANSI() method.
* BUG: Fix unit tests.
2021-11-09 01:21:18 +01:00
gambas
847d55d232 TextEditor: Use the correct style for highlighting the line where the debugger is stopped.
[GB.FORM.EDITOR]
* BUG: TextEditor: Use the correct style for highlighting the line where the debugger is stopped.
2021-11-07 02:39:16 +01:00
gambas
ac94d4b169 Redraw 'ungroup' icon. Add some new mimetypes for the Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Redraw 'ungroup' icon.
* NEW: Add some new mimetypes for the Gambas icon theme.
2021-11-06 15:19:59 +01:00
gambas
f666dfb0ef TextEditor: Ignore overwrite in read-only mode. Blink the matching brace with the cursor.
[GB.FORM.EDITOR]
* BUG: TextEditor: Ignore overwrite in read-only mode.
* NEW: TextEditor: Blink the matching brace with the cursor.
2021-11-06 15:14:05 +01:00
gambas
e05fe7c63e Better conversion of old theme format. Enhance 'Diff' highlighter.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighterTheme: Load() now convert old theme to new theme by initializing unset styles with old styles.
* NEW: Enhance 'Diff' highlighter.
2021-11-06 15:13:14 +01:00
gambas
8e914b74c7 TextEditor: Fix how bold text is drawn on dark themes.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix how bold text is drawn on dark themes.
2021-11-06 12:03:34 +01:00
gambas
879d0796fc TextHighlighterTheme: Fix ToString() method.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighterTheme: Fix ToString() method.
* NEW: TextHighlighterTheme: Initialize directly from the IDE 'gambas' theme file.
2021-11-06 12:03:05 +01:00
gambas
44f77955f3 Stopping a triggered timer does not leak memory anymore.
[INTERPRETER]
* BUG: Stopping a triggered timer does not leak memory anymore.
2021-11-05 22:58:57 +01:00
gambas
c307592858 TextHighlighterTheme: Fix Save() method.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighterTheme: Fix Save() method.
2021-11-05 21:20:28 +01:00
gambas
f202bbcff6 TreeView: Using a Move*() method now ensures that the view is actually sorted.
[GB.GUI.BASE]
* BUG: TreeView: Using a Move*() method now ensures that the view is actually sorted.
2021-11-05 18:43:13 +01:00
gambas
72ac01e177 Make TextEditor compatible with the new 'gb.eval.highlight' design.
[GB.FORM.EDITOR]
* NEW: TextEditor: Theme is a new property that allows to define the TextHighlighterTheme associated with the editor.
* NEW: TextEditor: The Styles property is now deprecated. It returns now the array of TextHighlighterStyle associated with editor theme.
* NEW: TextEditor: The editor lines have now a little padding on the top and on the bottom, whose size is proportional to the font height.
* BUG: TextEditor: The line wrap markers now are correctly colorized when selected.
* NEW: TextEditor: Colorized text can be striked out.
2021-11-05 16:52:44 +01:00
gambas
7b681d214e New text highlighting design, with highlighting themes based on pre-defined style string names.
[GB.EVAL.HIGHLIGHT]
* NEW: Highlight: Styles is a new property that returns the string key available for all TextHighlighterStyle objects. The integer id of a style is its position in that array.
* NEW: Highlight: GetStyleName() is a new method that returns the translated name of a specific style.
* NEW: TextHighlighter: List is a new static property that returns a list of all implemented highlighter names.
* NEW: TextHighlighter: Name is a new property that returns the name of an highlighter.
* NEW: TextHighlighter: FullName is a new property that returns the human name of an highlighter.
* NEW: TextHighlighter: Styles is a new property that returns the styles actually used by an highlighter.
* NEW: TextHighlighter: ToAnsi(), ToHTML(), ToRichText() and Paint() method now take a TextHighlighterTheme or an array of TextHighlighterStyle as last argument.
* NEW: TextHighlighterStyle: Add Key, Name, Color, Bold, Underline, Dotted, Strikeout properties.
* NEW: TextHighlighterStyle: The Background property tells if the style is a background style according to its key.
* NEW: TextHighlighterStyle: The InvertedColor property returns the style color inverted for dark themes.
* NEW: TextHighlighterStyle: The ToString() method serializes the style to a string.
* NEW: TextHighlighterStyle: The FromString() method creates a style from a string returned by ToString().
* NEW: TextHighlighterTheme: A new class that represents a highlighting theme
* NEW: All highlighter classes were ported to the new design.
2021-11-05 16:46:08 +01:00
gambas
394ea76e2c Merge branch 'master' of gitlab.com:gambas/gambas 2021-11-01 23:11:19 +01:00
gambas
90e7cb98f4 Redraw the book icon in 'blue'.
[GB.FORM.STOCK]
* NEW: Redraw the book icon in 'blue'.
2021-11-01 23:10:55 +01:00
gambix
7edadb94a2 Fixed Fixed a bug in the Near function of _ShapeItem and MapBound.InBounds
[GB.MAP]
* BUG: Fixed a bug in the Near function of _ShapeItem
* BUG: Now MapBound.InBounds is working correctly.
2021-11-01 14:12:00 +01:00
gambas
3cf4f3a21e Merge branch 'master' of gitlab.com:gambas/gambas 2021-10-27 18:38:14 +02:00
gambas
bad974f62d Redraw 'text' icon. Add some mimetypes associations for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Redraw 'text' icon.
* NEW: Add some mimetypes associations for Gambas icon theme.
2021-10-27 18:36:17 +02:00
gambix
e5cc7a9e0d Remove a forgotten debug line
[GB.MAP]
* BUG: Remove a forgotten debug line
2021-10-27 17:08:24 +02:00
gambix
6e86ad7218 Add a new function to the shape layer that return a _shapeitems array contained in a mapbound.
[GB.MAP]
* BUG: The MapBound.Contain function really return if a bound can be contained.
* NEW: Add a new function to the shape layer that return an array of _ShapeItems contained in a mapbound.
2021-10-27 16:42:57 +02:00
gambas
f863ef437e Redraw mimetypes icons. Add 128 pixels monochrom versions of mimetypes icons.
[GB.FORM.STOCK]
* NEW: Redraw mimetypes icons.
* NEW: Add 128 pixels monochrom versions of mimetypes icons.
2021-10-25 23:10:58 +02:00
gambix
235649b686 Correct Shape Icon centering
[GB.MAP]
* Correct Shape Icon centering
2021-10-24 19:59:15 +02:00
gambas
07885061f2 Stock: Silently ignore standard icon theme directories without access authorization.
[GB.FORM]
* BUG: Stock: Silently ignore standard icon theme directories without access authorization.

* NEW: More icons for Gambas icon theme.
2021-10-24 01:10:18 +02:00
gambas
4a46283b2e Add 'pointer' and 'theme' icons. Redraw some icons. 360 different icons is a nice count.
[GB.FORM.STOCK]
* BUG: Set "FollowsColorScheme" flag back into Gambas icon theme generation description file.
* NEW: Add 'pointer' and 'theme' icons. Redraw some icons. 360 different icons is a nice count.
2021-10-23 21:48:44 +02:00
gambas
4ce2e30dd9 Add 'pointer' and 'theme' stock icons. More icons for Gambas icon theme.
[GB.FORM]
* NEW: Add 'pointer' and 'theme' stock icons.
* NEW: More icons for Gambas icon theme.
2021-10-23 21:47:05 +02:00
gambas
f826536666 Add 'speaker' and 'update' icons. Update some icons.
[GB.FORM.STOCK]
* NEW: Add 'speaker' and 'update' icons. Update some icons.
2021-10-23 13:02:14 +02:00
gambas
23f338c1c2 Add 'speaker' and 'update' icons. More icons for Gambas icon theme.
[GB.FORM]
* NEW: Add 'speaker' and 'update' icons.
* NEW: More icons for Gambas icon theme.
2021-10-23 13:01:26 +02:00
gambas
1d37b24c9d TerminalView: Rename cursor style constants as 'Block', 'Underline' and 'VerticalLine'.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Rename cursor style constants as 'Block', 'Underline' and 'VerticalLine'.
2021-10-22 23:38:12 +02:00