Commit graph

8951 commits

Author SHA1 Message Date
gambas
8d652ed193 GTK+ fixes, especially for Wayland.
[GB.GTK]
* NEW: Add minimum size to buttons, TextBox and Slider controls.
* BUG: Handle key events before global shortcuts only for GtkEntry and GtkTextView widgets.
* BUG: Fix client decoration size computation.
* BUG: The size of a window is now always the size of its contents, without the decorations.

[GB.GTK3]
* NEW: Add minimum size to buttons, TextBox and Slider controls.
* BUG: Handle key events before global shortcuts only for GtkEntry and GtkTextView widgets.
* BUG: Fix client decoration size computation.
* BUG: The size of a window is now always the size of its contents, without the decorations.
* NEW: Centering a window is a now platform-specific.
2021-01-18 21:55:07 +01:00
gambas
1e7ea9f50c Check SIGCHLD signal handler at each event loop.
[INTERPRETER]
* BUG: Check SIGCHLD signal handler at each event loop.
2021-01-18 21:40:48 +01:00
gambas
9f696b9a39 About dialog: Make it larger for wide fonts.
[DEVELOPMENT ENVIRONMENT]
* BUG: About dialog: Make it larger for wide fonts.
2021-01-18 21:39:59 +01:00
gambas
531e6534f3 SwitchButton: Keep color hue when transitioning between selected and normal background color.
[GB.FORM]
* BUG: SwitchButton: Keep color hue when transitioning between selected and normal background color.
2021-01-18 21:37:51 +01:00
gambas
c369ca1c62 Do not crash when quitting if the GUI has not been initialized.
[GB.QT5]
* BUG: Do not crash when quitting if the GUI has not been initialized.
2021-01-17 20:36:28 +01:00
gambas
cfc6de5e08 Fix GTK+ warnings and errors when freeing stuff before the GUI is initialized.
[GB.GTK]
* BUG: Fix GTK+ warnings and errors when freeing stuff before the GUI is initialized.

[GB.GTK3]
* BUG: Fix GTK+ warnings and errors when freeing stuff before the GUI is initialized.
2021-01-17 20:35:13 +01:00
gambas
f2692f3c8d Add a message label on the bottom right of the IDE main window, besides the debug panel buttons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a message label on the bottom right of the IDE main window, besides the debug panel buttons.
* BUG: Make unused FScreenshot form compile.
2021-01-17 19:40:25 +01:00
gambas
c207d71d91 Message: Style property value now can only be "flat" or "default". Setting an unknown style resets the style to "default".
[GB.GUI.BASE]
* BUG: Message: Style property value now can only be "flat" or "default". Setting an unknown style resets the style to "default".
2021-01-17 00:28:32 +01:00
gambas
20ed2d06dc Option dialog: Add an option to choose the message style.
[DEVELOPMENT ENVIRONMENT]
* NEW: All messages now use message boxes.
* NEW: Option dialog: Add an option to choose the message style.
* BUG: Project property dialog: Do not hide component if it has the same name as the project.
2021-01-17 00:25:50 +01:00
gambas
549e8b1fdd Spinner: Circle spinner now is a progress when its value is strictly between 0 and 1. Otherwise it spins.
[GB.FORM]
* NEW: Spinner: Circle spinner now is a progress when its value is strictly between 0 and 1. Otherwise it spins.
2021-01-17 00:14:47 +01:00
gambas
e5f1462c02 Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
[GB.DESKTOP]
* NEW: Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
2021-01-17 00:13:03 +01:00
gambas
6debc3df5e ComboBox: PlaceHolder property does not crash anymore on read-only ComboBox.
[GB.QT4]
* BUG: ComboBox: PlaceHolder property does not crash anymore on read-only ComboBox.

[GB.QT5]
* BUG: ComboBox: PlaceHolder property does not crash anymore on read-only ComboBox.
2021-01-17 00:10:14 +01:00
gambas
b62b931d50 This component is a now a X11 plugin for 'gb.desktop'.
[GB.DESKTOP.X11]
* NEW: This component is a now a X11 plugin for 'gb.desktop'.
2021-01-16 23:38:59 +01:00
gambas
c211efd0c8 Creating a control with a NULL container now raises an error instead of crashing.
[GB.GTK]
* BUG: Creating a control with a NULL container now raises an error instead of crashing.

[GB.GTK3]
* BUG: Creating a control with a NULL container now raises an error instead of crashing.
2021-01-16 16:53:36 +01:00
gambas
0d2f6c4a4a Message: Add Style and ColoredButtons properties.
[GB.GUI.BASE]
* NEW: Message: Style is a new property that defines the message box style. At the moment, "default" and "flat" are supported.
* NEW: Message: ColoredButtons is a new property that defines if the buttons should be colored or not.
2021-01-16 15:15:55 +01:00
gambas
13d21f1b09 Fix FontChooser layout, and add a RichText property to IconPanel tabs.
[GB.FORM]
* BUG: FontChooser: Fix layout.
* NEW: IconPanel: Add a RichtText property to IconPanel tabs.
*
2021-01-16 04:39:36 +01:00
gambas
f7eef2af6e Message: Add the title to the message box, and make it movable.
[GB.GUI.BASE]
* NEW: Message: Add the title to the message box, and make it movable.
2021-01-16 04:34:29 +01:00
gambas
feeb175c46 Fix Mouse.StartX and Mouse.StartY. Fix underline and strikeout text in Label and TextLabel.
[GB.GTK]
* BUG: Mouse.StartX and Mouse.StartY are now always available during mouse events.
* BUG: Label and TextLabel now correctly display underline or strikeout text.

