Commit graph

11134 commits

Author SHA1 Message Date
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
Benoît Minisini
a3f1cccf0b MimeMessage: The 'Sender' property does not crash anymore when the sender is void.
[GB.MIME]
* BUG: MimeMessage: The 'Sender' property does not crash anymore when the sender is void.
* NEW: MimeMessage: Use a different API for retrieving the message sender.
2023-03-14 15:43:08 +01:00
Benoît Minisini
829a8a16ca Make code compile on older versions of gcc.
[ARCHIVER]
* BUG: Make code compile on older versions of gcc.
2023-03-11 11:19:40 +01:00
Benoît Minisini
5c5885bac8 Make executable dialog: Add an option to ignore the 'Public' project directory.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make executable dialog: Add an option to ignore the 'Public' project directory.
2023-03-11 10:36:46 +01:00
Benoît Minisini
ce4f00e756 Debugger: The titles of the variable tree now expand on click.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: The titles of the variable tree now expand on click.
2023-03-11 10:33:05 +01:00
Benoît Minisini
e31a2ad2a7 Add a '-p' option to ignore the '.public' directory.
[ARCHIVER]
* BUG: Handle hidden files only in the project root directory.
* NEW: Add a '-p' option to ignore the '.public' directory.
2023-03-11 10:31:34 +01:00
Benoît Minisini
c43e3f8d53 Edited files will not remain locked anymore after the debugger stops.
[DEVELOPMENT ENVIRONMENT]
* BUG: Edited files will not remain locked anymore after the debugger stops.
2023-03-11 09:52:49 +01:00
Benoît Minisini
2a8e061374 Merge branch 'fix-texteditor-keypress' into 'master'
Always stop internal TextEditor Keypress event so it does not trigger twice.

See merge request gambas/gambas!299
2023-03-11 06:35:20 +00:00
Benoît Minisini
f37f40be08 'KeyPress' event handler is now correctly activated client side when a form is refreshed or displayed the first time.
[GB.WEB.GUI]
* BUG: 'KeyPress' event handler is now correctly activated client side when a form is refreshed or displayed the first time.
2023-03-10 21:40:04 +01:00
Bruce Steers
a3400b2ff9 Always stop internal TextEditor Keypress event so it does not trigger twice.
[GB.FORM.EDITOR]
* BUG: fix TextEditor triggering KeyPress event twice by always using Stop Event
2023-03-10 18:16:54 +00:00
Benoît Minisini
f9497fff57 TreeView: Make the Item property always available during the Click event handler.
[GB.GUI.BASE]
* BUG: TreeView: Make the Item property always available during the Click event handler.
2023-03-10 14:23:46 +01:00
Benoît Minisini
044ab1cc14 Check that we are a UserControl when calling its special event handlers, because the MyContainer class is also used by the Form container.
[GB.QT4]
* BUG: Check that we are a UserControl when calling its special event handlers, because the MyContainer class is also used by the Form container.

[GB.QT5]
* BUG: Check that we are a UserControl when calling its special event handlers, because the MyContainer class is also used by the Form container.
2023-03-10 01:59:49 +01:00
Benoît Minisini
051ada2e57 MediaControl: 'LinkLaterTo()' method should now be reliable when called multiple times.
[GB.MEDIA]
* BUG: MediaControl: 'LinkLaterTo()' method should now be reliable when called multiple times.
2023-03-09 01:41:29 +01:00
Benoît Minisini
f414b5d5f2 Take void messages into account. Disable GLib warnings so that 'GValueArray' properties are correctly handled again.
[GB.MEDIA]
* BUG: MediaMessage: Take void messages into account.
* BUG: Disable GLib warnings so that 'GValueArray' properties are correctly handled again.
2023-03-09 00:55:27 +01:00
Benoît Minisini
e1a07a798d Desktop directory icons initialisation does not crash anymore if a specific desktop directory does not exist.
[GB.FORM]
* BUG: Desktop directory icons initialisation does not crash anymore if a specific desktop directory does not exist.
2023-03-08 16:53:08 +01:00
Benoît Minisini
8f8a1b4484 Update the debugged process id in real time when debugging a project using the embedded HTTP server.
[DEVELOPMENT ENVIRONMENT]
* BUG: Update the debugged process id in real time when debugging a project using the embedded HTTP server.
2023-03-07 00:31:01 +01:00
Benoît Minisini
cac1a0f3d0 Make the debugger more robust when writing on a fifo fails. Reopen the fifo if needed.
[GB.DEBUG]
* BUG: Make the debugger more robust when writing on a fifo fails. Reopen the fifo if needed.
2023-03-07 00:09:01 +01:00
Benoît Minisini
42f9525c45 DBusObject now implements the 'GetMachineId()' DBus method.
[GB.DBUS]
* NEW: 'DBus.MachineId' is a new property that returns the DBus machine identifier.
* BUG: DBusObject now implements the 'GetMachineId()' DBus method.
2023-03-04 17:28:28 +01:00
Benoît Minisini
78f4986c3c Forked processes now use fast exit, to avoir a possible crash.
[INTERPRETER]
* BUG: Forked processes now use fast exit, to avoir a possible crash.
2023-03-04 17:26:58 +01:00
Benoît Minisini
61c95213e3 [CONFIGURATION]
* BUG: Update e-mail address in 'version.m4'.
2023-03-04 17:25:27 +01:00
Benoît Minisini
f055efc799 Menu: Setting the 'Picture' property of a top-level menu has no effect anymore.
[GB.QT4]
* BUG: Menu: Setting the 'Picture' property of a top-level menu has no effect anymore.

