Author Topic: Nightly: 30 May 2020 - Revision c37ea59  (Read 556 times)

0 Members and 1 Guest are viewing this topic.

Offline SirKnightly

  • George or Keira?
  • 211
Nightly: 30 May 2020 - Revision c37ea59
Here is the nightly for 30 May 2020 - Revision c37ea59



Group: Win32
nightly_20200530_c37ea59-builds-Win32.zip (Mirror)


Group: MacOSX
nightly_20200530_c37ea59-builds-MacOSX.tar.gz (Mirror)


Group: Linux
nightly_20200530_c37ea59-builds-Linux.tar.gz (Mirror)


Group: Win64
nightly_20200530_c37ea59-builds-Win64.zip (Mirror)

Code: [Select]
------------------------------------------------------------------------
commit 74cc1d4
Author: asarium
Commit: asarium

    Fix out of range memory access in main hall
 code/io/key.cpp          |  4 ++--
 code/io/key.h            |  5 +++--
 code/menuui/snazzyui.cpp | 13 +++++++------
 3 files changed, 12 insertions(+), 10 deletions(-)

------------------------------------------------------------------------
commit 08c6e0d
Author: asarium
Commit: asarium

    Introduce error state of promises
 code/scripting/api/LuaCoroutineRunner.cpp          |  22 +++--
 code/scripting/api/LuaPromise.cpp                  | 102 +++++++++++++++++----
 code/scripting/api/LuaPromise.h                    |  19 ++--
 code/scripting/api/libs/async.cpp                  |  63 +++++++++++--
 code/scripting/api/objs/promise.cpp                |  78 +++++++++++++++-
 code/scripting/lua/LuaThread.cpp                   |   7 +-
 code/scripting/lua/LuaThread.h                     |   5 +-
 test/src/scripting/api/async.cpp                   |  38 +++++++-
 .../callBothResolveReject/data/scripts/test.lua    |  11 +++
 .../promise/callRejectTwice/data/scripts/test.lua  |   9 ++
 .../promise/callResolveTwice/data/scripts/test.lua |   9 ++
 .../promise/catchErrors/data/scripts/test.lua      |  52 +++++++++++
 .../promise/thenCatchChains/data/scripts/test.lua  |  58 ++++++++++++
 .../async/run/runWithAwait/data/scripts/test.lua   |  66 -------------
 .../run/runWithErroredAwait/data/scripts/test.lua  |  65 +++++++++++++
 .../run/runWithResolvedAwait/data/scripts/test.lua |  23 ++++-
 16 files changed, 511 insertions(+), 116 deletions(-)

------------------------------------------------------------------------
commit ebcf686
Author: asarium
Commit: asarium

    Add Lua API for promises and async coroutines
 .clang-format                                      |   4 +-
 code/scripting/ade_args.cpp                        |  17 +--
 code/scripting/api/LuaCoroutineRunner.cpp          |  82 +++++++++++++
 code/scripting/api/LuaCoroutineRunner.h            |  22 ++++
 code/scripting/api/LuaPromise.cpp                  | 120 ++++++++++++++++++
 code/scripting/api/LuaPromise.h                    |  72 +++++++++++
 code/scripting/api/libs/async.cpp                  | 136 +++++++++++++++++++++
 code/scripting/api/libs/async.h                    |  11 ++
 code/scripting/api/objs/promise.cpp                |  93 ++++++++++++++
 code/scripting/api/objs/promise.h                  |  12 ++
 code/scripting/lua.cpp                             |   7 ++
 code/scripting/lua/LuaFunction.cpp                 |  88 +++++++++++--
 code/scripting/lua/LuaFunction.h                   |  23 +++-
 code/scripting/lua/LuaReference.cpp                |  29 +++--
 code/scripting/lua/LuaReference.h                  |   3 +-
 code/scripting/lua/LuaTable.cpp                    |  12 +-
 code/scripting/lua/LuaTable.h                      |   4 +-
 code/scripting/lua/LuaThread.cpp                   | 120 ++++++++++++++++++
 code/scripting/lua/LuaThread.h                     |  76 ++++++++++++
 code/scripting/lua/LuaTypes.h                      |   7 ++
 code/scripting/lua/LuaUtil.cpp                     |  47 +++++--
 code/scripting/lua/LuaUtil.h                       |  16 ++-
 code/scripting/lua/LuaValue.cpp                    |  50 ++++----
 code/scripting/lua/LuaValue.h                      |  66 +++++-----
 code/scripting/scripting.h                         |   4 +-
 code/source_groups.cmake                           |  11 ++
 test/src/scripting/ade_args.cpp                    |   4 +-
 test/src/scripting/api/async.cpp                   |  37 ++++++
 test/src/scripting/lua/Function.cpp                |  31 ++++-
 test/src/scripting/lua/Reference.cpp               |   4 +-
 test/src/scripting/lua/Table.cpp                   |   2 +-
 test/src/scripting/lua/TestUtil.h                  |   4 +-
 test/src/scripting/lua/Thread.cpp                  |  63 ++++++++++
 test/src/source_groups.cmake                       |   2 +
 .../callWithNonFunction/data/scripts/test.lua      |   2 +
 .../resolveWithValues/data/scripts/test.lua        |  42 +++++++
 .../async/run/runWithAwait/data/scripts/test.lua   |  66 ++++++++++
 .../run/runWithResolvedAwait/data/scripts/test.lua |  42 +++++++
 .../run/runWithoutAwait/data/scripts/test.lua      |  13 ++
 test/test_data/scripting/data/scripts/assert.lua   |  19 +++
 40 files changed, 1341 insertions(+), 122 deletions(-)