Commit graph

8896 commits

Author SHA1 Message Date
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
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