Commit graph

8523 commits

Author SHA1 Message Date
gambas
2d1d307455 If no language environment variable is defined, use "C" locale instead of "en_US".
[INTERPRETER]
* NEW: Add process id in warning messages.
* BUG: If no language environment variable is defined, use "C" locale instead of "en_US".
2020-09-17 09:52:38 +02:00
gambas
f0606b61c3 Disable jit compiler if no compiler is found.
[INTERPRETER]
* NEW: Disable jit compiler if no compiler is found.

[GB.JIT]
* NEW: Don't crash if no compiler is found, but just tell the interpreter.
2020-09-14 21:15:20 +02:00
gambas
18a74ff682 Use "-march=native -mtune=native" to compile JIT translated code.
[GB.JIT]
* OPT: Use "-march=native -mtune=native" to compile JIT translated code.
2020-09-11 00:43:08 +02:00
gambas
ed0f467b63 Some fixes in translation support.
[INTERPRETER]
* BUG: Fix possible buffer overflow on localisation environment variables.
* BUG: Always define LC_ALL and LANG with the effective language chosen.
* BUG: Use the current language to load translations, not what setlocale() returns.
2020-09-11 00:39:00 +02:00
gambas
687708e1b3 Socket: Automatically create an internal timer to handle connection timeout.
[GB.NET]
* NEW: Socket: Automatically create an internal timer to handle connection timeout.
* NEW: Net.ConnectionTimeout is a new status constant indicating a connection timeout.
2020-09-11 00:35:58 +02:00
gambas
6e3f56be4e TerminalView: Ignore window manipulations sequences.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Ignore window manipulations sequences ("ESC [ ... t").
2020-09-08 09:02:53 +02:00
gambas
edac2459b2 Use substitutes for missing components only in the help browser.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use substitutes for missing components only in the help browser.
2020-09-08 08:19:43 +02:00
gambas
027843d640 ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.
[GB.FORM.MDI]
* BUG: ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.
2020-09-08 00:25:55 +02:00
gambas
2a4493100f Report.Print() now works correctly whatever the toolkit or the printer.
[GB.REPORT2]
* BUG: Report.Print() now works correctly whatever the toolkit or the printer.
* BUG: Checking or unchecking the grayscale checkbox now correctly refreshes the preview.
2020-09-05 21:44:56 +02:00
gambas
b7f1e745c1 WebComboBox: Use the 'onclick' event instead of 'onselect', so that initial click on first list element is detected.
[GB.WEB.GUI]
* BUG: WebComboBox: Use the 'onclick' event instead of 'onselect', so that initial click on first list element is detected.
2020-09-05 14:37:03 +02:00
gambas
5a5e0a4d35 Form editor: Do not set the Name property if a virtual control has no Name property.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Do not set the Name property if a virtual control has no Name property.
2020-09-03 23:37:23 +02:00
gambas
dae8c3d271 Make compiler and runtime errors tooltips more readable.
[DEVELOPMENT ENVIRONMENT]
* BUG: Make compiler and runtime errors tooltips more readable.
2020-09-02 20:08:28 +02:00
gambas
d5c6ea0462 Fix search result line numbers.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix search result line numbers.
2020-08-31 16:26:09 +02:00
gambas
183936cfe7 Drawing a null rich text string does not crash anymore.
[GB.GTK]
* BUG: Drawing a null rich text string does not crash anymore.

[GB.GTK3]
* BUG: Drawing a null rich text string does not crash anymore.
2020-08-30 21:25:10 +02:00
gambas
93f91041e1 Message: text is not vertically truncated anymore when using a GTK+ component.
[GB.GUI.BASE]
* BUG: Message: text is not vertically truncated anymore when using a GTK+ component.
2020-08-30 20:58:55 +02:00
gambas
e6204f4e5c UdpSocket: Fix declaration of SourcePath property.
[GB.NET]
* BUG: UdpSocket: Fix declaration of SourcePath property.
2020-08-29 14:48:21 +02:00
gambas
6612f7639b UdpSocket: Fix multicast Join() and Leave() methods.
[GB.NET]
* BUG: UdpSocket: Fix multicast Join() and Leave() methods.
2020-08-25 05:13:05 +02:00
gambas
db06064d7b Log is now disabled by default.
[GB.WEB.GUI]
* BUG: Log is now disabled by default. Setting the GB_WEB_GUI_DEBUG environment variable to "1" enables it.
2020-08-24 10:43:40 +02:00
gambas
ae21ed7f77 UdpSocket: writing does not crash anymore if the target is not defined.
[GB.NET]
* BUG: UdpSocket: writing does not crash anymore if the target is not defined.
2020-08-22 22:22:19 +02:00
gambas
e072bdd11f Breeze and oxygen theme fixes should not crash anymore.
[GB.QT4]
BUG: Breeze and oxygen theme fixes should not crash anymore.

