Commit graph

3479 commits

Author SHA1 Message Date
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
gambas
46998317cf TerminalView: CursorStyle is a new property that allows to define how the cursor is drawn.
[GB.FORM.TERMINAL]
* NEW: TerminalView: CursorStyle is a new property that allows to define how the cursor is drawn.
* NEW: TerminalView: CursorBlock, CursorUnderline and CursorText are three new constants that represents how the cursor is drawn.
2021-10-22 23:29:07 +02:00
gambas
6322a874c2 Allows GridView automatic scrolling behaviour to be overriden easily.
[GB.GUI.BASE]
* NEW: ScrollArea: The EnsureVisible() method now takes an extra optional argument, that tells which scroll direction is allowed.
* NEW: GridView: GridView.Rows[].EnsureVisible() is a new method that ensures that a specific row is visible by scrolling vertically only.
* NEW: GridView: GridView.Columns[].EnsureVisible() is a new method that ensures that a specific column is visible by scrolling horizontally only.
* NEW: TreeView: Automatic scrolling on item change is now vertical only.
2021-10-22 23:03:10 +02:00
gambas
c70de03c09 Fix propagation of drag and drop events by the highlighting frame.
[GB.GUI.BASE]
* BUG: Fix propagation of drag and drop events by the highlighting frame.
2021-10-22 22:44:29 +02:00
gambas
88579780e2 Fix list generation, by removing a strange insertion of void paragraph.
[GB.MARKDOWN]
* BUG: Fix list generation, by removing a strange insertion of void paragraph.
2021-10-22 04:27:50 +02:00
gambas
1a845b3feb Fix File.FormatSize() so that no more than three significant digits are returned.
[GB.UTIL]
* BUG: Fix File.FormatSize() so that no more than three significant digits are returned.
2021-10-21 14:03:54 +02:00
gambas
4331940e9e IconView: Use an internal cache to speed up item text formatting.
[GB.GUI.BASE]
* OPT: IconView: Use an internal cache to speed up item text formatting.
2021-10-21 14:01:54 +02:00
gambas
d9aa4e194c Format file sizes with no more than three digits. FileView: Use the directory cache instead of Stat() when drawing the items.
[GB.FORM]
* NEW: Format file sizes with no more than three digits.
* BUG: Stock: Don't duplicate 'Gambas' and 'Gambas-Mono' icon themes in Stock.Themes property.
* OPT: FileView: Use the directory cache instead of Stat() when drawing the items.
2021-10-21 14:00:38 +02:00
gambas
d24d7d690f Update control icons.
[GB.DB.FORM]
* NEW: Update control icons.
2021-10-20 16:42:19 +02:00
gambas
a800f3e942 The '<div>' markup that encloses all tables has a class "table" now.
[GB.MARKDOWN]
* NEW: The '<div>' markup that encloses all tables has a class "table" now.
2021-10-20 14:21:29 +02:00
gambas
8f4e709dcf Add 'cpu' stock icon. Add some mimetypes associations for Gambas icon theme.
[GB.FORM]
* NEW: Add 'cpu' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'cpu' stock icon, and fix some icons.
* NEW: Add some mimetypes associations for Gambas icon theme.
2021-10-20 14:19:26 +02:00
gambas
aa23a81ec7 Add 'android' and 'windows' icons. Add other mimetypes associations for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Add 'android' and 'windows' icons.
* NEW: Add other mimetypes associations for Gambas icon theme.
2021-10-20 02:44:40 +02:00
gambas
815b24b7b4 Add 'android' and 'windows' stock icons.
[GB.FORM]
* NEW: Add 'android' and 'windows' stock icons.
2021-10-20 02:44:13 +02:00
gambas
8fda4bfcce Add 'java' icon. Redraw 'watch' icon. Add other mimetypes associations for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Add 'java' icon.
* NEW: Redraw 'watch' icon.
* NEW: Add other mimetypes associations for Gambas icon theme.
2021-10-18 23:13:45 +02:00
gambas
09fd54c82c File dialog geometry is now correctly saved when Dialog.Key is not set.
[GB.FORM.DIALOG]
* NEW: Ask password dialog: Add a button to toggle password visibility.
2021-10-18 23:10:55 +02:00
gambas
017f436671 ButtonBox: Add password property. Add 'java' icon.
[GB.FORM]
* NEW: Add 'java' icon.
* NEW: ButtonBox: Add password property.
2021-10-18 23:09:38 +02:00
gambas
4ac3e20d70 Add other icons.
[GB.FORM.STOCK]
* NEW: Add other icons.
2021-10-16 21:01:38 +02:00
gambas
814e923822 Add other icons.
[GB.FORM]
* NEW: Add other icons.
2021-10-16 21:00:36 +02:00
gambas
0d697fbf1e Add some icons, redraw other ones, and fix mimetypes for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Add 'view-preview' and some special folders icons.
* NEW: Redraw some icons.
* NEW: Add mimetype associations.
2021-10-16 12:56:30 +02:00
gambas
4e04c23332 Add 'view-preview' and some special folders icons.
[GB.FORM]
* NEW: Add 'view-preview' and some special folders icons.
2021-10-16 12:55:09 +02:00
gambas
61aae0c606 Fix Gambas icon theme installation routine.
[GB.FORM.STOCK]
* BUG: Fix Gambas icon theme installation routine.
2021-10-15 23:56:48 +02:00
gambas
f008d4a2a2 TextEditor: Fix possible crashes in undo management. The cursor label background is now opaque.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix possible crashes in undo management.
* NEW: TextEditor: The cursor label background is now opaque.
2021-10-15 23:11:31 +02:00
gambas
e510b7581e Add stock icons for special folders. Fix stock icon map.
[GB.FORM]
* NEW: Add stock icons for special folders.
* BUG: Fix stock icon map.
2021-10-15 23:06:10 +02:00
gambas
26e16151a2 Add an hidden API to install the stock icons as system icon theme in '~/.local/share/icons'.
[GB.FORM.STOCK]
* NEW: Add an hidden API to install the stock icons as system icon theme in '~/.local/share/icons'.
* NEW: Add icon for special home folders.
* NEW: Redraw the 'watch' icon.
2021-10-15 23:05:16 +02:00
gambas
02faf036f1 TrayIcon: Fix the menu refresh problems inside the system tray.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Do not raise the 'LayoutUpdated' DBus signal anymore. Instead, just return TRUE in the 'AboutToShow' event handler.
  That should fix the menu refresh problems inside the system tray.
