Commit graph

11068 commits

Author SHA1 Message Date
Benoît Minisini
daeea0f6c6 Project tree: The import file menu comes back.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: The import file menu comes back.
2023-04-01 12:52:30 +02:00
Benoît Minisini
c5f803b410 New wiki look.
[WIKI]
* NEW: New wiki look.
* NEW: Adapt to the last changes in 'gb.markdown'.
2023-03-31 22:05:27 +02:00
Benoît Minisini
592e96bbdb Do not start table cells with <p></p>.
[GB.MARKDOWN]
* BUG: Do not start table cells with `<p></p>`.
2023-03-31 16:54:01 +02:00
Benoît Minisini
1aba300f7c Fix titles between '[' and ']'.
[GB.MARKDOWN]
* BUG: Fix titles between '[' and ']'.
2023-03-31 13:54:41 +02:00
Benoît Minisini
fa4fb4d32b 'TextHighlighter.ToHTML()' does not emit a void line at the beginning anymore.
[GB.EVAL.HIGHLIGHT]
* BUG: 'TextHighlighter.ToHTML()' does not emit a void line at the beginning anymore.
2023-03-31 13:35:15 +02:00
Benoît Minisini
8daa1d2870 Use <p> alone with </p>, so that no forbidden markup is emitted between them.
[GB.MARKDOWN]
* BUG: Use `<p>` alone with `</p>`, so that no forbidden markup is emitted between them.
2023-03-31 13:03:31 +02:00
Benoît Minisini
4a2e906910 Update financial support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support.
2023-03-30 23:48:32 +02:00
Benoît Minisini
8b6affd289 Remove the undocumented 'Container.Dirty' property.
[GB.GTK]
* BUG: Remove the undocumented 'Container.Dirty' property.

[GB.GTK3]
* BUG: Remove the undocumented 'Container.Dirty' property.

[GB.QT4]
* BUG: Remove the undocumented 'Container.Dirty' property.

[GB.QT5]
* BUG: Remove the undocumented 'Container.Dirty' property.
2023-03-30 23:46:58 +02:00
Benoît Minisini
4e9a508b92 Debugger configuration dialog: Environment menu entries must not be translated.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger configuration dialog: Environment menu entries must not be translated.
2023-03-29 20:48:25 +02:00
Benoît Minisini
1e54fd3863 Display an error message when sending a project by mail fails, instead of crashing.
[DEVELOPMENT ENVIRONMENT]
* BUG: Display an error message when sending a project by mail fails, instead of crashing.
2023-03-29 20:46:57 +02:00
Benoît Minisini
2e42435763 Update to the last development version of 'litehtml' library.
[GB.FORM.HTMLVIEW]
* NEW: Update to the last development version of 'litehtml' library.
2023-03-29 19:48:03 +02:00
Benoît Minisini
2692de20a4 Form editor: Really do not apply properties defined in a class of the project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Really do not apply properties defined in a class of the project.
* BUG: Help viewer: Fix the CSS of the '<H1>' titles of offline help.
2023-03-29 16:53:31 +02:00
Benoît Minisini
06a1d2e33d 'Eval()' now can evaluate several expressions at once, provided that they are separated by newlines. The value of the last expression is returned.
[INTERPRETER]
* NEW: Support for the new Eval() feature.

[GB.EVAL]
* NEW: 'Eval()' now can evaluate several expressions at once, provided that they are separated by newlines. The value of the last expression is returned.
* NEW: 'Eval()' now returns NULL if its last expression returns nothing.
2023-03-29 12:16:47 +02:00
Benoît Minisini
f6497d2e00 SwitchButton: Smaller button and better use of system colors.
[GB.FORM]
* NEW: SwitchButton: Smaller button and better use of system colors.
2023-03-28 23:12:21 +02:00
Benoît Minisini
f11f56a5df Automatic completion: Fix variable detection in PROPERTY...USE syntax.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Fix variable detection in PROPERTY...USE syntax.
2023-03-28 19:08:53 +02:00
Benoît Minisini
b7cf250746 System information dialog: Display the version of SDL2, not SDL.
[DEVELOPMENT ENVIRONMENT]
* NEW: System information dialog: Display the version of SDL2, not SDL.
* NEW: Make the SwichButtons a bit smaller.
2023-03-28 16:56:50 +02:00
Benoît Minisini
3a4d25be15 TreeView, ColumnView, ListView: Fix right-to-left language support.
[GB.GUI.BASE]
* BUG: TreeView, ColumnView, ListView: Fix right-to-left language support.
2023-03-28 12:09:59 +02:00
Benoît Minisini
aa6d17cb07 TextEditor: Fix the documentation of 'FindNextString()' and 'FindPreviousString()' methods.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the documentation of 'FindNextString()' and 'FindPreviousString()' methods.
2023-03-27 23:04:07 +02:00
Benoît Minisini
af315d1914 Merge branch 'bsteers4-master-patch-34180' into 'master'
Update TextEditor.class, FindNextStringInLine() searches same line for srtring

