gustafn
committed
on 18 Apr 22
Generalized ADP compilation caching, simplified handling of ad_init

Generalized adp-compilation caching
* since the result of ADP compila… Show more
Generalized ADP compilation caching, simplified handling of ad_init

Generalized adp-compilation caching

 * since the result of ADP compilation can depend on the icon set

   (and maybe more factors in the future), and the icon set

   can be switched freely, either one needs more ADP compilation

   at runtime (page rendering time) or caching had to be generalized.

 * generalization of caching leads to better scalability, and

   since the number of icon sets concurrently active at one

   site is limited, this option seems favorable.

 * The only potential incompatibility might be from installations

   doing "manual" incantations of "template::adp_init" followed by

   direct calls of the stub. The only packages (out of the 365

   packages in CVS) effected by this are "diagram" and

   "workflow". Both have been fixed in the repository.  This

   incantation can be simplified as followed.

Simplified handling of adp_init

 * old:

   template::adp_init adp $file_stub

   template::code::adp::$file_stub

 * new

   [template::adp_init adp $file_stub]

Bumped version to 5.10.1d8

Show less