Commit graph

8833 commits

Author SHA1 Message Date
gambas
ee50e97948 If the "class" word follows the "End" keyword, it is recognized as a keyword.
[COMPILER]
* NEW: If the "class" word follows the "End" keyword, it is recognized as a keyword.

[GB.EVAL]
* NEW: If the "class" word follows the "End" keyword, it is recognized as a keyword.
2021-02-01 04:04:46 +01:00
gambas
84c5ac08dd By default, the number of jobs is the number of cores plus one.
[COMPILER]
* NEW: By default, the number of jobs is the number of cores plus one.
* NEW: -j0 option means the number of cores plus one.
2021-02-01 04:04:08 +01:00
gambas
6c76170f51 TableView: Columns automatic width is now a bit larger to support inner padding of TextBox control.
[GB.FORM]
* BUG: ListEditor: Better behavior in design mode.
* NEW: TableView: Columns automatic width is now a bit larger to support inner padding of TextBox control.
2021-02-01 01:24:55 +01:00
gambas
1389b908f0 Message.Warning() now has only one "cancel" default button.
[GB.GUI.BASE]
* BUG: Message.Warning() now has only one "cancel" default button.
2021-02-01 01:23:31 +01:00
gambas
1249ebd2f9 System.Cores is a new property that returns the number of cores.
[COMPILER]
* NEW: By default, the compiler now use a number of background tasks equal to the number of cores.

[INTERPRETER]
* NEW: System.Cores is a new property that returns the number of cores.
2021-02-01 01:21:08 +01:00
gambas
d44d4967de Components having a Gambas part now compile it with translation enabled.
[CONFIGURATION]
* BUG: Components having a Gambas part now compile it with translation enabled.
2021-02-01 01:17:17 +01:00
gambas
2128890f9a TerminalView: Text property correctly takes into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Text property correctly takes into account line wrapping.
2021-02-01 01:16:02 +01:00
gambas
2bd970231c Code editor: Fix automatic completion of forms.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix automatic completion of forms.
* BUG: Fix a few IDE status messages.
2021-01-31 22:51:13 +01:00
gambas
14816c68c1 Fix management of Enter and Leave events.
[GB.GTK]
* BUG: Fix management of Enter and Leave events.

[GB.GTK3]
* BUG: Fix management of Enter and Leave events.
2021-01-31 19:28:07 +01:00
gambas
ec9b404d55 Support for compiler background jobs. Some enhancements in the environment tab of the project property dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation
* NEW: Option dialog: Add a global option for defining the number of compiler background jobs.
* NEW: Project property dialog: Environment variables can be reordered.
* NEW: Project property dialog: Environment variables menu has been grouped with sub-menus.
* NEW: Form editor: Double-clicking on a toolbox control now inserts it at the first free place in the selected container.
2021-01-30 15:46:15 +01:00
gambas
85fad8f9da The compile now creates its own process group, so that background tasks can join it when everything is run from a shell.
[COMPILER]
* BUG: The compile now creates its own process group, so that background tasks can join it when everything is run from a shell.
2021-01-30 15:25:08 +01:00
gambas
f7c783f536 Add a '-j' option to run multiple jobs in background to speed-up compilation.
[COMPILER]
* OPT: Add a '-j' option to run multiple jobs in background to speed-up compilation.
2021-01-30 14:06:09 +01:00
gambas
c2825f1727 Store the style sheet file used for displaying markdown previews inside the project configuration.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Add a back and forward button to the preview.
* NEW: Store the style sheet file used for displaying markdown previews inside the project configuration.
2021-01-29 15:52:03 +01:00
gambas
4081f4c857 FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
[GB.FORM]
* BUG: FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
2021-01-29 15:50:15 +01:00
gambas
4eb38b4c07 Shortcut.FromKey() now uses an internal cache.
[GB.GUI.BASE]
* OPT: Shortcut.FromKey() now uses an internal cache.
2021-01-29 15:49:21 +01:00
gambas
6364bd1376 Some fixes in line anchors generation.
[GB.MARKDOWN]
* BUG: Some fixes in line anchors generation.
2021-01-29 15:47:35 +01:00
gambas
ec328f8d95 Remove trailing separators from 'gb.LongDate' date format.
[INTERPRETER]
* BUG: Remove trailing separators from 'gb.LongDate' date format.
2021-01-29 15:35:08 +01:00
gambas
97f1d99251 Form editor: Pasting controls put them at the first free place found now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Pasting controls put them at the first free place found now.
* NEW: Form editor: New arrangement indicators.
2021-01-29 03:38:43 +01:00
gambas
c424a8f88b Enhancement of the icon selector.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Icon selector: Add a icon name filter.
* NEW: Icon selector: Add a check box that toggles displaying icons using the selected size or not.
* NEW: Icon selector: Redesign the dialog a bit.
* BUG: Text editor: Some fixes in the markdown preview default style sheet.
2021-01-29 00:44:33 +01:00
gambas
b71117ebe3 ButtonBox: Clicking on the clear button triggers filtering immediately now.
[GB.FORM]
* NEW: ButtonBox: Clicking on the clear button triggers filtering immediately now.
* BUG: FileChooser: Hide the bookmark button and its separator accordingly.
2021-01-29 00:42:18 +01:00
gambas
421729d9c7 Text editor: Markdown preview now has default and custom style sheets.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Text editor: Add a default style sheet for markdown preview.
* NEW: Text editor: Allow to select a specific css file for markdown preview. These css files are taken from the 'Project' directory.
* BUG: Text editor: Some fixes in javascript preview support.
* NEw: Text editor: The preview has now its own toolbar.
2021-01-28 23:33:06 +01:00
gambas
e328bb0dea TerminalView: Selected text and Text property now take into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Selected text and Text property now take into account line wrapping.
2021-01-28 23:29:21 +01:00
gambas
7d002263c6 WebView: Make font size settings more accurate.
[GB.QT4.WEBVIEW]
* BUG: WebView: Make font size settings more accurate.
2021-01-28 04:52:30 +01:00
gambas
c4d87b624c Text editor: Make preview javascript compatible with Qt4.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Make preview javascript compatible with Qt4.
2021-01-28 04:51:24 +01:00
gambas
16f7a0cb8b Centered is a new container property that centered its contents. Many GTK fixes.
[GB.GTK]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.
* BUG: Setting Application.Font to NULL now resets the default font.
* BUG: Resizable utility windows now have a minimum size like QT components.