2021-10-15 19:51:45 +02:00
gambas
6deb70c95f Fix some typo in the stock icons map file.
[GB.FORM]
* BUG: Fix some typo in the stock icons map file.
2021-10-15 19:49:52 +02:00
gambas
9116b1c4a0 CsvFile: Add a 'NoDiacritics' optional argument to automatically remove diacritics from column names.
[GB.UTIL]
* NEW: CsvFile: Add a 'NoDiacritics' optional argument to automatically remove diacritics from column names.
2021-10-15 01:37:04 +02:00
gambas
c897a81d8b ButtonBox: Add the Placeholder property. Add 'added', 'modified' and 'conflict' icons.
[GB.FORM]
* NEW: ButtonBox: Add the Placeholder property.
* NEW: Add 'added', 'modified' and 'conflict' icons.
* NEW: Document the Spinner control.
2021-10-14 02:17:11 +02:00
gambas
8a692b1883 Add 'added', 'modified' and 'conflict' icons.
[GB.FORM.STOCK]
* NEW: Add 'added', 'modified' and 'conflict' icons.
2021-10-14 02:16:02 +02:00
gambas
be3772f05c Picture[] now gets an optional argument that specifies the picture size like Stock.GetSize().
[GB.GUI.BASE]
* NEW: Picture[] now gets an optional argument that specifies the picture size like Stock.GetSize().
2021-10-14 02:15:23 +02:00
gambas
e5d38cb7cb Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.
[GB.FORM.DIALOG]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.GTK]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.GTK3]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.QT4]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.QT5]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.
2021-10-11 19:31:29 +02:00
gambas
135082f552 Add some new icons and update some old ones.
[GB.FORM.STOCK]
* NEW: Add some new icons.
* NEW: Update some icons.
2021-10-09 00:36:32 +02:00
gambas
82979492c3 Add a few stock icons.
[GB.FORM]
* NEW: Add a few stock icons.
2021-10-09 00:35:48 +02:00
gambas
25f89436db Disabled Label and TextLabel are drawn correctly now.
[GB.GUI.BASE]
* BUG: Disabled Label and TextLabel are drawn correctly now.
2021-10-08 17:25:54 +02:00
gambas
84e8bfd742 Add 'csv' and 'library' icons. Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 'csv' and 'library' icons.
2021-10-01 23:07:46 +02:00
gambas
433937304f Add 'csv' and 'library' stock icons.
[GB.FORM]
* NEW: Add 'csv' and 'library' stock icons.
2021-10-01 23:06:59 +02:00
gambas
863630b424 Raise an error if we try use an object that is not an array or a collection as setting value.
[GB.SETTINGS]
* BUG: Raise an error if we try use an object that is not an array or a collection as setting value.
2021-10-01 22:27:17 +02:00
gambas
ff7b5a2736 Don't crash with an unclear error message when assigning an object to a key.
[GB.SETTINGS]
* BUG: Don't crash with an unclear error message when assigning an object to a key.
2021-09-30 23:39:37 +02:00
gambas
167cf31239 MenuButton: Try to not take the focus on click, like a ToolButton. Add 'bluetooth' and 'json' stock icons.
[GB.FORM]
* NEW: Add 'bluetooth' and 'json' stock icons.
* NEW: MessageView: Remove text from buttons. Use less vertical space.
* BUG: MenuButton: Try to not take the focus on click, like a ToolButton.
2021-09-28 02:42:54 +02:00
gambas
721552a25c Update file icons. Add 'json' and 'bluetooth' icon.
[GB.FORM.STOCK]
* NEW: Update file icons.
* NEW: Add 'json' and 'bluetooth' icon.
2021-09-28 02:36:40 +02:00
gambas
fa74c6de33 A few fixes.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix Paint() method signature.
* OPT: TextHighlighter: Add the FAST keyword to the Add() method.
* BUG: '<<' operator was defined twice in 'Sh' highlighting.
2021-09-18 19:57:27 +02:00
gambas
2906f04121 Desktop.RunAsRoot() now uses 'pkexec' by default. Desktop.RunAs() is a new method that allows to specify the username used for running a program.
[GB.DESKTOP]
* NEW: Desktop.RunAsRoot() now takes an optional argument to wait for the program ends, and now uses 'pkexec' by default.
* NEW: Desktop.RunAs() is a method similar as RunAsRoot() that takes the username used for running the program.
2021-09-14 20:53:02 +02:00
Bruce Steers
d8c8ada403 Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-09-14 17:34:37 +01:00
gambas
2a751fcd46 Mark the component as stable.
[GB.FORM.TERMINAL]
* NEW: Mark the component as stable.
2021-09-14 09:51:31 +02:00
Bruce Steers
fabaee070b Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-09-09 13:13:55 +01:00
gambas
fe227d5047 Deleting a control now correctly disables its associated shortcut.
[GB.WEB.GUI]
* BUG: Deleting a control now correctly disables its associated shortcut.
2021-09-08 23:57:00 +02:00
gambas
6ec0f69060 WebButton: Implement the 'Default' and 'Cancel' buttons.
[GB.WEB.GUI]
* NEW: Preload framework images and icons.
* NEW: WebButton: Implement the 'Default' and 'Cancel' buttons. They work only in the main form and in modal dialogs.
* NEW: WebTree: Clicking twice toggles the item expanded state.
2021-09-07 01:04:12 +02:00
gambas
f2ed77263b Menu shortcuts are now taken into account even if they are defined in an embedded form.
[GB.WEB.GUI]
* BUG: Menu shortcuts are now taken into account even if they are defined in an embedded form.
*
2021-09-05 21:51:16 +02:00
gambas
425cd63b56 TextEditor: Correctly reset the Alternate flag before starting highlighting text.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly reset the Alternate flag before starting highlighting text.
2021-09-05 17:54:20 +02:00
gambas
acc85e3268 WebTable: The 'ShowHeader' property is deprecated but works as expected now.
[GB.WEB.GUI]
* BUG: WebTable: The 'ShowHeader' property is deprecated but works as expected now.
*
2021-09-03 01:36:10 +02:00
gambas
b96b698066 Continue WebTree implementation. Replace 'ShowHeader' and 'ShowRowNumber' by a 'Header' property in WebTable.
[GB.WEB.GUI]
* NEW: WebTable: Replace the 'ShowHeader' and 'ShowRowNumber' properties by a 'Header' property.
* NEW: WebTable: Draw the vertical header the same way as the horizontal header, and make it sticky.
* NEW: WebTable: Replace the 'DblClick' event by the 'Activate' event.
* NEW: WebTree: Implement the 'Activate' event.
* BUG: WebTree: The "select all" checkbox now works as expected.
*
2021-09-03 01:33:37 +02:00
Bruce Steers
acc409a7cf Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-09-01 15:10:29 +01:00
gambas
4a5e740b58 WebTree: Initial implementation of a tree control. Not finished yet!
[GB.WEB.GUI]
* NEW: WebTree: Initial implementation of a tree control. Not finished yet!
* BUG: WebTable: Fix table layout.
* BUG: Ensure that the pipe for writing the response is in blocking mode.
2021-09-01 01:12:27 +02:00
Bruce Steers
2a68ec6633 Pedantic but Wait was wait... 2021-08-31 16:45:51 +01:00
Bruce Steers
c9f5218300 Tweak Desktop.RunAsRoot(), remove an if condition for speed
[GB.DESKTOP]
* OPT: rearrange RunAsRoot code to remove an If(Condition,True,False) statement
2021-08-31 11:02:38 +01:00
Bruce Steers
2b72588ae1 Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-08-31 00:47:36 +01:00
Bruce Steers
891c1b2ee6 Desktop.RunAsRoot(), Add pkexec to list of gui sudoers
[GB.DESKTOP]
* NEW: add pkexec as primary gui sudoer to RunAsRoot
* NEW: RunAsRoot has "Wait" argument (default is False)
* NEW: RunAsRoot has Username argument (default is root)
* OPT: Split Command if pkexec is used
2021-08-31 00:28:26 +01:00
gambas
0e207fbf57 WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
[GB.WEB.GUI]
* NEW: WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
2021-08-30 19:30:43 +02:00
gambas
c919632832 Support for absolute URLs in WebImage and WebAudio. Add WebAudio.Loop property.
[GB.WEB.GUI]
* NEW: WebImage: The Image property can be an absolute URL now.
* NEW: WebAudio: The Audio property can be an absolute URL now.
* NEW: WebAudio: Add a Loop property to make the sound automatically loop.
2021-08-30 17:48:52 +02:00
gambas
00a58515b0 SliderBox: Always set both the SpinBox and the Slider, so that they keep being synchronized when the SliderBox has been locked.
[GB.FORM]
* BUG: SliderBox: Always set both the SpinBox and the Slider, so that they keep being synchronized when the SliderBox has been locked.
2021-08-30 02:09:30 +02:00
gambas
7d9c268505 DirBox: Correctly raise the Change event each time the contents actually changes.
[GB.FORM]
* BUG: DirBox: Correctly raise the Change event each time the contents actually changes.
2021-08-30 00:57:10 +02:00
Bruce Steers
01e086778d gb.desktop Final edit, remove unneeded variable declaration
[GB.DESKTOP]
* OPT: remove no longer needed variable declaration
2021-08-29 17:43:25 +01:00
Bruce Steers
db19b20fef Update Desktop.class, fix typo
[GB.DESKTOP]
* BUG: fix typo
2021-08-29 16:40:44 +00:00
Bruce Steers
e2e40c69e2 Update Desktop.class, fix pkexec not working on some programs
[GB.DESKTOP]
* BUG: Using Exec With [envs] was not working, used pkexec env method to pass DISPLAY and XAUTHORITY envs instead as it works.
* OPT: Also Split "Command" string for Exec or it fails if command has more than one arg.

