Commit graph

10081 commits

Author SHA1 Message Date
gambas
c5174e185d The previous commit broke the the bit manipulation functions. Fix it.
[INTERPRETER]
* BUG: The previous commit broke the the bit manipulation functions. Fix it.
2021-11-09 00:10:54 +01:00
gambas
0ff81df085 AND, OR and XOR operators now work correctly when one of its argument is a Long and the other is not.
[INTERPRETER]
* BUG: AND, OR and XOR operators now work correctly when one of its argument is a Long and the other is not.
2021-11-08 23:54:28 +01:00
gambas
1f93b3723c Array classes can be used with the IS operator without being declared elsewhere first.
[COMPILER]
* BUG: Array classes can be used with the IS operator without being declared elsewhere first.
2021-11-08 12:25:58 +01:00
gambas
cebcddd531 The translation logs generated by the compiler are now displayed to the user.
[DEVELOPMENT ENVIRONMENT]
* NEW: The translation logs generated by the compiler are now displayed to the user.
* NEW: Redraw 'class' and 'module' icons.
2021-11-08 01:48:31 +01:00
gambas
463c8c7d2b The F2 "find definition" function does not mistake subroutines for normal symbols anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: The F2 "find definition" function does not mistake subroutines for normal symbols anymore.
2021-11-08 01:46:21 +01:00
gambas
fa133a3c78 The output of 'msgfmt' executions is stored in log files, one by translation.
[COMPILER]
* NEW: The output of 'msgfmt' executions is stored in log files, one by translation.
2021-11-08 01:43:27 +01:00
gambas
4b8b7a8dbd Do not use the Postgresql server includes anymore to get datatypes id.
[CONFIGURATION]
* NEW: Update gitlab CI configuration file.

[GB.DB.POSTGRESQL]
* BUG: Do not use the Postgresql server includes anymore to get datatypes id.
  Read them directly from the database at connection. That way the component
  can compile again on new versions of Fedora that broke the Postgresql packages.
2021-11-07 20:42:27 +01:00
gambas
6e2140b1ed Merge branch 'master' of gitlab.com:gambas/gambas 2021-11-07 02:39:27 +01:00
gambas
847d55d232 TextEditor: Use the correct style for highlighting the line where the debugger is stopped.
[GB.FORM.EDITOR]
* BUG: TextEditor: Use the correct style for highlighting the line where the debugger is stopped.
2021-11-07 02:39:16 +01:00
Benoît Minisini
87dc485439 Apparently 'opensuse-tumbleweed' cannot compile Qt5 webkit anymore. 2021-11-07 00:44:49 +00:00
gambas
3480f10b1f Merge branch 'master' of gitlab.com:gambas/gambas 2021-11-07 00:32:55 +01:00
gambas
cbf9a95351 The Control Lower() and Raise() methods do not trigger any Watcher anymore while temporarily showing and hiding controls.
[GB.GTK]
* BUG: The Control Lower() and Raise() methods do not trigger any Watcher anymore while temporarily showing and hiding controls.

