PUI: Difference between revisions

Jump to navigation Jump to search
397 bytes added ,  19 April 2023
m
→‎Canvas Emulation: https://sourceforge.net/p/flightgear/mailman/message/37805060/
m (→‎Status: https://sourceforge.net/p/flightgear/mailman/message/37805054/)
m (→‎Canvas Emulation: https://sourceforge.net/p/flightgear/mailman/message/37805060/)
Line 97: Line 97:
James has done about 75% (hah!) of the C++ work to enable live reloading of modules this way, but unfortunately there are some code paths that would become crashy if you use the feature for the Canvas: because it would reference the ‘old’ (pre-reload) Nasal code, and not the new one, and therefore you’d get a weird mix of old and new, and then just crash the sim. To fix it properly I need to track down those places that store a reference to Canvas and give them a re-init method, so we don’t keep the stale references.
James has done about 75% (hah!) of the C++ work to enable live reloading of modules this way, but unfortunately there are some code paths that would become crashy if you use the feature for the Canvas: because it would reference the ‘old’ (pre-reload) Nasal code, and not the new one, and therefore you’d get a weird mix of old and new, and then just crash the sim. To fix it properly I need to track down those places that store a reference to Canvas and give them a re-init method, so we don’t keep the stale references.


The general non-fun-ness of that kind of debugging is why I’ve been making such slow progress on my PUI replacement widgets recently <ref>https://sourceforge.net/p/flightgear/mailman/message/37756263/</ref>
The general non-fun-ness of that kind of debugging is James has been making such slow progress on my PUI replacement widgets recently <ref>https://sourceforge.net/p/flightgear/mailman/message/37756263/</ref>
 
 
As of 04/2023, remaining items on the todo list are: <ref>https://sourceforge.net/p/flightgear/mailman/message/37805060/</ref>
 
* Grid layout
*  list
*  table (and tree ?) models corresponding views
* waypoint list
* log list
* airport-list equivalents
*  Nasal access to the menu i18n functions
*  selection support for single- and multi-line text (which is being worked on -> CanvasPangoText)


=== Parser ===
=== Parser ===

Navigation menu