U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2017-02-24T14:10:17ZRedmine
Redmine Bug #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> Task #1437 (New): Fix documentation linkshttps://www.ultimatepp.org/redmine/issues/14372016-05-01T10:04:35ZZbigniew Rebacz
<p>We need to improve our documentation fast. Almost all links doesn't work (In TheIDE help - on website the ratio is bette). In the topic editor hyperlink instead of simply "Point" should be "topic://Core/src/Point$en-us".</p>
<p>Why website handle several links? It is because if "Point" reefers to current package like "Core" it finds it. But if the Point will be included in Draw documentation we will receive dead link.</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 #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 #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 #45 (New): TheIDE: create 'import by #include' functionhttps://www.ultimatepp.org/redmine/issues/452011-03-11T12:57:54ZMiroslav Fidlercxl@ntllib.org
<p>...for '.png' style inclusion of 3rd party code...</p> Feature #13 (New): Sqlite3 character encodinghttps://www.ultimatepp.org/redmine/issues/132011-01-25T12:08:00ZMiroslav Fidlercxl@ntllib.org
<p><a class="external" href="http://www.ultimatepp.org/forum/index.php?t=msg&goto=30859&#msg_30859">http://www.ultimatepp.org/forum/index.php?t=msg&goto=30859&#msg_30859</a></p> Feature #10 (New): XML: support different encodingshttps://www.ultimatepp.org/redmine/issues/102011-01-25T09:52:10ZMiroslav Fidlercxl@ntllib.orgFeature #1 (New): Check and apply TreeCtrl improvementhttps://www.ultimatepp.org/redmine/issues/12011-01-23T22:33:45ZMiroslav Fidlercxl@ntllib.org
<p><a class="external" href="http://www.ultimatepp.org/forum/index.php?t=msg&th=5736&start=0x%x">http://www.ultimatepp.org/forum/index.php?t=msg&th=5736&start=0x%x</a>%</p>