Commit graph

9971 commits

Author SHA1 Message Date
Bruce Steers
5187e4fcea IconView.class: do not return before drawing background picture if no items are added.
[GB.GUI.BASE]
* BUG: IconView background image is now drawn if no icons are added.
2021-12-12 16:01:58 +00:00
gambas
ab885aabd4 Hide and show all children of a container when it is mapped, to workaround GTK+3 bugs with widget stacking.
[GB.GTK3]
* BUG: Hide and show all children of a container when it is mapped, to workaround GTK+3 bugs with widget stacking.
2021-12-12 00:53:38 +01:00
gambas
93613f517a Packager: Try to fix how license is registered in ArchLinux packages.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Add more GPL licenses.
* BUG: Packager: Try to fix how license is registered in ArchLinux packages.
2021-12-11 12:36:42 +01:00
gambas
f19a9b7494 Packager: On ArchLinux, remove an extra space in the "maintainer" comment of the PKGBUILD file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: On ArchLinux, remove an extra space in the "maintainer" comment of the PKGBUILD file.
2021-12-11 12:14:32 +01:00
gambas
20dbef2e68 IconView: The 'After' argument of the 'Add()' method now works as expected.
[GB.GUI.BASE]
* BUG: IconView: The 'After' argument of the 'Add()' method now works as expected.
2021-12-11 12:01:58 +01:00
gambas
558f05fe21 Fix array and allocation management, so that allocating a byte array with a number of elements near the greatest integer does not crash anymore.
[INTERPRETER]
* BUG: Fix array and allocation management, so that allocating a byte array with a number of elements near the greatest integer does not crash anymore.
2021-12-09 23:50:41 +01:00
gambas
82301c82f9 Subroutine arguments that expect an Integer value now accept a Long without raising a type mismatch error.
[INTERPRETER]
* BUG: Subroutine arguments that expect an Integer value now accept a Long without raising a type mismatch error.
2021-12-09 02:18:12 +01:00
gambas
6b6fcc838a Fix a crash in 'gb.pcre2' code.
[GB.PCRE]
* BUG: Fix a crash in 'gb.pcre2' code.
2021-12-08 13:15:56 +01:00
gambas
106cca2569 Merge branch 'master' of gitlab.com:gambas/gambas 2021-12-07 21:09:45 +01:00
gambas
8716cf4076 Support for 'pcre2'. The 'pcre' library is now used only if 'pcre2' is not found.
[GB.PCRE]
* NEW: Support for 'pcre2'. The 'pcre' library is now used only if 'pcre2' is not found.
* NEW: The interface is the same if 'pcre2' is used, so you don't have access to the new features of 'pcre2'.
2021-12-07 20:51:34 +01:00
Benoît Minisini
7dd4ab4b55 Disable 'gb.qt5.webkit' for alpine. 2021-12-06 18:39:37 +00:00
Benoît Minisini
8216a47b56 Disable 'gb.sdl.sound' in alpine. 2021-12-06 17:58:18 +00:00
Benoît Minisini
f3ec57aa2b Merge branch 'master' into 'master'
Call get_nprocs on Cygwin like on Linux

See merge request gambas/gambas!249
2021-12-06 17:29:39 +00:00
Benoît Minisini
30c558b5a2 Merge branch 'ScripterBugFix' into 'master'
Updates to fix issues with multi line enum

See merge request gambas/gambas!250
2021-12-06 17:28:29 +00:00
Benoît Minisini
5fd1629707 Merge branch 'master' into 'master'
Contains new Italian translations