[GB.GTK3]
* BUG: Mouse.StartX and Mouse.StartY are now always available during mouse events.
* BUG: Label and TextLabel now correctly display underline or strikeout text.
2021-01-16 04:32:04 +01:00
gambas
00b9bb9f0c Message: Test a new look for the message boxes.
[GB.GUI.BASE]
* NEW: Message: Test a new look for the message boxes.
2021-01-15 22:37:30 +01:00
gambas
475a7699d3 Message: Default buttons are now replaced as soon as at least one button is specified.
[GB.GUI.BASE]
* BUG: Message: Default buttons are now replaced as soon as at least one button is specified.
2021-01-15 22:04:18 +01:00
gambas
ce379dadb0 Fix mouse cursor handling of TextBox, ComboBox and TextArea.
[GB.GTK3]
* BUG: Fix mouse cursor handling of TextBox, ComboBox and TextArea.
2021-01-15 00:51:27 +01:00
gambas
dd3853c7f4 Form editor: Changing the class of a public control from the "Change into" menu now works as expected.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Changing the class of a public control from the "Change into" menu now works as expected.
2021-01-14 11:49:24 +01:00
gambas
09e3a9ae19 Scroll view to make popup windows visible as much as possible.
[GB.WEB.GUI]
* NEW: Scroll view to make popup windows visible as much as possible.
2021-01-14 04:14:55 +01:00
gambas
03fdb5dca7 Somes fixes in the DateBox control.
[GB.WEB.GUI]
* BUG: DateBox: Fix date formatting.
* NEW: DateBox: Set a default width according to the DateTime property.
2021-01-14 03:58:20 +01:00
gambas
6bec59fc15 File.DefaultDirAuth is a new property that defines the default authorizations used when using MkDir.
[INTERPRETER]
* NEW: File.DefaultDirAuth is a new property that defines the default authorizations used when using MkDir.
2021-01-14 01:09:30 +01:00
gambas
af3ea949b2 Form editor: The control selection menu now uses two levels of menus not to display too many items in the same popup.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The control selection menu now uses two levels of menus not to display too many items in the same popup.
2021-01-14 00:39:28 +01:00
gambas
75056eb307 Packager: Common extra dependencies and extra files are not lost anymore when the target systems change.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Common extra dependencies and extra files are not lost anymore when the target systems change.
2021-01-14 00:00:09 +01:00
gambas
f8221167af Add a Tag property to many view control items.
[GB.GUI.BASE]
* NEW: GridView: Cells have now a Tag property.
* NEW: GridView: Columns have now a Tag property.
* NEW: TreeView: Items have now a Tag property.
* NEW: ListView: Items have now a Tag property.
* NEW: ColumnView: Items have now a Tag property.
* NEW: IconView: Items have now a Tag property.
2021-01-13 23:20:40 +01:00
gambas
8ee32f0d8e Version control: Support for git worktrees.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: Support for git worktrees.
2021-01-11 21:41:39 +01:00
gambas
f3dd4b5dcd Some fixes in the help browser.
[DEVELOPMENT ENVIRONMENT]
* NEW: Help browser: Remove unused MovieBox.
* NEW: Help browser: Use a circle Spinner.
* BUG: Help browser: Correctly stop the spinner if the page loading is cancelled.
* BUG: Help browser: Display an accurate message in online help when a unsupported wiki command is used.
2021-01-11 04:13:52 +01:00
gambas
d708361b69 Spinner: Add a Type property that allows to choose between three different spinners.
[GB.FORM]
* NEW: Spinner: Add a Type property that allows to choose between three different spinners.
2021-01-11 04:13:02 +01:00
gambas
15bba0dfe2 Avoid a possible crash when raising the Link event.
[GB.QT4]
* BUG: Avoid a possible crash when raising the Link event.

[GB.QT5]
* BUG: Avoid a possible crash when raising the Link event.
2021-01-11 03:36:28 +01:00
gambas
1d270de336 Do not crash anymore when loading an Animation fails.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't use the deprecated MovieBox.Path property anymore.

[GB.GTK]
* BUG: Do not crash anymore when loading an Animation fails.

[GB.GTK3]
* BUG: Do not crash anymore when loading an Animation fails.

[GB.QT4]
* BUG: Do not crash anymore when loading an Animation fails.

