U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2019-11-01T17:19:34ZRedmine
Redmine Bug #1999 (New): Unused parameter multisamplebuffering in GLCtrl.h, line 151https://www.ultimatepp.org/redmine/issues/19992019-11-01T17:19:34ZIñaki Zabalakoldo.ramirez@gmail.comBug #1650 (New): TreeCtrl set does not update the scroll recthttps://www.ultimatepp.org/redmine/issues/16502017-02-24T14:10:17Zcbpporter cbpporter
<p>Calling Set(int id, Value k, Value v) (and potentially TreeCtrl::Set(int id, Value v); did not test) in such a way that the value of a key shrinks in its pixel size when rendered on the screen does not lead to an update of the TreeCtrl's scroll rectangle.</p>
<p>I found a solution but I'm not sure if it is correct, by adding a Dirty call:</p>
<pre>
void TreeCtrl::Set(int id, Value k, Value v)
{
Item& m = item[id];
if(m.ctrl)
m.ctrl->SetData(v);
else {
m.key = k;
m.value = v;
RefreshItem(id);
}
// fix????
Dirty(id);
SetOption(id);
}
</pre> Feature #1604 (In Progress): Streamlined and corrected CodeEditor bar size and positionshttps://www.ultimatepp.org/redmine/issues/16042017-01-04T15:43:24Zcbpporter cbpporter
<p>Just simply dropping a CodeEditor somewhere and setting up the correct properties can often lead to elements like change tracker, #if highlight, numbers, breakpoints, annotations to clip.</p>
<p>You either need to fiddle with them in counter intuitive ways or accept the clipping.</p>
<p>The fix makes everything add up in a simple fashion and there is no clipping.</p>
<p>Side effects: the bar can be a few pixels wider than the old one. Shouldn't be a problem with modern high width monitors. Maybe scaling needs to be added?</p> Bug #1375 (New): Wrong postgresql include in many linux distroshttps://www.ultimatepp.org/redmine/issues/13752016-01-30T09:46:42ZJan Dolinárdolik.rce@gmail.com
<p><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&goto=45945&#msg_45945">http://www.ultimatepp.org/forums/index.php?t=msg&goto=45945&#msg_45945</a></p>
<p>The file libpq-fe.h can be located in /usr/include/posgresql/ (Debian, Ubuntu) or directly in /usr/include (Arch, CentOS, Fedora, Rosa, Slackware, OpenMandriva, Mageia). I think the only universal solution is to #include <libpq-fe.h> on all platforms and distros and fix it by adding /usr/include/postgresql to library paths. I'm aware this might break existing installations, but I don't see any way to detect the correct location of the file at compile time.</p> Feature #1088 (New): InstallPanicMessageBox() available to programhttps://www.ultimatepp.org/redmine/issues/10882015-05-19T10:19:50ZIñaki Zabalakoldo.ramirez@gmail.com
<p>I would like that memory or other critical errors would call a programmer defined user function.</p>
<p>Now InstallPanicMessageBox() could be an option. However, this is a global handler and Ctrl::Ctrl() calls InstallPanicBox(), so any programmer handler is overwritten when any Ctrl is constructed.</p> Bug #1053 (New): UWord to disable Save tool bar button after savinghttps://www.ultimatepp.org/redmine/issues/10532015-05-05T14:19:25ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Problem <br />In UWord demo, Save tool bar button does not get disabled after pushing it</p>
<p>Solution<br />To set a virtual ClearModify() function to do it</p>
<p><code>void UWord::ClearModify() {<br /> Ctrl::ClearModify();<br /> editor.WhenRefreshBar();<br />}</code></p> Bug #1052 (New): RichEdit::Print() fails when RichEdit is Floating()https://www.ultimatepp.org/redmine/issues/10522015-05-05T08:16:45ZIñaki Zabalakoldo.ramirez@gmail.com
<p>When printing RichEdit(), if Floating() is set, print is shifted to the middle of the page.</p>
<p>How to test:<br />- Open UWord and add editor.Floating(1); in UWord constructor<br />- Writ something and press Print</p>
<p>Reason:<br />RichEdit::Print() calls UPP::Print() with pagesz. Unfortunately when calling Floating(), RichEdit::Layout() does a SetPage() with cy = INT_MAX , so RichEdit::Print() shifts the printing.</p>
<p>Quick and dirty solution:<br />Set return UPP::Print(text, Size(3968, 6074)/*pagesz*/, cursorc.page); in RichEdit::Print()</p> Bug #995 (Patch ready): Synchronize controls after SetValueshttps://www.ultimatepp.org/redmine/issues/9952015-02-25T09:40:20ZIñaki Zabalakoldo.ramirez@gmail.com
<p>After adding new values to a GridCtrl with SetValues, called for example from Xmlize, controls are not updated so they cannot be used until GridCtrl is ready and shown.</p>
<p>This could be fixed adding a SyncCtrls(); in SetValues();</p> Feature #523 (Patch ready): Periodic background jobs in skylarkhttps://www.ultimatepp.org/redmine/issues/5232013-09-18T17:49:08ZJan Dolinárdolik.rce@gmail.com
<p>Sometimes it is handy to be able to execute some periodic job inside the server that runs in background, independently from request handling threads. Probably most common example of this would be expiration of temporary data (either on disk or in database). Currently, it is not easy to do such thing in Skylark, as you can only react when a request comes and there is no guarantee when or if a request occurs. Also doing this correctly in thread is troublesome as SkylarkApp::quit is private, so it is not simple to quit the thread when the application is terminated.</p>
<p>So I wrote a patch that adds AddJob(Callback cb, int period=60) function to the public interface of SkylarkApp. This function can be used to add multiple jobs that will be executed with given periodicity (in seconds) in a background thread. The timing is not guaranteed to be precise and is only approximate, as longer job can postpone other jobs. If there are no jobs added, the extra thread is not created.</p>
<p>Example of usage:<br /><pre>
struct MyApp : SkylarkApp {
MyApp() {
root = "myapp";
}
};
void job1() {
LOG("JOB1 "<<GetSysTime());
}
void job2() {
LOG("JOB2 "<<GetSysTime());
}
CONSOLE_APP_MAIN
{
MyApp()
.AddJob(callback(job1),3)
.AddJob(callback(job2),5)
.Run();
}
</pre></p>
<p>What do you think Mirek, do you mind if I commit it? I'll of course add proper documentation if you say it is ok.</p>
<p>I think this might be even used internally to periodically expire the sessions. I think the way it is done now (on every 1000th request per thread, if I remember correctly), can lead to piling up way too many sessions in database, which in turn caused deadlocks in database on delete statements for me.</p> Feature #438 (New): ArrayCtrl to show header fields when column width is too smallhttps://www.ultimatepp.org/redmine/issues/4382013-02-07T10:27:43ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Hello Mirek</p>
<p>ArrayCtrl shows a popup with the cell data when the column width is too narrow. However this does not happen in the column headers.</p>
<p>Could you add this feature?</p> Bug #421 (New): RichTextCtrl and RichEdit clipboar behaviorhttps://www.ultimatepp.org/redmine/issues/4212013-01-21T10:11:37ZIñaki Zabalakoldo.ramirez@gmail.com
<p>RichTextCtrl and RichEdit have different clipboard behaviour.</p>
<p>RichTextCtrl Copy() only takes the text</p>
<p>RichEdit Copy() takes text, fonts, Images and RichObjectType. However a RichObjectType can be pasted right into a RichEdit but not into a word processor.</p>
<p>It would be great if:<br />- RichTextCtrl would copy all and not only text<br />- RichEdit would copy RichObjectType so that they could be pasted in a word processor (as an image).</p> Feature #266 (New): Breakpoints in templateshttps://www.ultimatepp.org/redmine/issues/2662012-03-19T14:57:08ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Nowadays it is possible to set breakpoints in templates but they do not stop program process.</p>
<p>A dirty trick is to put in the template to debug a call to a dummy function located in a .c file, and to put the breakpoint in that function.</p>
<p>However to install this feature will be great :).</p> Bug #186 (New): Resolve issue with sprintf in Formathttps://www.ultimatepp.org/redmine/issues/1862011-11-25T13:48:54ZMiroslav Fidlercxl@ntllib.org
<p>For true fortification, we cannot relly on sprintf - it crashes for some formatting strings.</p> Feature #73 (New): improve color Standard conversions RGB <-> Cie XYZ <-> Cie L*a*b*https://www.ultimatepp.org/redmine/issues/732011-07-05T20:00:36ZIon Lupascuionlupascu@gmail.com
<p>link forum: <a href="http://www.ultimatepp.org/forum/index.php?t=msg&goto=32776&&srch=color#msg_32776" class="external">Ultimate Forum discussion</a></p> Feature #32 (New): svn log filter to do almost automatic announcement textshttps://www.ultimatepp.org/redmine/issues/322011-02-17T11:49:28ZIñaki Zabalakoldo.ramirez@gmail.com
<p>Actually to prepare announcement texts is very annoying: hundreds of messages to filter.</p>
<p>The proposal is to do a program (or adding uppweb this feature) to do automatically the announcement text, to be filtered by a human before releasing it.</p>
<p>The tasks would be:<br />- To define and agree a svn log format<br />- To modify TheIDE to add in svn menu the options to fill the log format automatically<br />- To do a program (or adding to uppweb) to filter svn messages from last release and to prepare announcement prepared to follow different formats (Google, SF, FreshMeat, U++).</p>