path: root/kicad
AgeCommit message (Collapse)AuthorFilesLines
2016-08-30kicad/pl-parse.c (get_float, get_int): add error checkingWerner Almesberger1-4/+17
2016-08-30fix remaining "direct" leaks in simplest use caseWerner Almesberger1-5/+16
2016-08-30fix a few memory leaks (in non-interactive mode)Werner Almesberger3-2/+12
We now leak less than 1 MB on valgrind --leak-check=full eeshow -N 1 -- png -o foo.png instead of about 3.5 MB. The plan is as follows: - fix memory leaks in simple operations in on-interactive mode, - suppress what cannot be fixed (e.g., when comes from libraries), - move on to more complex operations, - then start fixing interactive mode.
2016-08-30misc/util.h (alloc_printf): error-checking vasprintf wrapper; use itWerner Almesberger3-8/+6
2016-08-30kicad/delta.c (sheet_eq): make recursing optional; don't recurse in indexWerner Almesberger2-4/+4
In the index, we don't want to have pages marked because there's a page underneath that has changed. After all, that other page is being shown in the index as well. However, in all other cases we still want to recurse.
2016-08-28kicad/sch-parse.c (parse_line): also accept "Text GLabel" without text styleWerner Almesberger1-4/+9
2016-08-26gfx/text.c (text_fig): rename to text_showWerner Almesberger4-11/+11
The days of only doing FIG are long gone ...
2016-08-26kicad/: always initialize struct text.styleWerner Almesberger3-31/+37
2016-08-26kicad/dwg.c: add text style to label drawing functionsWerner Almesberger4-39/+45
2016-08-26fully decode text attributes in sch-parse.c and lib-parse.cWerner Almesberger3-25/+73
2016-08-25option -L to suppress page layout; non-interactive diff always implies -LWerner Almesberger2-0/+15
This means that we can now do things like eeshow neo900_SS_5.sch -- \ diff -s 2 -o diff.png neo900_SS_5.sch
2016-08-25kicad/ext.c (classify_files): play it safe and stralloc stringsWerner Almesberger1-4/+4
This prevents problems in case the argument list disappears, and one doesn't have to distinguish freeing of file_names initialized with classify_files from freeing of file_names returned by pro_parse_file.
2016-08-25kicad/lib-render.c (draw_pin_line): mark NC pins with a little XWerner Almesberger1-1/+18
2016-08-25kicad/pl-parse.c: a bunch of "no" ought to be "not" (reported by Joerg)Werner Almesberger1-4/+4
2016-08-24remove global gfx state (pass context as argument)Werner Almesberger8-168/+200
2016-08-23kicad/lib-render.c (draw_pin_etype): power output symbol was offsetWerner Almesberger1-1/+1
2016-08-23kicad/delta.c (delta): don't rely on sheet->title to be non-NULLWerner Almesberger1-1/+1
2016-08-23kicad/lib-render.c: correct geometry of pin typesWerner Almesberger1-11/+14
2016-08-23kicad/sch-render.c (sch_render_extra): access to lib_render_extraWerner Almesberger2-0/+28
2016-08-23kicad/lib-render.c (lib_render_extra): render pin typeWerner Almesberger2-3/+223
2016-08-23kicad/sch_render.c (sch_render): report invalid object typeWerner Almesberger1-0/+3
2016-08-23kicad/sch-parse.c, lib-parse.c: git rid of some more \nWerner Almesberger2-6/+6
2016-08-23misc/diag.h (BUG): more useful diagnostics; replace all "abort" with itWerner Almesberger8-16/+21
2016-08-23kicad/lib-render.c: improve sectioningWerner Almesberger1-36/+65
2016-08-23kicad/lib-render.c, gfx/style.h: render pin shapesWerner Almesberger1-6/+106
2016-08-23kicad/lib.h, lib-parse.c, delta.c: decode pin shapesWerner Almesberger3-3/+52
2016-08-22eeshow/kicad/pro.c (pro_parse_file): strchr vs. strrchr ...Werner Almesberger1-1/+2
2016-08-22eeshow/kicad/pro.c: KiCad profile processing (to find file names)Werner Almesberger2-0/+134
2016-08-22eeshow/kicad/ext.c (clone_file_names, free_file_names): manage set of namesWerner Almesberger2-0/+36
2016-08-22eeshow/misc/util.h (realloc_size, realloc_type_n): get rid of bare "realloc"Werner Almesberger4-19/+8
Finally ! Shoulds have done this a long time ago.
2016-08-22eeshow/kicad/ext.c: identify and classify files by their extensionWerner Almesberger2-0/+126
2016-08-22eeshow/kicad/sch-parse.c (recurse_sheet): don't forget to copy sheet sizeWerner Almesberger1-0/+2
2016-08-22eeshow/kicad/delta.c (merge_wires): continue, don't returnWerner Almesberger1-1/+1
2016-08-22kicad/pl-parse.c (process_obj): also initialize edx and edyWerner Almesberger1-1/+1
We don't really need to, but valgrind complains about it.
2016-08-22eeshoe/kicad/pl-render.c: add label incrementingWerner Almesberger1-10/+48
2016-08-22eeshow/: support format symbols %%, %N, %S, and %T in page layoutWerner Almesberger2-8/+101
2016-08-22eeshow/kicad/pl-parse.c: indicate where warnings and errors come fromWerner Almesberger1-20/+25
2016-08-22eeshow/diag.c (error): don't require user to supply newlineWerner Almesberger3-16/+16
2016-08-22eeshow/diag.c (warning): don't require user to supply newlineWerner Almesberger1-11/+11
2016-08-22eeshow/kicad/: page layout: support default text size; use "pl" uniformlyWerner Almesberger3-11/+50
2016-08-22eeshow/kicad/: support text justification in page layoutWerner Almesberger3-3/+53
2016-08-22eeshow/kicad/: begin text support for page layout (WIP); add missing pl-common.hWerner Almesberger3-20/+117
2016-08-22eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted stringsWerner Almesberger1-1/+1
2016-08-22eeshow/kicad/pl.h, pl-parse.c, pl-render.c: page layout support (WIP)Werner Almesberger3-0/+436
We currently only do lines, no text.
2016-08-22eeshow/kicad/sexpr.c (sexpr_abort): silently shut down parserWerner Almesberger2-10/+17
2016-08-22eeshow/kicad/sch.h, sch-parse.c: also retrieve sheet width and heightWerner Almesberger2-0/+7
2016-08-22eeshow/kicad/sexpr.c, sexpr.h: simple parser for S-expressionsWerner Almesberger2-0/+382
2016-08-20eeshow/kicad/delta.c: improve sectioningWerner Almesberger1-14/+20
2016-08-20eeshow/kicad/delta.c: merge adjacent wires going in the same directionWerner Almesberger1-0/+71
2016-08-20eeshow/kicad/delta.c (comp_eq_objs): move object comparison to comp_eq_objWerner Almesberger1-59/+66
We use "return" quite a lot, which isn't what one would want in that loop.