Commit graph

2751 commits

Author SHA1 Message Date
Christof Thalhofer
f706e0e250 FTestSuite catch error on start
[DEVELOPMENT ENVIRONMENT]
* BUG: FTestSuite catch error on start
2020-05-22 10:02:17 +02:00
gambas
7295d38d02 Some fixes in image editor and little design changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Grid configuration is now specific to each editor.
* NEW: Image editor: The grid configuration gets a sane default the first time it is toggled.
* BUG: Image editor: Resize the information tooltip for large coordinate values.
* NEW: Image editor: Draw the grid lines with foreground color.
* NEW: Welcome dialog: Use a lighter version of the blue color.
* NEW: Welcome dialog: Sound and animation on a few specific dates. :-)
* NEW: File creation dialog: Remember the size of new images.
*
2020-05-22 00:25:24 +02:00
Christof Thalhofer
7fd9766d02 Store tests without spaces
[DEVELOPMENT ENVIRONMENT]
* BUG: Store tests as string without spaces in .tests.
2020-05-21 10:04:54 +02:00
gambas
034542f2b8 Get rid of big orange panels.
[DEVELOPMENT ENVIRONMENT]
* NEW: Get rid of big orange panels.
2020-05-20 12:35:11 +02:00
Christof Thalhofer
f072b32673 FTestSuite start with Shift-F4 and rename and del
[DEVELOPMENT ENVIRONMENT]
* NEW: Shortcut Shift-F4 to open FTestSuite.
* NEW: FTestSuite buttons to delete and rename a test suite.
2020-05-20 07:58:46 +02:00
gambas
6a8055ccc4 Make some combo-box a bit larger for some widget themes where their contents is cropped.
[DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Make some combo-box a bit larger for some widget themes where their contents is cropped.
* NEW: Project properties dialog: Make some combo-box a bit larger for some widget themes where their contents is cropped.
2020-05-19 22:37:15 +02:00
Christof Thalhofer
c47597d7e7 ide: FTestSuite margin 2020-05-19 11:55:46 +02:00
Christof Thalhofer
5327e17b5e FTestSuite small fix selecttion of tests 2020-05-19 11:30:42 +02:00
Christof Thalhofer
cc57058d03 IDE: FTestSuite uses Showcheck 2020-05-19 10:52:05 +02:00
Christof Thalhofer
29d2e962f8 ide small fix test suites 2020-05-19 10:49:44 +02:00
Benoît Minisini
f1c9ef9a77 Merge branch 'testing-system' into 'master'
gb.test integration to the IDE 2nd attempt

See merge request gambas/gambas!146
2020-05-19 08:04:38 +00:00
gambas
a854c1cc5c Use the new stock icons and remove a debugging message.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new stock icons.
* BUG: Remove a debugging message.
2020-05-19 10:03:42 +02:00
gambas
87dc14eed3 The program arguments are now defined through a specific dialog displayed when running the project.
[DEVELOPMENT ENVIRONMENT]
* NEW: The program arguments are now defined through a specific dialog displayed when running the project.
* NEW: Project properties dialog: Remove the 'arguments' tab.
2020-05-18 15:35:28 +02:00
gambas
b3a79e176b Adapt the background image to dark themes automatically.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new stock icons.
* NEW: Adapt the background image to dark themes automatically.
2020-05-18 13:26:25 +02:00
gambas
faa59619ff Option dialog: Add a slider for defining the brightness of the background.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Add a slider for defining the brightness of the background.
* BUG: Fix GUI component selector.
* NEW: Image editor: Use the new stock icons in the property panel.
2020-05-18 08:59:41 +02:00
Christof Thalhofer
59beb3ffd9 FmMain Debug Testsuites
[DEVELOPMENT ENVIRONMENT]
* NEW: Menu entry Debug->Testsuites
2020-05-17 13:52:27 +02:00
Christof Thalhofer
d75f30a142 Merge branch 'master' of https://gitlab.com/gambas/gambas into testing-system 2020-05-17 13:23:20 +02:00
Christof Thalhofer
608e5f80ad FTestSuite to organize test
[DEVELOPMENT ENVIRONMENT]
* NEW: Form FTestSuite to organize test suites
[GB.TEST]
* OPT: Prints all tests as string with Test.Main(_TRIG_GETTESTS)
2020-05-17 13:19:24 +02:00
gambas
8f5d7b3219 Project properties: Add more project statistics.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Project properties: Add more project statistics.
* NEW: Project properties: The first column of environment table has now a minimum width.
2020-05-17 08:31:28 +02:00
gambas
ac0a41b817 Order options in displayed help.
[SCRIPTER]
* NEW: Order options in displayed help.
2020-05-17 08:27:41 +02:00
gambas
7e7f6d5c29 Hide testing menus, buttons and panel if the project has no test modules.
[DEVELOPMENT ENVIRONMENT]
* NEW: Hide testing menus, buttons and panel if the project has no test modules.
2020-05-17 02:57:25 +02:00
gambas
bd36dc9d74 Add menu entries for toggling most of the debugging environment variables.
[DEVELOPMENT ENVIRONMENT]
* BUG: Display an appropriate message when project testing fails.
* NEW: Update french translation.
* NEW: Make the IDE depend on the 'gb.test' component.
* NEW: Code editor: error messages now use the same background as the editor, to ensure they are always readable.
* NEW: Add menu entries for toggling most of the debugging environment variables.
2020-05-16 11:29:46 +02:00
Christof Thalhofer
fa933ee86f small changes FTestSuite
Gambas3 did not compile, tests did not occur if not compiled
2020-05-14 14:12:10 +02:00
Christof Thalhofer
b445a7e859 gb.test integration to the IDE. TestSuites
[DEVELOPMENT ENVIRONMENT]
* NEW: FTestSuite to configure testsuites and store in project in .tests
[GB.TEST]
* NEW: testsuites
2020-05-14 13:15:54 +02:00
Christof Thalhofer
daf5b7d9f1 Remove gbt3
gbt3 is obsolete as gbx3 -T now does the same
2020-05-11 23:39:24 +02:00
gambas
06cd374e52 Display a warning message when running tests, if there is no test modules.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 13 fonts.
* NEW: Update french translation.
* NEW: Reorder debug panel buttons.
* NEW: Display a warning message when running tests, if there is no test modules.
2020-05-11 21:00:55 +02:00
gambas
833178b0f9 Automatically load 'gb.test' for automatic completion.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatically load 'gb.test' for automatic completion.
2020-05-10 15:58:37 +02:00
gambas
9a9d347c8a Automatically load 'gb.test' information.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatically load 'gb.test' information.
2020-05-10 14:51:53 +02:00
gambas
f319132dfc Ignore hidden components specified in the project file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore hidden components specified in the project file.
2020-05-09 20:55:56 +02:00
gambas
44bacadeda Suport for unit tests in the IDE.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Add a 'test' button, that run the project in test mode, using the debugger.
* NEW: Add a specific output tab for the unit tests result.
* BUG: Selection of menu icons now allows stock icons again.
2020-05-07 15:23:14 +02:00
gambas
931ecc6c61 Use '-r' interpreter option to redirect standard error output.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use '-r' interpreter option to redirect standard error output.
2020-05-07 08:19:59 +02:00
gambas
e67263696f Search dialog: Support for browsing compressed files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Support for browsing compressed files.
* NEW: Use global constants for IDE blue and orange colors.
2020-05-04 21:29:22 +02:00
Christof Thalhofer
f5dbf4074e gbt3: Fix. Raise error when path = Null, no sparse 2020-05-03 11:42:47 +02:00
Christof Thalhofer
c733083a32 gbt3 install and task 2020-05-03 11:26:05 +02:00
Christof Thalhofer
ed8f5b73ad gbt3: some fixes and tasks done
Returns exit code.

Doesn't print a summary any more as this is provided by gb.test.

Doesn't print blank line at the beginning any more. Plan has to be in
the first line.

Works fine with tappy (python TAP consumer)

Kills temporary startup file
2020-05-03 10:35:29 +02:00
Christof Thalhofer
127eb07385 Merge remote-tracking branch 'upstream/master' into testing-system 2020-04-26 12:07:56 +02:00
Christof Thalhofer
e5c9b3c1c2 gb.test and gbt3 some refactoring and future tasks 2020-04-25 21:28:51 +02:00
Tobias Boege
35cac9053f Refactor TapPrinter and Assert
This is a big refactor of the TapPrinter and Assert interaction with
the goal of enabling gb.test to print a self-summary after a TAP session
(without storing the TAP we printed and parsing it afterwards). The main
feature addition is a new class representing an assertion (together with
its subtests). Objects of this type are now produced by TapPrinter when
it prints an assertion and by TapParser alike when it parses TAP.
This allows more uniform and more detailed reporting of failures, too.

For organizational reasons, subtest support was moved into the printer.

[GB.TEST]
* NEW: Expose the TapContext class which holds the current TAP session's state.
* NEW: Represent assertions (and entire subtests) by TestAssertion objects in both TapPrinter and TapParser.
* NEW: Coalesce the four TapParser events for assertions into one.
* OPT: Move subtest support into TapPrinter, removing the need to create multiple TapPrinter objects.
* OPT: Remove the need for buffering the TAP to print a self-summary.
* BUG: Fix the buffering issue that would lose TAP when the process crashes.
2020-04-25 05:45:42 +02:00
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
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
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
Christof Thalhofer
dcce00e674 gbt3: updated to new name and behavior of Test-Main() 2020-04-10 13:51:48 +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
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
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
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