Mailing list archives : pcb-rnd

ID:2502
From:ge...@igor2.repo.hu
Date:Thu, 6 Dec 2018 12:48:01 +0100 (CET)
Subject:[pcb-rnd] cleanup state: we are 3.79% smaller
Hi all,
 
after so much code added this year, for the data model rewrite, for better 
scripting, etc, now I am removing a lot.
 
Zooming out a bit: we had a period of intense infrastructural changes, 
mostly for the new data model, in 2017 and the first half of 2018. The 
bulk of those changes are over by now, so I have a chance to simpify code 
and remove some old junk.
 
Stats: since our last release, 2.1.0, we have removed almost 3.79% code 
(counting in SLOC). About half of this was removed from core, other half 
from plugins.
 
About 1.65% code removal was GPMI. The more interesting part is the rest, 
which is mainly a lot of GUI simplification and unification. Mostly 
gtk-only and lesstif-only dialog boxes rewritten in DAD, removing code 
duplication, often making more dialog boxes accessible in lesstif. 
 
As a side effect the HID API got smaller too - it's easier to maintain 
existing HIDs, it's easier to write new HIDs, because there are less 
things to do. 
 
The effort is still ongoing. Some dialogs may have changed and may change 
sligtly. Please test and report if anything broke.
 
Best regards,
 
Igor2
 

Reply subtree:
2502 [pcb-rnd] cleanup state: we are 3.79% smaller from ge...@igor2.repo.hu