Commit graph

9933 commits

Author SHA1 Message Date
gambas
74f0797f7b Translation dialog: the translation menu now allows to select the translation engine.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: the translation menu now allows to select the translation engine.
* BUG: Searching for a string now stores the search position in the history.
2021-10-12 20:35:42 +02:00
gambas
d651287c43 Now integer constants can be simple integer expressions in array, constant and enumeration declarations.
[COMPILER]
* NEW: Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators.
* NEW: Now integer constants can be simple integer expressions in array, constant and enumeration declarations.

[GB.EVAL]
* BUG: Fix a compiler warning.
2021-10-12 13:33:45 +02:00
gambas
e5d38cb7cb Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.
[GB.FORM.DIALOG]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.GTK]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.GTK3]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.QT4]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.QT5]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.
2021-10-11 19:31:29 +02:00
gambas
3b83a4b642 Some little enhancements in the form editor. The image editor grid properties can now be locked.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The frame drawn when a control is hovered is now darker, and drawn inside the control if possible.
* NEW: Form editor: The frame drawn when a control is hovered is now dotted if the control is a multi-container.
* NEW: Form editor: The "embed into a container" and "remove container only" functions now have their toolbar buttons.
* NEW: Image editor: The grid properties can be locked, so that they persist if the active image editor changes.
2021-10-09 01:13:20 +02:00
gambas
135082f552 Add some new icons and update some old ones.
[GB.FORM.STOCK]
* NEW: Add some new icons.
* NEW: Update some icons.
2021-10-09 00:36:32 +02:00
gambas
82979492c3 Add a few stock icons.
[GB.FORM]
* NEW: Add a few stock icons.
2021-10-09 00:35:48 +02:00
gambas
8d886792d4 Paint.Begin() now correctly initializes the text drawing color.
[GB.QT4]
* BUG: Paint.Begin() now correctly initializes the text drawing color.

[GB.QT5]
* BUG: Paint.Begin() now correctly initializes the text drawing color.
2021-10-08 19:23:18 +02:00
gambas
25f89436db Disabled Label and TextLabel are drawn correctly now.
[GB.GUI.BASE]
* BUG: Disabled Label and TextLabel are drawn correctly now.
2021-10-08 17:25:54 +02:00
gambas
6565b5e131 Try again to support both webkit2gtk 4.0 and 4.1.
[GB.GTK3]
* BUG: Try again to support both webkit2gtk 4.0 and 4.1.
2021-10-08 16:39:20 +02:00
gambas
95e6d4a9bb Collection.Keys is a new property that returns a string array of all collection keys.
[INTERPRETER]
* NEW: Collection.Keys is a new property that returns a string array of all collection keys.
2021-10-08 14:29:51 +02:00
gambas
65d485e314 Debugger panel: make the error label more readable.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger panel: make the error label more readable.
* NEW: The editor message label and the debugger panel error label now follow the color theme.
2021-10-07 01:19:00 +02:00
gambas
73c22c5038 Try to support both webkit2gtk 4.0 and 4.1.
[GB.GTK3]
* BUG: Try to support both webkit2gtk 4.0 and 4.1.
2021-10-04 22:18:05 +02:00
gambas
bc4e457402 he "Show menubar" menu is now a toggle.
[DEVELOPMENT ENVIRONMENT]
* NEW: The "Show menubar" menu is now a toggle.
* NEW: Redraw the "module" and "class" icons.
2021-10-04 21:24:58 +02:00
gambas
c767105ebb Form editor: When a container has "full" arrangement, keep the z-order of its children as defined by the user.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When a container has "full" arrangement, keep the z-order of its children as defined by the user.
2021-10-04 19:27:10 +02:00
gambas
84e8bfd742 Add 'csv' and 'library' icons. Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 'csv' and 'library' icons.
2021-10-01 23:07:46 +02:00
gambas
433937304f Add 'csv' and 'library' stock icons.
[GB.FORM]
* NEW: Add 'csv' and 'library' stock icons.
2021-10-01 23:06:59 +02:00
gambas
863630b424 Raise an error if we try use an object that is not an array or a collection as setting value.
[GB.SETTINGS]
* BUG: Raise an error if we try use an object that is not an array or a collection as setting value.
2021-10-01 22:27:17 +02:00
gambas
7a69c68e50 Don't store the "add branch to version" flag into the project file. Update the Gambas fonts.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Don't store the "add branch to version" flag into the project file. Just check that the version
  string has a branch name between braces at the end. If the branch is unknown, use the brach name "?".
