Zeal-Operating-System / ZealOS

The Zeal Operating System is a modernized fork of the 64-bit Temple Operating System, TempleOS.
https://zealos.net
The Unlicense
1.52k stars 71 forks source link

Where is GetStr()? #1

Closed ghost closed 3 years ago

ghost commented 3 years ago

I see that GetStr() is gone, and I had to transcribe it from TempleOS. Could you tell me why you removed it?

Midnoclose commented 3 years ago

AFAIK it was renamed to StrGet, a lot of the function and variable names have been changed for consistency.

TomAwezome commented 3 years ago

https://zeal-operating-system.github.io/ZealOS/Kernel/SerialDev/Message.CC.html#l238

Most function names were altered to use proper naming scheme, with nouns in front and verbs at the end. This makes it easier to find a function you don't know the name of in AutoComplete by typing the first half of it. GetStr was inconsistent with StrCompare, StrCopy, StrLen, StrPrint, etc., so the function name was fixed for consistency.

ghost commented 3 years ago

Is there a .DD page for all the functions that were changed?

TomAwezome commented 3 years ago

Somewhat, there are two places renames are logged. The first is the ChangeLog, which is kept up to date. https://zeal-operating-system.github.io/ZealOS/Doc/ChangeLog.DD.html

The second place to look is the HolyC to CosmiC conversion script, in the System/Utils folder. https://zeal-operating-system.github.io/ZealOS/System/Utils/ConversionScript.CC.html

Neither of these are guaranteed to be a complete list, but it should help figure out most if not all.