Commit graph

3509 commits

Author SHA1 Message Date
gambas
a7ac437296 Update 'font' icon.
[GB.FORM.STOCK]
* NEW: Update 'font' icon.
2021-03-22 23:01:02 +01:00
gambas
66d4ea1c89 FontChooser: Correctly handle focus when the layout changes.
[GB.FORM]
* NEW: Update control icons.
* BUG: FontChooser: Correctly handle focus when the layout changes.
2021-03-22 22:59:52 +01:00
gambas
c2650ef40b TextEditor: Scroll to the top left when reinitializing the view.
[GB.FORM.EDITOR]
* NEW: TextEditor: Scroll to the top left when reinitializing the view.
* NEW: TextEditor: Highlight current tabulation context with a thinner line using the margin limit color.
2021-03-22 22:59:18 +01:00
gambas
6e445e480c IconView: The renaming widget does not propagate the ESC key anymore.^
[GB.GUI.BASE]
* BUG: IconView: The renaming widget does not propagate the ESC key anymore.
2021-03-22 02:20:03 +01:00
gambas
d980c99f17 Update emote icons.
[GB.FORM.STOCK]
* NEW: Make 128 pixels version of emote icons.
* NEW: Make emote icons "more yellow".
2021-03-21 21:54:17 +01:00
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
gambas
a8b9bf14b6 TerminalView: The last lines are now automatically relayouted when the width of the terminal changes.
[GB.FORM.TERMINAL]
* NEW: TerminalView: The last lines are now automatically relayouted when the width of the terminal changes.
* BUG: TerminalView: The padding is now correctly taking into account when computing the terminal character width.
2020-12-30 01:22:57 +01:00
gambas
b070d7a386 Popups now use absolute position, so that they follow the document scrolling.
[GB.WEB.GUI]
* BUG: Popups now use absolute position, so that they follow the document scrolling.
2020-12-27 20:23:21 +01:00
gambix
58aeb27938 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-27 12:07:17 +01:00
gambas
26baf7a601 WebComboBox: Read-only combo-boxes have now the same height as the editable ones.
[GB.WEB.GUI]
* BUG: WebComboBox: Read-only combo-boxes have now the same height as the editable ones.
2020-12-26 22:29:54 +01:00
gambas
7b569604b7 TextEditor: Do not optimize character layouting for non-ASCII text.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not optimize character layouting for non-ASCII text, so that lines including non-western characters are displayed correctly whatever the font.
* NEW: TextEditor: Keep displaying the cursor and the matching braces when the editor does not have the focus.
2020-12-21 00:25:45 +01:00
gambas
0127d32738 TerminalView: Printing an incorrect UTF-8 string does not lock the output anymore.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Printing an incorrect UTF-8 string does not lock the output anymore.
2020-12-20 21:26:54 +01:00
gambix
b451da983b Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-20 09:16:09 +01:00
gambas
5e22276818 WebForm: AddHeader() is a new method that allows to add a custom page header.
[GB.WEB.GUI]
* NEW: WebForm: AddHeader() is a new method that allows to add a custom page header.
* BUG: WebForm: Custom form javascript files are now different for each form.
2020-12-19 12:46:09 +01:00
gambas
5789e6036b Font dialog: Set focus on FontChooser control at opening.
[GB.FORM.DIALOG]
* NEW: Font dialog: Set focus on FontChooser control at opening.
2020-12-19 03:02:52 +01:00
gambas
0ae82b7115 Enhance FontChooser control again.
[GB.FORM]
* NEW: FontChooser: Enhance GUI again.
2020-12-19 03:02:11 +01:00
gambas
3b8e0ec105 Enhance FontChooser control.
[GB.FORM]
* NEW: FontChooser: Better GUI.
* NEW: FontChooser: Add a ShowFont property that toggle the display of fonts inside the font tree.
* NEW: FontChooser: Define pangrams for some languages.
2020-12-19 02:33:59 +01:00
gambas
e61f93e77c ScrollView: Clip children for GTK+2 by forcing control background.
[GB.GUI.BASE]
* BUG: ScrollView: Clip children for GTK+2 by forcing control background.
2020-12-19 00:25:35 +01:00
gambas
aab93798f1 Stock: Read the Mate desktop icon theme with the 'dconf' tool, as apparently the mate tool has been deprecated.
[GB.FORM]
* BUG: Stock: Read the Mate desktop icon theme with the 'dconf' tool, as apparently the mate tool has been deprecated.
2020-12-17 14:26:45 +01:00
gambas
1d3992467d ColorButton: Display the inner color the same way in all GUI components.
[GB.FORM]
* BUG: ColorButton: Display the inner color the same way in all GUI components.
2020-12-17 04:37:54 +01:00
gambas
82dc368486 Stock: Add a debugging message that displays the icon theme.
[GB.FORM]
* NEW: Stock: Add a debugging message that displays the icon theme.
2020-12-17 03:20:02 +01:00
gambix
df3b105b01 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-16 15:46:23 +01:00
Benoît Minisini
476689055f Merge branch 'bsteers4-master-patch-83433' into 'master'
Update TextHighlighter_Sh.class

See merge request gambas/gambas!169
2020-12-16 14:27:18 +00:00
Bruce Steers
a64b2b3f25 Remove escape character '\' from operator list.
[GB.EVAL.HIGHLIGHT]
* BUG: Remove escape character '\' from operator list.
2020-12-16 14:27:17 +00:00
Bruce Steers
34b0c2f925 TerminalView: Handle XTerm window manipulation CSI escape sequences.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Various XTerm window manipulation escape sequences added to VT100.
* NEW: TerminalView: Added WindowCommands boolean property to enable manipulations.

Useful if your terminalview is a standalone in a form/window although\
handling has been added to account for other objects in a form.\

Set property TerminalView1.WindowCommands = True and it enables\
XTerm escape sequences on the top window...

Eg. Type 'echo -en "\\033\[10;2t"' to toggle fullscreen.\
Handles the following modes...\

1, Minimize false\
2, Minimize true\
3, Move window (x,y)\
4, Resize (h,w) in pixels\
5, Send to front (Window.Raise)\
6, Send to back (Window.Lower)\
7, Refresh (useless but it would be a shame to do 1-10 and leave 7 out.)\
8, Resize (lines, cols) text characters\
9;0 Maximize false\
9;1 Maximize true (also works as true/false toggle)\
10;0 Full screen off\
10;1 Full screen on\
10;2 Full screen toggle\
2020-12-16 14:26:22 +00:00
gambas
18f5c250fb Tune the behaviour of message boxes.
[GB.GUI.BASE]
* NEW: Message: Provide default buttons if none are specified.
* NEW: Message: The message can only be closed by clicking on a button.
* NEW: Message: Focus on the cancel button by default.
2020-12-15 14:50:43 +01:00
gambix
a2c4c3b51a Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-10 17:40:42 +01:00
gambas
d7ff002fe6 TreeView: Eat the key shortcuts used: [F2], [+], [-] and [SPACE].
[GB.GUI.BASE]
* BUG: TreeView: Eat the key shortcuts used: [F2], [+], [-] and [SPACE].
* BUG: TreeView: Renaming an item automatically cancel any other pending item renaming.
2020-12-09 22:58:22 +01:00
gambas
1593e864b8 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-04 18:59:30 +01:00
gambas
817c860c4d Do not encode newline characters as newlines (!) in quoted encoding.
[GB.NET.SMTP]
* BUG: Do not encode newline characters as newlines (!) in quoted encoding. See RFC 2049 at the end of page #10.
2020-12-04 18:59:10 +01:00
gambix
3937ea5fb8 New property Path in report that allow to define the output file
When used with preview, the returned value is the new path used.

[GB.REPORT2]
* NEW: New property Path in report that allow to define the output file
2020-12-04 15:11:05 +01:00
gambix
f77f4b8188 Add a new property Header to _MapTile Class to set up the http client Header.
[GB.MAP]
* NEW: Add a new property Header to _MapTile Class to set up the http client Header.
2020-12-03 15:56:22 +01:00
gambas
e5cc73ee61 TextEditor: Really do not stop keyboard event if the key is not handled by the editor!
[GB.FORM.EDITOR]
* BUG: TextEditor: Really do not stop keyboard event if the key is not handled by the editor!
2020-11-27 14:20:21 +01:00
gambas
5a46d0ac4a Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-24 21:54:43 +01:00
gambas
5a5e468866 Message: Rework the message box. Copying the message is now done through a popup menu.
[GB.GUI.BASE]
* NEW: Message: Rework the message box. Copying the message is now done through a popup menu.
* OPT: ScrollArea: Remove some useless lines in scrollbar management.
2020-11-24 21:50:24 +01:00
gambas
2b43657ab3 Fix keyboard event management for GTK+3, use standard colors by default, and draw matching braces differently.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not stop keyboard event if the key is not handled by the editor.
* NEW: TextEditor: Use the standard background and foreground colors by default.
* NEW: TextEditor: Draw the matching brace under the cursor with an underline.
2020-11-24 21:36:12 +01:00
gambix
52bb088242 Set the Visible propert of Reoport objects active 2020-11-24 12:25:31 +01:00
gambas
f3b746bf97 DateChooser: ShowWeek is a new property that toggles the display of weeks.
[GB.FORM]
* BUG: MenuButton: Fix background color.
* NEW: DateChooser: ShowWeek is a new property that toggles the display of weeks.
2020-11-24 00:19:37 +01:00
gambas
77ba659c6c Add some Find() methods that allow to find the index of a specific row.
[GB.DB.FORM]
* NEW: DataSource: Find() is a new method that returns the index of the first row matching a specific SQL condition.
* NEW: DataSource: FindNext() is a new method that returns the index of the first row matching a specific SQL condition next to the current position.
* NEW: DataBrowser: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
* NEW: DataView: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
2020-11-23 21:30:35 +01:00
gambas
96430759c6 Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-22 19:44:02 +01:00
gambas
dd664de989 MenuButton: Fix its behaviour for GTK+3.
[GB.FORM]
* BUG: MenuButton: Fix draing for GTK+3.
* BUG: MenuButton: Fix hidden shortcut button for GTK+3.
2020-11-22 19:43:44 +01:00
gambix
9ea6651638 Remove autoreload on removing shape object and force reload on Refresh function.
[GB.MAP]
* NEW: _MapShape: Remove reloading when removing a shape object.
* NEW: Map: Force Layers reloading when function Refresh is called.
2020-11-22 10:27:45 +01:00
gambix
c2eec706a1 [GB.MAP] 2020-11-22 10:21:31 +01:00
gambas
38eabb2a3a DateChooser: Handle mouse wheel events on time boxes better.
[GB.FORM]
* NEW: DateChooser: Handle mouse wheel events on time boxes better.
2020-11-18 21:59:08 +01:00
gambas
306b1561ec DateBox: Chinese language should be correclt supported now.
[GB.FORM]
* BUG: DateBox: Chinese language should be correclt supported now.
2020-11-18 21:44:08 +01:00
gambas
f7e806c9bf Update Chinese translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Chinese translation.

