U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2022-03-16T16:17:35ZRedmine
Redmine Bug #2241 (Approved): TheIDE: Some editor settings aren't saved on exithttps://www.ultimatepp.org/redmine/issues/22412022-03-16T16:17:35ZSender Ghost
<p>The changes for "Find picks selection", "Find picks selection or text", "Save file on TheIde window deativation" options in the editor settings aren't saved on TheIDE exit.</p>
<p>Patch attached.</p> Bug #2153 (Approved): Strange artifacts in documentationhttps://www.ultimatepp.org/redmine/issues/21532021-03-10T21:02:12ZZbigniew Rebacz
<p>It seems that artifacts problem is not only present in FAQ, but also for example in Topic++ (website). We need to fix it ASAP. Our users needs clear</p>
<p>It is strange because locally the problem doesn't reproduce, but maybe it is some kind of regression.</p>
<p>Faulty pages are:<br />- <a class="external" href="https://www.ultimatepp.org/www$uppweb$FAQ$en-us.html">https://www.ultimatepp.org/www$uppweb$FAQ$en-us.html</a><br />- <a class="external" href="https://www.ultimatepp.org/app$ide$Topic$en-us.html">https://www.ultimatepp.org/app$ide$Topic$en-us.html</a><br />- more...</p> Bug #2142 (Rejected): Header file doesn't display documentation rectangle (IDE, CodeEditor)https://www.ultimatepp.org/redmine/issues/21422021-02-14T18:25:40ZZbigniew Rebacz
<p>Documentation rectangles are not display in the header files. It makes analyzing header file much more difficult. It is regression to the previous versions, however I can not find the version which brings regression. It is reproducible on Windows and Linux.</p>
<p>It should be fixed as fast as possible. We need to make sure it will be part of 2021.1 release. I rated it as urgent.</p> Bug #2137 (Approved): TheIDE doesn't work on macOS 11.1https://www.ultimatepp.org/redmine/issues/21372021-01-13T20:18:08ZZbigniew Rebacz
<p>I updated to the latest mac and TheIDE won't launch and prompt said that it is incompatible with my system. The mac architecture is x86_64. How can we make TheIDE to work on various system and launch after each new mac is release?</p>
<p>I saw similar problem in the past, so I think we should dig more here.</p> Bug #2097 (Approved): HTML export of RichText doesn't respect color formatinghttps://www.ultimatepp.org/redmine/issues/20972020-11-01T10:12:49ZZbigniew Rebacz
<p>The bug is on following site:<br />- <a class="external" href="https://www.ultimatepp.org/srcdoc$Core$Leaks_en-us.html">https://www.ultimatepp.org/srcdoc$Core$Leaks_en-us.html</a></p>
<pre>
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
{
MemoryIgnoreLeaksBlock __;
int* a = new int(5); // <- This leak will be ignored
}
int* b = new int(10); // <- This leak will be catched
}
</pre>
<p>The comment section of the code is marked as green in topic editor, however when exported whole line is green. In the help the above code is displayed correctly.</p> Feature #2092 (Approved): CodeEditor should display all C++20 keywordshttps://www.ultimatepp.org/redmine/issues/20922020-10-23T23:51:59ZZbigniew Rebacz
<p>I updated keywords cpp keywords for CodeEditor (C++20 compatible), also I sorted all keywords alphabetically for easier managment:<br /><pre>
static const char *cpp[] = {
"__asm", "__cdecl", "__declspec", "__except", "__fastcall",
"__finally", "__inline", "__int16", "__int32", "__int64",
"__int8", "__leave", "__stdcall", "__try", "__uuidof",
"alignas", "alignof", "and", "and_eq", "asm", "auto",
"bitand", "bitor", "bool", "break","case", "catch",
"char", "char8_t", "char16_t", "char32_t", "class",
"co_await", "co_return", "co_yield", "compl", "concept",
"const", "const_cast", "consteval", "constexpr", "constinit",
"continue", "decltype", "default", "delete", "dllexport",
"dllimport", "do", "double", "dynamic_cast", "else", "enum",
"explicit", "export", "extern" "false", "final", "float",
"for", "force_inline", "friend", "goto", "if", "import",
"inline", "int", "long", "module" "mutable", "namespace",
"never_inline", "new", "noexcept", "not", "not_eq", "nullptr",
"operator", "or", "or_eq", "override", "private", "protected",
"public", "register", "reinterpret_cast", "requires", "return",
"short", "signed", "sizeof", "static", "static_assert",
"static_cast", "struct", "switch", "template", "this", "thread",
"thread_local", "throw", "true", "try", "typedef", "typeid",
"typename", "union", "unsigned", "using", "virtual",
"void", "volatile", "wchar_t", "while", "xor", "xor_eq",
NULL
};
</pre></p>
<p>Verity with <a class="external" href="https://en.cppreference.com/w/cpp/keyword">https://en.cppreference.com/w/cpp/keyword</a>.</p> Feature #2083 (Approved): Layout files namespaceshttps://www.ultimatepp.org/redmine/issues/20832020-10-16T08:05:54ZMiroslav Fidlercxl@ntllib.org
<p>This is ugly:</p>
<p>namespace Upp {<br />#define LAYOUTFILE <Rajce/Rajce.lay><br />#include <CtrlCore/lay.h><br />} // namespace Upp</p>
<p>Fix in layout designer!</p> Feature #2080 (Approved): Add support for physical forward/backword mouse buttonshttps://www.ultimatepp.org/redmine/issues/20802020-10-03T09:03:30ZZbigniew Rebacz
<p>Some time ago I bought following mouse <a class="external" href="https://www.logitech.com/pl-pl/product/corded-mouse-m500s">https://www.logitech.com/pl-pl/product/corded-mouse-m500s</a> would be good if upp could take opportunity to support physical backwards/forward buttons.</p>
<p>Would be nice addition to following situations:<br />- FileSel<br />- Help<br />- CodeEditor (For returning to previous place)<br />- WebBrowser...</p> Feature #2078 (Approved): FileSelButton should display "Select path.." tiphttps://www.ultimatepp.org/redmine/issues/20782020-09-27T01:55:27ZZbigniew Rebacz
<p>It seems that FileSelButton is missing one big feather - tooltip. I highly suggest to change following line (CtrlLib/CtrlUtil.cpp):<br /><pre>
button.SetImage(CtrlImg::right_arrow()).Tip(t_("Select path.."));
</pre> <br />.. - means that dialog will be open.</p>
<p>Well, TheIDE code is not perfect and sometimes this class is use and sometimes it is added by hand. Anyway, after applying we should refactor TheIDE to use only FileSelButton.</p> Bug #2067 (Approved): C4927 warnings in Core with latest MSVChttps://www.ultimatepp.org/redmine/issues/20672020-09-13T11:05:09ZZbigniew Rebacz
<p>It seems that compiling Core with latest MSVC produces a lot of warnings that have C4927. Screenshot with warnings attached.</p>
<p>Would be nice to fix for 2020.1.</p> Feature #2065 (Approved): Visual Studio 2019 Professional is not detectedhttps://www.ultimatepp.org/redmine/issues/20652020-09-12T15:55:05ZZbigniew Rebacz
<p>It seems that we are only looking for community edition and other editions are ignored. Would be nice if we look for other editions too...</p>
<pre>
vc = df.Get(decode(version, BT_2017, "/microsoft visual studio/2017/buildtools/vc/tools/msvc",
VS_2017, "/microsoft visual studio/2017/community/vc/tools/msvc",
BT_2019, "/microsoft visual studio/2019/buildtools/vc/tools/msvc",
VS_2019, "/microsoft visual studio/2019/community/vc/tools/msvc",
</pre> Bug #2064 (Rejected): Clang on Windows crash on memory leak detectionhttps://www.ultimatepp.org/redmine/issues/20642020-09-11T22:06:38ZZbigniew Rebacz
<p>I found strange issue during testing GTestUIExample from bazzar. The app crashes at logging memory dump - this is strange. Mirek can you check? It is easily reproducible on Windows.</p>
<p>I know that this custom main may cause problems, however code responsible for memory leaks handling shouldn't crash at all.</p> Feature #2050 (Approved): Add all thread backtrace tree view into theidehttps://www.ultimatepp.org/redmine/issues/20502020-07-14T08:31:02ZMiroslav Fidlercxl@ntllib.orgBug #2048 (Approved): Misplaced cursor in assist (after ")")https://www.ultimatepp.org/redmine/issues/20482020-07-06T16:29:30ZMiroslav Fidlercxl@ntllib.org
<p>struct MyApp : TopWindow {<br /> VPoly poly;</p>
<pre><code>void Paint(Draw& w) {<br /> Size sz = GetSize();<br /> if(sz.cx && poly.GetCount() == 0) {<br /> poly.poly.Add(Pointf(200, 200));<br /> poly.poly.Add(Pointf(200, 800));<br /> poly.poly.Add(Pointf(800, 800));<br /> poly.poly.Add(Pointf(800, 200));<br /> }<br /> Vector&lt;Point&gt; pd;<br /> for(Pointf p : poly)<br /> pd.Add(p);<br /> w.DrawPolygon(<br /> }<br />};</code></pre> Feature #2046 (Approved): TabBar: Added features and fixeshttps://www.ultimatepp.org/redmine/issues/20462020-06-19T14:42:51ZIƱaki Zabalakoldo.ramirez@gmail.com
<p>Additions<br />- To allow user code to change style<br />SetStyle(const TabBar::Style& s)</p>
<p>- To allow close tabs without crosses, and show the ContextMenu() properly<br />bool IsCancelClose(int id)<br />bool IsCancelCloseAll(int exception, int last_closed = 0)</p>
<p>- To allow user code to allow drag and drup in certain tabs<br />Gate<int, int> CancelDragAndDrop; // Return true to cancel drag and drop from tab to tab</p>
<p>Fixes<br />- Set CancelClose() in all necessary places<br />- If crosses is on, but tab cannot be closed, tab size does include cross icon size<br />int GetExtraWidth(int n)</p>