Commit Graph

12 Commits

Author SHA1 Message Date
Michał Janiszewski 7b12667ddb
Reduce `<algorithm>` include (#21947) 2024-05-01 13:47:27 +02:00
Michał Janiszewski 8bd9d9c551
Update duktape to v2.7.0 (#18485)
A somewhat bloated change due to duktape changing code style
2022-11-11 09:06:05 +01:00
Ted John 0b207a170d Add readme file for duktape sources 2022-01-18 18:43:34 +00:00
Ted John b5d66e099e Embed our own duktape library
Duktape is geared around compile time switches. We can't rely on shared libraries.
2022-01-18 18:29:27 +00:00
Michał Janiszewski 47f126f1f0
Reduce locking of linenoise state (#16401)
https://github.com/OpenRCT2/OpenRCT2/pull/16388 introduced locking for
linenoise state, which turned out to be too greedy and would cause a
lock to be taken while calling a blocking `read`. This would result in
any writes to stall until something was read on the input.
2022-01-08 22:22:38 +01:00
Michał Janiszewski f68411b4eb
Ensure linenoise can be safely used from multiple threads (#16388)
This addresses a data race for `linenoise::lnstate` and
`StdInOutConsole::_isPromptShowing` which could result in openrct2
crashing and misreporting values when inspected in debugger.
2022-01-07 16:37:41 +01:00
Ted John 3f5698b1e0 Fix REPL write line on Linux 2021-02-16 20:24:51 +00:00
Michał Janiszewski a0877d1518 Improve dukglue's includes 2020-04-26 14:35:08 +01:00
Ted John 0c71886941 Implement shared storage 2020-04-26 14:35:06 +01:00
Ted John a16cacff3a Add special properties for ride action 2020-04-26 14:35:05 +01:00
Ted John dfd45651dc Improve stringify of expressions 2020-04-26 14:35:04 +01:00
Ted John e6341f0a42 Get scripting compiling on clang 2020-04-26 14:35:03 +01:00