Merging Live++ 1.5.0

#rb none
#rnx

[CL 7277271 by Ben Marsh in Dev-Build branch]
This commit is contained in:
Ben Marsh
2019-07-11 12:59:10 -04:00
parent 092d431659
commit 1c6a3b0220
65 changed files with 2885 additions and 1051 deletions

View File

@@ -361,6 +361,18 @@ void ClientUserCommandThread::TriggerRecompile(void)
}
void ClientUserCommandThread::LogMessage(const wchar_t* message)
{
const size_t lengthWithoutNull = wcslen(message);
const size_t payloadSize = sizeof(wchar_t) * (lengthWithoutNull + 1u);
ProxyCommand<commands::LogMessage>* proxy = new ProxyCommand<commands::LogMessage>(false, payloadSize);
proxy->m_payload.Write(message, payloadSize);
PushUserCommand(proxy);
}
void ClientUserCommandThread::BuildPatch(const wchar_t* moduleNames[], const wchar_t* objPaths[], const wchar_t* amalgamatedObjPaths[], unsigned int count)
{
const size_t perFileSize = sizeof(wchar_t) * MAX_PATH * 3u;