Martin Natano
aa87f85eef
Decouple <cstdint>
2023-04-21 22:13:41 +02:00
Brian Phlipot
4a6b1a743c
Enable more compiler warnings and treat them as errors.
2023-02-02 11:54:17 -08:00
Michael Sundqvist
0cba3579de
Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
...
Fix whitespace changes
2022-07-31 22:14:38 +02:00
quietly-turning
72cd6edf5c
give Lua access to tomcrypt's SHA256
...
This adds Lua hooks to CryptManager for libtomcrypt's SHA256 hash
function. It follows along with the C++ patterns Glenn wrote a decade
and a half ago for CryptMananger's MD5 and SHA1 hooks.
StepMania's CMakeProject-tomcrypt file has been updated to build with
sha256 symbols. Invoking cmake to build with system tomcrypt works fine
as-is.
Note that these functions return binary formatted strings, but themers
can convert to hexadecimal format using the global Lua function
BinaryToHex().
2020-09-09 15:37:01 -04:00
Martin Kröning
43ecbf918b
Use standard tomcrypt header
2020-06-21 22:55:00 +02:00
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07:00
Tatsh
b8a79cd0f6
Allow linking against system libraries for almost everything ( #1790 )
2019-02-16 08:32:52 -08:00
Kyzentun Keeslala
ffc0c0ecb2
Changed CRYPTMAN to use lua_pushlstring for its hashes and uuids because they have embedded zeros.
2015-07-16 16:12:46 -06:00
Ben "root" Anderson
a040c4a586
1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence
2013-11-30 09:50:54 -06:00
Jason Felds
28e5148dec
The big NULL replacement party part 5.
...
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Devin J. Pohly
7aac8c5ae3
war on -Werror, part 2: unused variables and dead code
2012-12-26 20:35:02 -05:00
AJ Kelly
1a1b6af828
[CryptManager] Add GenerateRandomUUID() Lua binding.
2011-08-27 15:26:17 -05:00
AJ Kelly
60669635b4
[CryptManager] Added SHA1File Lua binding.
2011-05-20 01:56:49 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00