Commit graph

8964 commits

Author SHA1 Message Date
gambas
618baf9dea WebView.Clear() does not accumulate QtWebEngine processes anymore.
[GB.QT5.WEBVIEW]
* BUG: WebView.Clear() does not accumulate QtWebEngine processes anymore.
2021-02-17 20:51:33 +01:00
gambas
1f309e7d26 Make source package: Use a custom dialog with a "fool GMail" explicit option. Some fixes in the project property dialog environment tab.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make source package: Use a custom dialog with a "fool GMail" explicit option.
* NEW: Project property dialog: The variable name column of the environment grid now enlarges itself when inserting a new variable.
* BUG: Project property dialog: Fix a possible crash when closing the dialog.
2021-02-17 20:25:29 +01:00
gambas
cebbb299da DirChooser & FileChooser: Ask for overwriting selected file if in single selection mode and if not read-only.
[GB.FORM]
* NEW: Update translations.
* NEW: DirChooser & FileChooser: Ask for overwriting selected file if in single selection mode and if not read-only.
2021-02-17 20:22:13 +01:00
gambas
4f13bb42a4 GridView: Do not raise the MouseDown event twice.
[GB.GUI.BASE]
* BUG: GridView: Do not raise the MouseDown event twice.
2021-02-17 19:47:02 +01:00
gambas
8ace926aaa Support for a new source archive format that should be able to fool GMail.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Use String.RemoveDiacritics() instead of the old local utility function.
* NEW: Support for a new source archive format that should be able to fool GMail.
2021-02-17 01:58:42 +01:00
gambas
8b20024659 DirChooser & FileChooser: Support for custom compressed files.
[GB.FORM]
* NEW: DirChooser & FileChooser: Add an UncompressFilter property that defines a list of additional 'LIKE' regexp filters for custom compressed files.
* NEW: DirChooser & FileChooser: Raise an Uncompress event when a custom compressed file is requested to be uncompressed.
2021-02-17 01:55:46 +01:00
gambas
5a7de584db Make executable dialog: Replace '$(FOLDER)' pattern by '$(DIR)'.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make executable dialog: Replace '$(FOLDER)' pattern by '$(DIR)'.
* NEW: Make executable dialog: Add an help label for substitution patterns.
2021-02-16 20:40:56 +01:00
Benoît Minisini
a2ee63746f Merge branch 'after-make-exe' into 'master'
Make executable: add more options to "Run command after"

See merge request gambas/gambas!187
2021-02-16 05:53:52 +00:00
Bruce Steers
b8f30e84f1 Merge branch 'master' of https://gitlab.com/gambas/gambas into after-make-exe 2021-02-16 03:36:41 +00:00
Bruce Steers
fc6b58c698 Make executable: add more options to "Run command after"
[DEVELOPMENT ENVIRONMENT]
* NEW: Add $(FOLDER) $(VERSION) $(NAME) and $(TITLE) to Make executable "Run command after".
2021-02-16 00:10:04 +00:00
gambas
6f5e7032d2 System information dialog: Add default font name and desktop scale.
[DEVELOPMENT ENVIRONMENT]
* NEW: System information dialog: Add default font name and desktop scale.
2021-02-15 23:56:34 +01:00
gambas
473f392e65 Compute font height in a way compatible with older versions of Pango.
[GB.GTK]
* BUG: Compute font height in a way compatible with older versions of Pango.

[GB.GTK3]
* BUG: Compute font height in a way compatible with older versions of Pango.
2021-02-15 23:55:13 +01:00
gambas
0bf1ba17a6 Don't hide TextBox or TextArea internal window if the control has the focus.
[GB.GTK]
* BUG: Font.TextHeight() now works the same way as in Qt components.

[GB.GTK3]
* BUG: Font.TextHeight() now works the same way as in Qt components.
* BUG: Don't hide TextBox or TextArea internal window if the control has the focus.
2021-02-15 22:01:10 +01:00
gambas
858f9f7509 TextLabel: Setting a custom font does not erase markups anymore.
[GB.GTK]
* BUG: TextLabel: Setting a custom font does not erase markups anymore.

