Commit graph

8131 commits

Author SHA1 Message Date
Christof Thalhofer
fd31986942 gb.test further tasks to be done 2020-05-26 09:55:56 +02:00
Christof Thalhofer
76419e2138 gb.test cleanup 2020-05-26 09:54:43 +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
4bad4bb26e Test suites dialog: Add keyboard shortcuts and fix some bugs.
[DEVELOPMENT ENVIRONMENT]
* NEW: Test suites dialog: Add keyboard shortcuts and fix some bugs.
2020-05-25 19:21:48 +02:00
gambas
3737b08904 Classes passed to 'gbx3 -T' that are not test modules are silently ignored.
[INTERPRETER]
* NEW: Classes passed to 'gbx3 -T' that are not test modules are silently ignored.
2020-05-25 11:50:12 +02:00
gambas
9077d63f83 Less intrusive message when the tests have failed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Less intrusive message when the tests have failed.
2020-05-25 11:49:43 +02:00
gambas
bed5d518f5 Finish the redesign of the test suites configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Finish the redesign of the test suites configuration dialog.
* NEW: The test suite selected in the configuration dialog is now used for running the tests.
2020-05-25 11:09:56 +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
277c8492a5 Redesign the test suites configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the test suites configuration dialog. Not fully finished yet.
* NEW: Test suites are now stored in the '.test' file instead of '.tests'.
* NEW: Redraw the class symbols icons, and make them adapt to the desktop font size.
* NEW: Options dialog: The invert colors option is now active only on dark themes.
2020-05-24 23:56:43 +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
68453b4b03 A few bug fixes and dark theme support enhancements.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: when inserting a color, the color dialog is now initialized with the hexadecimal value under the cursor if any.
* BUG: File properties dialog: the revert changes button is now only visible when the change tabs is displayed.
* BUG: The "Show just-in-time compiler debugging messages" menu in now correctly checked when needed.
* NEW: The background image now adapts better to dark themes.
* NEW: Run tests with '-T *' now.
2020-05-23 13:59:21 +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
gambas
4739ef78b6 New dark theme color inversion algorithm and new Color.Invert() method.
[GB.IMAGE]
* NEW: New dark theme color inversion algorithm.
* NEW: Color.Invert() is a new method to invert a color.
2020-05-23 12:28:45 +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
c5ff52f645 Modal windows are now actually modal before entering their Open event.
[GB.QT4]
* BUG: Modal windows are now actually modal before entering their Open event.

[GB.QT5]
* BUG: Modal windows are now actually modal before entering their Open event.
2020-05-23 10:02:02 +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
f3850aad1b Redesign the interface between the interpreter and 'gb.test'.
[INTERPRETER]
* NEW: Redesign the interface between the interpreter and 'gb.test'.
2020-05-23 04:31: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
d8f4c5a7cf Redesign the interface between the interpreter and 'gb.test' component.
[INTERPRETER]
* NEW: Now '-T' option with no argument calls Test._List() method.
* NEW: If '-T' gets an argument, the Test._Run() method is used.
* NEW: If '-T' argument is '*', then the Test._RunAll() method is called.
2020-05-22 16:02:48 +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
gambas
9022603257 Output a class flag for test modules. Do not generate the '.test' file anymore.
[COMPILER]
* NEW: Do not generate the '.test' file anymore.
* NEW: Output a class flag for test modules.
2020-05-22 16:00:40 +02:00
Christof Thalhofer
f706e0e250 FTestSuite catch error on start
[DEVELOPMENT ENVIRONMENT]
* BUG: FTestSuite catch error on start
2020-05-22 10:02:17 +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
7295d38d02 Some fixes in image editor and little design changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Grid configuration is now specific to each editor.
* NEW: Image editor: The grid configuration gets a sane default the first time it is toggled.
* BUG: Image editor: Resize the information tooltip for large coordinate values.
* NEW: Image editor: Draw the grid lines with foreground color.
* NEW: Welcome dialog: Use a lighter version of the blue color.
* NEW: Welcome dialog: Sound and animation on a few specific dates. :-)
* NEW: File creation dialog: Remember the size of new images.
*
2020-05-22 00:25:24 +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
875fcafa51 MediaPipeline: Play() now takes an extra optional argument that allows not to wait for the command completion.
[GB.MEDIA]
* NEW: 'GB_MEDIA_DEBUG' is a new environmental variable that toggles warning messages.
* NEW: MediaPipeline: Play() now takes an extra optional argument that allows not to wait for the command completion.
2020-05-21 20:37:44 +02:00
Christof Thalhofer
7fd9766d02 Store tests without spaces
[DEVELOPMENT ENVIRONMENT]
* BUG: Store tests as string without spaces in .tests.
2020-05-21 10:04:54 +02:00
gambas
034542f2b8 Get rid of big orange panels.
[DEVELOPMENT ENVIRONMENT]
* NEW: Get rid of big orange panels.
2020-05-20 12:35:11 +02:00
gambas
57db6fa51c Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-20 12:00:03 +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
Christof Thalhofer
f072b32673 FTestSuite start with Shift-F4 and rename and del
[DEVELOPMENT ENVIRONMENT]
* NEW: Shortcut Shift-F4 to open FTestSuite.
* NEW: FTestSuite buttons to delete and rename a test suite.
2020-05-20 07:58:46 +02:00
gambas
6a8055ccc4 Make some combo-box a bit larger for some widget themes where their contents is cropped.
[DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Make some combo-box a bit larger for some widget themes where their contents is cropped.
* NEW: Project properties dialog: Make some combo-box a bit larger for some widget themes where their contents is cropped.
2020-05-19 22:37:15 +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
gambas
535469a228 Add Mouse.Click property.
[GB.QT4]
* NEW: Mouse.Click is a new property that returns the click index in a multi-click event.
* NEW: Style.Name is now lowercase.
* BUG: Some theme-specific workarounds for Style paint methods.

[GB.QT5]
* NEW: Mouse.Click is a new property that returns the click index in a multi-click event.
* NEW: Style.Name is now lowercase.
* BUG: Some theme-specific workarounds for Style paint methods.
2020-05-19 22:25:31 +02:00
gambas
517fd52b20 Add Mouse.Click property and fix gb.gtk3 style methods.
[GB.GTK]
* NEW: Mouse.Click is a new property that returns the click index in a multi-click event.
* NEW: Style.Name is now lowercase.

[GB.GTK3]
* NEW: Mouse.Click is a new property that returns the click index in a multi-click event.
* NEW: Style.Name is now lowercase.
* BUG: Fix Style.PaintCheck() and Style.PaintArrow() for GTK+ >= 3.14.
2020-05-19 22:23:02 +02:00