U++: Issues
https://www.ultimatepp.org/redmine/
https://www.ultimatepp.org/redmine/redmine/favicon.ico
2015-06-14T20:55:07Z
Redmine
Redmine
Bug #1121 (New): Sometimes stop debuggin by button crash ide (GDB_MI2)
https://www.ultimatepp.org/redmine/issues/1121
2015-06-14T20:55:07Z
Zbigniew Rebacz
<p>High priority due to ide permanent crash (ide needs to be rebooted).</p>
<p>How to reprocude:<br />- Start debuggin app<br />- Wait for app lauch <br />- Stop it by button</p>
Bug #1023 (New): Check MI2
https://www.ultimatepp.org/redmine/issues/1023
2015-03-25T10:56:09Z
Miroslav Fidler
cxl@ntllib.org
<p><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&goto=44539&#msg_44539">http://www.ultimatepp.org/forums/index.php?t=msg&goto=44539&#msg_44539</a></p>
Bug #788 (New): ide: Gdb_MI2 Weird issue with long strings
https://www.ultimatepp.org/redmine/issues/788
2014-06-09T16:55:08Z
Miroslav Fidler
cxl@ntllib.org
<p>While implementing scrolling of long values, I have spotted following problem:</p>
<pre>
#include <Core/Core.h>
#include <plugin/zip/zip.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
String s('x', 20);
for(int i = 0; i < 2; i++) {
Cout() << s;
s = "z" + String('x', 250) + "thisistheend";
DDUMP(s);
}
}
</pre>
<p>Now when s is assigned 'long value', "thisistheend" is not displayed at the end of String. GDB seems to return "zxx...x"... (inner '...' by me, outer by GDB).</p>
<p>Interestingly, when I increase the length of long value, the length of 's' increases too, but still the end is missing.</p>
<p>Perhaps it is some setting in MI2 interface?</p>
Bug #728 (Approved): ide: Advanced/Format the code in editor freezes
https://www.ultimatepp.org/redmine/issues/728
2014-03-21T10:38:05Z
Miroslav Fidler
cxl@ntllib.org
<p>with really long line:</p>
<pre>
bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 1) return false; __Expand1(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1) { return SplitTo(s, delim, false, p1); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 1) return false; __Expand1(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1) { return SplitTo(s, chr, false, p1); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 2) return false; __Expand2(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2) { return SplitTo(s, delim, false, p1, p2); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 2) return false; __Expand2(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2) { return SplitTo(s, chr, false, p1, p2); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2, String& p3) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 3) return false; __Expand3(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2, String& p3) { return SplitTo(s, delim, false, p1, p2, p3); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2, String& p3) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 3) return false; __Expand3(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2, String& p3) { return SplitTo(s, chr, false, p1, p2, p3); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 4) return false; __Expand4(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2, String& p3, String& p4) { return SplitTo(s, delim, false, p1, p2, p3, p4); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 4) return false; __Expand4(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2, String& p3, String& p4) { return SplitTo(s, chr, false, p1, p2, p3, p4); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 5) return false; __Expand5(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2, String& p3, String& p4, String& p5) { return SplitTo(s, delim, false, p1, p2, p3, p4, p5); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 5) return false; __Expand5(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2, String& p3, String& p4, String& p5) { return SplitTo(s, chr, false, p1, p2, p3, p4, p5); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 6) return false; __Expand6(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6) { return SplitTo(s, delim, false, p1, p2, p3, p4, p5, p6); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 6) return false; __Expand6(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6) { return SplitTo(s, chr, false, p1, p2, p3, p4, p5, p6); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 7) return false; __Expand7(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7) { return SplitTo(s, delim, false, p1, p2, p3, p4, p5, p6, p7); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 7) return false; __Expand7(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7) { return SplitTo(s, chr, false, p1, p2, p3, p4, p5, p6, p7); } bool SplitTo(const char *s, int delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7, String& p8) { Vector<String> r = Split(s, delim, ignoreempty); if(r.GetCount() < 8) return false; __Expand8(E__NFIf) return true; } bool SplitTo(const char *s, int delim, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7, String& p8) { return SplitTo(s, delim, false, p1, p2, p3, p4, p5, p6, p7, p8); } bool SplitTo(const char *s, const char *delim, bool ignoreempty, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7, String& p8) { Vector<String> r = Split(s, chr, ignoreempty); if(r.GetCount() < 8) return false; __Expand8(E__NFIf) return true; } bool SplitTo(const char *s, const char *delim, String& p1, String& p2, String& p3, String& p4, String& p5, String& p6, String& p7, String& p8) { return SplitTo(s, chr, false, p1, p2, p3, p4, p5, p6, p7, p8); }
</pre>
<p>This line pasted into file, selected, format invoked -> freeze</p>
Bug #668 (New): Memory leak in SysExec
https://www.ultimatepp.org/redmine/issues/668
2014-01-28T07:30:40Z
Miroslav Fidler
cxl@ntllib.org
<p><a class="external" href="http://www.ultimatepp.org/forum/index.php?t=msg&goto=41833&#msg_41833">http://www.ultimatepp.org/forum/index.php?t=msg&goto=41833&#msg_41833</a></p>
Bug #661 (Approved): Fix 'all shared' build on Posix
https://www.ultimatepp.org/redmine/issues/661
2014-01-22T12:41:03Z
Massimo Del Fedele
max@veneto.com
<p>Actually, using all shared build (SO flag on main package) on linux has following caveats:</p>
<p>- generated .so names don't have the 'lib' prefix, which should be there<br />- generated .so files hard-encode their path. Thay can't be moved<br />- generated .so files don't have the posix version naming schema.<br />- generated .so files don't define a 'soname'<br />- symbolic links should be generated along library file</p>
<p>So, a generated 'Package_SubPackage.so' file should be named 'libPackage_SubPackage.so.1.2.3', have the<br />'soname' internally defined as 'libPackage_SubPackage.so.1', and there should be 2 symbolic links named<br />'libPackage_SubPackage.so' and 'libPackage_SubPackage.so.1' pointing to the shared object.<br />The object should also be moveable inside filesystem.</p>
<p>I'm almost ready with a patch that fixes all that problems.<br />Mirek, do you agree if I finish and post to svn ?</p>
Task #279 (Approved): Core/Value.hpp:177:9: warning: unused variable ‘t’
https://www.ultimatepp.org/redmine/issues/279
2012-04-28T11:47:53Z
Massimo Del Fedele
max@veneto.com
<p>t variable is not used in optimal mode.<br />It should be surrounded by ifdef, otherwise tons of warnings when building.</p>
Bug #252 (Approved): GDB (new): Fix CPU debugging
https://www.ultimatepp.org/redmine/issues/252
2012-02-12T15:50:19Z
Miroslav Fidler
cxl@ntllib.org
Feature #236 (Approved): Remove warnings
https://www.ultimatepp.org/redmine/issues/236
2012-01-19T13:41:08Z
Massimo Del Fedele
max@veneto.com
<p>Rebuilding Upp there are many warnings, most about variables deined/set but not used.<br />I'll drop a cathegoryzed list here :</p>
<p>[code]<br />VARIABLE SET BUT NOT USED :<br />uppsrc/CtrlLib/LabelBase.cpp:529:11: warning: variable ‘wa’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/EditField.cpp:384:11: warning: variable ‘fi’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/RichTextView.cpp:38:6: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/DateTimeCtrl.cpp:1440:7: warning: variable ‘sz’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/TabCtrl.cpp:132:7: warning: variable ‘sz’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/TabCtrl.cpp:177:7: warning: variable ‘chsz’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/TreeCtrl.cpp:1040:8: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/DlgColor.cpp:346:8: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlLib/DlgColor.cpp:472:7: warning: variable ‘rcsize’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlCore/CtrlClip.cpp:139:8: warning: variable ‘ssz’ set but not used [-Wunused-but-set-variable]<br />uppsrc/CtrlCore/ParseRTF.cpp:358:12: warning: variable ‘tbl_co’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Core/Path.cpp:726:7: warning: variable ‘quote’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Painter/DrawOp.cpp:79:8: warning: variable ‘sz’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Painter/Approximate.cpp:56:12: warning: variable ‘p14’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Painter/Mask.cpp:44:9: warning: variable ‘full’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Draw/ImageOp.cpp:713:8: warning: variable ‘center’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Draw/ImageOp.cpp:721:9: warning: variable ‘dcenterf’ set but not used [-Wunused-but-set-variable]<br />uppsrc/Draw/ImageOp.cpp:722:8: warning: variable ‘dcenter’ set but not used [-Wunused-but-set-variable]<br />uppsrc/RichText/TablePaint.cpp:155:14: warning: variable ‘_pi’ set but not used [-Wunused-but-set-variable]<br />uppsrc/RichText/TablePaint.cpp:111:8: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]</p>
<p>UNUSED VARIABLES :<br />uppsrc/CtrlLib/ArrayCtrl.cpp:2882:7: warning: unused variable ‘focusCursor’ [-Wunused-variable]<br />uppsrc/CtrlCore/ParseRTF.cpp:253:8: warning: unused variable ‘pos’ [-Wunused-variable]<br />uppsrc/Core/Path.cpp:1049:7: warning: unused variable ‘ret’ [-Wunused-variable]<br />uppsrc/Draw/FontCR.cpp:286:8: warning: unused variable ‘tl’ [-Wunused-variable]<br />uppsrc/Draw/FontCR.cpp:287:8: warning: unused variable ‘th’ [-Wunused-variable]<br />uppsrc/Draw/FontFc.cpp:32:9: warning: unused variable ‘sina’ [-Wunused-variable]<br />uppsrc/Draw/FontFc.cpp:32:15: warning: unused variable ‘cosa’ [-Wunused-variable]<br />uppsrc/Draw/FontFc.cpp:53:11: warning: unused variable ‘id’ [-Wunused-variable]<br />uppsrc/RichText/TxtPaint.cpp:125:6: warning: unused variable ‘t’ [-Wunused-variable]</p>
<p>USING UNINITIALIZED VARIABLE<br />uppsrc/CtrlCore/X11DnD.cpp:117:64: warning: ‘version’ may be used uninitialized in this function [-Wuninitialized]</p>
<p>UNUSED FUNCTIONS<br />uppsrc/CtrlLib/ArrayCtrl.cpp:75:13: warning: ‘void Upp::sPerformSimple(int, Upp::One<Upp::Ctrl>&, Upp::Callback1<Upp::One<Upp::Ctrl>&>)’ defined but not used [-Wunused-function]<br />uppsrc/Core/Log.cpp:255:13: warning: ‘void Upp::sLarge(Upp::String&, size_t*, int, const char*)’ defined but not used [-Wunused-function]</p>
<p>CONSTRUCTION ORDER MISMATCH<br />uppsrc/CtrlCore/ParseRTF.cpp:104:8: warning: ‘Upp::Rect Upp::RTFParser::CellInfo::cellmarginunits’ [-Wreorder]<br />uppsrc/CtrlCore/ParseRTF.cpp:185:1: warning: when initialized here [-Wreorder]<br />uppsrc/CtrlCore/ParseRTF.cpp: In constructor ‘Upp::RTFParser::Cell::Cell()’:<br />uppsrc/CtrlCore/ParseRTF.cpp:119:8: warning: ‘Upp::RTFParser::Cell::span’ will be initialized after [-Wreorder]<br />uppsrc/CtrlCore/ParseRTF.cpp:116:8: warning: ‘bool Upp::RTFParser::Cell::merge_first’ [-Wreorder]<br />uppsrc/CtrlCore/ParseRTF.cpp:194:1: warning: when initialized here [-Wreorder]</p>
<p>SIGNED/UNSIGNED COMPARAISON<br />uppsrc/Core/Algo.h:200:3: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br />uppsrc/Core/BlockStream.cpp:412:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br />[/code]</p>
Bug #233 (Approved): MSC Builder error when linker command line too long
https://www.ultimatepp.org/redmine/issues/233
2012-01-14T14:33:37Z
Massimo Del Fedele
max@veneto.com
<p>Building a big library with many object files, MSC linker complains about too long command line (> 8192 chars in XP+)</p>
<p>Attached patch removes this limit, using a command file when line is > 8192 characters; when shorter the usual path<br />is preserved.<br />The patch attached corrects also bug of issue 232 for MSC compiler; solution for GCC is still in 232 issue.</p>
<p>Max</p>
Bug #232 (Approved): -I compiler option is not honoured by file options in package manager
https://www.ultimatepp.org/redmine/issues/232
2012-01-13T15:29:22Z
Massimo Del Fedele
max@veneto.com
<p>Simply insert a FILE options like this in package manager :</p>
<p>-ISOMETHING</p>
<p>Enable verbose mode and compile the file; the option don't appears in compiler command line.</p>
<p>Max</p>
Bug #140 (Approved): Ide hangs pressing '.'
https://www.ultimatepp.org/redmine/issues/140
2011-10-22T10:06:42Z
Massimo Del Fedele
max@veneto.com
<p>In attached package, IDE hangs pressing '.' to add a new Add(....) line :</p>
<p>.Add("FileQuit" , <abbr title="FileExitCb">THISBACK</abbr>)<br />. <-- HERE</p>
<p>The problem happens just when using XMLMenu package from Bazaar.</p>
Bug #75 (Rejected): Assertion failed in void Rasterizer::LineRaw
https://www.ultimatepp.org/redmine/issues/75
2011-07-10T19:20:35Z
Massimo Del Fedele
max@veneto.com
<p>Trying to paint an image created by painter onto a report triggers assertion failed.<br />Attached the qtf string with the offending image (hopefully....)</p>
<p>Max</p>