[GB.GTK3]
* BUG: TextLabel: Setting a custom font does not erase markups anymore.
2021-02-15 19:48:29 +01:00
gambas
ffe6133fd7 Still fixing Gambas highlighting of space characters.
[GB.EVAL]
* BUG: Still fixing Gambas highlighting of space characters.
2021-02-15 19:26:29 +01:00
gambas
8360ee65eb Fix space characters highlighting again.
[GB.EVAL]
* BUG: Fix space characters highlighting again.
2021-02-15 16:15:18 +01:00
gambas
69623f1eea Fix how highlighting deals with spaces.
[GB.EVAL]
* BUG: Fix how highlighting deals with spaces.
2021-02-15 03:20:41 +01:00
gambas
f31f6ec8c8 Report: Use the new "_DefaultText" multicontainer constant.
[GB.REPORT2]
* NEW: Report: Use the new "_DefaultText" multicontainer constant.
2021-02-11 13:23:27 +01:00
gambas
f55ac9ef38 ToolPanel: Fix animation and layout.
[GB.FORM]
* NEW: ToolPanel: Fix animation and layout.
* NEW: ToolPanel: Use the new _DefaultText multicontainer constant.
2021-02-11 13:18:36 +01:00
gambas
492aaf9509 Multicontainer tabs title are now initialized with a default text.
[DEVELOPMENT ENVIRONMENT]
* NEW: Multicontainer tabs title are now initialized with a default text.
* NEW: Support for the new "_DefaultText" constant of Multicontainer controls.
2021-02-11 12:32:52 +01:00
gambas
dc0524f392 Fix executable desktop shortcut generation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix executable desktop shortcut generation.
2021-02-11 10:23:29 +01:00
gambas
46fe9dbedd Some optimizations in TextEditor.
[GB.FORM.EDITOR]
* OPT: TextEditor: Use the new FindSorted() array method in a function.
* OPT: TextEditor: Access theme style properties directly.
* OPT: TextEditor: Avoid some computations when nothing is folded.
2021-02-11 00:32:55 +01:00
gambas
4e022934da Merge branch 'master' of gitlab.com:gambas/gambas 2021-02-11 00:29:53 +01:00
gambas
407fa11618 Add statistic functions through a 'Stat' property added to the 'Float[]' class.
[GB.GSL]
* NEW: Add statistic functions through a 'Stat' property added to the 'Float[]' class.
2021-02-11 00:28:42 +01:00
gambix
ce28776464 Change inheritance on Report
[GB.REPORT2]
* BUG: Report now does not inherit ReportSection anymore.
2021-02-10 21:05:22 +01:00
gambas
1609a6c60a Fix automatic conversion of multi-dimensional arrays.
[INTERPRETER]
* BUG: Fix automatic conversion of multi-dimensional arrays.
2021-02-10 19:20:43 +01:00
gambas
52961597f8 Form editor: Support for forms that are multicontainers. Some fixes in version control.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Support for forms that are multicontainers.
* NEW: Version control dialog: If there is no change to commit, display a little warning on the bottom left of the dialog, and hide the change tab.
* BUG: Version control: Fix a possible crash if the password dialog is cancelled.
* NEW: Profile window: Remove the useless minimize toolbar button.
2021-02-10 16:44:34 +01:00
gambas
5c8f4e1b68 Really fix compilation on 32-bits systems.
[INTERPRETER]
* BUG: Really fix compilation on 32-bits systems.
2021-02-10 15:20:04 +01:00
gambas
8ef319b7cc Fix string array search with special comparisons.
[INTERPRETER]
* BUG: Fix string array search with special comparisons.
2021-02-10 15:18:01 +01:00
gambas
072101e02a Fix compilation on 32-bits systems.
[INTERPRETER]
* BUG: Fix compilation on 32-bits systems.
2021-02-10 14:48:14 +01:00
gambas
e7898916e9 Replace the Array.Sorted property by explicit FindSorted(), ExistSorted()... methods.
[INTERPRETER]
* BUG: Replace the Array.Sorted property by explicit FindSorted(), ExistSorted()... methods.
2021-02-09 23:36:09 +01:00
gambas
0fd80f690d Array.Sorted is a new property that makes the Find() and Exist() methods use a binary search algorithm. In other words, it tells the interpreter that the array is sorted.
[INTERPRETER]
* NEW: Array.Sorted is a new property that makes the Find() and Exist() methods use a binary search algorithm. In other words, it tells the interpreter that the array is sorted.
* BUG: Object[].Find() now correctly takes the optional 'Start' argument in account.
2021-02-09 20:28:58 +01:00
gambas
377c34d9a5 Form editor: Correctly detect stacking order changes caused by automatic arrangement.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Correctly detect stacking order changes caused by automatic arrangement.
2021-02-09 02:51:20 +01:00
gambas
95572fb040 Fix multi-dimensional arrays management.
[INTERPRETER]
* BUG: Fix multi-dimensional arrays management.
2021-02-09 02:19:39 +01:00
gambas
15135fe60b Raise a memory error if the size of an array element overflows. The maximum size is now 16 MB minus one byte.
[INTERPRETER]
* BUG: Fix initialization of multi-dimensional array.
* NEW: Raise a memory error if the size of an array element overflows. The maximum size is now 16 MB minus one byte.
2021-02-08 22:08:15 +01:00
gambas
991695e493 Array access is now about 15% faster.
[INTERPRETER]
* OPT: Array access is now about 15% faster.
2021-02-08 21:45:29 +01:00
gambas
86fe4efa55 Add emote icons.
[GB.FORM]
* NEW: Add emote icons.

