<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/wtl/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/wtl/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 21 Apr 2026 10:31:44 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wtl/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#311 AppWizard fails to generate project</title><link>https://sourceforge.net/p/wtl/bugs/311/?limit=25#fb47/4bbb/c3fc/c4ea/d701/b0b1</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hardcoding is neat, if 'stdafx.cpp' is always the first item and no Non-ASCII exists.&lt;br/&gt;
A solution using substring() needs more urgly codes, and more testing.&lt;br/&gt;
I've tried startsWith(\u...) and substring(1/2/3,etc.) at first,  and then chosen hardcoding at last.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Tue, 21 Apr 2026 10:31:44 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcbefe67d57621bcd1f8e1f672a2dd32c7258c214</guid></item><item><title>#311 AppWizard fails to generate project</title><link>https://sourceforge.net/p/wtl/bugs/311/?limit=25#fb47/4bbb/c3fc/c4ea/d701</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You are right - this should work.&lt;/p&gt;
&lt;p&gt;However, we can't have hardcoded 'stdafx.cpp' there. We should use substring after BOM.&lt;/p&gt;
&lt;p&gt;Can you also try to identify BOM characters instead of just checking &amp;gt; 128?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;
Nenad&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Tue, 21 Apr 2026 06:58:05 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netaa11933d33d09eb7fd4db5c3a5f5a6e1d4da56f0</guid></item><item><title>#311 AppWizard fails to generate project</title><link>https://sourceforge.net/p/wtl/bugs/311/?limit=25#fb47/4bbb/c3fc/762b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Now, the WTL10 AppWizard creates project successfully.&lt;/p&gt;
&lt;p&gt;And I'll go one step further to inject WTL dir into VCprj include-dirs section automatically&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Mon, 20 Apr 2026 14:43:47 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8de1bda05d1af842ebd436cc70d3e6a4f14d5c26</guid></item><item><title>#311 AppWizard fails to generate project</title><link>https://sourceforge.net/p/wtl/bugs/311/?limit=25#fb47/4bbb/c3fc/c4ea</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;works well.  latest WTL10_01: WTL10_01_Release-20260302.zip, or wtl-git-011be908a1122e7bc9fd1106ecc48f22f5f86f00.zip&lt;/p&gt;
&lt;p&gt;Unpack, then execute Setup.js, inject the bold line into WTL10_01\AppWizard\Files\Scripts\1033\default.js&lt;/p&gt;
&lt;p&gt;now,  it works neither utf-8 with BOM or not&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Mon, 20 Apr 2026 14:33:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3d629939a844d65f32886356b731e68adee1aa98</guid></item><item><title>#311 AppWizard fails to generate project</title><link>https://sourceforge.net/p/wtl/bugs/311/?limit=25#fb47/4bbb/c3fc</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Have you tested this? I don't think it will help here - the Wizard engine creates and uses a UTF8 file, not WTL&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Mon, 20 Apr 2026 05:46:36 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4452c9a74d5b1a0b3a8f3eecf4a3e5d6381cd0f6</guid></item><item><title>#311 AppWizard fails to generate project</title><link>https://sourceforge.net/p/wtl/bugs/311/?limit=25#fb47/4bbb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;function AddFilesToCustomProj(...)&lt;br/&gt;
{...&lt;br/&gt;
if (strTpl != '')&lt;br/&gt;
{&lt;br/&gt;
&lt;strong&gt;if(strTpl.charCodeAt(0)&amp;gt;128) strTpl = 'stdafx.cpp';&lt;/strong&gt; // fix: UTF-8 BOM EFBBBF problem&lt;/p&gt;
&lt;p&gt;adding this line, just works&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Thu, 16 Apr 2026 18:13:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net58ea15f68001fc173db3cde57856e911d21fc63b</guid></item><item><title>#344 The first parameter of the SetPanes() method should be const</title><link>https://sourceforge.net/p/wtl/bugs/344/?limit=25#e04b</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Mon, 13 Apr 2026 03:21:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1d932076f620d48617070aac7cf53d7bee57b126</guid></item><item><title>#344 The first parameter of the SetPanes() method should be const</title><link>https://sourceforge.net/p/wtl/bugs/344/?limit=25#6d0a</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Nenad Stefanovic&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nenad Stefanovic</dc:creator><pubDate>Thu, 02 Apr 2026 03:57:03 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbacfc43f93abe6fd0b08bddce342f3c271f0c40e</guid></item><item><title>The first parameter of the SetPanes() method should be const</title><link>https://sourceforge.net/p/wtl/bugs/344/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Current implementation:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;BOOL SetPanes(int* pPanes, int nPanes, bool bSetText = true)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Suppose we have:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;constexpr&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;::&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nb nb-Type"&gt;int&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;kPanes&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;ID_DEFAULT_PANE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ID_FILE_ENCODE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;                                    &lt;/span&gt;&lt;span class="n"&gt;ID_EDIT_MODE&lt;/span&gt;&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Then &lt;code&gt;SetPanes(kPanes.data(), gsl::narrow_cast&amp;lt;int&amp;gt;(kPanes.size()), false);&lt;/code&gt; will fail to compile now.&lt;/p&gt;
&lt;p&gt;Should be:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;BOOL&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SetPanes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;const&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb nb-Type"&gt;int&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pPanes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb nb-Type"&gt;int&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;nPanes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb nb-Type"&gt;bool&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;bSetText&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="bp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://sourceforge.net/p/wtl/git/merge-requests/6/"&gt;https://sourceforge.net/p/wtl/git/merge-requests/6/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">UM U</dc:creator><pubDate>Thu, 02 Apr 2026 02:52:22 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1e6179eb90aab8b2072346c7472e814ccb85bb51</guid></item><item><title>The first parameter of the SetPanes() method should be const</title><link>https://sourceforge.net/p/wtl/bugs/344/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 344 has been modified: The first parameter of the SetPanes() method should be const&lt;br/&gt;
Edited By: Nenad Stefanovic (nenadstefanovic)&lt;br/&gt;
Owner updated: None =&amp;gt; 'nenadstefanovic'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">UM U</dc:creator><pubDate>Thu, 02 Apr 2026 02:52:22 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net09a2370c4ff46d12a700dabf834587f4d1e18c9e</guid></item></channel></rss>