Commit graph

9555 commits

Author SHA1 Message Date
gambas
e1202bad7e Array.Read() and Array.Write() now check their stream argument instead of crashing if it is NULL.
[INTERPRETER]
* BUG: Array.Read() and Array.Write() now check their stream argument instead of crashing if it is NULL.
2021-06-10 02:27:09 +02:00
gambas
8a191771ec Fix Mouse.Button and Mouse.State, especially for mouses having more than 3 buttons.
[GB.GTK]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.
* BUG: Mouse.State returns the same thing as with Qt components, except that apparently GTK+ cannot tell if button 4 and 5 are pressed all the time.

[GB.GTK3]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.
* BUG: Mouse.State returns the same thing as with Qt components, except that apparently GTK+ cannot tell if button 4 and 5 are pressed all the time.

[GB.QT4]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.

[GB.QT5]
* BUG: Now Mouse.Button returns the button number, between 1 and 5.
2021-06-10 02:10:09 +02:00
gambas
c42a80d20f Don't try to call the "before fork" library handler if the library is not yet loaded.
[INTERPRETER]
* BUG: Don't try to call the "before fork" library handler if the library is not yet loaded.
2021-06-07 23:53:16 +02: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
49dc9b051b Fix JIT function calls and add Jit.Enabled property.
[INTERPRETER]
* BUG: Calling a JIT function from a class having a ':' in its name works correctly now.
* NEW: Jit.Enabled is a new property that allows to temporarily deactivate the JIT compiler.
2021-06-05 14:29:58 +02:00
gambas
b4a13cb831 Reset the internal Qt5 thread pool before forking.
[GB.QT5]
* BUG: Reset the internal Qt5 thread pool before forking.
2021-06-05 03:13:39 +02:00
gambas
67d266d79b Call an optional fork helper in each loaded component libraries before starting a task.
[INTERPRETER]
* NEW: Call an optional fork helper in each loaded component libraries before starting a task.
2021-06-05 03:11:54 +02:00
gambas
c2ee03d50b FileChooser: Correctly restore the ShowDetailed property from settings.
[GB.FORM]
* BUG: FileChooser: Correctly restore the ShowDetailed property from settings.
2021-06-04 23:34:30 +02:00
gambas
51a744b4ef File dialog geometry is now correctly saved when Dialog.Key is not set.
[GB.FORM.DIALOG]
* BUG: File dialog geometry is now correctly saved when Dialog.Key is not set.
2021-06-04 23:31:19 +02:00
gambas
878458619b Fix compilation of last warning removals.
[GB.QT5]
* BUG: Fix compilation of last warning removals.
2021-06-04 22:45:42 +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
5dcb72bfea Fix some Qt5 warnings.
[GB.QT5]
* BUG: Fix some Qt5 warnings.
2021-06-04 21:23:18 +02:00
gambas
7adc74b454 Add Placeholder to the list of ComboBox control properties.
[GB.GTK]
* BUG: Add Placeholder to the list of ComboBox control properties.

[GB.QGTK3]
* BUG: Add Placeholder to the list of ComboBox control properties.

[GB.QT4]
* BUG: Add Placeholder to the list of ComboBox control properties.

[GB.QT5]
* BUG: Add Placeholder to the list of ComboBox control properties.
2021-06-04 21:22:14 +02:00
gambas
5bf0f7f267 TextBox & ComboBox: Fix declaration of new Cursor event.
[GB.QT4]
* BUG: TextBox & ComboBox: Fix declaration of new Cursor event.

[GB.QT5]
* BUG: TextBox & ComboBox: Fix declaration of new Cursor event.
2021-06-04 21:09:00 +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
c448acd69e TextBox & ComboBox now raise a Cursor event when the cursor moves.
[GB.GTK]
* NEW: TextBox & ComboBox now raise a Cursor event when the cursor moves.

[GB.GTK3]
* NEW: TextBox & ComboBox now raise a Cursor event when the cursor moves.

[GB.QT4]
* NEW: TextBox & ComboBox now raise a Cursor event when the cursor moves.

[GB.QT5]
* NEW: TextBox & ComboBox now raise a Cursor event when the cursor moves.
2021-06-04 20:26:16 +02:00
gambas
fcff765e08 File dialog: Handle the case when AutoExt is TRUE and Filter is void.
[GB.FORM.DIALOG]
* BUG: File dialog: Handle the case when AutoExt is TRUE and Filter is void.
2021-06-04 20:25:15 +02:00
gambas
0c837ba9f1 Fix new gcc compiler warning.
[GB.QT4]
* BUG: Fix new gcc compiler warning.