[WIKI CGI SCRIPT]
* NEW: Update Chinese translation.

[PROJECT TEMPLATES]
* NEW: Update Chinese translation.

[GB.DB.FORM]
* NEW: Update Chinese translation.

[GB.FORM.DIALOG]
* NEW: Update Chinese translation.

[GB.FORM.MDI]
* NEW: Update Chinese translation.

[GB.FORM.PRINT]
* NEW: Update Chinese translation.

[GB.FORM]
* NEW: Update Chinese translation.

[GB.GUI.BASE]
* NEW: Update Chinese translation.

[GB.REPORT2]
* NEW: Update Chinese translation.

[GB.TERM.FORM]
* NEW: Update Chinese translation.

[GB.UTIL]
* NEW: Update Chinese translation.

[GB.WEB.FEED]
* NEW: Update Chinese translation.

[GB.WEB.FORM]
* NEW: Update Chinese translation.

[GB.WEB.GUI]
* NEW: Update Chinese translation.
2020-11-18 21:07:53 +01:00
gambas
589c29ccfa TerminalView: Paste UTF-8 into terminal.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Paste UTF-8 into terminal.
* NEW: Update Chinese translation.
2020-11-18 19:55:34 +01:00
gambas
b36254ee7e Add icon association for 'font-x-generic' mime type.
[GB.FORM.STOCK]
* NEW: Add icon association for 'font-x-generic' mime type.
2020-11-14 04:01:19 +01:00
gambas
0456b0ba41 ButtonBox: Draw the default background color correctly.
[GB.FORM]
* BUG: ButtonBox: Draw the default background color correctly.
2020-11-14 03:56:48 +01:00
gambas
2a2780c95b Some little workarounds for GTK+ components.
[GB.FORM]
* BUG: MenuButton: Fix hidden shortcut button for GTK+ components.
* BUG: DirButton: Take the Design property into account.
* BUG: Wizard: Unset the AutoResize property on wizard title label, it breaks with GTK+ components.
2020-11-11 00:27:55 +01:00
gambas
f3587c71d7 Forgot to add 'gb.settings' back to the checked components.
[GB.FORM.MDI]
* BUG: Forgot to add 'gb.settings' back to the checked components.
2020-11-02 21:44:54 +01:00
gambas
1ad5ed2ac6 Fix compilation.
[GB.FORM.MDI]
* BUG: Fix compilation.
2020-11-02 01:39:45 +01:00
gambas
86f3f6b6f5 Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-01 19:05:08 +01:00
gambas
9394e35c23 Add some test forms. 2020-11-01 19:04:36 +01:00
gambix
35352de728 Use pnm instead of jpeg to avoid libjpeg problems.
[GB.SCANNER]
* BUG: Use pnm instead of jpeg to avoid libjpeg problems.
* BUG: Better progress tracking
* BUG: Remove empty entry in list
2020-11-01 14:48:12 +01:00
Bruce Steers
e1e36cabc8 Update TextEditor.class: removed anything non-highlight related 2020-10-27 20:28:44 +00:00
Bruce Steers
1a9c9fb802 Replace TextEditor.class: added "Sh" to mode/highlight properties 2020-10-27 20:06:31 +00:00
Bruce Steers
2395548d0a [GB.FORM.EDITOR]
* NEW: TextEditorMode_Sh.class: shell definition adding to highlighting/mode
2020-10-27 20:02:51 +00:00
Bruce Steers
35ebd27c6e [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter_Sh.class: shell highlight definitions
2020-10-27 20:00:33 +00:00
gambas
b376bf203d TerminalView: Support for 'ESC [ 3 J' sequence (clear screen).
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for 'ESC [ 3 J' sequence (clear screen).
2020-10-23 17:39:50 +02:00
gambas
1be0e488fb Margin is not transparent anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Margin is not transparent anymore.
* NEW: TextEditor: Draw the shadow after the margin again.
2020-10-22 22:17:46 +02:00
gambas
4792ca1a7e Allow rewriting during highlighting only when the Mode property is set to something different from "None" or a void string.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.CanRewrite is a new property that tells if highlighting is allowed to rewrite.
* NEW: Take the previous property into account in Gambas highlighter.

[GB.FORM.EDITOR]
* NEW: Allow rewriting during highlighting only when the Mode property is set to something different from "None" or a void string.
2020-10-22 21:56:23 +02:00
gambas
7387b7b116 MediaView: Ensure that the video DrawingArea has its own window on gb.gtk/gb.gtk3.
[GB.MEDIA.FORM]
* BUG: MediaView: Ensure that the video DrawingArea has its own window on gb.gtk/gb.gtk3.
2020-10-19 23:05:30 +02:00
gambas
4433597ff6 Fixes in ScrollArea, HSplit, VSplit and ListBox.
[GB.GUI.BASE]
* BUG: ScrollArea: Delete shadows differently to better support GTK+.
* NEW: HSplit & VSplit: Handle the Design property.
* NEW: ListBox: Setting the Index property with an incorrect value now raise an explicit error.
2020-10-19 22:54:03 +02:00
gambas
420e69a551 Fix 'make install' that should now correctly remove all installed files.
[CONFIGURATION]
* BUG: Fix 'make install' that should now correctly remove all installed files.
2020-10-17 23:57:34 +02:00
gambas
d89a27e752 ToolBar: Layout is a new synonymous property of Settings.
[GB.FORM.MDI]
* NEW: ToolBar: Layout is a new synonymous property of Settings.
2020-10-17 23:30:50 +02:00
gambas
b26fe3a32d Darker green color for 'apply' and 'call' icons.
[GB.FORM.STOCK]
* NEW: Darker green color for 'apply' and 'call' icons.
2020-10-16 12:56:22 +02:00
gambas
dfa83a2454 FileView: Path is a new read-only property that return the absolute path of the current selected file.
[GB.FORM]
* NEW: FileView: Path is a new read-only property that return the absolute path of the current selected file.
2020-10-16 01:32:52 +02:00
gambas
ba46ed80b7 MessageView: Speed animation up.
[GB.FORM]
* NEW: MessageView: Speed animation up.
2020-10-06 16:39:29 +02:00
gambas
3392fabda2 TerminalView: Take padding into account when computing the number of visible lines.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Take padding into account when computing the number of visible lines.
2020-10-06 16:38:29 +02:00
gambas
0acdc0941c The password dialog is not stacked above other windows anymore, but just raised on opening.
[GB.FORM.DIALOG]
* BUG: The password dialog is not stacked above other windows anymore, but just raised on opening.
2020-09-29 00:40:43 +02:00
gambas
3de8161ae4 Response.SetCookie() now sets the 'SameSite' cookie property to 'Lax' as Firefox specifies.
[GB.WEB]
* BUG: Response.SetCookie() now sets the 'SameSite' cookie property to 'Lax' as Firefox specifies.
2020-09-25 02:57:52 +02:00
gambas
6aaf3381d9 WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.
[GB.WEB.GUI]
* BUG: WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.
2020-09-17 09:55:34 +02:00
gambas
6e3f56be4e TerminalView: Ignore window manipulations sequences.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Ignore window manipulations sequences ("ESC [ ... t").
2020-09-08 09:02:53 +02:00
gambas
027843d640 ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.
[GB.FORM.MDI]
* BUG: ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.
2020-09-08 00:25:55 +02:00
gambas
2a4493100f Report.Print() now works correctly whatever the toolkit or the printer.
[GB.REPORT2]
* BUG: Report.Print() now works correctly whatever the toolkit or the printer.
* BUG: Checking or unchecking the grayscale checkbox now correctly refreshes the preview.
2020-09-05 21:44:56 +02:00
gambas
b7f1e745c1 WebComboBox: Use the 'onclick' event instead of 'onselect', so that initial click on first list element is detected.
[GB.WEB.GUI]
* BUG: WebComboBox: Use the 'onclick' event instead of 'onselect', so that initial click on first list element is detected.
2020-09-05 14:37:03 +02:00
gambas
93f91041e1 Message: text is not vertically truncated anymore when using a GTK+ component.
[GB.GUI.BASE]
* BUG: Message: text is not vertically truncated anymore when using a GTK+ component.
2020-08-30 20:58:55 +02:00
gambas
db06064d7b Log is now disabled by default.
[GB.WEB.GUI]
* BUG: Log is now disabled by default. Setting the GB_WEB_GUI_DEBUG environment variable to "1" enables it.
2020-08-24 10:43:40 +02:00
gambas
76637184e6 Remove a debugging message.
[GB.SETTINGS]
* BUG: Remove a debugging message.
2020-08-21 11:22:30 +02:00
Benoît Minisini
e193d7ec8c Merge branch 'gbs3' into 'master'
Gbs3

See merge request gambas/gambas!152
2020-08-21 09:20:19 +00:00
gambas
ccb5471dcf ListBox: Click event is now raised on the next event loop.
[GB.GUI.BASE]
* NEW: ListBox: Click event is now raised on the next event loop.
2020-08-20 01:41:34 +02:00
gambas
796ec29fbb Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-08-20 01:37:54 +02:00
gambas
6a505680e2 DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.
[GB.DB.FORM]
* NEW: DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.
2020-08-20 01:37:47 +02:00
Brian G
ca34256ccf [gb.texthighlight]
* FIX:  Removed ToConsole
* NEW:  Created new branch for console highlight
* NEW:  Updated TextHighlight to include ToConsole, for console print highlighting support
2020-08-19 06:33:17 -07:00
gambas
5be18a279d Desktop.SendMail() now waits for the completion of the 'xdg-email' script, so that errors are raised.
[GB.DESKTOP]
* BUG: Desktop.SendMail() now waits for the completion of the 'xdg-email' script, so that errors are raised.
2020-08-18 10:59:20 +02:00
gambas
b00a552f62 TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.
2020-08-11 14:13:34 +02:00
gambas
1eb943644e Display grid if the grid property is set, and ignore vertical alignment when drawing the contents.
[GB.DB.FORM]
* BUG: DataComboView: Ignore vertical alignment when drawing the contents.
* NEW: DataComboView: Draw grid inside the combo if the grid property is set (the code is actually in the previous commit).
2020-08-03 02:33:15 +02:00
gambas
0720b6763d Fix popup management, and save drawing context when running a style method.
[GB.GTK]
* BUG: Fix popup management.
* BUG: Save drawing context when running a style method.

[GB.GTK3]
* BUG: Fix popup management.
* BUG: Save drawing context when running a style method.
2020-08-03 02:22:02 +02:00
gambas
ff5541cdb9 DataComboView: Fix default event and prevent the popup contents from scrolling horizontally.
[GB.DB.FORM]
* BUG: DataComboView: Fix default event.
* NEW: DataComboView: Prevent the popup contents from scrolling horizontally.
2020-08-03 00:21:49 +02:00
Brian G
145d47e451 [gb.texthighlight
* Add:    Updated TextHighlight to include ToConsole, for console print highlighting support
2020-07-30 14:11:30 -07:00
Brian G
6189fba3d0 # Add Updated TextHighlight to include ToConsole, for console color support 2020-07-30 13:00:24 -07:00
Brian G
06d6dffc9d Merge branch 'master' of gitlab.com:ercoupeflyer/gambas 2020-07-30 12:56:49 -07:00
Brian G
26e98d1155 # Add Updated TextHighlight to include ToConsole, for console color support 2020-07-30 12:52:45 -07:00
gambas
a3ee48178a TrayIcon: Update the DBus menu only if necessary.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Update the DBus menu only if necessary.
2020-07-29 22:12:20 +02:00
gambas
22afec7de4 On KDE5, don't try to use old KDE4 wallet if it is not available.
[GB.DESKTOP]
* BUG: On KDE5, don't try to use old KDE4 wallet if it is not available.
2020-07-29 11:45:41 +02:00
gambas
323100a39c Setting action tooltip does not crash anymore on menus.
[GB.GUI.BASE]
* BUG: Setting action tooltip does not crash anymore on menus.
2020-07-19 00:51:54 +02:00
gambas
7c56865d97 Fix '&=' operator optimization when the added string is void.
[INTERPRETER]
* BUG: Fix '&=' operator optimization when the added string is void.
2020-07-13 15:41:12 +02:00
gambas
c45afb88ed Fix again automatic insertion of string delimiters.
[GB.FORM.EDITOR]
* BUG: Fix again automatic insertion of string delimiters.
2020-07-09 13:24:02 +02:00
Benoît Minisini
6d6f99887a Merge branch 'master' into 'master'
Updated brazilian portuguese translations

See merge request gambas/gambas!150
2020-07-04 09:52:12 +00:00
gambas
4b34a2b9d5 Settings: Add a few methods and properties.
[GB.SETTINGS]
* NEW: Settings.Count is a new property that returns the total number of settings.
* NEW: Settings.Exist() is a new method that return if a specific settings key is set.
* NEW: Settings.Keys.Count is a new property that returns the number of children slots.
* NEW: Settings.Keys.Exist() is a new method that returns if a specific child slot exists.
* NEW: Settings.Keys.All is a new property that returns an array of all children slot keys.
2020-07-03 01:55:06 +02:00
gambas
7923d08a41 WebComboBox: Fix initial value of the Index property.
[GB.WEB.GUI]
* BUG: WebComboBox: Fix initial value of the Index property.
2020-07-02 22:51:00 +02:00
gambas
7d0eb6598f Disabled widgets now ignore all pointer events.
[GB.WEB.GUI]
* BUG: Disabled widgets now ignore all pointer events.
2020-07-02 20:17:17 +02:00
gambas
5b6d3a1b2e TextEditor: Inserting a string delimiter at the beginning of the line does not crash anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting a string delimiter at the beginning of the line does not crash anymore.
2020-06-29 20:33:32 +02:00
gambas
3b8166343f Update project version. 2020-06-29 20:25:11 +02:00
gambas
f8da3dbd6b Minus sign reformatting. 2020-06-29 20:24:04 +02:00
gambas
4b2967df56 Remove useless void lines. 2020-06-29 20:23:07 +02:00
gambas
dfd64cde24 Display a better error message if the settings file directory disappeared.
[GB.SETTINGS]
* NEW: Display a better error message if the settings file directory disappeared.
2020-06-29 20:20:57 +02:00
gambas
dcce2f9d83 DesktopFile: Fix the case of the "exist" symbol that is used as a public method name.
[GB.DESKTOP]
* BUG: DesktopFile: Fix the case of the "exist" symbol that is used as a public method name.
2020-06-29 20:19:32 +02:00
gambas
445d8784a8 FileChooser & DirChooser: ShowToolbar is a new property that toggles the toolbar.
[GB.FORM]
* NEW: FileChooser: ShowToolbar is a new property that toggles the toolbar.
* NEW: DirChooser: ShowToolbar is a new property that toggles the toolbar.
* NEW: FileView: Display a text inside the view when a directory is empty.
2020-06-27 12:01:59 +02:00
gambas
1ba3d0cb5a FileChooser: Add a separator above the bottom filters when Border property is unset.
[GB.FORM]
* NEW: FileChooser: Add a separator above the bottom filters when Border property is unset.
2020-06-24 19:50:36 +02:00
gambas
dc0ad72612 MediaView: Add Volume and Muted properties.
[GB.MEDIA.FORM]
* NEW: MediaView: Volume is a new property to return or set the audio volume.
* NEW: MediaView: Muted is a new property that defines if the audio is muted or not.
2020-06-22 02:10:20 +02:00
gambas
42f32030e3 TextEditor: Fix cursor move down and string closing routine.
[GB.FORM.EDITOR]
* BUG: TextEditor: Moving down now should work as expected on wrapped lines.
* NEW: TextEditor: Draw wrapped lines with little arrows at the end.
* NEW: TextEditor: String closing routine should be less stupid now.
2020-06-19 13:24:50 +02:00
gambas
0406cdf471 Update some icons, and add a 128 pixels version of 'pen' and 'mouse' color stock icons.
[GB.FORM.STOCK]
* NEW: Update some icons, and add a 128 pixels version of 'pen' and 'mouse' color stock icons.
2020-06-14 00:50:22 +02:00
gambas
9c2f725e01 Merge branch 'master' of gitlab.com:gambas/gambas 2020-06-12 22:13:27 +02:00
gambas
de483d68bc Update project icon.
[GB.FORM.PRINT]
* NEW: Update project icon.
2020-06-12 22:13:18 +02:00
gambas
87b69361b4 TextEditor: Draw margin background and current line differently.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw margin background and current line differently.
2020-06-12 22:12:32 +02:00
Gen Braga
8f1d99c3b6 Added Brazilian Portuguese translations
[GB.REPORT2]
* NEW: Added Brazilian Portuguese translations.
2020-06-12 02:37:14 -03:00
Gen Braga
554c80f419 Updated Brazilian Portuguese translations
[GB.FORM.PRINT]
* NEW: Updated Brazilian Portuguese translations.
2020-06-12 02:31:03 -03:00
Gen Braga
6303fbe01c Updated Brazilian Portuguese translations
[GB.FORM.MDI]
* NEW: Updated Brazilian Portuguese translations.
2020-06-12 02:21:23 -03:00
Gen Braga
dc70dc9146 Updated Brazilian Portuguese translations
[GB.DB.FORM]
* NEW: Updated Brazilian Portuguese translations.
2020-06-12 02:14:00 -03:00
Gen Braga
5867236c38 Update Brazilian Portuguese translations
[GB.ARGS]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:51:01 -03:00
Gen Braga
e9d4a30e84 Update Brazilian Portuguese translations
[GB.WEB.FORM]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:44:21 -03:00
Gen Braga
6502ebb9f6 Update Brazilian Portuguese translations
[GB.WEB.GUI]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:42:55 -03:00
Gen Braga
ddebb7f341 Update Brazilian Portuguese translations
[GB.FORM.TERMINAL]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:41:03 -03:00
Gen Braga
553553ab8d Update brazilian portuguese translations
[GB.FORM.TERMINAL]
* NEW: Updated brazilian portuguese translations.
2020-06-11 21:39:19 -03:00
Gen Braga
916c154ef6 Update brazilian portuguese translations
[GB.FORM]
* NEW: Updated brazilian portuguese translations.
2020-06-11 21:38:02 -03:00
Gen Braga
af5a34d9b2 Updated PT-BR translation
[GB.FORM.DIALOG]
* NEW: Updated brazilian portuguese translation.
2020-06-11 21:25:43 -03:00
Christof Thalhofer
c4dabf3a92 gb.markdown update tests for newer gb.test
[GB.MARKDOWN]
*OPT: update tests for newer gb.test
2020-06-11 11:49:26 +02:00
gambas
7ef182f43d Font size is now the same whatever the printer resolution.
[GB.REPORT2]
* BUG: Font size is now the same whatever the printer resolution.
2020-06-11 11:25:42 +02:00
gambas
74bedf3204 String.FromHTML() has better support for <p>, <ul>, <li> and <ol> markups.
[GB.UTIL]
* NEW: String.FromHTML() has better support for <p>, <ul>, <li> and <ol> markups.
2020-06-11 02:15:12 +02:00
Benoît Minisini
d1ec361f43 Merge branch 'markdowntest' into 'master'
gb.markdown a couple of tests for common problems

See merge request gambas/gambas!148
2020-06-09 15:03:54 +00:00
gambas
2aed760943 CsvFile: Quote() is a new method that quotes a value for the CSV format according to its separator and escape characters.
[GB.UTIL]
* NEW: CsvFile: Quote() is a new method that quotes a value for the CSV format according to its separator and escape characters.
2020-06-09 16:37:12 +02:00
gambas
0eea48da06 FileView: Display a lock icon when a directory is unreadable.
[GB.FORM]
* NEW: Update translations.
* NEW: ListEditor: The insert button text is now "Add".
* NEW: DirView: Do not display an error when a directory is unreadable.
* NEW: FileView: Display a lock icon when a directory is unreadable.
2020-06-06 20:59:41 +02:00
gambas
ca4cdf0c6c Add translations.
[GB.GUI.BASE]
* NEW: Add translations.
2020-06-06 20:57:50 +02:00
gambas
909ea17fd0 Update some icons and add 128 pixels versions of 'lock' and 'unlock' icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 128 pixels versions of 'lock' and 'unlock' icons.
2020-06-06 20:57:12 +02:00
gambas
42bdddb471 Message: Add a button in message boxes to copy the message in the clipboard.
[GB.GUI.BASE]
* BUG: Message: Add a button in message boxes to copy the message in the clipboard.
2020-06-06 18:01:52 +02:00
gambas
80fb94caf9 Add component icon.
[GB.FORM.PRINT]
* NEW: Add component icon.
2020-06-06 00:27:05 +02:00
gambas
9524aad64d Add 'rename' stock icon.
[GB.FORM]
* NEW: Add 'rename' stock icon.
2020-06-06 00:26:49 +02:00
gambas
53efe0add2 Update some icons and add 'rename' icon.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 'rename' icon.
2020-06-06 00:25:08 +02:00
gambas
4650dacc28 ListEditor: Add Index property, Find() and Remove() methods.
[GB.FORM]
* NEW: ListEditor: Text property now return or set the text currently edited.
* NEW: ListEditor: Add Index property.
* NEW: ListEditor: Add Find() method.
* NEW: ListEditor: Add Remove() method.
2020-06-03 16:13:40 +02:00
gambas
4029d4c727 ListBox: Click event is now raised when the Index property is modified.
[GB.GUI.BASE]
* BUG: ListBox: Click event is now raised when the Index property is modified.
2020-06-03 15:49:42 +02:00
Christof Thalhofer
23e297cead gb.markdown a couple of tests for common problems
[GB.MARKDOWN]
* NEW: a couple of tests for common problems
2020-05-27 21:22:45 +02:00
gambas
e447aa178d TreeView: The Selection property now handle single selection mode correctly.
[GB.GUI.BASE]
* BUG: TreeView: The Selection property now handle single selection mode correctly.
2020-05-26 23:04:03 +02:00
gambas
ed27b8cd67 Fix TreeView MouseDown event and GridView Select event.
[GB.GUI.BASE]
* BUG: TreeView: MouseDown event is raised again.
* BUG: GridView: Select event is not raised twice on click anymore.
2020-05-26 22:57:17 +02:00
gambas
348e587c69 Add 'key' stock icon.
[GB.FORM]
* NEW: Add 'key' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'key' stock icon.
* NEW: Fix a few icons.
2020-05-26 22:11:41 +02:00
gambas
2132e389b5 Better default colors.
[GB.FORM.TERMINAL]
* NEW: Better default colors.
2020-05-26 21:17:40 +02:00
gambas
8502e05556 Settings.Clear() now takes an extra optional boolean argument that tells to remove slots recursively.
[GB.SETTINGS]
* NEW: Settings.Clear() now takes an extra optional boolean argument that tells to remove slots recursively.
2020-05-26 20:37:29 +02:00
gambas
2f8fccb48b GridView: Click event works again.
[GB.GUI.BASE]
* BUG: GridView: Click event works again.
2020-05-26 13:18:46 +02:00
gambas
11f450f80e Add 'text-lower' and 'text-upper' stock icons.
[GB.FORM]
* NEW: Add 'text-lower' and 'text-upper' stock icons.
2020-05-26 13:17:13 +02:00
gambas
fcf85dd1a4 Add 'text-lower' and 'text-upper' stock icons.
[GB.FORM.STOCK]
* NEW: Add 'text-lower' and 'text-upper' stock icons.
2020-05-26 13:16:46 +02:00
gambas
5004f20609 Move 'gb.test' sources in '/main/lib'.
[INTERPRETER]
* NEW: Remove the now useless testing specific code.
* NEW: 'gbx3 -T' now just loads the 'gb.test' component and calls Test.Main() passing it the '-T' option argument.

[GB.TEST]
* NEW: Move 'gb.test' sources in '/main/lib'.
* NEW: 'gb.test' has now a part written in C that allows him to load project classes on demand.
2020-05-25 21:24:28 +02:00
gambas
5e5bf82f7b Test._List() now returns a comma-separated list.
[GB.TEST]
* NEW: Test._List() now returns a comma-separated list.
2020-05-25 11:08:21 +02:00
gambas
234b28c236 Selecting while moving the mouse cursor now raises the Select event only when the mouse button is depressed.
[GB.GUI.BASE]
* NEW: GridView: Selecting while moving the mouse cursor now raises the Select event only when the mouse button is depressed.
* BUG: TreeView: Setting the Key value with an unknown key now unselects the current key.
2020-05-25 11:02:44 +02:00
gambas
cd6a30b015 ButtonBox: Filter icons are now a little darker.
[GB.FORM]
* NEW: ButtonBox: Filter icons are now a little darker.
2020-05-24 23:53:05 +02:00
gambas
7ae7d405e6 TreeView: Fix multiple selection.
[GB.GUI.BASE]
* BUG: TreeView: Fix multiple selection.
* BUG: TreeView: Calling Add() or Remove() now automatically cancels the current renaming.
2020-05-24 23:36:27 +02:00
gambas
b37f67dd29 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-23 13:59:54 +02:00
gambas
5bc620c5e7 Redraw 'halt' icon again.
[GB.FORM.STOCK]
* NEW: Redraw 'halt' icon again.
2020-05-23 13:59:37 +02:00
gambas
fc115b03d1 Redraw the 'halt' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'halt' icon.
2020-05-23 12:46:29 +02:00
gambas
874397262a Bold text is made bolder when the background is dark.
[GB.FORM.EDITOR]
* NEW: Bold text is made bolder when the background is dark.
2020-05-23 12:45:36 +02:00
gambas
5feb51a742 Picture[] now automatically inverts the image for dark themes.
[GB.GUI.BASE]
* NEW: Picture[] now automatically inverts the image for dark themes.
2020-05-23 12:44:38 +02:00
Christof Thalhofer
a79bd9d258 gb.test minor fix load component gb.util 2020-05-23 12:22:12 +02:00
Christof Thalhofer
ae5dff6681 gb.test now compatible with the new interpreter calls
[GB.TEST]
* OPT: Test.Main restored
* NEW: Test.Main eats testsuite string
* OPT: TestSuite runs TestCases sorted
* NEW: Summary Ran: prints normalized testsuite string
* NEW: TestCommand compatible with new testsuite string
* NEW: Tests for introspection of all tests
2020-05-23 12:09:34 +02:00
Christof Thalhofer
21500e1667 gb.test plan TestAllAsserts 2020-05-23 11:52:32 +02:00
gambas
7b4b6b3152 Better default colors.
[GB.FORM.TERMINAL]
* NEW: Better default colors.
2020-05-23 09:36:37 +02:00
Christof Thalhofer
beb88b488c gb.test can run tests called by the interpreter
[GB.TEST]
* NEW: gb.test can run tests called by the interpreter
New methods Test._Add and Test._Run
2020-05-23 08:10:33 +02:00
gambas
367c9b48c6 Update some icons and add 128 pixels version of some other ones.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 128 pixels version of some other icons.
2020-05-22 18:38:26 +02:00
gambas
029cb82ece Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-22 16:08:07 +02:00
gambas
7fc56e891d Implement the Test._List() method.
[GB.TEST]
* NEW: Implement the Test._List() method.
2020-05-22 16:07:50 +02:00
gambas
f55faedede ClassStat: Add the flag for test modules.
[GB.UTIL]
* NEW: ClassStat: Add the flag for test modules.
2020-05-22 16:02:12 +02:00
Christof Thalhofer
36bb66ec07 Testrunner.List throw error on Bail out!
[GB.TEST]
* BUG: Testrunner.List throw error when gb.test reported Bail out!
2020-05-22 09:59:14 +02:00
gambas
3388dab780 Fix how mandatory fields are highlighted by the SetFocus(True) method.
[GB.WEB.GUI]
* NEW: Store the error log in '/tmp/gambas.XXX/gb.web.gui' directory now.
* BUG: Fix how mandatory fields are highlighted by the SetFocus(True) method.
2020-05-22 00:27:49 +02:00
gambas
84b2f1bc60 Update many icons and add 128 pixels version of some other ones.
[GB.FORM.STOCK]
* NEW: Add 128 pixels version of some other icons.
* NEW: Update many icons.
2020-05-21 20:53:21 +02:00
gambas
2e3ffaa894 FileProperties: Fix an error triggered by the preview.
[GB.FORM]
* BUG: FileProperties: Fix an error triggered by the preview.
2020-05-21 20:43:15 +02:00
gambas
8a03cd8751 Update some icons and add 128 pixels version of some icons.
[GB.FORM.STOCK]
* NEW: Add 128 pixels version of some icons.
* NEW: Update some icons.
2020-05-20 11:59:56 +02:00
gambas
ff5ec08817 TreeView: Fix selection and scrolling behaviour when ShowCheck property is set.
[GB.GUI.BASE]
* BUG: TreeView: Fix selection and scrolling behaviour when ShowCheck property is set.
2020-05-20 11:40:27 +02:00
gambas
9ddc98866d ToolBar: Draw a selected border in design mode.
[GB.FORM.MDI]
* NEW: ToolBar: Draw a selected border in design mode.
2020-05-19 22:31:51 +02:00
gambas
abac17432b TreeView: Enhance behaviour when ShowCheck is set. Use radio buttons in single selection mode.
[GB.GUI.BASE]
* NEW: TreeView: Use radio buttons when ShowCheck property is set with single selection mode.
* NEW: TreeView: Clicking anywhere in the row from the check now toggles it when ShowCheck property is set.
2020-05-19 22:31:14 +02:00
Benoît Minisini
f1c9ef9a77 Merge branch 'testing-system' into 'master'
gb.test integration to the IDE 2nd attempt

See merge request gambas/gambas!146
2020-05-19 08:04:38 +00:00
gambas
af8326caa5 Update many stock icons, and add new ones.
[GB.FORM]
* NEW: Add new stock icons.

[GB.FORM.STOCK]
* NEW: Update many stock icons, and add new ones.
2020-05-19 10:01:53 +02:00
gambas
2176a507b1 Compile 'gb.form.stock' before 'gb.form' now that is it checked in the 'gb.form' project components.
[CONFIGURATION]
* BUG: Compile 'gb.form.stock' before 'gb.form' now that is it checked in the 'gb.form' project components.
2020-05-18 17:55:32 +02:00
gambas
cc8ff4fdb0 ListEditor: Add Unique property and Activate event.
[GB.FORM]
* NEW: ListEditor: Unique is a new property that ensures that all ListEditor elements are unique.
* NEW: ListEditor: Activate event is now emitted if the user clicks twice on the list.
2020-05-18 15:32:53 +02:00
gambas
078a1ab680 Use the new Application.DarkTheme property.
[GB.GUI.BASE]
* NEW: Use the new Application.DarkTheme property.
2020-05-18 13:25:42 +02:00
gambas
363b4d377d New stock icons.
[GB.FORM]
* NEW: New stock icons.
2020-05-18 13:25:11 +02:00
gambas
0b78bb4f0a New icons and update existing ones.
[GB.FORM.STOCK]
* NEW: New icons and update existing ones.
2020-05-18 13:24:16 +02:00
gambas
a0aa9f18bf Use the stock scanner icon as project icon.
[GB.SCANNER]
* NEW: Use the stock scanner icon as project icon.
2020-05-18 09:00:01 +02:00
gambas
f549fd2ec3 New stock icons. Add a Picture property to SliderBox.
[GB.FORM]
* NEW: ColorChooser: Use icons instead of labels for color components.
* NEW: SliderBox: Add a Picture property.
* NEW: SliderBox: The default value is now applied when double-clicking on the spinbox, not the slider.
* NEW: Add new stock icons.
2020-05-18 08:57:36 +02:00
gambas
cb505b8548 Add new stock icons
[GB.FORM.STOCK]
* NEW: Add new stock icons
2020-05-18 08:41:46 +02:00
Christof Thalhofer
b1b0d0a130 gb.test testsuites
[GB.TEST]
* NEW: testsuites in .test
2020-05-17 13:54:58 +02:00
Christof Thalhofer
d75f30a142 Merge branch 'master' of https://gitlab.com/gambas/gambas into testing-system 2020-05-17 13:23:20 +02:00
Christof Thalhofer
608e5f80ad FTestSuite to organize test
[DEVELOPMENT ENVIRONMENT]
* NEW: Form FTestSuite to organize test suites
[GB.TEST]
* OPT: Prints all tests as string with Test.Main(_TRIG_GETTESTS)
2020-05-17 13:19:24 +02:00
gambas
d0ee8dd92c FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
[GB.FORM]
* BUG: FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
* NEW: Add 'unselect' stock icon.
2020-05-17 13:19:24 +02:00
Tobias Boege
ea1c0d2fe0 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-17 13:19:24 +02:00
gambas
886a403ea7 Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-05-17 13:19:24 +02:00
gambas
0264dd173e WebButton: Don't react to click when disabled.
[GB.WEB.GUI]
* BUG: WebButton: Don't react to click when disabled.
2020-05-17 13:19:24 +02:00
gambas
761b3d64c1 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-17 13:19:24 +02:00
gambas
3754b37cfa Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2020-05-17 08:28:17 +02:00
gambas
da8182acbc Do not unquote "+" into space in query strings.
[GB.WEB]
* BUG: Do not unquote "+" into space in query strings.
2020-05-16 19:42:33 +02:00
gambas
930774032a URL.UnQuote() takes a new optional argument that prevent unquoting "+" into space.
[GB.UTIL.WEB]
* BUG: Fix query encoding & decoding in URLQuery class.
* NEW: URL.UnQuote() takes a new optional argument that prevent unquoting "+" into space.
* NEW: URL.Quote() now quotes spaces as "%20" and not "+" anymore.
2020-05-16 19:36:27 +02:00
gambas
f4acc8407b TreeView: Fix selection and keyboard management when ShowCheck property is set.
[GB.GUI.BASE]
* BUG: TreeView: Fix selection and keyboard management when ShowCheck property is set.
2020-05-16 17:51:49 +02:00
gambas
849a34857f TreeView: ShowCheck is a new property that uses checkboxes to handle selection mode.
[GB.GUI.BASE]
* BUG: TreeView: Take padding into account when interpreting mouse events.
* BUG: TreeView: Fix right-to-left layout management.
* NEW: TreeView: ShowCheck is a new property that uses checkboxes to handle selection mode.
* NEW: Paint.Check() is a new method that draws a check mark.
2020-05-16 10:15:34 +02:00
gambas
a04fa2a24b FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
[GB.FORM]
* BUG: FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
* NEW: Add 'unselect' stock icon.
2020-05-16 01:41:58 +02:00
gambas
aa46af3681 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 20:35:01 +02:00
gambas
a06a6485fd Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-05-14 20:34:51 +02:00
gambas
4bda6391ec WebButton: Don't react to click when disabled.
[GB.WEB.GUI]
* BUG: WebButton: Don't react to click when disabled.
2020-05-14 20:34:03 +02:00
Christof Thalhofer
81f17d712c gb.test executes all tests with "*" 2020-05-14 14:20:08 +02:00
Christof Thalhofer
fa933ee86f small changes FTestSuite
Gambas3 did not compile, tests did not occur if not compiled
2020-05-14 14:12:10 +02:00
Christof Thalhofer
b445a7e859 gb.test integration to the IDE. TestSuites
[DEVELOPMENT ENVIRONMENT]
* NEW: FTestSuite to configure testsuites and store in project in .tests
[GB.TEST]
* NEW: testsuites
2020-05-14 13:15:54 +02:00
Christof Thalhofer
769b611362 gb.test some changes for integration to IDE et al
[GB.TEST]
* NEW: TestRunner.List returns all tests as TestCommand[]
* NEW: Test.Main can be triggered to report all tests as string
* NEW: TestCommand FromString and ToString to convert TestCopmmands into objects and vice versa
2020-05-14 13:08:03 +02:00
Tobias Boege
05d9fdf865 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-14 12:53:17 +02:00
gambas
ef32c2e7a2 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 09:39:11 +02:00
gambas
7b30f81ab2 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-14 09:38:23 +02:00
Christof Thalhofer
427ed14d2e gb.test: Rename TestHarness to TestRunner, TestRunner.List 2020-05-13 14:20:57 +02:00
Christof Thalhofer
cbefcd7660 gb.test: new function Test.AllTestsJson
[GB.TEST]
* NEW: New function Test.AllTestsJson
2020-05-13 11:14:19 +02:00
gambas
fc79447baa Update a few icons.
[GB.FORM.STOCK]
* NEW: Update a few icons.
2020-05-12 09:42:39 +02:00
gambas
c681983e01 Use the Unity protocol on all desktops.
[GB.DBUS.TRAYICON]
* BUG: Use the Unity protocol on all desktops.
2020-05-12 09:41:46 +02:00
Christof Thalhofer
afd35b4517 Refactoring and further tasks to do
Rename container and testcase to the more gambassy names testmodule and
testmethod. started plan selftests.
2020-05-12 00:49:33 +02:00
Christof Thalhofer
e3c8df5568 gb.test: new function Test.GetAllTests
[GB.TEST]
* New: Test.GetAllTests returns a collection of all testmodules and their testmethods
2020-05-11 23:28:42 +02:00
Christof Thalhofer
2d2c545576 gb.test: Assert documentation
[GB.TEST]
* New: Assert is an instruction which is extended by gb.test. It's original functionality is now documented in the Assert.module.
2020-05-11 22:31:08 +02:00
Christof Thalhofer
77436fd06d gb.test Setup and Teardown methods hidden 2020-05-11 22:26:08 +02:00
gambas
492dccc28f Make the component visible again.
[GB.TEST]
* NEW: Make the component visible again.
* BUG: Fix two typos in comments.
2020-05-11 21:02:39 +02:00
Christof Thalhofer
31b519d733 gb.test updated unittesthelloworld
[GB.TEST]
* NEW: example unittesthelloworld does not load component gb.test
2020-05-10 09:06:43 +02:00
gambas
db95af0cb2 Make 'gb.test' component hidden, as it is now loaded automatically.
[GB.TEST]
* NEW: Raise the component to the 'Stable but not finished' state.
* NEW: Make the component hidden, as it is now loaded automatically.
2020-05-07 15:15:57 +02:00
Tobias Boege
fa27ff8204 gb.test: Tidy up TestHarness
[GB.TEST]
* OPT: Remove cruft from TestHarness. Use the new `gbx3 -T` mode. Make it a module.
2020-05-07 13:15:57 +02:00
Tobias Boege
e3a9ac58e8 gb.test: Exit with appropriate status code
[GB.TEST]
* BUG: Test.Main() now `Quit`s with 0 or 1 indicating whether tests passed or failed.
2020-05-07 13:15:54 +02:00
Tobias Boege
a965afa0e5 gb.test: Hide more classes and symbols
[GB.TEST]
* OPT: Hide more classes and symbols.

TapPrinter, TapParser and TapContext are not exported anymore. The Tap
constants are moved into other classes. Some public methods/properties
that expose printer, parser or context are hidden.
2020-05-07 12:57:55 +02:00
gambas
3c510ed644 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-04 21:31:04 +02:00
gambas
7612fb0268 Stock: Better support of some icon themes. Add 'share' stock icon.
[GB.FORM]
* BUG: Stock: Better support of some icon themes.
* NEW: New stock icon 'share'.

[GB.FORM.STOCK]
* NEW: New stock icon 'share'.
2020-05-04 21:27:23 +02:00
gambas
5cfd01f3c1 WebListBox: Fix read of Index property.
[GB.WEB.GUI]
* BUG: WebListBox: Fix read of Index property.
2020-05-04 21:26:03 +02:00
Christof Thalhofer
f36281a694 Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-05-04 12:51:03 +02:00
Christof Thalhofer
de4fc3c4cf gb.test README documentation
[GB.TEST]
* NEW: Update documentation in README
2020-05-04 12:47:03 +02:00
gambas
5675853767 WebListBox: Fix behaviour in multiple selection mode.
[GB.WEB.GUI]
* BUG: WebListBox: Fix behaviour in multiple selection mode.
* BUG: Fix how the executable path is forged.
2020-05-04 02:14:04 +02:00
Christof Thalhofer
c733083a32 gbt3 install and task 2020-05-03 11:26:05 +02:00
Christof Thalhofer
ed8f5b73ad gbt3: some fixes and tasks done
Returns exit code.

Doesn't print a summary any more as this is provided by gb.test.

Doesn't print blank line at the beginning any more. Plan has to be in
the first line.

Works fine with tappy (python TAP consumer)

Kills temporary startup file
2020-05-03 10:35:29 +02:00
Christof Thalhofer
fc2ad34525 README small fix 2020-05-03 07:42:45 +02:00
Christof Thalhofer
645f972bdf README and tasks updated 2020-05-03 07:36:31 +02:00
Christof Thalhofer
08d798c186 hide Test.Finish and documentation 2020-05-02 18:35:48 +02:00
Christof Thalhofer
36b2e39ebe Test Assert.Like 2020-05-02 17:22:58 +02:00
Christof Thalhofer
2c111a14c3 Assert documentation – not fully done
Left descrition of Approximate and RelativeApproximate to a mathematician.
;-)
2020-05-02 17:20:42 +02:00
Christof Thalhofer
178ce9c26c Remove TestSetupTeardown in TestMe also 2020-05-02 15:28:30 +02:00
Christof Thalhofer
6b2f8ec1b2 delete redundant TestSetupTeardown.test 2020-05-02 15:27:35 +02:00
Christof Thalhofer
91c4ce2638 started documentation and task hide symbols 2020-05-02 11:53:30 +02:00
Christof Thalhofer
3cf670ef85 Test.PrintSummary: Result in the last line 2020-05-01 18:59:20 +02:00
Tobias Boege
4c2a4f47f5 Show TODOs and SKIPs in summary
[GB.TEST]
* BUG: Do not trim whitespace from diagnostic lines.
* NEW: Show TODOs (failed and bonus) and SKIPs in summary.

Previously, TapPrinter.Diagnostic would Trim$ its argument before
splitting it by line. This would remove any indentation that may
be useful for formatted diagnostics output, so it has to go.
Additionally I special-case Null and gb.Lf to print exactly "#\n",
which is a common use case as a visual separator.
2020-05-01 15:57:53 +02:00
Christof Thalhofer
7d480229e0 Rewrite TestSummary and TestMe
TestSummary.DoSomeAsserts, DoTodo and DoSkip succeed
2020-05-01 10:42:29 +02:00
Christof Thalhofer
098c5915a5 New Bug: Directives are never stored.
This must be fixed before Summary can be created.
2020-04-28 12:17:02 +02:00
Christof Thalhofer
0943f349eb taskell updated: Todo exists 2020-04-28 09:36:44 +02:00
Christof Thalhofer
c306e9a5fc Fix: Free Assert from non-assertions
Assert free from non-assertions. Also Assert and Test now are
modules.
2020-04-27 12:01:47 +02:00
Christof Thalhofer
7712c62e47 taskell better explanation 2020-04-26 13:07:31 +02:00
Christof Thalhofer
750a6057d1 Taskell next task todo and skip
Both are not implemented well but necessary for summary
2020-04-26 12:49:06 +02:00
Christof Thalhofer
127eb07385 Merge remote-tracking branch 'upstream/master' into testing-system 2020-04-26 12:07:56 +02:00
Christof Thalhofer
d7a478cc81 Fix: Test bails out if testmodule doesn't exist 2020-04-26 11:23:01 +02:00
Christof Thalhofer
d02c023e67 TestFailures and TestSummary updated 2020-04-26 11:03:53 +02:00
Christof Thalhofer
f36f656110 selftests: get rid of old plans 2020-04-26 10:48:30 +02:00
Christof Thalhofer
7d55499305 Better readability of TAP output for humans
... I mean elder humans, like me
2020-04-26 10:44:59 +02:00
Christof Thalhofer
24ef4c8c07 Fix: BailOut stops all tests 2020-04-26 10:41:35 +02:00
Christof Thalhofer
b640e5116b Tasks to do until gb.test is done so far 2020-04-25 21:28:51 +02:00
Christof Thalhofer
e5c9b3c1c2 gb.test and gbt3 some refactoring and future tasks 2020-04-25 21:28:51 +02:00
Tobias Boege
acc8f11040 gb.test: Rename ReverseNext to IntendedFailure
IMHO a more descriptive name. One can "reverse" so many things.
2020-04-25 05:48:28 +02:00
Tobias Boege
35cac9053f Refactor TapPrinter and Assert
This is a big refactor of the TapPrinter and Assert interaction with
the goal of enabling gb.test to print a self-summary after a TAP session
(without storing the TAP we printed and parsing it afterwards). The main
feature addition is a new class representing an assertion (together with
its subtests). Objects of this type are now produced by TapPrinter when
it prints an assertion and by TapParser alike when it parses TAP.
This allows more uniform and more detailed reporting of failures, too.

For organizational reasons, subtest support was moved into the printer.

[GB.TEST]
* NEW: Expose the TapContext class which holds the current TAP session's state.
* NEW: Represent assertions (and entire subtests) by TestAssertion objects in both TapPrinter and TapParser.
* NEW: Coalesce the four TapParser events for assertions into one.
* OPT: Move subtest support into TapPrinter, removing the need to create multiple TapPrinter objects.
* OPT: Remove the need for buffering the TAP to print a self-summary.
* BUG: Fix the buffering issue that would lose TAP when the process crashes.
2020-04-25 05:45:42 +02:00
gambas
53865b1822 Top-level menus of embedded forms are not inserted in the top-level form anymore.
[GB.WEB.GUI]
* BUG: Top-level menus of embedded forms are not inserted in the top-level form anymore.
2020-04-23 01:31:23 +02:00
gambas
a53acf81c7 TextEditor: Do not use Application.Busy in Load() and Save() methods and fix TextEditor[].Purge() method.
[GB.FORM.EDITOR]
* NEW: TextEditor: Do not use Application.Busy in Load() and Save() methods.
* BUG: TextEditor: TextEditor[].Purge() works as expected now.
2020-04-21 07:32:52 +02:00
gambas
fae4d5df83 Spinner: Add a Padding property.
[GB.FORM]
* NEW: Spinner: Add a Padding property.
2020-04-21 07:32:27 +02:00
gambas
b77de38fdf Stock: Analyze icon directories in alphabetic order, so that numeric directory names are always identified first.
[GB.FORM]
* BUG: Stock: Analyze icon directories in alphabetic order, so that numeric directory names are always identified first.
2020-04-16 09:49:21 +02:00
Christof Thalhofer
25fbe40ea6 Taskell Kanboard
Taskell is a somewhat bulky kanboard for the commandline, but for me
seems to be sufficient to organize the few things we have to do until
3.15.
2020-04-12 10:38:02 +02:00
Christof Thalhofer
2e9e94903b unittesthelloworld update neue tests 2020-04-10 15:43:46 +02:00
Christof Thalhofer
294194557b gbtest.Test FIXME comment 2020-04-10 13:52:56 +02:00
Christof Thalhofer
254251b2f7 refact 2020-04-10 11:15:17 +02:00
gambas
d6cf0e8fb4 Fix the tab order of the control toolbox.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the tab order of the control toolbox.

[GB.WEB.GUI]
* NEW: WebListBox is a new listbox control.
2020-04-09 10:53:31 +02:00
Christof Thalhofer
72c2c1e158 TestFailures report ok now, new TestCrashes
Tests in TestCrashes fail and must be reported as failed
2020-04-09 08:13:09 +02:00
Christof Thalhofer
dfcfac6172 Assert.ReverseNext
Turns the result of the following assertion the other way round
2020-04-09 08:09:53 +02:00
gambas
171c11c523 Update some project versions and icons. 2020-04-08 14:03:59 +02:00
gambas
8a9e30e1be Redraw 'upload' and 'download' stock icons.
[GB.FORM.STOCK]
* NEW: Redraw 'upload' and 'download' stock icons.
2020-04-08 14:01:53 +02:00
gambas
2c3d7c069f WebFileButton is a new control that provides a button that can upload file to the server.
[GB.WEB.GUI]
* NEW: WebFileButton is a new control that provides a button that can upload file to the server.
2020-04-08 13:58:35 +02:00
gambas
a00862b681 CGI.All is a new property that returns a collection of all CGI environment variables.
[GB.WEB]
* NEW: CGI.All is a new property that returns a collection of all CGI environment variables.
2020-04-08 13:57:37 +02:00
Christof Thalhofer
815a1ddcf2 TestCommand parsing done, but system still buggy
Without "Debug oTest.Name" in TestSuite.class:39 it would silently crash anywhere
after TestNoMessage is done without printing any single character. Reason is
"Assert.BailOut" in TestSuite:51 which miraculously does nothing.

If the testsystem itself crashes, ist must print "BailOut ..."

But here also can be seen, why the system has to print every assertion immediately.
Any bufferíng is bad because if the testsystem crashes the buffered results are gone.

So we must get rid of the buffered stream thing and go back to Print scattered all over ;-)
2020-04-08 12:39:55 +02:00
Christof Thalhofer
ce56c1ddb4 New signature of Test.Main(), not really functional
I'm goin to bed, just to backup my work to Gitlab
2020-04-08 00:46:09 +02:00
Christof Thalhofer
33641cac1b TestCommand Parser
Parses the string that containes testmodules and -methods. The parser is tested in TestInternals.
2020-04-08 00:40:14 +02:00
Christof Thalhofer
728194b3da Rename Unittest to Test 2020-04-07 16:48:46 +02:00
Tobias Boege
84e9792043 gb.test: remove self-test concept
[GB.TEST]
* OPT: Remove the concept of self-tests. Since ".../.test" exists there is no need to distinguish their tests and ours anymore.
2020-04-07 15:08:54 +02:00
Tobias Boege
6144a78829 gb.test: fix Assert.ErrorCode and Teardown spelling
[GB.TEST]
* BUG: Forward Description in Assert.ErrorCode.
* BUG: Fix spelling of TearDown -> Teardown special test method.
* OPT: Use Assert.Note() instead of Print in tests.
2020-04-07 15:08:54 +02:00
Tobias Boege
2489001ca4 gb.test: restore failing self-tests
[GB.TEST]
* NEW: Errors in tests are caught again.
* OPT: Shorten StringEquals diagnostics.
2020-04-07 15:08:46 +02:00
gambas
3891af0d62 Take anchors into account correctly when generating links and fix a crash when parsing lines starting with a '#'.
[GB.MARKDOWN]
* BUG: Take anchors into account correctly when generating links.
* BUG: Lines beginning with '#' without a space after do not make the parser crash anymore.
2020-04-07 14:51:01 +02:00
Tobias Boege
a4e233d4be Move gb.test.tap into gb.test
[GB.TEST]
* NEW: Merge gb.test.tap classes.

