Commit graph

9769 commits

Author SHA1 Message Date
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
gambas
425cd63b56 TextEditor: Correctly reset the Alternate flag before starting highlighting text.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly reset the Alternate flag before starting highlighting text.
2021-09-05 17:54:20 +02:00
gambas
acc85e3268 WebTable: The 'ShowHeader' property is deprecated but works as expected now.
[GB.WEB.GUI]
* BUG: WebTable: The 'ShowHeader' property is deprecated but works as expected now.
*
2021-09-03 01:36:10 +02:00
gambas
b96b698066 Continue WebTree implementation. Replace 'ShowHeader' and 'ShowRowNumber' by a 'Header' property in WebTable.
[GB.WEB.GUI]
* NEW: WebTable: Replace the 'ShowHeader' and 'ShowRowNumber' properties by a 'Header' property.
* NEW: WebTable: Draw the vertical header the same way as the horizontal header, and make it sticky.
* NEW: WebTable: Replace the 'DblClick' event by the 'Activate' event.
* NEW: WebTree: Implement the 'Activate' event.
* BUG: WebTree: The "select all" checkbox now works as expected.
*
2021-09-03 01:33:37 +02:00
gambas
423b02fcd6 Don't use 'qApp->sync()', it calls the event loop.
[GB.QT5.X11]
* BUG: Don't use 'qApp->sync()', it calls the event loop.
2021-09-01 21:16:51 +02:00
gambas
f68e2fe668 'zlib' inflate function sometimes returns an incorrect error code that lead to a crash.
[GB.COMPRESS.ZLIB]
* BUG: 'zlib' inflate function sometimes returns an incorrect error code that lead to a crash.
2021-09-01 17:29:00 +02:00
Bruce Steers
acc409a7cf Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-09-01 15:10:29 +01:00
gambas
4a5e740b58 WebTree: Initial implementation of a tree control. Not finished yet!
[GB.WEB.GUI]
* NEW: WebTree: Initial implementation of a tree control. Not finished yet!
* BUG: WebTable: Fix table layout.
* BUG: Ensure that the pipe for writing the response is in blocking mode.
2021-09-01 01:12:27 +02:00
Bruce Steers
2a68ec6633 Pedantic but Wait was wait... 2021-08-31 16:45:51 +01:00
Bruce Steers
c9f5218300 Tweak Desktop.RunAsRoot(), remove an if condition for speed
[GB.DESKTOP]
* OPT: rearrange RunAsRoot code to remove an If(Condition,True,False) statement
2021-08-31 11:02:38 +01:00
Bruce Steers
2b72588ae1 Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-08-31 00:47:36 +01:00
Bruce Steers
891c1b2ee6 Desktop.RunAsRoot(), Add pkexec to list of gui sudoers
[GB.DESKTOP]
* NEW: add pkexec as primary gui sudoer to RunAsRoot
* NEW: RunAsRoot has "Wait" argument (default is False)
* NEW: RunAsRoot has Username argument (default is root)
* OPT: Split Command if pkexec is used
2021-08-31 00:28:26 +01:00
gambas
6ae9c8f5cd Update German translation. Form editor: Make the property name column a bit larger.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update German translation.
* NEW: Form editor: Make the property name column a bit larger.
2021-08-30 19:54:05 +02:00
gambas
0e207fbf57 WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
[GB.WEB.GUI]
* NEW: WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
2021-08-30 19:30:43 +02:00
gambas
2c2b7d565d Tooltip and link properties of the Color class are now writable. Fix 'Key.Backspace' property name.
[GB.GTK]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.

[GB.GTK3]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.

[GB.QT4]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.

[GB.QT5]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.
2021-08-30 18:58:34 +02:00