1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-27 03:41:34 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Werner Almesberger
9385ad0c87 schhist/schhist2web: explicitly suppress diff in "git show"
Seems that recent versions of git always display it while older versions
only did, if using --pretty, when explicitly asked to do so.
2012-12-05 00:41:40 -03:00
Werner Almesberger
78bcb8d3de schhist/schhist2web: correct handling of deferred columns
This fixes two bugs:

- the last column could leave td=true, causing an extra column to be
  erroneously inserted at the beginning of the next row

- a deferred <TD> at the end of the row would be output before $s,
  placing it right after the last thumbnail instead of the end of
  the thumbnail section

Also combines flushing of "td" for all code paths that produce a
difference image.
2012-05-23 01:53:33 -03:00
Werner Almesberger
d8f5c95ecb schhist/schhist2web: correctly align shared columns
When sharing columns, the "unchanged" bar wasn't centered unless the
sheet was the first sheet in that column.
2012-05-11 22:07:10 -03:00
Werner Almesberger
cc5732bbf3 schhist/schhist2web (ordered_names): fix typo in pattern 2012-05-11 03:18:33 -03:00
Werner Almesberger
1468a33268 schhist2web: column sharing with SCHHIST_ORDER=...:first=next=...:... (WIP)
This only shows the first name in the header. Should generate a new header
line when a sheet is a column changes. Should also complain when sheets
collide. Needs more testing.
2012-05-11 02:47:18 -03:00
Werner Almesberger
b7816b9dad schhist/schhist2web: truncate commit entries after 300 characters
This limit includes the entire entry, including the author and the date.
2012-05-11 01:45:07 -03:00
Werner Almesberger
41a65ca819 schhist/schhist2web: > was missing in IMG tag for unchanged.png (vertical bar) 2011-10-01 09:49:31 -03:00
Werner Almesberger
e7f84454e2 Removed relative date in commit entries.
- schhist/schhist2web: the relative date is relative to the time
  schhist2web was run, not the time the page is displayed, which is
  incorrect. Removed it. (Reported by Wolfgang Spraul)
2010-10-12 05:50:47 -03:00
Werner Almesberger
9816847760 Make schhist try harder to do seamless in-place updates.
- schhist/schhist2web: create index.html in a temporary file and rename it
  to index.html only at the end. This way, in-place updates work most of
  the time.
2010-10-06 07:28:01 -03:00
Werner Almesberger
479fff14c9 Allow setting of _schhist2web, to allow for parallel runs.
- schhist/schhist2web: cache="$2" doesn't need quoting
- schhist/schhist2web: "tmp" remains constant throughout the run, so assign
  it at the beginning
- schhist/schhist2web: option -T tmp-dir to set "tmp" to a user-defined
  location
2010-10-06 03:55:51 -03:00
Werner Almesberger
f68e5a58b6 Option -D to keep temporary work trees for analysis/debugging.
- schhist/gitsch2ps: option -D to give _gitsch2ps a unique name, to copy
  the Postscript files instead of moving them, and to refrain from deleting
  _gitsch2ps
- schhist/schhist2web: option -D to refrain from deleting _gitsch2ps and
  to pass -D to gitsch2ps
2010-10-06 03:35:46 -03:00
Werner Almesberger
02bb696704 Make schhist more forgiving if profile or top-level sheet is missing.
- schhist/gitsch2ps: issue a (fatal) error only if .pro and .sch are missing
- schhist/gitsch2ps: exit with success if only one of .pro and .sch is
  missing
- schhist/schhist2web: skip commits for which no Postscript was generated
2010-10-04 00:28:28 -03:00
Werner Almesberger
75a4ea8869 New script sanitize-schem to remove subsheets for which no file can be found.
- schhist/sanitize-schem: remove inaccssible schematics sub-sheets
- schhist/gitsch2ps (usage, "main"): -S runs sanitize-schem in addition to
  sanitize-profile
- schhist/schhist2web (usage): -S now also sanitizes the top-level sheet
2010-10-01 07:50:47 -03:00
Werner Almesberger
b94f1b27a4 Fixed use of argument of -c.
- schhist/schhist2web: use $2 as argument of -c not the -c itself in $1
  (reported by Wolfgang Spraul)
2010-10-01 05:56:28 -03:00
Werner Almesberger
4780b8b33b schhist2web: users can now specify how names are ordered.
- schhist/schhist2web: sort names in the order specified by the environment
  variable SCHHIST_ORDER (colon-separated list of names)
- schhist/Makefile (atusb-schhist): order sheets
2010-09-22 10:14:38 -03:00
Werner Almesberger
16001d32a7 schhist2web can now identify sub-sheets by file name (also across renames).
- schhist/schhist2web: strip the top-level sheet name prefix from sub-sheet
  names
- schhist/schhist2web: option -f to identify sub-sheets by their file name
  instead of the sheet name
- schhist/schhist2web: keep the name of the top-level sheet constant across
  renames
- schhist/schhist2web: if using -f, try to keep the name of the sub-sheets
  constant across renames
2010-09-22 09:36:00 -03:00
Werner Almesberger
17c6705c28 Initial commit of files moved over from ben-wpan. 2010-09-07 17:03:19 -03:00