Commit graph

9485 commits

Author SHA1 Message Date
gambas
c5a0e318d7 SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
[GB.GUI.BASE]
* BUG: SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
2021-05-13 00:03:50 +02:00
gambas
a22be6a4b4 Translation dialog: Do not use sorted ComboBoxes for choosing languages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: Do not use sorted ComboBoxes for choosing languages, as Qt and GTK+ do not sort the same way, and it breaks the behaviour of the dialog when using GTK+3.
2021-05-12 23:36:45 +02:00
gambas
8ca02c7895 Translation dialog: The "copy all translations" menu works correctly now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: The "copy all translations" menu works correctly now.
* BUG: Translation dialog: Use an explicit background for the untranslated string TextArea, because transparent background does not work with GTK+.
2021-05-12 21:56:36 +02:00
gambas
49e35a9192 FileView: Fix automatic extension behaviour.
[GB.FORM]
* BUG: FileView: Fix automatic extension behaviour.
2021-05-12 21:54:36 +02:00
gambas
61ff5b9091 Disable a setting flag deprecated in WebKitGTK >= 2.32.0.
[GB.GTK3.WEBVIEW]
* BUG: Disable a setting flag deprecated in WebKitGTK >= 2.32.0.
2021-05-12 14:22:04 +02:00
gambas
7d9188d6e7 Use the new compiler options flags.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use the new compiler options flags.
2021-05-12 06:34:31 +02:00
gambas
28d5ee1c74 The workaround of Pango markup bug makes lines disappear with recent versions of Pango, so remove it.
[GB.GTK]
* BUG: The workaround of Pango markup bug makes lines disappear with recent versions of Pango, so remove it.
* BUG: Font.RichTextSize() now uses the same algorithm as Font.TextSize().

[GB.GTK3]
* BUG: The workaround of Pango markup bug makes lines disappear with recent versions of Pango, so remove it.
* BUG: Font.RichTextSize() now uses the same algorithm as Font.TextSize().
2021-05-11 21:32:07 +02:00
gambas
184e21e586 Prevent infinite redirection with "==>", and update IDE dependencies.
[WIKI]
* NEW: Update IDE dependencies.
* BUG: Prevent infinite redirection with "==>".
2021-05-11 03:55:25 +02:00
gambas
9f3319a8f2 Search dialog: Replace message boxes by a label, and fix title update.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Replace message boxes by a label.
* BUG: Search dialog: The title now correctly follows the current tab title.
2021-05-11 03:53:55 +02:00
gambas
6720d87855 Take focus into account when drawing TextArea border, and workaround many drawing warnings.
[GB.GTK3]
* BUG: TextArea: Take focus into account when drawing the border.
* BUG: Workaround many drawing warnings in Slider, CheckBox and RadioButton.
2021-05-11 03:48:24 +02:00
gambas
cd4e60eddf TextArea: Add a padding proportional to the font height.
[GB.GTK]
* NEW: TextArea: Add a padding proportional to the font height.

[GB.GTK3]
* NEW: TextArea: Add a padding proportional to the font height.

[GB.QT4]
* NEW: TextArea: Add a padding proportional to the font height.

[GB.QT5]
* NEW: TextArea: Add a padding proportional to the font height.
2021-05-11 03:47:04 +02:00
gambas
5216f8ee20 MenuButton: Custom drawing of shortcut underlines for GTK+.
[GB.FORM]
* BUG: MenuButton: Custom drawing of shortcut underlines for GTK+.
2021-05-11 03:46:22 +02:00
gambas
aaf05b7c96 Automatic container resize now takes the arrangement of the parent of the container into account.
[GB.GTK]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.

[GB.GTK3]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.

[GB.QT4]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.