[GB.GTK3]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.
* BUG: Setting Application.Font to NULL now resets the default font.
* OPT: Setting Application.Font now is almost instantaneous.
* BUG: Editable combo-boxes having a small width now behave correctly.
* BUG: Resizable utility windows now have a minimum size like QT components.
* BUG: Read-only combo-boxes do not have inner vertical padding anymore.

[GB.QT4]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.

[GB.QT5]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.
* BUG: Fix TextArea background.
2021-01-28 02:46:00 +01:00
gambas
d862caa9a6 Form editor: Fix an icon in list property editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix an icon in list property editor.
2021-01-28 02:10:59 +01:00
gambas
ecdee98e8a Fix scan of project classes having a parent class.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix scan of project classes having a parent class.
2021-01-27 04:00:19 +01:00
gambas
91b7a446d0 TextBox minimum size is correctly updated when its Border property changes.
[GB.GTK3]
* BUG: TextBox minimum size is correctly updated when its Border property changes.
2021-01-27 03:26:32 +01:00
gambas
3ce75bb5e3 Rework support of Background and Foreground colors.
[GB.QT4]
* BUG: Rework support of Background and Foreground colors.

[GB.QT5]
* BUG: Rework support of Background and Foreground colors.
2021-01-27 02:38:59 +01:00
gambas
69a5dedb4f Clicking on the 'Invert' button of the list property editor when the list is void does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Clicking on the 'Invert' button of the list property editor when the list is void does not crash anymore.
* NEW: Form editor: Grid is lighter.
2021-01-27 00:52:42 +01:00
gambas
4e13955aff Fixes in stylesheet management.
[GB.GTK3]
* BUG: Make stylesheet global, so that styling sub-node work everytime.
* BUG: Don't unref null style contexts on theme change.
* NEW: Don't hide background of borderless TextBox and ComboBox.
2021-01-27 00:27:26 +01:00
gambas
041ae232f3 The AutoCreatable flag is now correctly taken into account by inheritance of exported classes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: The AutoCreatable flag is now correctly taken into account by inheritance of exported classes.
2021-01-26 23:47:50 +01:00
gambas
2f2e3405f3 Url.Query.Remove() is a new method for removing an argument from the query of an URL.
[GB.UTIL.WEB]
* NEW: Url.Query.Remove() is a new method for removing an argument from the query of an URL.
2021-01-26 22:35:37 +01:00
gambas
58bfbc70d1 Merge branch 'master' of gitlab.com:gambas/gambas 2021-01-26 22:34:50 +01:00
gambas
2365a748b8 Display monospace text with a light gray background.
[WIKI]
* NEW: Change website icon.
* NEW: Display monospace text with a light gray background.
2021-01-26 22:34:02 +01:00
gambas
85b963e304 DrawingArea: drawing is clipped by the control border now.
[GB.GTK3]
* BUG: DrawingArea: drawing is clipped by the control border now.
2021-01-26 22:31:56 +01:00
gambas
a8b0df9f8c Fix raised borders for some styles.
[GB.QT4]
* BUG: Fix raised borders for some styles.