Notes.
I found the prior method worked on pluma but not on any gambas applications. (they all reported unable to open display)
Using this "pkexec env"  method fixes that and makes it work on gambas applications and supports multiple arguments.
2021-08-29 16:38:06 +00:00
Bruce Steers
37d0c12352 Update Desktop.RunAsRoot()
[GB.DESKTOP]
* OPT: move test for pkexec to outside of kde/gnome check as it is independant so will be checked regardless if no other graphical sudo is found.
2021-08-29 04:25:47 +01:00
Bruce Steers
bc12c70673 Update Desktop.class, add pkexec as gksu no longer exists
[GB.DESKTOP]
* NEW: add pkexec to Desktop.RunAsRoot() command as gksu and gksudo no longer exist
2021-08-29 03:16:18 +00:00
gambas
469c04769f Desktop.Passwords: Fix KDE support. Use the 'Desktop.Type' property.
[GB.DESKTOP]
* BUG: Desktop.Passwords: Fix KDE support.
* NEW: Use the 'Desktop.Type' property.
2021-08-29 00:12:28 +02:00
gambas
dc0d0ccbe2 Fix desktop detection. The GridView 'Change' event now can be stopped to cancel a cursor move.
[GB.GUI.BASE]
* BUG: Fix KDE desktop detection, and do not crash if no desktop is detected.
* NEW: GridView: The 'Change' event now can be stopped to cancel a cursor move.
2021-08-29 00:11:09 +02:00
gambas
eb5b601622 WebControl: Rename the 'RenderToString' method as 'ToHTML'.
[GB.WEB.GUI]
* NEW: WebControl: Rename the 'RenderToString' method as 'ToHTML'.
2021-08-27 16:08:36 +02:00
gambas
f72649186b WebControl: RenderToString() is a new method that return the generated HTML associated with the control as a string.
[GB.WEB.GUI]
* NEW: WebControl: RenderToString() is a new method that return the generated HTML associated with the control as a string.
2021-08-27 16:07:49 +02:00
gambas
239acafdf5 WebTable: If the Display property is negative, then the full contents is displayed in one shot.
[GB.WEB.GUI]
* NEW: WebTable: If the Display property is negative, then the full contents is displayed in one shot.
2021-08-27 13:30:36 +02:00
gambas
96ebc59161 Args.Abort is a new property that tells if the program aborts or raises an error when an Args method fails. The property is TRUE by default.
[GB.ARGS]
* NEW: Args.Abort is a new property that tells if the program aborts or raises an error when an Args method fails. The property is TRUE by default.
2021-08-27 13:07:41 +02:00
gambas
04d6ec0532 WebForm.Shortcuts is a new property that allows to declare a list of shortcuts the browser won't see.
[GB.WEB.GUI]
* BUG: Keyboard events work again.
* NEW: WebForm.Shortcuts is a new property that allows to declare a list of shortcuts the browser won't see.
2021-08-26 04:14:41 +02:00
gambas
a981bb3792 Menu shortcuts do not propagate to the browser.
[GB.WEB.GUI]
* NEW: Menu shortcuts do not propagate to the browser.
2021-08-26 02:09:43 +02:00
gambas
5b8ef31f96 Finish implementing keyboard event and menu shortcuts management.
[GB.WEB.GUI]
* NEW: Key.Code returns the name of the pressed key, while Key.Text now returns the text associated with the key if there is.
* NEW: Key.Shortcut returns the shortcut string associated with a keyboard event.
* BUG: Fix Key.Control property.
* NEW: Handle WebMenu.Shortcut property.
* BUG: Use 'keydown' DOM event instead of 'keypress', as 'keypress' is deprecated.
* NEW: Setting WebTextArea.Text now automatically moves the cursor and the scrollbar to the end of the text.
2021-08-25 02:50:26 +02:00
gambas
333985260e 'Desktop.Type', 'Desktop.Types', and 'Desktop.Is()' are now implemented in 'gb.gui.base'.
[GB.GUI.BASE]
* NEW: 'Desktop.Type', 'Desktop.Types', and 'Desktop.Is()' are now implemented here.
2021-08-18 21:49:58 +02:00
gambas
835884698e Message: Correctly define the message title for standard message box style.
[GB.GUI.BASE]
* BUG: Message: Correctly define the message title for standard message box style.
2021-08-18 12:11:42 +02:00
gambas
a0579cb76e Splitter: Fix how the panels follow the mouse on resize.
[GB.GUI.BASE]
* BUG: Splitter: Fix how the panels follow the mouse on resize.
2021-08-11 05:52:47 +02:00
gambas
ef6bda2873 Update 'xdg-utils' scripts to version 1.1.3+.
[GB.DESKTOP]
* NEW: Update 'xdg-utils' scripts to version 1.1.3+.
2021-08-08 17:20:02 +02:00
gambas
b2d0a542f9 MaskBox: Fix cursor move when inserting a character in a filled mask pattern.
[GB.FORM]
* NEW: ButtonBox: Raise the Validate event.
* BUG: MaskBox: Fix cursor move when inserting a character in a filled mask pattern.

