These functions fit better into more specialized header rather than
generic "support".
It also prevents a number of false-positive warnings when compiling with
MSVC compiler (because MSVC generates warning per included header, with
different message each time - so it cannot be easily filtered-out after
compilation).
- Update DOSBox Staging Team copyright span to year 2021 (DOSBox Team
copyrights left untouched).
- Add DOSBox Staging Team copyright line to files we extensively
modified throughout 2020 (we add our copyright lines when number of
non-trivially modified lines gets close to 50%).
- Change "dosbox-staging team" to "DOSBox Staging Team", in line with
updated branding.
- Change MAME license identifiers to SPDX license identifiers.
- Cleanup some excessive whitespace around copyright statements.
- Do few adjustments to include order.
- Add few missing copyright identifiers (GPL-2.0-or-later,
LGPL-2.1-or-later, BSD-3-Clause) as appropriate for specific file.
- Move SPDX identifiers to the top in scripts for consistency with other
source files.
- Remove old copy of GPL2 license in italian from old translations.
New header is introduced to gradually move our new string-related helper
functions in there (out of support header).
Rewrite starts_with function, as it was triggering debug assertion
in MSVC: "Expression: cannot seek string iterator after end" (when
calling starts_with("opengl", "auto").
Limit starts_with interface only to our actual usecases, such as:
starts_with("prefix", text)
This way we can save time on calculating string length of hardcoded
prefix.
Drop ends_with function, as we don't use it any more - the code using it
was refactored some time ago.