Commit graph

9682 commits

Author SHA1 Message Date
gambas
d8cb1ad28d Do not raise keyboard event on the form twice if no control handled it.
[GB.GTK]
* BUG: Do not raise keyboard event on the form twice if no control handled it.

[GB.GTK3]
* BUG: Do not raise keyboard event on the form twice if no control handled it.
2021-06-28 20:11:59 +02:00
gambas
650dd0a018 MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.
[GB.FORM]
* BUG: MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.
* NEW: DirChooser & FileChooser: Do not use a Watcher to initialize the popup menu.
2021-06-28 19:32:26 +02:00
gambas
0cd8bb60c8 Fix Menu.Popup() when popup global coordinates are specified.
[GB.GTK3]
* BUG: Fix Menu.Popup() when popup global coordinates are specified.
2021-06-28 03:11:42 +02:00
gambas
204fc52994 Search dialog: Fix search inside form files whose text contents would be different if saved.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Fix search inside form files whose text contents would be different if saved.
2021-06-27 23:56:27 +02:00
gambas
5f8a8861a1 Fix control restacking.
[GB.GTK]
* BUG: Fix control restacking.

[GB.GTK3]
* BUG: Fix control restacking.
2021-06-25 19:00:43 +02:00
gambas
a079acdbd4 TableView: Fix editing control position and size.
[GB.FORM]
* BUG: TableView: Fix editing control position and size.
2021-06-25 19:00:02 +02:00
gambas
5b648e3191 GridView: Fix current cell cursor size and width.
[GB.GUI.BASE]
* BUG: GridView: Fix current cell cursor size and width.
2021-06-25 18:59:30 +02:00
gambas
369b814be0 Don't crash if no terminal emulator is found. Display an error message instead.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if no terminal emulator is found. Display an error message instead.
2021-06-25 12:49:35 +02:00
gambas
dabdbdd238 Fix background of disabled ButtonBox. Fix behaviour of MaskBox copy & paste. Add Validate event to MaskBox.
[GB.FORM]
* BUG: ButtonBox: Disabled background is now drawn correctly.
* BUG: MaskBox: Fix behaviour with copy & paste.
* NEW: MaskBox: Allow default popup menu.
* NEW: MaskBox: Validate is a new event that allows to validate any change in control text and eventually cancel the change.
2021-06-25 12:25:31 +02:00
gambas
dedf7e17fe Style.BackgroundOf() method is now reliable.
[GB.GTK]
* BUG: Style.BackgroundOf() method is now reliable.

[GB.GTK3]
* BUG: Style.BackgroundOf() method is now reliable.

[GB.QT4]
* BUG: Style.BackgroundOf() method is now reliable.

[GB.QT5]
* BUG: Style.BackgroundOf() method is now reliable.
2021-06-25 12:21:33 +02:00
gambas
cd6fb03bf7 Forgot to define the 'Key.AltGrKey' symbol.
[GB.GTK]
* BUG: Forgot to define the 'Key.AltGrKey' symbol.