See merge request gambas/gambas!251
2021-12-06 17:28:07 +00:00
GianluigiOr
3f0fbc5ca9 Contains new Italian translations
[GAMBAS-WIKI]
* NEW: The translation is now complete.
[GAMBAS-SELFTEST]
* NEW: The translation is now complete.
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.
[GBS3]
* NEW: The translation is now complete.
[GB.ARGS]
* NEW: The translation is now complete.
[GB.EVAL.HIGHLIGHT]
* NEW: The translation is now complete.
[GB.FORM.TERMINAL]
* NEW: The complete translation.
[GB.FORM]
* NEW: The translation is now complete.
[GB.GUI.BASE]
* NEW: The translation is now complete.
[GB.WEB.FORM]
* NEW: The translations is now complete.
[GB.WEB.GUI]
* NEW: The translations is now complete.
2021-12-06 17:45:10 +01:00
gambas
76c6231010 Merge branch 'master' of gitlab.com:gambas/gambas 2021-12-04 12:41:01 +01:00
gambas
f72a9d51db Debugger: String variables are now edited in an external dialog box if they are too long (more than 128 bytes).
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Debugger: String variables are now edited in an external dialog box if they are too long (more than 128 bytes).
2021-12-04 12:40:49 +01:00
Benoît Minisini
0ba7b420d9 Remove 'qt5-qtwebkit-dev' package from 'alpine' build. 2021-12-03 04:16:19 +00:00
gambas
0b374be352 Version control: Don't crash when choosing a branch color if the branch name is null.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Don't crash when choosing a branch color if the branch name is null.
2021-12-02 21:28:40 +01:00
gambas
70505e42c6 Version control: Get the current git branch with a command that works with all versions of git.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Get the current git branch with a command that works with all versions of git.
2021-11-29 16:14:23 +01:00
gambas
0c9a620388 New implementation of breakpoints management. Breakpoints cannot be disabled anymore, and they are now displayed in the debugger panel, under the stack backtrace.
[DEVELOPMENT ENVIRONMENT]
* NEW: New implementation of breakpoints management. Breakpoints cannot be disabled anymore, and they are now displayed in the debugger panel, under the stack backtrace.
2021-11-22 20:03:32 +01:00
gambas
800b4d17a6 A workaround to let submenu be displayed on Gnome system tray. The Gnome system tray is still buggy, never reacting to any change in menu properties.
[GB.DBUS.TRAYICON]
* BUG: Detect if we are on a Gnome desktop. In that case the _AboutToShow()
  signal always returns FALSE, otherwise submenus are not displayed. But the
  Gnome system tray seems to still be buggy, never reacting to any change in
  menu properties.
* BUG: Be more robust when a tray icons has no popup menus.
* BUG: Do no crash when freeing remaining tray icons at program clean-up.
2021-11-18 23:09:58 +01:00
Brian G
ee203da640 Updates to fix issues with multi line enum
[Scripter]
* BUG: Fix incorrect processing of multi line enum, when main is not defined in the script
2021-11-15 12:42:27 -08:00
gambas
79ff9b9f2d Help browser: Correctly react to switches between offline and online help.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Correctly react to switches between offline and online help.
* NEW: Update financial support.
2021-11-14 22:09:48 +01:00
gambas
31818b9ba8 HtmlView: Mouse events do not crash a void view anymore.
[GB.FORM.HTMLVIEW]
* BUG: HtmlView: Mouse events do not crash a void view anymore.
2021-11-14 22:07:54 +01:00
gambas
6a495cbc88 TextEditor: Setting the Highlight property now works correctly all the time.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the Highlight property now works correctly all the time.
2021-11-14 18:58:12 +01:00
gambas
618a84f264 Embedded windows now behave the same way as in Qt components, and raise their Open and Show events as expected.
[GB.GTK]
* BUG: Embedded windows now behave the same way as in Qt components, and raise their Open and Show events as expected.

[GB.GTK3]
* BUG: Embedded windows now behave the same way as in Qt components, and raise their Open and Show events as expected.
2021-11-13 00:18:38 +01:00
gambas
fc556669d8 Desktop.OpenTerminal() now correctly interprets again 'Desktop.Type'.
[GB.DESKTOP]
* BUG: Desktop.OpenTerminal() now correctly interprets again 'Desktop.Type',
  which does not include the entire contents of $XDG_CURRENT_DESKTOP, but
  only the first one of that colon-separated desktop names list.