[DEVELOPMENT ENVIRONMENT]
* NEW: Remove mention of gb.test.tap.

[CONFIGURATION]
* NEW: Remove gb.test.tap.
2020-04-07 12:32:48 +02:00
gambas
2165ececd5 JIT optimization of '&=' has been implemented.
[INTERPRETER]
* NEW: Support for JIT '&=' optimization.
* BUG: Fix '&=' optimization on argument variables.
* OPT: Strings greater than 4096 bytes are allocated by 4096 bytes steps.

[GB.JIT]
* NEW: JIT optimization of '&=' has been implemented.
2020-04-06 04:43:12 +02:00
gambas
c2794f536c Add and update some stock icons.
[GB.FORM]
* NEW: Add 'layout', 'new-tag' and 'tag' stock icons.

[GB.FORM.STOCK]
* NEW: Add 'layout', 'new-tag' and 'tag' stock icons.
* NEW: Update 'jump', 'make' and 'make-all' icons.
2020-03-27 02:20:30 +01:00
gambas
fb1ee7d923 Fix a typo in WebMenu properties declaration.
[GB.WEB.FORM]
* BUG: Fix a typo in WebMenu properties declaration.
2020-03-21 04:36:49 +01:00
gambas
66f2b07c1f Response.SendFile() now correctly deals with relative paths.
[GB.WEB]
* NEW: Response.SendFile() now correctly deals with relative paths.
2020-03-21 04:29:46 +01:00
gambas
37db818d3d The 'gb.web.form2' component has been renamed as 'gb.web.gui'. Support for popup menus and stock icons were added.
[GB.WEB.GUI]
* NEW: This is the new name of 'gb.web.form2'.
* NEW: Support for popup menus.
* NEW: Support for stock icons.

