Commit graph

3127 commits

Author SHA1 Message Date
Benoît Minisini
7ae6634069 Merge branch 'scripterupdatesfixes' into 'master'
[Scripter] - Prepare for component and bug fixes

See merge request gambas/gambas!235
2021-06-18 20:18:12 +00:00
Brian G
5ee39e174a [Scripter]
* Bug Some changes from bugs found in loading the scripter as component
2021-06-18 12:49:43 -07:00
Brian G
edaac17558 [Scripter]
* OPT Text Doc change
2021-06-17 11:42:31 -07:00
Brian G
968eee59b3 [Scripter]
* NEW Added ability for user to define special plugin properties to be quieried at runtime
2021-06-17 11:29:41 -07:00
Brian G
c968d321c9 [Scripter]
* NEW Reconfigure Classes and module in prep for seperate gb.scripter component
* NEW As Plugin : Plugins to be run from file or textbuffer
* NEW As Plugin : Scripts can be executed from file or textbuffer
* NEW as Plugin : User can provide Post and pre Process Callbacks on entire program
* NEW as Plugin : User can provide pre process CallBack for each line of code
* NEW as PLIGIN : User can define Aliases for program text, single, parameterized, multiline replacements
* OPT as PLUGIN : Line PreProcess callbacks are called before Alias processing
* BUG End sub incorrectly processing inside class definitions in some cases
* OPT Minor change to bypass processing of blank and null lines
* NEW Add UnitTest for all new plugin features
* BUG fix some unit tests which would fail due to incorrect reset of environment
* OPT Add Documentation to most file for conversion to component
2021-06-17 11:04:57 -07:00
gambas
899c3138e2 Handle the ".[]" syntax in method signature popup. A few enhancements in the procedure popup.
[DEVELOPMENT ENVIRONMENT]
* NEW: Procedure popup: Underline the startup method in the procedure list.
* NEW: Procedure popup: Don't show the "STATIC" button in a module.
* NEW: Code editor: The ".[]" syntax is now handled when displaying method signatures.
2021-06-16 23:26:03 +02:00
gambas
f8c9e5b8f8 Translation dialog: Add two buttons for finding the first and the last untranslated string.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add two buttons for finding the first and the last untranslated string.
* NEW: Update French translation.
2021-06-16 03:27:53 +02:00
gambas
c59ae913b6 Merge branch 'master' of gitlab.com:gambas/gambas 2021-06-16 01:55:10 +02:00
gambas
a6a47e5882 Project tree: Use the new 'inheritance' stock icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Use the new 'inheritance' stock icon.
2021-06-16 01:53:42 +02:00
Benoît Minisini
2bd8b62f7b Merge branch 'ScripterExternDefBug' into 'master'
[Scripter]

See merge request gambas/gambas!234
2021-06-15 16:13:25 +00:00
gambas
4f6107e443 Fix documentation of embedded arrays, structures and embedded arrays of structures.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix documentation of embedded arrays, structures and embedded arrays of structures.
2021-06-15 16:45:35 +02:00
gambas
eb941620bf Fix autocompletion of embedded arrays of structures.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix autocompletion of embedded arrays of structures.
* BUG: Debugger panel: Do not show the output console automatically if there is an error.
2021-06-15 11:05:37 +02:00
Brian G
88367440fc [Scripter]
* BUG Fix EXTERN definitions correctly outside generated main() definition in lazy scripts(no main)
* BUG Fix Ensure externs are after all structures in lazy script(no main)
* BUG Fix Enum and Const to be outside before Structures in lazy scripts(no main)
* NEW Added two new testscripts to project to test structures and externs with and without main() defined
2021-06-14 17:21:02 -07:00
gambas
1ff8787721 Add a button in the project tree that opens the startup class.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Add a button in the project tree that opens the startup class.
2021-06-15 02:10:05 +02:00
gambas
e143bc65c7 Debugger panel: Use a label to show the current error. Make the expression watch panel bigger.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger panel: Use a label to show the current error. Do not use a balloon anymore.
* NEW: Debugger panel: The expression watch panel is now bigger.
2021-06-15 02:00:53 +02:00
gambas
2cf8ae5578 Update support file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update support file.
2021-06-15 01:32:24 +02:00
gambas
81cf09199b Fix incorrect Turkish translation file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix incorrect Turkish translation file.
2021-06-15 01:20:41 +02:00
Christof Thalhofer
453f61ed7e gambas3-selftest script run.sh with 'fast' option
[DEVELOPMENT ENVIRONMENT]
*OPT: gambas3-selftest script run.sh with 'fast' option
2021-06-13 23:02:41 +02:00
Benoît Minisini
419b92a1d5 Merge branch 'ScripterStaticFix' into 'master'
* NEW Add support for STATIC def within a function