See merge request gambas/gambas!300
2023-03-27 20:57:54 +00:00
Bruce Steers
59a5aa72c1 Update TextEditor.class, FindNextStringInLine() searches same line for srtring 2023-03-27 20:57:54 +00:00
Benoît Minisini
9ed290f1fc Fix 'debian-unstable' in gitlab CI configuration file. 2023-03-27 03:58:44 +02:00
Benoît Minisini
76772369be Form editor: Do not apply properties defined in a class of the project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Do not apply properties defined in a class of the project.
2023-03-27 02:36:22 +02:00
Benoît Minisini
d42aad3a65 'Object.Data()' is a new method that returns the address of the data of an object.
[INTERPRETER]
* NEW: 'Object.Data()' is a new method that returns the address of the data of an object.
2023-03-27 00:51:44 +02:00
Benoît Minisini
38519f8b3e Alloc() now fills the allocated memory with zeros when used with two arguments.
[INTERPRETER]
* NEW: Alloc() now fills the allocated memory with zeros when used with two arguments.
2023-03-25 01:12:02 +01:00
Benoît Minisini
2f81de1876 When using an intermediate temporary stream, copy the behaviour flags from the original stream.
[INTERPRETER]
* BUG: When using an intermediate temporary stream, copy the behaviour flags from the original stream.
2023-03-24 21:26:45 +01:00
Benoît Minisini
7cd804982b Fix a test that leads to a crash when gcc optimizations are enabled.
[INTERPRETER]
* BUG: Fix a test that leads to a crash when gcc optimizations are enabled.
2023-03-24 20:57:42 +01:00
Benoît Minisini
30c5e0af42 Add implicit conversion of Boolean, Byte and Short values into Pointer.
[INTERPRETER]
* NEW: Add implicit conversion of Boolean, Byte and Short values into Pointer.
2023-03-20 23:31:51 +01:00
Benoît Minisini
7653d34760 WebComboBox: In read-only mode, ensure that no item is selected if the 'Index' property is negative.
[GB.WEB.GUI]
* BUG: WebComboBox: In read-only mode, ensure that no item is selected if the 'Index' property is negative.
2023-03-19 22:56:21 +01:00
Benoît Minisini
f0fc89f5fa The 'Drop' property of editing controls (TextBox, TextArea...) is now TRUE by default.
[GB.GTK]
* NEW: The 'Drop' property of editing controls (TextBox, TextArea...) is now TRUE by default.

[GB.GTK3]
* NEW: The 'Drop' property of editing controls (TextBox, TextArea...) is now TRUE by default.

[GB.QT4]
* NEW: The 'Drop' property of editing controls (TextBox, TextArea...) is now TRUE by default.

[GB.QT5]
* NEW: The 'Drop' property of editing controls (TextBox, TextArea...) is now TRUE by default.
2023-03-19 20:42:01 +01:00
Benoît Minisini
d4ed656604 Project properties dialog: Add the environment popup menu from the debugger configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Add the environment popup menu from the debugger configuration dialog.
* NEW: Debugger configuration dialog: Add some useful environment variables to the popup menu.
2023-03-18 09:00:46 +01:00
Benoît Minisini
d233680a8f Project browser: The 'Open', 'Open with', 'Properties' and 'Version control' popup menu actions now work as expected.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project browser: The 'Open', 'Open with', 'Properties' and 'Version control' popup menu actions now work as expected.
2023-03-18 08:28:04 +01:00
Benoît Minisini
196f43e3c2 FileView: Do not disable the file watch when the control is hidden, but when the control is detached from its parent.
[GB.FORM]
* BUG: FileView: Do not disable the file watch when the control is hidden, but when the control is detached from its parent.
2023-03-18 08:22:19 +01:00
Benoît Minisini
0e776ee5ca Project properties dialog: Add a new tab that allows to define a list of environment variables that will be set at startup.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Add a new tab that allows to define a list of environment variables that will be set at startup.
* NEW: Use the 'news' stock icon for representing environment variables.
2023-03-18 01:38:58 +01:00
Benoît Minisini
44bdb9486f Support for environment variables set at startup.
[INTERPRETER]
* NEW: Set environment variables at startup from the '.environment' file.

[COMPILER]
* NEW: Generate the '.environment' files with the list of environment variables that must be set at startup.

[ARCHIVER]
* NEW: Add the '.environment' file to the archive.
2023-03-18 01:36:19 +01:00
Benoît Minisini
d44be704d3 Sending a void line to the debugger repeats the last command only if the debugger is run from the command line.
[GB.DEBUG]
* NEW: If the 'GB_DEBUG_DEBUG' environment variable is '1', then a message is printed each time the debugger fifo fails and must be reopened.
* NEW: Sending a void line to the debugger repeats the last command only if the debugger is run from the command line.
2023-03-18 01:34:22 +01:00
Benoît Minisini
798b936775 Do not mix arrangement flags and user control flag in the Container implementation.
[GB.GTK]
* BUG: Do not mix arrangement flags and user control flag in the Container implementation.

[GB.GTK3]
* BUG: Do not mix arrangement flags and user control flag in the Container implementation.

[GB.QT4]
* BUG: Do not mix arrangement flags and user control flag in the Container implementation.