[GB.WEB.FORM2]
* NEW: Rename the component as 'gb.web.gui'.
2020-03-21 04:27:05 +01:00
gambas
a59dfb169c CSVFile: Charset now can be specified.
[GB.UTIL]
* NEW: CSVFile: Charset now can be specified. If not specified, the first line of the files is used to guess if it could be WINDOWS-1252, or otherwise UTF-8.
2020-03-13 21:36:11 +01:00
gambas
8e241d9888 Fix WebTabPanel.Count and add WebTabPanel.Remove().
[GB.WEB.FORM2]
* BUG: WebTabPanel: Count property can be made smaller.
* NEW: WebTabPanel: Remove() is a new method that removes a tab from its index.
2020-03-10 15:22:21 +01:00
gambas
7933e4ed4a Support for debugger.
[GB.WEB.FORM2]
* BUG: Use SIGUSR2 for synchronizing session process with CGI process, as SIGUSR1 is used by the debugger.
* NEW: Support for debugger.
* NEW: THe HTML body now uses sans-serif font by default.
2020-03-09 02:23:09 +01:00
gambas
42a3da7510 Use version stored in VERSION file.
[GB.TEST.TAP]
* NEW: Use version stored in VERSION file.
2020-03-07 23:18:37 +01:00
gambas
2e02a644c2 Support for switching the main form.
[GB.WEB.FORM2]
* NEW: WebForm: Current is a new static property that return or set the main form.
* NEW: WebForm: Goto() is a new static method that switch the Current property.
* NEW: WebForm: Reload() is a new method that reload the form if it is the main one. Otherwise it calls Refresh().
2020-03-07 14:40:26 +01:00
gambas
550900d8f2 Fix compatibility with replaced Session class.
[GB.WEB.FORM2]
* NEW: Session: Fix compatibility with replaced Session class, with support for array accessor, Exist method and Prefix property.
* NEW: Session: Remove Dir property. Session.Path was done for that.
* BUG: Calling Session.Abandon now quits the session process immediately.
* BUG: WebTimer: The Refresh() method now does nothing.
2020-03-07 13:25:44 +01:00
gambas
bfc455070e Support for the Session class, and add WebForm.Current property to allow to change the application main form.
[GB.WEB.FORM2]
* NEW: DateBox: Open calendar popup on mouse down.
* NEW: Override the Session class, so that its methods that do not have any sense with 'gb.web.form2' do nothing anymore.
* NEW: WebForm.Current is a new property that allows to define the main form of the application that fills its HTML page.
* NEW: Session.Dir is a new property that returns the session directory. It is now '/tmp/gambas.<userid>/session/gb.web.form2'.
* NEW: Session.Timeout is taken into account by session processes.
* BUG: Window titles do not wrap anymore.
2020-03-07 01:30:44 +01:00
Benoît Minisini
d0650b8de2 Merge branch 'gb.test.tap' into 'master'
gb.test.tap