[GB.QT5]
* BUG: Fix new gcc compiler warning.
2021-06-04 20:16:02 +02:00
gambas
2c73795c31 Take ':' inside identifiers into account by replacing them by '$'.
[GB.JIT]
* BUG: Take ':' inside identifiers into account by replacing them by '$', which is allowed in C identifiers.
2021-06-04 14:28:05 +02:00
gambas
ac52cdc447 The first time an watched expression has a value does not trigger a breakpoint anymore.
[GB.DEBUG]
* NEW: The first time an watched expression has a value does not trigger a breakpoint anymore.
2021-06-04 14:27:53 +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
dbd2bb3a27 Make 'gb.pdf' compile with poppler 21.06.0.
[GB.PDF]
* BUG: Make 'gb.pdf' compile with poppler 21.06.0.
2021-06-03 00:44:42 +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
e0434b8814 Fix compilation of local static identifier access.
[COMPILER]
* BUG: Fix compilation of local static identifier access.
2021-06-02 09:59:11 +02:00
gambas
912d228f44 Remove a debugging message.
[COMPILER]
* BUG: Remove a debugging message.
2021-06-02 02:33:40 +02:00
gambas
fdf445042b Fix initialization of static local variables.
[COMPILER]
* BUG: Fix initialization of static local variables.
2021-06-02 00:04:15 +02:00
gambas
5a273a8494 Disable debugging messages.
[COMPILER]
* BUG: Disable debugging messages.
2021-06-01 23:49:31 +02:00
gambas
8a8b470c5a 'STATIC' keyword can be used instead of 'DIM' for declaring local static variables.
[COMPILER]
* NEW: 'STATIC' keyword can be used instead of 'DIM' for declaring local static variables.

[INTERPRETER]
* NEW: Support for local static variables.

[GB.DEBUG]
* NEW: Support for local static variables.
2021-06-01 23:12:55 +02:00
gambas
e3af76ce15 Fix management of watched expressions.
[GB.DEBUG]
* BUG: Fix comparison routine of watched expressions.
* BUG: Initialize the stack context correctly when checking watched expressions.
2021-06-01 18:14:54 +02:00
gambas
e4dffc8ae8 And, Or and Xor operators now correctly raise an error if they deal with Single or Float values.
[INTERPRETER]
* BUG: And, Or and Xor operators now correctly raise an error if they deal with Single or Float values.
* OPT: And, Or and Xor operators should be a bit faster.
2021-05-31 23:25:03 +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
627afc0c90 SystemTray: Update example to follow the new behaviour of X11Systray class.
[EXAMPLES]
* BUG: SystemTray: Update example to follow the new behaviour of X11Systray class.
2021-05-27 04:15:39 +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
f5e0934089 ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
[GB.GUI.BASE]
* BUG: ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
2021-05-25 23:13:41 +02: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
212d0bdcb5 Forgot to comment a debugging variable declaration.
[GB.GTK3.WEBVIEW]
* BUG: Forgot to comment a debugging variable declaration.
2021-05-24 21:53:59 +02:00
gambas
ee51a4a1cf Spinner: Make the "Circle" spinner less dark.
[GB.FORM]
* NEW: Spinner: Make the "Circle" spinner less dark.
2021-05-24 21:45:54 +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
866b512e0e Try to make Qt5 and GTK+3 webview raise their events the same way when loading pages.
[GB.GTK3.WEBVIEW]
* BUG: Try to make Qt5 and GTK+3 webview raise their events the same way when loading pages.

[GB.QT5.WEBVIEW]
* BUG: Try to make Qt5 and GTK+3 webview raise their events the same way when loading pages.
2021-05-24 21:33:57 +02:00
gambas
c11b8d54e0 ListBox: Use a natural sort for sorting the ListBox contents.
[GB.GUI.BASE]
* BUG: ListBox: Use a natural sort for sorting the ListBox contents.
2021-05-24 19:48:19 +02:00
gambas
e1073f8b80 The 'language' stock icon is now orange.
[GB.FORM.STOCK]
* NEW: The 'language' stock icon is now orange.
2021-05-24 15:38:32 +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
65eff9e732 The debugger now can watch expressions, and stop when their value changes.
[INTERPRETER]
* NEW: Support for expression watches.

[GB.DEBUG]
* NEW: Add new command for watching expressions, i.e. stopping the debugger when the value of an expressions changes.
2021-05-24 15:34:37 +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