summaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-08-30gui/render.c (on_draw_event): remove "if" left over from older versionWerner Almesberger1-1/+0
Fortunately it didn't break anything important ...
2016-08-30kicad/delta.c (sheet_eq): make recursing optional; don't recurse in indexWerner Almesberger3-3/+3
In the index, we don't want to have pages marked because there's a page underneath that has changed. After all, that other page is being shown in the index as well. However, in all other cases we still want to recurse.
2016-08-29new option "-E command" to execute commands when the GUI is readyWerner Almesberger2-2/+22
This is mainly intended for taking screenshots, e.g., with xdotool and xwd.
2016-08-29gui/history.c: when skipping, only draw top/bottom extensions at edgesWerner Almesberger1-11/+26
2016-08-29gui/history.c: draw skipped commits overlayed and in grey (WIP)Werner Almesberger1-14/+23
We still need to control the vertical bits, to prevent them from sticking out.
2016-08-29gui/history.c: draw threads of the revision historyWerner Almesberger2-2/+103
2016-08-29gui/over.c (over_iterate_geometry): iterate overlays and pass geometryWerner Almesberger2-0/+26
This way, one can draw things in relation to overlays. E.g., the threads in the revision history.
2016-08-29gui/history.c (history_draw_event): dim the sheet (like in index mode)Werner Almesberger1-4/+4
2016-08-29gui/render.c (on_draw_event): move history drawing to history_draw_eventWerner Almesberger3-9/+30
2016-08-29gui/common.h: don't forget to #include <cairo/cairo.h>Werner Almesberger1-0/+1
2016-08-28gui/history.c: add more section commentsWerner Almesberger1-0/+6
2016-08-28file/git-hist.c (hist_iterate): pass "next" pointer as wellWerner Almesberger1-3/+5
This way, the callback don't need to search the list to figure it out on its own.
2016-08-28gui/history.c: add scrolling with the scroll wheelWerner Almesberger1-0/+16
2016-08-28gui/gui.c: clarify that "sheet_eq" does more than compare a single sheetWerner Almesberger1-0/+5
Did fool myself there ...
2016-08-28file/git-hist.c, gui/: support multiple heads; update GUI accordinglyWerner Almesberger2-5/+3
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-28gui/history.c (skip_history): don't skip entries that are heads of branchesWerner Almesberger1-2/+5
Also simplified the function a little.
2016-08-27gui/history.c (hover_history): use vcs_git_summary_for_pangoWerner Almesberger1-7/+5
... instead of vcs_git_summary.
2016-08-27file/git-hist.h (struct hist, struct history): prepend vcs_Werner Almesberger2-4/+4
2016-08-27file/git-hist.c: introduce history descriptor to API, removing global "history"Werner Almesberger3-8/+11
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/index.c (thumbnail_pos): since we have "alloc", we don't need "gui"Werner Almesberger1-4/+3
2016-08-25gui/gui.c (get_sheets): use "sch" for "struct sheet *", not "sheet"Werner Almesberger1-3/+3
We use the latter for "struct gui_sheet *"
2016-08-25gui/: "struct gui_ctx" is now "struct gui"; also s/gui_ctx/gui/ in aoi_ctxWerner Almesberger8-102/+102
2016-08-25gui/: "struct gui_ctx *ctx" is now "struct gui_ctx *gui"Werner Almesberger9-497/+497
2016-08-25gui/index.c, help.c: more GDK_KEY_HelpWerner Almesberger2-0/+2
2016-08-25gui/sheet.c (sheet_key): keypad +, =, *, -; GDK_KEY_HelpWerner Almesberger1-0/+5
2016-08-24GUI performance timer, toggle with "T"Werner Almesberger5-0/+121
Shows milliseconds between last event and completion of screen update.
2016-08-24separate argument list from gfx_init; related API changesWerner Almesberger2-7/+3
2016-08-24remove global gfx state (pass context as argument)Werner Almesberger4-44/+46
2016-08-24gui/: cover entire thumbnail in yellow when highlighting in diff modeWerner Almesberger2-10/+48
Alas, the "clean" solution with alpha doesn't work for some reason. So we use some more pixel editing ...
2016-08-24gui/index.c (thumb_set_style): highlight changed sheets in diff modeWerner Almesberger1-0/+10
2016-08-24gui/index.c: show sheet name when hoveringWerner Almesberger2-6/+51
2016-08-24gui/over.c (overlay_draw_text): clipping shaved off rightmost pixelsWerner Almesberger1-1/+1
2016-08-24gui/index.c (index_resize): politely bow out if asked for impossible sizeWerner Almesberger1-3/+7