See merge request gambas/gambas!137
2020-03-06 01:10:48 +00:00
gambas
7cc8a1d41f Forgot the moved XTerm files.
[GB.FORM.TERMINAL]
* BUG: Forgot the moved XTerm files.
2020-03-06 00:27:59 +01:00
gambas
1e4b387a2a TerminalView: Terminal output processing is now delayed until the control is visible and has been arranged, so that the terminal width is accurate.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Terminal output processing is now delayed until the control is visible and has been arranged, so that the terminal width is accurate.
* BUG: Move XTerm files to the hidden project directory.
* NEW: TerminalView: Automatic scrolling is disabled when the last terminal line is hidden.
* OPT: TerminalView: Automatic scrolling is not smooth anymore.
2020-03-06 00:26:53 +01:00
gambas
b7c933227c Date.ToISO8601() is a new function that converts a date to ISO-8601 format.
[GB.UTIL]
* NEW: Date.ToISO8601() is a new function that converts a date to ISO-8601 format.
2020-03-06 00:21:33 +01:00
gambas
0d720dc608 Add 'gb.signal' as component dependency.
[GB.WEB.FORM2]
* BUG: Add 'gb.signal' as component dependency.
2020-03-04 01:39:07 +01:00
gambas
066f919a04 Add WebSlider control.
[GB.WEB.FORM2]
* NEW: Add WebSlider control.
2020-03-03 23:54:52 +01:00
gambas
c4db969cb6 Redraw the coloured 'halt' icon.
[GB.FORM.STOCK]
* NEW: Redraw the coloured 'halt' icon.
2020-03-03 23:34:37 +01:00
gambas
58046bcfad TerminalView: Add the ReadOnly property, and add a 2 pixels margin around the terminal contents.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Add a new popup menu entry to select all the text.
* NEW: TerminalView: Add a 2 pixels margin around the terminal contents.
* NEW: TerminalView: ReadOnly is a new property that makes the TerminalView ignore keyboard input.
2020-03-03 23:29:12 +01:00
gambas
1f9364d131 Update project titles.
[GB.WEB.FORM]
* NEW: Update project title.

