Commit graph

9656 commits

Author SHA1 Message Date
gambas
61f79d6e3b Don't crash when hitting Backspace at the beginning of the editable text.
[GB.FORM]
* BUG: MaskBox: Don't crash when hitting Backspace at the beginning of the editable text.
2021-07-23 00:24:27 +02:00
gambas
53e39e8b87 MaskBox: Make cursor moves more clever.
[GB.FORM]
* NEW: MaskBox: Make cursor moves more clever.
2021-07-22 04:09:34 +02:00
gambas
41bb91b512 Remove the 'glib' workaround of commit 'c8fe917e', it breaks 'gb.web.gui', that needs true read-only pipes.
[INTERPRETER]
* BUG: Remove the 'glib' workaround of commit 'c8fe917e', it breaks 'gb.web.gui', that needs true read-only pipes.
2021-07-21 18:57:40 +02:00
gambas
cba7b18844 Fix the behaviour of standard input, end of file and stream read watches.
[INTERPRETER]
* NEW: Standard input is not supposed to be always available for reading.
* NEW: Watching a stream for reading is stopped as soon as reading ahead returns end of file.
* NEW: Eof() now immediately returns TRUE if a previous read ahead has reached end of file.
2021-07-16 04:00:29 +02:00
gambas
a56d819286 Add Request.Scheme property. Take HTTP headers into account to detect 'https'.
[GB.WEB]
* NEW: Request.Scheme is a new property that replaces Application.Protocol.
* NEW: Request.Scheme now returns '"https"' according to the contents of the 'REQUEST_SCHEME' or 'X_FORWARDED_PROTO' headers passed to the CGI script.
2021-07-15 14:29:12 +02:00
gambas
76e9bd56c0 Don't call graphical methods during the wiki search background task, it can crash the GTK+ toolkit.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Don't call graphical methods during the wiki search background task, it can crash the GTK+ toolkit.
* NEW: Help browser: The search result are now sorted.
2021-07-15 04:15:53 +02:00
gambas
261dd42ccd Adapt GetRecordCount() to the SQLite ODBC database driver.
[GB.DB.ODBC]
* BUG: Adapt GetRecordCount() to the SQLite ODBC database driver.
2021-07-14 19:52:21 +02:00
gambas
46cbe053e2 ButtonBox: Remove workaround for TAB key.
[GB.FORM]
* BUG: ButtonBox: Remove workaround for TAB key.
2021-07-14 04:39:48 +02:00
gambas
c614b57bdd Fix automatic default focus control for newly opened windows.
[GB.GTK]
* BUG: Fix automatic default focus control for newly opened windows.
* BUG: Fix next control focus routine.

[GB.GTK3]
* BUG: Fix automatic default focus control for newly opened windows.
* BUG: Fix next control focus routine.
2021-07-14 04:38:10 +02:00
gambas
c8fe917e97 Pipes are now always internally opened for writing, to workaround a 'glib' behaviour, that eats 100% CPU when there is no writer anymore on a pipe watched for reading.
[INTERPRETER]
* BUG: Pipes are now always internally opened for writing, to workaround a 'glib' behaviour, that eats 100% CPU when there is no writer anymore on a pipe watched for reading.
2021-07-14 02:08:01 +02:00
gambas
e08d47dd02 When using SHELL, call 'setpgrp()' after the possible 'setsid()' call. Otherwise the shell i/o are not visible to the Gambas process.
[INTERPRETER]
* BUG: When using SHELL, call 'setpgrp()' after the possible 'setsid()' call. Otherwise the shell i/o are not visible to the Gambas process.
2021-07-10 23:02:04 +02:00
gambas
b6d39c70a9 Fix MaskBox.
[GB.FORM]
* BUG: MaskBox: Text that do not have the same size as the mask are not valid anymore.
* BUG: MaskBox: The Text property now must match the mask when set. If the set text is smaller than the mask, it is completed with the default characters.
* BUG: MaskBox: Characters moves should be handled better now.
2021-07-10 04:39:21 +02:00
gambas
dbded52066 Fix keyboard management, and windows cannot have focus anymore on click.
[GB.GTK]
* BUG: Fix keyboard event management for command keys like DEL that have a text associated with.
* BUG: Windows cannot have focus anymore on click.

[GB.GTK3]
* BUG: Fix keyboard event management for command keys like DEL that have a text associated with.
* BUG: Windows cannot have focus anymore on click.
2021-07-10 04:27:42 +02:00
gambas
42005272a9 ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.
[GB.FORM]
* BUG: ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.
2021-07-08 23:12:39 +02:00
gambas
792c7bec6f Remove an incorrectly committed debug test.
[INTERPRETER]
* BUG: Remove an incorrectly committed debug test.
2021-07-07 22:57:59 +02:00
gambas
c6ed9848ad Fix propagation of keyboard events when the focused widget is not realized.
[GB.GTK]
* BUG: Fix propagation of keyboard events when the focused widget is not realized.

[GB.GTK3]
* BUG: Fix propagation of keyboard events when the focused widget is not realized.
2021-07-07 19:02:45 +02:00
gambas
bfbc55e4c7 Fix number formatting when the format include escaped characters.
[INTERPRETER]
* BUG: Fix number formatting when the format include escaped characters.
2021-07-07 00:39:11 +02:00
gambas
eba9622d5e Date formatting with escaped characters works correctly again.
[INTERPRETER]
* BUG: Date formatting with escaped characters works correctly again.
2021-07-06 23:22:24 +02:00
gambas
f6247616ca The '-e' option works correctly again.
[INTERPRETER]
* BUG: The '-e' option works correctly again.
2021-07-06 22:53:56 +02:00
gambas
a1fde2144a Fix help HTML generation from comments.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Use the markdown component to generate help from comments.
* BUG: Help browser: Don't trim the beginning of help comment lines, otherwise code blocks can't be inserted.
2021-07-05 22:45:45 +02:00
gambas
4cd5ac969e WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
[GB.WEB.GUI]
* BUG: WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
2021-07-05 21:50:11 +02:00
gambas
e2c15bd10b Fix highlighting and rewriting of lines having comments with more than one space before them.
[GB.EVAL]
* BUG: Fix highlighting and rewriting of lines having comments with more than one space before them.
2021-07-05 18:52:07 +02:00
gambas
67e13ac22e TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.
[GB.FORM.EDITOR]
* BUG: TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.
2021-07-04 17:48:02 +02:00
gambas
a4f96ba0a1 MaskBox should work correctly again.
[GB.FORM]
* BUG: MaskBox: It should work correctly again.
* NEW: MaskBox: Prompt is a new property that allows to define the character displayed for void entries among a few choices.
2021-07-03 08:34:28 +02:00
gambas
c753fbc2a3 Version Control: Add a button that shows all the modifications in the version control panel.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version Control: Add a button that shows all the modifications in the version control panel.
2021-07-01 13:28:48 +02:00
gambas
9072d7c9de Connection.Collations correctly returns the collation list now.
[GB.DB]
* BUG: Connection.Collations correctly returns the collation list now.
2021-06-29 23:21:44 +02:00
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
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