]> git.donarmstrong.com Git - lilypond.git/commitdiff
* buildscripts/output-distance.py (me_path): use argv[0] for
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 1 Jun 2006 11:52:15 +0000 (11:52 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 1 Jun 2006 11:52:15 +0000 (11:52 +0000)
sys.path extension
(ComparisonData.img_cell): use colored borders.

* scm/stencil.scm (write-system-signature): escape newlines too.
(write-system-signature): use (1,-1) interval for empty interval

ChangeLog
buildscripts/output-distance.py
scm/stencil.scm

index 43c9767677095f40ad20f89d5aa7a883fe23c387..aa543f9ef33b773e5fb87ac56fc2cddb4477424a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2006-06-01  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * buildscripts/output-distance.py (me_path): use argv[0] for
+       sys.path extension
+       (ComparisonData.img_cell): use colored borders.
+
        * scm/stencil.scm (write-system-signature): escape newlines too.
+       (write-system-signature): use (1,-1) interval for empty interval
 
 2006-01-01  Graham Percival  <gpermus@gmail.com>
 
index 927d553bc43a30f8608962cde3ec0951205268ba..f5370e29c1664591815dbff9872e35828f60d3ed 100644 (file)
@@ -1,10 +1,12 @@
 #!@TARGET_PYTHON@
 import sys
 import optparse
-
+import os
 
 ## so we can call directly as buildscripts/output-distance.py
-sys.path.insert (0, '../python')
+me_path = os.path.abspath (os.path.split (sys.argv[0])[0])
+sys.path.insert (0, me_path + '/../python/')
+
 
 import safeeval
 
@@ -349,7 +351,7 @@ class ComparisonData:
             html += html_entry
 
         html = '''<html>
-<table>
+<table rules="rows" border bordercolor="blue">
 <tr>
 <th>distance</th>
 <th>old</th>
index 150c1d88135b66e756bc43f629e45c5a2ede0125..bb919346c8237b1a21e06b59c9b31383e05c3659 100644 (file)
@@ -351,8 +351,8 @@ grestore
              "['~a', '~a', ~a, ~a, '~a'],\n"
              (cdr (assq 'name (ly:grob-property grob 'meta) ))
              (pythonic-string location)
-             (pythonic-pair (if (interval-empty? x-ext) '(0 . 0) x-ext))
-             (pythonic-pair (if (interval-empty? y-ext) '(0 . 0) y-ext))
+             (pythonic-pair (if (interval-empty? x-ext) '(1 . -1) x-ext))
+             (pythonic-pair (if (interval-empty? y-ext) '(1 . -1) y-ext))
              (pythonic-string collected))
       ))