<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">This message is for anyone hacking on QF/n itself:</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">During my recent DDTool work, I also revised the .gitattributes file.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">QF/n is truly cross-platform -- it might surprise some of you to know that I've been developing it mostly on a Mac for the past few years (though I do have a windows machine for checking things). If you have ever worked on a project that has both Windows and Unix users, you've surely known the "fun" of mixing newline styles.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Until this weekend, the .gitattributes file had specified the various cs/csproj/sln files and some others as using windows newlines ("crlf"). I've changed this so now they are just "text" (as opposed to binary). The repo will now store text files in Unix newlines ("lf"), but your local repo will use your system-native newlines.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">If you clone the repo anew, you won't notice anything. It will seem normal as ever.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">If you update an existing repo, then you might see mixed-line-ending messages, because git does NOT re-normalize your local repo. I've experimented with this change on both platforms:<br><ul><li>Windows users: your files were already crlf, and changes you make will keep using crlf, so you probably won't notice anything.</li><li>Unix users: your files were crlf, and new changes you make will probably add lf-without-cr, so you might see the git warnings.</li></ul><div>As I said earlier, even if you do see warnings, all text-file commits will save only "lf" endings to the repo, so your PRs should be fine. If you're seeing the warnings and want to get past them once and for all, just re-clone your repo, and that should do it.</div><div><br></div><div>-Grant</div></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 20, 2023 at 12:39 PM Grant Birchmeier <<a href="mailto:gbirchmeier@connamara.com" target="_blank">gbirchmeier@connamara.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small;color:rgb(0,0,0)">Hi all,</div><div style="font-size:small;color:rgb(0,0,0)"><br></div><div style="font-size:small;color:rgb(0,0,0)">I'm happy to announce a new C#-based code generator, DDTool! Those of you using only nuget packages probably won't care, but if you're maintaining custom QF/n builds then you will probably appreciate this very much!</div><div style="font-size:small;color:rgb(0,0,0)"><br></div><div style="font-size:small;color:rgb(0,0,0)">I spent the past week banging it out in a new C# solution, with as few dependencies as possible. The first milestone was to make its output match the ruby-generated code exactly. After that, I fixed some other quirks in the generated code (and will probably do some more of that in the coming weeks/months).</div><div style="font-size:small;color:rgb(0,0,0)"><br></div><div style="font-size:small;color:rgb(0,0,0)">The easiest way to run it is "pwsh scripts/Generate-Message-Sources.ps1" which calls "dotnet run" to build and run it. (Of course, you won't see any generated changes if you haven't altered the DDs.) If you want to take a deeper look, check out the Readme and solution in the DDTools/ folder.</div><div style="font-size:small;color:rgb(0,0,0)"><br></div><div style="font-size:small;color:rgb(0,0,0)">(I still love Ruby, but I freely admit that the Ruby-based generator should have been replaced a long time ago. Farewell, ruby generator!)</div><div style="font-size:small;color:rgb(0,0,0)"><br></div><div style="font-size:small;color:rgb(0,0,0)">-Grant</div><div style="font-size:small;color:rgb(0,0,0)"><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span><div dir="ltr" style="margin-left:0pt" align="left"><table style="border:none;border-collapse:collapse"><colgroup><col width="122"><col width="298"></colgroup><tbody><tr style="height:84.75pt"><td style="vertical-align:top;overflow:hidden"><span style="border:none;display:inline-block;overflow:hidden;width:105px;height:83px"><a href="https://www.connamara.com" target="_blank"><img src="https://lh4.googleusercontent.com/1ZKItKWIoLUepUXvEXgEeZWBlntjas7UxLPLuLLnsApbxAcRepKELA_SwZBe1BWEZ3huC6sJdz2ZzvUYLNgu56Zcm8bo2R_iLzXZVjDmMo67675iop6mEMOg_Y6q8Mtz7ylOW9t8RazXt-tyJtEyhE0" width="105" height="83" style="margin-left:0px;margin-top:0px"></a></span></td><td style="vertical-align:top;padding:5pt;overflow:hidden"><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline">Grant Birchmeier</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline">Sr. Software Engineer, Connamara</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline"><a href="mailto:gbirchmeier@connamara.com" target="_blank">gbirchmeier@connamara.com</a></span></p></td></tr></tbody></table></div></span></div></div></div></div>
<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span><div dir="ltr" style="margin-left:0pt" align="left"><table style="border:none;border-collapse:collapse"><colgroup><col width="122"><col width="298"></colgroup><tbody><tr style="height:84.75pt"><td style="vertical-align:top;overflow:hidden"><span style="border:none;display:inline-block;overflow:hidden;width:105px;height:83px"><a href="https://www.connamara.com" target="_blank"><img src="https://lh4.googleusercontent.com/1ZKItKWIoLUepUXvEXgEeZWBlntjas7UxLPLuLLnsApbxAcRepKELA_SwZBe1BWEZ3huC6sJdz2ZzvUYLNgu56Zcm8bo2R_iLzXZVjDmMo67675iop6mEMOg_Y6q8Mtz7ylOW9t8RazXt-tyJtEyhE0" width="105" height="83" style="margin-left:0px;margin-top:0px"></a></span></td><td style="vertical-align:top;padding:5pt;overflow:hidden"><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline">Grant Birchmeier</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline">Sr. Software Engineer, Connamara</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline"><a href="mailto:gbirchmeier@connamara.com" target="_blank">gbirchmeier@connamara.com</a></span></p></td></tr></tbody></table></div></span></div></div></div></div>
<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span>