U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2020-09-15T07:09:54ZRedmine
Redmine Bug #2069 (Approved): Some warnings in U++ sourceshttps://www.ultimatepp.org/redmine/issues/20692020-09-15T07:09:54ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Simple warnings. Please review screenshots enclosed.</p> 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> Bug #1968 (Approved): TheIDE crashes in W10 (Core new alocator problem for MinGW)https://www.ultimatepp.org/redmine/issues/19682019-06-20T07:57:25ZIñaki Zabalakoldo.ramirez@gmail.com
<p>See post <a class="external" href="https://www.ultimatepp.org/forums/index.php?t=msg&goto=51917&#msg_51917">https://www.ultimatepp.org/forums/index.php?t=msg&goto=51917&#msg_51917</a></p> Bug #1795 (Rejected): TCtrlLib folder is not in .7z nightly builds packagehttps://www.ultimatepp.org/redmine/issues/17952017-09-14T06:23:48ZIñaki Zabalakoldo.ramirez@gmail.com
<p>TCtrlLib folder is not in .7z nightly builds package.</p>
<p>See post:<br /><a class="external" href="https://www.ultimatepp.org/forums/index.php?t=post&reply_to=48762x%x">https://www.ultimatepp.org/forums/index.php?t=post&reply_to=48762x%x</a>%</p> Bug #1506 (Approved): Problem in RichTxthttps://www.ultimatepp.org/redmine/issues/15062016-07-28T07:44:05ZIñaki Zabalakoldo.ramirez@gmail.com
<p>See Forum message:<br /><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&goto=46757&#msg_46757">http://www.ultimatepp.org/forums/index.php?t=msg&goto=46757&#msg_46757</a></p> Feature #984 (Approved): CodeEditor featureshttps://www.ultimatepp.org/redmine/issues/9842015-02-13T22:30:17ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Hello Mirek</p>
<p>I would like you to add these features to CodeEditor:</p>
<p>- To let the user to add new syntax:<br />In CSyntax.h, to make LoadSyntax() public.</p>
<p>- To add CTRL-Mouse wheel to zoom text<br />To add MouseWheel():</p>
<p>void CodeEditor::MouseWheel(Point p, int zdelta, dword keyFlags) {<br /> if (keyFlags & K_CTRL) <br /> ZoomFont(sgn(zdelta));<br /> else<br /> LineEdit::MouseWheel(p, zdelta, keyFlags);<br />}</p>
<p>void CodeEditor::ZoomFont(int d) { // Added<br /> if(d != 0) {<br /> int h = font.GetCy();<br /> int q = font.GetHeight();<br /> while(font.GetCy() == h && (d < 0 ? font.GetCy() > 5 : font.GetCy() < 40))<br /> font.Height(q += d);<br /> } else<br /> font.Height(16);<br /> SetFont(font);<br /> bar.Refresh();<br />}</p>
<p>- To add CTRL-F, CTRL-H<br />In CodeEditor::Key, to add <br /> case K_CTRL_F:<br /> FindReplace(sel, true, false); <br /> break;<br /> case K_CTRL_H:<br /> FindReplace(sel, true, true); <br /> break;</p>
<p>Best regards<br />Koldo</p> Feature #925 (Approved): Add all resting K_ key codes (; . , + - [ ] ...) for Windows, Linux and ...https://www.ultimatepp.org/redmine/issues/9252014-11-12T11:48:43ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Following post <a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&th=9104&start=0x%x">http://www.ultimatepp.org/forums/index.php?t=msg&th=9104&start=0x%x</a>%</p>
<p>Add all resting K_ key codes (; . , + - [ ] ...) for Windows, Linux and X11 platforms. Check SDL too.<br />Include GuiPlatformGetKeyDesc() as much as possible into GetKeyDesc().</p> Feature #923 (Rejected): Add PLUS and MINUS keys from main keyboardhttps://www.ultimatepp.org/redmine/issues/9232014-11-10T16:55:37ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Now K_ADD and K_SUBTRACT work for '+' and '-' keys in numpad, but not in main keyboard. Adding something similar to included code, would add this feature.</p>
<pre>
#ifdef PLATFORM_WIN32
#define K_PLUS (VK_OEM_PLUS + K_DELTA)
#define K_MINUS (VK_OEM_MINUS + K_DELTA)
#else
#define K_PLUS (GDKEY(plus)|K_DELTA)
#define K_MINUS (GDKEY(minus)|K_DELTA)
#endif
</pre> Feature #916 (Approved): Mouse and key behavior changing in real timehttps://www.ultimatepp.org/redmine/issues/9162014-10-30T16:00:18ZIñaki Zabalakoldo.ramirez@gmail.comFeature #915 (Approved): Add zoom and scroll using keyshttps://www.ultimatepp.org/redmine/issues/9152014-10-30T15:59:02ZIñaki Zabalakoldo.ramirez@gmail.comBug #912 (Approved): Ctrl-F2 fails if there is a tab inside a C stringhttps://www.ultimatepp.org/redmine/issues/9122014-10-28T16:28:59ZIñaki Zabalakoldo.ramirez@gmail.com
<p>If there is a tab char inside a C string, syncronize translation files fails from that string so no more t_(" ") strings will be added to the .t file from that C string.</p>
<p>For example:</p>
<p>File demo.cpp</p>
<p>...<br />str = t_("First sentence"); // "First sentence" goes to .t file<br />str = "There is a tab ' ' here"; <br />str = t_("Second sentence"); // "Second sentence" and the rest from here does not go to .t file<br />...</p> Bug #834 (Approved): Core/xml.cpp, lines 519 and 525: replace "'\' with just "'https://www.ultimatepp.org/redmine/issues/8342014-08-19T11:54:46ZIñaki Zabalakoldo.ramirez@gmail.comBug #817 (Approved): htttp.cpp, line 611, conversion from int64 to inthttps://www.ultimatepp.org/redmine/issues/8172014-07-29T00:40:52ZIñaki Zabalakoldo.ramirez@gmail.com
<p>There is a warning in htttp.cpp, line 611: conversion from int64 to int<br />int n = poststream->Get(buffer, min((int64)2048, postlen + data.GetLength() - (int)count));<br />Gets() arg is declared int, but the min() before is int64</p> Feature #809 (Approved): To add .t file in CodeEditorhttps://www.ultimatepp.org/redmine/issues/8092014-07-14T11:41:32ZIñaki Zabalakoldo.ramirez@gmail.comBug #803 (Rejected): Bad Clear() call to a const char *https://www.ultimatepp.org/redmine/issues/8032014-07-05T14:13:47ZIñaki Zabalakoldo.ramirez@gmail.com
<p>In Socket.cpp, line 893, errordesc is a const char *, however errordesc.Clear() is called.</p>
<p>void TcpSocket::SetSockError(const char *context, int code, const char *errdesc)
{<br /> errorcode = code;<br /> errordesc.Clear();</p>