Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread vitalije
Good catch Brian. Revision 8184a2023e5f9 contains the fix for this issue. Now hoist/dehoist commands are also tested using hypothesis. Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread Brian Theado
It no longer crashes for me, thanks. While it doesn't crash, it is still possible to move a node left out of a hoist and the node "disappears". If it is the last node then it disappears and the outline pane becomes empty. The existing leo doesn't behave this way. Another behavior difference. Leo

Re: Push to Leo Repo Failed with error:Protected branch update failed for refs/heads/devel.

2020-05-09 Thread Matt Wilkie
> > And finally, I succeeded in pushing the latest version of VR3 to Leo's devel > branch. > Yay!! :) -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: ENB: Qt-prototype is finished

2020-05-09 Thread Brian Theado
Vitalije, On Fri, May 8, 2020 at 7:51 AM vitalije wrote: > *What next?* > > The main purpose of this prototype was to prove my claims about how Leo > architecture should change. Which parts should be moved to View, which > should be moved to Model and which should be moved to the Controller. >

Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread Brian Theado
You can try making these changes: -from hypothesis import given, settings +from hypothesis import given, settings, Verbosity -@settings(max_examples=5000, deadline=timedelta(seconds=4)) +@settings(max_examples=5000, deadline=timedelta(seconds=4), verbosity=Verbosity.verbose) And then add the

Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread Brian Theado
Vitalije On Thu, May 7, 2020 at 2:42 PM vitalije wrote: > In last few days I've been working on tests to be sure that all commands > in new prototype are working correctly and that no crash will ever occur. I > am pretty sure now that the implementation is correct and there are no > remaining

Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread vitalije
If you want to have visual feedback add the following line in the test_select_and_commands function: ... meth = getattr(app, name) meth() app.processEvents() # <--- add this line ... Tests wilil run about 3 times slower, so you might want to change max_examples=5000 in the decorator to

Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread Edward K. Ream
On Friday, May 8, 2020 at 1:42:12 AM UTC-5, vitalije wrote: > I use pytest for running the tests. Just 'pytest myleoqt.py'. When I do that a blank python window appears and everything hangs. I've tried waiting several minutes. What should I do? Edward -- You received this message because

Re: Qt-prototype report and some thoughts about executeScript command

2020-05-09 Thread Edward K. Ream
On Sat, May 9, 2020 at 8:37 AM vitalije wrote: If you want to have visual feedback add the following line in the > test_select_and_commands function: > ... > meth = getattr(app, name) > meth() > app.processEvents() # <--- add this line > ... > > Tests will run about 3 times slower, so you might

Re: Push to Leo Repo Failed with error:Protected branch update failed for refs/heads/devel.

2020-05-09 Thread Edward K. Ream
On Fri, May 8, 2020 at 8:18 PM Thomas Passin wrote: > And finally, I succeeded in pushing the latest version of VR3 to Leo's devel > branch. > > Thanks so much to Matt and everyone who helped get this straightened out. > I second the thanks to Matt. Edward -- You received this message