Commit graph

8866 commits

Author SHA1 Message Date
gambas
bf99c100c8 Fix menu editor pasting.
[DEVELOPMENT ENVIRONMENT]
* BUG: Menu editor: Pasting menus does not crash anymore.
* NEW: Menu editor: The "Paste" button now pastes after the current menu.
* NEW: Menu editor: Add a "Paste before" button so that we can paste before the first menu.
2021-02-06 04:00:45 +01:00
gambas
6a4274e35c Project tree: Check for compressed files only if we display the current project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Check for compressed files only if we display the current project.
2021-02-06 01:59:36 +01:00
gambas
2debb9791e Form editor: Remove container does not incorrectly move the children anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Remove container does not incorrectly move the children anymore.
2021-02-05 23:55:46 +01:00
gambas
b011b976f3 Container: Fix ClientWidth and ClientHeight computation.
[GB.GTK3]
* BUG: Container: Fix ClientWidth and ClientHeight computation.
2021-02-05 22:56:17 +01:00
gambas
b3c8be953e The project tree filter can now display compressed files only.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Project tree: Compressed files have a little row right to their name instead of an icon emblem.
* NEW: Project tree: The tree filter can now display compressed files only.
2021-02-05 21:37:04 +01:00
gambas
09554420b3 ScrollArea: Add a NoAnimation property to disable the scrolling animation explicitly.
[GB.GUI.BASE]
* NEW: ScrollArea: Add a NoAnimation property to disable the scrolling animation explicitly.
2021-02-05 21:08:52 +01:00
gambas
92161125f0 Make executable dialog: Add an option to globally disable file compression.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Make executable dialog: Add an option to globally disable file compression (useful for debugging).
* NEW: The 'CompressFile' project option key has been renamed as 'CompressedFiles', with an automatic upgrade.
* NEW: All unknown options in the project configuration file are now preserved when writing it.
2021-02-05 13:23:26 +01:00
gambas
93ef59197d Fix source archive generation with 'tar'.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix source archive generation with 'tar'.
2021-02-05 00:03:17 +01:00
gambas
93bf781270 Make source archive: Support for zip format.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Make source archive: Support for zip format.
2021-02-04 13:31:50 +01:00
gambas
7c0af8a41f File dialog: Propagate the AutoExt property to the FileChooser.
[GB.FORM.DIALOG]
* NEW: File dialog: Propagate the AutoExt property to the FileChooser.
2021-02-04 13:28:37 +01:00
gambas
f3ce8abe4c FileChooser: AutoExt is a new property that automatically sets the file extension according to the current filter.
[GB.FORM]
* NEW: FileChooser: AutoExt is a new property that automatically sets the file extension according to the current filter.
2021-02-04 13:27:50 +01:00
gambas
175efe2763 Each profile window has now its window button inside the bottom toolbar.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Each profile window has now its window button inside the bottom toolbar.
2021-02-04 11:16:25 +01:00
gambas
cad1af706f Display an accurate error message if the compiler crashes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Display an accurate error message if the compiler crashes.
2021-02-04 04:06:10 +01:00
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