* BUG: MaskBox: Handle space separators correctly when setting the Text property.
2021-08-02 23:11:16 +02:00
gambas
caac660a58 Workspace: Activating an unknown window is nw silently ignored.
[GB.FORM.MDI]
* BUG: Workspace: The Add() method now can safely move a window from a workspace to another workspace.
* BUG: Workspace: Activating an unknown window is nw silently ignored.
2021-08-02 22:22:42 +02:00
gambas
d0b66b1ca5 Résolution du conflit. 2021-07-31 01:05:12 +02:00
gambas
f06903c160 Fix 'javacript' and 'CSS' highlighting.
[GB.EVAL.HIGHLIGHT]
* BUG: Add 'set' keyword to javascript highlighting.
* NEW: Add some CSS keywords to CSS highlighting.
2021-07-31 01:04:23 +02:00
gambas
eea30eafca Start implementing keyboard event and menu shortcuts management.
[GB.WEB.GUI]
* NEW: Start implementing keyboard event and menu shortcuts management.
* OPT: WebSpinBox: Do not force a refresh when the value has been changed by the browser.
2021-07-31 00:59:37 +02:00
Benoît Minisini
db4b9ee512 Merge branch 'AddConsoleHighlighting' into 'master'
[Texthighlighter] - Add ANSI console highlight support

