gambas
4cd61da44e
Fix Component.Version for libraries.
...
[INTERPRETER]
* BUG: Fix Component.Version for libraries.
2022-01-12 13:21:41 +01:00
gambas
135e54e7ab
A task does not close its standard outputs anymore when its 'Read' or 'Error' events are not handled.
...
[INTERPRETER]
* NEW: A task does not close its standard outputs anymore when its 'Read' or 'Error' events are not handled.
2022-01-07 12:41:34 +01:00
gambas
52c5823669
Fix compilation of 'share/gb_system_temp.h' on non-Linux/BSD systems.
...
[INTERPRETER]
* BUG: Fix compilation of 'share/gb_system_temp.h' on non-Linux/BSD systems.
2022-01-07 11:38:46 +01:00
gambas
558f05fe21
Fix array and allocation management, so that allocating a byte array with a number of elements near the greatest integer does not crash anymore.
...
[INTERPRETER]
* BUG: Fix array and allocation management, so that allocating a byte array with a number of elements near the greatest integer does not crash anymore.
2021-12-09 23:50:41 +01:00
gambas
82301c82f9
Subroutine arguments that expect an Integer value now accept a Long without raising a type mismatch error.
...
[INTERPRETER]
* BUG: Subroutine arguments that expect an Integer value now accept a Long without raising a type mismatch error.
2021-12-09 02:18:12 +01:00
Benoît Minisini
f3ec57aa2b
Merge branch 'master' into 'master'
...
Call get_nprocs on Cygwin like on Linux
See merge request gambas/gambas!249
2021-12-06 17:29:39 +00:00
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
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
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
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
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
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
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
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
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
gambas
bfddf7d407
HtmlView: The control can get focus now, and react to arrow keys.
...
[GB.FORM.HTMLVIEW]
* NEW: HtmlView: The control can get focus now, and react to arrow keys.
* NEW: HtmlView: Fix litehtml instead of patching it for string and conversion functions that must ignore the current locale.
2021-10-30 22:22:47 +02:00
gambas
1ceadb3c28
'String.Capitalize()' is now a synonymous and better name for 'String.UCaseFirst()'.
...
[INTERPRETER]
* NEW: 'String.Capitalize()' is now a synonymous and better name for 'String.UCaseFirst()'.
2021-10-30 20:39:28 +02:00
gambas
d8a203f83a
HtmlView: The control is now usable.
...
[GB.FORM.HTMLVIEW]
* NEW: HtmlView: The control is now usable.
2021-10-30 20:37:44 +02:00
gambas
fa3921b056
Work continues...
...
[GB.FORM.HTMLVIEW]
* NEW: Work continues...
2021-10-30 02:15:43 +02:00
gambas
ed430b5656
Try to fix compilation.
...
[GB.FORM.HTMLVIEW]
* BUG: Try to fix compilation.
2021-10-29 03:33:44 +02:00
gambas
894e73d1c6
Work continues on the new HtmlView control.
...
[GB.FORM.HTMLVIEW]
* NEW: Work continues on the new HtmlView control.
2021-10-29 02:51:00 +02:00
gambas
c2052e42f3
Add two API for translating and scaling the current painter.
...
[GB.DRAW]
* NEW: Add two API for translating and scaling the current painter.
2021-10-29 02:49:34 +02:00
gambas
fe27af0ddb
Add an API to set the current paint background color.
...
[GB.DRAW]
* NEW: Add an API to set the current paint background color.
2021-10-28 03:29:13 +02:00
gambas
57916c60c3
Use '-std=c99' for compilation of 'gumbo'.
...
[GB.FORM.HTMLVIEW]
* BUG: Use '-std=c99' for compilation of 'gumbo'.
2021-10-28 03:07:33 +02:00
gambas
58f47d68ad
Use the C compiler for compiling 'gumbo'.
...
[GB.FORM.HTMLVIEW]
* BUG: Use the C compiler for compiling 'gumbo'.
2021-10-28 02:26:36 +02:00
gambas
5c8b49b601
Add gcc flag for c++11 standard.
...
[GB.FORM.HTMLVIEW]
* BUG: Add gcc flag for c++11 standard.
2021-10-28 02:08:31 +02:00
gambas
f5db84f9a2
Integrate 'gumbo' library inside the component.
...
[GB.FORM.HTMLVIEW]
* NEW: Integrate 'gumbo' library inside the component, so that the component has no depency anymore and compile on all systems.
Consequently, the component source code moved to the '/main/lib' directory.
2021-10-28 01:27:55 +02:00
gambas
c1d255d35c
Fix signature of GB.GetProperty() API.
...
[INTERPRETER]
* BUG: Fix signature of GB.GetProperty() API.
2021-10-27 18:39:30 +02:00
gambas
fdc47c8744
Some debugger fixes.
...
[GB.DEBUG]
* BUG: Fix debugger fifo opening process.
* BUG: The result of an evaluated expression is not truncated anymore.
2021-10-25 02:57:04 +02:00
gambas
4681142810
If remote debugging is activated, lock a file to tell the IDE we are alive.
...
[INTERPRETER]
* NEW: If remote debugging is activated, lock a file to tell the IDE we are alive.
2021-10-21 01:02:07 +02:00
gambas
e138b8f0e5
'EXEC / SHELL ... TO ... WITH ERROR' is a new syntax that redirects both the standard output and the standard error of a process to a string.
...
[COMPILER]
* NEW: 'EXEC / SHELL ... TO ... WITH ERROR' is a new syntax that redirects
both the standard output and the standard error of a process to a string.
The support for that feature was already present inside the interpreter!
2021-10-20 17:39:52 +02:00
gambas
438deab9da
The '!' command does not write on the standard output anymore, but now works like the '?' command.
...
[GB.DEBUG]
* NEW: The '!' command does not write on the standard output anymore, but now works like the '?' command.
2021-10-20 14:17:22 +02:00
gambas
85cbb94625
Support for debugging a process not run by the IDE.
...
[INTERPRETER]
* NEW: Support for "remote" debugging, i.e. debugging a process not run by the IDE.
It is activated by the existence of a symbolic link named '/tmp/gambas-<project name>.debug'
pointing at the IDE temporary directory. The symbolic link is destroyed by the debuggee, so that
no other process of the same project can use it.
* BUG: Remove support of two deprecated parameters in '.startup' file.
* NEW: The internal common string buffer size is now equal to 'PATH_MAX'.
[GB.DEBUG]
* NEW: Support for "remote" debugging.
* OPT: The debugger process now opens the output fifo in blocking mode when needed, and the
debugged process opens the output fifo for reading when needed too.
2021-10-20 02:28:22 +02:00
gambas
165e680dce
Fix generation of floating point constants whose value is an integer.
...
[COMPILER]
* BUG: Fix generation of floating point constants whose value is an integer.
* BUG: Fix a possible memory corruption after the end of the compilation of the first class.
2021-10-17 01:08:30 +02:00
gambas
bc806a189b
The parser now does not store integer numbers in its global symbol table anymore. Compile is now about 5% faster.
...
[COMPILER]
* OPT: The parser now does not store integer numbers in its global symbol table anymore.
* OPT: Some other little optimizations here and here. The compiler is now about 5% faster.
[ARCHIVER]
* NEW: Compile with '-O3' optimization flag.
[INFORMER]
* NEW: Compile with '-O3' optimization flag.
[GB.EVAL]
* OPT: The parser now does not store integer numbers in its global symbol table anymore.
2021-10-14 03:01:14 +02:00
gambas
d651287c43
Now integer constants can be simple integer expressions in array, constant and enumeration declarations.
...
[COMPILER]
* NEW: Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators.
* NEW: Now integer constants can be simple integer expressions in array, constant and enumeration declarations.
[GB.EVAL]
* BUG: Fix a compiler warning.
2021-10-12 13:33:45 +02:00
gambas
95e6d4a9bb
Collection.Keys is a new property that returns a string array of all collection keys.
...
[INTERPRETER]
* NEW: Collection.Keys is a new property that returns a string array of all collection keys.
2021-10-08 14:29:51 +02:00
gambas
4729b9e60b
JIT implementation of Left$(), Mid$() and Right$(). They are now twice faster.
...
[GB.JIT]
* NEW: JIT implementation of Left$(), Mid$() and Right$(). They are now twice faster.
2021-09-18 23:41:47 +02:00
gambas
34b543e555
Standard stream objects (File.In, File.Out, File.Err) are now created on demand.
...
[INTERPRETER]
* NEW: Standard stream objects (File.In, File.Out, File.Err) are now created on demand.
2021-09-18 14:50:39 +02:00
gambas
a62007de37
Class overriding is not retroactive anymore when the class already has instances.
...
[INTERPRETER]
* BUG: Class overriding is not retroactive anymore when the class already has instances.
* NEW: In tracing mode, indent the interpreter output according to the current stack depth.
2021-09-18 01:09:05 +02:00
Bastian Germann
695c24646f
Call get_nprocs on Cygwin like on Linux
2021-09-15 16:15:19 +02:00
gambas
8ee4db628d
Buffered streams read and write methods now correctly handle errors.
...
[INTERPRETER]
* BUG: Buffered streams read and write methods now correctly handle errors.
2021-09-13 19:52:24 +02:00
gambas
ea04ca6e6a
Rollback the previous commit, it breaks too many things.
...
[INTERPRETER]
* BUG: Rollback the previous commit, it breaks too many things.
2021-08-30 02:05:38 +02:00
gambas
742b65afc7
Locked objects now can receive events. Beware, this a test, as that change is not backward-compatible!
...
[INTERPRETER]
* NEW: Locked objects now can receive events. Beware, this a test, as that change is not backward-compatible!
2021-08-30 02:02:18 +02:00
gambas
3e0eb272a3
Restore the end-of-file detection for buffered streams whose read ahead is allowed.
...
[INTERPRETER]
* BUG: Standard input does not use read ahead anymore in all cases.
* BUG: Restore the end-of-file detection for buffered streams whose read ahead is allowed.
2021-08-11 22:57:15 +02:00
gambas
10c2829207
Now only standard input, output, error, pipes and process streams are automatically unwatched.
...
[INTERPRETER]
* BUG: Now only standard input, output, error, pipes and process streams are automatically unwatched.
2021-08-10 18:23:18 +02:00
gambas
3f5234be7e
Read watches are not automatically disabled anymore for non-regular files.
...
[INTERPRETER]
* NEW: Read watches are not automatically disabled anymore for non-regular files.
2021-08-10 07:27:21 +02:00