Chris Sarbora
3da53e567f
Programmatically replace all __LINUX__
with POSIX
...
Steps:
```sh
srcs=$(mktemp)
find . -name "*.cpp" -or -name "*.c" -or -name "*.h" -or -name "*.hpp" -or -name "*.cc" -or -name "*.hh" > $srcs
xargs sed -i 's/ifndef __LINUX__/if !defined(POSIX)/' < $srcs
xargs sed -i 's/ifdef __LINUX__/if defined(POSIX)/' < $srcs
xargs sed -i 's/defined(__LINUX__)/defined(POSIX)/' < $srcs
```
2024-07-12 18:11:54 -05:00
Louis Gombert
5372e01323
Run clang-format on legacy code
2024-06-15 20:13:59 +02:00
GravisZro
5e5e0c99c3
Replace "short" with "int16_t" and fix missing headers
2024-05-23 23:49:31 -04:00
JeodC
a4ab78192c
Join license header with historical commentrs
...
Join the license header with historical comments using a separator so IDEs can correctly parse the initial header.
Also use .gitattributes to ensure all files are LF.
2024-05-08 14:41:19 -04:00
Louis Gombert
31b63bb79f
Add license to legacy utilities
...
Generated using script:
for file in \$(find ./legacy -type f | \grep -E "\.cpp|\.h")
do
mv $file temp.xxx
cp gplheader $file
cat temp.xxx >> $file
done
2024-04-20 18:33:12 +02:00
Louis Gombert
b0f7dc1437
Add D3 utilities source (from kevinbentley/add-missing)
...
Kevin Bentley <kevin.bentley@gmail.com>
2024-04-20 18:33:12 +02:00