[GB.QT5]
* BUG: Breeze and oxygen theme fixes should not crash anymore.
2020-08-21 13:07:14 +02:00
gambas
1c44184a68 Make component compile again.
[GB.QT4]
* BUG: Make component compile again.
2020-08-21 11:55:52 +02:00
gambas
41af42c8d9 Better support of menu bar exported through DBus.
[GB.QT4]
* NEW: Better support of menu bar exported through DBus.
* NEW: Only the Application.MainWindow menubar is exported through DBus.

[GB.QT5]
* NEW: Better support of menu bar exported through DBus.
* NEW: Only the Application.MainWindow menubar is exported through DBus.
2020-08-21 11:25:21 +02:00
gambas
76637184e6 Remove a debugging message.
[GB.SETTINGS]
* BUG: Remove a debugging message.
2020-08-21 11:22:30 +02:00
Benoît Minisini
e193d7ec8c Merge branch 'gbs3' into 'master'
Gbs3

See merge request gambas/gambas!152
2020-08-21 09:20:19 +00:00
gambas
e2eabcdb29 Never export the menu bar through DBus, it crashes on Mate.
[GB.QT4]
* BUG: Never export the menu bar through DBus, it crashes on Mate.

[GB.QT5]
* BUG: Never export the menu bar through DBus, it crashes on Mate.
* BUG: Better support of popups when run on Wayland.
2020-08-21 01:31:19 +02:00
gambas
362e6ce64d The automatic width of RadioButton and CheckBox is now larger to avoid GTK+ warnings.
[GB.GTK]
* BUG: The automatic width of RadioButton and CheckBox is now larger to avoid GTK+ warnings.

[GB.GTK3]
* BUG: The automatic width of RadioButton and CheckBox is now larger to avoid GTK+ warnings.
2020-08-20 21:44:24 +02:00
gambas
97be8e7f9b UdpSocket: Correctly declare multicast virtual class.
[GB.NET]
* BUG: UdpSocket: Correctly declare multicast virtual class.
2020-08-20 13:54:32 +02:00
gambas
ea6c2d6074 Wayland compositors and client-side decorations support.
[GB.GTK3]
* BUG: Popups now work on Wayland compositors.
* BUG: Support for client-side decorations.
2020-08-20 01:45:35 +02:00
gambas
ccb5471dcf ListBox: Click event is now raised on the next event loop.
[GB.GUI.BASE]
* NEW: ListBox: Click event is now raised on the next event loop.
2020-08-20 01:41:34 +02:00
gambas
796ec29fbb Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-08-20 01:37:54 +02:00
gambas
6a505680e2 DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.
[GB.DB.FORM]
* NEW: DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.
2020-08-20 01:37:47 +02:00
Brian G
ca34256ccf [gb.texthighlight]
* FIX:  Removed ToConsole
* NEW:  Created new branch for console highlight
* NEW:  Updated TextHighlight to include ToConsole, for console print highlighting support
2020-08-19 06:33:17 -07:00
Benoît Minisini
182db8d45c Merge branch 'master' into 'master'
Correct poppler version detection