[GB.QT5]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.
2021-05-08 20:52:31 +02:00
gambas
8d05d066d9 Update Turkish Translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Turkish Translation.
2021-05-08 01:19:56 +02:00
gambas
2f92ae8ef9 Fix variables prefixes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix variables prefixes.
2021-05-07 22:27:59 +02:00
gambas
da94bbabf3 'h' can be the prefix of any object datatype, even those which already has a prefix.
[COMPILER]
* NEW: 'h' can be the prefix of any object datatype, even those which already has a prefix.
2021-05-07 22:26:53 +02:00
gambas
0e7773b112 Project properties dialog: Add a button to enable variable prefix check compilation flag.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Add a button to enable variable prefix check compilation flag.
* BUG: Rename some variables whose datatype prefix was incorrect.
2021-05-07 20:03:59 +02:00
gambas
3732a5b778 Merge branch 'master' of gitlab.com:gambas/gambas 2021-05-07 20:01:43 +02:00
gambas
09da1e3248 Update 'README.md' file.
[CONFIGURATION]
* NEW: Update 'README.md' file.
2021-05-07 20:01:15 +02:00
gambas
fbff4a7ee9 New compilation option to check variable prefixes against their datatype, and print a warning if they do not match.
[COMPILER]
* NEW: Set compilation flags with the '-f' generic option now.
* NEW: New compilation option to check variable prefixes against their datatype, and print a warning if they do not match.
2021-05-07 19:20:30 +02:00
gambas
3b8b6b5315 Support for 'gb.gtk3.opengl' component.
[GB.GUI.OPENGL]
* NEW: Support for 'gb.gtk3.opengl' component.
2021-05-07 19:20:04 +02:00
Benoît Minisini
92a156b405 Merge branch 'bsteers4-master-patch-22023' into 'master'
Update TextEditorMode_Sh.class: remove quotes from braces

See merge request gambas/gambas!222
2021-05-06 14:44:57 +00:00
Benoît Minisini
616ddbcada Merge branch 'ScripterBugs' into 'master'
[Scripter]

See merge request gambas/gambas!225
2021-05-06 14:44:05 +00:00
gambas
bbee396304 Form editor: Do not crash if a user-defined control inheriting UserContainer requests a non-container in its 'DrawWith' property. Use a Panel or TabPanel instead.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'gb.gtk3.opengl' component.
* NEW: Update French translation.
* BUG: Form editor: Do not crash if a user-defined control inheriting UserContainer requests a non-container in its 'DrawWith' property. Use a Panel or TabPanel instead.
2021-05-03 00:21:11 +02:00
gambas
25edb08f68 The GTK+3 GLArea control now works, by forcing the legacy mode.
[GB.GTK3.OPENGL]
* BUG: GLArea: Force legacy mode (OpenGL < 3.2), unless the 'GDK_GL' environment variale is already defined.
* BUG: GlArea: The control can now take the focus.
2021-05-02 00:31:54 +02:00
Brian G
4869252479 [Scripter]
* BUG: Fix --convert-project   have badly used iif stmt cause single parameter version to fail
2021-05-01 08:41:22 -07:00
gambas
defee2d9c1 Merge branch 'master' of gitlab.com:gambas/gambas 2021-05-01 00:31:07 +02:00
gambas
ae3ff60eef Fix compilation on BSD.
[INTERPRETER]
* BUG: Fix compilation on BSD systems.

[GB.FORM]
* NEW: Search for icon themes in '/usr/local' for BSD systems.
2021-05-01 00:28:19 +02:00
Benoît Minisini
d3cbc60404 Update .gitlab-ci.yml file 2021-04-30 20:17:04 +00:00
gambas
e712f103d8 Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-30 21:46:26 +02:00
gambas
42673b0b2c New component that provides GlArea OpenGL control for 'gb.gtk3'. Does not work yet.
[GB.GTK3.OPENGL]
* NEW: New component that provides GlArea OpenGL control for 'gb.gtk3'. Does not work yet.
2021-04-30 21:44:30 +02:00
gambas
f66b426c46 TextEditor: Remove 'tabledragger.js' test file because it is copyrighted.
[GB.FORM.EDITOR]
* BUG: TextEditor: Remove 'tabledragger.js' test file because it is copyrighted.
2021-04-30 21:43:53 +02:00
gambas
f970a37ed8 Fix a string memory leak in error management.
[INTERPRETER]
* BUG: Fix a string memory leak in error management.
2021-04-30 21:01:14 +02:00
gambas
10faf9da83 TerminalView: Reset() method does not fail anymore if the currently running process is dead.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Reset() method does not fail anymore if the currently running process is dead.
2021-04-30 20:39:12 +02:00
Christof Thalhofer
6c79c186c4 gb.test new test suite 'Production'
[GB.TEST]
* NEW: Test suite 'Production' which is called by run.sh.

