Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

df.new(): catch errors thrown by allocate() #3631

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

lethosor
Copy link
Member

@lethosor lethosor commented Aug 4, 2023

This can include DFHack::Error::VTableMissing exceptions if the vtable of a member field is unknown.

Fixes #3627

This can include DFHack::Error::VTableMissing exceptions if the vtable of a
member field is unknown.

Fixes DFHack#3627
@myk002 myk002 merged commit 98e0ce1 into DFHack:develop Aug 4, 2023
9 checks passed
shevernitskiy added a commit to shevernitskiy/dfhack that referenced this pull request Aug 10, 2023
commit 21edf51
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Thu Aug 10 01:01:58 2023 +0000

    Auto-update submodules

    scripts: master

commit fdf878c
Merge: ca71c8c 99517fc
Author: Myk <myk.taylor@gmail.com>
Date:   Wed Aug 9 17:51:26 2023 -0700

    Merge pull request DFHack#3655 from myk002/myk_banner

    [BannerPanel] use square brackets instead of color blocks

commit ca71c8c
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Wed Aug 9 07:13:34 2023 +0000

    Auto-update submodules

    library/xml: master

commit 6bd7d97
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Tue Aug 8 07:12:52 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit cd2d408
Merge: 970babe 031191a
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 20:01:56 2023 -0700

    Merge pull request DFHack#3642 from randombk/remotefortressreader-reload

    Add option to force-fetch world blocks in RemoteFortressReader

commit 031191a
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 19:40:48 2023 -0700

    Update docs/changelog.txt

commit 970babe
Merge: 7b1bbec 62a1bd6
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 19:39:39 2023 -0700

    Merge pull request DFHack#3654 from myk002/myk_mod_reload

    ensure active mod scripts are properly reloaded

commit 8b5321f
Author: David Li <jiawei.davidli@gmail.com>
Date:   Sun Aug 6 13:32:07 2023 -0700

    Add option to force-fetch world blocks in RemoteFortressReader

      The current behavior of GetBlockList in the RemoteFortressReader
      Protobuf RPC API is to only return blocks that have changed since
      the last fetch. This causes problems when the RPC client (i.e. a
      world renderer) wants to restart, as it can no longer fetch the
      full world state.

      This patch adds a `force_reload` option to BlockRequest, defaulting
      to `false` (the current behavior). When passed, it returns all
      requested blocks regardless of whether they have changed or not.

    Signed-off-by: David Li <jiawei.davidli@gmail.com>

commit 7b1bbec
Merge: 3b67785 8bff139
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 19:10:49 2023 -0700

    Merge pull request DFHack#3653 from myk002/myk_panel

    add functions to Panel in addition to attributes

commit 99517fc
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 17:20:58 2023 -0700

    use square brackets instead of color blocks

commit 62a1bd6
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 17:18:00 2023 -0700

    ensure active mod scripts are properly reloaded

commit 8bff139
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 17:02:55 2023 -0700

    add functions to Panel in addition to attributes

commit 3b67785
Merge: 139a3a5 5fbff18
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 16:13:58 2023 -0700

    Merge pull request DFHack#3652 from myk002/myk_resize_edge

    [widgets.Panel] correctly fire on_resize_end events

commit 5fbff18
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 16:01:56 2023 -0700

    correctly fire on_resize_end events from Panel

commit 139a3a5
Merge: b1c1c1b 8c16693
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 12:54:32 2023 -0700

    Merge pull request DFHack#3649 from myk002/myk_bannerpanel

    [widgets] factor banner out into reusable panel class

commit b1c1c1b
Merge: e57a5d6 e808844
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 12:54:21 2023 -0700

    Merge pull request DFHack#3648 from myk002/myk_no_logo_legends

    [hotkeys] don't display dfhack logo in legends mode

commit 8c16693
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 12:40:48 2023 -0700

    factor banner out into reusable panel class

commit e808844
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 12:39:20 2023 -0700

    don't display dfhack logo in legends mode

