Commit graph

10669 commits

Author SHA1 Message Date
Benoît Minisini
795cd79f61 WebTree: Item 'Selected' property does not crash anymore.
[GB.WEB.GUI]
* BUG: WebTree: Item 'Selected' property does not crash anymore.
2022-11-12 10:52:23 +01:00
Benoît Minisini
53579f57d6 Always open the project executable configuration if the executable file does not exist on disk.
[DEVELOPMENT ENVIRONMENT]
* NEW: Always open the project executable configuration if the executable file does not exist on disk.
2022-11-08 22:42:04 +01:00
Benoît Minisini
c2a14230ed Version control: check more editors for filling the EDITOR environment variable.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: check more editors for filling the EDITOR environment variable.
2022-11-05 11:56:10 +01:00
Benoît Minisini
f877f08906 Add a menu entry and a button to compile and create the executable without opening the executable configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu entry and a button to compile and create the executable without opening the executable configuration dialog.
* NEW: Rework organization of the 'Project' menu.
2022-11-03 13:50:57 +01:00
Benoît Minisini
8803a2a3b7 Support for partitioned tables.
[GB.DB.POSTGRESQL]
* NEW: Support for partitioned tables.
2022-11-03 12:36:54 +01:00
Benoît Minisini
53cc9d42f1 Request.Language now correctly ignores the encoding part of the current system language.
[GB.WEB]
* BUG: Request.Language now correctly ignores the encoding part of the current system language.
2022-10-30 20:25:18 +01:00
Benoît Minisini
e59da7c0cc Update 'download' and 'upload' icons.
[GB.FORM.STOCK]
* NEW: Update 'download' and 'upload' icons.
2022-10-29 17:18:27 +02:00
Benoît Minisini
dea63d34c0 Code editor: Fix a possible crash in automatic completion of event handlers.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix a possible crash in automatic completion of event handlers.
2022-10-29 17:12:00 +02:00
Benoît Minisini
c734ead9c1 WebTree: In single selection mode, you can't unselect the selected item with the mouse anymore.
[GB.WEB.GUI]
* BUG: WebTree: In single selection mode, you can't unselect the selected item with the mouse anymore.
* BUG: WebTree: Settings the Mode property correctly update the control.
2022-10-29 16:52:41 +02:00
Benoît Minisini
4202851f8a BUG: Debugger: Allows internal browser to access clipboard from javascript code.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Allows internal browser to access clipboard from javascript code.
2022-10-28 21:55:54 +02:00
Benoît Minisini
7fa5fb5947 Help browser: Fix links to project classes and symbol documentation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix links to project classes and symbol documentation.
2022-10-28 21:16:23 +02:00
Benoît Minisini
a9d1896a6d Help browser: Some online help browser fixes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix the online help browser settings management.
* BUG: Help browser: Links to a class or a symbol of the current project now do not open in a new window anymore.
2022-10-27 15:07:45 +02:00
Benoît Minisini
30d5a5d604 WebView: Settings property is now actually specific to the view.
[GB.QT5.WEBVIEW]
* BUG: WebView: Settings property is now actually specific to the view.
2022-10-27 15:05:24 +02:00
Benoît Minisini
9dbebf8d33 Start to fix and enhance automatic project documentation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Start to fix and enhance automatic project documentation.
2022-10-26 17:58:28 +02:00
Benoît Minisini
7a0841fd21 Packager: Correctly ignore all components provided by the runtime when generating dependencies.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Use the 'https' URL for the Gambas web site.
* BUG: Packager: Correctly ignore all components provided by the runtime when generating dependencies.
2022-10-25 23:42:54 +02:00
Benoît Minisini
cff3487f96 WebView: 'Language' is a new property that allows to define the HTTP 'Accept-Language' headers. By default the current language is used.
[GB.GTK3.WEBVIEW]
* NEW: WebView: 'Language' is a new property that allows to define the HTTP 'Accept-Language' headers. By default the current language is used.

[GB.QT4.WEBVIEW]
* NEW: WebView: Add the 'Language' property, but it has no effect on Qt4.

[GB.QT5.WEBVIEW]
* NEW: WebView: 'Language' is a new property that allows to define the HTTP 'Accept-Language' headers. By default the current language is used.
2022-10-18 22:43:37 +02:00
Benoît Minisini
3d628e41b3 Fix JIT compilation of extern function calls.
[INTERPRETER]
* NEW: Add an API for the JIT compiler that retrieves the address of an object or a class for external functions.

[GB.JIT]
* BUG: Fix JIT compilation of extern function calls.
2022-10-17 23:30:21 +02:00
Benoît Minisini
f528f4d4ca Fix JIT compilation of class inheriting from another class and Left$(), Right$() and Mid$() routines.
[INTERPRETER]
* BUG: Fix JIT compilation of class inheriting from another class.

[GB.JIT]
* BUG: Fix compilation of Left$(), Right$() and Mid$() routines.
2022-10-15 19:30:03 +02:00
Benoît Minisini
7f16b68f0e The cookie name now depends on the application name, so that you can run different applications on the same server.
[GB.WEB.GUI]
* BUG: The cookie name now depends on the application name, so that you can run different applications on the same server.
2022-10-14 14:20:03 +02:00
Benoît Minisini
a82b8b65b9 GridView: Start scroll timer immediately.
[GB.GUI.BASE]
* BUG: GridView: Start scroll timer immediately.
2022-10-12 00:04:11 +02:00
Benoît Minisini
a08d60a2b1 Ignore spurious duplicated mouse move events.
[GB.QT4]
* BUG: Ignore spurious duplicated mouse move events.

[GB.QT5]
* BUG: Ignore spurious duplicated mouse move events.
2022-10-10 01:01:17 +02:00
Benoît Minisini
dc2d102a95 Move some code outside of 'gbx_exec_loop.c' source file.
[INTERPRETER]
* OPT: Move some code outside of 'gbx_exec_loop.c' source file. Apparently if the result of the compilation of this source file is too big, the interpreter can be about 150% slower.
2022-10-08 22:39:44 +02:00
Benoît Minisini
09adb643df Bool@(), Byte@()... functions can be the target of an affectation now.
[INTERPRETER]
* NEW: Bool@(), Byte@()... functions can be the target of an affectation now.

[COMPILER]
* NEW: Bool@(), Byte@()... functions can be the target of an affectation now.

[GB.JIT]
* NEW: Bool@(), Byte@()... functions can be the target of an affectation now.
2022-10-08 10:26:50 +02:00
Benoît Minisini
2fabb443ac Make 'Makefile' more silent.
[CONFIGURATION]
* NEW: Make 'Makefile' more silent.
2022-10-08 10:21:21 +02:00
Benoît Minisini
f99c9cbfc9 Default language of newly created project is the current system language now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Default language of newly created project is the current system language now.
2022-10-07 20:52:08 +02:00
Benoît Minisini
1004b39078 Optimization of small integer floating point constants.
[COMPILER]
* OPT: Optimization of small integer floating point constants.

[INTEGER]
* OPT: Optimization of small integer floating point constants.

[GB.JIT]
* OPT: Optimization of small integer floating point constants.
2022-10-07 13:10:22 +02:00
Benoît Minisini
f749ce2030 Save 'errno' before running the debugger, and restore it after.
[GB.DEBUG]
* BUG: Save 'errno' before running the debugger, and restore it after.
2022-10-06 17:45:06 +02:00
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