summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-02main.c: move to main/eeshow.cWerner Almesberger1-114/+0
2016-09-02main/eeplot.c: split off from main.cWerner Almesberger1-183/+11
2016-09-02main/eetest.c: split off main.cWerner Almesberger1-68/+2
2016-09-02main/common.c: split gdb launcher off main.c (beginning of big main.c split)Werner Almesberger1-12/+2
2016-09-01main.c (main): call setlocale after gtk_init messed up things, not beforeWerner Almesberger1-3/+3
2016-08-30file/file.c (file_cleanup): clean up static getline bufferWerner Almesberger1-0/+1
2016-08-30main.c: call cairo_debug_reset_static_data; remove one redundant suppressionWerner Almesberger1-0/+3
2016-08-30fix remaining "direct" leaks in simplest use caseWerner Almesberger1-0/+4
2016-08-29new option "-E command" to execute commands when the GUI is readyWerner Almesberger1-2/+13
This is mainly intended for taking screenshots, e.g., with xdotool and xwd.
2016-08-29remove option -r; option -1 to disable recursingWerner Almesberger1-43/+44
-1 is also implied if the graphics driver does not support multiple sheets.
2016-08-28file/git-hist.c, gui/: support multiple heads; update GUI accordinglyWerner Almesberger1-4/+1
While we try to iterate HEAD first, this won't result in HEAD coming out on top if there is another branch that is ahead of HEAD. While we could try some heuristics to avoid this, it'll be better to just sort the whole list first by (partial) git history order and then by date. That way, the result will never be too far from what a human user will expect to see.
2016-08-27file/git-hist.h (struct hist, struct history): prepend vcs_Werner Almesberger1-2/+2
2016-08-27file/git-hist.c: introduce history descriptor to API, removing global "history"Werner Almesberger1-3/+3
This will be used for more things in the future.
2016-08-27non-interactive diff now exits with 0 if no differences, 1 if differencesWerner Almesberger1-2/+3
2016-08-25eeshow -V now also shows the build dateWerner Almesberger1-1/+1
2016-08-25main.c (main): free file names (give valgrind something to trip over)Werner Almesberger1-0/+9
2016-08-25main..c (main): make project file "leader" of libs, just like in the GUIWerner Almesberger1-1/+2
This is mainly for consistency. Not entirely sure which way is "more right". In theory every file could be in a separate repo, with wildly different commit rates, but ...
2016-08-25gui/: "struct gui_ctx *ctx" is now "struct gui_ctx *gui"Werner Almesberger1-1/+1
2016-08-25option -L to suppress page layout; non-interactive diff always implies -LWerner Almesberger1-1/+4
This means that we can now do things like eeshow 6a9f71:neo900.pro neo900_SS_5.sch -- \ diff -s 2 -o diff.png neo900.pro neo900_SS_5.sch
2016-08-25undocumented option -O to disable overline drawing (in case it crashes)Werner Almesberger1-1/+4
2016-08-25main.c (main): select C localeWerner Almesberger1-0/+3
Else we fail to parse things containing decimal points.
2016-08-24gfx/cro.c (cr_text): experimental Pango support; option -P to enableWerner Almesberger1-1/+4
2016-08-24gfx/gfx.c (gfx_args): don't need to reset "optind" all over the placeWerner Almesberger1-2/+0
2016-08-24separate argument list from gfx_init; related API changesWerner Almesberger1-1/+3
2016-08-24remove global gfx state (pass context as argument)Werner Almesberger1-11/+12
2016-08-23main.c: new option -e to enable rendering of pin typesWerner Almesberger1-2/+11
2016-08-22eshow/main.c: support using project file as leader (instead of top sheet)Werner Almesberger1-9/+17
2016-08-22eeshow/: change file name handling from positional to be extension-drivenWerner Almesberger1-32/+32
This also enables versioning for page layouts. We no longer need the option -P.
2016-08-22eeshow/main.c (main): draw page layout also in non-interactive modeWerner Almesberger1-0/+4
2016-08-22eeshow/gui/: experimental support for page layout; option -P pl-file.kicad_wksWerner Almesberger1-2/+19
Unlike libraries and schematics, page layouts are not (yet) tracked through revision history.
2016-08-22eeshow/main.c: eeshow -S <file parses S-exprs and dumps to stdoutWerner Almesberger1-2/+24
2016-08-21eeshow/gfx/cro.c: support PDF TOC addition; option -T to suppress itWerner Almesberger1-2/+3
2016-08-21eeshow/gfx/gfx.c (gfx_sheet_name): pass sheet name (title) to driverWerner Almesberger1-0/+1
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