<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/boa-constructor/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/boa-constructor/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 27 Mar 2013 03:47:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/boa-constructor/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>UnicodeDecodeError</title><link>https://sourceforge.net/p/boa-constructor/patches/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I had to a problem wtth codec but I correct.&lt;/p&gt;
&lt;p&gt;This Error: &lt;/p&gt;
&lt;p&gt;File "/home/twijohn/Área de Trabalho/boa-constructor-0.6.1/ImageStore.py", line 97, in checkPath&lt;br /&gt;
raise InvalidImgPathError, _('%s not valid') %imgPath&lt;br /&gt;
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)&lt;/p&gt;
&lt;p&gt;Ok. Now go to "ImageStore.py" in line 97&lt;/p&gt;
&lt;p&gt;You need add this decode: imgPath.decode('utf-8')&lt;/p&gt;
&lt;p&gt;Problem Solved&lt;/p&gt;
&lt;p&gt;Thanks. Twi John&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Twi John</dc:creator><pubDate>Wed, 27 Mar 2013 03:47:23 -0000</pubDate><guid>https://sourceforge.netbf3dc923d3b4ec7d40b7ded4684d10c02d59b2b4</guid></item><item><title>Hardcode sys.maxint value to the one returned by 32-bit plat</title><link>https://sourceforge.net/p/boa-constructor/patches/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On 64-bit systems, OverflowError exception is raised while processing maxint.&lt;br /&gt;
Hardcoding it to 32--bit systems fixes it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luca Falavigna</dc:creator><pubDate>Thu, 30 Jul 2009 21:13:11 -0000</pubDate><guid>https://sourceforge.net05b8ef376072b62717de619429a06a46e67f9c10</guid></item><item><title>better support for Plone/Zope3 Developers</title><link>https://sourceforge.net/p/boa-constructor/patches/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have some minor patches:&lt;/p&gt;
&lt;p&gt;Recognize different Zope-Specifi text/plain files:&lt;br /&gt;
&amp;lt;snip&amp;gt;&lt;br /&gt;
Index: Models/EditorModels.py&lt;br /&gt;
===================================================================&lt;br /&gt;
RCS file: /cvsroot/boa-constructor/boa/Models/EditorModels.py,v&lt;br /&gt;
retrieving revision 1.20&lt;br /&gt;
diff -u -r1.20 EditorModels.py&lt;br /&gt;
--- Models/EditorModels.py      12 Oct 2006 12:01:32 -0000      1.20&lt;br /&gt;
+++ Models/EditorModels.py      22 Dec 2006 13:57:00 -0000&lt;br /&gt;
@@ -405,7 +405,7 @@&lt;br /&gt;
InternalFileModel.modelIdentifier: InternalFileModel,&lt;br /&gt;
})&lt;/p&gt;
&lt;p&gt;-extMap[''] = TextModel&lt;br /&gt;
+extMap[''] = extMap['.metadata'] = extMap['.po'] = extMap['.pot'] = extMap['.props'] = TextModel&lt;br /&gt;
extMap['.jpg'] = extMap['.gif'] = extMap['.png'] = extMap['.ico'] = BitmapFileModel&lt;/p&gt;
&lt;p&gt;EditorHelper.imageExtReg.extend(['.bmp', '.jpg', '.gif', '.png', '.ico'])&lt;br /&gt;
&amp;lt;/snip&amp;gt;&lt;/p&gt;
&lt;p&gt;Recognize zope 3 zcml and IMS-VDEX Files&lt;br /&gt;
&amp;lt;snip&amp;gt;&lt;br /&gt;
Index: Models/XMLSupport.py&lt;br /&gt;
===================================================================&lt;br /&gt;
RCS file: /cvsroot/boa-constructor/boa/Models/XMLSupport.py,v&lt;br /&gt;
retrieving revision 1.9&lt;br /&gt;
diff -u -r1.9 XMLSupport.py&lt;br /&gt;
--- Models/XMLSupport.py        16 Oct 2006 12:59:31 -0000      1.9&lt;br /&gt;
+++ Models/XMLSupport.py        22 Dec 2006 13:57:00 -0000&lt;br /&gt;
@@ -61,5 +61,5 @@&lt;/p&gt;
&lt;p&gt;#-------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;-Plugins.registerFileType(XMLFileController, aliasExts=('.dtd', '.xrc'))&lt;br /&gt;
+Plugins.registerFileType(XMLFileController, aliasExts=('.dtd', '.xrc', '.zcml', '.vdex'))&lt;br /&gt;
Plugins.registerLanguageSTCStyle('XML', 'xml', XMLStyledTextCtrlMix, 'stc-styles.rc.cfg')&lt;br /&gt;
cvs diff: Diffing Plug-ins&lt;br /&gt;
&amp;lt;/snip&amp;gt;&lt;/p&gt;
&lt;p&gt;Recognize CMFFormController Pagetemplates:&lt;br /&gt;
&amp;lt;snip&amp;gt;&lt;br /&gt;
Index: Plug-ins/ProdPageTemplates.plug-in.py&lt;br /&gt;
===================================================================&lt;br /&gt;
RCS file: /cvsroot/boa-constructor/boa/Plug-ins/ProdPageTemplates.plug-in.py,v&lt;br /&gt;
retrieving revision 1.10&lt;br /&gt;
diff -u -r1.10 ProdPageTemplates.plug-in.py&lt;br /&gt;
--- Plug-ins/ProdPageTemplates.plug-in.py       16 Oct 2006 13:08:43 -0000      1.10&lt;br /&gt;
+++ Plug-ins/ProdPageTemplates.plug-in.py       22 Dec 2006 13:57:00 -0000&lt;br /&gt;
@@ -31,6 +31,7 @@&lt;br /&gt;
EditorHelper.modelReg[ZopePageTemplateFSModel.modelIdentifier] = ZopePageTemplateFSModel&lt;br /&gt;
EditorHelper.extMap['.pt'] = ZopePageTemplateFSModel&lt;br /&gt;
EditorHelper.extMap['.zpt'] = ZopePageTemplateFSModel&lt;br /&gt;
+EditorHelper.extMap['.cpt'] = ZopePageTemplateFSModel&lt;/p&gt;
&lt;p&gt;#---Views-----------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;lt;/snip&amp;gt;&lt;/p&gt;
&lt;p&gt;And finally: Everything where Boa dont know the encoding: Try UTF8, as it is better than crash every file-load (would be nice to have it as configuration option).&lt;/p&gt;
&lt;p&gt;&amp;lt;snip&amp;gt;&lt;br /&gt;
Index: Utils.py&lt;br /&gt;
===================================================================&lt;br /&gt;
RCS file: /cvsroot/boa-constructor/boa/Utils.py,v&lt;br /&gt;
retrieving revision 1.56&lt;br /&gt;
diff -u -r1.56 Utils.py&lt;br /&gt;
--- Utils.py    2 Nov 2006 18:08:57 -0000       1.56&lt;br /&gt;
+++ Utils.py    22 Dec 2006 13:56:59 -0000&lt;br /&gt;
@@ -898,7 +898,7 @@&lt;/p&gt;
&lt;p&gt;match = coding_re.search(str)&lt;br /&gt;
if not match:&lt;br /&gt;
-        return None&lt;br /&gt;
+        return 'utf-8'&lt;br /&gt;
name = match.group(1)&lt;br /&gt;
# Check whether the encoding is known&lt;br /&gt;
import codecs&lt;/p&gt;
&lt;p&gt;&amp;lt;/snip&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jens Klein</dc:creator><pubDate>Fri, 22 Dec 2006 14:12:12 -0000</pubDate><guid>https://sourceforge.net136824515a93dd293ad57321bb46dbe423b0ba7a</guid></item><item><title>MS_WIN, correct start-up position of editor &amp; inspector</title><link>https://sourceforge.net/p/boa-constructor/patches/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On Windows XP(maybe 9x/2000, too), if the taskbar is on&lt;br /&gt;
top of the screen, the position of the Editor &amp;amp;&lt;br /&gt;
Inspector won't go right when BC starts up. In fact,&lt;br /&gt;
they move up a bit, as if the taskbar were still at the&lt;br /&gt;
bottom.&lt;/p&gt;
&lt;p&gt;I figure it out that it is Preferences.underPalette&lt;br /&gt;
which causes this problem. Having tried to add some&lt;br /&gt;
code at line 217 of Preferences.py, I solved the&lt;br /&gt;
problem regardless of whether the taskbar is on top or&lt;br /&gt;
bottom:&lt;/p&gt;
&lt;p&gt;if wx.Platform == '__WXMSW__':&lt;br /&gt;
underPalette += _y&lt;/p&gt;
&lt;p&gt;Definition of _y is at line 195:&lt;/p&gt;
&lt;p&gt;_x, _y, screenWidth, screenHeight =&lt;br /&gt;
wx.GetClientDisplayRect()&lt;/p&gt;
&lt;p&gt;Rocky&lt;br /&gt;
rockallite.wulf(AT)gmail.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 03 Jun 2006 18:40:24 -0000</pubDate><guid>https://sourceforge.net1d07e28cedf02b12f126b621164b9e4e1ba5f67c</guid></item><item><title>DateTimeCompanions.py</title><link>https://sourceforge.net/p/boa-constructor/patches/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;While testing some Date-handling i've found a nifty one:&lt;/p&gt;
&lt;p&gt;Applying a datepickerctrl to a frame, binding an event&lt;br /&gt;
to it you'll see a splitted string like this&lt;br /&gt;
D     _    V&lt;br /&gt;
E     E    E&lt;br /&gt;
G     T    .&lt;br /&gt;
N     A    x&lt;br /&gt;
A     D    w&lt;br /&gt;
H     _&lt;/p&gt;
&lt;p&gt;so you cannot use it, while choosing one of the letters&lt;br /&gt;
will produce an event with simply the name of the letter.&lt;/p&gt;
&lt;p&gt;Just a missing , is the reason, so take the patch or&lt;br /&gt;
fix the line by hand&lt;/p&gt;
&lt;p&gt;in Companions/DateTimeCompanions find following line&lt;br /&gt;
(l-no 65)&lt;br /&gt;
EventCollections.EventCategories['DatePickerCtrlEvent']&lt;br /&gt;
= ('wx.EVT_DATE_CHANGED')&lt;br /&gt;
and fix it to &lt;br /&gt;
EventCollections.EventCategories['DatePickerCtrlEvent']&lt;br /&gt;
= ('wx.EVT_DATE_CHANGED',) &lt;/p&gt;
&lt;p&gt;to make it a tuple with one entry&lt;/p&gt;
&lt;p&gt;cheers, Marcus&lt;/p&gt;
&lt;p&gt;btw, i'll post it to the newsgroup also&lt;/p&gt;&lt;/div&gt;</description><pubDate>Wed, 13 Jul 2005 18:12:42 -0000</pubDate><guid>https://sourceforge.net007d8657ac10f33bc9ec12b0b25d702eed463bd9</guid></item><item><title>[ 1203751 ] Editor Status History</title><link>https://sourceforge.net/p/boa-constructor/patches/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've fixed bug in file EditorUtils.py in line 139. I've&lt;br /&gt;
attached diff file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Quamis</dc:creator><pubDate>Tue, 24 May 2005 17:01:40 -0000</pubDate><guid>https://sourceforge.net4ed4ef4be6843bc004c7684e55ed4c4708039c33</guid></item><item><title>Some patches for BOA CVS_050520</title><link>https://sourceforge.net/p/boa-constructor/patches/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dxmiki</dc:creator><pubDate>Sun, 22 May 2005 21:23:00 -0000</pubDate><guid>https://sourceforge.netbc2ed8b5d7c2f950ac1e7f1d3324c182757d0874</guid></item><item><title>Mac-integration</title><link>https://sourceforge.net/p/boa-constructor/patches/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This closes:&lt;/p&gt;
&lt;p&gt;[ 1176002 ] Command-Q doesn't exit Boa Constructor (Mac)&lt;br /&gt;
[ 1175996 ] Duplicate help menus on the Mac&lt;/p&gt;
&lt;p&gt;In addition, preferences and the about menu behave as expected on &lt;br /&gt;
Mac OS X.&lt;/p&gt;
&lt;p&gt;----------------&lt;/p&gt;
&lt;p&gt;Note that the last added line "SetMacHelpMenuTitleName('Help')" &lt;br /&gt;
would not be necessary if the line above:&lt;br /&gt;
self.mainMenu.Append(self.helpMenu, 'Help')&lt;br /&gt;
became:&lt;br /&gt;
self.mainMenu.Append(self.helpMenu, '&amp;amp;Help')&lt;br /&gt;
as wxPython looks for the string "&amp;amp;Help" to identify the Help menu.&lt;/p&gt;
&lt;p&gt;NB: The wx.App.SetMac*-methods should be available even when &lt;br /&gt;
not running under Mac OS X.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hugin777</dc:creator><pubDate>Sat, 21 May 2005 09:44:28 -0000</pubDate><guid>https://sourceforge.netb7052db85f94f7f2e12a84812f8a39682da600a7</guid></item><item><title>date stamp 'disambiguation' in module info</title><link>https://sourceforge.net/p/boa-constructor/patches/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is part of my personal crusade to get the world to&lt;br /&gt;
adopt yyyy/mm/dd - in my opinion, it's the only&lt;br /&gt;
sensible, non-ambiguous format!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shi Sherebrin</dc:creator><pubDate>Tue, 12 Apr 2005 21:48:45 -0000</pubDate><guid>https://sourceforge.net306749bb89c76f92ce5993475d335c2f7707801f</guid></item><item><title>Anchors not working in designer</title><link>https://sourceforge.net/p/boa-constructor/patches/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Anchors not working in designer&lt;br /&gt;
When I right click at an anchor the wxMenu pops up, I&lt;br /&gt;
click on it to check/uncheck but it has no effect at&lt;br /&gt;
all.. although it works fine If I modify its value from&lt;br /&gt;
the inspector.&lt;/p&gt;
&lt;p&gt;I've been testing this out on:&lt;br /&gt;
Windows XP Professional&lt;/p&gt;
&lt;p&gt;python 2.4&lt;br /&gt;
wxPython 2.5&lt;br /&gt;
boa 0.4.0&lt;/p&gt;
&lt;p&gt;it was a fresh install of the following packages:&lt;/p&gt;
&lt;p&gt;python-2.4.msi&lt;br /&gt;
wxPython2.5-win32-unicode-2.5.4.1-py24.exe&lt;br /&gt;
boa-constructor-0.4.0.win32.exe&lt;/p&gt;
&lt;p&gt;the fix is to change the file Views/SelectionTags.py&lt;/p&gt;
&lt;p&gt;def OnAnchorToggle(self, event):&lt;br /&gt;
anchor = not event.Checked()&lt;/p&gt;
&lt;p&gt;to this&lt;/p&gt;
&lt;p&gt;def OnAnchorToggle(self, event):&lt;br /&gt;
anchor = event.Checked()&lt;/p&gt;
&lt;p&gt;you can also consider using IsChecked instead of&lt;br /&gt;
Checked since it has been deprecated.&lt;/p&gt;
&lt;p&gt;I guess this problem only occurs with wxpython 2.5,&lt;br /&gt;
maybe the menu event now gets triggered "after" the&lt;br /&gt;
value is changed. but I didn't try it on wxpy2.4&lt;/p&gt;
&lt;p&gt;just my little collaboration...hope it helps!&lt;br /&gt;
keep the good stuff comming!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Verstraeten</dc:creator><pubDate>Thu, 07 Apr 2005 14:29:19 -0000</pubDate><guid>https://sourceforge.netacbe94ba060b515ef09e2ea9778d850b71ce9804</guid></item></channel></rss>