targets/Xenomai/XSD
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 16 Feb 2018 18:38:30 +0100
changeset 1941 cde74a39df51
parent 615 72bc3e53a1fa
permissions -rwxr-xr-x
Fixed Exception dialog disapearing after a view second when exception occurs during app startup.
Problem was caused by splashscreen timeout, wx closing averything else if there is no more main frame.
Changes:
- no more timeout for splashscreen
- use wx.App OnInit method to give first operation to mainloop, object are then now created in mainloop
- main loop is then created _before_ showing splash screen
- no more wxyield or wx processevent tricks needed to display splash screen
- exception handler not blocking anymore on dialog (callafter)
- because of mainloop being there before everything, exit must be called explicitely if exception caught during startup -> exit parameter in handle_exception + try/except around startup calls

UNTESTED ON WINDOWS
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     1
321
5a4e6278a18b Adding support for Xenomai targets.
lbessard
parents: 204
diff changeset
     2
                  <xsd:element name="Xenomai">
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     3
                    <xsd:complexType>
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     4
                      %(toolchain_gcc)s
615
72bc3e53a1fa Xenomai Fix : build
Edouard Tisserant
parents: 321
diff changeset
     5
                      <xsd:attribute name="XenoConfig" type="xsd:string" use="optional" default="xeno-config"/>
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     6
                    </xsd:complexType>
615
72bc3e53a1fa Xenomai Fix : build
Edouard Tisserant
parents: 321
diff changeset
     7
                  </xsd:element>