The test suite 'Production' excludes tests which are not reliable in all
circumstances.
2021-04-30 08:09:22 +02:00
Christof Thalhofer
2a3b152594 gambas3-selftest comment out Debug symbols
We should need no Debug any more.
2021-04-30 08:02:35 +02:00
gambas
8427844d2d Use SIGUSR1, now that SIGUSR2 is used by the Gambas debugger.
[GB.WEB.GUI]
* BUG: Use SIGUSR1, now that SIGUSR2 is used by the Gambas debugger.
2021-04-30 04:21:24 +02:00
gambas
b3cbe0e4a0 Abort JIT compilation before executing the QUIT instruction.
[INTERPRETER]
* BUG: Abort JIT compilation before executing the QUIT instruction.
2021-04-30 00:34:50 +02:00
gambas
28ce6efc4c Don't remove file descriptors watches in the 'quit' hook to behave like Qt components.
[GB.GTK]
* BUG: Don't remove file descriptors watches in the 'quit' hook to behave like Qt components.

[GB.GTK3]
* BUG: Don't remove file descriptors watches in the 'quit' hook to behave like Qt components.
2021-04-30 00:33:20 +02:00
gambas
af97a0367e Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-29 22:54:40 +02:00
gambas
f24f08d941 Try to read date fields correctly in most ODBC drivers.
[GB.DB.ODBC]
* BUG: Try to read date fields correctly in most ODBC drivers.
2021-04-29 22:53:52 +02:00
Benoît Minisini
6c88cac8d9 Update .gitlab-ci.yml file 2021-04-29 11:56:10 +00:00
gambas
0fec9caf03 Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-29 13:16:32 +02:00
gambas
23531c339f Remove a forgotten debugging breakpoint that made reading Key properties crash when there is no keyboard event data.
[GB.GTK]
* BUG: Remove a forgotten debugging breakpoint that made reading Key properties crash when there is no keyboard event data.

[GB.GTK3]
* BUG: Remove a forgotten debugging breakpoint that made reading Key properties crash when there is no keyboard event data.
2021-04-29 13:15:06 +02:00
Benoît Minisini
03f4f3aede Add 'ncurses-devel' to fedora latest. 2021-04-29 01:04:55 +00:00
gambas
583e6ab501 Fix test panel behaviour.
[DEVELOPMENT ENVIRONMENT]
* NEW: Test panel: The spinner now is correctly shown during the test.
* NEW: Test panel: Display a different message if the test is aborted.
2021-04-28 23:46:54 +02:00
gambas
4ef3334245 WAIT with a positive value should not block anymore in some case.
[INTERPRETER]
* BUG: WAIT with a positive value should not block anymore in some case.
2021-04-28 23:44:16 +02:00
gambas
596ab9fd44 Make the self-tester use the current Gambas version.
[SELF-TESTER]
* NEW: Make the self-tester use the current Gambas version.
2021-04-28 22:58:58 +02:00
Christof Thalhofer
a65600f994 fix gambas3-selftest run.sh
Fix that it can be called from anywhere in the path. Before that it
could only run in 'app/src/gambas3-selftest'. Now it can be called in
the root dir of Gambas via 'app/src/gambas3-selftest/run.sh'.
2021-04-28 16:27:02 +02:00
Christof Thalhofer
f524a2eb9d fix gb.test bug 2181
[GB.TEST]
* BUG: gb.test does not print a real error's text
2021-04-27 13:44:35 +02:00