[GB.QT5]
* BUG: Do not crash anymore when loading an Animation fails.
2021-01-11 01:24:20 +01:00
gambas
8c4fc6d10c Try to fix compilation on 'alpine'.
[GB.QT4]
* BUG: Try to fix compilation on 'alpine'.

[GB.QT5]
* BUG: Try to fix compilation on 'alpine'.
2021-01-09 11:27:53 +01:00
gambas
bfb6cce882 Remove include of the deleted 'gmoviebox.h' file.
[GB.GTK]
* BUG: Remove include of the deleted 'gmoviebox.h' file.

[GB.GTK3]
* BUG: Remove include of the deleted 'gmoviebox.h' file.
2021-01-09 10:52:12 +01:00
gambas
13c0d23424 MovieBox: Add backward-compatible Path property.
[GB.GUI.BASE]
* BUG: MovieBox: Add backward-compatible Path property.
2021-01-09 10:38:43 +01:00
gambas
a0a2d0379c MovieBox is now implemented in Gambas, through a new Animation class.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the MovieBox Animation property.

[GB.GTK]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GTK3]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GUI.BASE]
* NEW: MovieBox is now implemented in Gambas.

[GB.QT4]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.QT5]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.
2021-01-09 10:24:56 +01:00
gambas
601eb90831 Reorder profiling menus. Display the platform and the GUI toolkit in the about dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Reorder profiling menus.
* NEW: About dialog: Display the platform and the GUI toolkit.
2021-01-08 20:39:05 +01:00
gambas
f8dfd75bb8 Make the component compile again.
[GB.QT4]
* BUG: Make the component compile again.
2021-01-08 19:05:09 +01:00
gambas
0d076a7b7c Fix arrangement of containers having the AutoResize property set and get rid of many deprecated GTK+ API on GTK+3.
[GB.GTK]
* BUG: Fix arrangement of containers having the AutoResize property set.
* BUG: TabStrip: Fix the client area computing routine.

[GB.GTK3]
* BUG: Fix arrangement of containers having the AutoResize property set.
* BUG: Get rid of many deprecated GTK+ API (not all yet).
* BUG: TabStrip: Fix the client area computing routine.
2021-01-08 18:36:02 +01:00
gambas
96c271fccf Don't try to activate windows on Wayland, it does not work.
[GB.QT5]
* BUG: Don't try to activate windows on Wayland, it does not work.
2021-01-08 18:34:35 +01:00
gambas
a30f69c289 Fix error message of BigInt.ToString().
[GB.GMP]
* BUG: Fix error message of BigInt.ToString().
2021-01-07 02:22:18 +01:00
gambas
353d015461 TabPanel: Clicking on a tab button now gives it the focus.
[GB.FORM]
* NEW: TabPanel: Clicking on a tab button now gives it the focus.
2021-01-06 23:52:23 +01:00
gambas
756b051160 Fixes in keyboard management and default / cancel buttons.
[GB.GTK]
* BUG: Button: Fix button click animation.
* BUG: Button: The default and cancel buttons of all embedded forms of the current window are now taken into account.
* BUG: Button: Unmapped default or cancel buttons are now ignored.
* BUG: Keyboard events are now propagated to the parent containers.

[GB.GTK3]
* BUG: Button: Fix button click animation.
* BUG: Button: The default and cancel buttons of all embedded forms of the current window are now taken into account.
* BUG: Button: Unmapped default or cancel buttons are now ignored.
* BUG: Keyboard events are now propagated to the parent containers.
2021-01-06 23:48:24 +01:00
gambas
647ef86ad2 Fix TabStrip client area size computation and Menu shortcut management.
[GB.GTK]
* BUG: TabStrip: Fix client area size computation.
* BUG: Menu: Fix shortcut management.

[GB.GTK3]
* BUG: TabStrip: Fix client area size computation.
* BUG: Menu: Fix shortcut management.
2021-01-06 20:31:53 +01:00
gambas
f11e36d15f Merge branch 'master' of gitlab.com:gambas/gambas 2021-01-06 16:22:33 +01:00
gambas
9a16226462 FileView: Sort configuration is kept when the view is refreshed, and the first column has a maximum width.
[GB.FORM]
* NEW: FileView: Sort configuration is kept when the view is refreshed.
* NEW: FileView: The first column now has a maximum width when it is resized at refresh.
2021-01-06 16:22:19 +01:00
Benoît Minisini
1686480685 Merge branch 'ubuntu-hirsute-hippo' into 'master'
Update .gitlab-ci.yml: Add Ubuntu 21.04 (Hirsute Hippo)

See merge request gambas/gambas!176
2021-01-06 14:42:45 +00:00
Benoît Minisini
b873531cd9 Merge branch 'fedora-trim' into 'master'
Update .gitlab-ci.yml: better fedora dependency list

See merge request gambas/gambas!182
2021-01-06 14:41:50 +00:00
Bruce Steers
5bb2cdf8c1 Update .gitlab-ci.yml
* OPT: trim fedora dependencies, reduce download.
2021-01-06 13:27:55 +00:00