Commit graph

11384 commits

Author SHA1 Message Date
Benoît Minisini
865002c06c RegExp[].Length is a new property that returns the length of a submatch.
[GB.PCRE]
* NEW: RegExp[].Length is a new property that returns the length of a submatch.
2023-10-28 02:00:48 +02:00
Benoît Minisini
ed7a2c7807 The component is not experimental anymore.
[GB.HIGHLIGHT]
* NEW: The component is not experimental anymore.
2023-10-28 02:00:32 +02:00
Benoît Minisini
c2a73592d0 Use the new 'gb.highlight' component instead of 'gb.eval.highlight'.
[GB.FORM.EDITOR]
* NEW: Use the new 'gb.highlight' component instead of 'gb.eval.highlight'.
2023-10-28 02:00:00 +02:00
Benoît Minisini
3e4cd94dbb Manye fixed and enhancements. Add 'diff' and 'sql' highlighting. Add TextHighlighter.Paint() method.
[GB.HIGHLIGHT]
* NEW: Regular expressions are now written between / and /.
* NEW: Normal strings can be written between " and " to be able to write escape characters like newline or tab.
* NEW: "between here and ..." and "from here to ..." command syntax.
* NEW: "from" and "between" accept regular expression or normal strings as patterns.
* NEW: The "match" command now only matches a pattern or a normal string.
* NEW: Children state of a "match ..." command follow the matched text.
* NEW: TextHighlighter: Paint() has been implemented.
* NEW: TextHighlighter: FromFile() has been removed, and replaced by the Register() method.
* NEW: TextHighlighterTheme: The Colors property returns the color names registered by all the highlighters.
* BUG: Fix highlighting embedding.
* BUG: Fix 'c', 'cplusplus', 'css', 'html', 'javascript', 'webpage' highlighting.
* NEW: Add 'diff', 'sql' highlighting.
* OPT: Move test files in the 'Project' directory so that they do not go inside the executable.
2023-10-28 01:58:15 +02:00
Benoît Minisini
d85498e2ad Add 'css' highlighting, fix some bugs, add some enhancements.
[GB.HIGHLIGHT]
* BUG: Fix embedded highlighting management.
* BUG: Correctly handle UTF-8 text everywhere now.
* NEW: Some little syntax changes in definition file.
* NEW: Add '@include' command for including inside a definition file another file.
* NEW: TextHighlighter.ToHTML() takes embedded highlighting into account using automatic background colors.
* NEW: Add 'c', 'cpluscplus' and 'webpage' highlighting.
2023-10-26 22:31:10 +02:00
Benoît Minisini
75ae8bee70 Fix disabled controls rendering.
[GB.WEB.GUI]
* BUG: WebMenu: Enabled proerty is taken into account.
* BUG: All disabled controls are rendered gray out now.
2023-10-26 04:09:49 +02:00
Benoît Minisini
89a2c884f9 TextArea: Mouse grab on click is not disabled anymore.
[GB.GTK]
* BUG: TextArea: Mouse grab on click is not disabled anymore.

[GB.GTK3]
* BUG: TextArea: Mouse grab on click is not disabled anymore.
2023-10-26 03:51:39 +02:00
Benoît Minisini
d8cba912af Fix optimization of '+' and '-' operators.
[COMPILER]
* BUG: Fix optimization of '+' and '-' operators.
2023-10-26 03:05:13 +02:00
Benoît Minisini
4248a5c43d INPUT ignores leading spaces characters now.
[INTERPRETER]
* NEW: INPUT ignores leading spaces characters now.
2023-10-26 02:39:00 +02:00
Benoît Minisini
f8faf133c3 Lower the version requirement on 'libfribidi'.
[GB.GTK]
* BUG: Lower the version requirement on 'libfribidi'.

