Commit graph

10614 commits

Author SHA1 Message Date
Benoît Minisini
da046feb3f Add error location when displaying an error message in the generated HTML.
[GB.MARKDOWN]
* NEW: Add error location when displaying an error message in the generated HTML.
2022-09-17 22:50:44 +02:00
Benoît Minisini
1a433879f1 Update some icons.
[GB.FORM.STOCK]
* NEW: Update 'download' and 'upload' icons.
* NEW: Redraw 'inheritance', 'gradient' and 'network' icon.
2022-09-17 22:49:05 +02:00
Benoît Minisini
dfa8d18c39 Support for 'gb.hash' component.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'gb.hash' component.
* NEW: Update French translation
2022-09-17 22:45:01 +02:00
Benoît Minisini
580a51b659 Replace hash native functions by static methods in a 'Hash' class implemented in the 'gb.hash' component.
[COMPILER]
* NEW: Remove Md5() and other hash native functions.

[INTERPRETER]
* NEW: Remove Md5() and other hash native functions.

[GB.HASH]
* NEW: 'Hash' is a new static class with methods that implement The 'Md5', 'Sha1', 'Sha256' and 'Sha512' hash functions.
2022-09-17 22:41:29 +02:00
Benoît Minisini
0b7c342e8e Add Md5(), Sha1(), Sha256() and Sha512() functions.
[CONFIGURATION]
* NEW: Update 'README' and 'README.md' files.

[COMPILER]
* NEW: Add Md5(), Sha1(), Sha256() and Sha512() functions.

[INTERPRETER]
* NEW: Add Md5(), Sha1(), Sha256() and Sha512() functions.

[GB.HASH]
* NEW: This is a new component that implements the Md5(), Sha1(), Sha256() and Sha512() functions.
  The code comes from BusyBox.
2022-09-13 02:48:11 +02:00
Benoît Minisini
0111231df9 Fix compilation.
[GB.EVAL]
* BUG: Fix compilation.
2022-09-12 15:17:22 +02:00
Benoît Minisini
6a793ddeb7 Replace my old depracted gmail mail by the new one.
[CONFIGURATION]
* NEW: Replace my old depracted gmail mail by the new one.
2022-09-12 15:13:13 +02:00
Benoît Minisini
1cec6f118b Free 14 bytecode slots by using 'ADD QUICK' for numbers between -255 and 255 only.
[COMPILER]
* NEW: Free 14 bytecode slots by using 'ADD QUICK' for numbers between -255 and 255 only.
2022-09-12 15:02:39 +02:00
Benoît Minisini
c2005ad919 Forbid "PROPERTY WRITE" when compiled bytecode version is strictly lower than 3.18.
[COMPILER]
* NEW: Forbid "PROPERTY WRITE" when compiled bytecode version is strictly lower than 3.18.
2022-09-12 15:01:00 +02:00
Benoît Minisini
ab975cbcfe Debugger: Fix debugger state when debugging inside components option is set.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix debugger state when debugging inside components option is set.
2022-09-09 16:24:57 +02:00
Benoît Minisini
ce84baf154 Better find a web browser when opening an URL.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Fix a crash in automatic completion.
* BUG: Better find a web browser when opening an URL.
* BUG: Farm dialog: Fix layout of project description.
2022-09-08 23:17:07 +02:00
Benoît Minisini
a9d69c2cdb 'Wait' now runs the deferred routines even if there is no pending GUI event.
[GB.GTK]
* BUG: 'Wait' now runs the deferred routines even if there is no pending GUI event.

[GB.GTK3]
* BUG: 'Wait' now runs the deferred routines even if there is no pending GUI event.
2022-09-08 02:31:42 +02:00
Benoît Minisini
b042023228 Fix some default control sizes.
[GB.GTK]
* NEW: Fix some default control sizes.

[GB.GTK3]
* NEW: Fix some default control sizes.

[GB.QT4]
* NEW: Fix some default control sizes.

[GB.QT5]
* NEW: Fix some default control sizes.
2022-09-08 02:30:57 +02:00
Benoît Minisini
ec3633e5a6 Forgot to remove some uses of deprecated LIKELY() macros.
[GB.DATA]
* BUG: Forgot to remove some uses of deprecated LIKELY() macros.
2022-09-08 00:56:45 +02:00
Benoît Minisini
3ea84d119b Image editor: Support for composition operation when pasting the clipboard.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Selecting a stack frame works again.
* NEW: Image editor: Support for composition operation when pasting the clipboard.
* BUG: Image editor: Selecting a position is more accurate.
2022-09-06 18:04:24 +02:00
Benoît Minisini
c35d61bd7b Redraw 'download' and 'upload' icons.
[GB.FORM.STOCK]
* NEW: Redraw 'download' and 'upload' icons.
2022-09-06 10:29:20 +02:00
Benoît Minisini
07859c610e SvgImage: Painting routine has been redesigned and is now faster.
[GB.GTK]
* OPT: SvgImage: Painting routine has been redesigned and is now faster.

