path: root/main.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-19eeshow/: eeshow -V prints the commit from which eeshow was builtWerner Almesberger1-2/+8
2016-08-18eeshow/main.c: run under gdb if argv[1] is "gdb"Werner Almesberger1-1/+16
I.e., instead of eeshow foo bar invoke with eeshow gdb foo bar
2016-08-17eeshow/: util.h and diag.c go to misc/Werner Almesberger1-2/+2
2016-08-17eeshow/: move graphics low-level functions to gfx/Werner Almesberger1-4/+4
2016-08-17eeshow/: move parsing and high-level rendering to kicad/Werner Almesberger1-2/+2
2016-08-17eeshow/: move file and history access to file/Werner Almesberger1-2/+2
2016-08-17eeshow/fmt-pango.c, fmt-pango.h: also move to gui/Werner Almesberger1-1/+1
2016-08-17eeshow/: move gui* into subdirectory gui/Werner Almesberger1-1/+1
2016-08-12eeshow/gui.c: limit = 0 means "no limit", not "no revisions"Werner Almesberger1-1/+1
2016-08-12eeshow/: use dedicated functions for diagnostics, instead of fprintf and exitWerner Almesberger1-8/+3
2016-08-11eeshow/main.c (verbose): move to new file diag.cWerner Almesberger1-3/+1
In preparation of a more flexible diagnostics system.
2016-08-10eeshow/util.h (alloc_type_n): get rid of all these alloc_size(sizeof(foo), n)Werner Almesberger1-3/+3
2016-08-10eeshow/: simple caching of sheetsWerner Almesberger1-1/+1
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, 77c0e075907a0dc97712c10ed63442da4168bd0c
2016-08-10eeshow/: option -N depth to limit history depth; -N-depth exits after parsingWerner Almesberger1-8/+13
2016-08-06eeshow/: use printf-style formatting for overlay text; test mode -F fmt stringWerner Almesberger1-1/+14
2016-08-05eeshow/main.c (usage): update to show GUI invocationWerner Almesberger1-2/+5
2016-08-05eeshow/main.c (main): gtk_init removes --, so only call it if we have noneWerner Almesberger1-2/+3
2016-08-05eeshow/ (file_open, *_parse): return 0 on error (may still exit)Werner Almesberger1-5/+10
2016-08-05eeshow/lib-parse.c (lib_free): add cleanup of component dataWerner Almesberger1-0/+1
2016-08-05eeshow/sch-parse.c (sch_free): add cleanup of schematics dataWerner Almesberger1-0/+2
2016-08-05eeshow/gui.c: get only list of file names from main, parse on its ownWerner Almesberger1-3/+11
2016-08-04eeshow/: if sheet is in repo, retrieve history, display in GUI on Up/Down (WIP)Werner Almesberger1-1/+1
This isn't useful yet.
2016-08-04eeshow/: option -H path_into_repo to list branched history of repositoryWerner Almesberger1-2/+17
2016-08-03eeshow/: separate sheet context from GUI ctx; record all sheets we haveWerner Almesberger1-1/+1
"record" as in "render with record_*"
2016-08-03eeshow/: add rendering on Gtk canvasWerner Almesberger1-3/+14
2016-08-02eeshow/: make libraries "related" to the [main] schematics sheetWerner Almesberger1-3/+8
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-02eeshow/: split file_read into open/read/closeWerner Almesberger1-1/+5
This is to allow for a better implementation of "related" in the future.
2016-08-02eeshow/: PNG and PDF now write to standard output if -o outfile is absentWerner Almesberger1-1/+1
2016-08-02rename sch2fig to eeshowWerner Almesberger1-0/+172