29 Commits

Author SHA256 Message Date
anag_factory 347015a2af Accepting request 1323035 from games
OBS-URL: https://build.opensuse.org/request/show/1323035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=10
2025-12-16 14:56:20 +00:00
bmwiedemann 74e15afeb4 Accepting request 1323018 from home:VaiTon:branches:games
- Add explicit build dependency to python3.

OBS-URL: https://build.opensuse.org/request/show/1323018
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=27
2025-12-16 02:15:33 +00:00
anag_factory 731d6604ba Accepting request 1305119 from games
OBS-URL: https://build.opensuse.org/request/show/1305119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=9
2025-09-16 16:18:57 +00:00
Dmitriy Perlow 5d55625afc Accepting request 1303078 from home:amanzini:branches:games
- Update to version 2.38.0
  * Bug fixes:
    + Use of computed gotos on gnuc and clang was not enabled by default
    + 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
    + Fixed crash in compiler when compiling value assignment to null handle
    + Fixed parsing of declaration of global variable initialized with a 
      template that takes multiple subtypes
    + 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
    + Fixed some compilation errors in as_callfunc_arm64_msvc.asm
    + Fixed crash in GetThisPointer on contexts with nested state
    + Fixed compiler warning on fallthrough statement in as_context.cpp
    + Fixed crash when doing implicit conversion from value type to ref type
      for a function argument expecting reference to handle
    + Fixed crash when compiling script attempting to declare variable with
      type auto[]
    + Explicit copy constructor is no longer used implicitly by compiler
    + Fixed memory invasion that could happen if a context was reused after the
      stack had grown
    + Fixed crash when passing function pointer without @ prefix to argument 
      expecting asOBJ_ASHANDLE
    + Fixed incorrect attempt to convert to null handle in ternary condition
    + Fixed assert on invalid assign with literal constant
    + Fixed handling of stack pointer for variadic functions
    + Fixed use of auto@ in foreach loop

OBS-URL: https://build.opensuse.org/request/show/1303078
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=25
2025-09-16 09:20:17 +00:00
anag_factory 47c3bcd1fb Accepting request 1245261 from games
OBS-URL: https://build.opensuse.org/request/show/1245261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=8
2025-02-12 20:36:12 +00:00
dstoecker e5fee89950 Accepting request 1231251 from home:amanzini:branches:games
- Update to version 2.37.0
  * Bug fixes
    + thiscall method with multiple inheritances was not working properly 
      with composite offset
    + Fixed compiling the library with AS_NO_CLASS_METHODS
    + Fixed exception handling not restoring stack pointer in some cases, 
      leading to buffer overflow and crashes after repetition
    + Fixed problem with parsing non-terminated heredoc strings
    + Fixed assert failure on invalid expression with assignment
    + Fixed assert failure on warning in function argument with ternary operator
    + Fixed crash in asIScriptContext::GetArgsOnStackCount when using 
      unsafe references
    + Fixed bug in IsVarInScope that wouldn't identify an object variable 
      declared just after a } as being in scope
    + Fixed problem with funtion overload between Obj@ and const Obj@
    + Fixed bug in compiler that allowed passing string literal to function as
      non-const references with unsafe references turned on
    + Fixed bug in native calling convention for arm64 with ?& arguments
    + Fixed crash if passing negative value to GetTypeInfoById
    + asCDataType::GetSizeInMemoryBytes was not returning the correct size of
      handles
    + Fixed crash when attempting to use init list with enum type
    + Fixed assert failure on passing anonymous init list to function argument
      expecting a handle
    + Registered copy factories were not properly identified as copy factories
      if the parameter used &inout instead of &in
    + Fixed GetLineNumber that could randomly return the last line number of a 
      function if called between Prepare and Execute
    + Fixed support for returning structs with 2 doubles in native calling
      conventions on arm64

