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

13 Commits

Author SHA1 Message Date
Werner Almesberger
13828eff94 eeshow/sch-parse.c (free_sheet): don't free recursively (caller frees all) 2016-08-08 23:44:27 -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
e5f010797d eeshow/sch-parse.c (parse_line): no longer use return code 0 for EOF
We'll soon use it to indicate a parsing problem.
2016-08-05 20:41:35 -03:00
Werner Almesberger
c54bf3de06 eeshow/sch-parse.c (sch_free): add cleanup of schematics data 2016-08-05 20:25:58 -03:00
Werner Almesberger
258876ef2c eeshow/: retrieve title from *.sch; prefer over subsheet name when displaying 2016-08-04 08:42:36 -03:00
Werner Almesberger
95bc0f06fd eeshow/sch.h, sch-parse.c: add pointer to sub-sheet to obj.u.sheet 2016-08-03 11:53:03 -03:00
Werner Almesberger
48327e149b eeshow/sch.h, sch-parse.c, sch-render.c: rename obj.u.sheet to obj.u.name 2016-08-03 11:46:24 -03:00
Werner Almesberger
0d41488f93 eeshow/sch-parse.c (recurse_sheet): clean up handling of next_obj 2016-08-02 17:12:33 -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
24522c45e0 eeshow/sch-parse.c (recurse_sheet): move parent/related logic to file.c 2016-08-02 16:27:08 -03:00
Werner Almesberger
6793f06aeb eeshow/sch-parse.c, lib-parse.c: use file name and line number from "file" 2016-08-02 15:44:28 -03:00
Werner Almesberger
05af03a0fd eeshow/: split file_read into open/read/close
This is to allow for a better implementation of "related" in the future.
2016-08-02 15:36:18 -03:00
Werner Almesberger
a941a5f246 rename sch2fig to eeshow 2016-08-02 11:00:08 -03:00