Preparing for next iteration
Posted by mholmes on 16 Dec 2008 in Activity log
The next iteration of Transformer needs to get rid of its dependence on the buggy TURESearch component from jclUnicode.pas, which has serious issues. I've been searching for ages for a decent open-source alternative, and now I think I've found one. It requires Delphi 2009, but that's on order (I think), and I do need a relatively straightforward project with which to pilot a move to D2009; Transformer is probably that project. This would be the migration path:
- Get D2009 installed and working.
- Create a new projects tree.
- Migrate Transformer files into it, along with other key libraries from my current tree (such as Batch, Translate, etc.).
- Install XDOM 4.2 (or ADOM, if that's the current name of the appropriate version), and Project JEDI JCL and JVCL.
- For each sub-project (Batch, Preferences, Translate, FormState, SplashAbout, RecentFiles...), create a new test/dev app in which to develop it.
- For each sub-project, remove all TNT dependencies, and rationalize all dependent code so that Unicode strings are now used. Pay special attention to any SystemFunctions, FileFunctions and StringFunctions code which may be invoked. It may be necessary to start a new version of each of those files, into which we only add functions that we turn out to need.
- Once all the dependent projects are working, bring in Transformer and strip out TNT from that.
- Get the PERL RegExp wrapper package and install that in Delphi.
- Rewrite the string replace code based on it.
- Once everything is working, think about adding the XSLT support through libxml, as in IMT.