[GB.GTK3]
* BUG: Forgot to define the 'Key.AltGrKey' symbol.
2021-06-25 12:17:27 +02:00
Brian G
e4ee382336 Add ANSI Terminal support to highligh functions
[GB.EVAL.HIGHLIGHT]
* NEW: Add ToConsole which generates ansii color text which can be printed to most consoles
* NEW: Unit test for Ansi color Console text
* NEW: Unit text for HTML color page
* NEW: Unit text for RTF Color text
2021-06-24 19:08:31 -07:00
Brian G
16dd6690ce Sync the project files before change
[GB.EVAL.HIGHLIGHT]
* OPT: sync project changes
2021-06-24 19:07:59 -07:00
gambas
b94176c704 Don't handle VERSION file in the compiler. Only the IDE supports that feature now.
[COMPILER]
* NEW: Don't handle VERSION file in the compiler. Only the IDE supports that feature now.
2021-06-23 18:51:44 +02:00
gambas
36f1ab168f Popup menus should not sometimes close immediately anymore when the mouse button is released.
[GB.GTK3]
* BUG: Popup menus should not sometimes close immediately anymore when the mouse button is released.
2021-06-22 21:41:03 +02:00
gambas
81cc2c8ca9 MaskBox: Modifier keys do not hide selection anymore.
[GB.FORM]
* BUG: MaskBox: Modifier keys do not hide selection anymore.
2021-06-22 19:42:36 +02:00
gambas
e3ee5a4139 FileView: Selection property now does return file names without any rich text formatting.
[GB.FORM]
* BUG: FileView: Selection property now does return file names without any rich text formatting.
2021-06-21 19:16:02 +02:00
gambas
68ecfe8d0f Unlimited string fields now use 'MEDIUMTEXT' type instead of 'TEXT', so that their actual maximum size is now 16 Mb.
[GB.DB.MYSQL]
* BUG: Unlimited string fields now use 'MEDIUMTEXT' type instead of 'TEXT', so that their actual maximum size is now 16 Mb.
2021-06-21 19:05:07 +02:00
gambas
000a5d29b7 WebComboBox: Use the 'input' event instead of the 'change' event to implement the Click Gambas event.
[GB.WEB.GUI]
* BUG: WebComboBox: Use the 'input' event instead of the 'change' event to implement the Click Gambas event.
2021-06-21 13:35:10 +02:00
gambas
068f20e799 Help browser: Fix event list in offline class documentation pages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix event list in offline class documentation pages.
2021-06-21 01:23:11 +02:00
gambas
51068e17bd Class.Symbols and Class[] now correctly ignore symbol table entries overriden by inheritance.
[INTERPRETER]
* BUG: Class.Symbols and Class[] now correctly ignore symbol table entries overriden by inheritance.
2021-06-20 00:09:36 +02:00
gambas
7fa827b42e Help browser: Remove a debugging alert in javascript search highlighting code.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Remove a debugging alert in javascript search highlighting code.
2021-06-19 21:43:52 +02:00
gambas
628a5cb424 Help browser: Enhance search syntax, and highlight search terms in the resulting pages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix symbol links in class help pages.
* NEW: Help browser: Searching returns pages including any of the search words. To search a string with spaces inside, enclose it with quotes.
* NEW: Help browser: Search terms are highlighted in the result pages.
2021-06-19 21:25:26 +02:00
gambas
265643cdd5 Help browser: Add a search panel when help is offline.
[DEVELOPMENT ENVIRONMENT]
* NEW: Help browser: Add a search panel when help is offline.
2021-06-19 02:21:54 +02:00
gambas
1cc95c2353 TabPanel: ShowTabBar is a new property that toggles the tab bar visibility.
[GB.FORM]
* NEW: TabPanel: ShowTabBar is a new property that toggles the tab bar visibility.
2021-06-19 02:21:05 +02:00
Benoît Minisini
7ae6634069 Merge branch 'scripterupdatesfixes' into 'master'
[Scripter] - Prepare for component and bug fixes

See merge request gambas/gambas!235
2021-06-18 20:18:12 +00:00
Brian G
5ee39e174a [Scripter]
* Bug Some changes from bugs found in loading the scripter as component
2021-06-18 12:49:43 -07:00
gambas
3b906ba10a MenuButton: Disable the hidden shortcut button when the control has the focus, so that TAB focus navigation works.
[GB.FORM]
* NEW: MenuButton: Disable the hidden shortcut button when the control has the focus, so that TAB focus navigation works.
* NEW: MenuButton: Draw the control with both 'Hovered' and 'Focus' style flag when the control has the focus.
2021-06-18 14:34:25 +02:00
gambas
6e5c42939a Fix some memory leaks introduced by the last commit.
[GB.JIT]
* BUG: Fix some memory leaks introduced by the last commit.
2021-06-18 14:33:40 +02:00
gambas
78ad25231b JIT compiler support for embedded array and structures variables.
[INTERPRETER]
* NEW: JIT compiler support for embedded array and structures variables.

[GB.JIT]
* NEW: JIT compiler support for embedded array and structures variables.
2021-06-18 04:33:42 +02:00
Brian G
edaac17558 [Scripter]
* OPT Text Doc change
2021-06-17 11:42:31 -07:00
Brian G
968eee59b3 [Scripter]
* NEW Added ability for user to define special plugin properties to be quieried at runtime
2021-06-17 11:29:41 -07:00
Brian G
c968d321c9 [Scripter]
* NEW Reconfigure Classes and module in prep for seperate gb.scripter component
* NEW As Plugin : Plugins to be run from file or textbuffer
* NEW As Plugin : Scripts can be executed from file or textbuffer
* NEW as Plugin : User can provide Post and pre Process Callbacks on entire program
* NEW as Plugin : User can provide pre process CallBack for each line of code
* NEW as PLIGIN : User can define Aliases for program text, single, parameterized, multiline replacements
* OPT as PLUGIN : Line PreProcess callbacks are called before Alias processing
* BUG End sub incorrectly processing inside class definitions in some cases
* OPT Minor change to bypass processing of blank and null lines
* NEW Add UnitTest for all new plugin features
* BUG fix some unit tests which would fail due to incorrect reset of environment
* OPT Add Documentation to most file for conversion to component
2021-06-17 11:04:57 -07:00
gambas
b0ac35dd4b Fix compilation on Qt < 5.3.
[GB.QT4]
* BUG: Fix compilation on Qt < 5.3.

