- scripts/schhist2web: changed cache and output directory structure from
$dir/$type_$commit/$file to $dir/$commit/$type/$file
- scripts/schhist2web: renamed directory types as follows: "ppm" to "ppm1",
"fat" to "ppm2", and "hard" to "ppm0"
- scripts/schhist2web: replaced `basename $x` with ${x##*/} wherever this
makes sense
- scripts/schhist2web: use {a,b,...} where is makes things clearer
- scripts/schhist2web: changed ... \\n || exit to ... ||\n exit
- scripts/schhist2web: symlinking of unchanged files was only done for
"ppm" (now "ppm1") and "fat" (now "ppm2"), not for "ppm2" and "ps"
- scripts/schhist2web: composition of path names in the output generator is
now more systematic and avoids ad hoc compositions
- scripts/schhist2web: mkdir -p "$out/pdf_$next" at the beginning, not each
time we write a PDF
- scripts/schhist2web: moved generation of a HTML-wrapped PNG with link to
PDF to new function wrapped_png
- scripts/schhist2web: generate a PDF with link also for files in the very
first commit
- scripts/schhist2web: when starting, remove html_* and pdf_*
- scripts/schps2pdf: corrected quoting of sheet title derived from file
name (produced many error messages and caused garbled titles in the
overall schematics)
- scripts/schhist2web: indent date in commit entry such that it's flush
with the author
produces minute differences where there should be none.
- scripts/ppmdiff/ppmdiff.c (diff): instead of looking for all or noting
changes, also detect gradual changes
- scripts/ppmdiff/ppmdiff.c (diff, main): don't mark areas with differences
in the main images if using shadow images
- scripts/schps2ppm: new option to disable alpha blending
- scripts/schhist2web: cache pixmaps with default line thickness and no
alpha blending in hard_*
- scripts/schhist2web: base marking of areas with differences exclusively
on the hard_* pixmaps
- scripts/schhist2web: keep latest version of a sheet's PDF in pdf_head
instead of pdf_$head, so that we don't overwrite it later with a delta
- scripts/schhist2web: for each change, write an HTML file which loads
the image and links to a delta PDF
- scripts/schps2pdf: new option -T to specify page titles
- scripts/Makefile (UPLOAD): also upload html_*
- scripts/schps2pdf: changed commit entry format from commit hash and author
to author and date
- scripts/schps2pdf: reordered sanitizing of commit entry to avoid having
to special-case the link
- scripts/schhist2web: don't generate PDF for sheets that no longer exist
at HEAD
- scripts/schhist2web: generate a PDF containing all sheets existing at
HEAD
- scripts/schps2pdf: prefix was set to the wrong argument
- scripts/schps2pdf: removed left-over (and functionless) cat into gs
- scripts/schps2pdf: corrected quoting of the TOC entry
- scripts/normalizeschps: by default, don't change the linewidth
- scripts/schhist2web: cache historical Postscript files in directories
ps_*
- scripts/schps2pdf: new script to convert eeschema Postscript to PDF
- scripts/schhist2web: link the file name in the title to the curent
PDF of the respective sheet
- scripts/Makefile: changed lazy wildcard thum* to thumb_* and diff* to
diff_*
- scripts/Makefile: upload also pdf_*
- scripts/normalizeschps: don't edit in place and thus become capable of
running in a pipe
- scripts/schps2ppm: considered - to be an option and thus didn't accept
it as input file name
- scripts/schhist2web: open-coded functionality of "gitsch2ppm"
- scripts/gitsch2ppm: removed
did upset things.
- scripts/schhist2web: backticks in command invocation need quoting
- scripts/schhist2web: the change below needs a bashism, so we switch from
/bin/sh to /bin/bash
- scripts/schhist2web: seems that there's no safe way to use ls -1 in the
word list of "for". Use while read ...; ... done < <(ls -1) instead.
(We couldn't just pipe this into the while loop, because that would put
the loop into a subshell and changes to global variables would thus be
lost.)
- scripts/schhist2web (symlink): ln -sf two files. If the old file is a
symlink, link to its target instead of creating a chain of symlinks.
- scripts/schhist2web: if PPMs of the same file are identical in successive
commits, replace the new one with a symlink to the old one
- scripts/Makefile: added targets for ben-wpan/cntr
- scripts/schhist2web: removed stray and redundant mkdir of output
directories
- scripts/schhist2web: added section titles
- scripts/schhist2web: <TR> tag was issued twice per commit
- scripts/schhist2web (commit_entry): moved commit entry generation to a
separate function
- scripts/schhist2web (commit_entry): replaced "git log $next~1..$next"
with more robust "git show --quiet $next"
- scripts/schhist2web: generate file creation entries for all files in the
first commit
- 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
- scripts/gitsch2ppm: make placeholder for unchanged sheets taller
- scripts/gitsch2ppm: when making thumbnails, set the color after
processing $THUMB_OPTS, so that it isn't overridden.
- scripts/gitenealogy: now requires the repository directory to be passed
- scripts/schhist2web: adapted for above change
- scripts/schhist2web: change to the repository's directory before each
call to git
- scripts/Makefile: added demo upload and Xue build
- scripts/Makefile (all): added usage information
- scripts/schhist2web: show a vertial dash in places where a sheet didn't
change
- scripts/schhist2web: new environment variable SCHHIST_TITLE to set the
title
- scripts/schhist2web: new environment variable SCHHIST_HOME_URL for the
URL the title links to
- scripts/schhist2web: new environment variable SCHHIST_COMMIT_TEMPLATE
for a template to link to the commit ({} gets replaced with the hash)
- scripts/Makefile: schematics history build example for ben-wpan/atrf
- scripts/schhist2web: at the very end, don't exit 1 on success
- 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
of ben-wpan/atrf by 70%, build from cache by 35%.
- scripts/schhist2web: only extract commits that change a .pro, .sch, or
.lib file
- scripts/schhist2web: when building the differences, skip commits missing
in cache
- scripts/schhist2web: use last cached commit as head instead of asking git
for the current HEAD
- scripts/ppmdiff/ppmdiff.c (main): do a quick memcmp to detect absence of
changes instead of comparing pixel by pixel (saves 30% of total run time
when remaking ben-wpan/atrf from cache)
- scripts/schhist2web: added title and copyright header
- scripts/schhist2web: create $out/names after deleting the cache (-n)
- scripts/schhist2web: fat_* directories were created under $out, not $cache
- scripts/schhist2web: remove ppm_* and fat_* directories being worked on if
we fail to complete the process for some reason
- scripts/schhist2web: don't "exit 1" on success (duh ?)
- scripts/schhist2web: use proper HTML intro with DOCTYPE
- scripts/schhist2web: add date tag at the end
- scripts/schhist2web: define all Web colors at the beginning
- scripts/schhist2web: assign background different from the rest to file
names
- scripts/schhist2web: translate <, >, and & meta-characters in "git log"
output
- 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
images.
- scripts/ppmdiff/ppmdiff.c (usage, main): ppmdiff now accepts the name
of an output file as the last argument
- scripts/ppmdiff/ppmdiff.c (shadow_diff, usage, main): a second set of
images can be specified that will only be scanned for changes, without
otherwise becoming part of the merged image
- scripts/schhist2web (pngdiff): specify output name as last argument of
ppmdiff
- scripts/schhist2web: use shadow images to mark changes only visible
in regular version also in thumbnails
- scripts/schhist2web: second file argument was missing when invoking
pngdiff for file addition or removal
- scripts/schhist2web: keep track of columns also after a file is gone
- 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