[GB.WEB.FORM2]
* NEW: Update project title.
2020-03-03 23:28:10 +01:00
Christof Thalhofer
3c09d70986 gb.test: Mv Flowchart into projects .hidden folder
[GB.TEST]
* BUG: Mv Flowchart into the projects hidden folder, alter flowchart a bit
2020-03-01 22:26:14 +01:00
gambas
401b04f5fc String.LeftPad() and String.RightPad() now align the padding pattern respectively to the left and to the right.
[GB.UTIL]
* NEW: String.LeftPad() and String.RightPad() now align the padding pattern respectively to the left and to the right.
2020-03-01 00:49:17 +01:00
gambas
7a377ebabc TextEditor: Add F3 and SHIFT+F3 shortcuts for searching forward and backward in the text search popup.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add F3 and SHIFT+F3 shortcuts for searching forward and backward in the text search popup.
2020-03-01 00:05:59 +01:00
gambas
e1fbc01f12 ScrollArea: Do not show the shadows in some cases when they should not be visible.
[GB.GUI.BASE]
* BUG: ScrollArea: Do not show the shadows in some cases when they should not be visible.
2020-03-01 00:04:46 +01:00
gambas
342096ae0a Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-29 20:23:20 +01:00
gambas
48e1929831 FileProperties: Adding a tab does not raise the Click event anymore.
[GB.FORM]
* BUG: FileProperties: Adding a tab does not raise the Click event anymore.
2020-02-29 20:22:50 +01:00
gambas
71d9c85887 String.PadLeft() and String.PadRight() are not inverted anymore when padding with one byte strings.
[GB.UTIL]
* BUG: String.PadLeft() and String.PadRight() are not inverted anymore when padding with one byte strings.
2020-02-29 20:16:56 +01:00
gambas
622c25101a Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
* NEW: Add a 128 pixels version of the colored 'directory' icon.
2020-02-29 20:07:12 +01:00
gambas
639ca4833c TextEditor: CTRL+F opens a simple text search field inside the editor.
[GB.FORM.EDITOR]
* NEW: TextEditor: CTRL+F opens a simple text search field inside the editor.
2020-02-29 20:06:27 +01:00
gambas
b865fa737f Reserve one pixel less between characters for bold text.
[GB.FORM.TERMINAL]
* BUG: Reserve one pixel less between characters for bold text.
2020-02-29 20:05:16 +01:00
gambas
a703c7f2ea Add String.PadLeft() and String.PadRight() methods.
[GB.UTIL]
* NEW: String.PadLeft() is a new method that pad a string to the left up to a specified length using a string pattern.
* NEW: String.PadRight() is a new method that pad a string to the right up to a specified length using a string pattern.
2020-02-29 19:39:40 +01:00
Christof Thalhofer
583a0c872d gb.test: Flowchart
[GB.TEST]
* NEW: Flowchart made by libre office draw and exported as svg

