1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-06-28 22:51:06 +03:00
Commit Graph

882 Commits

Author SHA1 Message Date
Werner Almesberger
4191931c06 eeshow/gui/gui.c: move global label pop-up to glabel.c 2016-08-18 03:07:43 -03:00
Werner Almesberger
6975c2b6d5 eeshow/gui/gui.c: move progress bar handling to progress.c 2016-08-18 02:53:39 -03:00
Werner Almesberger
f981ec1a63 eeshow/gui/gui.c: move common data structures to common.h
Preparing for splitting gui.c into more manageable parts.
2016-08-18 02:48:57 -03:00
Werner Almesberger
ab1948a62c eeshow/gui/gui.c: dragging closes glabel pop-up 2016-08-18 02:44:06 -03:00
Werner Almesberger
6847165604 eeshow/aoi.c, aoi.h: remove dragging support (now in input.c)
The crazy detour through aoi.c and over.c is no longer needed.
2016-08-18 02:13:55 -03:00
Werner Almesberger
d78caddaf9 eeshow/gui/over.h, over.c: remove dragging support (now input.c)
The crazy detour through aoi.c and over.c is no longer needed.
2016-08-18 02:08:02 -03:00
Werner Almesberger
fc1fbece43 eeshow/gui/: bring back scrolling of the history
Now it's more usable than before, since clicking between commits won't
close the history.
2016-08-18 02:05:43 -03:00
Werner Almesberger
547e7059ae eeshow/gui/gui.c: begin moving input (mouse, keyboard) handling to input.c (WIP)
We had input state scattered all over the place. This cleans things up.
We also merge the functions of left and (previously) middle button.

