summaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)AuthorFilesLines
2017-05-07gui/comp.c (add_comp_aoi): ignore documentation fields that just say "~"Werner Almesberger1-1/+2
~ is sometimes used as placeholder for "empty".
2017-05-07new undocumented option "-C width" to set component pop-up width (0: fit ↵Werner Almesberger2-4/+13
content)
2017-05-07gui/comp.c (hover_comp): don't use externally provided string as formatWerner Almesberger1-3/+3
2016-11-29gui/sheet.c (show_key): don't change diff mode if we have no historyWerner Almesberger1-0/+8
If we have no history, trying to change the diff mode through keyboard shortcuts crashed eeshow when trying to set up the revision overlays. Reported by Alvaro Gamez Machado.
2016-11-29gui/gui.c (add_hist): check that we have a commit before trying to print itWerner Almesberger1-1/+3
Reported by Alvaro Gamez Machado. Also point out memory leak.
2016-11-29gui/gui.c (add_hist): indicate (if verbose) when we begin processing a revisionWerner Almesberger1-0/+2
2016-11-28gui/sheet.c (sheet_key): check if we have history before calling show_historyWerner Almesberger1-2/+4
Reported by "ceene".
2016-11-28gui/sheet.c (have_history): make check if we have a VCS history reusableWerner Almesberger1-1/+7
2016-11-21gui/index.c: also show the sheet number when hovering over thumbnailWerner Almesberger1-12/+59
2016-11-20gui/gui.c (sheets): move over from index.cWerner Almesberger3-9/+10
2016-11-20gui/gui.c (current_sheet): de-duplicate sheet selection logicWerner Almesberger3-15/+13
2016-11-03Revert "gui/gui.c (run_gui): we no longer need tge gtk-label-select-on-focus ↵Werner Almesberger1-0/+6
hack" This reverts commit 52050667b55c9b8f75a61ecaf39422b5ef6d0bbf. This is needed for GtkLabel (see previous commit).
2016-11-03Revert "gui/view.c: use GtkTextView instead of GtkLabel"Werner Almesberger1-25/+13
This reverts commit d849ee95ff7e2ff2ccf0d6ff98b42a3a7f9a383d. gtk_text_buffer_insert_markup is too new to be supported by major distributions (e.g., Debian "stable"), so we can't use it :-( Reported by Martin Borgert.
2016-10-31gui/gui.c (run_gui): we no longer need tge gtk-label-select-on-focus hackWerner Almesberger1-6/+0
... since we now display text with GtkTextView instead of GtkLabel.
2016-10-30gui/view.c: use GtkTextView instead of GtkLabelWerner Almesberger1-13/+25
This allows us to suppress the cursor, which confusingly suggested editability of the text. Also the default background color is nicer. Added left and right margins, too.
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-19gui/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-13gui/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-30"F" now toggles display of invisible footprintsWerner Almesberger1-0/+4
2016-09-30gui/common.h (show_extra): change from bool to enum gfx_extra (mask)Werner Almesberger3-11/+12
2016-09-30get 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