From 6d95a37dae0a72b1a169096b5ba4b09fca39c156 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 19 Feb 2019 07:24:07 +0000 Subject: [PATCH] Accepting request 677201 from home:elimat:branches:games - Update to new upstream release 2.33.0 * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function * Loading bytecode that included use of template value types with a template type as argument crashed * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces * Saving bytecode for a never returning function would cause assert failure * Fixed an error when compiling a class method call as post-op and the name matches a type name * Template types are now properly identified in separate namespaces * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities * opImplCast with variable type won't be used for non-ref types * Fixed compiler error when both opConv and opImplConv are implemented * Fixed bug when loading bytecode containing shared interfaces with inheritance * auto declarations now works correctly with implicit handle types * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly * Fixed loading byte code that uses external shared classes in namespace * The bytecode for external shared entities is no longer saved in the module when inherited from * Bytecode with external shared classes with virtual methods failed to load from bytecode * Fixed assert failure on call to opCast(?&out) with a non-variable expression * Passing a string literal to function expecting &out will now give compiler error * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in * Fixed a bug when loading bytecode having identical shared functions in different namespaces * Compiler will now detect name conflict between property and function * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods * Compiler no longer accepts primitives in the right hand expression for handle assignments * Fixed compiler warning with use of asOFFSET on 64bit platforms * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle * Child funcdefs in templates will no longer convert parameter types to @const& * Fixed problem when compiling anonymous initialization list from default arg * Ownership of shared template instances wasn't correctly transferred when discarding modules * Fixed crash in compiler when matching anonymous list to function taking funcdef * Fixed assert failure in builder when compiling external shared interfaces with inheritance * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods - Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/677201 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=11 --- angelscript.changes | 38 ++++++++++++++++++++++++++++++++++++++ angelscript.spec | 13 +++++-------- angelscript_2.33.0.zip | 3 +++ 3 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 angelscript_2.33.0.zip diff --git a/angelscript.changes b/angelscript.changes index b3a0bdd..ce2ac7e 100644 --- a/angelscript.changes +++ b/angelscript.changes @@ -1,4 +1,42 @@ ------------------------------------------------------------------- +Mon Feb 18 19:46:51 UTC 2019 - Matthias Eliasson + +- Update to new upstream release 2.33.0 + * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator + * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function + * Loading bytecode that included use of template value types with a template type as argument crashed + * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions + * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces + * Saving bytecode for a never returning function would cause assert failure + * Fixed an error when compiling a class method call as post-op and the name matches a type name + * Template types are now properly identified in separate namespaces + * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities + * opImplCast with variable type won't be used for non-ref types + * Fixed compiler error when both opConv and opImplConv are implemented + * Fixed bug when loading bytecode containing shared interfaces with inheritance + * auto declarations now works correctly with implicit handle types + * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly + * Fixed loading byte code that uses external shared classes in namespace + * The bytecode for external shared entities is no longer saved in the module when inherited from + * Bytecode with external shared classes with virtual methods failed to load from bytecode + * Fixed assert failure on call to opCast(?&out) with a non-variable expression + * Passing a string literal to function expecting &out will now give compiler error + * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in + * Fixed a bug when loading bytecode having identical shared functions in different namespaces + * Compiler will now detect name conflict between property and function + * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods + * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods + * Compiler no longer accepts primitives in the right hand expression for handle assignments + * Fixed compiler warning with use of asOFFSET on 64bit platforms + * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle + * Child funcdefs in templates will no longer convert parameter types to @const& + * Fixed problem when compiling anonymous initialization list from default arg + * Ownership of shared template instances wasn't correctly transferred when discarding modules + * Fixed crash in compiler when matching anonymous list to function taking funcdef + * Fixed assert failure in builder when compiling external shared interfaces with inheritance + * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods +- Clean with spec-cleaner +------------------------------------------------------------------- Sat Jul 15 08:21:51 UTC 2017 - mailaender@opensuse.org - Add documentation (including license) diff --git a/angelscript.spec b/angelscript.spec index 74404b7..79b6109 100644 --- a/angelscript.spec +++ b/angelscript.spec @@ -1,7 +1,7 @@ # # spec file for package angelscript # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define sover 2_31_2 +%define sover 2_33_0 Name: angelscript -Version: 2.31.2 +Version: 2.33.0 Release: 0 Summary: Scripting library License: Zlib Group: Development/Libraries/C and C++ -Url: http://www.angelcode.com/angelscript/ +URL: http://www.angelcode.com/angelscript/ Source: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: unzip -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The AngelCode Scripting Library, or AngelScript as it is also known, @@ -82,11 +81,9 @@ make install_shared install_header install_docs PREFIX=%{_prefix} DESTDIR=%{buil %{_defaultdocdir}/%{name} %files -n lib%{name}%{sover} -%defattr(-,root,root) %{_libdir}/libangelscript.so.* %files devel -%defattr(-,root,root) %attr(0644,root,root) %{_includedir}/*.h %{_libdir}/libangelscript.so diff --git a/angelscript_2.33.0.zip b/angelscript_2.33.0.zip new file mode 100644 index 0000000..95447a1 --- /dev/null +++ b/angelscript_2.33.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3691090b23d4382849a4f4e0ab71d94526636c64deec94a97d7d9419e2e21ea3 +size 1954948