Commit graph

9185 commits

Author SHA1 Message Date
gambas
5afcec8959 Add a project icon to the self-tester program.
[SELF-TESTER]
* NEW: Add a project icon to the self-tester program.
2021-03-10 00:34:34 +01:00
gambas
8668ed5a69 GB.Call() API now works correctly again when calling static methods.
[INTERPRETER]
* NEW: Task.Kill() method is now a synonymous of Task.Stop().
* BUG: GB.Call() API now works correctly again when calling static methods.
2021-03-09 23:01:22 +01:00
gambas
9543992dfc Detect source code position both in output and test terminals, and everywhere in the terminal.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Test panel: Display the test result with a colored label inside the test panel toolbar.
* NEW: Detect source code position both in output and test terminals.
* NEW: Detect source code position everywhere in the terminals now.
2021-03-09 22:09:31 +01:00
Brian G
5976cb270b [Scripter]
* OPT: Change upper() to == where possible
* OPT: Simplify Creating scripts, using tables now
* OPT: Change reader to be optimized as well
* NEW: Support more gambas source type - for building test scripts
2021-03-09 09:48:39 -08:00
gambas
e13afca718 Control.NoTabFocus now correctly handle proxies.
[GB.GTK]
* BUG: Control.NoTabFocus now correctly handle proxies.

[GB.GTK3]
* BUG: Control.NoTabFocus now correctly handle proxies.
2021-03-09 14:14:42 +01:00
gambas
aa47f0d5fb Code editor: Add a button for loading images in HTML preview. By default they are not loaded.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Add a button for loading images in HTML preview. By default they are not loaded.
* BUG: Fix a possible infinite recursion when checking for project files metadata flags.
2021-03-09 03:16:33 +01:00
Brian G
82bd949f41 [SCRIPTER]
* BUG: Fix man page, missing .TP for debug
2021-03-08 17:10:04 -08:00
gambas
f8b345d9e6 Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
[GB.SETTINGS]
* NEW: Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
2021-03-09 01:49:03 +01:00
gambas
f1dd5cf6ad Merge branch 'master' of gitlab.com:gambas/gambas 2021-03-09 01:39:44 +01:00
gambas
e8dd753abc DragLeave event is now always raised before entering another drop target.
[GB.GTK]
* BUG: DragLeave event is now always raised before entering another drop target.

[GB.GTK3]
* BUG: DragLeave event is now always raised before entering another drop target.
2021-03-09 01:38:04 +01:00
Benoît Minisini
623696fec9 Merge branch 'scripterupdatesfixes' into 'master'
[Scripter]

See merge request gambas/gambas!202
2021-03-08 21:06:01 +00:00
Brian G
596c8effec [SCRIPTER] 2021-03-08 12:21:23 -08:00
Brian G
fae448f853 [Scripter]
* BUG: FIXED - Once more same issue caused buy full processing of command line programs
2021-03-08 11:56:21 -08:00
Brian G
49597bf578 [Scripter]
* BUG: FIXED - caused buy full processing of command line programs
2021-03-08 11:53:08 -08:00
Brian G
44f737cd82 [Scripter]
* BUG: Fixed - -e < working incorrectly
* OPT: Updated execute from command line to do full processing after splitting with ':'
* BUG: Updated unit test to function correctly with new process from cmdlineArgs
2021-03-08 11:23:57 -08:00
gambas
338c464291 FontChooser: Support for fonts whose name is made of digits only.
[GB.FORM]
* NEW: FontChooser: Design enhancements.
* NEW: FontChooser: Support for fonts whose name is made of digits only.
2021-03-08 20:16:14 +01:00
gambas
dafc24b435 Support for fonts whose name is made of digits only.
[GB.GTK]
* BUG: Support for fonts whose name is made of digits only. In that case, the family name in Font string representation must be enclosed with double quotes.

[GB.GTK3]
* BUG: Support for fonts whose name is made of digits only. In that case, the family name in Font string representation must be enclosed with double quotes.

[GB.QT4]
* BUG: Support for fonts whose name is made of digits only. In that case, the family name in Font string representation must be enclosed with double quotes.