[GB.QT5]
* BUG: Menu: Setting the 'Picture' property of a top-level menu has no effect anymore.
2023-03-04 17:24:06 +01:00
Benoît Minisini
c283836cb8 Fix how MediaPipeline duration is retrieved. Now the duration is actually available when the 'Duration' event is raised.
[GB.MEDIA]
* BUG: Fix how MediaPipeline duration is retrieved. Now the duration is actually available when the 'Duration' event is raised.
2023-03-04 17:13:00 +01:00
Benoît Minisini
d246caa642 Translation dialog: Add a new tab that allows to import all translations from another project.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add a new tab that allows to import all translations from another project.
* NEW: Some little changes in the 16px Gambas font.
* NEW: Update French translation.
2023-03-03 21:53:52 +01:00
Benoît Minisini
9496ef2cdc The background color of a selected row now overrides the background color of its cells.
[GB.WEB.GUI]
* BUG: The background color of a selected row now overrides the background color of its cells.
* BUG: WebTable: Use white text for the index column of selected rows.
2023-03-02 01:06:28 +01:00
Benoît Minisini
be395c4ea1 MediaView: Internally use the 'Duration' event to refresh the time panel when the duration is known.
[GB.MEDIA.FORM]
* NEW: MediaView: Internally use the 'Duration' event to refresh the time panel when the duration is known.
2023-03-02 00:54:11 +01:00
Benoît Minisini
3d36330ad3 WebTable: Fix a javascript error when using single mode and radio buttons.
[GB.WEB.GUI]
* BUG: WebTable: Fix a javascript error when using single mode and radio buttons.
2023-03-02 00:21:20 +01:00
Benoît Minisini
dfa1d4e96a ComboBox: The popup now uses the same font as the ComboBox.
[GB.GUI.BASE]
* BUG: ComboBox: The popup now uses the same font as the ComboBox.
2023-02-25 19:06:06 +01:00
Benoît Minisini
bf5d90f670 DownloadManager: Follow HTTP redirections automatically.
[GB.NET.CURL]
* NEW: DownloadManager: Follow HTTP redirections automatically.
2023-02-24 18:04:23 +01:00
Benoît Minisini
8a04b08dab Menu editor: Do not draw the picture of top-level menus. Snippets: Add newline at the end of snippets where it makes sense.
[DEVELOPMENT ENVIRONMENT]
* BUG: Menu editor: Do not draw the picture of top-level menus.
* BUG: Snippets: Add newline at the end of snippets where it makes sense.
2023-02-24 18:00:16 +01:00
Benoît Minisini
d6db65a219 Replace </hr> by <hr>.
[GB.MARKDOWN]
* BUG: Replace `</hr>` by `<hr>`.
2023-02-23 10:53:24 +01:00
Benoît Minisini
bd010d986d Merge branch 'master' of gitlab.com:gambas/gambas 2023-02-23 10:35:05 +01:00
Benoît Minisini
ee5bc531ea Fix a possible memory leak in DBus introspection.
[GB.DBUS]
* BUG: Fix a possible memory leak in DBus introspection.
2023-02-23 10:34:02 +01:00
Benoît Minisini
612c2cabb4 Merge branch 'ScripterFixErrorExitCode' into 'master'
Fix Scripter exit error Replace scripter error -2 with 127(file not found)

See merge request gambas/gambas!297
2023-02-22 22:55:05 +00:00
Christof Thalhofer
f958da5af4 Revert "fix: gb.markdown now passes it's tests."
This reverts commit f3c66196fb.
2023-02-22 09:56:24 +01:00
Benoît Minisini
ebca379925 Version control: Some fixes in the repository dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Some fixes in the repository dialog.
2023-02-22 00:45:26 +01:00