Commit graph

7918 commits

Author SHA1 Message Date
Christof Thalhofer
254251b2f7 refact 2020-04-10 11:15:17 +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
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
71b5ca1244 gbt3: use TestHarness
[TESTER]
* NEW: Use gb.test's TestHarness to parse TAP.
* BUG: Do not overwrite existing classes when generating temporary startup class.
* OPT: Prefer Exec over Shell.
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
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
dc4b28b785 Merge branch 'master' of gitlab.com:gambas/gambas 2020-04-06 22:26:00 +02:00
gambas
c72d544427 Form editor: Fix default size of virtual controls.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix default size of virtual controls.
* NEW: Update Gambas fonts.
2020-04-06 22:23:54 +02:00
Benoît Minisini
3d1a9b13c9 Merge branch 'master' into 'master'
Compile with MySQL version >= 8.0.1

See merge request gambas/gambas!141
2020-04-06 10:07:09 +00:00
Benoît Minisini
889d952932 Merge branch 'master' into 'master'
Scripter Added Support for Shared Libraries .. Master

See merge request gambas/gambas!138
2020-04-06 10:04:06 +00:00
Benoît Minisini
0d21539a81 Update .gitlab-ci.yml 2020-04-06 09:39:02 +00:00
gambas
262fe72e3e Add a new string benchmark.
[BENCHMARK]
* NEW: Add a new string benchmark.
2020-04-06 04:44:09 +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
8f0d4db96c Fix support of '&=' operator optimization.
[GB.JIT]
* BUG: Fix support of '&=' operator optimization.
2020-04-04 17:06:36 +02:00
gambas
23835b8b9a Support for the '&=' operator optimization.
[GB.JIT]
* NEW: Support for the '&=' operator optimization.
2020-04-04 16:29:55 +02:00
gambas
08c5fc95c7 '&=' operator optimization.
[COMPILER]
* OPT: Support for '&=' operator optimization.

[INTERPRETER]
* OPT: '&=' operator optimization.
2020-04-04 16:18:10 +02:00
gambas
0714bf7d7d Image editor: Fix a possible infinite recursion when refreshing the clipboard tab.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix a possible infinite recursion when refreshing the clipboard tab.
2020-03-27 02:22:58 +01: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
fb27bf3309 Update mail address in appdata xml file.
[CONFIGURATION]
* BUG: Update mail address in appdata xml file.
2020-03-21 04:52:31 +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
677403b341 Support for custom stock icon sizes depending on form family, and allow any form family to use the menu editor.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'gb.web.gui' component.
* NEW: Support for custom stock icons sizes depending on the form family.
* NEW: Allow any form family to use the menu editor.
2020-03-21 04:35:59 +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
e52fc136d1 Packager: Underscores are now allowed in extra dependencies package names.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Underscores are now allowed in extra dependencies package names.
2020-03-16 18:34:15 +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
10cfe348ac Remove INSTALL.html file. It was including deprecated links that now points at spam.
[CONFIGURATION]
* BUG: Remove INSTALL.html file. It was including deprecated links that now points at spam.
2020-03-12 00:42:48 +01:00
gambas
39ace33d5e Packager: New option to add the project major version number to the package name.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Packager: New option to add the project major version number to the package name.
* BUG: Packager: Fix refresh of extra dependencies and additional files tables.
2020-03-11 01:51:14 +01:00
gambas
607ea493d4 Merge branch 'master' of gitlab.com:gambas/gambas 2020-03-10 18:30:11 +01:00
gambas
2b9e18a103 Fix detection of GUI components.
[GB.GUI]
* BUG: Fix detection of GUI components and share some code with 'gb.gui.qt'.

[GB.GUI.QT]
* BUG: Fix detection of GUI components and share some code with 'gb.gui'.
2020-03-10 18:29:05 +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
Benoît Minisini
1a8ef5e9c6 Add 'gettext' package to archlinux builds 2020-03-10 03:06:06 +00:00
gambas
916b866b69 Support for poppler 0.86, trial 6.
[GB.PDF]
* BUG: Support for poppler 0.86, trial 6.
2020-03-10 03:42:49 +01:00
gambas
36f46ac8b4 Support for poppler 0.86, trial 5.
[GB.PDF]
* BUG: Support for poppler 0.86, trial 5.
2020-03-10 02:57:46 +01:00
gambas
22b4431314 Support for poppler 0.86, trial 4.
[GB.PDF]
* BUG: Support for poppler 0.86, trial 4.
2020-03-10 02:37:57 +01:00
gambas
4a39bd40fa Support for poppler 0.86, trial 3.
[GB.PDF]
* BUG: Support for poppler 0.86, trial 3.
2020-03-10 02:12:54 +01:00
gambas
7f549758f8 Support for poppler 0.86, trial 2.
[GB.PDF]
* BUG: Support for poppler 0.86, trial 2.
2020-03-10 01:45:55 +01:00
gambas
bdb5801687 Support for Poppler 0.86.
[GB.PDF]
* BUG: Support for Poppler 0.86.
2020-03-10 01:40:24 +01:00
gambas
b83205f539 Correctly handle unary minus operator.
[GB.JIT]
* BUG: Correctly handle unary minus operator.
2020-03-10 00:41:05 +01:00
gambas
1a08090954 Debug.Fifo is a new property that returns the name of the FIFO used for communication with the IDE.
[GB.DEBUG]
* NEW: Debug.Fifo is a new property that returns the name of the FIFO used for communication with the IDE.
2020-03-09 02:23:41 +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
Bastian Germann
f0cf49ada7 Compile with MySQL version >= 8.0.1
The my_bool type was removed with MySQL 8.0.1:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html#mysqld-8-0-1-compiling

Replace my_bool with char which was the typedef in older MySQL versions
and still is in MariaDB.

[GB.DB.MYSQL]
* BUG: Compile with MySQL version >= 8.0.1.
2020-03-08 22:26:02 +01:00
gambas
30cde24a5a Version control dialog: Hide the modification tab if there is no changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.test.tap' to the list of components.
* NEW: Version control dialog: Hide the modification tab if there is no changes.
2020-03-07 23:23:16 +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