This is a first try to show the interplay between gbt3, gb.test and
gb.test.tap.
2020-02-29 13:15:55 +01:00
gambas
9e33023518 FileProperties: Add Click event and Index property so that tab changes can be handled.
[GB.FORM]
* NEW: FileProperties: Add() now returns the index of the added tab.
* NEW: FileProperties: Index is a new property that returns or sets the current tab index.
* NEW: FileProperties: Click is a new event that is raised when a tab is selected.
2020-02-28 18:38:16 +01:00
gambas
cc70ae4f83 Redraw many icons.
[GB.FORM.STOCK]
* NEW: Redraw many icons.
2020-02-28 18:37:31 +01:00
Tobias Boege
548d7da1cb gb.test: Remove ITest, ITestCase leftovers
[GB.TEST]
* OPT: Remove the inheritance hierarchy of ITest and ITestCase.

They are no longer needed to identify tests.
2020-02-27 20:58:27 +01:00
Tobias Boege
350d61cd85 gb.test: Restore BailOut on uncaught errors
[GB.TEST.TAP]
* NEW: Assert.SubtestLevel is a new property that returns the number of nested subtests.
* NEW: Assert.BailOut always unwinds the subtest stack and bails out of the entire TAP session.
* BUG: Tests can bail out even if Finished was called.