See merge request gambas/gambas!233
2021-06-13 20:32:46 +00:00
Benoît Minisini
5f3e7f0c62 Merge branch 'tr_update' into 'master'
Update Turkish Translation

See merge request gambas/gambas!229
2021-06-13 20:30:03 +00:00
Brian G
c7303759f8 * NEW Add support for STATIC def within a function 2021-06-12 19:26:00 -07:00
gambas
fff860d387 Packager wizard: Add a button for opening the target folder.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager wizard: Add a button for opening the target folder.
* BUG: Packager wizard: Fix the message label displayed during package creation.
* NEW: Update French translation.
2021-06-06 00:26:31 +02:00
gambas
32336a6780 Project open dialog: Add 'Examples' and 'Installed software' tabs.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project open dialog: Add 'Examples' and 'Installed software' tabs.
2021-06-05 23:40:47 +02:00
gambas
c8ccbb982a Debugger: Fix buttons of expression windows.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Form editor: Placeholder property is now actually translatable.
* NEW: Debugger: Use the Placeholder property for the watch expression field.
* NEW: Debugger: Disable watch expression buttons when they should be.
2021-06-04 21:42:21 +02:00
gambas
2450664d5e Some fixes in watched expressions management.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Debugger: Watched expressions are correctly initialized when debugging start now.
* BUG: Debugger: Display a placeholder text to show where watched expressions must be typed.
2021-06-04 20:29:59 +02:00
gambas
5bbacc56fc Debugger: Fix buttons of expression windows.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Debugger: Fix buttons of expression windows.
* BUG: Remove some unused variables.
2021-06-04 14:25:43 +02:00
gambas
89de78698c Fix watched expression management.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Save watched expressions.
* BUG: Debugger: Removing an expression removes also its watch.
2021-06-03 00:37:18 +02:00
gambas
486937b358 Code editor: Take static local variables declaration into account in automatic variable declaration.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Take static local variables declaration into account in automatic variable declaration.
2021-06-03 00:14:31 +02:00
gambas
e22ccad29a Correctly handle compiler output now it compiles several files at the same time.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle compiler output now it compiles several files at the same time.
2021-05-28 01:59:07 +02:00
gambas
e7a91689c3 Debugger: Fix display of breakpoints and watched expressions icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Fix display of breakpoints and watched expressions icons.
2021-05-27 02:15:29 +02:00
Benoît Minisini
ad2c2046e8 Merge branch 'FixIssueWithClassNotRecognized' into 'master'
[Scripter] Update to support class parameter as datatype not symbol

