Work in progress
You can always find the latest version of AngelScript in the SVN on SourceForge.net. There you can browse the repository online and download a tarball with all the code for revision of choice.If you prefer to use an SVN client to download the code, point your client to the following address:
http://svn.code.sf.net/p/angelscript/code/trunk
I recommend TortoiseSVN as the SVN client if you're using Windows, otherwise the original SVN is the best alternative.
Mirror repository
For those of you who prefer github, codecat has created an automatically updated mirror there: https://github.com/codecat/angelscript-mirrorVersion 2.38.0 WIP - 2024/12/16
- Bug fixes
- Use of computed gotos on gnuc and clang was not enabled by default (Thanks Asu)
- Fixed crash in context if the engine was shutdown while a context was still suspended
- Fixed assert failure in compiler when trying to initialize an ashandle type with a value type (Thanks Miss)
- Fixed crash in compiler when compiling value assignment to null handle (Thanks Sam Tupy)
- Fixed parsing of declaration of global variable initialized with a template that takes multiple subtypes (Thanks Patrick Jeeves)
- Fixed crash when initializing global variable of scoped type declared with direct construct call
- Fixed compilation global variable initialization with assignment so value doesn't have to be copied (Thanks Patrick Jeeves)
- Fixed some compilation errors in as_callfunc_arm64_msvc.asm (Thanks Manuel Lauss)
- Fixed crash in GetThisPointer on contexts with nested state (Thanks Patrick Jeeves)
- Fixed compiler warning on fallthrough statement in as_context.cpp (Thanks Thomas Degener)
- Fixed crash when doing implicit conversion from value type to ref type for a function argument expecting reference to handle (Thanks Sam Tupy)
- Fixed crash when compiling script attempting to declare variable with type auto[] (Thanks Sam Tupy)
- Explicit copy constructor is no longer used implicitly by compiler (Thanks Patrick Jeeves)
- Fixed memory invasion that could happen if a context was reused after the stack had grown (Thanks Doi Hiroshi)
- Fixed crash when passing function pointer without @ prefix to argument expecting asOBJ_ASHANDLE (Thanks johannesg)
- Fixed incorrect attempt to convert to null handle in ternary condition (Thanks ezio416)
- Library
- Implemented support for registering template functions with RegisterGlobalFunction and RegisterObjectMethod using generic calling convention (Thanks MindOfTony)
- Included a new function type asFUNC_TEMPLATE to indicate the template functions
- Added engine property asEP_MEMBER_INIT_MODE to allow backwards compatiblity for how class members are initialized
- Added engine property asEP_BOOL_CONVERSION_MODE to enable or disable contextual conversion to bool
- Added engine property asEP_FOREACH_SUPPORT to allow turning off the foreach loops for backwards compatibility
- Implemented support for registering functions with variadic arguments using generic calling convention (Thanks HenryAWE)
- Library interface
- Deprecated GetStringFactoryReturnTypeId, and implemented GetStringFactory instead (Thanks HenryAWE)
- Included GetSubTypeCount, GetSubTypeId, GetSubType to asIScriptFunction for template functions
- Script language
- It is now possible to instantiate registered template functions and call them (Thanks MindOfTony)
- A class member can now be explicitly initialized in the class constructor, overriding the initialization defined in the declaration (Thanks Patrick Jeeves)
- Implemented contextual conversion to bool in conditions and boolean operations (Thanks HenryAWE)
- Implemented support for foreach loops (Thanks HenryAWE)
- Add-ons & Samples
- Made parseFloat in std::string add-on threadsafe (Thanks gjl)
- Fixed issue in script builder with metadata for variable declarations using direct object initialization (Thanks Miss)
- Implemented a script socket add-on
- asrun can now use sockets to setup a simple server, or connect to remote sockets
- Fixed crash in CScriptBuilder when parsing metadata in namespaces declared with nested scope on single line (Thanks Programier)
- Added get_weekDay to datetime add-on
- Implemented a string::regexFind method for the std::string add-on
- Implemented support for foreach on script arrays and dictionary
- Implemented format and scan with variadic args for std::string add-on (Thanks HenryAWE)
- project
- Fixed cmake project for compiling on Risc-V 64bit (Thanks Vixea 0)
- Made installing the library optional in the cmakefile (Thanks 1vanK)
Changes planned for later versions
You're always welcome to send me your comments on current and/or upcoming features. Your feedback is very important for my planning and prioritization of already planned feature.
The complete list of planned changes can be found in the link below:
AngelScript To-Do List on Google Docs