]> git.lyx.org Git - features.git/blobdiff - lib/ChangeLog
Move common code into a 'tools' file.
[features.git] / lib / ChangeLog
index 26110abac65fd765a5f6cac7ecd674c8f2e6900b..e7c0e2788eb5eab97f7454edd5dc834bc20886bd 100644 (file)
@@ -1,3 +1,21 @@
+2004-08-09  Angus Leeming  <leeming@lyx.org>
+
+       * scripts/lyxpreview_tools.py: move code common to both
+       legacy_lyxpreview2ppm.py and lyxpreview2bitmap.py into a separate
+       file. The code itself is a straight copy of the implementation
+       to be found in the 1.3.x tree. It is much more flexible and powerful
+       than the existing code in the 1.4.x tree. It's also better tested.
+
+       * scripts/legacy_lyxpreview2ppm.py: use the code in
+       lyxpreview_tools.py. Also use try-except blocks when reading files.
+       The code is as similar as possible to that found in the 1.3.x tree,
+       differing only in the parsing of the metrics file as 1.4.x requires
+       different data.
+
+       * scripts/lyxpreview2bitmap.py: use the code in lyxpreview_tools.py.
+       Also use the experience gained in making the 1.3.x code robust to
+       wrap arguments to external programs in 'single quotes'.
+
 2004-07-23  Angus Leeming  <leeming@lyx.org>
 
        * layouts/apa.layout: Patch from Yvonnick Noel. Spell the