commit e57a5d6
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 11:01:42 2023 -0700

    rename some workflow steps

commit 959e6fd
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Mon Aug 7 17:48:32 2023 +0000

    Auto-update submodules

    scripts: master

commit 1b04eca
Merge: 386608f 03edea8
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Aug 7 10:44:18 2023 -0700

    Merge pull request DFHack#3647 from myk002/myk_legends

    add focus string support for legends mode

commit 03edea8
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Aug 7 02:50:37 2023 -0700

    add focus string support for legends mode

commit 386608f
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Mon Aug 7 07:13:17 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit 30befab
Merge: 5b7458c db48e0e
Author: Myk <myk.taylor@gmail.com>
Date:   Sun Aug 6 23:57:07 2023 -0700

    Merge pull request DFHack#3644 from myk002/myk_trade

    remove caravan_buying param from getValue call

commit 5b7458c
Merge: c95956c 6f3843e
Author: Myk <myk.taylor@gmail.com>
Date:   Sun Aug 6 23:56:37 2023 -0700

    Merge pull request DFHack#3645 from myk002/myk_test_blank

    do a test run with blank init scripts

commit c95956c
Merge: a7129ca 488ad0f
Author: Myk <myk.taylor@gmail.com>
Date:   Sun Aug 6 23:46:09 2023 -0700

    Merge pull request DFHack#3646 from myk002/myk_template

    add changelog template for new verions

commit 6f3843e
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Aug 6 23:41:18 2023 -0700

    the test script is no longer in the hack path; remove extra script dir

commit 568e4b4
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Aug 6 23:07:08 2023 -0700

    differentiate test output artifacts

commit 488ad0f
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Aug 6 23:02:45 2023 -0700

    add changelog template for new verions

    and mark unused headers as deprecated

commit dce08e8
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Aug 6 22:39:05 2023 -0700

    do a test run with blank init scripts

commit db48e0e
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Aug 6 17:38:34 2023 -0700

    remove caravan_buying param from getValue call

    the identity of the selling party doesn't actually affect the value!

commit a7129ca
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Sun Aug 6 07:12:09 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit 57f4989
Merge: 4087a9f 996688c
Author: Myk <myk.taylor@gmail.com>
Date:   Sat Aug 5 23:41:10 2023 -0700

    Merge pull request DFHack#3640 from myk002/myk_workflow

    make the workflows repository agnostic

commit 996688c
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Aug 5 23:25:10 2023 -0700

    make the workflows repository agnostic

commit 4087a9f
Merge: 0abdf01 8dc13b8
Author: lethosor <lethosor@gmail.com>
Date:   Sun Aug 6 00:22:49 2023 -0400

    Merge remote-tracking branch 'lethosor/css-skip-temp-save' into develop

commit 8dc13b8
Author: lethosor <lethosor@gmail.com>
Date:   Sat Aug 5 23:46:07 2023 -0400

    check-structures-sanity: also skip temp_save vectors

commit 0abdf01
Merge: d152e86 6bc7d9d
Author: lethosor <lethosor@gmail.com>
Date:   Sat Aug 5 17:03:29 2023 -0400

    Merge branch 'develop' of DFHack/dfhack into develop

commit d152e86
Author: lethosor <lethosor@gmail.com>
Date:   Sat Aug 5 17:03:18 2023 -0400

    check-structures-sanity: Set debugger-friendly compiler options

commit 6bc7d9d
Merge: 9552d14 6357aa2
Author: Myk <myk.taylor@gmail.com>
Date:   Sat Aug 5 01:18:56 2023 -0700

    Merge pull request DFHack#3635 from myk002/myk_package

    factor out release package logic

commit 6357aa2
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Aug 5 00:58:09 2023 -0700

    factor out release package logic

commit 9552d14
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Aug 5 00:56:16 2023 -0700

    clean up steam deployment code

