summaryrefslogtreecommitdiff
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-30README, help.txt: document "V" for commit viewerWerner Almesberger2-0/+2
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 Almesberger4-6/+8
2016-10-30gui/: "v" opens a viewer window for commit messages (WIP)Werner Almesberger4-2/+64
2016-10-30file/git-hist.h, git-hist.c (vcs_git_summary, ...): make vcs_hist "const"Werner Almesberger2-6/+6
2016-10-30file/git-hist.c (vcs_git_long_for_pango): use author information, not committerWerner Almesberger1-4/+2
2016-10-30gui/help.c: general viewer windowWerner Almesberger1-69/+12
2016-10-30gui/view.c, view.h, Makefile: generalized handling of viewer windowsWerner Almesberger3-1/+159
2016-10-30gui/help.c, help.html, Makefile, README: remove WebKit supportWerner Almesberger4-107/+1
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-29file/: implement caching version of git_repository_open_ext for libgit2 < 0.22Werner Almesberger4-3/+41
In version 0.22, this was added: Share open packfiles across repositories to share descriptors and mmaps Unfortunately, some people are unable to upgrade to modern libraries. Without FD sharing, eeshow may run out of file descriptors when loading large repositories. This commit adds a cache to reduce the number of times a repository is opened, which may in turn reduce the number of open files.
2016-10-29main.h (usage): add __attribute__((noreturn))Werner Almesberger1-1/+1
This way, older versions of gcc will not complain about eetest's "main" ending with a call to "usage".
2016-10-28file/git-file.c: add cache for remembering commits we've already visitedWerner Almesberger1-6/+49
This brings the time for eeplot -d "%s" HEAD:neo900.pro -o neo900.pdf down from 100 s to about 1.2 s, only slightly longer than the 0.75 s plotting takes without date processing.
2016-10-28README: document sheet date overridingWerner Almesberger1-0/+48
2016-10-28kicad/pl-render.c (format_date): fix handling of %} in argumentWerner Almesberger1-7/+7
2016-10-28gui/clipboard.h: also forgot to commit (again reported by Martin Borgert)Werner Almesberger1-0/+18
2016-10-28file/git-file.c (vcs_git_time): only retrieve time if we may use it (HACK)Werner Almesberger2-1/+16
Rough performance comparison: eeplot HEAD:neo900.pro -o neo900.pdf Without -d 0.750 s -d "%s", search until blob no longer in tree 1.40 min (x 112) -d "%s", search to bottom 21 min (x 15)
2016-10-28file/git-file.c (recurse_time): search entire tree, not only top levelWerner Almesberger1-3/+19
2016-10-28kicad/pl-render.c: new date formats %s (sheet date) and %S (max sheet date)Werner Almesberger1-5/+26
2016-10-28kicad/sch.h, sch-parse.c: keep the file's mtime also in "struct sheet"Werner Almesberger2-0/+5
2016-10-28file/git-file.c (vcs_git_time): getting the right date is a little harder ...Werner Almesberger1-1/+49
First, we should be using the author ("content") date, not the commit ("envelope") date: http://stackoverflow.com/questions/11856983/why-git-authordate-is-different-from-commitdate Second, the date of the commit where we picked up the file doesn't seem to be very relevant. What we're really interested in is when the file last changed. For this, we need to perform an expensive search.
2016-10-28file/git-file.c (related_same_repo, related_only_repo): copy commit, tooWerner Almesberger1-0/+2
Else, we'll have an undefined vcs_git->commit, and crash.
2016-10-28kicad/pl-render.c: complex date formatting (for eeplot -d, WIP)Werner Almesberger1-1/+109
2016-10-28gui/clipboard.c: forgot to commit (reported by Martin Borgert)Werner Almesberger1-0/+57
2016-10-28kicad/pl-render.c (expand): don't try to free string literalWerner Almesberger1-1/+1
2016-10-28file/: retrieve file mtime or commit timeWerner Almesberger4-17/+53
2016-10-28kicad/pl-render.c: add section commentsWerner Almesberger1-0/+9
2016-10-26gfx/pdftoc.c, test/README, web/index.html: update repo URLs (cgit transition)Werner Almesberger3-6/+6
2016-10-25main/eeplot.c (main, usage): option "-d date" to override sheet dateWerner Almesberger1-2/+7
2016-10-25kicad/pl.h, pl-render.c (date_override): option override for sheet dateWerner Almesberger2-1/+4
2016-10-25web/cp.png: include generated image (command-line tools make a mess)Werner Almesberger2-2/+10
Generating cp.png from cp.xcf isn't all that easy - both ImageMagic and xcf2png fail to produce the correct result.
2016-10-25web/index.html, wt-cp.fig, Makefile: add description of copy & pasteWerner Almesberger3-1/+56
2016-10-24web/cp.xcf: combine copy & paste screenshots into single imageWerner Almesberger1-0/+0
2016-10-24web/cp-comp-ref.png, cp-glabel.png, cp-text.png: screenshots for copy & pasteWerner Almesberger3-0/+0
2016-10-22gui/sheet.c: highlight text (block) being selectedWerner Almesberger1-2/+28
2016-10-22gfx/record.c (record_find_text_bbox), record.h: find text, return bounding boxWerner Almesberger2-6/+16
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 Almesberger3-2/+5
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-18gfx/record.c (record_find_text): lookup text by positionWerner Almesberger2-0/+27
2016-10-18gfx/record.c: record bounding box of text (for future use)Werner Almesberger1-6/+13
2016-10-18gfx/record.h, record.c: put bounding box in its own structWerner Almesberger2-34/+45
2016-10-18web/index.html: add table of contents, with linksWerner Almesberger1-0/+15
2016-10-18web/: add documentation viewing exampleWerner Almesberger4-1/+44
2016-10-18main/eeshow.c (usage): mark -d as experimentalWerner Almesberger1-1/+1