This breaks history panning.
2016-08-18 01:49:20 -03:00
Werner Almesberger
c4811c8dd6 eeshow/: util.h and diag.c go to misc/ 2016-08-17 21:37:15 -03:00
Werner Almesberger
4836dcb0ca eeshow/delta.c: goes to kicad/ 2016-08-17 21:33:10 -03:00
Werner Almesberger
766f1d64f3 eeshow/misc.c: goes to gfx/, too 2016-08-17 21:31:56 -03:00
Werner Almesberger
9829f7070f eeshow/: move graphics low-level functions to gfx/ 2016-08-17 21:28:42 -03:00
Werner Almesberger
c353129172 eeshow/kicad/dwg.h: don't include fig.h; forgot to include text.h in lib.h 2016-08-17 21:17:35 -03:00
Werner Almesberger
e0c1e533f4 eeshow/: move parsing and high-level rendering to kicad/ 2016-08-17 21:15:44 -03:00
Werner Almesberger
097192b7b4 eeshow/: move file and history access to file/ 2016-08-17 21:07:13 -03:00
Werner Almesberger
b9329b09d2 eeshow/fmt-pango.c, fmt-pango.h: also move to gui/ 2016-08-17 21:00:02 -03:00
Werner Almesberger
4d40267974 eeshow/: move gui* into subdirectory gui/ 2016-08-17 20:54:25 -03:00
Werner Almesberger
9bc9d86e0c common/Makefile.c-common: preserve directory for object files 2016-08-17 20:49:18 -03:00
Werner Almesberger
bcd34eaf7d eeshow/diag.h: use __attribute__((format(printf, ... 2016-08-17 04:43:15 -03:00
Werner Almesberger
7604c64d16 eeshow/DEMO: add Olimex A64-OLinuXino 2016-08-17 04:42:00 -03:00
Werner Almesberger
6f79ecdc3f eeshow/gui.c (show_history): skip (compact) commits without changes 2016-08-17 04:41:27 -03:00
Werner Almesberger
3674d4eb75 eeshow/fmt-pango.c: support %u format; use __attribute__((format... 2016-08-17 04:39:59 -03:00
Werner Almesberger
a0be60f935 eeshow/style.h (COLOR_COMP_DWG_BG): use lighter yellow for background
0xffffc2 is the same color KiCad uses.
2016-08-16 12:27:37 -03:00
Werner Almesberger
f08f43d706 eeshow/fig.c: output all user-defined colors 2016-08-16 12:20:27 -03:00
Werner Almesberger
5edf1923f0 eeshow/TODO: update 2016-08-16 05:19:23 -03:00
Werner Almesberger
18fc781b01 eeshow/DEMO: add c4puter/motherboard as another example 2016-08-16 05:17:05 -03:00
Werner Almesberger
f893e17ed9 eeshow/sch-parse.c (parse_field): accept escaped quotes (WIP)
We should also remove the backslash.
2016-08-16 05:15:38 -03:00
Werner Almesberger
3c7033ce61 eeshow/: missing sheets are now flagged in red, instead of failing the revision 2016-08-16 04:07:42 -03:00
Werner Almesberger
e349ae0d1f eeshow/delta.c (sheet_eq): check if one sheet title is NULL
May have caused a segfault.
2016-08-16 03:47:35 -03:00
Werner Almesberger
c5fcf2c16e eeshow/diff.c (AREA_FILL): change from yellow to light purple
The yellow looked almost like eeschema's background fill color, making it
difficult to see change indications.
2016-08-16 03:19:39 -03:00
Werner Almesberger
06a614d2c2 eeshow/git-file.c (find_file): use git_repository_workdir, for submodules 2016-08-16 03:14:50 -03:00
Werner Almesberger
ccf77a541d eeshow/cro.c (cr_arc): close the path for filled arcs
Else, we'd get little "horns" at the ends.
2016-08-16 02:33:37 -03:00
Werner Almesberger
ae80cde66c eeshow/lib-render.c (draw_arc): support filling 2016-08-16 02:33:35 -03:00
Werner Almesberger
7603e917c3 eeshow/lib-parse.c (parse_def): suppress pin name and number if power symbol 2016-08-16 02:14:45 -03:00
Werner Almesberger
a03f41a845 eeshow/text.c (text_fig): correct vertical alignment of multi-line text
We used the first line as alignment point, not the last line.
2016-08-16 02:06:40 -03:00
Werner Almesberger
6fe19f52e9 eeshow/: support selection of "De Morgan" style 2016-08-16 01:47:07 -03:00
Werner Almesberger
7d72a28c31 eeshow/fig.c (fig_init): use getline instead of fgets 2016-08-16 01:34:26 -03:00
Werner Almesberger
37351bf8bc eeshow/file.c (file_read): use getline instead of fgets
OSHW-SCHEM-PCB10mm of github.com:cpavlina/kicad-schlib/library/symbol.lib
has a line > 1000 characters.
2016-08-16 01:24:04 -03:00
Werner Almesberger
8a087797b2 eeshow/lib-parse.c (decode_style): also recognize "Italic" 2016-08-16 01:00:20 -03:00
Werner Almesberger
b9e51a7788 eeshow/README: document modes of usage 2016-08-16 00:21:33 -03:00
Werner Almesberger
0119b82340 eeshow/gui.c (button_press_event): filter out double-click
That tripped an assertion in gui-aoi.c
2016-08-16 00:19:51 -03:00
Werner Almesberger
0d975a57d0 eeeshow/gui-aoi.c (aoi_down): don't accept click on non-clickable AoI 2016-08-16 00:19:23 -03:00
Werner Almesberger
b67f6b9a96 eeshow/gui-over.c: make list doubly-linked; reverse when dy < 0 2016-08-15 04:47:43 -03:00
Werner Almesberger
375efa6476 eeshow/gui.c (hover_glabel): don't test outer loop variable in inner loop 2016-08-15 04:34:02 -03:00
Werner Almesberger
562f36b20c eeshow/gui-over.c: outwitted myself with the overlay direction logic 2016-08-15 04:33:34 -03:00
Werner Almesberger
5e9bc68093 eeshow/gui.c (set_history_style): show revisions without valid sheets in red 2016-08-15 00:53:14 -03:00
Werner Almesberger
8d465b0da0 eeshow/gui-over.c (overlay_draw): simplify; correct reverse alignment 2016-08-14 14:52:07 -03:00
Werner Almesberger
a61560f119 eeshow/gui.c (on_draw_event): don't reverse direction at end of history 2016-08-14 14:36:34 -03:00
Werner Almesberger
d8f3319264 eeshow/gui-over.c: more fine-grained control over stacking direction 2016-08-14 14:35:57 -03:00
Werner Almesberger
a3301f95ae eeshow/gui.c: show progress bar on main window 2016-08-14 13:51:30 -03:00