OBS-URL: https://build.opensuse.org/request/show/1231251
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=23
2025-02-12 08:42:53 +00:00
anag_factory 021311b100 Accepting request 1132733 from games
OBS-URL: https://build.opensuse.org/request/show/1132733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=7
2023-12-13 17:34:37 +00:00
dstoecker 98b6d1a94f Accepting request 1132360 from home:Kieltux:branches:games
- Update to version 2.36.1
  * Bug fixes
    * Fixed assert failure with void expression in initialization
      list
    * Fixed assert failure with unsafe references turned on and
      temporary copy of value in function call
    * Fixed crash when doing handle assign from object handle
      received by reference parameter
    * Fixed error in compiler with unsafe references turned on and
      destruction of temporary variables in boolean expressions
    * Fixed crash when passing null to a ?&inout param with unsafe
      references turned on
    * Fixed assert failure when compiling switch case with
      registered global const property
    * Fixed error in parser with default array and initialization
      lists
    * Fixed crash in compiler when same funcdef declaration is
      compiled multiple times in different modules
    * Fixed lookup bug with use of partial namespace in scope when
      already within a namespace
    * Fixed assert failure in compiler when class has invalid
      opCast method with parameters
    * Parser failed to understand lambda functions with explicit
      argument types with &in, &out, or &inout
    * Fixed bug with use of default array on types without default
      constructors
    * Fixed bug with named args and construct calls
    * Fixed bug with variables declared in for loop being seen as
      in-scope by debugger after the loop ended
    * Fixed name conflict error for lambdas being rebuilt multiple
      times with CompileFunction
    * Fixed assert failure when explicitly casting anonymous init
      list to an object
    * Fixed assert failure on bitwise operation with boolean value
    * Fixed issue in compiler with unsafe references enabled and
      &out parameters
    * Compiler now gives proper error when using temporary object
      for lvalue in assignment
    * BindImportedFunction was not giving error when attempting
      to bind class method
    * Fixed bug in save bytecode when there were multiple
      variables in different scope occupying the same stack
      position
    * Fixed bug in as_callfunc_x64_gcc.cpp when compiling with
      optimizations on gnuc
    * Fixed bug in compiler with compound assignment, virtual
      property, and unsafe references
    * Saved bytecode didn't store the 'property' function trait
    * Fixed crash with template instance referred by other
      template instance being deleted prematurely
    * Fixed specialization of templates with multiple subtypes
  * Library
    * Improved the error message when a boolean expression is
      required to inform the type that was given
    * Improved error message when delegate object cannot be
      created
  * Script language
    * Compiler now recognizes when switch cases have return in
      all paths
    * Anonymous functions can now be declared with nameless
      arguments
  * Add-ons & Samples
    * Improved error message when array cannot be instantiated
      due to subtype not having any default constructor
    * Operations with strings and primitives can now be easily
      disabled by compiling the add-on with
      AS_NO_IMPL_OPS_WITH_STRING_AND_PRIMITIVE=1
    * ScriptBuilder no longer accepts #include directives with
      non-terminated strings for the filename
    * The serializer add-on is now capable of restoring objects
      only referenced from handles
    * Fixed compiler warnings on deprecated sprintf in scriptarray
      and scriptstdstring with xcode
  * Project
    * Fixed cmake project for compiling on apple arm64
    * Changed the cmake project to allow it to be included in
      other projects directly
- Changes in version 2.36.0
  * Bug fixes
    * Fixed 32bit/64bit compatibility of saved bytecode with
      unsafe references enabled
    * Fixed 32bit/64bit compatibility of saved bytecode in
      functions returning handles
    * Destructor for template value types now get a unique
      function with correct object type
    * Fixed crash in compiler when compiling initialization lists
      for a global variable with a higher index than 2^15
    * Fixed crash that could happen on cleaning up stack when
      unsafe references is used
    * Fixed crash in context stack unwind if it happened at a
      position after a branch return that returns a value object
      by value
    * Fixed GetAddressOfVar returning null for registered value
      pod types without constructor
    * Fixed GetAddressOfVar returning null for registered value
      types when the same offset is shared in multiple scopes
    * asIScriptEngine::AssignScriptObject didn't return any error
      when a type didn't have a value assignment operator
    * Fixed assert failure when two funcdefs with same name in
      two different classes
  * Script language
    * Improved implicit conversion rules to reduce number of type
      ambiguity errors for function overloads and ternary
      operators
    * Ternary condition will now return the result as handle if
      possible to avoid unnecessary copy of objects
  * Library
    * Added engine property asEP_IGNORE_DUPLICATE_SHARED_INTF to
      add backwards compatibility with 2.35.0 when scripts include
      declaration of shared interfaces more than once
    * Compiler now stores info on temporary variables too to allow
      these to be inspected at runtime
    * Added engine property to dynamically turn off debug output
    * When asEP_ALLOW_UNSAFE_REFERENCES is turned on the
      destruction of temporary objects will be deferred to end
      of expressions
  * Library interface
    * asIScriptContext::GetAddressOfVar now supports returning the
      address of a reference parameter without dereferencing it
    * asIScriptContext::GetAddressOfVar now supports returning the
      address of local value types even when not initialized yet
    * Added asIScriptContext::GetVar to retrieve static
      information on variables on the stack
    * Deprecated asIScriptContext::GetVarName and GetVarTypeId
    * asIScriptContext has new methods to support serialization
      of context state
  * Add-ons & Samples
    * Fixed script array comparison for 64bit integers
    * CScriptArray with CScriptHandle as sub type can now be
      correctly copied
    * CScriptArray::SetValue now works with CScriptHandle as
      sub type
    * Fixed a compatibility issue in autowrapper WRAP_MFN_PR on
      clang compilers
  * Project
    * Added support for Linux with arm64 in gnuc project
    * Added MSVC2022 project files

