v2.5.2 Released : Another Speedup And More Fixes

CMDR Genar_Hofoen

July 29, 2022

Due to the large amount of changes in the 2.5.x releases, a number of bugs cropped up, as well as database session exhaustion which was the cause of a lot of problems.

2.5.1 sorted a lot of those.

This 2.5.2 release fixes the DB session exhaustion, some other fixes, and also has a speedup in the Planet Table...

Download from here.

Regards o7

Genar.

v2.5.2 Changelogs:
[SPEEDUP] - On every planet scan, instead of clearing and redrawing everything in the Planet Table, just insert a new row in the correct order instead. Not only does this make the Planet Table update faster, it makes the Overlay planet data display faster too.
[FIX] - CL was suffering from database session "exhaustion", causing weird function crashes and side-effects like the Planet Table not updating, amongst other things. Fixed by supplying each DB function in the DBInterface class its own session.
[FIX] - similarly to above, supply lots of CL main loop functions with their own DB session. Also make them use the Parser DBInterface, ensuring they're getting freshly updated data from the database.
[FIX] - in DBInterface(): isnavbeacondata(), use the intended one_or_none() instead of one() in database query, which prevents a failure due to NoResultFound.
[MISC] - renamed a DBInterface function for clarity of code.
[MISC] - When testing for events, test for SAAScanComplete, FSSBodySignals, and SAASignalsFound before looking for Scan (race condition prevention).
[MISC] - Remove an unneeded argument when creating a Jump db session.
[MISC] - remove unused variable from some function calls.
[MISC] - format jump distance to two decimal points with zeroes in Jump Table. Also align to the right for neatness.
[MISC] - remove calculation of total stars value from planet table widget class.
[MISC] - remove calculation of total planets value from planet table widget.
[MISC] - redraw the system data when coming out of the galaxy browser.
[MISC] - rewired update of total system value to suit the new method of adding a scanned planet to the planet table.

 

blog comments powered by Disqus