Azamat H. Hackimov
51da6aaae8
Remove HEAPCHECK() macro as unused
2024-10-05 05:21:41 +03:00
Azamat H. Hackimov
0e959cb4de
Change error message for Int3()
2024-10-05 05:18:51 +03:00
Azamat H. Hackimov
3b83d493e2
Sync DMFC debug functionality with core codebase
2024-09-24 23:03:02 +03:00
Azamat H. Hackimov
cc9e054509
Avoid using ASSERT in interface headers
2024-09-24 23:03:02 +03:00
Jan Engelhardt
a3a31c77a2
Fix spello "seperate.."
2024-09-03 13:26:51 +02:00
Chris Sarbora
de6deea5b8
Fixup only remaining non-comment __LINUX__ reference in srcs
2024-07-12 18:18:39 -05:00
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
Thomas Roß
85dce8bef1
[DMFC] Fixed wrong type in forward declaration.
...
This fixes alot of warnings of type C4099 'PInfo': type name first seen using 'struct' now seen using 'class'.
2024-06-29 21:55:09 +02:00
GravisZro
f7ae658fe2
Modernize struct/enum/unions type declarations
2024-05-30 03:35:17 -04:00
GravisZro
9cf9781369
Properly format/use variadic macros
2024-05-24 20:57:17 -04:00
GravisZro
26b7776f43
Replace "ubyte" with "uint8_t"
2024-05-23 23:07:26 -04:00
GravisZro
9d3e361a35
Replace "sbyte" with "int8_t"
2024-05-23 23:05:05 -04:00
Thomas Roß
0c09eed1b7
[Win,x64] Replaced inline assembly for int3 with debug_break() to fix compile errors in x64 builds.
2024-05-15 19:55:45 +02: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
Ryan C. Gordon
0e55dee0de
x86-64 supports the int $3
opcode to trigger a breakpoint.
...
This architecture obviously didn't exist in 1999. :)
2024-05-02 14:56:11 -04:00
Chris Sarbora
e6ba1906c9
Remove MacOS (Classic) code and all references (1/3)
...
The MACINTOSH define refers to MacOS Classic (not OS X) which we do not
plan to support. Rather than carry the cruft forever, let's delete it.
NOTE: legacy/ is unused but we're keeping it around, so MACINTOSH uses
there are left alone.
Process used for this commit:
```
git rm -r mac
find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" \) \
-exec unifdef -UMACINTOSH -o {} {} \;
git restore legacy
git add .
```
Test Plan:
On Mac, build both Debug and Release
```
cmake --build --preset mac --config Debug
cmake --build --preset mac --config Release
```
2024-04-27 07:38:14 -07:00
Kevin Bentley
1f45163248
Updated source to reflect the license that this code is released under.
2024-04-20 09:57:49 -06:00
Thomas Otto
bd0122e5af
Use PInfo* instead of void*
...
This avoids a lot of casts back to this (and ever only this) type.
2024-04-20 16:33:22 +02:00
Azamat H. Hackimov
38128ea134
Additional clang-format
2024-04-17 00:25:04 +03:00
Kevin Bentley
61be1317b2
More clanging
2024-04-16 14:46:12 -06:00
Kevin Bentley
c6640cc631
clang-format on everything.
2024-04-16 12:56:40 -06:00
Kevin Bentley
df209742fc
Initial import
2024-04-15 21:43:29 -06:00