[angelscript] 1.8.2 BETA 2 and 1.9.0 WIP 4

  • From: "Andreas Jonsson" <andreas@xxxxxxxxxxxxx>
  • To: "angelscript" <angelscript@xxxxxxxxxxxxx>
  • Date: Tue, 31 Aug 2004 21:53:26 -0300

I've updated 1.8.2 BETA with the bug fixes found during development of 1.9.0. 
- bug fix: An object with asBEHAVE_ASSIGNMENT registered could be assigned even 
though it was declared as const (thanks Lee "_MrC_" Clark)
- bug fix: Two functions with the same name and parameters would cause an 
assertion failure in compiler (thanks Alain "abrken" Bridel)
- bug fix: Discarding a module with Discard() could sometimes cause the module 
object to be deleted twice (thanks Alain "abrken" Bridel)
- bug fix: There was a typo in macro asMETHODPR() (thanks Joe "Desdemona" 
Wright) 
- bug fix: An unclosed statement block could lead to assert failure in the 
parser (thanks Alain "abrken" Bridel)

I've also uploaded the latest WIP of 1.9.0 with the following changes:

- Removed GetModuleID()
- Added GetModuleIndex(), and GetModuleNameFromIndex()
- Changed the interface for import functions, to work with module name and 
imported function index, instead of a single function ID. This was done to 
prevent confusion between functionID and imported function indices.
- Added GetFunctionIDByIndex() and GetGlobalVarIDByIndex()
- bug fix: Multiple assignments in the same statement didn't work for objects. 
Introduced in 1.9.0 (thanks Lennart Denninger)
- Added functions for automatically binding all functions imported in a module. 
New error code asCANT_BIND_ALL_FUNCTIONS
- Added the lineOffset parameter to AddScriptSection()
- bug fix: Saving and loading byte code is actually working now. Introduced in 
1.9.0

Regards,
Andreas Jönsson
Author of AngelScript


AngelScript - AngelCode Scripting Library
http://www.angelcode.com/angelscript/
http://www.angelcode.com/forums/

Other related posts:

  • » [angelscript] 1.8.2 BETA 2 and 1.9.0 WIP 4