Commit graph

10642 commits

Author SHA1 Message Date
Benoît Minisini
c5e9a57f0a Fix 'Change' event in WebTextBox and WebTextArea.
[GB.WEB.GUI]
* BUG: WebTextBox: 'Change' event works again.
* BUG: WebTextArea: 'Change' event works again.
2022-10-05 20:58:33 +02:00
Benoît Minisini
4e63d82a8c Send crash reports to the mailing-list only if the attachment size is not too big, otherwise use my personal new e-mail address.
[DEVELOPMENT ENVIRONMENT]
* NEW: Send crash reports to the mailing-list only if the attachment size is not too big, otherwise use my personal new e-mail address.
2022-10-05 20:43:13 +02:00
Benoît Minisini
56cc729fe0 Fix backward-compatibility with previous bytecode.
[INTERPRETER]
* BUG: Fix backward-compatibility with previous bytecode.
* OPT: Optimizations of local variables and argument assignements.
* BUG: NULL can be serialized on streams correctly now.
2022-10-04 22:49:01 +02:00
Benoît Minisini
50893e77cb Various optimizations of the interpreter execution loop.
[COMPILER]
* OPT: Support for local variable manipulation optimization.

[INTERPRETER]
* OPT: Avoid unneeded type conversion swhen manipulating local variables.
* OPT: Various optimizations of the interpreter execution loop. Apparently a smaller execution loop has a big impact on speed. I guess this is related to the size of the various CPU caches.
2022-10-04 01:04:15 +02:00
Benoît Minisini
dba45b1fed Don't use 3.18 multiply and divide optimization if current bytecode version is lower than 3.18.
[INTERPRETER]
* BUG: Don't use 3.18 multiply and divide optimization if current bytecode version is lower than 3.18.
2022-10-03 19:10:42 +02:00
Benoît Minisini
d7e373c633 Always check bytecode version when the current class changes during interpreter execution loop.
[INTERPRETER]
* BUG: Always check bytecode version when the current class changes during interpreter execution loop.
2022-10-03 13:46:20 +02:00
Benoît Minisini
f4fb59dd48 Packager: Switch Debian helper minimum version to 10.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Switch Debian helper minimum version to 10.
2022-10-02 19:03:49 +02:00
Benoît Minisini
df270cbbc0 Fix optimization of dynamic variable writing.
[INTERPRETER]
* BUG: Fix optimization of dynamic variable writing.
2022-10-01 20:04:20 +02:00
Benoît Minisini
5d1db11ab3 Fix optimization of dynamic variable reading.
[INTERPRETER]
* BUG: Fix optimization of dynamic variable reading.
2022-10-01 20:03:37 +02:00
Benoît Minisini
4b778bd2ce Fix compilation on systems that only have 'libpcre2' installed again!
[GB.PCRE]
* BUG: Fix compilation on systems that only have 'libpcre2' installed again!
2022-10-01 17:27:14 +02:00
Benoît Minisini
5498bb00b2 Fix compilation on systems that only have 'libpcre2' installed.
[GB.PCRE]
* BUG: Fix compilation on systems that only have 'libpcre2' installed.
2022-10-01 16:58:28 +02:00
Benoît Minisini
fd66b99f32 Some optimizations of the main interpreter loop.
[INTERPRETER]
* OPT: Some optimizations of the main interpreter loop.
2022-10-01 16:26:08 +02:00
Benoît Minisini
558360ab97 Fix compilation on non-C99 compiler.
[INTERPRETER]
* BUG: Fix compilation on non-C99 compiler.
2022-10-01 01:31:15 +02:00
Benoît Minisini
13aa1311d7 Optimize array access and basic arithmetic operator on integer and floats.
[INTERPRETER]
* OPT: Optimize array access and basic arithmetic operator on integer and floats.
2022-10-01 00:54:05 +02:00
Benoît Minisini
8059d45fa6 ComboBox: Fix IDE default control size.
[GB.GUI.BASE]
* BUG: ComboBox: Fix IDE default control size.
2022-09-29 01:14:45 +02:00
Benoît Minisini
edd109dc77 Packager: Fix an infinite recursion in category selection.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Fix an infinite recursion in category selection.
* BUG: Fix a possible crash triggered by version control initialization while opening another project.
2022-09-29 01:14:22 +02:00
Benoît Minisini
2962cb3f00 FontChooser: Display font preview correctly in dark mode.
[GB.FORM]
* BUG: FontChooser: Display font preview correctly in dark mode.
2022-09-29 00:06:12 +02:00
Benoît Minisini
c3f3e60069 Port Python benchmarks to Python 3.
[BENCHMARKS]
* NEW: Port Python benchmarks to Python 3.
2022-09-27 22:16:48 +02:00
Benoît Minisini
42de34d162 Print an explicit message during configuration telling if we are using 'libpcre' or 'libpcre2'.
[GB.PCRE]
* NEW: Print an explicit message during configuration telling if we are using 'libpcre' or 'libpcre2'.
2022-09-24 13:57:48 +02:00
Benoît Minisini
59051975ec Make 'gb.hash' compile on 32 bits architectures.
[GB.HASH]
* BUG: Make 'gb.hash' compile on 32 bits architectures.
2022-09-24 11:50:31 +02:00
Benoît Minisini
d664f6728a WebDrawingArea: Correctly implement the Refresh() method.
[GB.WEB.GUI]
* BUG: WebDrawingArea: Correctly implement the Refresh() method.
2022-09-24 02:27:55 +02:00
Benoît Minisini
86539be37f Fix WebTree selection, and how WebTextBox and WebTextArea changes are handled. Add server port to the session cookie.
[GB.WEB.GUI]
* BUG: Session: Add the server port to the session cookie.
* BUG: WebTree: The Clear() method correctly triggers a refresh.
* OPT: WebTree: Don't trigger useless refreshes when selection changes.
* BUG: Accumulates WebTextBox and WebTextArea changes, and send them just before the next request.
2022-09-24 02:21:34 +02:00
Benoît Minisini
ec937fcbd6 DataSource: Prevent 'Save()' method to call itself.
[GB.DB.FORM]
* BUG: DataSource: Prevent 'Save()' method to call itself.
2022-09-23 23:49:38 +02:00
Benoît Minisini
1c64c42ada Make 'gb.hash' compile on non-64 bits architectures.
[GB.HASH]
* BUG: Make 'gb.hash' compile on non-64 bits architectures.
2022-09-20 15:06:35 +02:00
Benoît Minisini
7c42524ecd Connection: It's now possible to specify the password in the connection URL.
[GB.DB]
* NEW: Connection: The URL argument of the Connection constructor is now handled by the Gambas part.
* NEW: Connection: It's now possible to specify the password in the connection URL.
2022-09-20 12:54:14 +02:00
Benoît Minisini
219507b53e Forgot to commit two source files.
[GB.HASH]
* BUG: Forgot to commit two source files.
2022-09-18 00:37:54 +02:00
Benoît Minisini
74f80c0ef9 Merge branch 'master' of gitlab.com:gambas/gambas 2022-09-17 22:51:07 +02:00
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
gambix
65a5c53ea2 [GB.REPORT2]
* BUG: Remove the use of deprecated and removed function of DocumentView
  in ReportView. The page delection is available now
2022-09-17 14:02:25 +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