[GB.TEST]
* NEW: Bail out again if errors from test methods are caught.
* BUG: Don't call Finish on a subtest when it was already finished.

After the Bail out message, we Quit with non-zero exit status to signal
an abnormal termination to the harness.
2020-02-27 20:38:55 +01:00
Tobias Boege
c9c99c0050 gb.test: Use gb.test.tap
[GB.TEST]
* NEW: Use gb.test.

This removes the Assert and Track classes and uses gb.test.tap instead.
Test methods are now executed inside subtests, plan lines are auto-
matically emitted by the harness.

Differences between gb.tests's and gb.test.tap's Assert module:

  - Instead of Assert.True and Assert.False, use Assert.Ok.
  - Instead of Assert.Equals* for every type, there is a generic
    Assert.Equals for Variants and a specific Assert.StringEquals
    for strings which prints diagnostics when the test fails.
  - Assert.BailOut does not terminate the entire program, just
    the TAP stream.
  - Assert.ErrorWithCode is called Assert.ErrorCode.

All TAP printing is done through Assert now. Errors happening in the
test code are not caught and spoofed in the TAP stream anymore, they
cause a test failure. The system would be more robust if the testee
would be in a different process from the tester.
2020-02-27 20:38:55 +01:00
Tobias Boege
679cb64554 gb.test.tap: Add more diagnostics
[GB.TEST.TAP]
* NEW: Add more diagnostics when Assert methods fail.
2020-02-27 20:38:55 +01:00
Tobias Boege
6c82b48abc gb.test.tap: Add SkipAll and don't lose stderr
[GB.TEST.TAP]
* NEW: Support skipping all tests.
* BUG: DO intercept a test process' stderr but forward it verbatim to the TAP stream.
2020-02-27 20:38:55 +01:00
Tobias Boege
27cc0504ac gb.test.tap: Fix subtest summary
[GB.TEST.TAP]
* BUG: Correctly summarize subtest. In particular empty tests fail.
2020-02-27 20:38:55 +01:00
Tobias Boege
3fdfbe3b15 gb.test.tap: Allow Assert to be reset
[GB.TEST.TAP]
* NEW: Add Reset() method to Assert. Useful if you use the same (automatic) instance for multiple TAP streams.
* BUG: Fix state handling in TapPrinter.Finished.
2020-02-27 20:38:55 +01:00
Tobias Boege
73eafee853 gb.test.tap: Don't set ExitCode when reading from a Stream
[GB.TEST.TAP]
* BUG: TestHarness cannot set ExitCode when there is no Process involved.
2020-02-27 20:38:55 +01:00
Tobias Boege
13dd1d252b gb.test.tap: Fix output stream handling
[GB.TEST.TAP]
* NEW: Allow to set the output stream of Assert.
* BUG: Subtests inherit their parent's output stream.
2020-02-27 20:38:55 +01:00
Tobias Boege
65da83b374 gb.test.tap: Forgot Assert.BailOut
[GB.TEST.TAP]
* NEW: Add Assert.BailOut wrapper for the internal TapPrinter.
2020-02-27 20:38:55 +01:00
Tobias Boege
185bbf5745 gb.test.tap: TestStats class and don't capture stderr
[GB.TEST.TAP]
* NEW: Turn TestStats into a class.
* NEW: Store TestStats.Failures as an Integer[].
* BUG: Do NOT intercept test's stderr and convert it to diagnostics.
2020-02-27 20:38:55 +01:00
Tobias Boege
622bd35522 gb.test.tap: Support Stream input in TestHarness
[GB.TEST.TAP]
* NEW: Allow TestHarness to read from just a Stream. Unlike reading from a Process, this is eager instead of event-driven.
2020-02-27 20:38:55 +01:00
Tobias Boege
4d285e8ac5 gb.test.tap: Fix "Expected" diagnostic in StringEquals
[GB.TEST.TAP]
* BUG: Fix "Expected" diagnostic in StringEquals.
2020-02-27 20:38:55 +01:00
Tobias Boege
b583aeaeed gb.test.tap: Support multiline diagnostics
[GB.TEST.TAP]
* NEW: Support multiline diagnostics.
2020-02-27 20:38:55 +01:00
Tobias Boege
235169553c gb.test.tap: More Assert methods
[GB.TEST.TAP]
* NEW: More Assert methods for compatibility with gb.test.
2020-02-27 20:38:55 +01:00
Tobias Boege
787674f188 gb.test.tap: New component for reading and writing TAP
[GB.TEST.TAP]
* NEW: Add new component based on an old fork of gb.test.
2020-02-27 20:38:55 +01:00
gambas
0a63c13676 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-25 03:19:34 +01:00
gambas
b8923a2b93 Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-02-25 03:19:16 +01:00
Christof Thalhofer
3752088d37 gbt3: Fix cherrypicking
[GBT3]
* BUG: Fix selection of testmodule and testmethod
2020-02-24 14:08:40 +01:00
Christof Thalhofer
06b405f22d gb.test: BailOut if a testmodule is empty
[GB.TEST]
* NEW: BailOut if a testmodule is empty
2020-02-23 22:31:28 +01:00
Christof Thalhofer
f3413f1533 gb.test: example unittesthelloworld with test module 2020-02-23 12:52:57 +01:00
Christof Thalhofer
e4f06f6674 gb.test refactoring for use of test modules
[GB.TEST]
* NEW: Add support for test modules.
2020-02-23 12:38:53 +01:00
gambas
26b4327f52 DataView: Add SelectAll() and UnselectAll() methods.
[GB.DB.FORM]
* NEW: DataView: Add SelectAll() and UnselectAll() methods.
2020-02-21 02:52:31 +01:00
gambas
ba39f8ff72 TextEditor: Correctly handle the drawing of the difference before the first line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly handle the drawing of the difference before the first line.
* BUG: TextEditor: Correctly relayout differences when the Wrap property changes.
2020-02-20 16:28:47 +01:00
gambas
8a91545f11 CsvFile: Support for creating CSV files, not just reading them.
[GB.UTIL]
* NEW: CsvFile: Open() is a new method for opening a CSV file for reading.
* NEW: CsvFile: Create() is a new method for opening a CSV file for writing.
2020-02-19 03:00:45 +01:00
gambas
6793fbeadb Fix a typo in the icon map file.
[GB.FORM]
* BUG: Fix a typo in the icon map file.
2020-02-14 01:24:19 +01:00
gambas
4cbe937d04 Add 'view-tree' stock icon.
[GB.FORM]
* NEW: Add 'view-tree' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'view-tree' stock icon.
* NEW: Redraw 'terminal' icon.
2020-02-14 00:46:54 +01:00
gambas
166231e89f Process: The answer to an expected prompt is correctly sent now.
[GB.UTIL]
* BUG: Process: The answer to an expected prompt is correctly sent now.
2020-02-12 17:28:57 +01:00
gambas
311d05d473 The Terminal class has been removed, and replace by an extension of the Process class.
[GB.UTIL]
* NEW: The Terminal class has been removed, and replace by an extension of the Process class. In other word the Expect() method is now directly a method of the Process class.
2020-02-12 02:26:10 +01:00
gambas
ee6b43ca21 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-11 01:53:47 +01:00
gambas
37b29a2191 Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
[GB.UTIL]
* NEW: Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
2020-02-11 01:53:07 +01:00
gambas
bade7e53dd Converting a collection into JSON is a now a bit faster.
[GB.UTIL.WEB]
* OPT: Converting a collection into JSON is a now a bit faster.
2020-02-11 01:50:18 +01:00