commit 708f2ef
Merge: 5e1854e 7981624
Author: Myk <myk.taylor@gmail.com>
Date:   Sat Aug 5 00:12:33 2023 -0700

    Merge pull request DFHack#3634 from myk002/myk_moar_tests

    enable more tests

commit 5e1854e
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Sat Aug 5 07:11:36 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit 7981624
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 23:59:04 2023 -0700

    don't build html docs unless we have to

commit c323576
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 23:31:01 2023 -0700

    build docs for tests so the harness can identify unavailables

commit 3358a2b
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 20:40:24 2023 -0700

    enable more tests

commit 1864090
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Sat Aug 5 02:56:08 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit 3c86b21
Merge: 9bf0090 ba0df78
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 19:01:03 2023 -0700

    Merge pull request DFHack#3633 from ab9rf/future-type-support

    DataIdentity support for `std::future<void>`

commit ba0df78
Author: Kelly Kinkade <kelly.lynn.martin@gmail.com>
Date:   Fri Aug 4 20:00:29 2023 -0500

    DataIdentity support for `std::future<void>`

commit 9bf0090
Merge: 98e0ce1 c5ad5d0
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 17:09:29 2023 -0700

    Merge pull request DFHack#3632 from myk002/myk_xml

    allow the reusable workflows to build xml-dump-type-sizes

commit c5ad5d0
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 16:56:06 2023 -0700

    allow the reusable workflows to build xml-dump-type-sizes

commit 0ef1a47
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 16:43:58 2023 -0700

    allow code to be generated even when the library isn't being built

commit 98e0ce1
Merge: 7aa6aa3 47b4773
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 14:39:02 2023 -0700

    Merge pull request DFHack#3631 from lethosor/lua-new-catch-alloc-errors

    df.new(): catch errors thrown by allocate()

commit 47b4773
Author: lethosor <lethosor@gmail.com>
Date:   Fri Aug 4 17:14:08 2023 -0400

    df.new(): catch errors thrown by allocate()

    This can include DFHack::Error::VTableMissing exceptions if the vtable of a
    member field is unknown.

    Fixes DFHack#3627

commit 7aa6aa3
Author: lethosor <lethosor@gmail.com>
Date:   Fri Aug 4 17:09:50 2023 -0400

    targets -> target part 2

commit 261367c
Merge: f507bd7 6ff5ab9
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 13:42:30 2023 -0700

    Merge pull request DFHack#3630 from myk002/myk_bash

    avoid platform-specific steps by using same shell

commit 6ff5ab9
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 13:31:21 2023 -0700

    avoid platform-specific steps by using same shell

commit f507bd7
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Fri Aug 4 20:22:58 2023 +0000

    Auto-update submodules

    library/xml: master

commit 5d9ecd3
Merge: 31e579e 91afb7e
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 13:07:49 2023 -0700

    Merge pull request DFHack#3629 from myk002/myk_clean_cache

    make clean-cache workflow reusable

commit 91afb7e
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 12:57:44 2023 -0700

    make clean-cache workflow reusable

commit 31e579e
Merge: 415a2f6 02fae5a
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 12:49:15 2023 -0700

    Merge pull request DFHack#3628 from myk002/myk_warnings_as_errors

    treat doc warnings as errors

commit 02fae5a
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 12:38:51 2023 -0700

    treat doc warnings as errors

commit 415a2f6
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 12:23:48 2023 -0700

    update stonesense ref

commit f2a56cc
Merge: 1cf3f62 d93bf65
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Aug 4 12:20:11 2023 -0700

    Merge pull request DFHack#3625 from myk002/myk_tests

    re-enable unit tests

commit d93bf65
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 10:25:49 2023 -0700

    fix typo

commit 4c89af7
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 09:59:08 2023 -0700

    targets -> target

commit a6de9a2
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 01:35:51 2023 -0700

    enable most core tests

commit f8dd092
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 23:54:14 2023 -0700

    enable remaining core and structures tests

commit 1cf3f62
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Fri Aug 4 17:10:51 2023 +0000

    Auto-update submodules

    library/xml: master

