U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2020-05-21T14:06:43ZRedmine
Redmine Bug #2035 (Approved): Core: Fix build of uppsrc/Core/Cpu.cpp for Clang compilers before 3.8.0 ver...https://www.ultimatepp.org/redmine/issues/20352020-05-21T14:06:43ZSender Ghost
<p>There is following error when using Clang 3.4.1 compiler on FreeBSD 10.4 amd64 (for Intel Core 2 Quad CPU):<br /><pre>In file included from <..>/upp/uppsrc/Core/Ops.h:347:
/usr/include/clang/3.4.1/smmintrin.h:28:2: error: "SSE4.1 instruction set not enabled"
#error "SSE4.1 instruction set not enabled"</pre></p>
<p>This is because of usage of<br /><pre>#ifndef __SSE4_1__
#error "SSE4.1 instruction set not enabled"</pre></p>
<p>for <strong>smmintrin.h</strong> include before Clang 3.8.0 version:<br /><a class="external" href="https://github.com/llvm/llvm-project/blob/llvmorg-3.4.1/clang/lib/Headers/smmintrin.h#L27-L28">https://github.com/llvm/llvm-project/blob/llvmorg-3.4.1/clang/lib/Headers/smmintrin.h#L27-L28</a><br /><a class="external" href="https://github.com/llvm/llvm-project/blob/llvmorg-3.7.1/clang/lib/Headers/smmintrin.h#L27-L28">https://github.com/llvm/llvm-project/blob/llvmorg-3.7.1/clang/lib/Headers/smmintrin.h#L27-L28</a><br /><a class="external" href="https://github.com/llvm/llvm-project/blob/llvmorg-3.8.0/clang/lib/Headers/smmintrin.h#L26">https://github.com/llvm/llvm-project/blob/llvmorg-3.8.0/clang/lib/Headers/smmintrin.h#L26</a></p>
<p>The same source code builds ok with using Clang 9.0.1 compiler.</p>
<p>I propose to use <strong>emmintrin.h</strong> (SSE2) instead of <strong>smmintrin.h</strong> (SSE4.1) include and check for <strong>__SSE2__</strong> define, because there is usage of SSE2 intrinsics in <strong>huge_memsetd</strong> and <strong>memsetd</strong> functions:<br /><a class="external" href="https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_set1_epi32&expand=4946">https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_set1_epi32&expand=4946</a></p>
<p>Some examples of how to use various <strong>*mmintrin.h</strong> header files:<br />uppsrc/plugin/Eigen/Eigen/src/Core/util/ConfigureVectorization.h:<br /><a class="external" href="https://github.com/ultimatepp/ultimatepp/blob/f963516253431f6cb8a7145ee6f3f8a5f61dd567/uppsrc/plugin/Eigen/Eigen/src/Core/util/ConfigureVectorization.h#L336-L359">https://github.com/ultimatepp/ultimatepp/blob/f963516253431f6cb8a7145ee6f3f8a5f61dd567/uppsrc/plugin/Eigen/Eigen/src/Core/util/ConfigureVectorization.h#L336-L359</a><br />uppsrc/plugin/glm/simd/platform.h:<br /><a class="external" href="https://github.com/ultimatepp/ultimatepp/blob/d10614cdcbacb498faae6685078a0fe463a5a4c9/uppsrc/plugin/glm/simd/platform.h#L325-L342">https://github.com/ultimatepp/ultimatepp/blob/d10614cdcbacb498faae6685078a0fe463a5a4c9/uppsrc/plugin/glm/simd/platform.h#L325-L342</a></p> Feature #1992 (Approved): IconDes: Line endings support for image designerhttps://www.ultimatepp.org/redmine/issues/19922019-10-09T02:20:03ZSender Ghost
<p>Similar to the current (at <a href="https://github.com/ultimatepp/mirror/commit/5a5cdb275ac0b079332f6fe07e3638347b166244" class="external">13633</a> revision) TheIDE's layout designer, the image designer uses "\r\n" line endings to save *.iml file(s) by default. As a consequence, this may affect creation of patches for *.iml file(s), which may include changes for line endings, among other things. There was a need to convert affected *.iml file(s) to previous line endings state to fix this.</p>
<p>Some examples of LF ("\n") *.iml files:<br /><a href="https://github.com/ultimatepp/mirror/blob/1f34594209f45bca6f917a2a2367c17846835a52/uppsrc/CodeEditor/CodeEditor.iml" class="external">uppsrc/CodeEditor/CodeEditor.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/8d3d7c1f07b8cfca2334ddad869f4be86c21695c/uppsrc/CtrlCore/Ctrl.iml" class="external">uppsrc/CtrlCore/Ctrl.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/3f86269de04ab592df026b0568d9b4b63f1c9c9b/uppsrc/IconDes/IconDes.iml" class="external">uppsrc/IconDes/IconDes.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/544d7740f7008f080c5c9771df999005b645bd73/uppsrc/ide/ide.iml" class="external">uppsrc/ide/ide.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/d1eba1a4bbb0040b5bf33b3e20de70e28e47507a/uppsrc/ide/LayDes/LayDes.iml" class="external">uppsrc/ide/LayDes/LayDes.iml</a></p>
<p>Some examples of CRLF ("\r\n") *.iml files:<br /><a href="https://github.com/ultimatepp/mirror/blob/0676951ef76ff1afe33682d95979ddea494624a5/uppsrc/CtrlCore/CtrlCore.iml" class="external">uppsrc/CtrlCore/CtrlCore.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/1f34594209f45bca6f917a2a2367c17846835a52/uppsrc/TabBar/TabBar.iml" class="external">uppsrc/TabBar/TabBar.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/c6d0d6c9c461f54c9e31aecab42fa8bb1970208f/uppsrc/XmlView/XmlView.iml" class="external">uppsrc/XmlView/XmlView.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/2369e19af1133d2c8f16ef884ba34f661915b4c6/uppsrc/ide/MacroManager/MacroManager.iml" class="external">uppsrc/ide/MacroManager/MacroManager.iml</a><br /><a href="https://github.com/ultimatepp/mirror/blob/15cc14a16f205ee863e2a4221df25c49ddf803a5/uppsrc/urepo/urepo.iml" class="external">uppsrc/urepo/urepo.iml</a></p>
<p>I propose to detect known line endings for TheIDE's image designer, which are used to save *.iml file(s).</p> Feature #1990 (Approved): ide/LayDes: Line endings support for layout designerhttps://www.ultimatepp.org/redmine/issues/19902019-10-06T03:29:35ZSender Ghost
<p>As you may know, if the layout (*.lay) file has other than "\r\n" line endings, they maybe <a href="https://github.com/ultimatepp/mirror/blob/92fc3a753ab14484e1af3aae7baee67baba5594a/uppsrc/ide/LayDes/layout.cpp#L97" class="external">converted</a> to "\r\n", if open (and close or switch to a different file, if "Save file on TheIde window deactivation" is not enabled for Editor settings) mentioned file in TheIDE's layout designer (for example, at <a href="https://github.com/ultimatepp/mirror/commit/e160835ae32355696df6146f98737549fd9fddb8" class="external">13628</a> revision). As a consequence, this may affect creation of patches for layout file(s), which may include changes for line endings, among other things. There was a need to convert affected layout file(s) to previous line endings state to fix this.</p>
<p>Some examples of LF ("\n") layout files:<br /><a href="https://github.com/ultimatepp/mirror/blob/148bcfb4d69ff75b622973dc34a7b81ed7ae9f47/uppsrc/CodeEditor/CodeEditor.lay" class="external">uppsrc/CodeEditor/CodeEditor.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/3522814e2bc0bf43f1224db0c6d46c4bd8eb3bfb/uppsrc/CtrlLib/Ctrl.lay" class="external">uppsrc/CtrlLib/Ctrl.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/f2e693573e2e543eb798af0f20d6a2e1158390b8/uppsrc/IconDes/IconDes.lay" class="external">uppsrc/IconDes/IconDes.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/5123a7e3e967a95ee584ba29678af52ed2b2e3d7/uppsrc/ide/ide.lay" class="external">uppsrc/ide/ide.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/f83e1ab08e8c1e774e9b564ec17e9748b5737da0/uppsrc/ide/LayDes/LayDes.lay" class="external">uppsrc/ide/LayDes/LayDes.lay</a></p>
<p>Some examples of CRLF ("\r\n") layout files:<br /><a href="https://github.com/ultimatepp/mirror/blob/395b0f2b2bcc28880fdc50ac012f9c68833de63e/uppsrc/Docking/Docking.lay" class="external">uppsrc/Docking/Docking.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/690ffba5e71f77dc4bd6b5463eaeb786b6618b97/uppsrc/ide/MacroManager/MacroManager.lay" class="external">uppsrc/ide/MacroManager/MacroManager.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/005d779b916c3cb64a1ef8a185b31e79ef6476c6/uppsrc/ScatterCtrl/ScatterCtrl.lay" class="external">uppsrc/ScatterCtrl/ScatterCtrl.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/bf2387c52fb727a88eb54413cc48dadc6a0fe956/uppsrc/urepo/urepo.lay" class="external">uppsrc/urepo/urepo.lay</a><br /><a href="https://github.com/ultimatepp/mirror/blob/15cc14a16f205ee863e2a4221df25c49ddf803a5/uppsrc/urepo/usvn.lay" class="external">uppsrc/urepo/usvn.lay</a></p>
<p>I propose to detect known line endings for TheIDE's layout designer, which are used to save the layout to a file.</p> Feature #1008 (Approved): TheIDE: U++ local installation on POSIX. Remove *.bm files, not just GC...https://www.ultimatepp.org/redmine/issues/10082015-03-07T11:37:42ZSender Ghost
<p>There is a possibility to create and use many builder files (*.bm), e.g. inside of /usr/local/share/upp directory, which copied to ${HOME}/.upp/theide (or other directory, based on executable name), on first run.<br />In case of local installation, the files (and directories) copied from /usr/local/share/upp to ${HOME}/upp and GCC.bm file removed for some reason.<br />I propose to remove *.bm files inside of ${HOME}/upp directory based on /usr/local/share/upp/*.bm files, not just GCC.bm, in case of local installation.</p> Bug #837 (Approved): Fix PDB debugger in XPhttps://www.ultimatepp.org/redmine/issues/8372014-08-26T12:26:00ZMiroslav Fidlercxl@ntllib.org
<p>- XP does not have GetThreadID<br />- win64 problem</p> Bug #497 (Approved): Ide/Browser: ParseItemNatural function with empty namehttps://www.ultimatepp.org/redmine/issues/4972013-07-28T16:39:41ZSender Ghost
<p>The following excerpt from C/C++ source code leads to "Out of memory" panic message inside of <a href="/redmine/projects/upp/repository/revisions/1436/entry/trunk/uppsrc/ide/Browser/Item.cpp#L81">ParseItemNatural</a> function:<br /><pre><code class="cpp syntaxhl"><span class="CodeRay">a :<span class="integer">2</span>:
</span></code></pre><br />But also applicable for <strong>//$</strong> comment:<br /><pre><code class="cpp syntaxhl"><span class="CodeRay"><span class="comment">//$Id: Description 1234-12-12 12:34:56Z nickname $</span>
</span></code></pre></p> Feature #483 (Rejected): Ide (LayDes): Zoomable and not zoomable layout itemshttps://www.ultimatepp.org/redmine/issues/4832013-05-31T07:27:25ZSender Ghost
<p>There is a possibility to use not zoomed logical positions for layout items. By default, they are zoomable.<br />I propose the patch to distinguish them.</p>
<hr />
<p><a href="http://www.ultimatepp.org/forum/index.php?t=msg&goto=40049&#msg_40049" class="external">BUG with .lay files - 'Z's added</a><br /><a href="http://www.ultimatepp.org/forum/index.php?t=msg&goto=40052&#msg_40052" class="external">Upp GUI size in Win and Ubuntu</a></p> Feature #478 (Approved): Improve QTF designer - splitters!https://www.ultimatepp.org/redmine/issues/4782013-05-23T06:44:47ZMiroslav Fidlercxl@ntllib.orgFeature #469 (Approved): Core: Xmlize utility function that throw an exceptionhttps://www.ultimatepp.org/redmine/issues/4692013-05-13T06:57:25ZMiroslav Fidlercxl@ntllib.org
<p><a class="external" href="http://www.ultimatepp.org/forum/index.php?t=rview&goto=39931#msg_39931">http://www.ultimatepp.org/forum/index.php?t=rview&goto=39931#msg_39931</a></p> Feature #306 (Approved): TheIDE: Consistent U++ package templates (*.upt)https://www.ultimatepp.org/redmine/issues/3062012-07-01T05:35:09ZSender Ghost
<p>I think, TheIDE should have consistent U++ package templates.<br />For this I applied some predefined style across existing templates and fixed some ambiguity, where for packages with header file "using namespace Upp;" used, but not with disabled header file.<br />The result in the attached patch.</p> Feature #305 (Approved): TheIDE: Internal includes for "Context go to" and "include assist"https://www.ultimatepp.org/redmine/issues/3052012-07-01T02:40:48ZSender Ghost
<p>TheIDE should consider internal includes of workspace packages for using inside "Context go to" and "include assist" functions.<br />Currently, TheIDE uses (default) build method and environment includes only.</p> Bug #271 (Approved): TheIDE: Output compiled C/C++ files for Open Watcom (OWC) builderhttps://www.ultimatepp.org/redmine/issues/2712012-04-07T11:56:26ZSender Ghost
<p>After comparing GCC and MSC with OWC builder output, I found, that there is no output (to TheIDE console) for compiled files. The main reason is quiet operation (because of needed specified quiet flag), while compiling.<br />The patch gives this output, as for other compilers.</p> Feature #92 (Approved): Support to search unicode characters for DropListhttps://www.ultimatepp.org/redmine/issues/922011-08-19T17:24:57ZSender Ghost
<p>Currently, <a href="http://code.google.com/p/upp-mirror/source/browse/trunk/uppsrc/CtrlLib/DropList.cpp#57" class="external">DropList</a> searches ASCII characters only.<br />For example, <a href="http://code.google.com/p/upp-mirror/source/browse/trunk/uppsrc/DropGrid/DropGrid.cpp#867" class="external">DropGrid</a> already supports this.</p> Bug #62 (Approved): OWC Builder. Correct support for .rc fileshttps://www.ultimatepp.org/redmine/issues/622011-06-17T11:55:41ZSender Ghost
<p>Current OWC Builder implementation lacks correct support for .rc files. Instead of passing compiled .rc files to "files" linker section, it need to pass to their own "resource" linker section.<br />I found this, while testing Open Watcom samples, one of which I attached to this report.</p>