See merge request gambas/gambas!236
2021-07-30 00:11:15 +00:00
gambas
fbf3479c32 MaskBox: Handle space separators correctly when setting the Text property.
[GB.FORM]
* BUG: MaskBox: Handle space separators correctly when setting the Text property.
2021-07-24 21:38:41 +02:00
gambas
a5032e801f Fix desktop standard paths computation when there is no explicit configuration file.
[GB.DESKTOP]
* BUG: Fix desktop standard paths computation when there is no explicit configuration file.
2021-07-24 19:15:44 +02:00
gambas
09e22e254f TrayIcon: Change the icon name each time the Picture property changes, to force the system tray to reload it.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Change the icon name each time the Picture property changes, to force the system tray to reload it.
2021-07-24 18:32:49 +02:00
gambas
61f79d6e3b Don't crash when hitting Backspace at the beginning of the editable text.
[GB.FORM]
* BUG: MaskBox: Don't crash when hitting Backspace at the beginning of the editable text.
2021-07-23 00:24:27 +02:00
gambas
53e39e8b87 MaskBox: Make cursor moves more clever.
[GB.FORM]
* NEW: MaskBox: Make cursor moves more clever.
2021-07-22 04:09:34 +02:00
gambas
a56d819286 Add Request.Scheme property. Take HTTP headers into account to detect 'https'.
[GB.WEB]
* NEW: Request.Scheme is a new property that replaces Application.Protocol.
* NEW: Request.Scheme now returns '"https"' according to the contents of the 'REQUEST_SCHEME' or 'X_FORWARDED_PROTO' headers passed to the CGI script.
2021-07-15 14:29:12 +02:00
Brian G
10431e6b80 Change ToConsole to ToANSI to more correctlty reflect fuctionality
[gb.eval.Highlight]
* NEW: Rename ToConsole to ToANSI to more correctly reflect functionality
* NEW: Update Unit text to reflect new name
2021-07-14 09:36:28 -07:00
gambas
46cbe053e2 ButtonBox: Remove workaround for TAB key.
[GB.FORM]
* BUG: ButtonBox: Remove workaround for TAB key.
2021-07-14 04:39:48 +02:00
gambas
b6d39c70a9 Fix MaskBox.
[GB.FORM]
* BUG: MaskBox: Text that do not have the same size as the mask are not valid anymore.
* BUG: MaskBox: The Text property now must match the mask when set. If the set text is smaller than the mask, it is completed with the default characters.
* BUG: MaskBox: Characters moves should be handled better now.
2021-07-10 04:39:21 +02:00
gambas
42005272a9 ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.
[GB.FORM]
* BUG: ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.
2021-07-08 23:12:39 +02:00
gambas
4cd5ac969e WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
[GB.WEB.GUI]
* BUG: WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
2021-07-05 21:50:11 +02:00
gambas
67e13ac22e TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.
[GB.FORM.EDITOR]
* BUG: TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.
2021-07-04 17:48:02 +02:00
gambas
a4f96ba0a1 MaskBox should work correctly again.
[GB.FORM]
* BUG: MaskBox: It should work correctly again.
* NEW: MaskBox: Prompt is a new property that allows to define the character displayed for void entries among a few choices.
2021-07-03 08:34:28 +02:00
gambas
650dd0a018 MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.
[GB.FORM]
* BUG: MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.
* NEW: DirChooser & FileChooser: Do not use a Watcher to initialize the popup menu.
2021-06-28 19:32:26 +02:00
gambas
a079acdbd4 TableView: Fix editing control position and size.
[GB.FORM]
* BUG: TableView: Fix editing control position and size.
2021-06-25 19:00:02 +02:00
gambas
5b648e3191 GridView: Fix current cell cursor size and width.
[GB.GUI.BASE]
* BUG: GridView: Fix current cell cursor size and width.
2021-06-25 18:59:30 +02:00
gambas
dabdbdd238 Fix background of disabled ButtonBox. Fix behaviour of MaskBox copy & paste. Add Validate event to MaskBox.
[GB.FORM]
* BUG: ButtonBox: Disabled background is now drawn correctly.
* BUG: MaskBox: Fix behaviour with copy & paste.
* NEW: MaskBox: Allow default popup menu.
* NEW: MaskBox: Validate is a new event that allows to validate any change in control text and eventually cancel the change.
2021-06-25 12:25:31 +02:00
Brian G
e4ee382336 Add ANSI Terminal support to highligh functions
[GB.EVAL.HIGHLIGHT]
* NEW: Add ToConsole which generates ansii color text which can be printed to most consoles
* NEW: Unit test for Ansi color Console text
* NEW: Unit text for HTML color page
* NEW: Unit text for RTF Color text
2021-06-24 19:08:31 -07:00
Brian G
16dd6690ce Sync the project files before change
[GB.EVAL.HIGHLIGHT]
* OPT: sync project changes
2021-06-24 19:07:59 -07:00
gambas
81cc2c8ca9 MaskBox: Modifier keys do not hide selection anymore.
[GB.FORM]
* BUG: MaskBox: Modifier keys do not hide selection anymore.
2021-06-22 19:42:36 +02:00
gambas
e3ee5a4139 FileView: Selection property now does return file names without any rich text formatting.
[GB.FORM]
* BUG: FileView: Selection property now does return file names without any rich text formatting.
2021-06-21 19:16:02 +02:00
gambas
000a5d29b7 WebComboBox: Use the 'input' event instead of the 'change' event to implement the Click Gambas event.
[GB.WEB.GUI]
* BUG: WebComboBox: Use the 'input' event instead of the 'change' event to implement the Click Gambas event.
2021-06-21 13:35:10 +02:00
gambas
1cc95c2353 TabPanel: ShowTabBar is a new property that toggles the tab bar visibility.
[GB.FORM]
* NEW: TabPanel: ShowTabBar is a new property that toggles the tab bar visibility.
2021-06-19 02:21:05 +02:00
gambas
3b906ba10a MenuButton: Disable the hidden shortcut button when the control has the focus, so that TAB focus navigation works.
[GB.FORM]
* NEW: MenuButton: Disable the hidden shortcut button when the control has the focus, so that TAB focus navigation works.
* NEW: MenuButton: Draw the control with both 'Hovered' and 'Focus' style flag when the control has the focus.
2021-06-18 14:34:25 +02:00
gambas
78b6bfbf92 Update 'start' and 'end' icons.
[GB.FORM.STOCK]
* NEW: Update 'start' and 'end' icons.
2021-06-16 03:28:21 +02:00
gambas
f9a51f632a Add 'inheritance' stock icon.
[GB.FORM.STOCK]
* NEW: Add 'inheritance' stock icon.
2021-06-16 01:52:33 +02:00
gambas
09dd6a7009 MenuButton: The background color is now used for coloring the button background.
[GB.FORM]
* NEW: MenuButton: The background color is now used for coloring the button background.
* BUG: MenuButton: Fix how style flags are used for drawing the control.
2021-06-16 01:51:54 +02:00
gambas
6e69b9c00a Do not allow window titlebar to be moved outside of the visible area.
[GB.WEB.GUI]
* BUG: Fix combo-box layout.
* BUG: Do not allow window titlebar to be moved outside of the visible area.
2021-06-15 17:00:37 +02:00
gambas
2613dfab3a TerminalView: Ignore errors if resizing the running process virtual terminal fails.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Ignore errors if resizing the running process virtual terminal fails.
2021-06-14 00:18:02 +02:00
Benoît Minisini
03210a1dde Merge branch 'MediaViewFix' into 'master'
MediaView, also hide spacer panel when hiding controls