commit 66107b4
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Aug 4 10:04:55 2023 -0700

    fix windows build when called from other repos

commit 4c2e772
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Fri Aug 4 07:12:54 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit 10525aa
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 23:53:45 2023 -0700

    fix name of job

commit 3599403
Merge: 5edf85d d3884bd
Author: Myk <myk.taylor@gmail.com>
Date:   Thu Aug 3 23:05:46 2023 -0700

    Merge pull request DFHack#3622 from myk002/myk_test_test

    first attempt to run tests on windows

commit d3884bd
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 22:52:17 2023 -0700

    run ./dfhack instead of ./dwarfort on linux so we can see output

    since we set the tty params

commit e3161b8
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 22:38:49 2023 -0700

    enable some core tests

commit f28b469
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 21:49:26 2023 -0700

    put all tests in a matrix

commit 081e938
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 21:04:46 2023 -0700

    test RPC interface

commit ec461bc
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 20:48:15 2023 -0700

    zero tests mean pass

commit 43a1fdc
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 20:16:48 2023 -0700

    only run tests for registered and available targets

commit 6c4662d
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 08:22:27 2023 -0700

    set a timeout for the test step

commit 2b7865a
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 08:05:13 2023 -0700

    actually install the tests for the test action

commit 5f5981f
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 05:07:21 2023 -0700

    fix path creation

commit 775c60b
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 04:55:40 2023 -0700

    reduce windows cache size

commit 556c1ef
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 04:55:31 2023 -0700

    adapt to new DF init paths

commit 27b5d1e
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 04:37:13 2023 -0700

    more windows fixups

commit 59a2d3a
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 04:24:23 2023 -0700

    fix env setting on windows

commit 819cd53
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 04:13:06 2023 -0700

    trim windows test build

commit 55f1b0d
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 03:59:50 2023 -0700

    first attempt to run tests on windows

commit 1411c5e
Author: lethosor <lethosor@gmail.com>
Date:   Fri Aug 4 01:28:15 2023 -0400

    Disable RPC API docs for plugins that aren't currently built

    This allows ci/check-rpc.py to pass, and will cause it to fail if the plugins
    are re-enabled and we forget to un-disable the docs.

commit b17ca80
Author: lethosor <lethosor@gmail.com>
Date:   Fri Aug 4 01:18:21 2023 -0400

    Also parse .proto files in plugin subdirectories

    Followup fix for DFHack#3184

commit 8511775
Author: lethosor <lethosor@gmail.com>
Date:   Fri Aug 4 01:12:50 2023 -0400

    Add separators for readability

commit 5edf85d
Merge: 1702c5e 88dd273
Author: Myk <myk.taylor@gmail.com>
Date:   Thu Aug 3 20:10:11 2023 -0700

    Merge pull request DFHack#3620 from myk002/myk_no_buildmaster

    remove buildmaster integration files

commit 1702c5e
Merge: 794bcc6 07ba950
Author: Myk <myk.taylor@gmail.com>
Date:   Thu Aug 3 01:31:39 2023 -0700

    Merge pull request DFHack#3621 from myk002/myk_reusable

    make jobs reusable for other repos

commit 07ba950
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 01:23:36 2023 -0700

    make tests reusable

commit 088c7a1
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 01:09:57 2023 -0700

    prep for building from structures repo

commit f5dfa03
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 00:57:55 2023 -0700

    use new var names in deploy actions

commit fbbadf7
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 00:53:39 2023 -0700

    only explicitly clone the scripts repo if a ref is given

commit 0baa605
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 00:48:38 2023 -0700

    make linux build reusable for scripts repo

commit 38d17cb
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Aug 3 00:25:20 2023 -0700

    make lint job reusable

commit 88dd273
Author: Myk Taylor <myk002@yahoo.com>
Date:   Wed Aug 2 23:33:07 2023 -0700

    remove buildmaster integration files

commit 794bcc6
Author: Myk Taylor <myk002@yahoo.com>
Date:   Wed Aug 2 20:52:05 2023 -0700

    fix windows build vars for github release