OBS-URL: https://build.opensuse.org/request/show/1132360
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=21
2023-12-12 17:24:10 +00:00
dimstar_suse 04b00da36a Accepting request 926968 from games
- Update to version 2.35.1

OBS-URL: https://build.opensuse.org/request/show/926968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=6
2021-10-22 22:51:38 +00:00
dstoecker 287b9ae4fb OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=20 2021-10-22 12:15:45 +00:00
dstoecker 074e6048b3 Accepting request 926798 from home:susnux:branches:games
Update to version 2.35.1

OBS-URL: https://build.opensuse.org/request/show/926798
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=19
2021-10-22 12:15:27 +00:00
RBrownSUSE 61eb5f4cb5 Accepting request 883335 from games
OBS-URL: https://build.opensuse.org/request/show/883335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=5
2021-04-08 19:26:46 +00:00
Ferdinand Thiessen 9e5f58e66c Accepting request 882700 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix build on aarch64:
  * angelscript-fix-aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/882700
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=17
2021-04-06 14:23:56 +00:00
RBrownSUSE ef9ae58598 Accepting request 879573 from games
OBS-URL: https://build.opensuse.org/request/show/879573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=4
2021-03-30 19:18:02 +00:00
dstoecker 42168446ea Accepting request 879480 from home:alois:branches:games
- Update to version 2.35.0
  Bug fixes:
  * asIScriptModule::GetGlobalVar was returning asSUCCESS when
    the given index was out of range
  * Compiler would give an error when compiling functions
    returning a reference to a type that cannot be instantiated
  * Fixed problem with LoadByteCode and shared classes
  * Fixed crash when using copy constructor declared as taking
    the object by value
  * Fixed memory invasion in compiler when compiling
    initialization lists with expressions using default arguments
  * Fixed memory invasion in compiler when compiling default
    arguments
  * Fixed an issue in compiler with auto type and constness
  * Fixed symbol lookup of child type from within class method
    while compiling a construct call
  * Fixed crash after a discarding a module that compiled a
    shared object type that continues to be used by other modules
  * Funcdefs are marked with asOBJ_GC as they can form circular
    references when used with delegates
  * Fixed memory leak when using CompileGlobalVar to add a
    variable to a module with an object type
  * Fixed error when loading bytecode that is using a list
    constructor for a value type
  * Fixed memory invasion in compiler when compiling default
    argument after an argument with index operator 
  Library:
  * asIScriptModule::GetFunctionByName now supports informing
    the scope in the name
  * asIScriptModule::GetGlobalVarByName and GetTypeInfoByName
    also support informing the scope in the name
  * asIScriptEngine::GetTypeInfoByName and
    GetGlobalPropertyIndexByName also support informing the scope in
    the name
  * The default opAssign implementation for script classes will
    use the base class' opAssign method to copy inherited properties
  * Added config for 64bit x86 CPU on Haiku OS
  * Added flag asOBJ_APP_CLASS_MORE_CONSTRUCTORS to inform when
    a class with defaulted constructors has additional non-trivial
    constructors
  * Added support for native calling conventions on Linux with
    ARM64
  * Improved time for compilation and loading pre-compiled
    bytecode for scripts with lots of type definitions
  * Added config to make the library buildable for Linux with
    Elbrus 2000 CPU 
  Library interface:
  * asIScriptObject::CopyFrom now takes a const pointer
  * RegisterGlobalProperty and RegisterObjectProperty now return
    the index of the property upon success 
  Virtual machine:
  * asBC_Thiscall1 bytecode instruction is now capable of
    catching and translating C++ exceptions to script exceptions 
  Add-ons & Samples:
  * Implemented to-string debug callback for datetime in asrun
  * Fixed a problem due to daylight time when initializing a
    datetime object with specific date
  * debugger add-on handles incorrect user commands better
  * Implemented a version of exec for asrun sample that captures
    the standard output from the system command into a string
  * Implemented getCreateDateTime and getModifyDateTime on the
    filesystem add-on
  * Improved performance on array sort for arrays holding object
    types
  * Fixed registration of the virtual property accessors in the
    game sample
  * Fixed compilation error in scriptstdstring.cpp with
    AS_USE_NAMESPACE
  * Registered the script array add-on in the console sample
  * Added generic calling convention bindings for datetime and
    filesystem add-ons 
  Project:
  * Fixed gnuc makefile to detect arm target and add a compiler
    flag to accept implicit IT constructs in thumb mode 
