X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sat, 26 Mar 2016 11:25:31 +0100 (CET) X-X-Sender: igor2 AT igor2priv To: geda-user AT delorie DOT com X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: [geda-user] plugins (was: mucs autorouter) In-Reply-To: <20160324015810.0fe40ea2@floyd.freeelectron.net> Message-ID: References: <20160324015810 DOT 0fe40ea2 AT floyd DOT freeelectron DOT net> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 24 Mar 2016, al davis wrote: > On Tue, 22 Mar 2016 09:23:15 +0100 > Kai-Martin Knaak wrote: >> ..... plugins do not track advances of the main source. So >> they bit-rot and tend to "go away". > > That's only true when the plugins are of bad quality and are abandoned > by the plugin's author. > > In this case, having it "go away" is probably preferable compared to > contaminating the core code. > > A lot of it depends how plugins are used. In Gnucap, certain things > must be plugins, and plugins can be static linked, so new features can > be developed as plugins, then when they are ready included with the > main program just by putting the file in the right place and listing in > the makefile. Same here in pcb-rnd. This morning I finished converting the HIDs to plugins. pcb-rnd already could be compiled to contain both the gtk and the lesstif HID and the user could select which one to start with. With the full plugin conversion now the user is free to select whether they are static linked or dynamic linked. After replacing the menu.res infrastructure, it will be possible to switch the HID runtime, without even having to save/reload the design.