<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/boa-constructor/patches/" rel="alternate"/><link href="https://sourceforge.net/p/boa-constructor/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/boa-constructor/patches/</id><updated>2013-03-27T03:47:23Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>UnicodeDecodeError</title><link href="https://sourceforge.net/p/boa-constructor/patches/29/" rel="alternate"/><published>2013-03-27T03:47:23Z</published><updated>2013-03-27T03:47:23Z</updated><author><name>Twi John</name><uri>https://sourceforge.net/u/twijohn/</uri></author><id>https://sourceforge.netbf3dc923d3b4ec7d40b7ded4684d10c02d59b2b4</id><summary type="html">&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;</summary></entry><entry><title>Hardcode sys.maxint value to the one returned by 32-bit plat</title><link href="https://sourceforge.net/p/boa-constructor/patches/28/" rel="alternate"/><published>2009-07-30T21:13:11Z</published><updated>2009-07-30T21:13:11Z</updated><author><name>Luca Falavigna</name><uri>https://sourceforge.net/u/dktrkranz/</uri></author><id>https://sourceforge.net05b8ef376072b62717de619429a06a46e67f9c10</id><summary type="html">&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;</summary></entry><entry><title>better support for Plone/Zope3 Developers</title><link href="https://sourceforge.net/p/boa-constructor/patches/27/" rel="alternate"/><published>2006-12-22T14:12:12Z</published><updated>2006-12-22T14:12:12Z</updated><author><name>Jens Klein</name><uri>https://sourceforge.net/u/yenzenz/</uri></author><id>https://sourceforge.net136824515a93dd293ad57321bb46dbe423b0ba7a</id><summary type="html">&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;</summary></entry><entry><title>MS_WIN, correct start-up position of editor &amp; inspector</title><link href="https://sourceforge.net/p/boa-constructor/patches/26/" rel="alternate"/><published>2006-06-03T18:40:24Z</published><updated>2006-06-03T18:40:24Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net1d07e28cedf02b12f126b621164b9e4e1ba5f67c</id><summary type="html">&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;</summary></entry><entry><title>DateTimeCompanions.py</title><link href="https://sourceforge.net/p/boa-constructor/patches/25/" rel="alternate"/><published>2005-07-13T18:12:42Z</published><updated>2005-07-13T18:12:42Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net007d8657ac10f33bc9ec12b0b25d702eed463bd9</id><summary type="html">&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;</summary></entry><entry><title>[ 1203751 ] Editor Status History</title><link href="https://sourceforge.net/p/boa-constructor/patches/24/" rel="alternate"/><published>2005-05-24T17:01:40Z</published><updated>2005-05-24T17:01:40Z</updated><author><name>Quamis</name><uri>https://sourceforge.net/u/quamis/</uri></author><id>https://sourceforge.net4ed4ef4be6843bc004c7684e55ed4c4708039c33</id><summary type="html">&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;</summary></entry><entry><title>Some patches for BOA CVS_050520</title><link href="https://sourceforge.net/p/boa-constructor/patches/23/" rel="alternate"/><published>2005-05-22T21:23:00Z</published><updated>2005-05-22T21:23:00Z</updated><author><name>dxmiki</name><uri>https://sourceforge.net/u/dxmiki/</uri></author><id>https://sourceforge.netbc2ed8b5d7c2f950ac1e7f1d3324c182757d0874</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Mac-integration</title><link href="https://sourceforge.net/p/boa-constructor/patches/22/" rel="alternate"/><published>2005-05-21T09:44:28Z</published><updated>2005-05-21T09:44:28Z</updated><author><name>Hugin777</name><uri>https://sourceforge.net/u/hugin777/</uri></author><id>https://sourceforge.netb7052db85f94f7f2e12a84812f8a39682da600a7</id><summary type="html">&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;</summary></entry><entry><title>date stamp 'disambiguation' in module info</title><link href="https://sourceforge.net/p/boa-constructor/patches/21/" rel="alternate"/><published>2005-04-12T21:48:45Z</published><updated>2005-04-12T21:48:45Z</updated><author><name>Shi Sherebrin</name><uri>https://sourceforge.net/u/userid-630999/</uri></author><id>https://sourceforge.net306749bb89c76f92ce5993475d335c2f7707801f</id><summary type="html">&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;</summary></entry><entry><title>Anchors not working in designer</title><link href="https://sourceforge.net/p/boa-constructor/patches/20/" rel="alternate"/><published>2005-04-07T14:29:19Z</published><updated>2005-04-07T14:29:19Z</updated><author><name>Alex Verstraeten</name><uri>https://sourceforge.net/u/userid-335303/</uri></author><id>https://sourceforge.netacbe94ba060b515ef09e2ea9778d850b71ce9804</id><summary type="html">&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;</summary></entry></feed>