path: root/kicad
AgeCommit message (Collapse)AuthorFilesLines
2016-09-03kicad/sch-parse.c (parse_field): make italic and bold optional, compatibilityWerner Almesberger1-3/+3
2016-09-03kicad/lib-parse.c (lib_parse_line): accept short T recordsWerner Almesberger1-1/+24
Seems that they were common in the past - at least Qi-Hw's kicad-libs have them.
2016-09-02kicad/sch-parse.c (free_sheet): don't forget to free file name, sheet pathWerner Almesberger1-0/+2
2016-09-01kicad/pl-render.c (expand): expand %F (file name) and %P (path)Werner Almesberger1-2/+2
2016-09-01kicad/sch.h (struct sheet): keep track of file name and schematics pathWerner Almesberger3-0/+49
2016-09-01kicad/pl-render.c (expand): move decription of format symbol to "case"Werner Almesberger1-19/+19
2016-08-30fix a few trivial memory leaks; eeshow ... -- pdf now passesWerner Almesberger1-0/+1
2016-08-30kicad/sch-parse.c (parse_field): free "field" on all rejected linesWerner Almesberger1-2/+8
Note that parse_field rejecting a lines doesn't mean there is anything wrong with it, we could leak a fair number of fields this way. For eeshow -N 1 ../../n9/ee/hw/ -- pdf >/dev/null 142,128 bytes in 2,961 blocks are definitely lost in loss record 347 of 347
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