Commit graph

3154 commits

Author SHA1 Message Date
gambas
d3b77b1325 Update ImageView control icon.
[GB.FORM]
* NEW: Update ImageView control icon.
2021-03-21 21:53:08 +01:00
gambas
a879b7313c Splitter: Correctly update the mouse cursor when the arrangement changes.
[GB.GUI.BASE]
* BUG: Splitter: Correctly update the mouse cursor when the arrangement changes.
2021-03-20 14:56:07 +01:00
gambas
a567fadda1 Frame: The container contents width is now equal to the frame width, and the contents height is now equal to the frame height when there is no title.
[GB.GUI.BASE]
* NEW: Frame: The container contents width is now equal to the frame width, and the contents height is now equal to the frame height when there is no title.
2021-03-19 19:16:12 +01:00
gambas
346c72fc5f Add 'math' and 'statistics' icons. Change some icons.
[GB.FORM.STOCK]
* NEW: Add 'math' and 'statistics' icons.
* NEW: Change some icons.
2021-03-19 06:53:12 +01:00
gambas
65a3ec8dbd Add 'math' and 'statistics' icons. Fix some icons in the stock icons map file.
[GB.FORM]
* NEW: Add 'math' and 'statistics' icons.
* BUG: Fix some icons in the stock icons map file.
2021-03-19 06:52:32 +01:00
gambas
6015c70aea TextEditor: Fix TextEditor[].Paint() method.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix multi-line marker painting.
* BUG: TextEditor: Fix TextEditor[].Paint() method.
2021-03-19 01:23:16 +01:00
gambas
0487b2ecb3 Store the cookie path inside the session, and use it when removing the cookie.
[GB.WEB]
* NEW: Add "SameSite=Lax" when removing the cookie.
* BUG: Store the cookie path inside the session, and use it when removing the cookie.
2021-03-18 17:25:16 +01:00
gambas
ccd3922794 The default tray icon ignores dark theme now.
[GB.DBUS.TRAYICON]
* NEW: The default tray icon ignores dark theme now.
2021-03-18 17:23:45 +01:00
gambas
ab99669d6b TextEditor: Add documentation.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add documentation.
2021-03-18 17:22:59 +01:00
gambas
bf7c562d35 Add documentation.
[GB.UTIL]
* NEW: Add documentation.
2021-03-18 17:22:31 +01:00
gambas
1d1b4fd4ea Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' icons. Update other 'text-*' icons.
[GB.FORM.STOCK]
* NEW: Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' icons.
* NEW: Update other 'text-*' icons.
2021-03-18 17:18:43 +01:00
gambas
e58e3a6ece Fixes in FileView and FontChooser.
[GB.FORM]
* NEW: FileView: Ignore newlines when displaying the name of a file.
* BUG: FontChooser: Do not show plus sign when the font size is absolute.
* NEW: Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' stock icons.
* NEW: Update deprecated controls icons.
2021-03-18 17:16:23 +01:00
gambas
d189731f52 Splitter is a new container that replaces HSplit and VSplit. Its orientation is defined by its Arrangement property.
[GB.GUI.BASE]
* NEW: Splitter is a new container that replaces HSplit and VSplit. Its orientation is defined by its Arrangement property.
2021-03-18 17:14:15 +01:00
gambas
c62134897e TextEditor: Add documentation.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add documentation.
2021-03-18 01:47:41 +01:00
gambas
874f7ac9b0 TextEditor: Fixes and documentation.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix GetIndent() method.
* NEW: TextEditor: Add documentation.
* BUG: TextEditor: Fix TextEditor.Styles interface.
* BUG: TextEditor: Line number color is now correct when LineOffset property is used.
* OPT: TextEditor: SaveCursor() now disables indent check and matching braces check until RestoreCursor() is called.
* NEW: TextEditor: GetSelectedLines() is a new method that return an array of the selected lines.
2021-03-18 01:27:24 +01:00
gambas
9ce110bc06 TextEditor: Preview folding synchronization is now instantaneous.
[GB.FORM.EDITOR]
* OPT: TextEditor: Preview folding synchronization is now instantaneous.
2021-03-17 02:00:33 +01:00
gambas
9842a84095 Compress and update some icons.
[GB.FORM.STOCK]
* NEW: Compress and update some icons.
2021-03-17 01:26:36 +01:00
gambas
85b348ac55 Add some documentation.
[GB.GUI.BASE]
* NEW: Add some documentation.
2021-03-17 01:26:01 +01:00
gambas
dca32b5e62 ListView: The left part of the items is now clickable as expected.
[GB.GUI.BASE]
* BUG: ListView: The left part of the items is now clickable as expected.
2021-03-16 17:52:34 +01:00
gambas
698041a187 Picture: Picture.Load() was overriden so that it can deal with "icon:/" paths.
[GB.GUI.BASE]
* NEW: Picture: Picture.Load() was overriden so that it can deal with "icon:/" paths, but without cache, dark theme or right-to-left support like Picture[].
2021-03-16 13:35:46 +01:00
gambas
11aa4592c5 FontChooser: Use a disabled SpinBox for font size now.
[GB.FORM]
* NEW: FontChooser: Use a disabled SpinBox for font size now.
2021-03-15 21:01:23 +01:00
gambas
231e77d9f6 TreeView: Removing an item or clearing the view now correctly update the list of selected items.
[GB.GUI.BASE]
* NEW: SpinBox: ShowSign is a new property that adds the "+" character to the positive numbers.
* NEW: SpinBox: If ReadOnly is set, the SpinBox is grayed out, and the arrows are hidden.
* BUG: TreeView: Removing an item or clearing the view now correctly update the list of selected items.
2021-03-15 19:31:59 +01:00
gambas
daaec0f257 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2021-03-15 01:00:00 +01:00
gambas
55f0593673 SpinBox: Draw the arrows at the same vertical position whether there is a border or not.
[GB.GUI.BASE]
* NEW: SpinBox: Draw the arrows at the same vertical position whether there is a border or not.
2021-03-14 23:14:23 +01:00
gambas
f855c6b9cf SpinBox: Start the auto-repeat timer before raising the Change event.
[GB.GUI.BASE]
* NEW: Write some documentation.
* BUG: SpinBox: Start the auto-repeat timer before raising the Change event.
2021-03-14 22:32:13 +01:00
gambas
1319ed9f0e New icons and some icons updates.
[GB.FORM.STOCK]
* NEW: New icons and some icons updates.
2021-03-14 01:24:30 +01:00
gambas
7487ea252c New 'firewall' and 'agenda' stock icons.
[GB.FORM]
* NEW: New 'firewall' and 'agenda' stock icons.
2021-03-14 01:24:13 +01:00
gambas
42da251093 DataSource: FindNext() now takes the search start index in argument.
[GB.DB.FORM]
* NEW: DataSource: FindNext() now takes the search start index in argument.
* NEW: DataView: Fix Find() method signature.
2021-03-13 08:51:09 +01:00
gambas
9bcb9d95f1 Some Fontchooser fixes.
[GB.FORM]
* NEW: FontChooser: Use a tool button to display font size. Clicking on the button shows the spinbox.
* BUG: FontChooser: Do not run the thumbnail cache in design mode.
2021-03-13 01:09:43 +01:00
gambas
81ff435f35 Fix Paint.TrimText() again. Fix Frame border drawing in vertical centered alignment.
[GB.GUI.BASE]
* BUG: Fix Paint.TrimText() again.
* BUG: Frame: Fix border drawing in vertical centered alignment.
2021-03-13 00:33:40 +01:00
gambas
96279e1f93 New icons and some icons updates.
[GB.FORM.STOCK]
* NEW: New icons and some icons updates.
2021-03-12 18:10:12 +01:00
gambas
e3078144c8 Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!
[GB.GUI.BASE]
* BUG: Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!
2021-03-12 03:40:35 +01:00
gambas
c7fa0b4295 Fix again Paint.TrimText().
[GB.GUI.BASE]
* BUG: Fix again Paint.TrimText().
2021-03-12 02:45:46 +01:00
gambas
175a681dd9 Fix Paint.TrimText(), Paint.TrimRichText(), Frame title layout. Always defer the ScrollView contents size computation.
[GB.GUI.BASE]
* BUG: Paint.TrimText() now trims at each character.
* BUG: Paint.TrimRichText() now correctly trim void markups.
* BUG: Frame: Fix title layout in all possible alignments.
* OPT: ScrollView: Always defer the contents size computation to the next event loop.
2021-03-11 14:57:28 +01:00
gambas
53b2d34d14 Add 'energy' and 'headset' stock icons. Disable Expander animations, they are broken.
[GB.FORM]
* BUG: Expander: Disable animations, they are broken.
* NEW: Add 'energy' and 'headset' stock icons.
2021-03-11 03:27:43 +01:00
gambas
2e2205a021 Paint.TrimRichText() now returns a void string if the maximum width is negative or null.
[GB.GUI.BASE]
* BUG: Paint.TrimRichText() now returns a void string if the maximum width is negative or null.
2021-03-11 00:58:06 +01:00
gambas
8cea779b62 Paint.TrimRichText() now returns the text without "..." if the maximum width is big enough.
[GB.GUI.BASE]
* BUG: Paint.TrimRichText() now returns the text without "..." if the maximum width is big enough.
2021-03-10 20:28:57 +01:00
gambas
d2a1b1a581 Fix Paint.TrimText() and Paint.TrimRichText(). Add Frame.Alignment property.
[GB.GUI.BASE]
* BUG: Paint.TrimText() and Paint.TrimRichText() now return a null string if the specified maximum width is too low.
* BUG: Frame: Add an Alignment property for the relative position of the title and the frame top border.
2021-03-10 20:23:36 +01:00
gambas
f8b345d9e6 Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
[GB.SETTINGS]
* NEW: Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
2021-03-09 01:49:03 +01:00
gambas
338c464291 FontChooser: Support for fonts whose name is made of digits only.
[GB.FORM]
* NEW: FontChooser: Design enhancements.
* NEW: FontChooser: Support for fonts whose name is made of digits only.
2021-03-08 20:16:14 +01:00
gambas
056464689c Fix Label.Alignment property declaration. SpinBox.Background now works as expected.
[GB.GUI.BASE]
* BUG: Label: Fix the declaration of Alignment property default value.
* BUG: SpinBox: The Background property now works as expected.
2021-03-08 20:12:22 +01:00
gambas
e5f8cfb6d5 FontChooser enhancements and Spinner fixes.
[GB.FORM]
* NEW: FontChooser: Implement a font thumbnail cache to speed up redrawing.
* NEW: FontChooser: Better font list presentation.
* NEW: Spinner: Add a margin property that represents an inner padding of Desktop.Scale.
* BUG: Spinner: Take the padding into account correctly.
2021-03-08 09:32:32 +01:00
gambas
f372d05b5a TreeView fixes. Draw Frame border without inner margin.
[GB.GUI.BASE]
* NEW: Frame: Draw border without inner margin.
* OPT: ProgressBar: Use the new UserControl pseudo-events instead of an embedded DrawingArea.
* NEW: TreeView: Draw is a new event that allows to override default tree item drawing.
* NEW: TreeView: Indent is a new property that returns the indent width.
* NEW: TreeView: TreeView item has a new Depth property that returns the depth of the item.
* BUG: TreeView: Collapsing an item does not scroll the view to the current selected item anymore.
2021-03-08 09:29:25 +01:00
gambas
8dc5116e3e TerminalView: Use a bit more readable yellow colors.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Use a bit more readable yellow colors.
2021-03-08 00:05:38 +01:00
gambas
daef91b84d Label: Caption is a synonymous of Text as before.
[GB.GUI.BASE]
* BUG: Label: Caption is a synonymous of Text as before.
2021-03-07 09:19:49 +01:00
gambas
78cb8d35e6 TextEditor: Text wrapping now adapts its frequency to the computer speed.
[GB.FORM.EDITOR]
* OPT: TextEditor: Text wrapping now adapts its frequency to the computer speed.
2021-03-07 01:31:17 +01:00
gambas
321809c4c7 Keywords and subroutines are now returned by two different properties of the System class.
[GB.EVAL]
* NEW: Keywords and subroutines are now returned by two different properties of the System class.
* NEW: System properties Keywords, Subroutines and Datatypes now return a read-only array.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new System Keywords and Subroutines properties.
2021-03-06 13:17:35 +01:00
gambas
e6b72c10e8 Fix a typo.
[GB.GUI.BASE]
* BUG: Fix a typo.
2021-03-06 13:17:35 +01:00
gambas
af7adf30db Text and TextLabel: Correctly align multi-line text.
[GB.GUI.BASE]
* BUG: Text and TextLabel: Correctly align multi-line text.
2021-03-06 13:17:35 +01:00
gambas
9a39547ae5 Make the 'close' button smaller and update 'cap-*' and 'join-*' icons.
[GB.FORM.STOCK]
* NEW: Make the 'close' button smaller.
* NEW: Update 'cap-*' and 'join-*' icons.
2021-03-06 13:17:35 +01:00
gambas
3f73dc4939 Now the 'close' stock button is smaller, use its 'small' size again.
[GB.FORM]
* NEW: Now the 'close' stock button is smaller, use its 'small' size again.
2021-03-06 13:17:35 +01:00
gambas
1211dafb21 Label and TextLabel: Fix autoresize.
[GB.GUI.BASE]
* BUG: Label and TextLabel: Fix autoresize.
2021-03-06 13:17:35 +01:00
gambas
5873532b88 ToolBar: It can now replace any container similar to "Panel" in the IDE form editor.
[GB.FORM.MDI]
* NEW: ToolBar: It can now replace any container similar to "Panel" in the IDE form editor.
2021-03-06 13:17:35 +01:00
gambas
0bb9b2035d Make that experimental component exclude any other GUI component.
[GB.TERM.FORM]
* BUG: Make that experimental component exclude any other GUI component.
2021-03-06 13:17:35 +01:00
gambas
df573b3466 Add new stock icons. Make the TabPanel close button tiny.
[GB.FORM]
* NEW: Update Spinner icon.
* NEW: Spinner: The 'circle' type is larger.
* NEW: Add new stock icons
* NEW: TabPanel: The tab close button is tiny now.

