Commit graph

8158 commits

Author SHA1 Message Date
Christof Thalhofer
6f4c24c3e1 gb.test test all assertions
[GB.TEST]
* NEW: Assert.IntendedFailure move to Test.IntendedFailure
* NEW: TAllAsserts tests all assertions (3 todo left)
2020-05-28 11:14:58 +02:00
Christof Thalhofer
c0b7e7db82 gb.test Skip and Todo from Assert to Test
[GB.TEST]
* NEW: Skip and Todo from Assert to Test
2020-05-28 09:30:15 +02:00
Christof Thalhofer
315c383a4d gb.test run testsuite by name from settings
[GB.TEST]
* OPT: gb.test: Run test suite by name from settings
2020-05-27 20:56:33 +02:00
Christof Thalhofer
024417bcff gb.test: Run test suite by name
[GB.TEST]
* new: Run test suite by name
2020-05-27 14:27:38 +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
d3e36e78c1 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-26 22:58:21 +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
Christof Thalhofer
adf0a1ff1a Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-05-26 22:29:53 +02:00
Christof Thalhofer
65fdca2414 authors file email of christof 2020-05-26 22:28:48 +02:00
gambas
e3a7d38597 Fix a crash in toolbox control icons generation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash in toolbox control icons generation.
2020-05-26 22:20:37 +02:00
gambas
ac91967c36 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-26 22:14:01 +02:00
gambas
f91f8dc1ec Remove some useless icons and use the new 'key' stock icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Remove some useless icons.
* NEW: Use the new 'key' stock icon.
2020-05-26 22:12:41 +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
Christof Thalhofer
56ea4ae6dd FTestSuite rename with doubleclick 2020-05-26 21:49:13 +02:00
Christof Thalhofer
9906661c7e gb.test: unittesthelloworld-1.0.0.tar.gz example
[GB.TEST]
* OPT: unittesthelloworld example
* OPT: Class TestMe just to be used for dev
2020-05-26 21:41:29 +02:00
gambas
ab17229e66 Test suites configuratino file is correctly cleaned up on save.
[DEVELOPMENT ENVIRONMENT]
* BUG: Test suites configuratino file is correctly cleaned up on save.
* NEW: Toolbox controls icons now adapt to dark themes.
* NEW: Start to clean up the image directory.
2020-05-26 21:19:53 +02:00
gambas
2132e389b5 Better default colors.
[GB.FORM.TERMINAL]
* NEW: Better default colors.
2020-05-26 21:17:40 +02:00
Christof Thalhofer
fc4525708a gb.test rename test modules
[GB.TEST]
* OPT: rename testmodules and methods in them, get rid of such a lot "Test"
2020-05-26 20:45:18 +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
Christof Thalhofer
1130e4aa7d gb.test print all testcases
[GB.TEST]
* NEW: Print all tests as test suite string
2020-05-26 20:07:58 +02:00
Christof Thalhofer
449c2772cf Merge branch 'refactorgbtest' 2020-05-26 15:31:33 +02:00
Christof Thalhofer
9ad850e90b gbtest refactoring
[GB.TEST]
* OPT: Reduce the number of occurences of '__Test.Load(TestModule)' from 4 to 2
2020-05-26 15:25:39 +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
8c962c9b89 Remove the old test suite configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Remove the old test suite configuration dialog.
2020-05-26 13:17:54 +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
Christof Thalhofer
b0f6c7d475 gb.test fixed selftest 2020-05-26 11:41:32 +02:00
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