See merge request gambas/gambas!230
2021-06-13 20:31:04 +00:00
gambas
c32df65c35 Some GTK+ fixes for SpinBox and ButtonBox when the font is small. Fix ButtonBox border drawing.
[GB.GUI.BASE]
* BUG: SpinBox: Clamp the vertical padding so that the inner textbox works on GTK+ with small fonts.

[GB.FORM]
* BUG: ButtonBox: Clamp the vertical padding so that the inner textbox works on GTK+ with small fonts.
* BUG: ButtonBox: Fix border drawing according to the widget state (focus and hovering).
2021-06-10 03:23:47 +02:00
gambas
c2ee03d50b FileChooser: Correctly restore the ShowDetailed property from settings.
[GB.FORM]
* BUG: FileChooser: Correctly restore the ShowDetailed property from settings.
2021-06-04 23:34:30 +02:00
gambas
51a744b4ef File dialog geometry is now correctly saved when Dialog.Key is not set.
[GB.FORM.DIALOG]
* BUG: File dialog geometry is now correctly saved when Dialog.Key is not set.
2021-06-04 23:31:19 +02:00
gambas
fcff765e08 File dialog: Handle the case when AutoExt is TRUE and Filter is void.
[GB.FORM.DIALOG]
* BUG: File dialog: Handle the case when AutoExt is TRUE and Filter is void.
2021-06-04 20:25:15 +02:00
gambas
f5e0934089 ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
[GB.GUI.BASE]
* BUG: ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
2021-05-25 23:13:41 +02:00
Bruce Steers
d1892dd188 MediaView, also hide spacer panel when hiding controls
[GB.FORM.MEDIA]
* BUG: also hide spacer panel when hiding controls.

