| ch |
e and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Sun, 10 Dec, 01:06 |
|
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
|
| r.@gosympatico.ca> |
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Tue, 22 Feb, 04:55 |
| y |
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Mon, 21 Aug, 11:42 |
| y |
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Mon, 21 Aug, 11:42 |
| y |
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Mon, 21 Aug, 11:42 |
| velu |
;span class="cx"> _m_(u&quot;Choose a file to import&quot;), &quot;&quot;,
_m_(u&quot;import.csv&quot;),
_m_(u&quot;CSV files|*.csv&quot;),
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataResizeCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataResizeCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataResizeCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataResizeCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> logger.Start(&quot;Resize app in calendar mode&quot;)
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Thu, 15 Sep, 15:11 |
|
06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Sat, 07 Apr, 02:32 |
| od |
"cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Sat, 17 Aug, 17:33 |
| <micha...@ind-info.com> |
_getAttributeFilterState()
</span><span class="lines">@@ -639,7 +639,6 @@
</span><span class="cx"> self.textStatus.SetLabel(&quot;%s%s&quot; % (self.textStatus.GetLabel(), msg))
# self.textStatus.ShowPosition(self.textStatus.GetLastPosition())
self._resize()
</span><span class="rem">- # @@@MOR wx.Yield()
</span><span class="cx">
def _hideStatus(self):
self._clearStatus()
</span><span class="lines">@@ -647,7 +646,7 @@
</span><span class="cx"> self.statusPanel.Hide()
self.mySizer.Detach(self.statusPanel)
self._resize()
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.GetApp().Yield(True)
</span><span class="cx"> pass
def _showUpdate(self, text):
</span></pre></div>
<a id="trunkchandlerapplicationdialogsSubscribeCollectionpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/application/dialogs/SubscribeCollection.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/application/dialogs/SubscribeCollection.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/application/dialogs/SubscribeCollection.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -260,7 +260,7 @@
</span><span class="cx"> self.gauge.SetValue(0)
self.subscribing = True
self._showStatus(_(u&quot;In progress...&quot;))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.GetApp().Yield(True)
</span><span class="cx">
class ShareTask(task.Task):
</span></pre></div>
<a id="trunkchandlerparcelsosafappcompactpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/app/compact.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/app/compact.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/app/compact.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx"> stages.add(stage)
self.status.SetLabel(progressMessage %(len(stages)))
self.gauge.SetValue(percent)
</span><span class="rem">- wx.Yield() # to enable updating and pressing 'Cancel'
</span><span class="add">+ wx.GetApp().Yield(True) # to enable updating and pressing 'Cancel'
</span><span class="cx"> return self.compacting
self.compact(progress)
</span></pre></div>
<a id="trunkchandlerparcelsosafframeworkscript_recordingscript_libpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/framework/script_recording/script_lib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/framework/script_recording/script_lib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/framework/script_recording/script_lib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -39,8 +39,9 @@
</span><span class="cx"> if isinstance (firstChild, wx.TextCtrl):
sentTo = firstChild
else:
</span><span class="rem">- name = stringToId [name]
- if sentTo is None:
</span><span class="add">+ sentTo = wx.FindWindowById (stringToId [name])
+ else:
+ assert type (name) is int
</span><span class="cx"> sentTo = wx.FindWindowById (name)
return sentTo
</span><span class="lines">@@ -206,7 +207,7 @@
</span><span class="cx"> if not isinstance (sentToWidget, wx.TextCtrl):
application.propagateAsynchronousNotifications()
</span><span class="rem">- application.Yield()
</span><span class="add">+ application.Yield (True)
</span><span class="cx">
# Since scrips don't actually move the cursor and cause wxMouseCaptureLostEvents
# to be generated we'll periodically release the capture from all the windows.
</span></pre></div>
<a id="trunkchandlerparcelsosafframeworkscriptingUserpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/framework/scripting/User.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/framework/scripting/User.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/framework/scripting/User.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,6 @@
</span><span class="cx"> event.m_altDown = altFlag
event.SetEventObject(widget)
# for each key, check for specials, then try several approaches
</span><span class="rem">- app = wx.GetApp()
</span><span class="cx"> for char in string:
keyCode = ord(char)
if keyCode == wx.WXK_RETURN:
</span><span class="lines">@@ -150,7 +149,7 @@
</span><span class="cx"> else:
success = False # remember we had a failure
if success:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.GetApp().Yield(True)
</span><span class="cx"> return success
def emulate_tab(shiftFlag=False):
</span><span class="lines">@@ -216,7 +215,7 @@
</span><span class="cx"> widget.ProcessEvent(mouseUp)
widget.ProcessEvent(mouseLeave)
# Give Yield to the App
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.GetApp().Yield(True)
</span><span class="cx">
def emulate_return(block=None):
&quot;&quot;&quot; Simulates a return-key event in the given block &quot;&quot;&quot;
</span><span class="lines">@@ -287,7 +286,7 @@
</span><span class="cx"> return False
def idle():
</span><span class="rem">- app = wx.GetApp()
- app.Yield()
- app.ProcessEvent(wx.IdleEvent())
- app.Yield()
</span><span class="add">+ theApp = wx.GetApp()
+ theApp.Yield(True)
+ theApp.ProcessEvent(wx.IdleEvent())
+ theApp.Yield(True)
</span></pre></div>
<a id="trunkchandlerparcelsosafframeworkscriptingproxypy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/framework/scripting/proxy.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/framework/scripting/proxy.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/framework/scripting/proxy.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> # Next propagate notifications so the UI will match the data.
# Then call Yeild to process an pending events
wx.GetApp().propagateAsynchronousNotifications()
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.GetApp().Yield(True)
</span><span class="cx">
return result
</span></pre></div>
<a id="trunkchandlerparcelsosafframeworkscriptingscriptpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/framework/scripting/script.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/framework/scripting/script.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/framework/scripting/script.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -225,12 +225,14 @@
</span><span class="cx"> # been updated, i.e. drawn -- and when the screen isn't drawn
# the focus can't be set to a widget that hasn't been drawn
# so we explicitely update the screen before running the tests
</span><span class="rem">- mainFrame = wx.GetApp().mainFrame
</span><span class="add">+ app = wx.GetApp()
+ mainFrame = app.mainFrame
</span><span class="cx"> mainFrame.Update()
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> mainFrame.Update()
</span><span class="add">+ wx.SafeYield(None, True)
+
</span><span class="cx"> global global_cats_profiler
</span><span class="rem">- wx.Yield()
</span><span class="cx"> if Globals.options.testScripts:
try:
for aScript in Script.iterItems(view):
</span></pre></div>
<a id="trunkchandlerparcelsosafviewsdetaildetailpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/views/detail/detail.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/views/detail/detail.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/views/detail/detail.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -754,7 +754,7 @@
</span><span class="cx"> #url, collectionName = MailSharing.getSharingHeaderInfo(self.item)
#statusBlock = Block.Block.findBlockByName('StatusBar')
#statusBlock.setStatusMessage( _(u'Subscribing to collection...') )
</span><span class="rem">- #wx.Yield()
</span><span class="add">+ #wx.GetApp().Yield(True)
</span><span class="cx">
## If this code is ever revived, it should call sharing.subscribe(),
## rather than the following:
</span></pre></div>
<a id="trunkchandlerparcelsosafviewsmainMainpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/views/main/Main.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/parcels/osaf/views/main/Main.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/parcels/osaf/views/main/Main.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -507,7 +507,7 @@
</span><span class="cx"> # Update the display every so often
if len (searchResults) % 50 == 0:
app.propagateAsynchronousNotifications()
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
if len(searchResults) == 0:
# For now we'll write a message to the status bar because it's easy
</span></pre></div>
<a id="trunkchandlerparcelsosafviewsmainSideBarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/parcels/osaf/views/main/SideBar.py (14659 => 14660)</h4>
<pre class="diff">
<span cla self.stopReading()
+ self.stopWriting()
+- self._startTLS()
+- self.socket = SSL.Connection(ctx.getContext(), self.soc-25foundation.org> |
Sun, 17 Jun, 07:05 |
| <des...@gnu-designs.com> |
t(&quot;Resize app in calendar mode&quot;)
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Thu, 29 Jan, 12:58 |
| w.@osafoundation.org> |
lt;span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Sat, 24 May, 21:02 |
|
)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
|
| ecke |
)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Tue, 05 Jan, 14:30 |
| ecke |
)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Tue, 05 Jan, 14:30 |
| ecke |
)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
Tue, 05 Jan, 14:30 |
|
t;)
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll calendar one unit&quot;) # Actually 24 units
for units in xrange(1, 25):
calendarWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the calendar
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the calendar
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollTablepy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollTable.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> logger.Start(&quot;Scroll table 25 scroll units&quot;)
for units in xrange(1, 25):
tableWidget.Scroll(0, units)
</span><span class="rem">- wx.Yield() # Each Yield should result in a single paint to the table
</span><span class="add">+ wx.SafeYield(None, True) # Each Yield should result in a single paint to the table
</span><span class="cx"> logger.Stop()
# Test Phase: Verification
</span></pre></div>
<a id="trunkchandlertoolsQAUITestAppLibpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QAUITestAppLib.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 00:38:46 UTC (rev 14659)
+++ trunk/chandler/tools/QAUITestAppLib.py 2007-06-12 02:50:57 UTC (rev 14660)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> logger.Start('Publish')
win.PublishCollection()
while not win.done:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> logger.Stop()
if not win.success:
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
#Done button call
win.OnPublishDone(None)
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx">
# Unsubscribe and delete the (local) collection we just published so
# that we can subscribe to it below.
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> win.OnSubscribe(None)
try:
while win.subscribing:
</span><span class="rem">- app.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> except wx.PyDeadObjectError:
# XXX The C++ part of the dialog was gone, so we are no longer
# XXX supposed to touch any attributes of the dialog. In our
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx"> if self.logger: self.logger.ReportPass(&quot;Focus set in Detail View&quot;)
else:
if self.logger: self.logger.ReportFailure(&quot;Detail View had no focusable blocks&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if self.logger: self.logger.Stop()
def SetTimeZone(self, timeZone, timeInfo=True):
</span><span class="lines">@@ -815,7 +815,7 @@
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Start(&quot;Sending the message&quot;)
App_ns.appbar.press(&quot;ApplicationBarSendButton&quot;)
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> #checkings
if self.logger: self.logger.SetChecked(True)
sent = None
</span><span class="lines">@@ -828,7 +828,7 @@
</span><span class="cx"> # wait for mail delivery
mailMessage = pim.mail.MailStamp(self.item)
while not sent:
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> sent = mailMessage.isSent()
if timeInfo:
if self.logger: self.logger.Stop()
</span><span class="lines">@@ -891,7 +891,7 @@
</span><span class="cx"> # Processing of the corresponding CPIA event
App_ns.root.Delete()
# give the Yield
</span><span class="rem">- wx.GetApp().Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> if timeInfo:
if self.logger: self.logger.Stop×JXsJˆ’D |
|
| <jonahb...@fastmail.us> |
t;)
for d in xrange(10, 51, 10):
frame.SetSize((x - d, y - d))
</span><span class="rem">- wx.Yield()
</span><span class="add">+ wx.SafeYield(None, True)
</span><span class="cx"> User.idle() # Without this we'll quit during last resize
logger.Stop()
</span></pre></div>
<a id="trunkchandlertoolsQATestScriptsPerformancePerfLargeDataScrollCalendarpy"></a>
<div class="modfile"><h4>Modified: trunk/chandler/tools/QATestScripts/Performance/PerfLargeDataScrollCalendar.py (14659 => 14660)</h4>
<pre class="diff">
<span class="info">--- trunk/chandler/tools/QATestScripts/Performance/PerfLarge |