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

14 Commits

Author SHA1 Message Date
Werner Almesberger
62ca12c2da eeshow/: use dedicated functions for diagnostics, instead of fprintf and exit 2016-08-12 10:40:55 -03:00
Werner Almesberger
8f352832e0 eeshow/: simple caching of sheets
We only reuse previous sheets if ...

- they have no sub-sheets, and
- all the libraries are identical.

This reduces the -N-150 time from 8.3 s (caching only libraries) to 4.3 s.

Since we only need to know whether there are sub-sheets, but not what
exactly they are, we can also partially undo the previous commit,
77c0e07590
2016-08-10 19:37:44 -03:00
Werner Almesberger
315494d617 eeshow/diff.c: make red a little less dominant 2016-08-09 14:19:21 -03:00
Werner Almesberger
629b9356e2 eeshow/: fix offset calculation and also get rid of rounding artefacts 2016-08-09 12:28:21 -03:00
Werner Almesberger
cc3befe110 eeshow/diff.c (diff_to_canvas): simplify offset calculation 2016-08-09 12:08:08 -03:00
Werner Almesberger
d320dbbf2b eeshow/diff.c (diff_to_canvas): fix offset calculation 2016-08-09 11:21:52 -03:00
Werner Almesberger
029cc30700 eeshow/diff.c: free list of highlighted areas 2016-08-09 10:24:08 -03:00
Werner Almesberger
71e79a20d0 eeshow/diff.c (diff_to_canvas): point out flaw in offset calculation 2016-08-09 10:20:46 -03:00
Werner Almesberger
e59fff3363 eeshow/diff.c (diff_to_canvas): draw pixel differences to canvas (WIP)
Offsets still aren't right.
2016-08-09 10:14:36 -03:00
Werner Almesberger
43542d6504 eeshow/diff.c (differences): clean up pixel processing 2016-08-07 16:03:56 -03:00
Werner Almesberger
f4944a5da9 eeshow/ (file_open, *_parse): return 0 on error (may still exit) 2016-08-05 21:02:57 -03:00
Werner Almesberger
49a6ebd797 eeshow/: make libraries "related" to the [main] schematics sheet
That way, we can use relative paths on the command line, ideally just
./eeshow foo.lib bar.lib com/plex/path/foo.sch
2016-08-02 16:38:21 -03:00
Werner Almesberger
3864743280 eeshow/: PNG and PDF now write to standard output if -o outfile is absent 2016-08-02 11:46:30 -03:00
Werner Almesberger
a941a5f246 rename sch2fig to eeshow 2016-08-02 11:00:08 -03:00