[GB.GTK3]
* OPT: SvgImage: Painting routine has been redesigned and is now faster.
2022-09-06 00:25:42 +02:00
Benoît Minisini
f3cfc51374 Connection: Request substitution methods now support "[&1]" and "&1" quoting syntax to quote a table name or a column name.
[INTERPRETER]
* NEW: Enhance 'GB.SubstStringAdd()' and add 'GB.SubstStringUnquote()' API to support custom quoting in 'gb.db'.

[GB.DB]
* NEW: Connection: Request substitution methods now support "[&1]" and "`&1`" quoting syntax to quote a table name or a column name.
2022-09-05 00:59:44 +02:00
Benoît Minisini
aff3103b07 Remove uses of deprecated LIKELY() macros.
[GB.DATA]
* BUG: Remove uses of deprecated LIKELY() macros.
2022-09-04 22:02:39 +02:00
Benoît Minisini
6a9388bbfc Fix compilation with old versions of 'librsvg' again.
[GB.GTK]
* BUG: Fix compilation with old versions of 'librsvg' again.

[GB.GTK3]
* BUG: Fix compilation with old versions of 'librsvg' again.
2022-09-04 07:55:31 +02:00
Benoît Minisini
2fc4d7e54b Fix compilation with old versions of librsvg.
[GB.GTK]
* BUG: Fix compilation with old versions of librsvg.

[GB.GTK3]
* BUG: Fix compilation with old versions of librsvg.
2022-09-04 01:32:24 +02:00
Benoît Minisini
5c347359cf Redesign the 'goto' panel.
[GB.FORM.EDITOR]
* NEW: TextEditor: Do not show the 'goto' panel if there is only one line.
* NEW: TextEditor: Redesign the 'goto' panel.
* NEW: TextEditor: Update French translation.
2022-09-03 14:29:49 +02:00
Benoît Minisini
2cbea0c358 Do not clear the version control and the test console when the project is reloaded.
[DEVELOPMENT ENVIRONMENT]
* NEW: Do not clear the version control and the test console when the project is reloaded.
2022-09-03 14:28:33 +02:00
Benoît Minisini
b5d0df01a6 Fix a possible buffer overflow.
[GB.DB.POSTGRESQL]
* BUG: Fix a possible buffer overflow.
2022-09-03 14:26:23 +02:00
Benoît Minisini
edb65a657a Fix some use of deprecated functions.
[GB.GTK]
* BUG: Fix some use of deprecated functions.

[GB.GTK3]
* BUG: Fix some use of deprecated functions.
2022-09-03 14:25:46 +02:00
Benoît Minisini
57438c8bc7 Fix some warnings.
[GB.HTTPD]
* BUG: Fix some warnings.
2022-09-03 14:25:18 +02:00
Benoît Minisini
c378523342 Fix some use of deprecated functions.
[GB.QT5]
* BUG: Fix some use of deprecated functions.
2022-09-03 14:24:35 +02:00
Benoît Minisini
d996843f55 Remove useless LIKELY() and UNLIKELY() macros.
[GB.SDL]
* NEW: Remove useless LIKELY() and UNLIKELY() macros.
2022-09-03 14:23:46 +02:00
Benoît Minisini
0ec57295b7 Remove useless LIKELY() and UNLIKELY() macros. Add a class flag for bytecode strictly older than 3.18.
[COMPILER]
* NEW: Remove useless LIKELY() and UNLIKELY() macros.

[INTERPRETER]
* NEW: Remove useless LIKELY() and UNLIKELY() macros.
* NEW: Add a class flag for bytecode strictly older than 3.18.

[GB.DEBUG]
* BUG: Fix incorrect 'printf' format on 32-bits architectures.
2022-09-03 14:20:13 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
Benoît Minisini
620ad9c919 TerminalView: Compute the character width so that non-fixed font characters are not truncated.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Compute the character width so that non-fixed font characters are not truncated.
2022-09-03 02:40:45 +02:00
Benoît Minisini
19bb0178a8 Popup menus are scrollable again.
[GB.GTK]
* BUG: Popup menus are scrollable again.