2021-10-01 22:22:30 +02:00
gambas
ff7b5a2736 Don't crash with an unclear error message when assigning an object to a key.
[GB.SETTINGS]
* BUG: Don't crash with an unclear error message when assigning an object to a key.
2021-09-30 23:39:37 +02:00
gambas
a6980f0be5 Add a new "GambasRound" font. Detect all version of "fckgmail" archive formats.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a new "GambasRound" font. It's a rounder version of the regular Gambas font.
* NEW: Updated Italian translation by Gianluigi.
* BUG: Option dialog: Fix installation of Gambas fonts.
* BUG: Project open dialog: detect all version of "fckgmail" archive formats.
2021-09-30 10:43:35 +02:00
gambas
167cf31239 MenuButton: Try to not take the focus on click, like a ToolButton. Add 'bluetooth' and 'json' stock icons.
[GB.FORM]
* NEW: Add 'bluetooth' and 'json' stock icons.
* NEW: MessageView: Remove text from buttons. Use less vertical space.
* BUG: MenuButton: Try to not take the focus on click, like a ToolButton.
2021-09-28 02:42:54 +02:00
gambas
721552a25c Update file icons. Add 'json' and 'bluetooth' icon.
[GB.FORM.STOCK]
* NEW: Update file icons.
* NEW: Add 'json' and 'bluetooth' icon.
2021-09-28 02:36:40 +02:00
gambas
2b625adcd0 Fix how keyboard events are propagated to the parent windows.
[GB.QT4]
* BUG: Fix how keyboard events are propagated to the parent windows.
* NEW: DrawingArea: Remove some now useless code.

[GB.QT5]
* BUG: Fix how keyboard events are propagated to the parent windows.
* NEW: DrawingArea: Remove some now useless code.
2021-09-24 17:26:49 +02:00
gambas
9d08d13719 ComboBox: Close() is a new method that closes the ComboBox popup.
[GB.QT4]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.

[GB.QT5]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.
2021-09-24 17:25:09 +02:00
gambas
05a261b9d7 ComboBox: Close() is a new method that closes the ComboBox popup.
[GB.GTK]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.

[GB.GTK3]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.
2021-09-24 17:23:37 +02:00
gambas
23da4db632 Some fixes in cursor history management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in cursor history management.
2021-09-21 21:36:45 +02:00
gambas
21f891d443 Image editor: Correctly initially disable the popup menu so that shortcuts are not eaten.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Correctly initially disable the popup menu so that shortcuts are not eaten.
2021-09-20 19:55:13 +02:00
gambas
08f8c4d6a3 Dont' try to fill cursor history when switching project, it crashes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Dont' try to fill cursor history when switching project, it crashes.
2021-09-20 13:55:30 +02:00
gambas
18e56048c2 Style.PaintOption() correctly draws an option button in all cases now.
[GB.GTK3]
* BUG: Style.PaintOption() correctly draws an option button in all cases now.
2021-09-19 21:32:06 +02:00
gambas
4729b9e60b JIT implementation of Left$(), Mid$() and Right$(). They are now twice faster.
[GB.JIT]
* NEW: JIT implementation of Left$(), Mid$() and Right$(). They are now twice faster.
2021-09-18 23:41:47 +02:00
gambas
abd5fd366e FAST keyword is now correctly taken into account when looking for class inheritance or exported classes.
[DEVELOPMENT ENVIRONMENT]
* OPT: Version control: Use FAST for history highlighting.
* BUG: FAST keyword is now correctly taken into account when looking for class inheritance or exported classes.
2021-09-18 19:59:55 +02:00
gambas
fa74c6de33 A few fixes.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix Paint() method signature.
* OPT: TextHighlighter: Add the FAST keyword to the Add() method.
* BUG: '<<' operator was defined twice in 'Sh' highlighting.
2021-09-18 19:57:27 +02:00
gambas
34b543e555 Standard stream objects (File.In, File.Out, File.Err) are now created on demand.
[INTERPRETER]
* NEW: Standard stream objects (File.In, File.Out, File.Err) are now created on demand.
2021-09-18 14:50:39 +02:00
gambas
a62007de37 Class overriding is not retroactive anymore when the class already has instances.
[INTERPRETER]
* BUG: Class overriding is not retroactive anymore when the class already has instances.
* NEW: In tracing mode, indent the interpreter output according to the current stack depth.
2021-09-18 01:09:05 +02:00
gambas
afdf99b141 The 'Run' button now always run the project without arguments. To run the project with arguments, you have to use the 'Run with' dialog now.
[DEVELOPMENT ENVIRONMENT]
* NEW: The 'Run' button now always run the project without arguments. To run the project with arguments, you have to use the 'Run with' dialog now.
2021-09-17 22:49:46 +02:00
gambas
1ced61570a Rework the position history to fix some problems. Compiling the prpoject now automatically hides the error message tooltip.
[DEVELOPMENT ENVIRONMENT]
* BUG: Rework the position history to fix some problems.
* NEW: Compiling the prpoject now automatically hides the error message tooltip.
2021-09-17 10:31:15 +02:00
gambas
2906f04121 Desktop.RunAsRoot() now uses 'pkexec' by default. Desktop.RunAs() is a new method that allows to specify the username used for running a program.
[GB.DESKTOP]
* NEW: Desktop.RunAsRoot() now takes an optional argument to wait for the program ends, and now uses 'pkexec' by default.
* NEW: Desktop.RunAs() is a method similar as RunAsRoot() that takes the username used for running the program.
2021-09-14 20:53:02 +02:00
Benoît Minisini
4cb88fd57b Merge branch 'desktop-runasroot-pkexec' into 'master'
Update Desktop.class, add pkexec to Desktop.RunAsRoot() as gksu/kdesu/etc no longer exist