2021-11-12 22:03:23 +01:00
gambas
8006f3b39b Desktop: Ensure that desktop types are in upper case.
[GB.GUI.BASE]
* BUG: Desktop: Ensure that desktop types are in upper case.
2021-11-12 22:01:07 +01:00
gambas
c9517c42ea TextEditor: In "gambas" mode, ALT+' and ALT+" now respectively add single quotes and double quotes around the current selection.
[GB.FORM.EDITOR]
* NEW: TextEditor: In "gambas" mode, `ALT+'` and `ALT+"` now respectively add single quotes and double quotes around the current selection.
2021-11-12 21:48:44 +01:00
gambas
b374ba78de TextEditor: Setting the Text property correctly resets the internal highlighting state.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the Text property correctly resets the internal highlighting state.
2021-11-12 21:44:25 +01:00
gambas
375ce85217 Project property dialog: The component help does not crash anymore when hitting the back button.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: The component help does not crash anymore when hitting the back button.
2021-11-12 21:26:40 +01:00
gambas
cad8414c55 HtmlView: Clear() is a new method that clears the view contents and the history.
[GB.FORM.HTMLVIEW]
* NEW: HtmlView: Clear() is a new method that clears the view contents and the history.
2021-11-12 21:26:04 +01:00
gambas
0165a1beae HtmlView: The Back() method now returns TRUE if going back is impossible.
[GB.FORM.HTMLVIEW]
* NEW: HtmlView: The Back() method now returns TRUE if going back is impossible.
2021-11-12 21:19:55 +01:00
gambas
89465eb4c7 Now an HtmlView is used everywhere for displaying help when offline help is enabled. Otherwise a WebView is used.
[DEVELOPMENT ENVIRONMENT]
* BUG: Now an HtmlView is used everywhere for displaying help when offline help is enabled. Otherwise a WebView is used.
* NEW: Many updates of forms ('Mouse' constants replaced by 'Cursor' constants, and PictureBox pictures not cached anymore)
2021-11-12 21:05:54 +01:00
gambas
5b58d76864 Form editor: Draw the red border of containers in a more logical way.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Draw the red border of containers in a more logical way.
2021-11-10 01:36:33 +01:00
gambas
52dbf8fdf3 Automatic completion: Do not insert a space if the completion is triggered by a bracket, a point or an exclamation mark.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Do not insert a space if the completion is triggered by a bracket, a point or an exclamation mark.
2021-11-09 02:10:18 +01:00
gambas
33140371d1 TerminalView: Support for RGB colors.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for RGB colors. Use a bit more memory.
2021-11-09 02:05:07 +01:00
gambas
e2b49075bf TextHighlighter: Fix ToANSI() method.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix ToANSI() method.
* BUG: Fix unit tests.
2021-11-09 01:21:18 +01:00
gambas
c5174e185d The previous commit broke the the bit manipulation functions. Fix it.
[INTERPRETER]
* BUG: The previous commit broke the the bit manipulation functions. Fix it.
2021-11-09 00:10:54 +01:00
gambas
0ff81df085 AND, OR and XOR operators now work correctly when one of its argument is a Long and the other is not.
[INTERPRETER]
* BUG: AND, OR and XOR operators now work correctly when one of its argument is a Long and the other is not.
2021-11-08 23:54:28 +01:00
gambas
1f93b3723c Array classes can be used with the IS operator without being declared elsewhere first.
[COMPILER]
* BUG: Array classes can be used with the IS operator without being declared elsewhere first.
2021-11-08 12:25:58 +01:00
gambas
cebcddd531 The translation logs generated by the compiler are now displayed to the user.
[DEVELOPMENT ENVIRONMENT]
* NEW: The translation logs generated by the compiler are now displayed to the user.
* NEW: Redraw 'class' and 'module' icons.
2021-11-08 01:48:31 +01:00
gambas
463c8c7d2b The F2 "find definition" function does not mistake subroutines for normal symbols anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: The F2 "find definition" function does not mistake subroutines for normal symbols anymore.
2021-11-08 01:46:21 +01:00
gambas
fa133a3c78 The output of 'msgfmt' executions is stored in log files, one by translation.
[COMPILER]
* NEW: The output of 'msgfmt' executions is stored in log files, one by translation.
2021-11-08 01:43:27 +01:00
gambas
4b8b7a8dbd Do not use the Postgresql server includes anymore to get datatypes id.
[CONFIGURATION]
* NEW: Update gitlab CI configuration file.

[GB.DB.POSTGRESQL]
* BUG: Do not use the Postgresql server includes anymore to get datatypes id.
  Read them directly from the database at connection. That way the component
  can compile again on new versions of Fedora that broke the Postgresql packages.
2021-11-07 20:42:27 +01:00
gambas
6e2140b1ed Merge branch 'master' of gitlab.com:gambas/gambas 2021-11-07 02:39:27 +01:00
gambas
847d55d232 TextEditor: Use the correct style for highlighting the line where the debugger is stopped.
[GB.FORM.EDITOR]
* BUG: TextEditor: Use the correct style for highlighting the line where the debugger is stopped.
2021-11-07 02:39:16 +01:00
Benoît Minisini
87dc485439 Apparently 'opensuse-tumbleweed' cannot compile Qt5 webkit anymore. 2021-11-07 00:44:49 +00:00