Commit graph

11101 commits

Author SHA1 Message Date
Benoît Minisini
b5887bef8a ColorChooser: Use the new Desktop.PickColor() function to pick a color.
[GB.FORM]
* NEW: ColorChooser: Use the new Desktop.PickColor() function to pick a color.
* BUG: FileView: Do not crash if a file has disappeared when reloading the view.
2023-05-12 15:57:21 +02:00
Benoît Minisini
8d6ccc40cf Support for file descriptor 'h' DBus datatype.
[GB.DBUS]
* NEW: Support for file descriptor 'h' DBus datatype.
2023-05-12 13:32:12 +02:00
Benoît Minisini
866b887db7 DBusFile is a new class that implements the 'h' DBus datatype that encapsulates a file descriptor.
[GB.DBUS]
* NEW: DBusFile is a new class that implements the 'h' DBus datatype that encapsulates a file descriptor.
2023-05-12 13:31:56 +02:00
Benoît Minisini
f58ff7c3c2 Form editor: If multiple controls are selected, do not crash when editing common properties if some of the controls are virtual.
[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Display errors returned when executing a custom request.
* NEW: DBus explorer: Add a button that pastes in the editor the DBus call corresponding to the current selected symbol.
2023-05-12 11:33:01 +02:00
Benoît Minisini
65124fecae Initial support for freedesktop portal.
[GB.DESKTOP]
* NEW: Initial support for freedesktop portal.
* NEW: Desktop.Screenshot() now uses the freedesktop portal if we are not using X11. Not fully useful, are there is no option for not capturing the mouse cursor!
* NEW: Desktop.PickColor() is a new method that pick a color on the screen using the freedesktop portal.
2023-05-12 11:19:57 +02:00
Benoît Minisini
0ed5403c0e DBusSession: Exist() is a new method that returns if a specific name is available on the bus.
[GB.DBUS]
* NEW: DBusSession: Exist() is a new method that returns if a specific name is available on the bus.
2023-05-12 11:17:37 +02:00
Benoît Minisini
545518406f WebRadioButton: Setting the 'Value' property before the parent form is visible works correctly now.
[GB.WEB.GUI]
* BUG: WebRadioButton: Setting the 'Value' property before the parent form is visible works correctly now.
* BUG: Do not export test forms.
2023-05-11 01:45:35 +02:00
Benoît Minisini
9cd5a1d491 Correctly manage DBus names being case sensitive whereas Gambas symbols are not.
[GB.DBUS]
* BUG: DBusProxy: Correctly manage DBus names being case sensitive whereas Gambas symbols are not.
* NEW: DBusSignal: The constructor takes more optional arguments. Backward-compatibility is ensured.
2023-05-08 21:00:21 +02:00
Benoît Minisini
8206a3fa73 FileView: Contents refresh is now always forced when neeeded.
[GB.FORM]
* BUG: FileView: Contents refresh is now always forced when neeeded.
2023-05-08 13:48:23 +02:00
Benoît Minisini
c2861aaca4 Form editor: If multiple controls are selected, do not crash when editing common properties if some of the controls are virtual.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: If multiple controls are selected, do not crash when editing common properties if some of the controls are virtual.
2023-05-08 12:48:18 +02:00
Benoît Minisini
01b5dbab1c Automatic variable declaration now takes 'ByRef' arguments into account.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic variable declaration now takes 'ByRef' arguments into account.
2023-05-06 15:41:37 +02:00
Benoît Minisini
e6f5f7c940 Fix automatic arrangement of top-level windows with menus.
[GB.GTK]
* BUG: Fix automatic arrangement of top-level windows with menus.

[GB.GTK3]
* BUG: Fix automatic arrangement of top-level windows with menus.
2023-04-29 21:40:04 +02:00
Benoît Minisini
a309559bdb '+Inf' and '-Inf' really do not prevent the next pattern to be a reserved keyword anymore.
[COMPILER]
* BUG: '+Inf' and '-Inf' really do not prevent the next pattern to be a reserved keyword anymore.
2023-04-27 14:55:02 +02:00
Benoît Minisini
a3319fefd1 Update README files.
[CONFIGURATION]
* NEW: Update README files.
2023-04-27 14:53:30 +02:00
Benoît Minisini
e0f4310d82 Disable 'gb.pdf' for 'fedora-latest'. 2023-04-27 14:52:57 +02:00
Benoît Minisini
523a862656 GridView: Painting does not crash anymore when there is no column or no row.
[GB.GUI.BASE]
* BUG: GridView: Painting does not crash anymore when there is no column or no row.
2023-04-27 14:20:59 +02:00
Benoît Minisini
e2e128ea57 SpinBox: Fix behaviour when 'ShowSign' or 'ShowZero' property is set.
[GB.GUI.BASE]
* BUG: SpinBox: Fix behaviour when 'ShowSign' or 'ShowZero' property is set.
2023-04-26 20:52:52 +02:00
Benoît Minisini
c316a6827e TerminalView: Characters attributes are correctly kept when the screen size changes again.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Characters attributes are correctly kept when the screen size changes again.
2023-04-19 22:51:36 +02:00
Benoît Minisini
8d66be984d TerminalView: Characters attributes are correctly kept when the screen size changes.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Characters attributes are correctly kept when the screen size changes.
2023-04-19 19:56:37 +02:00
Benoît Minisini
ddf2d2bd8d Oops. Forgot to remove parser debugging messages.
[COMPILER]
* BUG: Oops. Forgot to remove parser debugging messages.
2023-04-19 13:25:04 +02:00
Benoît Minisini
4a6626c0a8 '+Inf' and '-Inf' do not prevent the next pattern to be a reserved keyword anymore.
[COMPILER]
* BUG: '+Inf' and '-Inf' do not prevent the next pattern to be a reserved keyword anymore.
2023-04-19 03:22:12 +02:00
Benoît Minisini
ed5d7449e1 Setting enumeration properties of MediaControl works correctly now.
[GB.MEDIA]
* BUG: Setting enumeration properties of MediaControl works correctly now.
2023-04-15 14:32:16 +02:00
Benoît Minisini
08f7204474 Display the executable path in the message when making an executable.
[DEVELOPMENT ENVIRONMENT]
* NEW: Display the executable path in the message when making an executable.
2023-04-13 19:52:27 +02:00
Benoît Minisini
cd79ffb4a2 GridView: Fix right-to-left layout management and drawing.
[GB.GUI.BASE]
* BUG: GridView: Fix right-to-left layout management and drawing.
* NEW: GridView: Add some documentation.
2023-04-13 12:23:09 +02:00
Benoît Minisini
bfe5a88537 Fix common integer loop optimization.
[INTERPRETER]
* BUG: Fix common integer loop optimization.
2023-04-13 12:05:09 +02:00
Benoît Minisini
e826acb35a Correctly read the project name in the '.startup' file.
[INTERPRETER]
* BUG: Correctly read the project name in the '.startup' file.
2023-04-12 23:23:19 +02:00
Benoît Minisini
fcc386d0f6 When a signal handler is set, ensure that the signal is not blocked.
[INTERPRETER]
* BUG: When a signal handler is set, ensure that the signal is not blocked.
2023-04-12 20:55:05 +02:00
Benoît Minisini
b36c09ae49 Some fixes for the offline help. Prevent flickering of GTK+3 web view.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Some fixes for the offline help.
* BUG: Help browser: Prevent flickering of GTK+3 web view.
2023-04-08 00:21:18 +02:00
Benoît Minisini
4b77a8926e New wiki look again.
[WIKI]
* NEW: New wiki look again.
* NEW: The search entry is now in the seach page.
2023-04-05 00:22:01 +02:00
Benoît Minisini
4a3ccda95a Add static array read accessors to return new Compress and new Uncompress object of a specific type.
[GB.COMPRESS]
* NEW: Clean-up the code: spaces, indentation...
* NEW: Compress: Add a static array read accessor to return a new Compress object of a specific type.
* NEW: Uncompress: Add a static array read accessor to return a new Uncompress object of a specific type.
2023-04-03 23:53:27 +02:00
Benoît Minisini
516736852d Correctly free environment declared in the project configuration at program exit.
[INTERPRETER]
* BUG: Correctly free environment declared in the project configuration at program exit.
2023-04-02 05:36:17 +02:00
Benoît Minisini
72e8b4f3d7 Update tests.
[GB.MARKDOWN]
* NEW: Update tests.
2023-04-01 13:40:33 +02:00
Benoît Minisini
ab51221fb1 Update 'archlinux' and 'archlinux-clang' to 'gmime3' in gitlab CI configuration file. 2023-04-01 13:24:23 +02:00
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