[GB.QT5]
* BUG: Support for fonts whose name is made of digits only. In that case, the family name in Font string representation must be enclosed with double quotes.
2021-03-08 20:12:59 +01:00
gambas
056464689c Fix Label.Alignment property declaration. SpinBox.Background now works as expected.
[GB.GUI.BASE]
* BUG: Label: Fix the declaration of Alignment property default value.
* BUG: SpinBox: The Background property now works as expected.
2021-03-08 20:12:22 +01:00
Brian G
4749b2edf9 [Scripter]
* BUG: Fixed - stdin error when creating archive
2021-03-08 09:42:01 -08:00
gambas
8e2879f269 Class that inherits an array class now inherits its internal array flag too.
[INTERPRETER]
* BUG: Class that inherits an array class now inherits its internal array flag too.
2021-03-08 16:19:12 +01:00
gambas
e5f8cfb6d5 FontChooser enhancements and Spinner fixes.
[GB.FORM]
* NEW: FontChooser: Implement a font thumbnail cache to speed up redrawing.
* NEW: FontChooser: Better font list presentation.
* NEW: Spinner: Add a margin property that represents an inner padding of Desktop.Scale.
* BUG: Spinner: Take the padding into account correctly.
2021-03-08 09:32:32 +01:00
gambas
f372d05b5a TreeView fixes. Draw Frame border without inner margin.
[GB.GUI.BASE]
* NEW: Frame: Draw border without inner margin.
* OPT: ProgressBar: Use the new UserControl pseudo-events instead of an embedded DrawingArea.
* NEW: TreeView: Draw is a new event that allows to override default tree item drawing.
* NEW: TreeView: Indent is a new property that returns the indent width.
* NEW: TreeView: TreeView item has a new Depth property that returns the depth of the item.
* BUG: TreeView: Collapsing an item does not scroll the view to the current selected item anymore.
2021-03-08 09:29:25 +01:00
Brian G
d7f8f55d8f [Scripter]
* BUG: Fix - verbose listing error
* BUG: Fix - Terse listing when verbose
* BUG: Fix - does not correctly handle fast unsafe sub when not public
* BUG: Fix - Incorrectly handles circular included when it its self
2021-03-07 17:15:41 -08:00
Brian G
a17fbcd8b4 [Scripter]
* NEW Updated man pages for gbs3 for march 2021
2021-03-07 16:59:30 -08:00
gambas
8dc5116e3e TerminalView: Use a bit more readable yellow colors.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Use a bit more readable yellow colors.
2021-03-08 00:05:38 +01:00
gambas
768a928dd3 UserControl: Support for the 'Change' pseudo event. Use the new GB_FUNCTION structure to optimize support of UserControl_* pseudo event handlers.
[GB.GTK]
* NEW: UserControl: Support for the 'Change' pseudo event.
* OPT: UserControl: Use the new GB_FUNCTION structure to optimize support of UserControl_* pseudo event handlers.

[GB.GTK3]
* NEW: UserControl: Support for the 'Change' pseudo event.
* OPT: UserControl: Use the new GB_FUNCTION structure to optimize support of UserControl_* pseudo event handlers.

[GB.QT4]
* NEW: UserControl: Support for the 'Change' pseudo event.
* OPT: UserControl: Use the new GB_FUNCTION structure to optimize support of UserControl_* pseudo event handlers.

[GB.QT5]
* NEW: UserControl: Support for the 'Change' pseudo event.
* OPT: UserControl: Use the new GB_FUNCTION structure to optimize support of UserControl_* pseudo event handlers.
2021-03-08 00:02:32 +01:00
gambas
d5c59c123c Change the GB_FUNCTION structure so that it stores the index of the method instead of its description pointer.
[INTERPRETER]
* NEW: Change the GB_FUNCTION structure so that it stores the index of the method instead of its description pointer.

[GB.DATA]
* OPT: The new GB_FUNCTION structure allows to reduce the size of the GRAPH_DESC structure.
2021-03-07 23:51:12 +01:00
gambas
c0f89bbfb1 Merge branch 'master' of gitlab.com:gambas/gambas 2021-03-07 21:12:51 +01:00
gambas
12e5d9a79d Don't use a recent GLib API that is actually not needed.
[GB.GTK]
* BUG: Don't use a recent GLib API that is actually not needed.

[GB.GTK3]
* BUG: Don't use a recent GLib API that is actually not needed.
2021-03-07 21:12:11 +01:00
Benoît Minisini
e28a981fb6 Merge branch 'ScripterBugFixes' into 'master'
[Scripter]