See merge request gambas/gambas!246
2021-09-14 18:10:46 +00:00
Bruce Steers
d8c8ada403 Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-09-14 17:34:37 +01:00
gambas
1a3b36a3ef Fix csd size computation.
[GB.GTK]
* BUG: Fix csd size computation.

[GB.GTK3]
* BUG: Fix csd size computation.
2021-09-14 17:23:13 +02:00
gambas
a33b312136 Additional project references using relative paths are correctly handled now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Additional project references using relative paths are correctly handled now.
2021-09-14 10:02:07 +02:00
gambas
2a751fcd46 Mark the component as stable.
[GB.FORM.TERMINAL]
* NEW: Mark the component as stable.
2021-09-14 09:51:31 +02:00
gambas
8ee4db628d Buffered streams read and write methods now correctly handle errors.
[INTERPRETER]
* BUG: Buffered streams read and write methods now correctly handle errors.
2021-09-13 19:52:24 +02:00
Bruce Steers
fabaee070b Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-09-09 13:13:55 +01:00
gambas
0c0c658ad3 Merge branch 'master' of gitlab.com:gambas/gambas 2021-09-08 23:57:11 +02:00
gambas
fe227d5047 Deleting a control now correctly disables its associated shortcut.
[GB.WEB.GUI]
* BUG: Deleting a control now correctly disables its associated shortcut.
2021-09-08 23:57:00 +02:00
Benoît Minisini
e99079913c Merge branch 'ScripterBackPortBugFixes' into 'master'
Updates to fix issues with --convert-project

See merge request gambas/gambas!248
2021-09-07 23:55:22 +00:00
gambas
9b9cd35a42 Report editor: Fix CoordBox control for GTK+3.
[DEVELOPMENT ENVIRONMENT]
* BUG: Report editor: Use Style.FrameWidth for the padding of CoordBox, so that the control is usable with GTK+3.
* BUG: Report editor: Fix drawing of CoordBox background.
2021-09-07 01:25:51 +02:00
gambas
6ec0f69060 WebButton: Implement the 'Default' and 'Cancel' buttons.
[GB.WEB.GUI]
* NEW: Preload framework images and icons.
* NEW: WebButton: Implement the 'Default' and 'Cancel' buttons. They work only in the main form and in modal dialogs.
* NEW: WebTree: Clicking twice toggles the item expanded state.
2021-09-07 01:04:12 +02:00
gambas
f2ed77263b Menu shortcuts are now taken into account even if they are defined in an embedded form.
[GB.WEB.GUI]
* BUG: Menu shortcuts are now taken into account even if they are defined in an embedded form.
*
2021-09-05 21:51:16 +02:00