U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2021-03-10T20:59:07ZRedmine
Redmine Bug #2152 (Ready for QA): No MyApps assembly after fresh installation on Linuxhttps://www.ultimatepp.org/redmine/issues/21522021-03-10T20:59:07ZZbigniew Rebacz
<p>Just make clean installation and check if MyApps assembly is present after installation inside TheIDE package manager window.</p> Bug #2012 (Patch ready): Remove more than one inclusion of header file(s)https://www.ultimatepp.org/redmine/issues/20122020-01-29T22:58:01ZSender Ghost
<p>There are cases with more than one inclusion of header file(s):<br />- time.h in uppsrc/Core/Core.h file (<a href="https://github.com/ultimatepp/ultimatepp/blob/8577fcf8a5ab417b0e5d9a7e978e8fa328cb20a9/uppsrc/Core/Core.h#L76" class="external">1</a>, <a href="https://github.com/ultimatepp/ultimatepp/blob/8577fcf8a5ab417b0e5d9a7e978e8fa328cb20a9/uppsrc/Core/Core.h#L95" class="external">2</a>).<br />- Core.h in <a href="https://github.com/ultimatepp/ultimatepp/blob/06b67c51e5ed436d5e39782ffca389b41c7d6f1b/uppsrc/Core/Path.cpp#L1-L2" class="external">uppsrc/Core/Path.cpp</a> file.<br />- CtrlLib.h in <a href="https://github.com/ultimatepp/ultimatepp/blob/90752f380c6bbe4f3d6edcc3f028217f40b73bdc/uppsrc/CtrlLib/ArrayCtrl.cpp#L1-L2" class="external">uppsrc/CtrlLib/ArrayCtrl.cpp</a> file.<br />- Painter.h in <a href="https://github.com/ultimatepp/ultimatepp/blob/dac1f1ea87d4750593c45c47aae4d49d02b89e1c/uppsrc/Painter/SvgParser.cpp#L1-L2" class="external">uppsrc/Painter/SvgParser.cpp</a> file.<br />- RichText.h in uppsrc/RichText/TablePaint.cpp file (<a href="https://github.com/ultimatepp/ultimatepp/blob/9140f26522388f9717a26d1eb4ff2b7b54191a54/uppsrc/RichText/TablePaint.cpp#L1" class="external">1</a>, <a href="https://github.com/ultimatepp/ultimatepp/blob/9140f26522388f9717a26d1eb4ff2b7b54191a54/uppsrc/RichText/TablePaint.cpp#L16" class="external">2</a>).<br />- ide.h in <a href="https://github.com/ultimatepp/ultimatepp/blob/4487e67407ead363ce6406083e11899534cdfb01/uppsrc/ide/FindInFiles.cpp#L1-L2" class="external">uppsrc/ide/FindInFiles.cpp</a> and <a href="https://github.com/ultimatepp/ultimatepp/blob/4487e67407ead363ce6406083e11899534cdfb01/uppsrc/ide/idewin.cpp#L1-L2" class="external">uppsrc/ide/idewin.cpp</a> files.</p> Bug #2007 (Patch ready): Minimal set for pkg-config dependencies in uppsrc/CtrlCore and uppsrc/Dr...https://www.ultimatepp.org/redmine/issues/20072020-01-21T11:48:45ZSender Ghost
<p>Possible to create minimal set of pkg-config dependencies for uppsrc/CtrlCore and uppsrc/Draw packages.<br />Also possible to extend checks for other platforms (e.g. DRAGONFLY, NETBSD, OPENBSD, OSX11, SOLARIS).</p>
<p>Tested build on FreeBSD 10.4 (for examples/AddressBook and reference/ConsoleDraw packages, but also for uppsrc/ide, etc.) for GUI and GUI X11 cases.</p>
<p>For possible reference:<br />DragonFlyBSD:<br /><a class="external" href="https://github.com/DragonFlyBSD/DPorts/tree/master/x11/libX11">https://github.com/DragonFlyBSD/DPorts/tree/master/x11/libX11</a><br /><a class="external" href="https://github.com/DragonFlyBSD/DPorts/tree/master/x11/libXinerama">https://github.com/DragonFlyBSD/DPorts/tree/master/x11/libXinerama</a><br /><a class="external" href="https://github.com/DragonFlyBSD/DPorts/tree/master/x11/libXrender">https://github.com/DragonFlyBSD/DPorts/tree/master/x11/libXrender</a></p>
<p>NetBSD:<br /><a class="external" href="https://www.pkgsrc.org/#index5h1">https://www.pkgsrc.org/#index5h1</a><br /><a class="external" href="http://pkgsrc.se/x11/libX11">http://pkgsrc.se/x11/libX11</a><br /><a class="external" href="http://pkgsrc.se/x11/libXinerama">http://pkgsrc.se/x11/libXinerama</a><br /><a class="external" href="http://pkgsrc.se/x11/libXrender">http://pkgsrc.se/x11/libXrender</a></p>
<p>OpenBSD:<br /><a class="external" href="https://github.com/openbsd/xenocara/blob/master/lib/libX11/x11.pc.in">https://github.com/openbsd/xenocara/blob/master/lib/libX11/x11.pc.in</a><br /><a class="external" href="https://github.com/openbsd/xenocara/blob/master/lib/libXinerama/xinerama.pc.in">https://github.com/openbsd/xenocara/blob/master/lib/libXinerama/xinerama.pc.in</a><br /><a class="external" href="https://github.com/openbsd/xenocara/blob/master/lib/libXrender/xrender.pc.in">https://github.com/openbsd/xenocara/blob/master/lib/libXrender/xrender.pc.in</a></p>
<p>Solaris:<br /><a class="external" href="https://www.opencsw.org/package/pkgconfig/">https://www.opencsw.org/package/pkgconfig/</a><br /><a class="external" href="https://github.com/oracle/solaris-userland/tree/master/components/pkg-config">https://github.com/oracle/solaris-userland/tree/master/components/pkg-config</a><br /><a class="external" href="https://github.com/oracle/solaris-userland/tree/master/components/x11/xserver/xorg">https://github.com/oracle/solaris-userland/tree/master/components/x11/xserver/xorg</a></p>
<p>Proposed patch attached. Also simplified check for uppsrc/CtrlLib package.</p> Feature #1993 (Patch ready): Ide/Builders: U++ builder for clang-tidyhttps://www.ultimatepp.org/redmine/issues/19932019-10-15T11:36:58ZSender Ghost
<p>There is <a href="https://clang.llvm.org/extra/clang-tidy/" class="external">clang-tidy</a> tool available as part of LLVM/Clang.</p>
<p>The clang-tidy has following usage format (for advanced use):<br /><pre>clang-tidy [options] <source0> [... <sourceN>] [-- [compiler options]]</pre><br />Where "options" is clang-tidy options, "source0" is some C/C++ source code file(s), "--" is some delimiter between clang-tidy and compiler options, such as includes (-I) and defines (-D).</p>
<p>For example:<br /><pre>clang-tidy --quiet -header-filter=".*" -checks="-*,modernize-use-override" test.cpp</pre><br />may use <a href="https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html" class="external">modernize-use-override</a> checker for test.cpp file.<br />Possible to apply available fixes with using "-fix" clang-tidy option:<br /><pre>clang-tidy --quiet -header-filter=".*" -checks="-*,modernize-use-override" -fix test.cpp</pre></p>
<p>Some command to get list of available checkers:<br /><pre>clang-tidy -list-checks -checks="*"</pre></p>
<p>Possible to use SCRIPT builder for some build method for clang-tidy.<br />But also possible to implement this as some kind of U++ builder (which also may support BLITZ build).</p>
<p>Therefore, I propose to create U++ builder for clang-tidy.</p>
<p>Some patch attached. Based on GccBuilder::BuildPackage method.<br />The clang-tidy options possible to use as part of "Compiler name" for build method. So, I also extended width of EditString for compiler variable in BuildMethodsDefaultBuilderSetupLayout layout for uppsrc/ide/ide.lay file.</p> 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> Feature #1353 (Patch ready): Tag syntax could support indentationshttps://www.ultimatepp.org/redmine/issues/13532015-12-10T21:18:24ZZbigniew Rebacz
<p>Example:<br /><pre>
<html>
____<body>
________<p></p>
____<body> <!-- Probably here user need to reverse identation - or detect this situation and remove indent from begining -->
</html>
</pre><br />_<em>_</em> - 4 _ means one identation</p> Bug #1009 (In Progress): Turtle - FileSelector undefinedhttps://www.ultimatepp.org/redmine/issues/10092015-03-08T17:08:19ZZbigniew Rebacz
<p>When compiling turtle app I have problem with file selector. It is undefined.</p>
<p>Can we do something like that:<br /><pre>
#ifdef flagTURTLE
class FileSelector : public FileSel {}
#endif
</pre></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> Bug #956 (Patch ready): Remove hand icon from calendarhttps://www.ultimatepp.org/redmine/issues/9562015-01-12T00:07:48ZZbigniew Rebacz
<p><a class="external" href="http://www.ultimatepp.org/forums/index.php?t=msg&th=7539&start=0x%x">http://www.ultimatepp.org/forums/index.php?t=msg&th=7539&start=0x%x</a>%</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 #247 (In Progress): Use shared bz2, jpeg, tiff in linuxhttps://www.ultimatepp.org/redmine/issues/2472012-01-30T12:55:44ZMiroslav Fidlercxl@ntllib.orgFeature #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.orgBug #3 (New): Report scrolling with Painter content - scroll artifactshttps://www.ultimatepp.org/redmine/issues/32011-01-24T09:48:17ZRedmine Adminfidler@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>