summaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)AuthorFilesLines
2016-10-30gui/history.c (history_key): add invocation of help (with H or Help)Werner Almesberger1-2/+7
2016-10-30gui/sheet.c (sheet_key), history.c (history_key): limit "v" to commit hoverWerner Almesberger2-2/+6
I.e., we can use it for something else of not hovering over a commit. Also fixed a missing "break".
2016-10-30gui/view.c (view_open): align label with the upper left cornerWerner Almesberger1-0/+2
2016-10-30file/git-hist.c (vcs_git_long_for_pango): optionally show full commit messageWerner Almesberger2-3/+3
2016-10-30gui/: "v" opens a viewer window for commit messages (WIP)Werner Almesberger4-2/+64
2016-10-30gui/help.c: general viewer windowWerner Almesberger1-69/+12
2016-10-30gui/view.c, view.h, Makefile: generalized handling of viewer windowsWerner Almesberger2-0/+158
2016-10-30gui/help.c, help.html, Makefile, README: remove WebKit supportWerner Almesberger1-27/+0
We didn't normally use it, if using it, it would have made things quite slow, and having to support it would complicate generalizing viewer windows (which will happen soon).
2016-10-30gui/help.c (help_content), gui.c: make the help text copiableWerner Almesberger2-0/+7
This also requires globally setting gtk-label-select-on-focus to FALSE in order to avoid the text already being selected when opening the window.
2016-10-28gui/clipboard.h: also forgot to commit (again reported by Martin Borgert)Werner Almesberger1-0/+18
2016-10-28gui/clipboard.c: forgot to commit (reported by Martin Borgert)Werner Almesberger1-0/+57
2016-10-22gui/sheet.c: highlight text (block) being selectedWerner Almesberger1-2/+28
2016-10-22gui/pop.c (place_pop_cover), pop.h: place pop-up to cover bounding boxWerner Almesberger2-0/+22
2016-10-22gui/over.c (overlay_draw, overlay_size): support overlays without contentWerner Almesberger1-2/+19
2016-10-22gui/comp.c (add_comp_aoi): don't crash if component is undefinedWerner Almesberger1-1/+6
2016-10-19gui/common.h, gui/sheet.c: use dragging instead of click for copying textWerner Almesberger2-5/+28
This feels much more "natural", but still lacks visual feedback.
2016-10-19gui/sheet.c (sheet_click): send text to the clipboard (uses xsel)Werner Almesberger1-1/+2
Copy & paste in Gtk/Gdk seems to have issues in a multi-head setup. xsel works fine, so we just use that for now.
2016-10-18gui/sheet.c (sheet_click): if clicking on text, show on standard error (WIP)Werner Almesberger1-5/+16
2016-10-18gui/comp.c: restructure information flow; pop-up now disappears on clickWerner Almesberger1-43/+83
The goal is to provide visual feedback when clicking on a pop-up item, since starting a browser or loading a large PDF can take long enough for the user to become uncertain whether the click was actually processed. For this, we need to pass "gui" to comp_click, which is complicated by there only being one user-provided argument, which we already used for the URL. We now have a per-item structure (which is passed to comp_click) that provides both URL and "gui" pointer, and also makes a few other things easier.
2016-10-17gui/comp.c (get_bbox): filter by unit (for multi-unit parts)Werner Almesberger1-1/+4
2016-10-15main/eeshow.c, gui/comp.c: -d file.doc_db load doc db; comp pop shows entriesWerner Almesberger1-0/+10
2016-10-15gui/comp.c (get_bbox): apply transformation matrixWerner Almesberger1-6/+16
2016-10-15gui/glabel.c, comp.c: remove no longer needed includesWerner Almesberger2-4/+1
2016-10-15gui/viewer.c (viewer): launch external viewer; use it in comp.cWerner Almesberger3-1/+61
2016-10-15gui/comp.c: add pop-up for components, with access to data sheet (WIP)Werner Almesberger3-0/+201
2016-10-15gui/pop.c: also migrate placement in bounding box calculationWerner Almesberger3-31/+39
2016-10-15gui/pop.c: separate general pop-up functions from glabel.cWerner Almesberger6-128/+192
... for upcoming sharing.
2016-10-15gui/over.c, over.h (overlay_vtext): vprintf-style variant of overlay_textWerner Almesberger2-1/+9
2016-10-12gui/glabel.c (hover_glabel), TODO: work around infinite recursionWerner Almesberger1-1/+9
Calling input_update didn't only fail to work as intended (see long comment before the work-around), but also caused an infinite recursion if we have overlapping global labels. Removing it seems to have no ill effect.
2016-10-12gui/glabel.c: fix commentWerner Almesberger1-2/+2
2016-09-30Shift + R now toggles visibility of invisible component referencesWerner Almesberger1-0/+4
Such things should be rare in normal use of KiCad, but can occur when working with unusual designs.
2016-09-29"F" now toggles display of invisible footprintsWerner Almesberger1-0/+4
2016-09-29gui/common.h (show_extra): change from bool to enum gfx_extra (mask)Werner Almesberger3-11/+12
2016-09-29get rid of sch_render_extra and move selection to rendering (WIP)Werner Almesberger3-32/+10
This works for eeshow, but this breaks the -e option of eeplot and eediff, permanently enabling it in FIG, and permanently disabling it in all the Cairo-based formats.
2016-09-25gui/inxex.c (thumb_hover): also show file name when hoveringWerner Almesberger1-3/+6
2016-09-24file/git-hist.c (vcs_git_history): limit depth of history retrievalWerner Almesberger1-2/+2
We used to retrieve the entire history, but if we afterwards only use the topmost N entries, we need - in the worse case - only the first N entries from each branch. We could try to be even more efficient, but that would require doing part of the sorting already during retrieval, which would make things messy.
2016-09-14gui/index.c (thumb_hover): draw border around sheet titleWerner Almesberger1-1/+1
This makes it a bit easier to read the title.
2016-09-10gui/gui.c (get_history): calculate hist_size correctlyWerner Almesberger1-4/+5
This value is only used for the progress bar, so nothing bad happens if we use too high a value (with -N 10000 or such), but it's still better to do this properly.
2016-09-10gui/index.c (SHEET_MAX_W): increase from 200 to 240 pixelsWerner Almesberger1-1/+1
2016-09-08gui/gui.c (parse_files): don't reject revision just because of missing librariesWerner Almesberger1-3/+4
2016-09-08main/eeplot.c, gui/gui.c: use pl_parse_searchWerner Almesberger1-11/+5
This also relaxes the error handling of eeshow: it no longer rejects a revision if it is unable to find the page layout file. the page layout file no longer causes
2016-09-07fix numerous whitespace atrocitiesWerner Almesberger9-15/+14
- trailing spaces - trailing tabs - space before tab - more than four spaces ... - at the beginning of a line - after tab - in general (okay in many cases, but not all) - caught a stray blank line as well
2016-09-07gfx/diff.c, main/eeplot.c, gui/gui.c: search library pathsWerner Almesberger1-2/+2
2016-09-04gui/history.c (hover_history): prevent "migration" at top and bottomWerner Almesberger1-1/+3
Reported by Joerg.
2016-09-04gui/gui.c (get_history): sch_name should be just "name" for it can be .pro, tooWerner Almesberger1-3/+3
2016-09-03gui/timer.c: forgot to #include "misc/util.h" (for alloc_printf)Werner Almesberger1-0/+1
2016-09-01gui/sheet.c (hover_sheet): show file name in sheet detailsWerner Almesberger1-2/+4
2016-08-30misc/util.h (alloc_printf): error-checking vasprintf wrapper; use itWerner Almesberger3-11/+7
2016-08-30gfx/cro.c (cro_img): add alpha mode; get rid of paint_yellowWerner Almesberger1-33/+3
This didn't work before because we didn't use CAIRO_OPERATOR_SOURCE.
2016-08-30gui/render.c (render_delta): we had old/new drawing order reversedWerner Almesberger1-5/+5
This resulted in red being drawn over green, instead of the other way around.