gambas
8668ed5a69
GB.Call() API now works correctly again when calling static methods.
...
[INTERPRETER]
* NEW: Task.Kill() method is now a synonymous of Task.Stop().
* BUG: GB.Call() API now works correctly again when calling static methods.
2021-03-09 23:01:22 +01:00
gambas
8e2879f269
Class that inherits an array class now inherits its internal array flag too.
...
[INTERPRETER]
* BUG: Class that inherits an array class now inherits its internal array flag too.
2021-03-08 16:19:12 +01:00
gambas
d5c59c123c
Change the GB_FUNCTION structure so that it stores the index of the method instead of its description pointer.
...
[INTERPRETER]
* NEW: Change the GB_FUNCTION structure so that it stores the index of the method instead of its description pointer.
[GB.DATA]
* OPT: The new GB_FUNCTION structure allows to reduce the size of the GRAPH_DESC structure.
2021-03-07 23:51:12 +01:00
gambas
1662aec5f2
Add an API to set the read-only flag of an array.
...
[INTERPRETER]
* NEW: Add an API to set the read-only flag of an array.
2021-03-06 13:17:35 +01:00
gambas
5e6644409e
Timers are not inherited anymore by background tasks.
...
[INTERPRETER]
* NEW: Timers are not inherited anymore by background tasks. They are actually inherited, but immediately disabled the first time they trigger inside the background task.
2021-03-06 13:17:35 +01:00
gambas
e23fca2ecc
The enumerator object now can register a free function that is called when the enumeration ends or is aborted.
...
[INTERPRETER]
* NEW: The enumerator object now can register a free function that is called when the enumeration ends or is aborted.
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
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
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
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
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
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
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
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
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
gambas
ae5da87640
Fixes in date/time management.
...
[INTERPRETER]
* BUG: Fix local date/time to string conversion.
* BUG: Fix computing of default date/time formats.
2020-11-23 04:31:17 +01:00
gambas
215cd6f54a
Fix default time formats.
...
[INTERPRETER]
* BUG: Fix default time formats.
2020-11-23 01:26:56 +01:00
gambas
6b26a77adb
Rework and simplify internal date/time formatting routine.
...
[INTERPRETER]
* NEW: Rework and simplify internal date/time formatting routine.
2020-11-22 01:20:47 +01:00
gambas
dd03fd0b31
Some fixes to the string to date conversion routine for unicode separators.
...
[INTERPRETER]
* BUG: Some fixes to the string to date conversion routine for unicode separators.
2020-11-18 21:00:43 +01:00
gambas
c1222b902c
Fix date formatting with unicode date separators.
...
[INTERPRETER]
* BUG: Fix date formatting with unicode date separators.
2020-11-18 03:36:37 +01:00
gambas
bdd1b9e5ad
Some fixes in date format management.
...
[INTERPRETER]
* BUG: Fix separator tail detection in date formats.
* BUG: Do not print two identical successive date separators.
2020-11-18 02:48:37 +01:00
gambas
f25d7b517b
Date format with distinct separators and tail separators (like the Chinese date format) are now correctly supported.
...
[INTERPRETER]
* BUG: Date format with distinct separators and tail separators (like the Chinese date format) are now correctly supported.
2020-11-17 03:33:50 +01:00
gambas
3ad3e9a42d
Errors cannot be propagated outside of an event handler.
...
[INTERPRETER]
* NEW: GB.IsLocked() is a new API that tells if an object is locked.
* NEW: GB.IsRaiseLocked() is a new API that tells if raising an event is useless because no observer will receive it.
* BUG: Errors cannot be propagated outside of an event handler, because the event may result from a library signal that do not support exceptions (like the glib library).
2020-11-14 03:33:12 +01:00
gambas
2ca5bdd574
The debugger now correctly saves and prints the current error message.
...
[INTERPRETER]
* NEW: Add a debug API that returns the current error message, and remove the API that printed it.
[GB.DEBUG]
* BUG: The debugger now correctly saves and prints the current error message.
2020-11-11 03:32:03 +01:00
gambas
cb531a5b21
Add 'gb.Input' and 'gb.Output' constants.
...
[INTERPRETER]
* NEW: Add 'gb.Input' and 'gb.Output' constants.
2020-11-09 17:41:27 +01:00
gambas
1239f45687
Redesign internal file constants.
...
[INTERPRETER]
* NEW: Redesign internal file constants.
* BUG: Opening a file for creation in direct mode now implies the write flag.
2020-11-09 17:38:28 +01:00
gambas
6586e7d7cc
Add a '-a' option that allows to override the program path (i.e. Application.Path and Args[0]).
...
[INTERPRETER]
* NEW: Add a '-a' option that allows to override the program path (i.e. Application.Path and Args[0]).
2020-11-02 22:09:35 +01:00
gambas
cd786d0429
Fix signal handler overriding management.
...
[INTERPRETER]
* BUG: Fix signal handler overriding management.
2020-10-21 23:31:02 +02:00
gambas
7b37117b9d
Fix Variant arrays sort when a mode is specified.
...
[INTERPRETER]
* BUG: Fix Variant arrays sort when a mode is specified.
2020-10-07 01:32:44 +02:00
gambas
9df7f50047
Child processes do not inherit locks anymore. Workaround libraries that override SIGCHLD handler.
...
[INTERPRETER]
* BUG: Child processes do not inherit locks anymore.
* BUG: Workaround libraries like 'glib' that override SIGCHLD handler by checking and reinstalling it at each process run.
2020-10-06 16:40:58 +02:00
gambas
f2f9623c14
Correctly catch errors raised inside event handlers in all cases.
...
[INTERPRETER]
* BUG: Correctly catch errors raised inside event handlers in all cases.
2020-09-27 01:14:54 +02:00