when hiding the controls the spacer stayed, leaving a bar on the bottom of the window, even in fullscreen.
This gives clean fullscreen
2021-05-25 10:45:24 +01:00
gambas
ee51a4a1cf Spinner: Make the "Circle" spinner less dark.
[GB.FORM]
* NEW: Spinner: Make the "Circle" spinner less dark.
2021-05-24 21:45:54 +02:00
gambas
c11b8d54e0 ListBox: Use a natural sort for sorting the ListBox contents.
[GB.GUI.BASE]
* BUG: ListBox: Use a natural sort for sorting the ListBox contents.
2021-05-24 19:48:19 +02:00
gambas
e1073f8b80 The 'language' stock icon is now orange.
[GB.FORM.STOCK]
* NEW: The 'language' stock icon is now orange.
2021-05-24 15:38:32 +02:00
gambas
74acc3d14e SpinBox: Update the current value before returning it with the Value or the Text property.
[GB.GUI.BASE]
* BUG: SpinBox: Update the current value before returning it with the Value or the Text property.
2021-05-22 18:48:04 +02:00
gambas
71f6e291b9 Remove useless 'gb.gsl' from project components.
[GB.FORM.DIALOG]
* BUG: Remove useless 'gb.gsl' from project components.
2021-05-13 22:06:58 +02:00
gambas
c5a0e318d7 SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
[GB.GUI.BASE]
* BUG: SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
2021-05-13 00:03:50 +02:00
gambas
49e35a9192 FileView: Fix automatic extension behaviour.
[GB.FORM]
* BUG: FileView: Fix automatic extension behaviour.
2021-05-12 21:54:36 +02:00
gambas
5216f8ee20 MenuButton: Custom drawing of shortcut underlines for GTK+.
[GB.FORM]
* BUG: MenuButton: Custom drawing of shortcut underlines for GTK+.
2021-05-11 03:46:22 +02:00
Benoît Minisini
92a156b405 Merge branch 'bsteers4-master-patch-22023' into 'master'
Update TextEditorMode_Sh.class: remove quotes from braces

See merge request gambas/gambas!222
2021-05-06 14:44:57 +00:00
gambas
ae3ff60eef Fix compilation on BSD.
[INTERPRETER]
* BUG: Fix compilation on BSD systems.

[GB.FORM]
* NEW: Search for icon themes in '/usr/local' for BSD systems.
2021-05-01 00:28:19 +02:00
gambas
f66b426c46 TextEditor: Remove 'tabledragger.js' test file because it is copyrighted.
[GB.FORM.EDITOR]
* BUG: TextEditor: Remove 'tabledragger.js' test file because it is copyrighted.
2021-04-30 21:43:53 +02:00
gambas
10faf9da83 TerminalView: Reset() method does not fail anymore if the currently running process is dead.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Reset() method does not fail anymore if the currently running process is dead.
2021-04-30 20:39:12 +02:00
gambas
8427844d2d Use SIGUSR1, now that SIGUSR2 is used by the Gambas debugger.
[GB.WEB.GUI]
* BUG: Use SIGUSR1, now that SIGUSR2 is used by the Gambas debugger.
2021-04-30 04:21:24 +02:00
gambas
58666e3f28 * Project version updates. 2021-04-24 16:42:54 +02:00