[GB.QT5]
* BUG: Fix raised borders for some styles.
2021-01-26 22:31:31 +01:00
gambas
fd028f572a * BUG: Fix compilation.
[GB.QT4.WEBVIEW]
* BUG: Fix compilation.
2021-01-26 19:29:42 +01:00
gambas
e41cb20ec2 Some fixes in the text editor HTML preview.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Disable the popup menu in the HTML preview.
* BUG: Text editor: Correctly refresh the preview highlight when the preview is resized.
2021-01-26 16:29:47 +01:00
gambas
f94a927e9c WebView: Implementing the Menu event automatically disables the default popup menu.
[GB.GTK3.WEBVIEW]
* NEW: WebView: Implementing the Menu event automatically disables the default popup menu.

[GB.QT4.WEBVIEW]
* NEW: WebView: Implementing the Menu event automatically disables the default popup menu.

[GB.QT5.WEBVIEW]
* NEW: WebView: Implementing the Menu event automatically disables the default popup menu.
2021-01-26 16:28:47 +01:00
gambas
ec2fe3ee4e Form editor: The menu editor view now remembers its scrolling position, provided that you open it on the same form.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The menu editor view now remembers its scrolling position, provided that you open it on the same form.
2021-01-26 13:22:10 +01:00
gambas
be333d5cf3 TextArea.Background works again.
[GB.GTK3]
* BUG: TextArea.Background works again.
2021-01-26 07:06:32 +01:00
gambas
fa82d46be5 Fix Frame rendering bugs, and make MovieBox use the UserControl Draw pseudo-event.
[GB.GUI.BASE]
* NEW: MovieBox: Use the UserControl Draw pseudo-event.
* BUG: Frame: Fix some rendering bugs.
2021-01-26 07:05:56 +01:00
gambas
839c59e532 Text editor: Add line anchors to HTML preview. It works only if markups do not span on several lines.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Add line anchors to HTML preview. It works only if markups do not span on several lines.
2021-01-26 06:50:15 +01:00
gambas
45b453bbec Do not generate line anchors inside the index.
[GB.MARKDOWN]
* BUG: Do not generate line anchors inside the index.
2021-01-26 06:48:42 +01:00
gambas
bb43074533 Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
[GB.MARKDOWN]
* NEW: Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
2021-01-26 06:13:44 +01:00
gambas
2c03f0a7c7 Text editor: Add a preview panel for Markdown and HTML documents, based on a WebView and some javascript.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Add a preview panel for Markdown and HTML documents, based on a WebView and some javascript.
2021-01-25 23:36:33 +01:00
gambas
432a05d1d2 Fix stack overflow when using X11.RootWindow property.
[GB.DESKTOP.X11]
* BUG: Fix stack overflow when using X11.RootWindow property.
2021-01-25 19:03:19 +01:00
gambas
fc7edd90b4 Fix window x11 properties initialization and make 'gb.qt4.webview' compile.
[GB.QT4]
* BUG: Fix window x11 properties initialization.

[GB.QT4.WEBVIEW]
* BUG: Fix compilation and implementation of WebWiew.ExecJavascript() method.
2021-01-25 10:54:14 +01:00
gambas
b39e26a059 WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.
[GB.GTK3.WEBVIEW]
* NEW: WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.

[GB.QT4.WEBVIEW]
* NEW: WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.

[GB.QT5]
* BUG: Forgot to implement the QT.GetDesktopScale() API.

[GB.QT5.WEBVIEW]
* NEW: WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.
2021-01-25 08:05:25 +01:00