summaryrefslogtreecommitdiff
path: root/gui/sheet.c
AgeCommit message (Collapse)AuthorFilesLines
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-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-20gui/gui.c (current_sheet): de-duplicate sheet selection logicWerner Almesberger1-15/+3
2016-10-30gui/sheet.c (sheet_key), history.c (history_key): limit "v" to commit hoverWerner Almesberger1-1/+2
I.e., we can use it for something else of not hovering over a commit. Also fixed a missing "break".
2016-10-30file/git-hist.c (vcs_git_long_for_pango): optionally show full commit messageWerner Almesberger1-1/+1
2016-10-30gui/: "v" opens a viewer window for commit messages (WIP)Werner Almesberger1-0/+6
2016-10-22gui/sheet.c: highlight text (block) being selectedWerner Almesberger1-2/+28
2016-10-19gui/common.h, gui/sheet.c: use dragging instead of click for copying textWerner Almesberger1-5/+26
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-15gui/pop.c: separate general pop-up functions from glabel.cWerner Almesberger1-3/+4
... for upcoming sharing.
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 Almesberger1-1/+2
2016-09-07fix numerous whitespace atrocitiesWerner Almesberger1-1/+1
- 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-01gui/sheet.c (hover_sheet): show file name in sheet detailsWerner Almesberger1-2/+4
2016-08-28file/git-hist.c, gui/: support multiple heads; update GUI accordinglyWerner Almesberger1-1/+1
While we try to iterate HEAD first, this won't result in HEAD coming out on top if there is another branch that is ahead of HEAD. While we could try some heuristics to avoid this, it'll be better to just sort the whole list first by (partial) git history order and then by date. That way, the result will never be too far from what a human user will expect to see.
2016-08-27file/git-hist.c: introduce history descriptor to API, removing global "history"Werner Almesberger1-1/+1
This will be used for more things in the future.
2016-08-26gui/sheet.c (sheet_key): N/D/O need to do_revision_overlays to update overlaysWerner Almesberger1-0/+3
Else, the frame remains in its prior state, not indicating the mode change.
2016-08-26gui/sheet.c (sheet_key): toggle diff/delta with Shift+D; document itWerner Almesberger1-5/+5
This frees "A" for other uses.
2016-08-25gui/: "struct gui_ctx" is now "struct gui"; also s/gui_ctx/gui/ in aoi_ctxWerner Almesberger1-27/+27
2016-08-25gui/: "struct gui_ctx *ctx" is now "struct gui_ctx *gui"Werner Almesberger1-168/+168
2016-08-25gui/sheet.c (sheet_key): keypad +, =, *, -; GDK_KEY_HelpWerner Almesberger1-0/+5
2016-08-24GUI performance timer, toggle with "T"Werner Almesberger1-0/+6
Shows milliseconds between last event and completion of screen update.
2016-08-24gui/: move resizing back to gui.c; support resizing indexWerner Almesberger1-15/+1
2016-08-24gui/: experimental sheet index (WIP)Werner Almesberger1-16/+21
We also change the way the sheet overlays work: now clicking on the subsheet (which, in the case of the bottom-most sheet did nothing) goes back to the parent and clicking on the root opens the index.
2016-08-23gui/: do without the "unrender_all" atrocityWerner Almesberger1-2/+1
Benefits: - no horrible memory leak - we don't need to jump to the current page (causing zoom_to_extents) Drawbacks: - only supported in non-diff modes
2016-08-23in GUI mode, E toggles extra information (pin types)Werner Almesberger1-0/+5
2016-08-22eeshow/gui/: change zoom system to use float; reduce step from 2 to 2^(1/3)Werner Almesberger1-15/+33
2016-08-21eeshow/gui/: hover callback now indicates in which direction we leftWerner Almesberger1-6/+6
2016-08-21eeshow/Makefile, gui/sheet.c: grow icons from 16 to 20 pixels reduce paddingWerner Almesberger1-0/+1
2016-08-21eeshow/gui/sheet.c (add_delta): use pretty icons instead of unicodeWerner Almesberger1-2/+3
2016-08-20eeshow/gui/ (aoi_click): also protect from access after freeWerner Almesberger1-2/+2
Unlike aoi_hover, aoi_click was not observed to actually run into this problem. But better safe than sorry.
2016-08-20eeshow/gui/ (aoi_hover): could cause an access after freeWerner Almesberger1-2/+2
2016-08-20eeshow/gui/sheet.c (add_delta): show inverted greek delta when in delta modeWerner Almesberger1-1/+5
2016-08-20eeshow/gui/render.c: resurrect delta mode (A toggles between delta and diff)Werner Almesberger1-0/+5
2016-08-20eeshow/: Esc cancels current actionWerner Almesberger1-0/+6
2016-08-20eeshow/: don't use ? for helpWerner Almesberger1-1/+0
We may want to use it in the future for searching (/ forward, ? backward, etc.)
2016-08-19eeshow/gui/: sel_split to select 2nd version; sel_only doesn't set old_histWerner Almesberger1-10/+23
2016-08-19eeshow/: add online help with h or ? (WIP)Werner Almesberger1-0/+6
2016-08-19eeshow/gui/sheet.c (toggle_old_new): Tab toggles between diff_old and diff_newWerner Almesberger1-0/+10
2016-08-19eeshow/gui/: in diff_old, use sheet from old_hist for AoIsWerner Almesberger1-0/+8
2016-08-19eeshow/gui/sheet.c: clicking on the revision overlays changes diff modeWerner Almesberger1-9/+25
2016-08-19eeshow/gui/sheet.c (revision_overlays_diff): support selection of diff modeWerner Almesberger1-1/+27
2016-08-19eeshow/gui/sheet.c (sheet_key): recognize GDK_KEY_KP_Home, GDK_KEY_KP_DeleteWerner Almesberger1-0/+2
2016-08-19eeshow/gui/: difference display can now be switched with New/Old/DiffWerner Almesberger1-0/+15
Still need a GUI way to do the same.
2016-08-18eeshow/gui/: add "underlay" for pop-ups (WIP)Werner Almesberger1-0/+2
We'll use this to construct stacks for glabels.
2016-08-18eeshow/gui/sheet.c (sheet_drag_end): re-hover glabels after draggingWerner Almesberger1-0/+7
2016-08-18eeshow/gui/sheet.c (sheet_scroll): call input_update to maybe re-hover glabelWerner Almesberger1-0/+1