gambas
fd7160b617
Allow ON ... GOTO / GOSUB to span on multiple lines.
...
[COMPILER]
* NEW: Allow ON ... GOTO / GOSUB to span on multiple lines.
2021-03-06 13:17:35 +01:00
gambas
d68c687b4e
Fix a crash when GB.ReturnNewString() is used with a zero length.
...
[INTERPRETER]
* BUG: Fix a crash when GB.ReturnNewString() is used with a zero length.
2021-02-23 18:54:34 +01:00
gambas
ffe6133fd7
Still fixing Gambas highlighting of space characters.
...
[GB.EVAL]
* BUG: Still fixing Gambas highlighting of space characters.
2021-02-15 19:26:29 +01:00
gambas
8360ee65eb
Fix space characters highlighting again.
...
[GB.EVAL]
* BUG: Fix space characters highlighting again.
2021-02-15 16:15:18 +01:00
gambas
69623f1eea
Fix how highlighting deals with spaces.
...
[GB.EVAL]
* BUG: Fix how highlighting deals with spaces.
2021-02-15 03:20:41 +01:00
gambas
1609a6c60a
Fix automatic conversion of multi-dimensional arrays.
...
[INTERPRETER]
* BUG: Fix automatic conversion of multi-dimensional arrays.
2021-02-10 19:20:43 +01:00
gambas
5c8f4e1b68
Really fix compilation on 32-bits systems.
...
[INTERPRETER]
* BUG: Really fix compilation on 32-bits systems.
2021-02-10 15:20:04 +01:00
gambas
8ef319b7cc
Fix string array search with special comparisons.
...
[INTERPRETER]
* BUG: Fix string array search with special comparisons.
2021-02-10 15:18:01 +01:00
gambas
072101e02a
Fix compilation on 32-bits systems.
...
[INTERPRETER]
* BUG: Fix compilation on 32-bits systems.
2021-02-10 14:48:14 +01:00
gambas
e7898916e9
Replace the Array.Sorted property by explicit FindSorted(), ExistSorted()... methods.
...
[INTERPRETER]
* BUG: Replace the Array.Sorted property by explicit FindSorted(), ExistSorted()... methods.
2021-02-09 23:36:09 +01:00
gambas
0fd80f690d
Array.Sorted is a new property that makes the Find() and Exist() methods use a binary search algorithm. In other words, it tells the interpreter that the array is sorted.
...
[INTERPRETER]
* NEW: Array.Sorted is a new property that makes the Find() and Exist() methods use a binary search algorithm. In other words, it tells the interpreter that the array is sorted.
* BUG: Object[].Find() now correctly takes the optional 'Start' argument in account.
2021-02-09 20:28:58 +01:00
gambas
95572fb040
Fix multi-dimensional arrays management.
...
[INTERPRETER]
* BUG: Fix multi-dimensional arrays management.
2021-02-09 02:19:39 +01:00
gambas
15135fe60b
Raise a memory error if the size of an array element overflows. The maximum size is now 16 MB minus one byte.
...
[INTERPRETER]
* BUG: Fix initialization of multi-dimensional array.
* NEW: Raise a memory error if the size of an array element overflows. The maximum size is now 16 MB minus one byte.
2021-02-08 22:08:15 +01:00
gambas
991695e493
Array access is now about 15% faster.
...
[INTERPRETER]
* OPT: Array access is now about 15% faster.
2021-02-08 21:45:29 +01:00
gambas
47a9a6679b
'#Include" is a new preprocessor reserved identifier. Fix preprocessor lines highlighting.
...
[COMPILER]
* NEW: '#Include" is a new preprocessor reserved identifier.
* BUG: Always raise a syntax error if a preprocessor line starts with an unknown reserved identifier.
[GB.EVAL]
* BUG: Fix preprocessor lines highlighting.
2021-02-06 17:47:32 +01:00
gambas
ab74b3195d
Stop watching debugger file descriptor as soon as there is a read error.
...
[GB.DEBUG]
* BUG: Stop watching debugger file descriptor as soon as there is a read error.
2021-02-06 17:05:03 +01:00
gambas
a22fb26f0f
Enumerating subcollection now silently ignores elements that do not exist anymore, instead of raising an error.
...
[GB.DB]
* NEW: Enumerating subcollection now silently ignores elements that do not exist anymore, instead of raising an error.
2021-02-06 04:04:42 +01:00
gambas
7bcdef0ad5
Do not crash when using '("")' as value for a string constant.
...
[COMPILER]
* BUG: Do not crash when using '("")' as value for a string constant.
* NEW: Better support for background jobs crashes.
2021-02-04 04:04:23 +01:00
gambas
86981a3c2c
Change the internal signature of the implementation of the class "fast methods".
...
[INTERPRETER]
* NEW: Change the internal signature of the implementation of the class "fast methods".
2021-02-03 18:56:34 +01:00
gambas
c0167ec949
Fix parser on multi-line text.
...
[GB.EVAL]
* BUG: Fix parser on multi-line text.
2021-02-03 18:29:55 +01:00
gambas
74f6f1e781
Wait for remaining background jobs after a compilation error has been reported.
...
[COMPILER]
* BUG: Wait for remaining background jobs after a compilation error has been reported.
2021-02-02 23:46:00 +01:00
gambas
ee50e97948
If the "class" word follows the "End" keyword, it is recognized as a keyword.
...
[COMPILER]
* NEW: If the "class" word follows the "End" keyword, it is recognized as a keyword.
[GB.EVAL]
* NEW: If the "class" word follows the "End" keyword, it is recognized as a keyword.
2021-02-01 04:04:46 +01:00
gambas
84c5ac08dd
By default, the number of jobs is the number of cores plus one.
...
[COMPILER]
* NEW: By default, the number of jobs is the number of cores plus one.
* NEW: -j0 option means the number of cores plus one.
2021-02-01 04:04:08 +01:00
gambas
1249ebd2f9
System.Cores is a new property that returns the number of cores.
...
[COMPILER]
* NEW: By default, the compiler now use a number of background tasks equal to the number of cores.
[INTERPRETER]
* NEW: System.Cores is a new property that returns the number of cores.
2021-02-01 01:21:08 +01:00
gambas
85fad8f9da
The compile now creates its own process group, so that background tasks can join it when everything is run from a shell.
...
[COMPILER]
* BUG: The compile now creates its own process group, so that background tasks can join it when everything is run from a shell.
2021-01-30 15:25:08 +01:00
gambas
f7c783f536
Add a '-j' option to run multiple jobs in background to speed-up compilation.
...
[COMPILER]
* OPT: Add a '-j' option to run multiple jobs in background to speed-up compilation.
2021-01-30 14:06:09 +01:00
gambas
ec328f8d95
Remove trailing separators from 'gb.LongDate' date format.
...
[INTERPRETER]
* BUG: Remove trailing separators from 'gb.LongDate' date format.
2021-01-29 15:35:08 +01:00
gambas
f588c83fda
PictureBox now uses the new UserControl Draw pseudo-event and Frame container in now implemented in Gambas.
...
[GB.DRAW]
* NEW: Add PaintExtents W and H properties as synonymous of Width and Height.
[GB.GUI.BASE]
* NEW: PictureBox now uses the new UserControl Draw pseudo-event.
* NEW: Frame container in now implemented in Gambas.
[GB.GTK]
* NEW: Frame container in now implemented in Gambas.
* BUG: Style drawing routines now work correctly on UserControl.
[GB.GTK3]
* NEW: Frame container in now implemented in Gambas.
[GB.QT4]
* NEW: Frame container in now implemented in Gambas.
[GB.QT5]
* NEW: Frame container in now implemented in Gambas.
* BUG: Do not activate windows on Wayland, this is not supported.
2021-01-23 23:30:36 +01:00
gambas
91cf8ef35e
Min() and Max() are now faster.
...
[INTERPRETER]
* OPT: Min() and Max() are now faster.
2021-01-21 14:33:49 +01:00
gambas
1e22281d4d
Add GB.String.Split() API. GB.Array.Get() does not check array bounds anymore.
...
[INTERPRETER]
* NEW: Add GB.String.Split() API.
* OPT: GB.Array.Get() does not check array bounds anymore.
2021-01-21 02:32:06 +01:00
gambas
1c3e02257c
Signal handlers are now checked only if requested explicitly by a component.
...
[INTERPRETER]
* OPT: Signal handlers are now checked only if requested explicitly by a component.
[GB.GTK]
* NEW: Request SIGCHLD handler check.
[GB.GTK3]
* NEW: Request SIGCHLD handler check.
2021-01-21 01:49:38 +01:00
gambas
1e7ea9f50c
Check SIGCHLD signal handler at each event loop.
...
[INTERPRETER]
* BUG: Check SIGCHLD signal handler at each event loop.
2021-01-18 21:40:48 +01:00
gambas
6bec59fc15
File.DefaultDirAuth is a new property that defines the default authorizations used when using MkDir.
...
[INTERPRETER]
* NEW: File.DefaultDirAuth is a new property that defines the default authorizations used when using MkDir.
2021-01-14 01:09:30 +01:00
gambas
a514b8a676
Fix error message choice.
...
[GB.GUI.QT.OPENGL]
* BUG: Fix error message choice.
[GB.GUI.QT.WEBKIT]
* BUG: Fix error message choice.
[GB.GUI.WEBVIEW]
* BUG: Fix error message choice.
2021-01-04 13:14:30 +01:00
gambas
197adab0b5
Fix uninstallation of gambas icons.
...
[CONFIGURATION]
* BUG: Fix uninstallation of gambas icons.
2021-01-03 18:35:22 +01:00
gambas
9ed2dab99e
Fix thousand separators and Date values with no date formatting.
...
[INTERPRETER]
* BUG: Use the correct thousand separators.
* BUG: Val() correctly formats Date values with no date again, using 'gb.LongTime' format.
2021-01-02 22:31:03 +01:00
gambas
d94f117e7b
Better workaround of libraries that incorrectly override SIGCHLD handler like 'glib'.
...
[INTERPRETER]
* BUG: Better workaround of libraries that incorrectly override SIGCHLD handler like 'glib'.
2020-12-28 02:45:56 +01:00
gambas
67631903cb
Do not crash if '$XDG_CURRENT_DESKTOP' is not defined.
...
[GB.GUI]
* BUG: Do not crash if '$XDG_CURRENT_DESKTOP' is not defined.
[GB.GUI.QT]
* BUG: Do not crash if '$XDG_CURRENT_DESKTOP' is not defined.
2020-12-26 22:44:57 +01:00
gambas
05e27f506b
Use "$XDG_CURRENT_DESKTOP" before "$KDE_FULL_SESSION" to know if we are running KDE.
...
[GB.GUI]
* BUG: Use "$XDG_CURRENT_DESKTOP" before "$KDE_FULL_SESSION" to know if we are running KDE.
[GB.GUI.QT]
* BUG: Use "$XDG_CURRENT_DESKTOP" before "$KDE_FULL_SESSION" to know if we are running KDE.
2020-12-21 17:45:26 +01:00
gambas
26024e57bd
Stat().Device is a new property that return the device containing the file as a string.
...
[INTERPRETER]
* NEW: Stat().Device is a new property that return the device containing the file as a string.
2020-12-19 17:37:31 +01:00
gambas
73511577bd
'Format(0, "#")' now returns "0" and not a void string anymore.
...
[INTERPRETER]
* BUG: 'Format(0, "#")' now returns "0" and not a void string anymore.
2020-12-19 13:52:57 +01:00
gambas
e0ee49d296
Fix the standard date format, to ensure that 'IsDate(Str(Now))' is always TRUE.
...
[INTERPRETER]
* BUG: Fix the standard date format, to ensure that 'IsDate(Str(Now))' is always TRUE.
2020-12-15 17:19:38 +01:00
gambas
c316cbaaf1
Forgot to free the new date standard format string when it is not needed anymore.
...
[INTERPRETER]
* BUG: Forgot to free the new date standard format string when it is not needed anymore.
2020-12-12 20:10:15 +01:00
gambas
93659c3f7e
Str() on dates now return something valid for Val() and IsDate().
...
[INTERPRETER]
* NEW: Formatting a date with 'gb.Standard' now uses 'gb.MediumDate' concatenated to 'gb.MediumTime', as 'gb.GeneralDate' now is a different format.
* BUG: Str() now uses gb.Standard to format dates, so that Val() and IsDate() can understand them.
2020-12-12 17:36:00 +01:00
gambas
17144658f2
Only keep the 'gb.component' file for the native component and remove 'gb.so' and 'gb.la'.
...
[CONFIGURATION]
* NEW: Only keep the 'gb.component' file for the native component and remove 'gb.so' and 'gb.la'.
2020-11-28 00:46:57 +01:00
gambas
b62f461c49
Running the informer for all components will not analyze the 'gb' component.
...
[INFORMER]
* NEW: Running the informer for all components will not analyze the 'gb' component. The metadata of 'gb' must be generated explicitly.
2020-11-28 00:40:52 +01:00
gambas
2c173c0a2d
Correctly remove 'gb.component' file from installation once the metadata has been generated.
...
[CONFIGURATION]
* BUG: Correctly remove 'gb.component' file from installation once the metadata has been generated.
2020-11-27 20:33:15 +01:00
gambas
38604fd11b
Stop stack unfolding on exception only up to an event raise now.
...
[INTERPRETER]
* NEW: Stop stack unfolding on exception only up to an event raise now.
2020-11-27 02:24:33 +01:00
gambas
62c9205762
Rework the way standard date formats are built from strftime().
...
[INTERPRETER]
* NEW: Rework the way standard date formats are built from strftime().
* NEW: System.GetFormat() is a new method that returns the format string associated by a predefined format constant.
2020-11-26 03:49:45 +01:00
gambas
0c3c62f7d5
Fix a local variable datatype.
...
[INTERPRETER]
* BUG: Fix a local variable datatype.
2020-11-24 21:45:38 +01:00