See merge request gambas/gambas!231
2021-05-26 01:47:47 +00:00
gambas
c9d0751166 Add new command-line option '--system-information' for displaying system information on the standard output.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Draw values that change the same way in the debug panel and in the debug windows.
* NEW: Add new command-line option '--system-information' for displaying system information on the standard output.
2021-05-26 03:46:55 +02:00
Brian G
970e527ac7 [Scripter]
* FIX: Gambas parameter to class changed to datatype from symbol, support both now
2021-05-25 17:00:18 -07:00
gambas
8cf76955ff Form editor: Do not crash if a control in "_Similar" does not exist, and fix the coherency test on "_DrawWith" property.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Do not crash if a control in "_Similar" does not exist.
* BUG: Form editor: Fix the coherency test on "_DrawWith" property.
2021-05-25 22:40:05 +02:00
gambas
0bf8f99f28 Add a "save as" action to text and image editors.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Add a "save as" action.
* NEW: Image editor: Add a "save as" action.
2021-05-25 01:16:38 +02:00
gambas
769bd18c2c Help browser: Handle the "wiki://" links through the Error event.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Handle the "wiki://" links through the Error event.
2021-05-24 21:43:03 +02:00
gambas
e105acb841 Debugger: The debugger now can stop when the value of a watched expression changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: The debugger now can stop when the value of a watched expression changes.
* NEW: Debugger: Modified expressions are now displayed with an highlighted background.
* NEW: Debugger: Add a button to explicitly remove all watched expressions.
* NEW: Update French translation.
2021-05-24 15:38:07 +02:00
gambas
db5e7bb907 Welcome window: Fix the drawing of the close button of project boxes displayed in single column.
[DEVELOPMENT ENVIRONMENT]
* BUG: Welcome window: Fix the drawing of the close button of project boxes displayed in single column.
2021-05-23 23:56:46 +02:00
gambas
8fe3fdf811 Handle "EXPORT TO DEFAULT" syntax correctly.
[DEVELOPMENT ENVIRONMENT]
* BUG: Handle "EXPORT TO DEFAULT" syntax correctly.
* NEW: New flag icon for untranslated classes.
2021-05-21 17:10:00 +02:00
gambas
b9c006ec72 Namespace support continued.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Support of new EXPORT syntaxes.
* NEW: When reading '.info' files, automatically replace local class names by exported names in signature.
* NEW: Project property dialog: add an option to define the project default namespace.
* NEW: Project property dialog: component requirements and exclusions are now displayed in two different columns.
2021-05-21 16:53:47 +02:00
Hasan Merkit
746c3c8312 Update Turkish Translation
"second" is not "saniye". Wrong translation changed.
Added more translations.
2021-05-18 11:46:20 +00:00
gambas
0e78042e07 Initial implementation of class namespaces.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Support of the new '.list' file format.
* NEW: Support of the new EXPORT AS syntax.
* NEW: Update error messages.

[COMPILER]
* NEW: EXPORT AS is a new syntax for exporting a class with a specific name that can include a namespace.
* NEW: New header file to start sharing reader code with the 'gb.eval' component.
* NEW: Class names can include a colon. The part before the colon is assumed to be a namespace.

[INTERPRETER]
* NEW: Classes exported in a namespace are now declared both in the global symbol table and in the local symbol table of their component.
* NEW: Class names are now allocated inside the symbol tables, and not in the class objects anymore.

[GB.EVAL]
* NEW: Share some reader code with the compiler.
2021-05-18 02:12:33 +02:00
gambas
a22be6a4b4 Translation dialog: Do not use sorted ComboBoxes for choosing languages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: Do not use sorted ComboBoxes for choosing languages, as Qt and GTK+ do not sort the same way, and it breaks the behaviour of the dialog when using GTK+3.
2021-05-12 23:36:45 +02:00
gambas
8ca02c7895 Translation dialog: The "copy all translations" menu works correctly now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: The "copy all translations" menu works correctly now.
* BUG: Translation dialog: Use an explicit background for the untranslated string TextArea, because transparent background does not work with GTK+.
2021-05-12 21:56:36 +02:00
gambas
7d9188d6e7 Use the new compiler options flags.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use the new compiler options flags.
2021-05-12 06:34:31 +02:00
gambas
184e21e586 Prevent infinite redirection with "==>", and update IDE dependencies.
[WIKI]
* NEW: Update IDE dependencies.
* BUG: Prevent infinite redirection with "==>".
2021-05-11 03:55:25 +02:00
gambas
9f3319a8f2 Search dialog: Replace message boxes by a label, and fix title update.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Replace message boxes by a label.
* BUG: Search dialog: The title now correctly follows the current tab title.
2021-05-11 03:53:55 +02:00
gambas
8d05d066d9 Update Turkish Translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Turkish Translation.
2021-05-08 01:19:56 +02:00
gambas
2f92ae8ef9 Fix variables prefixes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix variables prefixes.
2021-05-07 22:27:59 +02:00
gambas
0e7773b112 Project properties dialog: Add a button to enable variable prefix check compilation flag.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Add a button to enable variable prefix check compilation flag.
* BUG: Rename some variables whose datatype prefix was incorrect.
2021-05-07 20:03:59 +02:00