Commit graph

2872 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Bastian Germann
b08346d887 Remove two untranslated gettext srings
The two translation files give fatal errors on `msgfmt -c`:

gettext: app/examples/Games/GNUBoxWorld/.lang/cs.po:108: 'msgid' and 'msgstr' entries do not both begin with '\n'
msgfmt: found 1 fatal error
gettext: app/examples/Games/GNUBoxWorld/.lang/es_AR.po:97: 'msgid' and 'msgstr' entries do not both begin with '\n'
msgfmt: found 1 fatal error
2020-03-18 20:18:06 +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
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
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
aa61963236 Version control: Fix command cancelling and command error dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Correctly cancel commands when password dialogs are cancelled.
* BUG: Version control: The command error dialog now works correctly.
2020-03-06 00:30:29 +01:00
gambas
829fc971c7 The output of the command run after executable has been generated is now put in the IDE console.
[DEVELOPMENT ENVIRONMENT]
* NEW: The output of the command run after executable has been generated is now put in the IDE console.
* BUG: The first opening of the console waits a bit so that the arrangement of its container is made.
2020-03-04 02:02:40 +01:00
gambas
9c8a47ba0f Add 'gb.web.form2' to the component list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 font.
* NEW: Add 'gb.web.form2' to the component list.
* BUG: Ignore untranslated title and description when displaying project information.
2020-03-03 23:34:17 +01:00
gambas
766b327e61 Relative paths on command-line are now assumed to be relative to the current working directory.
[DEVELOPMENT ENVIRONMENT]
* BUG: Relative paths on command-line are now assumed to be relative to the current working directory.
2020-03-03 01:41:46 +01:00
Brian G
64e5abbc64 [Scripter]
* NEW removed Lib directive
* NEW Added support for -w warnings
* NEW Added to only check last reply from compiler for ok
* NEW Added support for libraries using new Lib directive
2020-02-29 13:32:20 -08:00
gambas
cf11f9213a File properties dialog: Undoing changes correctly refresh the changes tab again.
[DEVELOPMENT ENVIRONMENT]
* BUG: File properties dialog: Undoing changes correctly refresh the changes tab again.
2020-02-29 20:21:08 +01:00
gambas
b66607099d Add version control history tab in file properties dialog and version control dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update some translations.
* NEW: File properties dialog: Add a version control history tab.
* NEW: Version control dialog: Add a version control history tab.
* NEW: Version control dialog: Always open the dialog, even if there is nothing to commit.
2020-02-29 20:16:29 +01:00
gambas
e57c7616f0 File properties dialog: Display file history if version control is enabled.
[DEVELOPMENT ENVIRONMENT]
* NEW: File properties dialog: Display file history if version control is enabled.
* NEW: Use bold text instead of shadows to display project titles.
2020-02-28 18:33:32 +01:00
Christof Thalhofer
3752088d37 gbt3: Fix cherrypicking
[GBT3]
* BUG: Fix selection of testmodule and testmethod
2020-02-24 14:08:40 +01:00
Christof Thalhofer
a10a5db270 gbt3: refactoring, more stability, TAP stream
[GBT3]
* NEW: gbt3 finds compiler and executor on the computer, TAP output as stream
2020-02-24 11:15:09 +01:00
Christof Thalhofer
ea260ee017 gbt3: fix bug: missing wait
[GBT3]
* BUG: gbt3: Fix missing Wait. Now reliable testing.
2020-02-23 22:50:38 +01:00
Brian G
11eaba36bc [Scripter]
* NEW removed Lib directive
* NEW Added support for -w warnings
* NEW Added to only check last reply from compiler for ok
* NEW Added support for libraries using new Lib directive
2020-02-23 12:16:23 -08:00
Christof Thalhofer
f6acfff787 gbt3 a Gambas program to test a project from commandline
*[NEW] gbt3.gambas: runs tests from commandline
2020-02-23 17:53:01 +01:00