commit 1f9b248
Author: lethosor <lethosor@gmail.com>
Date:   Wed Aug 2 23:49:10 2023 -0400

    check-structures-sanity: add no-op handler for std::map

commit 5c4175e
Author: lethosor <lethosor@gmail.com>
Date:   Wed Aug 2 22:58:09 2023 -0400

    Update xml

commit 027d69d
Merge: 69986a4 8b786b4
Author: lethosor <lethosor@gmail.com>
Date:   Wed Aug 2 22:58:00 2023 -0400

    Merge remote-tracking branch 'lethosor/codegen-new-types' into develop

commit 8b786b4
Author: lethosor <lethosor@gmail.com>
Date:   Mon May 29 01:12:35 2023 -0400

    Forward-declare types only used in DataIdentity.cpp

commit 2f42745
Author: lethosor <lethosor@gmail.com>
Date:   Mon May 29 01:09:59 2023 -0400

    Add identity_traits<condition_variable>, add macro for opaque identities

commit eb12ff1
Author: lethosor <lethosor@gmail.com>
Date:   Sun May 28 13:21:49 2023 -0400

    Refactor: move static identity_traits to their own file, simplify field defs

    DataStaticsFields.cpp used to contain identity_traits specializations for
    primitive and opaque STL types, as well as macros used for the generated struct
    field definitions. Only one of these were actually used in any compilation unit,
    and the identity_traits definitions were hidden behind a guard to prevent them
    from being compiled at all when building the struct field definitions.

    Now, the identity_traits specializations live in their own file,
    DataIdentity.cpp (matching their declarations, which live in DataIdentity.h).
    This speeds up build times because modifying these specializations no longer
    requires rebuilding all of the field definitions unnecessarily.

commit d0250ae
Author: lethosor <lethosor@gmail.com>
Date:   Sun May 28 13:08:06 2023 -0400

    Update allocator_try_assign() to match behavior of fstream allocator for non-copyable types

    Looks like the choice we have made here previously is to return NULL if
    attempting to allocate types that we cannot allocate.

commit 6fbb22e
Author: lethosor <lethosor@gmail.com>
Date:   Sun May 28 13:07:21 2023 -0400

    Add missing instantion for identity_traits<std::mutex>, refactor code shared with fstream identity

commit 7c4d936
Author: lethosor <lethosor@gmail.com>
Date:   Sun May 28 02:51:06 2023 -0400

    Make allocator_fn compile for non-copy-assignable types like std::mutex

commit e5bc4b3
Author: lethosor <lethosor@gmail.com>
Date:   Sun May 28 02:50:39 2023 -0400

    Add identity for std::mutex

commit 69986a4
Author: Myk Taylor <myk002@yahoo.com>
Date:   Tue Aug 1 00:11:46 2023 -0700

    autodeploy to steam on tag

commit a299f0b
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Tue Aug 1 06:33:09 2023 +0000

    Auto-update submodules

    library/xml: master
    scripts: master

commit 876de86
Merge: 0c64416 a3916cd
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Jul 31 23:13:31 2023 -0700

    Merge pull request DFHack#3616 from lethosor/check-structures-sanity-fix-string-cxx11

    check-structures-sanity: update detection for GCC C++11 std::string

commit a3916cd
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 01:54:35 2023 -0400

    check-structures-sanity: update detection for GCC C++11 std::string

commit 0c64416
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:59:52 2023 -0400

    Re-enable build of check-structures-sanity

commit 94dae7a
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:59:26 2023 -0400

    dts::make_unique -> std::make_unique in unbuilt plugins

    Followup to DFHack#3537

commit e0a9626
Merge: 9984dfe 199191e
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:55:46 2023 -0400

    Merge remote-tracking branch 'lethosor/cmake-plugin-flags-devel' into develop

commit 199191e
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:18:39 2023 -0400

    Re-add BUILD_SUPPORTED flag so that devel plugins can be built by themselves