[GB.GTK3]
* BUG: Popup menus are scrollable again.
2022-09-03 02:16:08 +02:00
Benoît Minisini
935cf315f4 Project tree: Fix a possible crash while opening a project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Fix a possible crash while opening a project.
2022-09-02 11:04:26 +02:00
Benoît Minisini
4183b21ddd Fix drag & drop management.
[GB.GTK]
* BUG: Fix drag & drop management.

[GB.GTK3]
* BUG: Fix drag & drop management.
2022-09-02 02:29:49 +02:00
Benoît Minisini
969b7495e0 Debugger: Fix a possible crash in stack display during debugging.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix a possible crash in stack display during debugging.
2022-08-31 23:46:51 +02:00
Benoît Minisini
e5a0d48c2e Language.GetTranslations() method now browses the correct language files in executables.
[GB.UTIL]
* BUG: Language.GetTranslations() method now browses the correct language files in executables.
2022-08-26 17:01:54 +02:00
Benoît Minisini
f9207cb5a2 Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
[GB.DBUS.TRAYICON]
* BUG: Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
  Cinnamon seems to ignore the return value of the 'AboutToShow' event.
2022-08-26 16:51:09 +02:00
Benoît Minisini
0f99e553c9 Fix 'hibernate' and 'info' icons.
[GB.FORM.STOCK]
* NEW: Fix 'hibernate' and 'info' icons.
2022-08-26 00:20:11 +02:00
Benoît Minisini
9ae544c5b2 ListEditor: Add 'Grid' property.
[GB.FORM]
* NEW: ListEditor: Add 'Grid' property.
2022-08-26 00:19:31 +02:00
Benoît Minisini
c875154868 GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
[GB.GUI.BASE]
* BUG: GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
2022-08-26 00:18:39 +02:00
Benoît Minisini
72020e39a9 GridView: Add 'Rows.Padding' and 'Columns.Padding' properties. ListBox: Add 'Grid' property.
[GB.GUI.BASE]
* NEW: GridView: Add 'GridView.Columns.Padding' property for an additional cell horizontal padding.
* NEW: GridView: Add 'GridView.Rows.Padding' property for an additional cell vertical padding.
* NEW: ListBox: Add a 'Grid' property, that adds a grid and some padding inside cells when set.
2022-08-26 00:11:14 +02:00
Benoît Minisini
e2e2b55f68 DataView: Custom column alignment is taken into account now.
[GB.DB.FORM]
* BUG: DataView: Make blob editor fully translated.
* NEW: DataView: Custom column alignment is taken into account now.
* NEW: Update French translation.
2022-08-26 00:07:33 +02:00
Benoît Minisini
7386fe5a2c Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.
[GB.GTK]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.

[GB.GTK3]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.

[GB.QT4]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.

[GB.QT5]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.
2022-08-25 23:57:40 +02:00
Benoît Minisini
93764b1c37 Add 'ALIGN_MAKE()' macro in 'gb.geom.h'.
[GB.GEOM]
* NEW: Add 'ALIGN_MAKE()' macro in 'gb.geom.h'.
2022-08-25 23:56:54 +02:00
Benoît Minisini
f079b088de Top-level window background color is correctly taken into account again.
[GB.GTK3]
* BUG: Top-level window background color is correctly taken into account again.
2022-08-25 18:09:32 +02:00
Benoît Minisini
ada033d6dd Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
[GB.GUI.BASE]
* BUG: Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
2022-08-25 17:11:52 +02:00
Benoît Minisini
0d9cd6de98 Merge branch 'master' of gitlab.com:gambas/gambas 2022-08-22 14:29:46 +02:00
Benoît Minisini
dae0a9abe6 Text & code editor: Call the TextEditor.Reset() method when loading the contents, not to raise the Change event.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text & code editor: Call the TextEditor.Reset() method when loading the contents, not to raise the Change event.
2022-08-22 14:29:35 +02:00
Benoît Minisini
d1fabcfe38 TextEditor: Raise the 'Change' event when setting the 'Text' property.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when setting the 'Text' property.
2022-08-22 14:28:21 +02:00
Benoît Minisini
f7c7924b6b Merge branch 'bsteers4-master-patch-11819' into 'master'
Update .gitignore, omit m4/pkg.m4 from git

See merge request gambas/gambas!279
2022-08-21 19:11:05 +00:00