Commit graph

8234 commits

Author SHA1 Message Date
gambas
a6ada310a7 Merge branch 'master' of gitlab.com:gambas/gambas 2020-06-03 16:15:43 +02:00
gambas
b173d32780 Automatic completion: Fix completion of identifiers.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Fix completion of identifiers.
* NEW: Remove dark versions of many icons, now they are automatically generated.
2020-06-03 16:15:07 +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
gambas
37db5413e1 Connection.ApplyTemplate() now updates existing tables.
[GB.DB]
* NEW: Connection.Url is a new property that returns the URL of the connection.
* NEW: Connection.ApplyTemplate() now updates existing tables.
2020-06-03 15:48:14 +02:00
gambas
2d2cfc1bd6 Fix compilation of OPEN STRING instruction that sometimes failed.
[COMPILER]
* BUG: Fix compilation of OPEN STRING instruction that sometimes failed.
2020-06-03 14:53:43 +02:00
Christof Thalhofer
a26f2e6e46 gb.test taskell update 2020-06-03 08:18:42 +02:00
Christof Thalhofer
7068c6bbca gb.test testmethod's names must not contain underscore
[GB.TEST]
* NEW: testmethod's names must not contain underscore
2020-06-02 11:04:06 +02:00
Christof Thalhofer
3da170981b Merge branch 'testing-system' into 'master'
Complete the parser and assorted fixes

See merge request gambas/gambas!149
2020-06-02 08:56:45 +00:00
gambas
fd6d988165 Fix memory leak in Connection.LastInsertId implementation.
[GB.DB.SQLITE3]
* BUG: Fix memory leak in Connection.LastInsertId implementation.
2020-06-01 22:01:02 +02:00
gambas
026dfb3692 Running the project now uses the argument list selected in the "Run with arguments" dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Running the project now uses the argument list selected in the "Run with arguments" dialog.
2020-06-01 16:31:13 +02:00
Tobias Boege
efdc072276 gb.test: document and fix Todo tests
[GB.TEST]
* NEW: Add tests for Assert.Match.
* BUG: Assert: document Approximate and RelativeApproximate.
* BUG: Special-case Expected = 0 in RelativeApproximate.
2020-06-01 06:57:45 +02:00
Tobias Boege
42065f8f0f gb.test: TSkipAll now passes
The test TSkipAll now passes with its intended implementation,
so remove the Test.Todo.
2020-06-01 06:36:04 +02:00
Tobias Boege
2f56334d2a TestRunner: Prefer Exec over Shell
[GB.TEST]
* OPT: TestRunner: do not assemble a Shell command string when Exec works.

Also remove leftover TODOs.
2020-06-01 06:33:45 +02:00
Tobias Boege
939397a734 gb.test: Parse a skipping plan line
[GB.TEST]
* NEW: The parser can now parse a plan line which skips the entire test.
2020-06-01 06:30:52 +02:00
Tobias Boege
e6e9b4b1b0 gb.test: Support for parsing subtests
[GB.TEST]
* NEW: TapParser can now parse subtests. Consequently, TestRunner assembles a tree of TestAssertions.
* BUG: Remove trailing '\r' characters from TapStream lines.

By our convention a subtest is opened by a "Test ..." line and closed by
its summarizing "ok" / "not ok" assertion.

This commit regresses on TInternals's reflection tests because I added
tests for the parser and runner which need event handlers to do their
testing. These are unintentionally detected as test methods.
2020-06-01 06:06:11 +02:00
gambas
7395093fea 'gb.util' and 'gb.settings' are not required anymore.
[GB.TEST]
* NEW: 'gb.util' and 'gb.settings' are not required anymore.
* NEW: Add an Helper module that implements the functions replacing what was used in 'gb.util' and 'gb.settings'.
* BUG: Rewrite the GetTestSuiteByName() method without 'gb.settings', and fix it. It was completely broken.
2020-05-31 00:58:50 +02:00
Christof Thalhofer
0447fc173d gb.test German translation
[GB.TEST]
* NEW: German translation
2020-05-28 18:22:22 +02:00
Christof Thalhofer
c816814ed4 gb.test refactoring and finetuning Assert Notes
[GB.TEST]
* NEW: refactoring and finetuning Assert Notes
2020-05-28 18:07:55 +02:00
Christof Thalhofer
65a0205d02 gb.test taskell update 2020-05-28 11:21:43 +02:00
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
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
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
Andy
5bf54435a8
Merge branch 'master' into arch-pkgver 2020-05-27 02:21:11 -07: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