[GB.FORM.STOCK]
* NEW: Add new stock icons.
2021-03-06 13:17:35 +01:00
gambas
2de54c09c3 TextEditor: HighlightAll() internal method highlights the current line too.
[GB.FORM.EDITOR]
* BUG: TextEditor: HighlightAll() internal method highlights the current line too.
* BUG: TextEditor: Current line is now highlighted with a light margin color.
2021-03-06 13:17:35 +01:00
gambas
fdc4795262 Implement Label and TextLabel in Gambas.
[GB.GUI.BASE]
* NEW: Implement Label and TextLabel in Gambas.
2021-03-06 13:17:35 +01:00
gambas
85c8320fe4 TerminalView: Support for terminal bell.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Handle terminal bell with a screen flash.
* NEW: TerminalView: 'Bell' is new event that is raised when the terminal bells, and that overrides the default behaviour if handled.
2021-03-06 13:17:35 +01:00
gambas
014fc5c8b2 New 'clone' stock icon.
[GB.FORM]
* NEW: New 'clone' stock icon.
2021-03-06 13:17:35 +01:00
gambas
59d7ad65a5 New 'clone' icon.
[GB.FORM.STOCK]
* NEW: New 'clone' icon.
* NEW: Update 'copy' icon.
2021-03-06 13:17:35 +01:00
gambas
c99582034d New stock icons for '*.md' and '*.xml' files.
[GB.FORM]
* NEW: New stock icons for '*.md' and '*.xml' files.
* NEW: Update some control icons.

