- Registered copy factories were not properly identified as copy factories if the parameter used &inout instead of &in
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Making progress on support for native calling conventions on RISC-V 64bit CPUs
Fixed assert failure on passing anonymous init list to function argument expecting a handle
Fixed crash when attempting to use init list with enum type
- Added test to ensure proper behaviour if someone attempts to delete auto function in mixin
Prepared CScriptBuilder for the delete keyword on auto generated functions
It is now possible to explicitly delete auto generated constructor, copy constructor, and copy operator if they are not wanted
Fixed issue with default copy constructors and shared classes
Fixed default copy constructor when class has a registered pod value type as member
asEP_ALWAYS_IMPL_DEFAULT_CONSTRUCT, DEFAULT_COPY, and DEFAULT_COPY_CONSTRUCT can now be set to 2 to tell compiler never to implement these
Fixed an issue in arm64 logic when copying structs composed of multiple floats to registers.
asCDataType::GetSizeInMemoryBytes was not returning the correct size of handles
Changed behavior for automatically generated default copy operator and default copy constructor to be more like C++
Adding test cases
asEP_ALWAYS_IMPL_DEFAULT_COPY_CONSTRUCT can be set to false to tell compiler not to implement default copy constructor when the default destructor is auto generated
A default copy constructor is always provided for script classes unless any constructor is explicitly defined
Fixed crash if passing negative value to GetTypeInfoById
Moved the test for returning struct with all floats to the correct test file
Included the Risc-V 64bit files in the MSVC project for viewing
Added support for functions returning float and double on RISC-V 64bit
Fixed compilation errors on arm64 platforms
Fixed bug in native calling convention for arm64 with ?& arguments
Added asIScriptFunction::GetDeclaredAt
Documentation
Added support for native calling conventions on Apple OSs with M1/M2 CPUs
Updated as_config.h to recognize when native calling conventions is turned on for Risc-V 64bit CPUs.
Added files for initial support for native calling convention on Linux with Risc-V 64bit CPU
- Conv to object + const cast no longer have the same cost as conv to ?
Added auto wrappers WRAP_MFN_GLOBAL(_PR) for class methods that will be used as global functions
- A default copy opAssign method is always provided for script classes
Fixed bug in compiler that allowed passing string literal to function as non-const references with unsafe references turned on
as_config.h now has configuration to detect Linux with RISC-V 64bit CPU
Fixed problem with funtion overload between Obj@ and const Obj@
Fixed bug in IsVarInScope that wouldn't identify an object variable declared just after a } as being in scope
Fixed crash in asIScriptContext::GetArgsOnStackCount when using unsafe references
Fixed assert failure on warning in function argument with ternary operator
Fixed assert failure on invalid expression with assignment
Fixed problem with parsing non-terminated heredoc strings
Fixed compiling the library with AS_NO_CLASS_METHODS on gnuc
Fixed exception handling not restoring stack pointer in some cases, leading to buffer overflow and crashes after repetition
Fixed compiler warnings
Enabled -Wcast-qual for add-ons
Fixed compiler warnings
Fixed compiler warnings
Enabled all compiler warnings on add-ons
Fixed compiler warnings
Fixed compiler warnings
Fixed compiling the library with AS_NO_CLASS_METHODS
Improved runtime performance with gnuc or clang compilers by using computed goto extension
Minor fixes
filesystem now replaces backslashes for forward slashes in the file path
thiscall method with multiple inheritances was not working properly with composite offset
It is now possible to register factory functions receiving an auxiliary pointer with asCALL_CDECL_OBJLAST/OBJFIRST
Introduced asIJITCompilerV2 with an improved JIT compiler interface to allow better optimizations as the JIT compiler can now compile all functions together, rather than one by one as the callback is invoked.
Improved test case for current JIT compiler interface
Corrected some test cases
Improved runtime performance by reducing overhead in script function calls
Made some member properties public to allow external code to access them without having to call the methods
Added thread safety for creating the string factory singleton
Added test for switch with enum and typedefs
- Fixed the asGetTypeTraits on clang with CLANG_PRE_STANDARD
- Added configuration to support native calling conventions on Android with 64bit x86 CPU
Tagging 2.36.1
Releasing 2.36.1
documentation
documentation
Fixed specialization of templates with multiple subtypes
Fixed crash with template instance referred by other template instance being deleted prematurely
Saved bytecode didn't store the 'property' function trait
Fixed bug in compiler with compound assignment, virtual property, and unsafe references
Fixed bug when compiling with optimizations on gnuc
Minor code changes
Fixed bug in save bytecode when there were multiple variables in different scope occupying the same stack position
Fixed compiler warnings on deprecated sprintf in scriptarray and scriptstdstring with xcode
Updated CMakeList.txt to automatically build angelscript library
BindImportedFunction was not giving error when attempting to bind class method
Improved formatting of funcdef declaration when it is a child of a template
Improved error message when delegate object cannot be created
asBC_CALLBND can not be used with delegates as they cannot be bound to imported functions due to not having function ids.
Compiler now gives proper error when using temporary object for lvalue in assignment
Fixed issue in compiler with unsafe references enabled and &out parameters
Moved some constants from as_context.cpp to as_context.h
Fixed assert failure on bitwise operation with boolean value
The serializer add-on is now capable of restoring objects only referenced from handles
Fixed assert failure when explicitly casting anonymous init list to an object
Fixed name conflict error for lambdas being rebuilt multiple times with CompileFunction
Fixed bug with variables declared in for loop being seen as in-scope by debugger after the loop ended
Fixed bug with named args and construct calls
Anonymous functions can now be declared with nameless arguments
Fixed bug with use of default array on types without default constructors
Parser failed to understand lambda functions with explicit argument types with &in, &out, or &inout