1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 20:53:21 +02:00
Commit Graph

39 Commits

Author SHA1 Message Date
Werner Almesberger
afae5c753e Merge branch 'master' of projects.qi-hardware.com:eda-tools 2012-12-05 00:43:39 -03:00
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
Wolfgang Spraul
b73288f2f0 curdir fix 2012-11-26 07:23:12 +01:00
Wolfgang Spraul
7a16e0f91b commit qi-update-all script along with rest of schhist 2012-11-26 05:43:31 +01:00
Werner Almesberger
e943baf1c3 schhist/sanitize-{profile,schem}: "dirname" logic was reversed
The substitution acted as "basename" instead of "dirname".
2012-05-24 00:21:36 -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
9365a23f7c schhist/sanitize-profile: treat LibDir as a list 2012-05-11 00:53:05 -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
487e0e66ea schhist/README: fixed typo (by Holger Freyther) 2011-08-11 06:11:43 -03:00
Wolfgang Spraul
0f4e2be34d updated gitsch2ps to new eeschema --plot syntax 2011-01-02 17:55:37 +00:00
Werner Almesberger
853ede97aa Added licensing information and a bit more documentation to schhist.
- schhist/README: added introductory text, stubs for all the programs, and
  licensing information
- schhist/COPYING.GPLv2: added for convenience
2010-10-20 07:39:31 -03:00
Werner Almesberger
a1d1182691 schhist/gitsch2ps: removed redundant quotes in assignments. 2010-10-13 04:49:16 -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
4d28daf6a0 Environment variable SCHHIST_ADDLIBS to force libraries to be present.
- schhist/sanitize-profile: ensure that the libraries listed in
  SCHHIST_ADDLIBS are present in the profile
- schhist/Makefile (board-qi-avt2): use SCHHIST_ADDLIBS to add the "device"
  library
2010-10-04 03:04:35 -03:00
Werner Almesberger
7b1d3fd4d2 gitsch2ps now by default removes cache.lib (option -c keeps it)
- schhist/gitsch2ps: added option -c to keep cache.lib
- schhist/gitsch2ps: remove cache.lib unless -c is set
- schhist/gitsch2ps: added missing space in warning when the profile is
  missing
2010-10-04 02:01:22 -03:00
Werner Almesberger
8be9fe13e2 Added mmone-jtag-serial-cable.
- schhist/Makefile (PHONY, mmone-jtag-serial-cable): added generation of
  mmone-jtag-serial-cable
2010-10-04 01:30:34 -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
781c92d2d5 Added AVT2 to the Makefile and the demo index.
- schhist/Makefile (PHONY, board-qi-avt2, board-qi-avt2-upload): added
  board-qi-avt2 (avt2)
- schhist/demo-index.html: added avt2
2010-10-03 23:31:35 -03:00
Werner Almesberger
4c81717cca Corrected the renumbering warning in sanitize-profile.
- schhist/sanitize-profile: used a non-existing variable and thus didn't
  print the expected entry when renumbering
- schhist/sanitize-profile: the message when renumbering had no newline
2010-10-03 22:15:43 -03:00
Werner Almesberger
2cfc6ef0c0 schhist/Makefile: added sie-v2 2010-10-03 21:53:52 -03:00
Werner Almesberger
d4405e4386 sanitize-profile accidently ignored LibDir, causing many incorrect "corrections"
- schhist/sanitize-profile: $1 vs. $2 typo when processing LibDir
2010-10-01 08:12:18 -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
31fe9c654b Added project sie-ceimtun. Plus some cleanup.
- schhist/Makefile (PHONY, all, update, sie-ceimtun-schhist,
  sie-ceimtun-schhist-upload), schhist/demo-index.html:  added project
  sie-ceimtun
- schhist/Makefile (all): also mention targets "update" and "upload-index"
- schhist/Makefile (atusd-schhist): SCHHIST_TITLE wasn't used
- schhist/demo-index.html: didn't like the <P>, changed it to <BR>
2010-09-25 05:27:50 -03:00
Werner Almesberger
bd26493b98 Demo histories on http://downloads.qi-hardware.com/people/werner/schhist/
- schhist/Makefile (DEST): changed upload location from www.almesberger.net
  to downloads.qi-hardware.com
- schhist/Makefile (atusb-schhist-upload, xue-schhist-upload,
  cntr-schhist-upload, atusd-schhist-upload): changed directory name from
  demo* to the KiCad project name
- schhist/Makefile (update): pull the latest Xue, then regenerate and upload
  all schematics (atusb, xue, cntr, and atusd)
- schhist/demo-index.html: index page for schematics histories demos
- schhist/Makefile (upload-index): upload the demo index.html
- schhist/Makefile (PHONY): removed the obsolete ben-wpan-* entries and
  replaced them with atusb-*
2010-09-22 10:40:26 -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
150f9ab4d4 gitsch2ps: added option -k to keep temporary clone of repository
- schhist/gitsch2ps: new option -k to keep the cloned repository and print
  the path name of the temporary directory on standard output
- schhist/gitsch2ps: invoked "git clone" with -q to suppress progress
  output on standard output
2010-09-22 06:57:36 -03:00
Werner Almesberger
553514cc67 schhist/subschname2file: search a subsheet name in the top-level sheet and
print the name of the subsheet file
2010-09-22 06:42:06 -03:00
Werner Almesberger
f0eb8ce77b gitwhoareyounow: determine a file's final name in recorded future
- schhist/gitwhoareyounow: trace a file name in git history across renames
- schhist/README: documentation of tools, starting with gitwhoareyounow
2010-09-22 06:01:32 -03:00
Werner Almesberger
8b5ad4787c Updated Makefile for new location and added ben-wpan/atusd.
- schhist/Makefile (all, ben-wpan-schhist, ben-wpan-schhist-upload): renamed
  to ben-wpan-* to atusb-*
- schhist/Makefile (atusb-schhist, cntr-schhist): added path to ben-wpan
  repository (was auto-located by default before)
- schhist/Makefile (atusb-schhist, atusb-schhist-upload): changed output
  directory from _out to _atusb
- schhist/Makefile (all, atusd-schhist, atusd-schhist-upload): added rules
  for making the schematics history of ben-wpan/atusd
2010-09-07 18:25:55 -03:00
Werner Almesberger
17c6705c28 Initial commit of files moved over from ben-wpan. 2010-09-07 17:03:19 -03:00