Commit Graph

79 Commits (6090bfcdab36c7fd4a008c463782c11a10fedafb)

Author SHA1 Message Date
Evil Eye 54429cd23b Parse special characters that have been put back as names too 11 months ago
Shi Han a90e3b8c3b Move from std::atoi to std::from_char 2 years ago
Evil Eye c6a545766c Remove redundant string_view 2 years ago
unknown 868a398b86 Allow comparison operators of arbitrary length 2 years ago
Evil Eye b19ad079c2 Ignore special characters preceding script commands 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid 410a2881fe
Add comma to the last array element to prevent putting multiple elements on a single line 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
elsid bef15edf0b
Remove redundant ostream, istream, iostream and sstream includes
* Replace by std::to_string and operator+ where possible.
* Move the code requiring to include <sstream> from .hpp to .cpp files.
3 years ago
Evil Eye bee94e2afc Treat commas in scripts as whitespace 3 years ago
Evil Eye fef902617a Parse integer format arguments as variable names 3 years ago
Evil Eye c679565893 Make names starting with digits use normal name parsing code 3 years ago
Evil Eye 6d7cb38834 Remove duplicate GetSquareRoot implementation 3 years ago
Evil Eye c1177d7ffe Allow unquoted string arguments to start with . and - 4 years ago
Alexei Dobrohotov 53f91a3aa5
Merge pull request #3018 from akortunov/emplace
Use emplace_back instead of push_back
4 years ago
Bret Curtis 5a824d0333 components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 4 years ago
Andrei Kortunov 065ed5138e Use emplace_back instead of push_back 4 years ago
Evil Eye 3875b837bc make MenuMode, Random, GetSecondsPassed regular functions 5 years ago
Evil Eye f0e2ee45fa reuse ImplicitRef and ExplicitRef for enable, disable, getdisabled, startscript; move scriptrunning and stopscript 5 years ago
Evil Eye e07fa37fa3 ignore final whitespace/comments 5 years ago
Evil Eye fea7e68fe9 silence operator precedence warning 5 years ago
Evil Eye 8dc081a60d ignore unterminated empty strings 5 years ago
Andrei Kortunov 45ab6e1430 Implement UTF-8 support for script parser (bug #4598) 5 years ago
Capostrophic 17dce28705 Improve compiler messages 6 years ago
Andrei Kortunov 3032b177a1 Remove redundant includes 6 years ago
Marc Zinnschlag 327f36b081 Merged pull request #1876 6 years ago
Andrei Kortunov a560a9e00d Allow messageboxes arguments to have newline characters (bug #3836) 6 years ago
Capostrophic a06c9c767d Treat <> and << operators as < and >< and >> as > in scripts
(bug #4597)
6 years ago
Marc Zinnschlag 2dff3aab22 allow . and - in the name part of a begin script statement, but not at the beginning of a name. Fixes #4061 7 years ago
Allofich e095817ac2 Treat =< and => as == in scripts
(Fixes #3744)
8 years ago
scrawl a5da3a269e Fix shadowing warnings 8 years ago
Marc Zinnschlag 06efd72a89 allow keywords as strings in messagebox instruction (Fixes #2991) 9 years ago
Marc Zinnschlag 435e52306a adjusted a workaround for names starting with digits that interfered with some numerical expressions written without spaces 9 years ago
Marc Zinnschlag 4d94f38f4b replaced context-sensitive implementation of allowing digits at the beginning of names with a more general implementation (Fixes #1730) 9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
Marc Zinnschlag 20106bb90f allow keywords in quotes (Fixes #2794) 10 years ago
Marc Zinnschlag 375d426dd0 check for premature end of scripts more consistently 10 years ago
Marc Zinnschlag ac7c2a1473 some cleanup 10 years ago
Marc Zinnschlag bbbf431ae3 double bug in script name handling workaround (Fixes #1730) 10 years ago
Marc Zinnschlag 120873a66d another workaround for script translation messup 10 years ago
Marc Zinnschlag 057d0913d6 Merge branch 'scriptfixes' 10 years ago
Marc Zinnschlag fc1d42a7d2 fixed exclusion for certain characters at the start of names 10 years ago
Marc Zinnschlag 5cb94da9c5 compensate for incorrect minus character in translated dialogue script (Fixes #2207) 10 years ago
Marc Zinnschlag ed5387fb8c replaced stay [ ignoring implementation with one that does not interfere with other workarounds (Fixes #2205) 10 years ago
Marc Zinnschlag cda0363f29 allow a space in the middle of multi-character comparison operators (Fixes #2185) 10 years ago
Marc Zinnschlag 95dfb07816 make [ a whitespace character in scripts (Fixes #2126) 10 years ago
Marc Zinnschlag a0dbb40c8e Allow script names starting with digits (Fixes #1730) 10 years ago
Marc Zinnschlag 563c2e5730 be a bit more relaxed about allowing - in names (Fixes #1593) 11 years ago
Marc Zinnschlag c03bd8ebb6 allow [] as aliases for () 11 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago