Rubidium
|
7981fcb297
|
Codechange: use std::fill_n over memset
|
2025-05-09 17:20:41 +02:00 |
|
Rubidium
|
0724b3cda8
|
Codechange: replace SQChar with char
|
2025-05-04 16:59:06 +02:00 |
|
Rubidium
|
1f411f8a16
|
Codechange: use string_view for squirrel parameter checks
|
2025-05-04 16:59:06 +02:00 |
|
Rubidium
|
588b0de3de
|
Codechange: hide SQString internals behind std::string_view/std::span
|
2025-05-04 16:59:06 +02:00 |
|
Rubidium
|
635ca3739f
|
Codechange: use std::string_view in squirrel lexer
|
2025-05-04 16:59:06 +02:00 |
|
Rubidium
|
8f74c08ea6
|
Codechange: put SQRegFunctions into initializer_list and use ranged for loops
|
2025-05-04 14:05:05 +02:00 |
|
Rubidium
|
f4fc8f6b38
|
Codechange: replace Error with simple throw
|
2025-05-04 14:05:05 +02:00 |
|
Rubidium
|
d464961c41
|
Codechange: use std::string_view for SQ stack and function info
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
0bc773215e
|
Codechange: use std::optional<std::string_view> to make the intent of function clearer
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
ead3b96883
|
Codechange: use std::string_view to create SQString
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
fca99967a7
|
Codechange: make sq_scratchpad use std::span<char>
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
b4d9682f21
|
Codechange: use std::string_view for sq_throwerror
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
ec79ceb2be
|
Codechange: use std::string_view for sq_pushstring
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
3020e615a9
|
Codechange: use std::string_view for squirrel compilation
|
2025-05-03 23:02:09 +02:00 |
|
Rubidium
|
b6afd8d2b6
|
Codechange: remove some completely unused squirrel files
|
2025-05-03 17:14:10 +02:00 |
|
Rubidium
|
278aee2c19
|
Codechange: use std::string_view for sq_getstring
|
2025-05-03 14:24:28 +02:00 |
|
Loïc Guilloux
|
41b113840a
|
Fix: [Script] Access to enum/consts defined outside of main.nut (#14176)
|
2025-05-01 18:16:32 +02:00 |
|
frosch
|
98481ecc01
|
Codechange: Replace strtol, strtoll, stroul and strtoull with ParseInteger.
|
2025-04-29 20:14:56 +02:00 |
|
Rubidium
|
af25eecc15
|
Codechange: use const for std::string_view where appropriate
|
2025-04-29 10:15:18 +02:00 |
|
Rubidium
|
b9667ec3d1
|
Codechange: use std::string_view for scripts
|
2025-04-27 17:00:25 +02:00 |
|
frosch
|
3964d053b5
|
Codechange: Replace BufState with StringConsumer.
|
2025-04-13 21:59:10 +02:00 |
|
frosch
|
20805ba84b
|
Codechange: Use EncodeUtf8 and DecodeUtf8 directly, when dealing with a single character.
|
2025-04-03 18:43:41 +02:00 |
|
Rubidium
|
2b88f58384
|
Codefix: add move operators to SQObjectPtr
|
2025-03-12 22:05:02 +01:00 |
|
Rubidium
|
8f3bfb61bd
|
Codefix: remove structurally dead code
|
2025-03-12 21:03:55 +01:00 |
|
Rubidium
|
2000cea235
|
Codechange: initialise instance members
|
2025-03-09 20:41:03 +01:00 |
|
Rubidium
|
3790f29156
|
Codechange: use std::allocator over malloc/free for Squirrel memory management
|
2025-03-03 16:42:17 +01:00 |
|
Rubidium
|
02f040b22a
|
Codechange: remove unused alloc_func.hpp includes
|
2025-02-24 20:00:19 +01:00 |
|
Peter Nelson
|
55a328c586
|
Codechange: Replace type-punning with std::bit_cast in squirrel. (#12224)
|
2024-03-09 17:13:17 +00:00 |
|
frosch
|
b1718478c8
|
Codechange: Replace old non-standard attributes with C++17/20 standard attributes.
|
2024-02-02 22:29:28 +01:00 |
|
frosch
|
8a4f0c4b02
|
Codechange: Simplify error throwing/catching in squirrel compiler.
|
2024-02-02 22:29:28 +01:00 |
|
Loïc Guilloux
|
c86d918921
|
Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698)
|
2024-01-09 09:39:13 +01:00 |
|
Rubidium
|
3a676a5af0
|
Codechange: replace static inline with static for non-class functions
|
2024-01-06 13:37:33 +01:00 |
|
Jonathan G Rennison
|
48b6b1844a
|
Change: Limit total script ops that can be consumed by a list valuate (#11670)
|
2024-01-02 19:02:12 +01:00 |
|
Rubidium
|
e0c670cbe8
|
Codechange: replace NULL with nullptr
|
2023-12-26 07:18:52 +01:00 |
|
Rubidium
|
f16399f4c9
|
Codechange: replace x.size() > 0 with !x.empty()
|
2023-10-20 23:05:43 +02:00 |
|
Peter Nelson
|
015fbafe34
|
Codechange: Add missing override specifiers to squirrel.
|
2023-09-25 21:27:45 +01:00 |
|
frosch
|
b6c8f301be
|
Codechange: Silence warnings about intentionally unused parameters.
|
2023-09-19 22:49:59 +02:00 |
|
Rubidium
|
4cf88e068a
|
Remove: unused include of cstdarg/stdarg.h
|
2023-09-16 23:09:53 +02:00 |
|
Rubidium
|
eaae0bb5e7
|
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
|
2023-07-19 19:30:14 +02:00 |
|
Rubidium
|
4fbc81003f
|
Codechange: make SQString::Create that supports std::string and use that
|
2023-06-20 15:25:17 +02:00 |
|
Rubidium
|
a541b8217d
|
Codechange: use fmt::format to build Squirrel error message
|
2023-06-07 08:02:58 +02:00 |
|
Loïc Guilloux
|
c880157518
|
Fix: Check max member count in squirrel classes (#10883)
Manual cherry-pick from https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98
|
2023-05-27 16:09:21 +00:00 |
|
Loïc Guilloux
|
db3b086a52
|
Fix #10867, 8b93e45: Squirrel compile error exception type changed (#10869)
|
2023-05-25 12:46:27 +02:00 |
|
Loïc Guilloux
|
8d2a0a7da4
|
Fix #10846: [Squirrel] Ensure sqvector size does not overflow (#10848)
|
2023-05-20 14:43:22 +00:00 |
|
Rubidium
|
e035705239
|
Codechange: introduce and use std::string variant of sq_throwerror
|
2023-05-14 22:54:10 +02:00 |
|
Rubidium
|
6e3d3c0e7c
|
Codechange: introduce std::string variant of sq_pushstring
|
2023-05-09 23:14:48 +02:00 |
|
PeterN
|
57f2d70fef
|
Change: Use cstdint instead of rolling our own types. (#10651)
|
2023-04-27 10:04:18 +02:00 |
|
Rubidium
|
8f24901843
|
Codechange: replace printf with PRINTF macros by fmt::format for scripts
|
2023-04-24 17:51:25 +02:00 |
|
Rubidium
|
484883e6e1
|
Cleanup: remove (unused) Squirrel code that used a hack to work around printf safety
|
2023-04-24 17:51:25 +02:00 |
|
Rubidium
|
5733142b0d
|
Codechange: use string/fmt instead of printf for Squirrel's Raise_Error
|
2023-04-24 17:51:25 +02:00 |
|