AgeCommit message (Collapse)AuthorFilesLines
2016-08-18eeshow/gui/over.c (overlay_remove_all): make re-entrant safeWerner Almesberger1-1/+1
2016-08-18eeshow/gui/glabel.c: show glabel name in pop-upWerner Almesberger1-4/+31
2016-08-18eeshow/gui/over.c (overlay_draw): shift border outside the content areaWerner Almesberger1-2/+5
This also ensures that lines with an odd-numbered width are not blended.
2016-08-18eeshow/gui/glabel.c (add_dest_overlay): include current sheet in listWerner Almesberger1-1/+2
2016-08-18eeshow/gui/history.c (RGBA, COLOR): move to style.hWerner Almesberger2-4/+4
2016-08-18eeshow/gui/input.c (button_release_event): input_hovering_down -> input_idleWerner Almesberger1-1/+1
2016-08-18eeshow/gui/: use underlay to draw a nice box for glabelsWerner Almesberger3-5/+40
2016-08-18eeshow/misc/util.h (sign1): return sign of argument, return 1 for 0Werner Almesberger1-0/+1
2016-08-18eeshow/gui/: add "underlay" for pop-ups (WIP)Werner Almesberger3-0/+4
We'll use this to construct stacks for glabels.
2016-08-18eeshow/gui/over.c (overlay_size, _all): calculate height and width of overlayWerner Almesberger2-0/+84
2016-08-18eeshow/gui/over.h, over.c: allow also setting of min/max heightWerner Almesberger2-0/+4
2016-08-18eeshow/gui/glabel.c (hover_glabel): separate addition of destination overlayWerner Almesberger1-30/+36
2016-08-18eeshow/gui/over.c; add section commentsWerner Almesberger1-0/+15
2016-08-18eeshow/TODO: expand glabel issuesWerner Almesberger1-1/+8
2016-08-18eeshow/gui/sheet.c (sheet_drag_end): re-hover glabels after draggingWerner Almesberger1-0/+7
2016-08-18eeshow/gui/input.c (clicked_x, _y): avoid accumulation of conversion errorsWerner Almesberger1-1/+1
Gtk uses floating-point coordinates. The double conversion during dragging (event -> clicked -> difference with next event) caused dragging to "slow down" in the X- and Y- direction.
2016-08-18eeshow/gui/sheet.c (sheet_scroll): call input_update to maybe re-hover glabelWerner Almesberger1-0/+1
2016-08-18eeshow/gui/input.c (input_update): update hovering after coordinate changesWerner Almesberger2-18/+72
E.g., when zooming in or out.
2016-08-18eeshow/gui/sheet.c (sheet_setup): wrong use of ctx, broke resizingWerner Almesberger1-1/+1
... with a segfault.
2016-08-18eeshow/gui/gui.c: move rendering to render.cWerner Almesberger4-130/+164
2016-08-18eeshow/gui/sheet.c: remove glabel pop-up when scrollingWerner Almesberger1-8/+15
Scrolling changes the geometry and the pop-up ended up at weird places.
2016-08-18eeshow/gui/gui.c: better sectioning; trim includesWerner Almesberger1-27/+26
2016-08-18eeshow/main.c: run under gdb if argv[1] is "gdb"Werner Almesberger1-1/+16
I.e., instead of eeshow foo bar invoke with eeshow gdb foo bar
2016-08-18eeshow/gui/input.c: support hover -> drag; set state to idle after cleanupWerner Almesberger1-19/+46
2016-08-18eeshow/gui/input.c (motion_notify_event): misinterpreted hover_update resultWerner Almesberger1-1/+1
This almost worked, except that it sometimes left hovering on after leaving an AoI, which then caused a subsequent drag to be handled as hover_click. This caused the history list sometimes to be closed when trying to drag.
2016-08-18eeshow/gui/input.c: add tracing (-v -v -v); rename input_normal to input_idleWerner Almesberger1-9/+38
2016-08-18eeshow/gui/sheet.c: improve sectioning of codeWerner Almesberger1-37/+43
2016-08-18eeshow/gui/history.c: void forward-declaration of history_input_opsWerner Almesberger1-24/+24
2016-08-18eeshow/gui/history.c: provide complete set of input functionsWerner Almesberger3-17/+35
2016-08-18eeshow/gui/gui.c (eeschema_coord): only used in glabel.c, move thereWerner Almesberger3-14/+17
2016-08-18eeshow/gui/gui.c: move history list to history.cWerner Almesberger4-221/+246
2016-08-18eeshow/gui/gui.c: move sheet navigation to sheet.cWerner Almesberger4-450/+486
2016-08-18eeshow/gui/gui.c: move global label pop-up to glabel.cWerner Almesberger4-133/+157
2016-08-18eeshow/gui/gui.c: move progress bar handling to progress.cWerner Almesberger4-74/+108
2016-08-18eeshow/gui/gui.c: move common data structures to common.hWerner Almesberger2-75/+103
Preparing for splitting gui.c into more manageable parts.
2016-08-18eeshow/gui/gui.c: dragging closes glabel pop-upWerner Almesberger1-3/+19
2016-08-18eeshow/aoi.c, aoi.h: remove dragging support (now in input.c)Werner Almesberger3-107/+10
The crazy detour through aoi.c and over.c is no longer needed.
2016-08-18eeshow/gui/over.h, over.c: remove dragging support (now input.c)Werner Almesberger2-12/+1
The crazy detour through aoi.c and over.c is no longer needed.
2016-08-18eeshow/gui/: bring back scrolling of the historyWerner Almesberger2-15/+39
Now it's more usable than before, since clicking between commits won't close the history.
2016-08-18eeshow/gui/gui.c: begin moving input (mouse, keyboard) handling to input.c (WIP)Werner Almesberger5-160/+418
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-17eeshow/: util.h and diag.c go to misc/Werner Almesberger24-43/+43
2016-08-17eeshow/delta.c: goes to kicad/Werner Almesberger4-9/+8
2016-08-17eeshow/misc.c: goes to gfx/, tooWerner Almesberger7-12/+12
2016-08-17eeshow/: move graphics low-level functions to gfx/Werner Almesberger24-85/+87
2016-08-17eeshow/kicad/dwg.h: don't include fig.h; forgot to include text.h in lib.hWerner Almesberger2-3/+1
2016-08-17eeshow/: move parsing and high-level rendering to kicad/Werner Almesberger14-39/+42
2016-08-17eeshow/: move file and history access to file/Werner Almesberger16-38/+39
2016-08-17eeshow/fmt-pango.c, fmt-pango.h: also move to gui/Werner Almesberger8-15/+17
2016-08-17eeshow/: move gui* into subdirectory gui/Werner Almesberger10-24/+25
2016-08-17eeshow/diag.h: use __attribute__((format(printf, ...Werner Almesberger1-4/+8