1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-08-26 21:28:04 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Werner Almesberger
b3f2014863 Split gitsch2ppm into its constituents.
- scripts/gitsch2ps: generate PS files for KiCad schematics in git
- scripts/normalizeschps: normalize eeschema Postscript
- scripts/schps2ppm: generate PPM files from normalized Eeschema Postscript
- scripts/gitsch2ppm: wrapper and cache manager for the above scripts
2010-08-30 01:53:59 -03:00
Werner Almesberger
a1c5386236 Schematics sheets are now scaled and shifted (may still need some tuning)
- scripts/gitsch2ppm (ps2ppm): shift A4 sheets northwest
- scripts/gitsch2ppm (ps2ppm): shift and scale A3 and A2 sheets
- scripts/gitsch2ppm (ps2ppm): remove "%%Orientation: Landscape" (for later
  development)
2010-08-29 15:08:03 -03:00
Werner Almesberger
3ca646cd57 Minor code cleanup and robustness improvement.
- scripts/gitsch2ppm, scripts/schhist2web: replace awkward and cryptic
  `dirname "$x"`/`basename "$x" .old`.new
  construct with much more friendly "${x%.old}.new"
- scripts/gitenealogy: put -- before path names in git-log, to prevent
  parsing ambiguities
2010-08-28 23:12:27 -03:00
Werner Almesberger
45935dc753 Work-around for "black block symbol" syndrome.
- scripts/gitsch2ppm (ps2ppm): convert "rectfill" to "rectstroke", to
  prevent colored background in schematic symbols from blackening the
  entire symbol in black and white plot
2010-08-27 21:15:32 -03:00
Werner Almesberger
2921bcea47 New script sanitize-profile to remove glitches from a KiCad profile.
- scripts/sanitize-profile: remove upsetting items from a KiCad profile
- scripts/gitsch2ppm: option -S to enable sanitizing of profiles
- scripts/schhist2web: pass option -S to gitsch2ppm
- scripts/Makefile (xue-schhist): invoke schhist2web with option -S
2010-08-27 20:42:40 -03:00
Werner Almesberger
a241265aaf Run eeschema only once (not twice) per commit. 20% speed improvement.
- scripts/gitsch2ppm: new option -k to keep checked-out tree
- scripts/gitsch2ppm: new option -c to reuse Postscript files from -k run
- scripts/gitsch2ppm: removed C-style use of "break" from "case"
- scripts/schhist2web: use gitsch2ppm -k and -c to half number of
  eeschema runs
2010-08-27 14:31:05 -03:00
Werner Almesberger
099b62649b schhist2web: use a cache by default and give the user control over it.
- scripts/schhist2web (THUMB_OPTS): make shared pixels in thumbnails a
  bit darker
- scripts/schhist2web (usage): described the arguments
- scripts/schhist2web: new option  -c dir  to set the cache directory
- scripts/schhist2web: new option  -n  to remake the cache
- scripts/schhist2web: path name in new file detection was incorrect
- scripts/schhist2web: use "$index" instead of open-coding "$out/index.html"
- scripts/gitsch2ppm: changed temp directory name from _schdiff_a to
  _gitsch2ppm
2010-08-27 12:47:51 -03:00
Werner Almesberger
c10d643c1f Tools for making a browseable graphical revision history of schematics.
- scripts/gitsch2ppm: extract schematics as PPM files from a specfific git
  revision
- scripts/gitenealogy: show the commit history of a file, tracking renames
- scripts/ppmdiff/Makefile, scripts/ppmdiff/ppmdiff.c: compare two PPM
  files and highlight differences
- scripts/schhist2web: generate a browseable graphical revision history
  of schematics
2010-08-27 03:54:26 -03:00