U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2022-06-16T19:31:33ZRedmine
Redmine Bug #2246 (New): ide BOM UTF-16 does not work wellhttps://www.ultimatepp.org/redmine/issues/22462022-06-16T19:31:33ZMiroslav Fidlercxl@ntllib.orgBug #2245 (New): ide view hard limit should be deduced based on memory maybehttps://www.ultimatepp.org/redmine/issues/22452022-06-16T19:31:14ZMiroslav Fidlercxl@ntllib.orgBug #2243 (New): Assist issueshttps://www.ultimatepp.org/redmine/issues/22432022-04-11T15:04:48ZMiroslav Fidlercxl@ntllib.org
<p><a class="external" href="https://www.ultimatepp.org/forums/index.php?t=msg&th=11783&start=0x%x">https://www.ultimatepp.org/forums/index.php?t=msg&th=11783&start=0x%x</a>%</p> Bug #2242 (New): Should ConvertDouble do .g15?https://www.ultimatepp.org/redmine/issues/22422022-04-11T14:59:52ZMiroslav Fidlercxl@ntllib.orgBug #2231 (New): Check Miriam Libre cmap (or even other fonts) - implement CFF in pdfhttps://www.ultimatepp.org/redmine/issues/22312022-01-06T08:43:34ZMiroslav Fidlercxl@ntllib.orgBug #2227 (New): Debugger previous - next framehttps://www.ultimatepp.org/redmine/issues/22272021-12-09T12:21:54ZMiroslav Fidlercxl@ntllib.org
<p><a class="external" href="https://www.ultimatepp.org/forums/index.php?t=msg&goto=57762&#msg_57762">https://www.ultimatepp.org/forums/index.php?t=msg&goto=57762&#msg_57762</a></p> Bug #2215 (New): Use host API for NLS sortinghttps://www.ultimatepp.org/redmine/issues/22152021-08-27T08:15:57ZMiroslav Fidlercxl@ntllib.org
<p><a class="external" href="https://docs.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-comparestringw">https://docs.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-comparestringw</a></p>
<p><a class="external" href="https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/ucol_8h.html#a8d05bb4a4badbe5870b483fc51bd0ee8">https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/ucol_8h.html#a8d05bb4a4badbe5870b483fc51bd0ee8</a></p> Bug #2211 (New): git revert does not workhttps://www.ultimatepp.org/redmine/issues/22112021-08-07T09:49:47ZMiroslav Fidlercxl@ntllib.orgBug #2210 (New): se/FP80 crashes pdb debuggerhttps://www.ultimatepp.org/redmine/issues/22102021-08-06T07:53:26ZMiroslav Fidlercxl@ntllib.org
<p>#include <Core/Core.h></p>
<p>using namespace Upp;</p>
<p>#ifdef <i>SIZEOF_INT128</i> // GNU C<br /> static inline<br /> uint64_t mulhi64(uint64_t a, uint64_t b) {<br /> unsigned __int128 prod = a * (unsigned __int128)b;<br /> return prod >> 64;<br /> }</p>
<p>#elif defined(_M_X64) || defined(_M_ARM64) // MSVC<br /> // MSVC for x86-64 or AArch64<br /> // possibly also || defined(_M_IA64) || defined(_WIN64)<br /> // but the docs only guarantee x86-64! Don't use <strong>just</strong> _WIN64; it doesn't include AArch64 Android / Linux
<p>// <a class="external" href="https://docs.microsoft.com/en-gb/cpp/intrinsics/umulh">https://docs.microsoft.com/en-gb/cpp/intrinsics/umulh</a><br /> #include <intrin.h><br /> #define mulhi64 __umulh</p>
</p>
<p>#elif defined(_M_IA64) // || defined(_M_ARM) // MSVC again<br /> // <a class="external" href="https://docs.microsoft.com/en-gb/cpp/intrinsics/umul128">https://docs.microsoft.com/en-gb/cpp/intrinsics/umul128</a><br /> // incorrectly say that _umul128 is available for ARM<br /> // which would be weird because there's no single insn on AArch32<br /> #include <intrin.h><br /> static inline<br /> uint64_t mulhi64(uint64_t a, uint64_t b) {<br /> unsigned __int64 HighProduct;<br /> (void)_umul128(a, b, &HighProduct);<br /> return HighProduct;<br /> }</p>
<p>#else</p>
<ol>
<li>undef HAVE_FAST_mul64<br /> uint64_t mulhi64(uint64_t a, uint64_t b); // non-inline prototype<br /> // or you might want to define @craigster0's version here so it can inline.<br />#endif</li>
</ol>
<p>struct FP80 {<br /> uint64 m;<br /> int e;</p>
<pre><code>void Set(uint64 x) {<br /> int q = SignificantBits64(x);<br /> m = x << (64 - q);<br /> e = q - 64;<br /> }</code></pre>
<pre><code>void operator*=(const FP80& b) {<br /> m = mulhi64(m, b.m);<br /> e += b.e + 64;<br /> }</code></pre>
<pre><code>void Div2()
{<br /> e--;<br /> }</code></pre>
<pre><code>String ToString() const { return AsString(m) << ", exp: " << e << ", dbl: " << m * pow(2, e); }<br />};</code></pre>
<p>FP80 operator+(FP80 a, FP80 b)
{<br /> int shift = a.e - b.e; // <<< Crash here on breakpoint and going Locals<br /> if(shift < 0) {<br /> Swap(a, b);<br /> shift = -shift;<br /> }<br /> if(shift > 64)<br /> return a;<br /> a.m += b.m >> shift;<br /> return a;<br />}</p>
<p>CONSOLE_APP_MAIN
{<br /> FP80 x;<br /> x.Set(1);<br /> <abbr title="x">DDUMP</abbr>;<br /> FP80 ten;<br /> ten.Set(10);<br /> x *= ten;<br /> <abbr title="x">DDUMP</abbr>;<br /> <abbr title="x + ten">DDUMP</abbr>;<br /> <abbr title="ten + x">DDUMP</abbr>;<br />}</p> Bug #2204 (New): reference/FilterStream did not compile, check autotesthttps://www.ultimatepp.org/redmine/issues/22042021-07-30T09:46:19ZMiroslav Fidlercxl@ntllib.orgBug #2126 (New): TheIDE doesn't compile from archive on Debian due to lack of "msse4.1" flag https://www.ultimatepp.org/redmine/issues/21262020-12-08T22:25:47ZZbigniew Rebacz
<p><a class="external" href="https://www.ultimatepp.org/forums/index.php?t=post&reply_to=55760x%x">https://www.ultimatepp.org/forums/index.php?t=post&reply_to=55760x%x</a>%</p> Bug #1693 (New): FileSel layout glitch on Windows 10 (Create directory button out of window)https://www.ultimatepp.org/redmine/issues/16932017-04-25T21:00:40ZZbigniew Rebacz
<p>The right corner button is out of window. I belive the two buttons should be part of regullar layout, not added via code injection like we do it today.</p> Bug #1667 (New): TheIde crash after suspend (linux)https://www.ultimatepp.org/redmine/issues/16672017-03-29T19:11:25ZZbigniew Rebacz
<p><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=post&reply_to=47800x%x">http://www.ultimatepp.org/forums/index.php?t=post&reply_to=47800x%x</a>%</p> Bug #1394 (New): Japanese characters are too small in CodeEditorhttps://www.ultimatepp.org/redmine/issues/13942016-03-06T20:48:02ZZbigniew Rebacz
<p>Japanese characters is too small in code editor - probably in other place the problem can also be spotted.</p>
<p>In comparison system text editor (Kate - KDE).</p> Bug #1341 (In Progress): Menubar icon bar on Windows is too high due to HiDPI featurehttps://www.ultimatepp.org/redmine/issues/13412015-11-21T16:33:00ZZbigniew Rebacz
<p><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&th=9464&start=0x%x">http://www.ultimatepp.org/forums/index.php?t=msg&th=9464&start=0x%x</a>%</p>