Commit graph

2907 commits

Author SHA1 Message Date
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
Christof Thalhofer
56ea4ae6dd FTestSuite rename with doubleclick 2020-05-26 21:49:13 +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
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
4bad4bb26e Test suites dialog: Add keyboard shortcuts and fix some bugs.
[DEVELOPMENT ENVIRONMENT]
* NEW: Test suites dialog: Add keyboard shortcuts and fix some bugs.
2020-05-25 19:21:48 +02:00
gambas
9077d63f83 Less intrusive message when the tests have failed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Less intrusive message when the tests have failed.
2020-05-25 11:49:43 +02:00
gambas
bed5d518f5 Finish the redesign of the test suites configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Finish the redesign of the test suites configuration dialog.
* NEW: The test suite selected in the configuration dialog is now used for running the tests.
2020-05-25 11:09:56 +02:00
gambas
277c8492a5 Redesign the test suites configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the test suites configuration dialog. Not fully finished yet.
* NEW: Test suites are now stored in the '.test' file instead of '.tests'.
* NEW: Redraw the class symbols icons, and make them adapt to the desktop font size.
* NEW: Options dialog: The invert colors option is now active only on dark themes.
2020-05-24 23:56:43 +02:00
gambas
68453b4b03 A few bug fixes and dark theme support enhancements.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: when inserting a color, the color dialog is now initialized with the hexadecimal value under the cursor if any.
* BUG: File properties dialog: the revert changes button is now only visible when the change tabs is displayed.
* BUG: The "Show just-in-time compiler debugging messages" menu in now correctly checked when needed.
* NEW: The background image now adapts better to dark themes.
* NEW: Run tests with '-T *' now.
2020-05-23 13:59:21 +02:00
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
Benoît Minisini
e2a411a369 Merge branch 'i18n' into 'master'
Remove two untranslated gettext strings

See merge request gambas/gambas!142
2020-05-11 22:15:51 +00: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