[GB.FORM.STOCK]
* NEW: New stock icons for '*.md' and '*.xml' files.
* NEW: Update 'file' and 'file-manager' icons.
2021-03-06 13:17:35 +01:00
gambas
084a2de23c TextEditor: Checking the Limit property of a line now highlights until that line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Checking the Limit property of a line now highlights until that line.
2021-03-06 13:17:35 +01:00
gambas
10c7e236dc TextEditor: Fix a possible crash while highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a possible crash while highlighting.
2021-03-06 13:17:35 +01:00
gambas
d96b59e2d8 TerminalView: Do not handle the Drop event if the user has defined its own event handler.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Do not handle the Drop event if the user has defined its own event handler.
2021-03-06 13:17:35 +01:00
gambas
f957a9be1d Update stock icons.
[GB.FORM]
* NEW: New 'office-presentation' stock icon.

[GB.FORM.STOCK]
* NEW: New 'office-presentation' stock icon.
* NEW: Add 128 pixels version of some colored stock icons.
2021-03-06 13:17:35 +01:00
gambas
c4e985cf4b Fix picture cache refresh routine and reimplement the deprecated Picture.Cached property.
[GB.GUI.BASE]
* BUG: Fix picture cache refresh routine.
* BUG: PictureBox: Reimplement the deprecated Cached property.
2021-03-06 13:17:35 +01:00
gambas
77db48a6a8 TerminalView: Support for file URL drops.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for file URL drops.
2021-03-06 13:17:35 +01:00
gambas
bca4f6ef85 New 'invert' stock icon.
[GB.FORM]
* NEW: New 'invert' stock icon.
2021-03-06 13:17:35 +01:00
gambas
f56fd55bfa New 'invert' icon. New big icons of 'linux' and 'terminal'. Some fixes.
[GB.FORM.STOCK]
* NEW: New 'invert' icon.
* NEW: Monochrome version of emote icons.
* NEW: 128 pixels version of 'linux' and 'terminal' icons.
* NEW: Update and fix some other icons.
2021-03-06 13:17:35 +01:00
gambas
1efaf82738 Add 128 pixels versions of some icons. Update others.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of some icons. Update others.
2021-03-06 13:17:35 +01:00
Bruce Steers
2282ccbd06 Disable default handling of '-V' and '-h' options if they are handled manually.
[GB.ARGS]
* NEW: Disable default handling of '-V' and '-h' options if they are handled manually.
2021-03-06 13:17:35 +01:00
gambas
d55b8362de New icon for DataSource control.
[GB.DB.FORM]
* NEW: New icon for DataSource control.
2021-02-24 16:23:59 +01:00
gambas
4aa8cab824 Add a 128 pixels version of 'database' colored icon.
[GB.FORM.STOCK]
* NEW: Add a 128 pixels version of 'database' colored icon.
2021-02-24 16:23:02 +01:00
gambas
cc4cefcf33 TextEditor: Fix the highlighting of the current edited line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the highlighting of the current edited line.
2021-02-24 00:46:02 +01:00
gambas
4c5545e60f Redraw the ReportSvgImage control icon.
[GB.REPORT2]
* NEW: Redraw the ReportSvgImage control icon.
2021-02-23 19:55:39 +01:00
gambas
007e98397d TerminalView: Link detection management.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Link is a new event raised during mouse move for detecting links.
* NEW: TerminalView: Link is a new property that returns an object for managing links.
* NEW: TerminalView: Click is a new event raised when a link has been clicked.
* NEW: TerminalView: ShowLink is a new property that toggles the link management.
* NEW: Update French translation.
2021-02-23 16:35:10 +01:00
gambas
f212d5abf8 Use a 64x64 control icon.
[GB.MEDIA.FORM]
* NEW: Use a 64x64 control icon.
2021-02-23 00:47:41 +01:00
gambas
d89c13d87b Fix 'table' and 'database' stock icons.
[GB.FORM.STOCK]
* BUG: Fix 128 pixels 'table' stock icon.
* NEW: Add yellow inside 'database' stock icon.
2021-02-23 00:46:30 +01:00
gambas
1c3e95a7b9 More 64x64 control icons. Sort IDE toolbox controls in the alphabetical order.
[CONFIGURATION]
* NEW: More 64x64 control icons.