[GB.QT5]
* BUG: Fix compilation on Qt < 5.3.
2021-06-17 13:07:11 +02:00
gambas
deb1916f29 Fix compilation on Qt < 5.14.
[GB.QT4]
* BUG: Fix compilation on Qt < 5.14.

[GB.QT5]
* BUG: Fix compilation on Qt < 5.14.
2021-06-17 12:24:38 +02:00
gambas
102040eb8b Do not loop indefinitely when searching for the next focus widget.
[GB.QT4]
* BUG: Do not loop indefinitely when searching for the next focus widget.

[GB.QT5]
* BUG: Do not loop indefinitely when searching for the next focus widget.
2021-06-17 11:20:39 +02:00
gambas
c8ecbefa7f Fix focus management so that the focus order is always the stacking order.
[GB.QT4]
* BUG: Fix focus management so that the focus order is always the stacking order.

[GB.QT5]
* BUG: Fix focus management so that the focus order is always the stacking order.
* BUG: Remove some compilation warnings.
2021-06-17 11:15:07 +02:00
gambas
35a5f54bda Fix focus management of windows and activation of embedded windows.
[GB.GTK]
* BUG: Fix focus management of windows.
* BUG: Activate embedded windows on show.

[GB.GTK3]
* BUG: Fix focus management of windows.
* BUG: Activate embedded windows on show.
2021-06-17 11:13:16 +02:00
gambas
899c3138e2 Handle the ".[]" syntax in method signature popup. A few enhancements in the procedure popup.
[DEVELOPMENT ENVIRONMENT]
* NEW: Procedure popup: Underline the startup method in the procedure list.
* NEW: Procedure popup: Don't show the "STATIC" button in a module.
* NEW: Code editor: The ".[]" syntax is now handled when displaying method signatures.
2021-06-16 23:26:03 +02:00
gambas
78b6bfbf92 Update 'start' and 'end' icons.
[GB.FORM.STOCK]
* NEW: Update 'start' and 'end' icons.
2021-06-16 03:28:21 +02:00
gambas
f8c9e5b8f8 Translation dialog: Add two buttons for finding the first and the last untranslated string.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add two buttons for finding the first and the last untranslated string.
* NEW: Update French translation.
2021-06-16 03:27:53 +02:00
gambas
c59ae913b6 Merge branch 'master' of gitlab.com:gambas/gambas 2021-06-16 01:55:10 +02:00
gambas
d5105c8349 Remove an extra newline at the end of the "non freed allocation" warning message.
[INTERPRETER]
* BUG: Remove an extra newline at the end of the "non freed allocation" warning message.
2021-06-16 01:54:12 +02:00
gambas
a6a47e5882 Project tree: Use the new 'inheritance' stock icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Use the new 'inheritance' stock icon.
2021-06-16 01:53:42 +02:00
gambas
f9a51f632a Add 'inheritance' stock icon.
[GB.FORM.STOCK]
* NEW: Add 'inheritance' stock icon.
2021-06-16 01:52:33 +02:00
gambas
09dd6a7009 MenuButton: The background color is now used for coloring the button background.
[GB.FORM]
* NEW: MenuButton: The background color is now used for coloring the button background.
* BUG: MenuButton: Fix how style flags are used for drawing the control.
2021-06-16 01:51:54 +02:00
gambas
41bd7aa6fc Style.PaintButton() now can take a background color as optional argument.
[GB.GTK]
* NEW: Style.PaintButton() now can take a background color as optional argument.

[GB.GTK3]
* NEW: Style.PaintButton() now can take a background color as optional argument.

[GB.QT4]
* NEW: Style.PaintButton() now can take a background color as optional argument.

[GB.QT5]
* NEW: Style.PaintButton() now can take a background color as optional argument.
2021-06-16 01:50:07 +02:00
Benoît Minisini
2bd8b62f7b Merge branch 'ScripterExternDefBug' into 'master'
[Scripter]

See merge request gambas/gambas!234
2021-06-15 16:13:25 +00:00
gambas
e6d9faad0a Allow local static variables to declare embedded arrays or structures like global variables.
[COMPILER]
* NEW: Allow local static variables to declare embedded arrays or structures like global variables.
2021-06-15 17:06:57 +02:00
gambas
6e69b9c00a Do not allow window titlebar to be moved outside of the visible area.
[GB.WEB.GUI]
* BUG: Fix combo-box layout.
* BUG: Do not allow window titlebar to be moved outside of the visible area.
2021-06-15 17:00:37 +02:00