[GB.FORM.STOCK]
* NEW: Add emote icons.
2021-02-08 16:58:45 +01:00
gambas
620b789692 Form editor: Arrange containers after first load, and mark the form as modified if the loaded arrangement had to be changed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Arrange containers after first load, and mark the form as modified if the loaded arrangement had to be changed.
2021-02-08 16:58:03 +01:00
gambas
313bb0377a Add new stock icons, and update others. Fix a bug in TabPanel relayouting.
[GB.FORM]
* NEW: Add new stock icons.
* BUG: TabPanel: Changing the CloseButton property correctly update the layout.

[GB.FORM.STOCK]
* NEW: Add new stock icons, and update others.
2021-02-08 00:34:27 +01:00
gambas
076fa9d027 Fix Design property management for controls inserted inside UserContainer.
[GB.GTK]
* BUG: Fix Design property management for controls inserted inside UserContainer.

[GB.GTK3]
* BUG: Fix Design property management for controls inserted inside UserContainer.

[GB.QT4]
* BUG: Fix Design property management for controls inserted inside UserContainer.

[GB.QT5]
* BUG: Fix Design property management for controls inserted inside UserContainer.
2021-02-07 23:28:13 +01:00
gambas
47a9a6679b '#Include" is a new preprocessor reserved identifier. Fix preprocessor lines highlighting.
[COMPILER]
* NEW: '#Include" is a new preprocessor reserved identifier.
* BUG: Always raise a syntax error if a preprocessor line starts with an unknown reserved identifier.

[GB.EVAL]
* BUG: Fix preprocessor lines highlighting.
2021-02-06 17:47:32 +01:00
gambas
198ef908ab Add a new rule to String.ToPhonetic() to deal with "mpt" and "mt" patterns.
[GB.UTIL]
* BUG: Add a new rule to String.ToPhonetic() to deal with "mpt" and "mt" patterns.
2021-02-06 17:05:54 +01:00
gambas
ab74b3195d Stop watching debugger file descriptor as soon as there is a read error.
[GB.DEBUG]
* BUG: Stop watching debugger file descriptor as soon as there is a read error.
2021-02-06 17:05:03 +01:00
gambas
eb467786fe Changing the icon theme now has an immediate effect. Add a checkbox in version control dialog to hide changes in translations.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: The "tips of the day" window is now an utility window.
* NEW: Version control dialog: Add a checkbox to hide changes in translations.
* BUG: Fix my e-mail address displayed in many places.
* NEW: Options dialog: Changing the icon theme now has an immediate effect.
2021-02-06 17:04:28 +01:00
gambas
a017630ddd Stock.Refresh() now should refresh all application pictures associated with the application theme.
[GB.GUI.BASE]
* NEW: Picture.Refresh() reload all application pictures coming from the stock icons.
* NEW: Shortcut.FromKey() now does not duplicate a modifier key with its modifier prefix (i.e. it does not return "Shift+ShiftKey" anymore but just "ShiftKey").

[GB.FORM]
* NEW: Stock.Refresh() now should refresh all application pictures associated with the application theme.

[GB.FORM.MDI]
* NEW: ToolBar: Don't hide separators followed by an expander.
2021-02-06 16:47:21 +01:00
gambas
87926caca1 Fix shortcuts.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix shortcuts.
* OPT: TextEditor: Use FAST on two heavy functions.
2021-02-06 16:44:46 +01:00
gambas
73b3573142 Make yellow darker in icons.
[GB.FORM.STOCK]
* NEW: Make yellow darker in icons.
2021-02-06 16:43:34 +01:00
gambas
a22fb26f0f Enumerating subcollection now silently ignores elements that do not exist anymore, instead of raising an error.
[GB.DB]
* NEW: Enumerating subcollection now silently ignores elements that do not exist anymore, instead of raising an error.
2021-02-06 04:04:42 +01:00
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