- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
(+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten
No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
217 lines
7.4 KiB
JSON
217 lines
7.4 KiB
JSON
{
|
|
"reference": "EterBase/Utils.cpp",
|
|
"reference_sha256": "031ffe819a55e0cea829e0da23e490ebf6b17dca8e2e0c9151350081b12f59b3",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CreateTempFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:CreateTempFileName"
|
|
],
|
|
"note": "GetTempPath/GetTempFileName -> $TMPDIR + mkstemp (same unique-file contract).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetFilePathNameExtension": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetFilePathNameExtension"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetFileExtension": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetFileExtension"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetFileNameParts": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetFileNameParts"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetOldIndexingName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetOldIndexingName"
|
|
],
|
|
"note": "_ecvt(Index,256) truncated at dec -> snprintf %u of |Index| (same digits).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetIndexingName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetIndexingName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetOnlyFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetOnlyFileName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetExceptionPathName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetExceptionPathName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetOnlyPathName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetOnlyPathName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetLocalFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetLocalFileName"
|
|
],
|
|
"note": "40250 body; min -> std::min.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetWorkingFolder": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetWorkingFolder"
|
|
],
|
|
"note": "_getcwd -> getcwd.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"StringLowers": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:StringLowers"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"StringPath": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:StringPath"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"PrintAsciiData": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:PrintAsciiData"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"fMIN": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:fMIN"
|
|
],
|
|
"note": "Exact 40250 pure float comparison; platform unit retains its OS-specific functions.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"fMAX": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:fMAX"
|
|
],
|
|
"note": "Exact 40250 pure float comparison; fixes zero-distance camera when map becomes ready.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"fMINMAX": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:fMINMAX"
|
|
],
|
|
"note": "Exact 40250 pure float clamp in platform translation unit.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"IsFile": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:IsFile"
|
|
],
|
|
"note": "_access -> access.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"IsGlobalFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:IsGlobalFileName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"MyCreateDirectory": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:MyCreateDirectory"
|
|
],
|
|
"note": "40250 body; CreateDirectory -> mkdir(0755).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"RemoveAllDirectory": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:RemoveAllDirectory"
|
|
],
|
|
"note": "CDirRemover (CDir walk + DeleteFile/RemoveDirectory) -> std::filesystem::remove_all.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"StringExceptCharacter": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:StringExceptCharacter"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"SplitLine": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:SplitLine"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"GetExcutedFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:GetExcutedFileName"
|
|
],
|
|
"note": "GetModuleFileName(NULL) has no platform equivalent; returns the working folder.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"_getf": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:_getf"
|
|
],
|
|
"note": "_vsnprintf -> vsnprintf.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
},
|
|
"CommandLineToArgv": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterBase/Utils.cpp:CommandLineToArgv"
|
|
],
|
|
"note": "40250 body; GlobalAlloc -> malloc, BOOLEAN/PUCHAR -> BOOL/unsigned char*.",
|
|
"test": "tests/port/port_utils_test.cpp"
|
|
}
|
|
}
|
|
}
|