- Use https for source URL 
- Switch build to meson
- Add angelscript-addons_lib.patch
- Add pkgconfig support file
- Build addons library and install related headers
- Add angelscript_addons library subpackage
- Move docs to -devel and drop main package

OBS-URL: https://build.opensuse.org/request/show/879480
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=15
2021-03-17 07:30:36 +00:00
dimstar_suse d29317c71b Accepting request 789037 from games
OBS-URL: https://build.opensuse.org/request/show/789037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=3
2020-03-27 21:01:21 +00:00
jubalh 080ef0ba05 Accepting request 789035 from home:cgiboudeaux:branches:games
- Update to 2.34.0:
  * Fixed problem in compiler with bool property returned as
    reference in conditions
  * Fixed problem with catching exceptions in functions with
    multiple try-catch blocks
  * Fixed read from unallocated memory in compiler when
    compiling default args
  * Fixed problem with doing a value assign from array
    holding handles
  * Fixed crash in compiler when there are multiple matching
    global functions for set accessors 
  * Fixed crash that could happen when loading bytecode with
    shared classes that doesn't match current declared shared classes
  * Fixed assert failure when compiling a construct call with
    an anonymous initialization list
  * Fixed incorrect bytecode sequence when doing value assignment
    from handles for script classes using default assignment operator
  * Fixed problem with default arg not being able to access members
    in expression
  * Fixed crash when releasing engine with template specialization
    containing child funcdefs
  * Fixed asCALL_THISCALL_ASGLOBAL to function correctly with
    multiple inheritance
  * Compiler now identifies match for functions taking object as
    inout ref when passing anonymous init list
  * Compiler now interrupts compilation after identifying error
    while compiling use of get property accessor
  * Compiler no longer identifies global script functions
    as property accessors when this is turned off with
    asEP_PROPERTY_ACCESSOR_MODE

OBS-URL: https://build.opensuse.org/request/show/789035
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=13
2020-03-27 13:33:32 +00:00
maxlin_factory ca3150d2a3 Accepting request 677271 from games
OBS-URL: https://build.opensuse.org/request/show/677271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=2
2019-02-19 11:03:15 +00:00
jubalh f529d8dd38 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
2019-02-19 07:24:07 +00:00
dimstar_suse 5872914328 Accepting request 512039 from games
add license from manual as requested from legal review

OBS-URL: https://build.opensuse.org/request/show/512039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=1
2017-08-24 16:41:04 +00:00
Ferdinand Thiessen 1a2485d3e9 Accepting request 510480 from home:Mailaender:branches:games
add license from manual as requested from legal review

OBS-URL: https://build.opensuse.org/request/show/510480
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=9
2017-07-17 10:49:55 +00:00
Matthias Mailänder 08700a2a8c Accepting request 503415 from home:jengelh:branches:games
this description has *WAY* too much "extreme", "flexible" (unsubstantiated),
redundant "cross-platform"..


- Remove filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/503415
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=8
2017-06-13 19:37:40 +00:00
Matthias Mailänder b6776bf1d8 Accepting request 460933 from home:susnux:branches:games
Update

OBS-URL: https://build.opensuse.org/request/show/460933
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=7
2017-02-28 20:46:50 +00:00
dstoecker ee4ab5caf4 Accepting request 420065 from home:susnux:branches:games
Update

OBS-URL: https://build.opensuse.org/request/show/420065
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=6
2016-08-19 08:52:24 +00:00
Rusmir Duško 5e37ca1e65 Accepting request 262795 from home:Mailaender:branches:games
required for the next version of keeperrl

OBS-URL: https://build.opensuse.org/request/show/262795
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=5
2014-11-23 21:32:37 +00:00
dstoecker a5fde4e30e Accepting request 144819 from home:worldcitizen:rigsofrods
Build version 2.25.2

OBS-URL: https://build.opensuse.org/request/show/144819
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=4
2012-12-12 10:15:24 +00:00
dstoecker c3c9b28522 Accepting request 141519 from home:worldcitizen:branches:games
Config diverted from u8500_defconfig config

OBS-URL: https://build.opensuse.org/request/show/141519
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=3
2012-11-16 07:59:32 +00:00
Cristian Morales Vega 3eadeda24b Accepting request 112489 from home:jengelh:branches:games
- Avoid use of descending relative paths in %files
- Add patch to allow using %optflags and resolve the
  prior rpmlint message about the lack of it

OBS-URL: https://build.opensuse.org/request/show/112489
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=2
2012-04-13 09:54:04 +00:00
dstoecker 0154ae815c Accepting request 107934 from devel:libraries:c_c++
Can this package please be added as a link to games

OBS-URL: https://build.opensuse.org/request/show/107934
OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=1
2012-04-03 08:10:16 +00:00