See merge request gambas/gambas!153
2020-08-19 09:48:51 +00:00
Bastian Germann
f00ddb5f9a Correct poppler version detection
[GB.PDF]
* BUG: Correct poppler version detection
2020-08-19 07:24:26 +00:00
gambas
0112bcdd93 UdpSocket: Fix multicast support.
[GB.NET]
* BUG: UdpSocket: Fix multicast support.
2020-08-18 23:36:30 +02:00
gambas
a86cb7430f UpdSocket: Add multicast support.
[GB.NET]
* NEW: UpdSocket: Add multicast support.
2020-08-18 23:16:05 +02:00
Brian G
8c81a07a65 [SCRIPTER]
* NEW:  Updates translations for some missing elements
* FIX:  Updated directories to be searched for libraries
* FIX:  Updated Compile Error to contain command line programs in Quote() as it used the full line as the program name for project creation.
* NEW:  Branch created GBS3
* Fix:  Testing function to compare content not accross direct compare
* FIX:  Was Not Detecting main or MAIN only Main when sub main was entered in script
* NEW:  Added Support to correctly place Public Structures Outside of the MAIN function
* NEW:  Added Support to correctly place Public Variables outside the MAIN function
* NEW:  Added Test Suite to verify very basic functionality of the Scripter
* NEW:  Updated usage for gbs and gbw with more details
2020-08-18 12:11:54 -07:00
gambas
5be18a279d Desktop.SendMail() now waits for the completion of the 'xdg-email' script, so that errors are raised.
[GB.DESKTOP]
* BUG: Desktop.SendMail() now waits for the completion of the 'xdg-email' script, so that errors are raised.
2020-08-18 10:59:20 +02:00
Brian G
aa600b53f1 [SCRIPTER]
* FIX:  Updated directories to be searched for libraries
* FIX:  Updated Compile Error to contain command line programs in Quote() as it used the full line as the program name for project creation.
* NEW:  Branch created GBS3
* Fix:  Testing function to compare content not accross direct compare
* FIX:  Was Not Detecting main or MAIN only Main when sub main was entered in script
* NEW:  Added Support to correctly place Public Structures Outside of the MAIN function
* NEW:  Added Support to correctly place Public Variables outside the MAIN function
* NEW:  Added Test Suite to verify very basic functionality of the Scripter
* NEW:  Updated usage for gbs and gbw with more details
2020-08-14 17:31:44 -07:00
gambas
d9701a986e Merge branch 'master' of gitlab.com:gambas/gambas 2020-08-11 14:16:42 +02:00
gambas
aeaf81023a Fix component sorting.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix component sorting.
* BUG: VersionControl: Error message is now top aligned.
* NEW: System information dialog: Add GDK library.
2020-08-11 14:16:28 +02:00
gambas
b00a552f62 TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.
2020-08-11 14:13:34 +02:00
Brian G
14c708cff7 [SCRIPTER]
* FIX:  Updated Compile Error to contain command line programs in Quote() as it used the full line as the program name for project creation.
* NEW:  Branch created GBS3
* Fix:  Testing function to compare content not accross direct compare
* FIX:  Was Not Detecting main or MAIN only Main when sub main was entered in script
* NEW:  Added Support to correctly place Public Structures Outside of the MAIN function
* NEW:  Added Support to correctly place Public Variables outside the MAIN function
* NEW:  Added Test Suite to verify very basic functionality of the Scripter
* NEW:  Updated usage for gbs and gbw with more details
2020-08-10 11:41:01 -07:00
Brian G
ad9fb28052 [SCRIPTER]
* NEW:  Branch created GBS3
* Fix:  Testing function to compare content not accross direct compare
* FIX:  Was Not Detecting main or MAIN only Main when sub main was entered in script
* NEW:  Added Support to correctly place Public Structures Outside of the MAIN function
* NEW:  Added Support to correctly place Public Variables outside the MAIN function
* NEW:  Added Test Suite to verify very basic functionality of the Scripter
* NEW:  Updated usage for gbs and gbw with more details
2020-08-10 10:40:39 -07:00
Tobias Boege
62823aed08 gb.test: Improve diagnostics of Approximate assertions
[GB.TEST]
* BUG: Improve diagnostics of Approximate and RelativeApproximate assertions, showing the original values too.
2020-08-09 22:11:07 +02:00
Brian G
7761b1fa3d [SCRIPTER]
* Fix:  Testing function to compare content not accross direct compare
* FIX:  Was Not Detecting main or MAIN only Main when sub main was entered in script
* NEW:  Added Support to correctly place Public Structures Outside of the MAIN function
* NEW:  Added Support to correctly place Public Variables outside the MAIN function
* NEW:  Added Test Suite to verify very basic functionality of the Scripter
* NEW:  Updated usage for gbs and gbw with more details
2020-08-09 12:55:04 -07:00
gambas
1eb943644e Display grid if the grid property is set, and ignore vertical alignment when drawing the contents.
[GB.DB.FORM]
* BUG: DataComboView: Ignore vertical alignment when drawing the contents.
* NEW: DataComboView: Draw grid inside the combo if the grid property is set (the code is actually in the previous commit).
2020-08-03 02:33:15 +02:00
gambas
0720b6763d Fix popup management, and save drawing context when running a style method.
[GB.GTK]
* BUG: Fix popup management.
* BUG: Save drawing context when running a style method.

[GB.GTK3]
* BUG: Fix popup management.
* BUG: Save drawing context when running a style method.
2020-08-03 02:22:02 +02:00
gambas
ff5541cdb9 DataComboView: Fix default event and prevent the popup contents from scrolling horizontally.
[GB.DB.FORM]
* BUG: DataComboView: Fix default event.
* NEW: DataComboView: Prevent the popup contents from scrolling horizontally.
2020-08-03 00:21:49 +02:00
gambas
8af699ce91 Correctly handle "~" in database directories.
[GB.DB.SQLITE2]
* BUG: Correctly handle "~" in database directories.

[GB.DB.SQLITE3]
* BUG: Correctly handle "~" in database directories.
2020-08-02 21:14:15 +02:00