[GB.GTK3]
* BUG: Lower the version requirement on 'libfribidi'.
2023-10-25 16:41:55 +02:00
Benoît Minisini
9d0cdd8e20 Raise the maximum number of labels by function from 255 to 1023.
[COMPILER]
* NEW: Raise the maximum number of labels by function from 255 to 1023.
2023-10-25 11:53:28 +02:00
Benoît Minisini
ac0f2ba85e Make "%>" a keyword for syntax analyze of gambas code embedded into a WebPage. Some other fixes in the interpreter and the compiler.
[INTERPRETER]
* BUG: A global class find does now a global class lookup. It seems more logical.
* BUG: When loading a class fails, display an accurate error message.

[COMPILER]
* BUG: Embedded arrays do not raise warnings on being uninitialized anymore.
* NEW: Make "%>" a keyword for syntax analyze of gambas code embedded into a WebPage.
2023-10-24 04:29:01 +02:00
Benoît Minisini
72417abe78 Add 'css' highlighting, fix some bugs, add some enhancements.
[GB.HIGHLIGHT]
* BUG: Fix intermediate state return on end of text.
* NEW: Add 'css' highlighting.
* NEW: Add imbricated 'css' inside 'html' highlighting.
* NEW: "word" and "symbol" commands can take their arguments in a file.
* NEW: Allow to define substitutions variable in definition files.
* BUG: Correctly Handle highlighting of a text token of more than 255 characters.
* NEW: Start to port Gambas highlighting to the new design.
2023-10-22 01:00:19 +02:00
Benoît Minisini
12efdb2bf9 Support for embedded highlighting.
[GB.HIGHLIGHT]
* NEW: Support for embedded highlighting.
* NEW: The "keyword" command is like "word", but it adds the specified words to the list of keywords.
* NEW: Javascript is highlighted inside HTML.
2023-10-21 09:19:23 +02:00
Benoît Minisini
f3618751d8 Some fixes in javascript highlighter.
[GB.HIGHLIGHT]
* BUG: Some fixes in javascript highlighter.
2023-10-20 03:03:07 +02:00
Benoît Minisini
3b9b1d8bfd Merge branch 'master' of gitlab.com:gambas/gambas 2023-10-20 01:49:34 +02:00
Benoît Minisini
eb8fe0ca9c Update project icon.
[SCRIPTER]
* NEW: Update project icon.
2023-10-20 01:49:24 +02:00
Benoît Minisini
1e296e46dc Add "match ... to ..." syntax. Allow children states in "match ... to ..." and "from ... to ...".
[GB.HIGHLIGHT]
* NEW: Add "match ... to ..." syntax.
* NEW: Allow children states in "match ... to ..." and "from ... to ...".
* NEW: Add 'html.highlight'.
2023-10-20 01:47:06 +02:00
gambix
08e8a06008 Bug on the tile ordering
[GB.MAP]
* BUG: _MapTile, Correction on bad file naming for tiles (curious artifact on httpClient.Tag).
2023-10-19 10:56:04 +02:00
Benoît Minisini
46bd71a20a Image editor: Support for high precision mouse wheel.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Support for high precision mouse wheel.
2023-10-19 04:20:57 +02:00
Benoît Minisini
111df19ac2 Fix Mouse.FullDelta computation.
[GB.QT4]
* BUG: Fix Mouse.FullDelta computation.

[GB.QT5]
* BUG: Fix Mouse.FullDelta computation.
2023-10-19 04:19:52 +02:00
Benoît Minisini
17f8d757a8 Debugger panel: Add a button to open the temporary directory of the debugged process. Add tooltips to explain the different process data displayed.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new 'gb.highlight' component.
* NEW: Debugger panel: Add a button to open the temporary directory of the debugged process.
* NEW: Debugger panel: Add tooltips to explain the different process data displayed.
* NEW: System information dialog: A little redesign. More programs checked.
* NEW: Update French translation.
2023-10-19 04:10:30 +02:00
Benoît Minisini
5cabfec061 Add 'gb.highlight' component to the list of components to compile.
[CONFIGURATION]
* NEW: Add 'gb.highlight' component to the list of components to compile.

