Commit graph

7998 commits

Author SHA1 Message Date
gambas
1a496a05b6 Fix test source file initial comment.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix test source file initial comment.
2020-04-23 01:34:53 +02:00
gambas
53865b1822 Top-level menus of embedded forms are not inserted in the top-level form anymore.
[GB.WEB.GUI]
* BUG: Top-level menus of embedded forms are not inserted in the top-level form anymore.
2020-04-23 01:31:23 +02:00
gambas
25d542ca17 Change the version control synchronize icon to the 'download' icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Change the version control synchronize icon to the 'download' icon.
2020-04-22 23:43:06 +02:00
gambas
d37d6c97b8 Form editor: Add a information line on the toolbox that displays the name of the current hovered toolbox control, and the component it belongs to.
[DEVELOPMENT ENVIRONMENT]
* BUG: Hitting ESC key when the focus is on the console immediate command textbox now always closes the console tab.
* NEW: Form editor: Add a information line on the toolbox that displays the name of the current hovered toolbox control, and the component it belongs to.
2020-04-22 23:40:36 +02:00
gambas
ee81637c72 Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.
[GB.GTK]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.

[GB.GTK3]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.

[GB.QT4]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.

[GB.QT5]
* NEW: Window: Add a State event that is raised when the window is minimized, maximized or set to fullscreen.
2020-04-21 08:39:07 +02:00
gambas
e9f3767f98 Search dialog: Case insensitive search with words only now works correctly in all cases.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Case insensitive search with words only now works correctly in all cases.
2020-04-21 08:05:59 +02:00
gambas
9c12c1f886 Search dialog: The project browsing is now done through a background task.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: The automatic completion now appears at the correct position when the view is splitted.
* NEW: Search dialog: The project browsing is now done through a background task.
* NEW: Redraw the module icons.
2020-04-21 07:35:27 +02:00
gambas
a53acf81c7 TextEditor: Do not use Application.Busy in Load() and Save() methods and fix TextEditor[].Purge() method.
[GB.FORM.EDITOR]
* NEW: TextEditor: Do not use Application.Busy in Load() and Save() methods.
* BUG: TextEditor: TextEditor[].Purge() works as expected now.
2020-04-21 07:32:52 +02:00
gambas
fae4d5df83 Spinner: Add a Padding property.
[GB.FORM]
* NEW: Spinner: Add a Padding property.
2020-04-21 07:32:27 +02:00
gambas
b77de38fdf Stock: Analyze icon directories in alphabetic order, so that numeric directory names are always identified first.
[GB.FORM]
* BUG: Stock: Analyze icon directories in alphabetic order, so that numeric directory names are always identified first.
2020-04-16 09:49:21 +02:00
gambas
b0eb952028 '&=' on variants is not incorrectly optimized anymore.
[INTERPRETER]
* BUG: '&=' on variants is not incorrectly optimized anymore.

[GB.JIT]
* BUG: '&=' on variants is not incorrectly optimized anymore.
2020-04-16 09:47:59 +02:00
Tobias Boege
b0534ada26 Merge remote-tracking branch 'christof/testing-system-tof1' into testing-system 2020-04-14 20:40:59 +02:00
Christof Thalhofer
25fbe40ea6 Taskell Kanboard
Taskell is a somewhat bulky kanboard for the commandline, but for me
seems to be sufficient to organize the few things we have to do until
3.15.
2020-04-12 10:38:02 +02:00
Christof Thalhofer
2e9e94903b unittesthelloworld update neue tests 2020-04-10 15:43:46 +02:00
Christof Thalhofer
294194557b gbtest.Test FIXME comment 2020-04-10 13:52:56 +02:00
Christof Thalhofer
dcce00e674 gbt3: updated to new name and behavior of Test-Main() 2020-04-10 13:51:48 +02:00
Christof Thalhofer
254251b2f7 refact 2020-04-10 11:15:17 +02:00
gambas
d6cf0e8fb4 Fix the tab order of the control toolbox.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the tab order of the control toolbox.

[GB.WEB.GUI]
* NEW: WebListBox is a new listbox control.
2020-04-09 10:53:31 +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
gambas
812cd85c9d Merge branch 'master' of gitlab.com:gambas/gambas 2020-04-08 21:27:58 +02:00
gambas
68c503bc2e Enabling an already enabled timer has no effect anymore.
[INTERPRETER]
* BUG: Enabling an already enabled timer has no effect anymore.
2020-04-08 21:27:27 +02:00
Tobias Boege
ab26124aa4 Search for wide-character ncurses when configuring
[CONFIGURATION]
* BUG: gb.ncurses now compiles on systems which only provide wide-character versions of ncurses pkg-config files.
2020-04-08 17:58:55 +02:00
gambas
b737880ee6 Add command-line options to find or replace a string in all wiki pages.
[WIKI]
* NEW: Add command-line options to find or replace a string in all wiki pages.
2020-04-08 14:06:36 +02:00
gambas
73686fde4c Update some project versions. 2020-04-08 14:05:59 +02:00
gambas
0f1de30f2a Add debugging messages to the Printing example and use full page to print.
[EXAMPLES]
* NEW: Add debugging messages to the Printing example and use full page to print.
2020-04-08 14:05:12 +02:00
gambas
171c11c523 Update some project versions and icons. 2020-04-08 14:03:59 +02:00
gambas
f6d742e134 Fix Gambas 'string2' test.
[BENCHMARKS]
* BUG: Fix Gambas 'string2' test.
2020-04-08 14:02:32 +02:00
gambas
8a9e30e1be Redraw 'upload' and 'download' stock icons.
[GB.FORM.STOCK]
* NEW: Redraw 'upload' and 'download' stock icons.
2020-04-08 14:01:53 +02:00
gambas
12c819330b Add DB.LastInsertId, the static version of Connection.LastInsertId.
[GB.DB]
* BUG: Add DB.LastInsertId, the static version of Connection.LastInsertId.
2020-04-08 14:01:03 +02:00
gambas
2c3d7c069f WebFileButton is a new control that provides a button that can upload file to the server.
[GB.WEB.GUI]
* NEW: WebFileButton is a new control that provides a button that can upload file to the server.
2020-04-08 13:58:35 +02:00
gambas
a00862b681 CGI.All is a new property that returns a collection of all CGI environment variables.
[GB.WEB]
* NEW: CGI.All is a new property that returns a collection of all CGI environment variables.
2020-04-08 13:57:37 +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
gambas
3891af0d62 Take anchors into account correctly when generating links and fix a crash when parsing lines starting with a '#'.
[GB.MARKDOWN]
* BUG: Take anchors into account correctly when generating links.
* BUG: Lines beginning with '#' without a space after do not make the parser crash anymore.
2020-04-07 14:51:01 +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