commit 031a61a
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:18:28 2023 -0400

    Re-enable devel plugins that compile

commit 9984dfe
Merge: 9f16821 73f9620
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:51:24 2023 -0400

    Merge remote-tracking branch 'lethosor/fix-linux-plugins-cxx11abi' into develop

commit 9f16821
Merge: b36bd9b e2ca506
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:35:19 2023 -0400

    Merge remote-tracking branch 'lethosor/fix-textures-cleanup-segfault' into develop

commit 73f9620
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:08:30 2023 -0400

    Fix mangling of `plugin_globals` with GCC's C++11 ABI

    Without being declared with `extern "C"`, `plugin_globals` is mangled, with a
    `cxx11` suffix.

    We can't add `extern "C"` to the `DFhackDataExport` macro because GCC does not
    allow initializing any `extern` variables inline, including `extern "C"`.

commit b36bd9b
Merge: 6e54210 f44bbe1
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:27:37 2023 -0400

    Merge remote-tracking branch 'origin/pre-commit-ci-update-config' into develop

commit 6e54210
Merge: 95753f6 e55984c
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:22:01 2023 -0400

    Merge remote-tracking branch 'lethosor/fix-global-crash' into develop

commit f44bbe1
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Tue Aug 1 04:21:22 2023 +0000

    [pre-commit.ci] pre-commit autoupdate

    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.23.2 → 0.23.3](python-jsonschema/check-jsonschema@0.23.2...0.23.3)

commit e2ca506
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:13:09 2023 -0400

    Fix off-by-one error in Textures::cleanup()

    In a ASCII-only configuration, I was seeing `textures.raws.size() == 164` and
    `texpos_end == 164`. This resulted in reading one item past the end of the
    vector.

    This may not be occurring in configurations with graphics enabled, or
    Windows/WINE may be more permissive.

commit 95753f6
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:10:46 2023 -0400

    memscan: check for new Linux executable name

commit e55984c
Author: lethosor <lethosor@gmail.com>
Date:   Tue Aug 1 00:05:02 2023 -0400

    Fix startup crashes when global addresses are missing

    Useful for initial research. Can be tested with `DFHACK_NO_GLOBALS=1`

commit 53c90af
Merge: 67e5aa0 17ca9e0
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Jul 31 17:31:26 2023 -0700

    Merge pull request DFHack#3602 from plule/feat/suspended-icon

    Add a separate icon for jobs suspended by suspendmanager

commit 17ca9e0
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Jul 31 17:20:38 2023 -0700

    Update Textures.h

commit 67e5aa0
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 10:13:29 2023 -0700

    fix syntax

commit 80d19ec
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 10:07:23 2023 -0700

    fix paths for steam deploy

commit 9b8bd8d
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 05:37:57 2023 -0700

    names

commit 656683e
Merge: f65112f 9b59fc6
Author: Myk <myk.taylor@gmail.com>
Date:   Mon Jul 31 05:08:35 2023 -0700

    Merge pull request DFHack#3607 from myk002/myk_runners

    reusable and native build action runners

commit 9b59fc6
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 04:51:44 2023 -0700

    use the actual tag of the checkout

commit 97ea3f3
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 04:43:43 2023 -0700

    generate release notes changelog text

commit cf0b87f
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 04:02:12 2023 -0700

    Revert "always build launchdf"

    This reverts commit a509bb5.

commit e3a8009
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 03:56:26 2023 -0700

    initial draft of automated github release

commit bbe7dbb
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 03:56:11 2023 -0700

    build with gcc 10 by default

commit 52a478d
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 03:03:25 2023 -0700

    rename steam workflow file

commit a509bb5
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 03:01:11 2023 -0700

    always build launchdf

commit 737ff8b
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 02:50:32 2023 -0700

    more cache tuning

commit 5c664fc
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 01:49:02 2023 -0700

    reuse workflows for steam