[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Use SpinBox controls for grid options.
* NEW: Form editor: Sort toolbox controls in the alphabetical order.
2021-02-23 00:43:25 +01:00
gambas
3211a8278d Use 64x64 icons for controls now. Add a few enhancements in the IDE image editor.
[CONFIGURATION]
* NEW: Use 64x64 icons for controls now.

[DEVELOPMENT ENVIRONMENT]
* NEW: Custom control icons size is now proportional to the font size.
* BUG: Form editor: Changing the toolbar icon size now keeps the current tab.
* NEW: Image editor: Default image resize mode is stretching now.
* NEW: Image editor: Apply a zoom fit after an image resizing.

[GB.REPORT]
* BUG: Rename a duplicated class that prevented the project to be opened.
2021-02-22 23:19:20 +01:00
gambas
d900937949 Add an Orientation property to ScrollBar and Sldider that allows to define the orientation explicitly.
[GB.FORM]
* NEW: SliderBox: Use the new Slider.Orientation property.

[GB.GUI.BASE]
* NEW: ScrollArea: Use the new ScrollBar.Orientation property.

[GB.GTK]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.

[GB.GTK3]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.

[GB.QT4]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.

[GB.QT5]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.
2021-02-22 14:54:52 +01:00
gambas
85255faea3 TextEditor: Highlight immediately if the highlighting mode is known to not rewrite its text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlight immediately if the highlighting mode is known to not rewrite its text.
2021-02-22 00:55:36 +01:00
gambas
bb0beb41bd TextEditor: Undo/Redo works correctly again when text is rewritten.
[GB.FORM.EDITOR]
* BUG: TextEditor: Undo/Redo works correctly again when text is rewritten.
* NEW: Redraw the TextEditor icon.
2021-02-22 00:49:39 +01:00
gambas
c27a02a5be Redraw the file manager icon. Some little fixes in emote icons.
[GB.FORM.STOCK]
* NEW: Redraw the file manager icon.
* NEW: Some little fixes in emote icons.
2021-02-21 00:08:34 +01:00
gambas
94d75a7ebf Some fixes in file and password dialogs.
[GB.FORM.DIALOG]
* BUG: Password dialog: Do not raise the dialog.
* BUG: File dialog: Do not check for file existence. It is now done in the FileChooser control.
2021-02-21 00:06:48 +01:00
gambas
d0fa82d80f TextEditor: Highlight lines the later as possible: when the Text or SelectedText property is read, or when the line is drawn.
[GB.FORM.EDITOR]
* OPT: TextEditor: Highlight lines the later as possible: when the Text or SelectedText property is read, or when the line is drawn.
       Consequently, the IDE restores a project faster when there are a lot of files to open.
* NEW: TextEditor: Draw matching characters differently again, trying to make that the most readable possible.
2021-02-20 23:29:24 +01:00
gambas
010bbaadeb TreeView: Fix generation of MouseDown events.
[GB.GUI.BASE]
* BUG: TreeView: Fix generation of MouseDown events.
2021-02-18 23:52:20 +01:00
gambas
cebbb299da DirChooser & FileChooser: Ask for overwriting selected file if in single selection mode and if not read-only.
[GB.FORM]
* NEW: Update translations.
* NEW: DirChooser & FileChooser: Ask for overwriting selected file if in single selection mode and if not read-only.
2021-02-17 20:22:13 +01:00
gambas
4f13bb42a4 GridView: Do not raise the MouseDown event twice.
[GB.GUI.BASE]
* BUG: GridView: Do not raise the MouseDown event twice.
2021-02-17 19:47:02 +01:00
gambas
8b20024659 DirChooser & FileChooser: Support for custom compressed files.
[GB.FORM]
* NEW: DirChooser & FileChooser: Add an UncompressFilter property that defines a list of additional 'LIKE' regexp filters for custom compressed files.
* NEW: DirChooser & FileChooser: Raise an Uncompress event when a custom compressed file is requested to be uncompressed.
2021-02-17 01:55:46 +01:00
gambas
f31f6ec8c8 Report: Use the new "_DefaultText" multicontainer constant.
[GB.REPORT2]
* NEW: Report: Use the new "_DefaultText" multicontainer constant.
2021-02-11 13:23:27 +01:00
gambas
f55ac9ef38 ToolPanel: Fix animation and layout.
[GB.FORM]
* NEW: ToolPanel: Fix animation and layout.
* NEW: ToolPanel: Use the new _DefaultText multicontainer constant.
2021-02-11 13:18:36 +01:00
gambas
46fe9dbedd Some optimizations in TextEditor.
[GB.FORM.EDITOR]
* OPT: TextEditor: Use the new FindSorted() array method in a function.
* OPT: TextEditor: Access theme style properties directly.
* OPT: TextEditor: Avoid some computations when nothing is folded.
2021-02-11 00:32:55 +01:00
gambix
ce28776464 Change inheritance on Report
[GB.REPORT2]
* BUG: Report now does not inherit ReportSection anymore.
2021-02-10 21:05:22 +01:00
gambas
86fe4efa55 Add emote icons.
[GB.FORM]
* NEW: Add emote icons.

[GB.FORM.STOCK]
* NEW: Add emote icons.
2021-02-08 16:58:45 +01:00
gambas
313bb0377a Add new stock icons, and update others. Fix a bug in TabPanel relayouting.
[GB.FORM]
* NEW: Add new stock icons.
* BUG: TabPanel: Changing the CloseButton property correctly update the layout.

[GB.FORM.STOCK]
* NEW: Add new stock icons, and update others.
2021-02-08 00:34:27 +01:00
gambas
198ef908ab Add a new rule to String.ToPhonetic() to deal with "mpt" and "mt" patterns.
[GB.UTIL]
* BUG: Add a new rule to String.ToPhonetic() to deal with "mpt" and "mt" patterns.
2021-02-06 17:05:54 +01:00
gambas
a017630ddd Stock.Refresh() now should refresh all application pictures associated with the application theme.
[GB.GUI.BASE]
* NEW: Picture.Refresh() reload all application pictures coming from the stock icons.
* NEW: Shortcut.FromKey() now does not duplicate a modifier key with its modifier prefix (i.e. it does not return "Shift+ShiftKey" anymore but just "ShiftKey").

[GB.FORM]
* NEW: Stock.Refresh() now should refresh all application pictures associated with the application theme.

[GB.FORM.MDI]
* NEW: ToolBar: Don't hide separators followed by an expander.
2021-02-06 16:47:21 +01:00
gambas
87926caca1 Fix shortcuts.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix shortcuts.
* OPT: TextEditor: Use FAST on two heavy functions.
2021-02-06 16:44:46 +01:00
gambas
73b3573142 Make yellow darker in icons.
[GB.FORM.STOCK]
* NEW: Make yellow darker in icons.
2021-02-06 16:43:34 +01:00
gambas
09554420b3 ScrollArea: Add a NoAnimation property to disable the scrolling animation explicitly.
[GB.GUI.BASE]
* NEW: ScrollArea: Add a NoAnimation property to disable the scrolling animation explicitly.
2021-02-05 21:08:52 +01:00
gambas
7c0af8a41f File dialog: Propagate the AutoExt property to the FileChooser.
[GB.FORM.DIALOG]
* NEW: File dialog: Propagate the AutoExt property to the FileChooser.
2021-02-04 13:28:37 +01:00
gambas
f3ce8abe4c FileChooser: AutoExt is a new property that automatically sets the file extension according to the current filter.
[GB.FORM]
* NEW: FileChooser: AutoExt is a new property that automatically sets the file extension according to the current filter.
2021-02-04 13:27:50 +01:00
Bruce Steers
acde26198e Fix MessageView.class
[GB.FORM]
* BUG: not supplying optional icon was causing null object to be passed
2021-02-03 18:47:50 +00:00
gambas
494ccf6ed6 Use three significative digits at most when displaying file sizes.
[GB.FORM]
* NEW: Use three significative digits at most when displaying file sizes.
2021-02-03 18:59:26 +01:00
gambas
d1bc1060e0 TextEditor: Use different highlights for matching characters.
[GB.FORM.EDITOR]
* NEW: TextEditor: Use different highlights for matching characters.
* NEW: TextEditor: The matching character under the cursor does not blink anymore.
2021-02-03 18:58:10 +01:00
gambas
6a20512289 Redraw 'archive', 'lower' and 'raise' icon.
[GB.FORM.STOCK]
* NEW: Redraw 'archive', 'lower' and 'raise' icon.
2021-02-03 18:53:47 +01:00
gambas
e64180ef5a Add icons for line joins, line caps and wrap mode.
[GB.FORM]
* NEW: Add icons for line joins, line caps and wrap mode.

[GB.FORM.STOCK]
* NEW: Add icons for line joins, line caps and wrap mode.
2021-02-01 04:05:56 +01:00
gambas
6c76170f51 TableView: Columns automatic width is now a bit larger to support inner padding of TextBox control.
[GB.FORM]
* BUG: ListEditor: Better behavior in design mode.
* NEW: TableView: Columns automatic width is now a bit larger to support inner padding of TextBox control.
2021-02-01 01:24:55 +01:00
gambas
1389b908f0 Message.Warning() now has only one "cancel" default button.
[GB.GUI.BASE]
* BUG: Message.Warning() now has only one "cancel" default button.
2021-02-01 01:23:31 +01:00
gambas
2128890f9a TerminalView: Text property correctly takes into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Text property correctly takes into account line wrapping.
2021-02-01 01:16:02 +01:00
gambas
4081f4c857 FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
[GB.FORM]
* BUG: FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
2021-01-29 15:50:15 +01:00
gambas
4eb38b4c07 Shortcut.FromKey() now uses an internal cache.
[GB.GUI.BASE]
* OPT: Shortcut.FromKey() now uses an internal cache.
2021-01-29 15:49:21 +01:00
gambas
6364bd1376 Some fixes in line anchors generation.
[GB.MARKDOWN]
* BUG: Some fixes in line anchors generation.
2021-01-29 15:47:35 +01:00
gambas
b71117ebe3 ButtonBox: Clicking on the clear button triggers filtering immediately now.
[GB.FORM]
* NEW: ButtonBox: Clicking on the clear button triggers filtering immediately now.
* BUG: FileChooser: Hide the bookmark button and its separator accordingly.
2021-01-29 00:42:18 +01:00
gambas
e328bb0dea TerminalView: Selected text and Text property now take into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Selected text and Text property now take into account line wrapping.
2021-01-28 23:29:21 +01:00
gambas
2f2e3405f3 Url.Query.Remove() is a new method for removing an argument from the query of an URL.
[GB.UTIL.WEB]
* NEW: Url.Query.Remove() is a new method for removing an argument from the query of an URL.
2021-01-26 22:35:37 +01:00
gambas
fa82d46be5 Fix Frame rendering bugs, and make MovieBox use the UserControl Draw pseudo-event.
[GB.GUI.BASE]
* NEW: MovieBox: Use the UserControl Draw pseudo-event.
* BUG: Frame: Fix some rendering bugs.
2021-01-26 07:05:56 +01:00
gambas
45b453bbec Do not generate line anchors inside the index.
[GB.MARKDOWN]
* BUG: Do not generate line anchors inside the index.
2021-01-26 06:48:42 +01:00
gambas
bb43074533 Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
[GB.MARKDOWN]
* NEW: Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
2021-01-26 06:13:44 +01:00
gambas
f588c83fda PictureBox now uses the new UserControl Draw pseudo-event and Frame container in now implemented in Gambas.
[GB.DRAW]
* NEW: Add PaintExtents W and H properties as synonymous of Width and Height.

[GB.GUI.BASE]
* NEW: PictureBox now uses the new UserControl Draw pseudo-event.
* NEW: Frame container in now implemented in Gambas.

[GB.GTK]
* NEW: Frame container in now implemented in Gambas.
* BUG: Style drawing routines now work correctly on UserControl.

[GB.GTK3]
* NEW: Frame container in now implemented in Gambas.

[GB.QT4]
* NEW: Frame container in now implemented in Gambas.

[GB.QT5]
* NEW: Frame container in now implemented in Gambas.
* BUG: Do not activate windows on Wayland, this is not supported.
2021-01-23 23:30:36 +01:00
gambas
bc170a2317 UserControl now can paint itself through a UserControl_Draw method.
[GB.GTK]
* NEW: UserControl now can paint itself through a UserControl_Draw method.

[GB.GTK3]
* NEW: UserControl now can paint itself through a UserControl_Draw method.
* BUG: Remove debugging message.

[GB.GUI.BASE]
* NEW: Separator: Use the new painting pseudo-event of UserControl.

[GB.QT4]
* NEW: UserControl now can paint itself through a UserControl_Draw method.

[GB.QT5]
* NEW: UserControl now can paint itself through a UserControl_Draw method.
2021-01-23 02:44:46 +01:00
gambas
b4ab1027d8 Separator is now a Gambas-made control.
[GB.GTK]
* NEW: Remove Separator control.
* BUG: Fix minimum size computation.

[GB.GTK3]
* NEW: Remove Separator control.
* BUG: Fix minimum size computation.

[GB.GUI.BASE]
* NEW: Separator is now a Gambas-made control.

[GB.QT4]
* NEW: Remove Separator control.

[GB.QT5]
* NEW: Remove Separator control.
2021-01-22 23:53:27 +01:00
gambas
1bbdc43fc3 FontChooser: Correctly fill font tree when being shown.
[GB.FORM]
* BUG: FontChooser: Correctly fill font tree when being shown.
2021-01-21 02:34:06 +01:00
gambas
9ec5e664fc Optimize font chooser and make TreeView item height writable.
[GB.FORM]
* OPT: FontChooser: Font list is now filled only if needed.

[GB.GUI.BASE]
* NEW: TreeView: TreeView item height is now writable.
2021-01-21 01:46:02 +01:00
gambas
f346811bf8 Add a new test form.
[GB.FORM]
* NEW: Add a new test form.
2021-01-20 02:54:14 +01:00
gambas
531e6534f3 SwitchButton: Keep color hue when transitioning between selected and normal background color.
[GB.FORM]
* BUG: SwitchButton: Keep color hue when transitioning between selected and normal background color.
2021-01-18 21:37:51 +01:00
gambas
c207d71d91 Message: Style property value now can only be "flat" or "default". Setting an unknown style resets the style to "default".
[GB.GUI.BASE]
* BUG: Message: Style property value now can only be "flat" or "default". Setting an unknown style resets the style to "default".
2021-01-17 00:28:32 +01:00
gambas
549e8b1fdd Spinner: Circle spinner now is a progress when its value is strictly between 0 and 1. Otherwise it spins.
[GB.FORM]
* NEW: Spinner: Circle spinner now is a progress when its value is strictly between 0 and 1. Otherwise it spins.
2021-01-17 00:14:47 +01:00
gambas
e5f1462c02 Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
[GB.DESKTOP]
* NEW: Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
2021-01-17 00:13:03 +01:00
gambas
0d2f6c4a4a Message: Add Style and ColoredButtons properties.
[GB.GUI.BASE]
* NEW: Message: Style is a new property that defines the message box style. At the moment, "default" and "flat" are supported.
* NEW: Message: ColoredButtons is a new property that defines if the buttons should be colored or not.
2021-01-16 15:15:55 +01:00
gambas
13d21f1b09 Fix FontChooser layout, and add a RichText property to IconPanel tabs.
[GB.FORM]
* BUG: FontChooser: Fix layout.
* NEW: IconPanel: Add a RichtText property to IconPanel tabs.
*
2021-01-16 04:39:36 +01:00
gambas
f7eef2af6e Message: Add the title to the message box, and make it movable.
[GB.GUI.BASE]
* NEW: Message: Add the title to the message box, and make it movable.
2021-01-16 04:34:29 +01:00
gambas
00b9bb9f0c Message: Test a new look for the message boxes.
[GB.GUI.BASE]
* NEW: Message: Test a new look for the message boxes.
2021-01-15 22:37:30 +01:00
gambas
475a7699d3 Message: Default buttons are now replaced as soon as at least one button is specified.
[GB.GUI.BASE]
* BUG: Message: Default buttons are now replaced as soon as at least one button is specified.
2021-01-15 22:04:18 +01:00
gambas
09e3a9ae19 Scroll view to make popup windows visible as much as possible.
[GB.WEB.GUI]
* NEW: Scroll view to make popup windows visible as much as possible.
2021-01-14 04:14:55 +01:00
gambas
03fdb5dca7 Somes fixes in the DateBox control.
[GB.WEB.GUI]
* BUG: DateBox: Fix date formatting.
* NEW: DateBox: Set a default width according to the DateTime property.
2021-01-14 03:58:20 +01:00
gambas
f8221167af Add a Tag property to many view control items.
[GB.GUI.BASE]
* NEW: GridView: Cells have now a Tag property.
* NEW: GridView: Columns have now a Tag property.
* NEW: TreeView: Items have now a Tag property.
* NEW: ListView: Items have now a Tag property.
* NEW: ColumnView: Items have now a Tag property.
* NEW: IconView: Items have now a Tag property.
2021-01-13 23:20:40 +01:00
gambas
d708361b69 Spinner: Add a Type property that allows to choose between three different spinners.
[GB.FORM]
* NEW: Spinner: Add a Type property that allows to choose between three different spinners.
2021-01-11 04:13:02 +01:00
gambas
13c0d23424 MovieBox: Add backward-compatible Path property.
[GB.GUI.BASE]
* BUG: MovieBox: Add backward-compatible Path property.
2021-01-09 10:38:43 +01:00
gambas
a0a2d0379c MovieBox is now implemented in Gambas, through a new Animation class.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the MovieBox Animation property.

[GB.GTK]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GTK3]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GUI.BASE]
* NEW: MovieBox is now implemented in Gambas.