[GB.HIGHLIGHT]
* NEW: Update project icon.

[GB.WEB.FEED]
* NEW: Update project icon.
2023-10-19 04:05:47 +02:00
Benoît Minisini
68b53e0367 Initial implementation.
[GB.HIGHLIGHT]
* NEW: Initial implementation.
2023-10-19 04:00:54 +02:00
Benoît Minisini
0f7510b7bb Drag: Support for URI list now uses the 'Url()' and 'FromUrl()' interpreter functions.
[GB.GUI.BASE]
* BUG: Drag: Support for URI list now uses the 'Url()' and 'FromUrl()' interpreter functions.
2023-10-19 01:39:16 +02:00
Benoît Minisini
b610a6a2d1 FromURL() does not decode '+' into a space before having encountered the '?' query delimiter character.
[INTERPRETER]
* BUG: FromURL() does not decode '+' into a space before having encountered the '?' query delimiter character.
2023-10-18 21:33:06 +02:00
Benoît Minisini
9885f645c4 Fix some use of deprecated API.
[GB.GTK3.WEBVIEW]
* BUG: Fix some use of deprecated API.
2023-10-18 21:14:26 +02:00
Benoît Minisini
5fa69fa13c Don't use 'pango_find_base_dir()' replacement if the function is not deprecated.
[GB.GTK]
* BUG: Don't use 'pango_find_base_dir()' replacement if the function is not deprecated.

[GB.GTK3]
* BUG: Don't use 'pango_find_base_dir()' replacement if the function is not deprecated.
2023-10-18 21:08:29 +02:00
Benoît Minisini
a4a7475a5b Workaround deprecation of 'pango_find_base_dir' API.
[GB.GTK]
* BUG: Workaround deprecation of 'pango_find_base_dir' API.

[GB.GTK3]
* BUG: Workaround deprecation of 'pango_find_base_dir' API.
2023-10-18 20:40:54 +02:00
Benoît Minisini
292383c047 Handle the new bytecode of the Pi() function.
[GB.JIT]
* BUG: Handle the new bytecode of the Pi() function.
2023-10-18 18:46:09 +02:00
Benoît Minisini
d26f5345ec Fix a possible crash when calling the 'UserControl_Font' handler. Fix management of resizable popup windows.
[GB.QT4]
* BUG: UserControl: Fix a possible crash when calling the 'UserControl_Font' handler.
* BUG: Fix management of resizable popup windows.

