Commit graph

8204 commits

Author SHA1 Message Date
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
Christof Thalhofer
2818930937 gb.test: Taskell with new task to be done. 2020-06-07 17:50:10 +02:00
Tobias Boege
f5ca983f88 gb.openssl: Add tests for new Pbkdf2 and Scrypt methods
[GB.OPENSSL]
* NEW: Add beginning of a test suite.
* OPT: Avoid doubles in integer power-of-two test.
2020-06-07 01:51:17 +02:00
Andy
b1fbac987e gb.openssl: Dangling parenthesis.
[GB.OPENSSL]
* BUG: Remove dangling parenthesis.
2020-06-07 01:06:01 +02:00
Andy
0eb47b25bb gb.openssl: Hash memory allocation
[GB.OPENSSL]
* BUG: Hash incorrectly allocated by sizeof a pointer.
2020-06-07 01:06:01 +02:00
Andy
3b67580477 gb.openssl: Parameter Limits
[GB.OPENSSL]
* BUG: RandomBytes length limit (1 - 0x7FFFEFF7).
* BUG: Pbkdf2 iterations limit (>0).
* BUG: Pbkdf2 keylength limit (1 - 0x7FFFEFF7).
* BUG: Pbkdf2 buffer managed as GB String.
* BUG: Scrypt keylength limit (1 - 0x7FFFEFF7).
* BUG: Scrypt N limit (>1 & 2^n).
* BUG: Scrypt r limit (1 - 0xFFFFFFFF).
* BUG: Scrypt p limit (1 - 0xFFFFFFFF).
* BUG: Scrypt bugger managed as GB String.
* BUG: Declare longs as longs instead of integers.
2020-06-07 01:06:01 +02:00
Andy
0e503c137b gb.openssl: Group KDF
[GB.OPENSSL]
* NEW: KDF Functions under OpenSSL Class.
2020-06-07 01:06:01 +02:00
Andy
d0c35df49c gb.openssl: Extraneous Include
[GB.OPENSSL]
* BUG: Unnecessary kdf.h blocking Xenial.
2020-06-07 01:06:01 +02:00
Andy
cb18ca4ff3 gb.openssl: Key Derivation Functions
[GB.OPENSSL]
* NEW: Add Pbkdf2 function.
* NEW: Add Scrypt function.
2020-06-07 01:06:01 +02:00
Tobias Boege
44a6c2462a gb.test: Show bad plans in summary
[GB.TEST]
* NEW: Show bad plans in summary.
* BUG: Set recently added TestAssertion properties from TapPrinter as well.
2020-06-07 00:43:44 +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
1409531593 Fix Gambas e-mail in configuration script.
[CONFIGURATION]
* BUG: Fix Gambas e-mail in configuration script.
2020-06-06 18:03:52 +02:00
gambas
ad955b65ef Merge branch 'master' of gitlab.com:gambas/gambas 2020-06-06 18:03:22 +02:00
gambas
46f1892ddf Version control information and file information are now two distinc dialog boxes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control information and file information are now two distinc dialog boxes.
2020-06-06 18:03:15 +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
Christof Thalhofer
09da14aa68 gb.test plan selftests and taskell
[GB.TEST]
*NEW: plan selftests
*NEW: forbid assertions in _Setup.. and _Teardown.. to ensure plan is always valid
2020-06-06 12:08:14 +02:00
gambas
9e8692f823 Merge branch 'master' of gitlab.com:gambas/gambas 2020-06-06 00:28:06 +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
d65ba1fa68 Use the new 'rename' stock icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new 'rename' stock icon.
* BUG: Use the 'select' stock icon instead of the old one.
2020-06-06 00:26:22 +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
Christof Thalhofer
e1bfd66808 gb.test documentation
[GB.TEST]
* OPT: documentation
2020-06-05 10:56:37 +02:00
gambas
22a84ff011 Better default configuration.
[DEVELOPMENT ENVIRONMENT]
* NEW: Better default configuration.
* BUG: Use 'text-lower' and 'text-upper' stock icons instead of now removed old icons.
2020-06-05 02:23:34 +02:00
gambas
15ef9612a4 Debugger: The toggle button that switches between collection or array contents and their symbols does not disappear anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: The toggle button that switches between collection or array contents and their symbols does not disappear anymore.
2020-06-03 20:16:56 +02:00
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
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