[GB.QT4]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.QT5]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.
2021-01-09 10:24:56 +01:00
gambas
353d015461 TabPanel: Clicking on a tab button now gives it the focus.
[GB.FORM]
* NEW: TabPanel: Clicking on a tab button now gives it the focus.
2021-01-06 23:52:23 +01:00
gambas
9a16226462 FileView: Sort configuration is kept when the view is refreshed, and the first column has a maximum width.
[GB.FORM]
* NEW: FileView: Sort configuration is kept when the view is refreshed.
* NEW: FileView: The first column now has a maximum width when it is resized at refresh.
2021-01-06 16:22:19 +01:00
gambas
8ab973d4ed Stock: Merge the detection of 'gnome', 'mate' and 'cinnamon' desktops.
[GB.FORM]
* NEW: Stock: Merge the detection of 'gnome', 'mate' and 'cinnamon' desktops.
2021-01-02 22:50:54 +01:00
gambix
d100d710a6 Update stock theme detection. 2021-01-02 18:06:50 +01:00
gambix
72886a70bf Now Stock class load themes with Cinnamon desktop.
[GB.FORM]
* BUG: Now Stock class load themes with Cinnamon desktop.
2021-01-02 17:10:03 +01:00
gambix
4839ab8fff Merge branch 'master' of gitlab.com:gambas/gambas 2021-01-02 15:39:57 +01:00
gambas
ceb8d955df TreeView: Modifying the font of an item now correctly updates its height.
[GB.GUI.BASE]
* BUG: TreeView: Modifying the font of an item now correctly updates its height.
2021-01-02 15:07:24 +01:00
gambas
0938ef62e8 Remove an unused variable.
[GB.FORM.TERMINAL]
* BUG: Remove an unused variable.
2021-01-02 11:36:16 +01:00
gambix
e155a472b3 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-30 15:18:53 +01:00