Commit graph

9988 commits

Author SHA1 Message Date
gambas
56b33c1461 Search dialog: Using a non-fixed editor font does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Using a non-fixed editor font does not crash anymore.
2021-12-17 13:48:00 +01:00
gambas
1238ce91fc TextEditor: Use the new hidden API that estimates the character width of a specific font.
[GB.FORM.EDITOR]
* NEW: TextEditor: Use the new hidden API that estimates the character width of a specific font.
2021-12-17 13:47:07 +01:00
gambas
56a235f257 TextHighlighter: Use the new hidden API that estimates the character width of a specific font.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Use the new hidden API that estimates the character width of a specific font.
2021-12-17 13:46:43 +01:00
gambas
11c7d60ff4 The hidden API that estimate the character width of a specific font now returns by default an estimated value for non-fixed fonts.
[GB.GUI.BASE]
* NEW: The hidden API that estimate the character width of a specific font now returns by default an estimated value for non-fixed fonts.
2021-12-17 13:46:05 +01:00
gambas
d5514f7120 Search dialog: Center the searched text in the result text as much as possible.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Center the searched text in the result text as much as possible.
2021-12-15 16:06:29 +01:00
gambas
d7d0c2620f Search dialog: Fix and optimize drawing of text in the result table.
[DEVELOPMENT ENVIRONMENT]
* OPT: Search dialog: The text in the result table is drawn faster.
* BUG: Search dialog: The text in the result table is highlighted only for 'Gambas' code. Other highlighting do not work at the moment.
* BUG: Search dialog: Replace tabs by spaces in the result text, so that text is drawn correctly.
2021-12-15 16:00:34 +01:00
gambas
3d3f7cd4d4 TextHighlighter: Fix Paint() method, and add an optional argument that defines the position of the first character of the highlighted text to paint.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Paint() correctly takes into account the new highlighter theme design.
* NEW: TextHighlighter: Paint() method takes an optional argument that defines the position of the first character of the highlighted text to paint.
2021-12-15 15:54:39 +01:00
gambas
1feb4d4ff1 IconView: Little optimization on a test.
[GB.GUI.BASE]
* OPT: IconView: Little optimization on a test.
2021-12-15 15:51:28 +01:00
Benoît Minisini
b0b1dbf5fe Merge branch 'bsteers4-master-patch-16644' into 'master'
See merge request gambas/gambas!252
2021-12-13 21:41:09 +00:00
Bruce Steers
b171733904 IconView: Add 'Next' and 'Previous' properties to the IconView item class, and allows Add() method to insert the new item at the beginning.
[GB.GUI.BASE]
* NEW: IconView: Add 'Next' and 'Previous' properties to the IconView item class.
* NEW: IconView: The 'Add()' method now inserts the new item at the beginning when the 'After' is explicitly specified as 'NULL'.
2021-12-13 21:41:09 +00:00
gambas
39fad5cad9 Packager: ArchLinux: packager information is now available in the generated packages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: ArchLinux: packager information is now available in the generated packages.
2021-12-13 21:55:10 +01:00
gambas
524724f4e3 Packager: ArchLinux: Continue fixing packaging.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: ArchLinux: Continue fixing packaging.
2021-12-13 20:12:01 +01:00
gambas
063c5859e7 Packager: ArchLinux: Add maintainer as packager in 'PKGINFO' file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: ArchLinux: Add maintainer as packager in 'PKGINFO' file.
2021-12-13 00:20:42 +01:00
gambas
5de3cbd935 Debugger: The 'Remove all breakpoints' menu entry does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: The 'Remove all breakpoints' menu entry does not crash anymore.
* BUG: Debugger: Fix breakpoint initialization at project opening.
2021-12-12 23:06:53 +01:00
gambas
9cd730b388 Merge branch 'master' of gitlab.com:gambas/gambas 2021-12-12 22:44:04 +01:00
gambas
a6efc1ae3d Clip the drawing of container children, as GTK+3 does not do that by default.
[GB.GTK3]
* BUG: Clip the drawing of container children, as GTK+3 does not do that by default.
2021-12-12 22:42:53 +01:00
Benoît Minisini
679ccaecd4 Merge branch 'bsteers4-master-patch-90416' into 'master'
IconView.class: do not return before drawing background picture if no items are added.

See merge request gambas/gambas!253
2021-12-12 17:09:30 +00:00
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