Commit graph

8488 commits

Author SHA1 Message Date
gambas
cb531a5b21 Add 'gb.Input' and 'gb.Output' constants.
[INTERPRETER]
* NEW: Add 'gb.Input' and 'gb.Output' constants.
2020-11-09 17:41:27 +01:00
gambas
4861c3a2d3 SerialPort: The Close() method now takes the buffer to clear as an optional argument.
[GB.NET]
* NEW: SerialPort: The Close() method now takes the buffer to clear as an optional argument. Use 'gb.Read' for the input buffer and 'gb.Write' for the output buffer.
2020-11-09 17:39:27 +01:00
gambas
1239f45687 Redesign internal file constants.
[INTERPRETER]
* NEW: Redesign internal file constants.
* BUG: Opening a file for creation in direct mode now implies the write flag.
2020-11-09 17:38:28 +01:00
gambas
6b3e15f937 SerialPort: Add a Clear() method that clears both input and output buffers.
[GB.NET]
* NEW: SerialPort: Add a Clear() method that clears both input and output buffers.
2020-11-09 14:37:33 +01:00
gambas
52d7ddf745 WebView widget is now patched.
[GB.GTK3]
* NEW: Allow other GTK+3 components to patch their widget.

[GB.GTK3.WEBVIEW]
* NEW: WebView widget is now patched.
2020-11-09 03:31:34 +01:00
gambas
fa57dd5934 Make keyboard data available the same way as in Qt components.
[GB.GTK]
* BUG: Make keyboard data available the same way as in Qt components.

[GB.GTK3]
* BUG: Make keyboard data available the same way as in Qt components.
2020-11-09 03:27:55 +01:00
gambas
1e7babd1ee Popup the same window several times now works correctly.
[GB.GTK]
* BUG: Popup the same window several times now works correctly.

[GB.GTK3]
* BUG: Popup the same window several times now works correctly.
2020-11-09 03:27:07 +01:00
gambas
ab6c37bef7 Inserting a new environment variable now edits the correct cell.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Unset AutoResize property on a container so that the "Authors" Textarea is visible on GTK+3.
* BUG: Project property dialog: Inserting a new environment variable now edits the correct cell.
2020-11-07 10:55:55 +01:00
gambas
3da8c41bdc TextArea works again.
[GB.GTK]
* BUG: TextArea works again.

[GB.GTK3]
* BUG: TextArea works again.
2020-11-07 10:53:17 +01:00
gambas
0b6359e697 Fix the workaround on TabStrip layout error messages.
[GB.GTK3]
* BUG: Fix the workaround on TabStrip layout error messages.
2020-11-07 00:45:17 +01:00
gambas
526919c990 Workaround GTK+ layouting errors on TabStrip.
[GB.GTK3]
* BUG: Workaround GTK+ layouting errors on TabStrip.
2020-11-07 00:36:28 +01:00
gambas
7c5605051f New menu positioning functions are available since GTK+ 3.22 only.
[GB.GTK3]
* BUG: New menu positioning functions are available since GTK+ 3.22 only.
2020-11-06 14:15:43 +01:00
gambas
339cde7d15 Container children are not incorrectly shown in some cases anymore.
[GB.GTK]
* OPT: Get rid of the 'g_typ' gControl variable.
* BUG: Menu having children cannot be checked anymore.
* BUG: Container children are not incorrectly shown in some cases anymore.

[GB.GTK3]
* OPT: Get rid of the 'g_typ' gControl variable.
* BUG: Menu having children cannot be checked anymore.
* BUG: Container children are not incorrectly shown in some cases anymore.
2020-11-06 13:40:14 +01:00
gambas
e93cdacf10 Checking or unchecking a menu does not raise the Click event anymore.
[GB.GTK]
* BUG: Checking or unchecking a menu does not raise the Click event anymore.

[GB.GTK3]
* BUG: Checking or unchecking a menu does not raise the Click event anymore.
2020-11-05 03:01:39 +01:00
gambas
3282fe3cca Fix management of menus.
[GB.GTK]
* BUG: Get rid of glib deprecation warnings.
* OPT: Lazy initialization of input methods for widgets having none by default.
* BUG: Fix management of menus and make them behave like in Qt components.