See merge request gambas/gambas!201
2021-03-07 18:33:49 +00:00
Brian G
549cb64e49 Fix #Script analyze. Fix reported version. Fix FAST UNSAFE keywords generation.
[SCRIPTER]
* BUG: Fix english mistakes.
* BUG: Update For Highlight now made #Script Keyword fix.
* BUG: FAST UNSAFE not correctly generated in lazy script.
* BUG: Remove '-Test' from end of version number.
* OPT: Cleanup reader order for unsafe.
2021-03-07 18:33:48 +00:00
gambas
07521bf36c Merge branch 'master' of gitlab.com:gambas/gambas 2021-03-07 09:21:56 +01:00
gambas
92dabe8644 Code editor: Fix color detection for some color patterns.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix color detection for some color patterns.
* BUG: Version control: Don't show modified lines on history editors.
* BUG: Debug panel: The close button has an opaque background now.
2021-03-07 09:21:46 +01:00
gambas
daef91b84d Label: Caption is a synonymous of Text as before.
[GB.GUI.BASE]
* BUG: Label: Caption is a synonymous of Text as before.
2021-03-07 09:19:49 +01:00
gambas
78cb8d35e6 TextEditor: Text wrapping now adapts its frequency to the computer speed.
[GB.FORM.EDITOR]
* OPT: TextEditor: Text wrapping now adapts its frequency to the computer speed.
2021-03-07 01:31:17 +01:00
Tobias Boege
fd76960c0d Update AUTHORS
[CONFIGURATION]
* NEW: Update my AUTHORS entry.
2021-03-06 23:51:43 +01:00
gambas
87ed822b2b Fix deferred control deletion.
[GB.GTK]
* BUG: Fix deferred control deletion.

[GB.GTK3]
* BUG: Fix deferred control deletion.
2021-03-06 23:42:49 +01:00
gambas
50db463077 Support for '#Script' preprocessor keyword.
[COMPILER]
* NEW: Support for '#Script' preprocessor keyword.

[GB.EVAL]
* NEW: Support for '#Script' preprocessor keyword.
2021-03-06 22:18:15 +01:00
gambas
b7343997e1 Sort AUTHORS file by name and by contribution type (developer, example developer, translator). Remove general contributions like "bug fixes" or "testing", and rewrite fuzzy ones.
[CONFIGURATION]
* NEW: Sort AUTHORS file by name and by contribution type (developer, example developer, translator). Remove general contributions like "bug fixes" or "testing", and rewrite fuzzy ones.
2021-03-06 16:21:50 +01:00
Benoît Minisini
02a55d22a6 Merge branch 'bsteers4-master-patch-13824' into 'master'
Update AUTHORS

See merge request gambas/gambas!200
2021-03-06 14:59:47 +00:00
Bruce Steers
80bd87976a Update AUTHORS 2021-03-06 14:19:00 +00:00
Christof Thalhofer
5147c8fbea Jussi in AUTHORS also gambas3-selftest 2021-03-06 15:08:13 +01:00
Christof Thalhofer
97e67b9481 gb.test use dot instead of colon in TAP output
[GB.TEST]
* OPT: Use dot instead of colon in TAP output for testmodule.testmethod
2021-03-06 14:14:58 +01:00
Christof Thalhofer
8d94735cd4 Merge branch 'master' of https://gitlab.com/gambas/gambas 2021-03-06 13:19:07 +01:00
Christof Thalhofer
6e2105f4d1 Jussis GambasTester as gambas selftest
[DEVELOPMENT ENVIRONMENT]
* NEW: Jussis GambasTester adapted to gb.test as Gambas selftest.
2021-03-06 13:17:39 +01:00
gambas
444a3d851c Fix english and typos in usage files.
[SCRIPTER]
* BUG: Fix english and typos in usage files.
* BUG: Fix a bailout message in test suite.
2021-03-06 13:17:35 +01:00
gambas
1656bfa06c Test.BailOut() now raises an error to quit later, instead of quitting immediately, to avoid circular references warning.
[GB.TEST]
* NEW: Test.BailOut() now raises an error to quit later, instead of quitting immediately, to avoid circular references warning.
2021-03-06 13:17:35 +01:00
Brian G
7fa5049110 [SCRIPTER]
* New: Broken Down Into Easy Unit Test Targets
* OPT: Now 10-20 times faster for simple scripts
* OPT: Cleanup error handling and reporting code
* NEW: Added errors if user tries to use Public or struct without main
* NEW: Global variable now are moved to context that is shared
* OPT: Modules have been configured to only load when used
* NEW: #include is now supported as well as include
* NEW: It is possible to include more that one file per line
* NEW: Error/warning  handling is moved to seperate modules
2021-03-06 13:17:35 +01:00
gambas
9e35736a04 Code editor: Color insertion automatically detects the color under the cursor and highlights it, so that it will be replaced if the dialog inserts a new color.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Color insertion automatically detects the color under the cursor and highlights it, so that it will be replaced if the dialog inserts a new color.
2021-03-06 13:17:35 +01:00
gambas
ffe87b6074 Tabs and newlines are now replaced by spaces inside error messages. Otherwise the debugger breaks.
[GB.DEBUG]
* BUG: Tabs and newlines are now replaced by spaces inside error messages. Otherwise the debugger breaks.
2021-03-06 13:17:35 +01:00