1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 04:17:43 +02:00
Commit Graph

361 Commits

Author SHA1 Message Date
Werner Almesberger
2adc6979b7 eeshow/gui/gui.c: support using project file as leader (instead of top sheet) 2016-08-22 22:35:43 -03:00
Werner Almesberger
3381f9c790 eeshow/file/git-file.c (related_only_repo): lookup repo again after grafting
Else, symlinks may confuse us.
2016-08-22 22:34:02 -03:00
Werner Almesberger
49d603aca3 eeshow/kicad/pro.c: KiCad profile processing (to find file names) 2016-08-22 22:19:54 -03:00
Werner Almesberger
e46f8382f3 eeshow/kicad/ext.c (clone_file_names, free_file_names): manage set of names 2016-08-22 22:18:46 -03:00
Werner Almesberger
417ddb16fa eeshow/gfx/pdftoc.c: use strbegins instead of local "begins" 2016-08-22 21:25:44 -03:00
Werner Almesberger
fe6d3a9e85 eeshow/misc/util.h (strbegins): !strncmp(s, prefix, strlen(prefix)) 2016-08-22 21:25:28 -03:00
Werner Almesberger
465a36fde5 eeshow/misc/util.h (realloc_size, realloc_type_n): get rid of bare "realloc"
Finally ! Shoulds have done this a long time ago.
2016-08-22 21:00:40 -03:00
Werner Almesberger
1b250bd467 eeshow/: change file name handling from positional to be extension-driven
This also enables versioning for page layouts.
We no longer need the option -P.
2016-08-22 20:49:29 -03:00
Werner Almesberger
e6a4224d81 eeshow/kicad/ext.c: identify and classify files by their extension 2016-08-22 20:45:31 -03:00
Werner Almesberger
9094de177d eeshow/ext/diag.c (pfatal): forgot to add \n 2016-08-22 20:38:59 -03:00
Werner Almesberger
bbd8c5507f eeshow/kicad/sch-parse.c (recurse_sheet): don't forget to copy sheet size 2016-08-22 13:20:29 -03:00
Werner Almesberger
ef3d118c9e eeshow/gui/diff.c: improve sectioning 2016-08-22 13:15:38 -03:00
Werner Almesberger
5e647637b6 eeshow/README: discuss use of *-cache.lib; TODO: areas enclose closed paths 2016-08-22 13:15:27 -03:00
Werner Almesberger
01e64c65d8 eeshow/Makefile: add more section comments 2016-08-22 07:21:59 -03:00
Werner Almesberger
7c02351ff6 eeshow/Makefile (pdf): show off page layout 2016-08-22 07:21:03 -03:00
Werner Almesberger
af626042f8 eeshow/main.c (main): draw page layout also in non-interactive mode 2016-08-22 07:18:47 -03:00
Werner Almesberger
7e6d35760e eeshow/TODO: updated 2016-08-22 07:07:33 -03:00
Werner Almesberger
361f0c2dcd eeshow/kicad/delta.c (merge_wires): continue, don't return 2016-08-22 07:06:17 -03:00
Werner Almesberger
de8f992158 eeshow/gui/render.c: NULL backpointers for delta; don't try to pl_render 2016-08-22 07:01:37 -03:00
Werner Almesberger
28baddb59f kicad/pl-parse.c (process_obj): also initialize edx and edy
We don't really need to, but valgrind complains about it.
2016-08-22 06:47:28 -03:00
Werner Almesberger
0550b016ee eeshow/gui/: change zoom system to use float; reduce step from 2 to 2^(1/3) 2016-08-22 06:41:03 -03:00
Werner Almesberger
a1106b0985 eeshoe/kicad/pl-render.c: add label incrementing 2016-08-22 05:57:27 -03:00
Werner Almesberger
dc4c29c5be eeshow/: support format symbols %%, %N, %S, and %T in page layout 2016-08-22 05:38:19 -03:00
Werner Almesberger
b925268c90 eeshow/gui/common.h (struct gui_sheet): add back link to history 2016-08-22 05:37:23 -03:00
Werner Almesberger
4711107d7e eeshow/kicad/pl-parse.c: indicate where warnings and errors come from 2016-08-22 05:09:33 -03:00
Werner Almesberger
b5a29b85da eeshow/diag.c (progress): don't require user to supply newline 2016-08-22 05:06:05 -03:00
Werner Almesberger
1a5c8a564c eeshow/diag.c (error): don't require user to supply newline 2016-08-22 05:04:23 -03:00
Werner Almesberger
1812d1af86 eeshow/diag.c (warning): don't require user to supply newline 2016-08-22 05:02:09 -03:00
Werner Almesberger
3c8c7ef6e1 eeshow/kicad/: page layout: support default text size; use "pl" uniformly 2016-08-22 05:00:38 -03:00
Werner Almesberger
356df44952 eeshow/kicad/: support text justification in page layout 2016-08-22 04:52:18 -03:00
Werner Almesberger
8ac35d9192 eeshow/kicad/: begin text support for page layout (WIP); add missing pl-common.h 2016-08-22 04:40:40 -03:00
Werner Almesberger
5cfbf666f4 eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted strings 2016-08-22 04:39:25 -03:00
Werner Almesberger
6c4eae22e1 eeshow/gui/: experimental support for page layout; option -P pl-file.kicad_wks
Unlike libraries and schematics, page layouts are not (yet) tracked through
revision history.
2016-08-22 04:06:59 -03:00
Werner Almesberger
2d964c0f35 eeshow/kicad/pl.h, pl-parse.c, pl-render.c: page layout support (WIP)
We currently only do lines, no text.
2016-08-22 04:04:51 -03:00
Werner Almesberger
83c452c522 eeshow/kicad/sexpr.c (sexpr_abort): silently shut down parser 2016-08-22 04:02:14 -03:00
Werner Almesberger
2515c3b964 eeshow/kicad/sch.h, sch-parse.c: also retrieve sheet width and height 2016-08-22 04:01:19 -03:00
Werner Almesberger
0caae88fa9 eeshow/main.c: eeshow -S <file parses S-exprs and dumps to stdout 2016-08-22 01:12:21 -03:00
Werner Almesberger
12f66ec47e eeshow/kicad/sexpr.c, sexpr.h: simple parser for S-expressions 2016-08-22 01:12:05 -03:00
Werner Almesberger
328ddd9ca7 eeshow/gui/history.c (hover_history): compensate jump on dehover 2016-08-21 23:13:27 -03:00
Werner Almesberger
b844bbfed2 eeshow/gui/aoi.c (aoi_hover): also indicate from which direction we enter 2016-08-21 23:02:28 -03:00
Werner Almesberger
c6498a8cc1 eeshow/gui/: hover callback now indicates in which direction we left 2016-08-21 22:31:52 -03:00
Werner Almesberger
3e5c229291 eeshow/gui/history.c (click_history): must go_to_sheet to switch to revision
... also if we don't diff.
2016-08-21 12:50:00 -03:00
Werner Almesberger
b6821089a5 eeshow/gui/render.c (render_delta): we had red and green (old/new) reversed 2016-08-21 11:53:57 -03:00
Werner Almesberger
532c9bc82f eeshow/TODO: supporting PDF TOC 2016-08-21 11:38:29 -03:00
Werner Almesberger
5fd877a6f8 eeshow/gfx/cro.c: support PDF TOC addition; option -T to suppress it 2016-08-21 11:37:47 -03:00
Werner Almesberger
71d03c7281 eeshow/gfx/pdftoc.c: edit Cairo-generated PDF to insert TOC
Based on schtoc.pl
2016-08-21 11:34:12 -03:00
Werner Almesberger
7652f3a88f eeshow/gfx/gfx.c (gfx_sheet_name): pass sheet name (title) to driver 2016-08-21 11:32:13 -03:00
Werner Almesberger
1930eedb64 eeshow/util/diag.h (pfatal): mark as "noreturn" 2016-08-21 02:50:46 -03:00
Werner Almesberger
505ffe0c17 eeshow/gui/gui.c: forgot to #include icons.h, oops 2016-08-21 02:41:19 -03:00
Werner Almesberger
bb30214c5f eeshow/TODO: add some more ideas 2016-08-21 02:03:00 -03:00