[GB.QT5]
* BUG: Do not mix arrangement flags and user control flag in the Container implementation.
2023-03-17 21:12:44 +01:00
Benoît Minisini
e550a4e76e SwitchButton: Little enhancements in the drawing routine.
[GB.FORM]
* NEW: SwitchButton: Little enhancements in the drawing routine.
2023-03-17 16:14:43 +01:00
Benoît Minisini
c5ef568a03 ScrollArea: Implement the Border property with the new 'UserContainer_Draw' special event handler, so that DnD is not broken on GTK+2.
[GB.GUI.BASE]
* NEW: ScrollArea: Implement the Border property with the new 'UserContainer_Draw' special event handler, so that DnD is not broken on GTK+2.
2023-03-17 15:59:01 +01:00
Benoît Minisini
d42b432df0 UserContainer now can declare the same special event handlers as UserControl.
[GB.GTK]
* NEW: UserControl: Special event handlers can be declared indepently. Declaring 'UserControl_Draw' is not required anymore.
* NEW: UserContainer now can declare the same special event handlers as UserControl.

[GB.GTK3]
* NEW: UserControl: Special event handlers can be declared indepently. Declaring 'UserControl_Draw' is not required anymore.
* NEW: UserContainer now can declare the same special event handlers as UserControl.

[GB.QT4]
* NEW: UserControl: Special event handlers can be declared indepently. Declaring 'UserControl_Draw' is not required anymore.
* NEW: UserContainer now can declare the same special event handlers as UserControl.

[GB.QT5]
* NEW: UserControl: Special event handlers can be declared indepently. Declaring 'UserControl_Draw' is not required anymore.
* NEW: UserContainer now can declare the same special event handlers as UserControl.
2023-03-17 15:57:48 +01:00
Benoît Minisini
8d7b541421 SwitchButton: Change the way it is drawn, so that it's a bit more "readable".
[GB.FORM]
* NEW: SwitchButton: Change the way it is drawn, so that it's a bit more "readable".
2023-03-17 03:16:03 +01:00
Benoît Minisini
648b123f07 The support for external debugging now uses the project name, not the executable name, which may be different.
[INTERPRETER]
* BUG: The support for external debugging now uses the project name stored
  in the '.startup' file, not the executable name, which may be different.

[COMPILER]
* NEW: Write the name of the project in the '.startup' file.
2023-03-17 03:12:52 +01:00
Benoît Minisini
6b6c1e75b5 Add an API that inverts an image for the 'gb.image.effect' component.
[GB.IMAGE]
* NEW: Add an API that inverts an image for the 'gb.image.effect' component.
2023-03-17 03:11:30 +01:00
Benoît Minisini
d31e7c7aec Make Image.Invert() compatible with the method with the same name in 'gb.image'.
[GB.IMAGE.EFFECT]
* BUG: Make Image.Invert() compatible with the method with the same name in 'gb.image'.
2023-03-17 03:10:13 +01:00
Benoît Minisini
0736122b2e Menu: Setting the 'Radio' or the 'Toggle' property now correctly keep the 'Enabled' state.
[GB.GTK]
* BUG: Menu: Setting the 'Radio' or the 'Toggle' property now correctly keep the 'Enabled' state.

[GB.GTK3]
* BUG: Menu: Setting the 'Radio' or the 'Toggle' property now correctly keep the 'Enabled' state.
2023-03-17 02:29:59 +01:00
Benoît Minisini
27bb6ac58a Automatically enable the "Use HTTP server" debugging option when the 'gb.web.gui' component is used.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatically enable the "Use HTTP server" debugging option when the 'gb.web.gui' component is used.
2023-03-17 01:57:29 +01:00
Benoît Minisini
a4920f1181 Debugger: Stopping the debugger now kills the debugged process in external debugging mode without crashing if the debugged process does not exist anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Stopping the debugger now kills the debugged process in external debugging mode without crashing if the debugged process does not exist anymore.
2023-03-17 01:56:54 +01:00
Benoît Minisini
fe618d41a8 Giving a source directory the same name as a form does not hide its contents anymore, when the "Display form class files" option is toggled.
[DEVELOPMENT ENVIRONMENT]
* BUG: Giving a source directory the same name as a form does not hide its contents anymore, when the "Display form class files" option is toggled.
2023-03-17 01:53:04 +01:00
Benoît Minisini
779b1e6d74 Control refresh done by javascript is now correctly cancelled when the Refresh() method is called.
[GB.WEB.GUI]
* BUG: Control refresh done by javascript is now correctly cancelled when the Refresh() method is called.
2023-03-17 01:47:08 +01:00
Benoît Minisini
106de294d4 Debugger: Stopping the debugger now kills the debugged process in external debugging mode.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Stopping the debugger now kills the debugged process in external debugging mode.
2023-03-15 21:57:15 +01:00
Benoît Minisini
11db600d2c 'Application.TempDir' is a new property that returns the temporary directory used by the interpreter for the current process.
[INTERPRETER]
* NEW: 'Application.TempDir' is a new property that returns the temporary directory used by the interpreter for the current process.
2023-03-14 19:13:56 +01:00