summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-27misc/diag.c (diag_pfatal, diag_perror): don't add newlineWerner Almesberger1-2/+2
2016-08-27TODO: RESWARM label size issue just disappeared into thin airWerner Almesberger1-2/+0
Maybe there was a glitch when using bold fonts.
2016-08-27non-interactive diff now exits with 0 if no differences, 1 if differencesWerner Almesberger3-7/+12
2016-08-27gfx/gfx.c (gfx_end): let "end" function return an integerWerner Almesberger4-7/+16
2016-08-27gfx/cro.c (setup_pango): rename to setup_fontWerner Almesberger1-6/+6
... since we also use it for Cairo.
2016-08-27gfx/cro.c (cr_png_init): don't forget to setup fontWerner Almesberger1-0/+1
2016-08-27gfx/cro.c (cro_img_write): check cairo_surface_write_to_png return valueWerner Almesberger1-2/+7
2016-08-27gfx/diff.c: combine processing for GUI and non-interactive modeWerner Almesberger4-57/+87
This also removes the restriction that, in non-interactive mode, both sheets had to have exactly the same size.
2016-08-26gui/sheet.c (sheet_key): N/D/O need to do_revision_overlays to update overlaysWerner Almesberger1-0/+3
Else, the frame remains in its prior state, not indicating the mode change.
2016-08-26gui/sheet.c (sheet_key): toggle diff/delta with Shift+D; document itWerner Almesberger4-5/+11
This frees "A" for other uses.
2016-08-26TODO: font attributes / text styles are doneWerner Almesberger1-1/+0
2016-08-26gfx/cro.c: support text stylesWerner Almesberger1-1/+34
2016-08-26gfx/fig.c (fig_text): support text stylesWerner Almesberger2-1/+21
2016-08-26pass text style to gfx_text{,_width} and related functionsWerner Almesberger8-27/+49
2016-08-26gfx/text.c (text_fig): rename to text_showWerner Almesberger6-13/+13
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 Almesberger4-27/+81
2016-08-26test.sch: use test attributes on component fieldsWerner Almesberger1-3/+3
2016-08-26test.sch, test.lib: exercise text attributesWerner Almesberger2-28/+42
2016-08-25test.sch (LOCAL_UP_ITALIC): actually make it italic, not boldWerner Almesberger1-1/+1
2016-08-25eeshow -V now also shows the build dateWerner Almesberger4-2/+7
2016-08-25gui/index.c (thumbnail_pos): since we have "alloc", we don't need "gui"Werner Almesberger1-4/+3
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/gui.c (get_sheets): use "sch" for "struct sheet *", not "sheet"Werner Almesberger1-3/+3
We use the latter for "struct gui_sheet *"
2016-08-25gui/: "struct gui_ctx" is now "struct gui"; also s/gui_ctx/gui/ in aoi_ctxWerner Almesberger8-102/+102
2016-08-25gui/: "struct gui_ctx *ctx" is now "struct gui_ctx *gui"Werner Almesberger10-498/+498
2016-08-25gfx/cro.c (cro_img, cro_img_surface): call cro_ctx variable "cc", not "ctx"Werner Almesberger2-16/+16
All the rest of cro.c uses "cc".
2016-08-25option -L to suppress page layout; non-interactive diff always implies -LWerner Almesberger4-1/+22
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-25Makefile, gfx/cro.c: fix typo; remove blank lineWerner Almesberger2-2/+1
Keeping future commits free from unrelated trivia ...
2016-08-25gfx/diff.c (diff_args): use file_namesWerner Almesberger2-6/+31
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-25undocumented option -O to disable overline drawing (in case it crashes)Werner Almesberger3-2/+7
2016-08-25gfx/cro.c: use_pango switches between Cairo and Pango, without further ↵Werner Almesberger1-5/+5
conditions Since, ironically, Cairo was first to get overline support, the strchr(..., '~') condition no longer makes sense, and thus, since only one context will be used, neither does setting up both.
2016-08-25TODO: updatedWerner Almesberger1-2/+3
2016-08-25kicad/lib-render.c (draw_pin_line): mark NC pins with a little XWerner Almesberger2-1/+19
2016-08-25test.sch: add overlined textWerner Almesberger1-1/+8
2016-08-25gfx/cro.c (cr_text_cairo): experimental support for overliningWerner Almesberger1-1/+92
2016-08-25kicad/pl-parse.c: a bunch of "no" ought to be "not" (reported by Joerg)Werner Almesberger1-4/+4
2016-08-25gui/index.c, help.c: more GDK_KEY_HelpWerner Almesberger2-0/+2
2016-08-25gui/sheet.c (sheet_key): keypad +, =, *, -; GDK_KEY_HelpWerner Almesberger1-0/+5
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: only use Pango if there's a ~ in the stringWerner Almesberger1-5/+4
Since the main reason for switching to Pango is that we'll need its layout analysis capabilities to draw overlines, how about just not using Pango for strings that don't have such complications ? Time to first index is now 487 ms, almost as good as with Pango disabled. Note: a further optimization would be to check strings for special issues at the source, and avoid all the strchr-ing.
2016-08-24gfx/cro.c (cr_text_pango): don't call pango_cairo_update_layoutWerner Almesberger1-1/+1
Seems that we don't need it. Down another 10% from 3.36 to 3.03 s.
2016-08-24gfx/cro.c: don't set layout if we already have the right sizeWerner Almesberger1-4/+12
This removes about 88% of the calls to pango_font_description_set_absolute_size and pango_layout_set_font_description, and seems to reduce run time by some 5%, from 3.55 s to 3.36 s for an initial index on neo900.pro. For comparison, using Cairo's "toy" text interface we're done in about 330 ms.
2016-08-24gfx/cro.c (cr_text_pango): minor cleanupWerner Almesberger1-2/+1
2016-08-24GUI performance timer, toggle with "T"Werner Almesberger9-1/+127
Shows milliseconds between last event and completion of screen update.
2016-08-24gfx/cro.c (cr_text): experimental Pango support; option -P to enableWerner Almesberger3-11/+93
2016-08-24TODO: update for near-completion of major gfx API overhaulWerner Almesberger1-1/+2