Fixed crash due to aggressive bytecode optimization with ternary operator that set global variables in the result
Fixed AS_NO_COMPILER mode
Documentation
Fixed crash with ternary operator yielding reference to object handle and passed to function argument
Documentation
Fixed use of auto in foreach loop which should use handle if possible
Fixed premature release of class factory when discarding a module with a shared class declared within a namespace
Documentation
Documentation
Upgraded Doxygen to 1.14
Fixed C4756 warning for HUGE_VALF on MSVC
Documentation
Documentation
Documentation
Documentation
Documentation
Documentation
Documentation
Documentation
Fixed issue with returning a structure of 4 floats by value in native 32bit arm hard float calling conventions
Fixed issue with ?& arguments in native 32bit arm hard float calling conventions
Fixed some compiler issues with gnuc on Linux
Documentation
- Reverted the changes in revision 3028 and revision 3040
Fixed function overloading when there are multiple ambiguous valid options for &out parameters and also the ?&out
- Updated the minimum required version for cmake as lower versions will soon not be supported
Documentation
CScriptDictionary::opForValue1 now returns dictKey_t
Implemented an additional fix for saving/loading bytecode with calls to variadic functions
Documentation
Fixed saving/loading bytecode with calls to variadic functions
Adding tests for script socket add-on
Updated project files to include the scriptsocket add-on for testing
Documentation
Fixed issue with builder not finding the inherited class if 'using namespace' was used
- Deprecated asIScriptFunction::GetScriptSectionName, use GetDeclaredAt instead
Fixed incorrect function overload matching with &out parameters when parameter type cannot be implicitly converted to argument type
Fixed out of bounds access in GetDeclaredAt
Fixed variadic in constructor/factory
Improving the script socket add-on
Fixed bug in script builder that didn't clear metadata from previous builds
Try/catch now properly restores the stack pointer on exceptions
Fixed crash in GetAddressOfVar for object variables whose stack position is reused in multiple scopes
Fixed saving bytecode with template functions in namespaces or as members of objects
Removed compiler error on using temporary object as lvalue in value assignment
Fixed saving bytecode with template functions
Fixed crash on compiling function with funcdef by value as parameter type
Added GetMessageCallback
documentation
Updated documentation for the script grammar
documentation
Fixed invalid access of inherited member before it is initialized by parent constructor
Fixed implicit conversion to value type when the expression is a const of the same value type
Fixed issue in asIScriptModule::SetDefaultNamespace with nested namespaces
SetTranslateAppExceptionCallback, SetLineCallback, SetExceptionCallback now take asSFuncPtr by ref for consistency
asITypeInfo::GetProperty now returns info on constness
Fixed crash in CreateScriptObject with asCALL_CDECL_OBJFIRST|LAST and auxiliary pointer
Refactoring the code for better code reuse
Fixed lookup of template subtypes when registering child funcdefs with different namespace set
- Fixed invalid bytecode when passing function pointer to functions expecting ?&
Minor improvements on E2K native code
Fixed crash in compiler when attempting to use template function without informing the subtypes
Fixed crash in bytecode loader when it tries to translate a list factory in invalid bytecode
Fixed crash in asIScriptGeneric::SetReturnObject for variadic functions
asIScriptContext::GetVar now returns in the type modifiers if the variable is const
Fixed compilation error in as_callfunc.cpp on gcc 12
Added support for native calling conventions on Linux with MCST E2K 64bit CPU
- Removed unnecessary spaces in default argument expression returned with asIScriptFunction::GetDeclaration
The any::retrieve methods were not registered as const
Implemented support for using namespace
Fixed invalid loop in FindNextFunctionCalled that could read out of bounds
Fixed incorrect reference count management in library for template functions
Fixed use of auto@ in foreach loop
Fixed handling of stack pointer for variadic functions
Fixed assert on invalid assign with literal constant
Fixed incorrect attempt to convert to null handle in ternary condition
Fixed crash when passing function pointer without @ prefix to argument expecting asOBJ_ASHANDLE
- Implemented support for registering functions with variadic arguments using generic calling convention
Added logic to prevent crash in case the dictionary is modified while a foreach loop is iterating over the content
Added support for foreach on dictionary
Fixed memory invasion that could happen if a context was reused after the stack had grown
Explicit copy constructor is no longer used implicitly by compiler
Fixed crash when compiling script attempting to declare variable with type auto[]
Made installing the library optional in the cmakefile
Implemented support for foreach in script arrays
Added the test cases for foreach
Added support for const overloads in foreach
Fixed crash when doing implicit conversion from value type to ref type for a function argument expecting reference to handle
Testing receiving array of arrays
- Implemented support for foreach loops
Fixed the test_dump.cpp test case for string::regexFind
Fixed compiler warning on fallthrough statement in as_context.cpp
Implemented a string::regexFind method for the std::string add-on
Fixed crash in CScriptBuilder when parsing metadata in namespaces declared with nested scope on single line
Accessing members before they have been initialized in constructors is now properly detected by the compiler
Initialization of class members after conditional return will now give error
Initialization of class members cannot be done in loop or switch statements
Fixed crash in GetThisPointer on contexts with nested state
Initialization of class member properties can now be done in if-else statements in the constructor
Included GetSubTypeCount, GetSubTypeId, GetSubType to asIScriptFunction for template functions