[GB.GTK3]
* OPT: Lazy initialization of input methods for widgets having none by default.
* BUG: Fix management of menus and make them behave like in Qt components.
2020-11-05 01:38:57 +01:00
gambas
d212010fa7 Use the new '-a' interpreter option to make the script look like it was not run from a temporary generated project.
[SCRIPTER]
* NEW: Use the new '-a' interpreter option to make the script look like it was not run from a temporary generated project.
* BUG: Start to clean-up the project. A lot of clean-up work is still needed!
2020-11-02 22:31:51 +01:00
gambas
6586e7d7cc Add a '-a' option that allows to override the program path (i.e. Application.Path and Args[0]).
[INTERPRETER]
* NEW: Add a '-a' option that allows to override the program path (i.e. Application.Path and Args[0]).
2020-11-02 22:09:35 +01:00
gambas
f3587c71d7 Forgot to add 'gb.settings' back to the checked components.
[GB.FORM.MDI]
* BUG: Forgot to add 'gb.settings' back to the checked components.
2020-11-02 21:44:54 +01:00
gambas
1ad5ed2ac6 Fix compilation.
[GB.FORM.MDI]
* BUG: Fix compilation.
2020-11-02 01:39:45 +01:00
gambas
86f3f6b6f5 Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-01 19:05:08 +01:00
gambas
9394e35c23 Add some test forms. 2020-11-01 19:04:36 +01:00
gambas
f9f96a24b7 BUG: Scanning a class that declares a structure using the name of an already existing class does not loop forever anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Scanning a class that declares a structure using the name of an already existing class does not loop forever anymore.
2020-11-01 19:02:28 +01:00
gambix
35352de728 Use pnm instead of jpeg to avoid libjpeg problems.
[GB.SCANNER]
* BUG: Use pnm instead of jpeg to avoid libjpeg problems.
* BUG: Better progress tracking
* BUG: Remove empty entry in list
2020-11-01 14:48:12 +01:00
gambas
905c2f568d Handle focus traversal our owns way.
[GB.GTK]
* NEW: Handle focus traversal our owns way.

[GB.GTK3]
* NEW: Handle focus traversal our owns way.
2020-11-01 08:38:56 +01:00
gambas
8f68f26233 Allow the value of markup attributes not to be embedded between quotes in rich text.
[GB.GTK]
* BUG: Allow the value of markup attributes not to be embedded between quotes in rich text.

[GB.GTK3]
* BUG: Allow the value of markup attributes not to be embedded between quotes in rich text.
2020-10-31 18:53:36 +01:00
gambas
d20832fd74 Control.Reparent() correctly moves the control if the parent is not changed.
[GB.GTK]
* BUG: Control.Reparent() correctly moves the control if the parent is not changed.

[GB.GTK3]
* BUG: Control.Reparent() correctly moves the control if the parent is not changed.
2020-10-31 16:46:18 +01:00
gambas
8e91ff071a Gambas fonts: merge all different sizes in two SFD files (one for regular, one for bold).
[DEVELOPMENT ENVIRONMENT]
* NEW: Gambas fonts: merge all different sizes in two SFD files (one for regular, one for bold).
2020-10-30 22:56:15 +01:00
gambas
dc603dcc6a Use OTB format instead of TTF format for Gambas fonts. It works better (but still not perfectly with GTK+).
[DEVELOPMENT ENVIRONMENT]
* NEW: Use OTB format instead of TTF format for Gambas fonts. It works better (but still not perfectly with GTK+).
2020-10-30 20:53:03 +01:00
gambas
2786ad1aa8 Packager: Debian packages now uses icons in PNG format instead of XPM, that format being not supported by GTK+.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Debian packages now uses icons in PNG format instead of XPM, that format being not supported by GTK+.
2020-10-30 16:13:40 +01:00
gambas
40d0fe638a Project property dialog: Don't try to display the average number of lines by function if there is no function in the project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Don't try to display the average number of lines by function if there is no function in the project.
2020-10-30 15:32:23 +01:00
gambas
ebcf5d4102 Put the '*.bdf' files into the project data, even if they are generated from the '*.sfd' files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Put the '*.bdf' files into the project data, even if they are generated from the '*.sfd' files.
2020-10-28 23:51:50 +01:00
gambas
82b9018e9b Gambas bitmap fonts are now embedded into TTF files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Gambas bitmap fonts are now embedded into TTF files. GTK+3 now can display them, but with incorrect spacing!
2020-10-28 23:50:18 +01:00
Benoît Minisini
6e6a86b23c Merge branch 'sh.highlight' into 'master'
Sh.highlight: new added sh (shell) to TextEditor