commit 1fad6d7
Author: Myk Taylor <myk002@yahoo.com>
Date:   Mon Jul 31 00:05:47 2023 -0700

    split linux package out to simplify matrix

commit b6ecece
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 23:50:47 2023 -0700

    another clcache attempt

commit a0fae55
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 21:39:39 2023 -0700

    fix windows clcache path

commit 0364557
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 21:04:52 2023 -0700

    actually use the new windows workflow

commit 2bb972f
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 20:52:07 2023 -0700

    fix home ref

commit 8727207
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 20:47:59 2023 -0700

    attempt to get windows build reusable

commit 0b2877a
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 19:53:46 2023 -0700

    fixups

commit 1faf156
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 19:36:12 2023 -0700

    first attempt at a reusable workflow

commit 7514dd2
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 16:58:27 2023 -0700

    name stage

commit 1d356bf
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 30 16:45:01 2023 -0700

    fix artifact name

commit 37357da
Author: Myk <myk.taylor@gmail.com>
Date:   Sun Jul 30 00:08:58 2023 -0700

    add clcache

commit c797e5b
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Jul 29 14:03:50 2023 -0700

    poke at a native windows build and see what happens

commit f65112f
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Jul 29 01:03:29 2023 -0700

    give test actions their own cache namespace

    since they build a different subset from the package actions

commit 88a46a1
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Jul 29 00:48:17 2023 -0700

    build Release profile for Linux

commit 6a50ae4
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Jul 29 00:34:56 2023 -0700

    more deduplication of installed files

commit ac633da
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Jul 28 23:58:54 2023 -0700

    de-duplicate stonesense resources

commit aaf511b
Author: DFHack-Urist via GitHub Actions <63161697+DFHack-Urist@users.noreply.github.com>
Date:   Sat Jul 29 07:12:04 2023 +0000

    Auto-update submodules

    plugins/stonesense: master

commit 7231287
Merge: f3da973 c11740d
Author: Myk <myk.taylor@gmail.com>
Date:   Fri Jul 28 22:55:55 2023 -0700

    Merge pull request DFHack#3597 from myk002/myk_linux_deploy

    deploy linux build to steam

commit c11740d
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Jul 28 19:48:38 2023 -0700

    update dfhack launcher script

commit ec887aa
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Jul 28 19:33:31 2023 -0700

    build stonesense in the linux package

commit a27f42d
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Jul 28 19:12:58 2023 -0700

    split common files into their own depot

commit c67e0da
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Jul 28 16:58:23 2023 -0700

    take advantage of cache scoping rules to simplify names

commit 73427de
Author: Myk Taylor <myk002@yahoo.com>
Date:   Fri Jul 28 16:16:36 2023 -0700

    build with gcc-10 for better system compat

commit 83a6824
Merge: 1ca2b6b f3da973
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Jul 27 23:19:51 2023 -0700

    Merge branch 'develop' into myk_linux_deploy

commit 1ca2b6b
Author: Myk Taylor <myk002@yahoo.com>
Date:   Thu Jul 27 23:19:16 2023 -0700

    alphebetize

commit e824195
Author: plule <630159+plule@users.noreply.github.com>
Date:   Tue Jul 25 21:20:06 2023 +0200

    Add a separate icon for jobs suspended by suspendmanager

commit be98d49
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 23 11:06:48 2023 -0700

    add gl headers for allegro

commit 7cccd96
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 23 11:01:54 2023 -0700

    update stonesense ref

commit 4411361
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 23 11:00:44 2023 -0700

    Revert "don't build stonesense for now"

    This reverts commit 0f14be3.

commit b8e5dd1
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 23 01:46:33 2023 -0700

    add linux build artifact

commit 0f14be3
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sun Jul 23 01:24:17 2023 -0700

    don't build stonesense for now

commit 8ec8604
Author: Myk Taylor <myk002@yahoo.com>
Date:   Sat Jul 22 22:54:21 2023 -0700

    deploy linux build to steam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Exceptions in new() can break out of Lua's pcall()
2 participants