1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-17 01:25:18 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Werner Almesberger
37351bf8bc eeshow/file.c (file_read): use getline instead of fgets
OSHW-SCHEM-PCB10mm of github.com:cpavlina/kicad-schlib/library/symbol.lib
has a line > 1000 characters.
2016-08-16 01:24:04 -03:00
Werner Almesberger
5a7ddc8b95 eeshow/: convert "perror" to diagnostic functions 2016-08-12 14:43:28 -03:00
Werner Almesberger
62ca12c2da eeshow/: use dedicated functions for diagnostics, instead of fprintf and exit 2016-08-12 10:40:55 -03:00
Werner Almesberger
3e236d0456 eeshow/: output progress messages with "progress" 2016-08-11 17:44:26 -03:00
Werner Almesberger
5581a34444 eeshow/main.c (verbose): move to new file diag.c
In preparation of a more flexible diagnostics system.
2016-08-11 16:36:24 -03:00
Werner Almesberger
3d794c5965 eeshow/file.c, git-file.c: give access to object IDs, for caching 2016-08-10 13:52:56 -03:00
Werner Almesberger
a58bc93d69 eeshow/: more error returns in file functions; file_open_revision
file_open_revision is for opening files based on the revision history.
2016-08-06 01:15:49 -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
dfebad4e6a eeshow/ (file_read, vcs_git_read): now pass 0 return from parse() 2016-08-05 20:42:42 -03:00
Werner Almesberger
a21bc66e55 eeshow/: make "related" work also for repositories (WIP)
For now, we only support the case where the file doesn't exists in any
other repo, which is a common situation with sub-sheets.
2016-08-02 19:13:28 -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
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
86feabf49c sch2fig/git-file.c, git-file.h: start our git_* identifiers with vcs_git_
Since we'll use this name space more intensely, we don't want to risk
clashes
2016-08-02 14:49:54 -03:00
Werner Almesberger
a941a5f246 rename sch2fig to eeshow 2016-08-02 11:00:08 -03:00