See merge request gambas/gambas!156
2020-10-27 21:58:52 +00:00
gambas
ca20c1f87f Fix AutoResize arrangement.
[GB.GTK]
* BUG: Fix AutoResize arrangement.

[GB.GTK3]
* BUG: Fix AutoResize arrangement.
2020-10-27 22:32:42 +01:00
Bruce Steers
8b5224af77 Merge branch 'sh.highlight' of https://gitlab.com/bsteers4/gambas into sh.highlight 2020-10-27 20:42:31 +00:00
Bruce Steers
dcb0b50472 Merge branch 'master' of https://gitlab.com/gambas/gambas into sh.highlight 2020-10-27 20:36:56 +00:00
Bruce Steers
e1e36cabc8 Update TextEditor.class: removed anything non-highlight related 2020-10-27 20:28:44 +00:00
gambas
f75e39ec4b Project property dialog: Environment variables now can be individually disabled.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Environment variables now can be individually disabled.
2020-10-27 21:22:45 +01:00
Bruce Steers
1a9c9fb802 Replace TextEditor.class: added "Sh" to mode/highlight properties 2020-10-27 20:06:31 +00:00
Bruce Steers
2395548d0a [GB.FORM.EDITOR]
* NEW: TextEditorMode_Sh.class: shell definition adding to highlighting/mode
2020-10-27 20:02:51 +00:00
Bruce Steers
35ebd27c6e [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter_Sh.class: shell highlight definitions
2020-10-27 20:00:33 +00:00
gambas
b376bf203d TerminalView: Support for 'ESC [ 3 J' sequence (clear screen).
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for 'ESC [ 3 J' sequence (clear screen).
2020-10-23 17:39:50 +02:00
gambas
abf6b9fbcf Fix menu shortcuts.
[GB.GTK]
* BUG: Fix menu shortcuts.

[GB.GTK3]
* BUG: Fix menu shortcuts.
2020-10-23 01:29:51 +02:00
gambas
1be0e488fb Margin is not transparent anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Margin is not transparent anymore.
* NEW: TextEditor: Draw the shadow after the margin again.
2020-10-22 22:17:46 +02:00
gambas
4792ca1a7e Allow rewriting during highlighting only when the Mode property is set to something different from "None" or a void string.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.CanRewrite is a new property that tells if highlighting is allowed to rewrite.
* NEW: Take the previous property into account in Gambas highlighter.

[GB.FORM.EDITOR]
* NEW: Allow rewriting during highlighting only when the Mode property is set to something different from "None" or a void string.
2020-10-22 21:56:23 +02:00
gambas
50e8cbc867 Merge branch 'master' of gitlab.com:gambas/gambas 2020-10-22 10:09:19 +02:00
gambas
a7f8a18ca2 Fix menu Show event and allow Mouse key modifiers properties outside of Mouse event handlers.
[GB.GTK]
* BUG: Mouse key modifiers properties are now available outside of Mouse event handlers as in Qt components.
* BUG: Menu Show event now behaves as expected, and allow recreating the menu contents during its event handler.

[GB.GTK3]
* BUG: Mouse key modifiers properties are now available outside of Mouse event handlers as in Qt components.
* BUG: Menu Show event now behaves as expected, and allow recreating the menu contents during its event handler.
2020-10-22 10:06:40 +02:00
gambas
c9f97a02fe Synchronize with gb.qt5.webview.
[GB.QT4.WEBVIEW]
* NEW: WebView: Add NewView event and NewView property.
* NEW: WebView: Add Link event and Link property.
2020-10-22 00:31:49 +02:00
gambas
cd786d0429 Fix signal handler overriding management.
[INTERPRETER]
* BUG: Fix signal handler overriding management.
2020-10-21 23:31:02 +02:00
gambas
d353cd3e69 Welcome dialog: Void example tab does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Welcome dialog: Void example tab does not crash anymore.
2020-10-21 19:56:24 +02:00