[GB.GTK3]
* BUG: The Control Lower() and Raise() methods do not trigger any Watcher anymore while temporarily showing and hiding controls.
2021-11-07 00:31:19 +01:00
Benoît Minisini
e2a4a85c54 Make 'opensuse-tumbleweed' compile again 2021-11-06 14:48:52 +00:00
gambas
aa31428f99 HtmlViewer: Tell the IDE that the MonospaceFont property only takes a monospace font.
[GB.FORM.HTMLVIEW]
* OPT: Move all test files from source folder to project folder, so that they are not put in the executable..
* BUG: HtmlViewer: Tell the IDE that the MonospaceFont property only takes a monospace font.
2021-11-06 15:43:45 +01:00
gambas
ac94d4b169 Redraw 'ungroup' icon. Add some new mimetypes for the Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Redraw 'ungroup' icon.
* NEW: Add some new mimetypes for the Gambas icon theme.
2021-11-06 15:19:59 +01:00
gambas
0fc360bc92 Update CSS file.
[WIKI]
* NEW: Update CSS file.
2021-11-06 15:18:58 +01:00
gambas
35d87a91c1 Fix a memory leak when stopping a triggered timer.
[INTERPRETER]
* BUG: Fix a memory leak when stopping a triggered timer.
2021-11-06 15:17:38 +01:00
gambas
f666dfb0ef TextEditor: Ignore overwrite in read-only mode. Blink the matching brace with the cursor.
[GB.FORM.EDITOR]
* BUG: TextEditor: Ignore overwrite in read-only mode.
* NEW: TextEditor: Blink the matching brace with the cursor.
2021-11-06 15:14:05 +01:00
gambas
e05fe7c63e Better conversion of old theme format. Enhance 'Diff' highlighter.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighterTheme: Load() now convert old theme to new theme by initializing unset styles with old styles.
* NEW: Enhance 'Diff' highlighter.
2021-11-06 15:13:14 +01:00
gambas
2a66b8971f Fix custom help page templates.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix custom help page templates.
2021-11-06 14:59:28 +01:00
gambas
a2f9215f0d Use the new 'TextEditor.Theme' property instead of the now deprecated 'Styles' property. Update highlighting themes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update highlighting themes.
* NEW: Use the new 'TextEditor.Theme' property instead of the now deprecated 'Styles' property.
2021-11-06 14:46:58 +01:00
gambas
c6b1199326 Merge branch 'master' of gitlab.com:gambas/gambas 2021-11-06 12:04:42 +01:00
gambas
cab8410921 Option dialog: Fix theme configuration.
[DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Fix theme configuration.
* NEW: Update 'gambas' highlighting theme.
2021-11-06 12:04:34 +01:00
gambas
8e914b74c7 TextEditor: Fix how bold text is drawn on dark themes.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix how bold text is drawn on dark themes.
2021-11-06 12:03:34 +01:00
gambas
879d0796fc TextHighlighterTheme: Fix ToString() method.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighterTheme: Fix ToString() method.
* NEW: TextHighlighterTheme: Initialize directly from the IDE 'gambas' theme file.
2021-11-06 12:03:05 +01:00
Benoît Minisini
02a3153ecf Revert last commit. It does not work. 2021-11-06 10:30:10 +00:00
Benoît Minisini
e4d747a6f0 Try to make 'fedora-latest' compile again. 2021-11-06 10:22:56 +00:00
gambas
44f77955f3 Stopping a triggered timer does not leak memory anymore.
[INTERPRETER]
* BUG: Stopping a triggered timer does not leak memory anymore.
2021-11-05 22:58:57 +01:00
gambas
c307592858 TextHighlighterTheme: Fix Save() method.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighterTheme: Fix Save() method.
2021-11-05 21:20:28 +01:00
gambas
168b00a5d5 AvlTree: Clearing the tree now correctly frees all nodes.
[GB.DATA]
* BUG: AvlTree: Clearing the tree now correctly frees all nodes.
2021-11-05 20:11:24 +01:00
gambas
f202bbcff6 TreeView: Using a Move*() method now ensures that the view is actually sorted.
[GB.GUI.BASE]
* BUG: TreeView: Using a Move*() method now ensures that the view is actually sorted.
2021-11-05 18:43:13 +01:00
gambas
84e4bc2c71 Timer.Stop() now cancels a call to Timer.Trigger().
[INTERPRETER]
* NEW: Timer.Stop() now cancels a call to Timer.Trigger().
2021-11-05 18:39:35 +01:00
gambas
16e547fffe Translation dialog: Display the current translation and the current translation file in the dialog title.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Display the current translation and the current translation file in the dialog title.
2021-11-05 17:04:02 +01:00
gambas
abd179d7ae Implement the new highlighting design, and fix the use of new HtmlView in property help.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix use of new HtmlView in property help.
* BUG: Fix how the list of recently opened files is filled.
* NEW: Use the new highlighting design.
* NEW: Option dialog: The theme tab allows to choose the new highlighting styles by highlighters.
* NEW: Translation dialog: The list of new languages now displays the name of the associated translation file.
2021-11-05 16:58:50 +01:00
gambas
72ac01e177 Make TextEditor compatible with the new 'gb.eval.highlight' design.
[GB.FORM.EDITOR]
* NEW: TextEditor: Theme is a new property that allows to define the TextHighlighterTheme associated with the editor.
* NEW: TextEditor: The Styles property is now deprecated. It returns now the array of TextHighlighterStyle associated with editor theme.
* NEW: TextEditor: The editor lines have now a little padding on the top and on the bottom, whose size is proportional to the font height.
* BUG: TextEditor: The line wrap markers now are correctly colorized when selected.
* NEW: TextEditor: Colorized text can be striked out.
2021-11-05 16:52:44 +01:00
gambas
0f80f22530 The Highlight constants now follow the order defined by the new 'gb.eval.highlight' design.
[GB.EVAL]
* NEW: The Highlight constants now follow the order defined by the new 'gb.eval.highlight' design.
2021-11-05 16:46:35 +01:00
gambas
7b681d214e New text highlighting design, with highlighting themes based on pre-defined style string names.
[GB.EVAL.HIGHLIGHT]
* NEW: Highlight: Styles is a new property that returns the string key available for all TextHighlighterStyle objects. The integer id of a style is its position in that array.
* NEW: Highlight: GetStyleName() is a new method that returns the translated name of a specific style.
* NEW: TextHighlighter: List is a new static property that returns a list of all implemented highlighter names.
* NEW: TextHighlighter: Name is a new property that returns the name of an highlighter.
* NEW: TextHighlighter: FullName is a new property that returns the human name of an highlighter.
* NEW: TextHighlighter: Styles is a new property that returns the styles actually used by an highlighter.
* NEW: TextHighlighter: ToAnsi(), ToHTML(), ToRichText() and Paint() method now take a TextHighlighterTheme or an array of TextHighlighterStyle as last argument.
* NEW: TextHighlighterStyle: Add Key, Name, Color, Bold, Underline, Dotted, Strikeout properties.
* NEW: TextHighlighterStyle: The Background property tells if the style is a background style according to its key.
* NEW: TextHighlighterStyle: The InvertedColor property returns the style color inverted for dark themes.
* NEW: TextHighlighterStyle: The ToString() method serializes the style to a string.
* NEW: TextHighlighterStyle: The FromString() method creates a style from a string returned by ToString().
* NEW: TextHighlighterTheme: A new class that represents a highlighting theme
* NEW: All highlighter classes were ported to the new design.
2021-11-05 16:46:08 +01:00
gambas
3e06b23ce8 Update 'README' and 'README.md' files.
[CONFIGURATION]
* NEW: Update 'README' and 'README.md' files.
2021-11-02 12:21:39 +01:00
gambas
c0345b99ab Raise an error if point or rectangle constructor take an incorrect number of arguments.
[GB.GEOM]
* BUG: Raise an error if the rectangle constructor does not take zero or four arguments.
* BUG: Raise an error if the point constructor does not take zero or two arguments.
2021-11-02 12:20:07 +01:00
gambas
394ea76e2c Merge branch 'master' of gitlab.com:gambas/gambas 2021-11-01 23:11:19 +01:00
gambas
90e7cb98f4 Redraw the book icon in 'blue'.
[GB.FORM.STOCK]
* NEW: Redraw the book icon in 'blue'.
2021-11-01 23:10:55 +01:00
gambas
adf03f0862 Remove the String.Capitalize() synonymous. That function should instead capitalize each word of a string, not just the first character.
[INTERPRETER]
* BUG: Remove the String.Capitalize() synonymous. That function should instead capitalize each word of a string, not just the first character.
2021-11-01 23:09:38 +01:00
gambix
7edadb94a2 Fixed Fixed a bug in the Near function of _ShapeItem and MapBound.InBounds
[GB.MAP]
* BUG: Fixed a bug in the Near function of _ShapeItem
* BUG: Now MapBound.InBounds is working correctly.
2021-11-01 14:12:00 +01:00
gambas
8d1f7fb4d0 Use HtmlView instead of WebView in automatic completion popup, method signature popup and form editor property help.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use HtmlView instead of WebView in automatic completion popup, method signature popup and form editor property help.
* BUG: Fix <a> inside <u> bug inside custom HtmlView css patch.
2021-11-01 00:07:45 +01:00
gambas
810b2f9aa5 Features and fixes for HtmlView.
[GB.FORM.HTMLVIEW]
* NEW: Support of the 'on_mouse_leave' interface.
* NEW: Automatic management of anchors.
* NEW: HtmlView: History management. Add Back() and Forward() method to move along the history.
* NEW: HtmlView: Add Url property. Setting the Url property fills the history, whereas the Load() method loads the html contents from a file.
* NEW: HtmlView: The Link event is raised to manage links that HtmlView cannot understand. The link is valid and enters the history if the Load() method is called from the Link event handler.
* NEW: True implementations of 'strcasecmp' and 'strncasecmp' in litehtml.
*
2021-10-31 23:41:46 +01:00
gambas
e7357a8e35 Try to compile 'gb.form.htmlview' after 'gb.form'.
[CONFIGURATION]
* BUG: Try to compile 'gb.form.htmlview' after 'gb.form'.
2021-10-31 19:05:26 +01:00
gambas
3ac4484d4f Fix stylesheet of help pages generated for classes inside the project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix stylesheet of help pages generated for classes inside the project.
2021-10-31 17:58:44 +01:00
gambas
ed842e2588 Add the template configuration file used for initializing the 'gb.form.htmlview' directory.
[CONFIGURATION]
* NEW: Add the template configuration file used for initializing the 'gb.form.htmlview' directory.
2021-10-31 17:57:54 +01:00
gambas
01a1df3b33 Move 'gb.form.htmlview' source code directory at the top, so it is compiled after the components its project requires.
[CONFIGURATION]
* BUG: Move 'gb.form.htmlview' source code directory at the top, so it is compiled after the components its project requires.
2021-10-31 17:55:55 +01:00
gambas
7b456ffc0b Do not make the project depends on 'gb.form', it break compilation.
[GB.FORM.HTMLVIEW]
* BUG: Do not make the project depends on 'gb.form', it break compilation.
2021-10-31 02:11:15 +02:00