|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2018-2-27. : 9:46 pm] thekian -- CecilSunkureCecilSunkure shouted: Or I'll have to open a can of WOOP "Without Objects Object-Oriented Programming"?[2018-2-27. : 3:06 pm] Suicidal Insanity -- And all file I/O in scmdraft has used unicode paths for the past year. Just the user interface doesn't[2018-2-27. : 3:06 pm] Suicidal Insanity -- I changed it that the UNICODE interface also includes ANSI version of all functions that grab data from a file in the MPQ, but opening / closing files on disk use UNICODE[2018-2-27. : 3:00 pm] jjf28 -- I don't even know if SFmpq supported unicode, will be one of those "fun" little adventures ![]() [2018-2-27. : 2:57 pm] Suicidal Insanity -- Step one was rewriting the MPQ library interface to allow ANSI filenames in unicode builds - darkwizzard hadn't supported that, which meant I would have had to change all internal MPQ file string tables to unicode.[2018-2-27. : 2:56 pm] Suicidal Insanity -- It was hard enough to motivate myself to work on unicode port, cause looking for every instance of a char string and changing to TCHAR is really, really, fun Especially if the data is all in unsigned char arrays instead of BYTE or unsigned __int8[2018-2-27. : 2:55 pm] Suicidal Insanity -- Ya ... happened to me a bit with the triggers, but I knew lots of stuff would break because it was a massive rewrite of a suboptimal component.[2018-2-27. : 2:53 pm] jjf28 -- Suicidal InsanitySuicidal Insanity shouted: jjf28 Yay unit tests .... annoying enough to do em at work whee I'm paid for it, and that isn't even UI code yea they're annoying to write.. but I've gotten pretty sick of refactoring one piece and something else breaking so.. unit tests ![]() ![]() [2018-2-27. : 2:39 pm] Suicidal Insanity -- jjf28jjf28 shouted: great time to make the switch though, just about to do a re-architecture & put unit tests on everything Yay unit tests .... annoying enough to do em at work whee I'm paid for it, and that isn't even UI code ![]() ![]() [2018-2-27. : 2:28 pm] Suicidal Insanity -- I've converting 95% of my code to use TCHARs, so I can soon switch from ANSI -> unicode and convert SC data using the current codepage, and users won't notice any difference to before. =)[2018-2-27. : 2:26 pm] Suicidal Insanity -- jjf28jjf28 shouted: so it can't "only support UTF-8" You misunderstood - SC supports ansi, and current computer char set. And if the map does not use EUDs, it also uses UTF-8 as a fallback. But only then[2018-2-27. : 1:35 pm] jjf28 -- I just hope the VS compiler won't try to kill me when I start using char* types in the standard library functions when the compiler character set is unicode[2018-2-27. : 1:04 pm] jjf28 -- though UTF-8 seems pretty unix/linux standard so... might want to make a boundary saying anything passed into or returned from the windows UI layer is strictly UTF8 (or strictly the #defined format)[2018-2-27. : 12:30 pm] jjf28 -- looks like windows strongly encourages using UTF-16 and converting to your final storage format at a later step[2018-2-27. : 11:45 am] jjf28 -- great time to make the switch though, just about to do a re-architecture & put unit tests on everything ![]() [2018-2-27. : 11:16 am] jjf28 -- if I have to convert the program from multibyte to a wide char implementation that will definitely be a pain; maybe I can use the wide-char methods without moving the entire program to wide-chars but that sounds architecturally dangerous[2018-2-27. : 11:08 am] jjf28 -- or maybe I just need to read the specs https://www.fileformat.info/info/unicode/utf8.htm ![]() [2018-2-27. : 11:01 am] jjf28 -- Suicidal InsanitySuicidal Insanity shouted: Anyways, as long as SC only supports UTF-8 if you do not use EUDs adding that into scmdraft is low priority the hell... I've always used 8-bit ascii and those in turn work in SC[2018-2-27. : 9:16 am] Suicidal Insanity -- Anyways, as long as SC only supports UTF-8 if you do not use EUDs adding that into scmdraft is low priority[2018-2-27. : 8:41 am] Suicidal Insanity -- jjf28jjf28 shouted: does SCMDraft accept utf8 unicode? But soon I should be able to swap to a Unicode build[2018-2-27. : 8:41 am] Suicidal Insanity -- Mini Moose 2707Mini Moose 2707 shouted: Anyone ever stop and think it's weird that it's SCMD2 0.9.03 and not SCMD 2.9.03? I don't ![]() [2018-2-27. : 8:40 am] Suicidal Insanity -- jjf28jjf28 shouted: does SCMDraft accept utf8 unicode? Right now its all just sytem locale.[2018-2-27. : 8:40 am] Suicidal Insanity -- LanthanideLanthanide shouted: @SI maybe you did, but you didn't say so in the thread / publish a new version Definitely uploaded a new version, may not have posted in the thread[2018-2-27. : 5:39 am] Lanthanide -- @SI maybe you did, but you didn't say so in the thread / publish a new version[2018-2-27. : 1:25 am] Moose -- Actually the title bar says ScmDraft 2.0 (Alpha 0.9.03) ... this versioning is cryptic[2018-2-27. : 1:25 am] Moose -- Anyone ever stop and think it's weird that it's SCMD2 0.9.03 and not SCMD 2.9.03?[2018-2-27. : 1:23 am] jjf28 -- and when it outputs the same text is it back to 8-bit ascii? I suppose that could be settings driven or even system locale driven[2018-2-27. : 1:16 am] jjf28 -- KrayZeeKrayZee shouted: Good, no sex in the shoutbox. if you're propositioning me I'm not interested[2018-2-27. : 12:26 am] Lanthanide -- @SI - any fix for the 2^31 value being clipped in text trigger editor?[2018-2-27. : 12:10 am] Suicidal Insanity -- Anyways, I have a third attempt at fixing the Korean input, if you have a minute I'll upload that build too[2018-2-27. : 12:07 am] trgk -- Suicidal InsanitySuicidal Insanity shouted: But I think I tracked down the string corruption, and if I am correct then all strings used in Transmission actions are being ignored by trigedit plus Oh that had been fixed.. but I havent updated TEP here for ages.[2018-2-27. : 12:00 am] Suicidal Insanity -- LanthanideLanthanide shouted: did you work out why the older recovered map was invalid? The data isn't a proper MPQ archive[2018-2-26. : 11:47 pm] Suicidal Insanity -- LanthanideLanthanide shouted: "queen bottom" shouldn't be a transmission... Well, maybe the text was different before, but in the map you sent me I think its morphed to that[2018-2-26. : 11:44 pm] Suicidal Insanity -- LanthanideLanthanide shouted: seems like most people don't bother reporting bugs when they find them, since I've now found bugs in text trigger editor, scmdraft, chkdraft and trigedit plus Ya, I always wonder if nobody uses any of the editors, or if nobody ever reports bugs, because there are so few bug reports coming in[2018-2-26. : 11:40 pm] Lanthanide -- I think the window is called Map Properties or something? the one where you can select the players + race[2018-2-26. : 11:40 pm] Lanthanide -- btw, a minor thing, the menu item for Map Description doesn't match the actual window title[2018-2-26. : 11:39 pm] Lanthanide -- seems like most people don't bother reporting bugs when they find them, since I've now found bugs in text trigger editor, scmdraft, chkdraft and trigedit plus |