gambas
0e5e63b678
'_lang' is a new static public special method that is called when 'System.Language' changes.
...
[INTERPRETER]
* NEW: '_lang' is a new static public special method that is called when
'System.Language' changes. It allows you to reload the translations of
the class.
2022-02-04 04:29:04 +01:00
gambas
9280365122
Debug.Signal() is a new method that signals a debugged gambas process with SIGUSR2 to ask him to pause.
...
[GB.DEBUG]
* NEW: Debug.Signal() is a new method that signals a debugged gambas
process with SIGUSR2 to ask him to pause.
2022-02-02 20:57:31 +01:00
gambas
c1c14d0f8a
Avoid race conditions with actual reads, when we need to PEEK all the bytes of a stream.
...
[INTERPRETER]
* BUG: If some data have been peeked on a stream, then the next reads will
only return the peeked data until they all have been exhausted, and the
Lof() function will return the number of peeked bytes yet to read.
2022-02-01 02:37:09 +01:00
gambas
691144bba9
Observer.Detach() is a new method that disconnects the observer from the observed object.
...
[INTERPRETER]
* NEW: Observer.Detach() is a new method that disconnects the observer from the observed object.
2022-02-01 02:05:19 +01:00
gambas
2a90e5f081
Fix a warning message.
...
[GB.DEBUG]
* BUG: Fix a warning message.
2022-02-01 01:22:02 +01:00
gambas
c26d257e9e
Fix a possible crash in the child process termination handler.
...
[INTERPRETER]
* BUG: Fix a possible crash in the child process termination handler.
2022-02-01 01:21:13 +01:00
gambas
f75b23a834
The NEW operator now raises an error if the class following it is unknown.
...
[COMPILER]
* BUG: The NEW operator now raises an error if the class following it is unknown.
2022-01-29 18:46:36 +01:00
gambas
fc49ac6148
Forgot to commit a file.
2022-01-14 22:02:29 +01:00
gambas
05f9f95c1a
'Timer.Ignore' is a new property that tells the interpreter not to wait for the timer's end when exiting.
...
[INTERPRETER]
* NEW: 'Timer.Ignore' is a new property that tells the interpreter not to
wait for the timer's end when exiting.
2022-01-14 21:29:55 +01:00
gambas
8ae88c2d04
Automatically disable timers when raising the 'Timer' event is impossible because the parent object is invalid.
...
[INTERPRETER]
* BUG: Automatically disable timers when raising the 'Timer' event is impossible because the parent object is invalid.
2022-01-14 19:16:11 +01:00
gambas
1cc4d42742
Add an API that returns if there is at least one active timer.
...
[INTERPRETER]
* NEW: Add an API that returns if there is at least one active timer.
2022-01-14 12:34:02 +01:00
gambas
3752a6acba
'Env.Copy()' is a new method that returns a copy of the environment as a string array.
...
[INTERPRETER]
* NEW: 'Args.Copy()' is a new method that is a synonymous of 'Args.All'.
* NEW: 'Env.Copy()' is a new method that returns a copy of the environment as a string array.
2022-01-12 22:13:02 +01:00
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