Commit graph

8954 commits

Author SHA1 Message Date
gambas
7bcdef0ad5 Do not crash when using '("")' as value for a string constant.
[COMPILER]
* BUG: Do not crash when using '("")' as value for a string constant.
* NEW: Better support for background jobs crashes.
2021-02-04 04:04:23 +01:00
gambas
1c1849df53 Code editor: Add filter buttons to the procedure list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Add filter buttons to the procedure list.
2021-02-04 01:19:05 +01:00
gambas
36b81bd9f1 Merge branch 'master' of gitlab.com:gambas/gambas 2021-02-03 23:22:43 +01:00
gambas
2980bef452 Window: MinWidth and MinHeight are two new properties that allow to define the minimum size of a resizable window.
[GB.GTK]
* NEW: Window: MinWidth and MinHeight are two new properties that allow to define the minimum size of a resizable window.

[GB.GTK3]
* NEW: Window: MinWidth and MinHeight are two new properties that allow to define the minimum size of a resizable window.

[GB.QT4]
* NEW: Window: MinWidth and MinHeight are two new properties that allow to define the minimum size of a resizable window.

[GB.QT5]
* NEW: Window: MinWidth and MinHeight are two new properties that allow to define the minimum size of a resizable window.
2021-02-03 23:21:54 +01:00
Benoît Minisini
54a2a6bf0f Merge branch 'bsteers4-master-patch-14221' into 'master'
Fix MessageView.class

See merge request gambas/gambas!183
2021-02-03 20:35:18 +00:00
Bruce Steers
acde26198e Fix MessageView.class
[GB.FORM]
* BUG: not supplying optional icon was causing null object to be passed
2021-02-03 18:47:50 +00:00
gambas
494ccf6ed6 Use three significative digits at most when displaying file sizes.
[GB.FORM]
* NEW: Use three significative digits at most when displaying file sizes.
2021-02-03 18:59:26 +01:00
gambas
d1bc1060e0 TextEditor: Use different highlights for matching characters.
[GB.FORM.EDITOR]
* NEW: TextEditor: Use different highlights for matching characters.
* NEW: TextEditor: The matching character under the cursor does not blink anymore.
2021-02-03 18:58:10 +01:00
gambas
86981a3c2c Change the internal signature of the implementation of the class "fast methods".
[INTERPRETER]
* NEW: Change the internal signature of the implementation of the class "fast methods".
2021-02-03 18:56:34 +01:00
gambas
ad6b4f158b Radio menu are correctly managed now.
[GB.GTK]
* BUG: Radio menu are correctly managed now.

[GB.GTK3]
* BUG: Radio menu are correctly managed now.
2021-02-03 18:54:43 +01:00
gambas
6a20512289 Redraw 'archive', 'lower' and 'raise' icon.
[GB.FORM.STOCK]
* NEW: Redraw 'archive', 'lower' and 'raise' icon.
2021-02-03 18:53:47 +01:00
gambas
60750dd643 Compressed files are not stored in the project anymore. They are generated when the executable is made.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update "zen" color theme.
* NEW: Compressed files are not stored in the project anymore. They are generated when the executable is made.
* NEW: Automatically convert compressed files when opening old projects.

* BUG: The source archive target directory is now correctly saved into the project.
2021-02-03 18:53:10 +01:00
gambas
c0167ec949 Fix parser on multi-line text.
[GB.EVAL]
* BUG: Fix parser on multi-line text.
2021-02-03 18:29:55 +01:00
gambas
74f6f1e781 Wait for remaining background jobs after a compilation error has been reported.
[COMPILER]
* BUG: Wait for remaining background jobs after a compilation error has been reported.
2021-02-02 23:46:00 +01:00
gambas
35284fd791 The source archive target directory is now correctly saved into the project.
[DEVELOPMENT ENVIRONMENT]
* BUG: The source archive target directory is now correctly saved into the project.
2021-02-02 21:27:49 +01:00
gambas
2410441f23 Pasting a file now correctly updates its version control state. Use the new stock icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Use the new wrap stock icon.
* NEW: Image editor: Use the new line cap and line join stock icons.
* BUG: Image editor: Fill rule button is visible again.
* BUG: Project tree: Pasting a file now correctly updates its version control state.
* NEW: Remove now useless custom icons.
2021-02-02 00:38:19 +01:00
gambas
3bbb6154c4 Closing a window during the Open event now works like in Qt. Do not post window resize events, because the window can be destroyed in the meantime.
[GB.GTK]
* BUG: Do not post window resize events, because the window can be destroyed in the meantime.
* BUG: Closing a window during the Open event now works like in Qt.

[GB.GTK3]
* BUG: Do not post window resize events, because the window can be destroyed in the meantime.
* BUG: Closing a window during the Open event now works like in Qt.
2021-02-02 00:33:40 +01:00
gambas
856a15a7a9 Fix a crash occuring if a container loses one of its children while arranging them.
[GB.GTK]
* BUG: Fix a crash occuring if a container loses one of its children while arranging them.

[GB.GTK3]
* BUG: Fix a crash occuring if a container loses one of its children while arranging them.
2021-02-01 21:46:22 +01:00
gambas
6156d141bd TextArea: Fix minimum size when scrollbars are disabled.
[GB.GTK]
* BUG: TextArea: Fix minimum size when scrollbars are disabled.

[GB.GTK3]
* BUG: TextArea: Fix minimum size when scrollbars are disabled.
2021-02-01 20:03:42 +01:00
gambas
e64180ef5a Add icons for line joins, line caps and wrap mode.
[GB.FORM]
* NEW: Add icons for line joins, line caps and wrap mode.

[GB.FORM.STOCK]
* NEW: Add icons for line joins, line caps and wrap mode.
2021-02-01 04:05:56 +01:00
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