[GB.QT5]
* BUG: UserControl: Fix a possible crash when calling the 'UserControl_Font' handler.
* BUG: Fix management of resizable popup windows.
2023-10-15 23:26:15 +02:00
Benoît Minisini
2bf108f2e8 New project icon.
[GB.DESKTOP.X11]
* NEW: New project icon.
2023-10-15 22:06:24 +02:00
Benoît Minisini
f694f99b8b CGI.Error() now displays a nice error 500 page. :-)
[GB.WEB]
* NEW: CGI.Error() now displays a nice error 500 page. :-)
2023-10-15 21:54:08 +02:00
Benoît Minisini
7b26952018 Fix CSS of box icons. Fix index generation.
[WIKI]
* BUG: Fix CSS of box icons.
* BUG: Fix index generation.
2023-10-15 21:52:43 +02:00
Benoît Minisini
fb66ad46a7 TabPanel: Fix tab bar layout.
[GB.FORM]
* BUG: TabPanel: Fix tab bar layout.
2023-10-15 21:50:03 +02:00
Benoît Minisini
22a7714b0d Project tree: Use the new TreeView Highlight property.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Use the new TreeView Highlight property.
* NEW: Display duration of executable generation.
* NEW: Version control panel: Move "Create new branch" button to the right.
2023-10-15 21:46:38 +02:00
Benoît Minisini
937c9eb751 TreeView, ListView, ColumnView: Add Highlight property to highlight the item under the mouse cursor.
[GB.GUI.BASE]
* NEW: GridView: Handle the Highlight property at the GridView level.
* NEW: TreeView, ListView, ColumnView: Add Highlight property to highlight the item under the mouse cursor.
2023-10-15 21:44:39 +02:00
Benoît Minisini
3adba0a92a Update AUTHORS file. 2023-10-15 21:09:14 +02:00
Benoît Minisini
dadb89c87d ListBox: Add Highlight property to highlight the listbox entry under the mouse cursor.
[GB.GUI.BASE]
* NEW: ListBox: Add Highlight property to highlight the listbox entry under the mouse cursor.
* NEW: Helper function for the future 'Window.ShowPopupAt()' method.
* NEW: ScrollArea: The mouse wheel now scroll a number of pixels proportional to 'Desktop.Scale'.
2023-10-13 16:59:01 +02:00
Benoît Minisini
9b15ce56f3 Replace branch selection menu by a list embedded in the project tree panel.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix CSS file compression.
* NEW: Replace branch selection menu by a list embedded in the project tree panel.
2023-10-13 12:03:52 +02:00
Benoît Minisini
e44956d02a ComboBox: Read-only combo-box now correctly takes the background-color into account.
[GB.WEB.GUI]
* BUG: ComboBox: Read-only combo-box now correctly takes the background-color into account.
2023-10-10 11:02:14 +02:00
Benoît Minisini
87e5ad57b7 Custom startup class is now taken into account.
[GB.WEB.GUI]
* BUG: Custom startup class is now taken into account.
2023-10-09 21:49:10 +02:00
Benoît Minisini
089b2e0efb Change the look of project property, options, debugger configuration and translation dialogs.
[DEVELOPMENT ENVIRONMENT]
* NEW: Change the look of project property, options, debugger configuration and translation dialogs.
* NEW: Update a few icons.
2023-10-09 12:18:34 +02:00
Benoît Minisini
eeb70244f7 TabPanel: New look.
[GB.FORM]
* NEW: TabPanel: New look.
2023-10-09 12:17:13 +02:00
Benoît Minisini
dc7cf9b3a9 Keep the authorizations when saving a file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Add a "refresh project" entry in the filter menu.
* BUG: Keep the authorizations when saving a file.
2023-10-08 23:41:03 +02:00
Benoît Minisini
1fdbb15f1a ComboBox: Take mouse wheel events into account in read-write mode again. MouseWheel events can be intercepted and stopped now.
[GB.GUI.BASE]
* NEW: ComboBox: Take mouse wheel events into account in read-write mode again.
* NEW: ComboBox: MouseWheel events can be intercepted and stopped now.
2023-10-08 19:16:20 +02:00
Benoît Minisini
8a1d604e32 Support for computed Goto or GoSub in JIT compiler.
[INTERPRETER]
* BUG: Correctly initialize functions without computed Goto or GoSub.

[GB.JIT]
* NEW: Support for computed Goto or GoSub.
2023-10-06 03:31:20 +02:00
Benoît Minisini
bdea5c8a7c Fix compilation on Ubuntu Trusty.
[INTERPRETER]
* BUG: Fix compilation on Ubuntu Trusty.
2023-10-05 22:44:36 +02:00
Benoît Minisini
0f54fe9ccd Optimize object creation when there is no special method to call ('_new', '_ready', global variable initialization) and no inheritance.
[INTERPRETER]
* OPT: Optimize object creation when there is no special method to call ('_new', '_ready', global variable initialization) and no inheritance.
2023-10-05 18:09:48 +02:00
Benoît Minisini
de200aac4c Add a new 'btree' benchmark, that does a lot of object creation and recursive function calls.
[BENCHMARKS]
* NEW: Add a new 'btree' benchmark, that does a lot of object creation and recursive function calls.
* NEW: Rename the 'string' benchmark as 'string1', to avoid name clashes in Python.
* BUG: Fix the HTML table generation.
2023-10-04 22:10:01 +02:00