Werner Almesberger
|
24422a7721
|
eeshow/gui.c: show either revisions or history, never both at the same time
Also move the revisions to the left edge, to ease navigation.
|
2016-08-07 21:47:50 -03:00 |
|
Werner Almesberger
|
aeedab62f7
|
eeshow/git-file.c (canonical_path_into_repo): really catch divergent paths
|
2016-08-07 16:13:28 -03:00 |
|
Werner Almesberger
|
43542d6504
|
eeshow/diff.c (differences): clean up pixel processing
|
2016-08-07 16:03:56 -03:00 |
|
Werner Almesberger
|
3b8b8a20d2
|
eeshow/lib-parse.c (parse_def): don't break free'ing the component name
|
2016-08-07 16:03:13 -03:00 |
|
Werner Almesberger
|
9c988e2d7e
|
eeshow/delta.c: compare components object by object
|
2016-08-07 14:31:38 -03:00 |
|
Werner Almesberger
|
f40f012a1e
|
eeshow/: add color overriding; basic infrastructure for viewing deltas
|
2016-08-07 14:06:50 -03:00 |
|
Werner Almesberger
|
ba62fc4fc4
|
eeshow/delta.c: very coarse structural deltas (WIP)
|
2016-08-07 14:05:57 -03:00 |
|
Werner Almesberger
|
4418741fc6
|
eeshow/style.h, style.c: add Green, Red, Green2, Green3, and a user light grey
|
2016-08-07 14:05:31 -03:00 |
|
Werner Almesberger
|
d953345397
|
eeshow/cro.h, cro.c: add color override
|
2016-08-07 08:13:16 -03:00 |
|
Werner Almesberger
|
c2c58f6892
|
eeshow/: selection of 2nd history entry (for comparisons, WIP)
|
2016-08-07 07:51:56 -03:00 |
|
Werner Almesberger
|
15deee6955
|
eeshow/gui-over.c: more structured approach to composing styles
|
2016-08-07 06:24:10 -03:00 |
|
Werner Almesberger
|
cb7902fcb2
|
eeshow/gui.c (struct gui_ctx.vcs_overlays): rename to hist_overlays
We use "hist" everywhere else to refer to the history in the GUI context.
|
2016-08-07 06:23:04 -03:00 |
|
Werner Almesberger
|
bd7149ba0b
|
eeshow/gui.c (setup_styles): present history "ragged right"
|
2016-08-07 06:16:41 -03:00 |
|
Werner Almesberger
|
56e36b7e9d
|
eeshow/: move sheet overlays to right screen edge; move history left
|
2016-08-07 06:13:26 -03:00 |
|
Werner Almesberger
|
c908e4de0e
|
eeshow/gui.c: show details also on hover in history list
|
2016-08-07 05:22:55 -03:00 |
|
Werner Almesberger
|
3c71bf7b05
|
eeshow/: hovering over the revision shows more details
|
2016-08-07 05:09:34 -03:00 |
|
Werner Almesberger
|
cb4ee6d5b9
|
eeshow/: work around the ink_rect.y bug more elegantly
Still have no clue what causes this.
|
2016-08-06 23:02:42 -03:00 |
|
Werner Almesberger
|
51f6852bf9
|
eeshow/: overlays can now have different styles (WIP)
|
2016-08-06 20:46:03 -03:00 |
|
Werner Almesberger
|
18c3b6e476
|
eeshow/: use printf-style formatting for overlay text; test mode -F fmt string
|
2016-08-06 19:14:31 -03:00 |
|
Werner Almesberger
|
45726be08f
|
eeshow/gui-over.c (overlay_draw): use Pango
|
2016-08-06 13:38:13 -03:00 |
|
Werner Almesberger
|
3b5daecbd6
|
eeshow/gui.c (go_to_sheet): don't "render" (record) sheets before shown
|
2016-08-06 10:19:16 -03:00 |
|
Werner Almesberger
|
acbce9a214
|
eeshow/gui.c: add navigation in history
|
2016-08-06 10:00:29 -03:00 |
|
Werner Almesberger
|
b067cf9a38
|
eeshow/gui.c: parse sheets for each revision
We currenly make no effort to avoid duplicate work, so this is slow.
Also, we don't actually do anything with the revision information, yet.
|
2016-08-06 09:27:22 -03:00 |
|
Werner Almesberger
|
8fb867105c
|
eeshow/git-hist.c (vcs_git_get_rev), git-hist.h: revision string from history
|
2016-08-06 01:18:43 -03:00 |
|
Werner Almesberger
|
a58bc93d69
|
eeshow/: more error returns in file functions; file_open_revision
file_open_revision is for opening files based on the revision history.
|
2016-08-06 01:15:49 -03:00 |
|
Werner Almesberger
|
ce5111ae07
|
eeshow/gui.c (gui): quit if we couldn't parse (and don't segfault)
|
2016-08-05 21:28:45 -03:00 |
|
Werner Almesberger
|
fffa29bbb3
|
eeshow/main.c (usage): update to show GUI invocation
|
2016-08-05 21:19:56 -03:00 |
|
Werner Almesberger
|
21c9a6e1aa
|
eeshow/Makefile (test, testref): must use -- fig for FIG output
Anything without -- goes to the GUI (except for development options like
-C and -H).
|
2016-08-05 21:17:50 -03:00 |
|
Werner Almesberger
|
e949130daf
|
eeshow/main.c (main): gtk_init removes --, so only call it if we have none
|
2016-08-05 21:14:26 -03:00 |
|
Werner Almesberger
|
f4944a5da9
|
eeshow/ (file_open, *_parse): return 0 on error (may still exit)
|
2016-08-05 21:02:57 -03:00 |
|
Werner Almesberger
|
dfebad4e6a
|
eeshow/ (file_read, vcs_git_read): now pass 0 return from parse()
|
2016-08-05 20:42:42 -03:00 |
|
Werner Almesberger
|
e5f010797d
|
eeshow/sch-parse.c (parse_line): no longer use return code 0 for EOF
We'll soon use it to indicate a parsing problem.
|
2016-08-05 20:41:35 -03:00 |
|
Werner Almesberger
|
59b7946a5f
|
eeshow/lib-parse.c (lib_free): add cleanup of component data
|
2016-08-05 20:34:15 -03:00 |
|
Werner Almesberger
|
c54bf3de06
|
eeshow/sch-parse.c (sch_free): add cleanup of schematics data
|
2016-08-05 20:25:58 -03:00 |
|
Werner Almesberger
|
5f0678097f
|
eeshow/gui.c: get only list of file names from main, parse on its own
|
2016-08-05 10:24:39 -03:00 |
|
Werner Almesberger
|
ba95c01249
|
eeshow/: detect if repo is dirty and add history entry with commit = NULL
|
2016-08-05 09:24:56 -03:00 |
|
Werner Almesberger
|
7dc1211cfd
|
eeshow/git-util.c, git-util.h: new place for things like git_*init*
|
2016-08-05 08:57:44 -03:00 |
|
Werner Almesberger
|
3eaf4567fa
|
eeshow/git-hist.c (vcs_git_try): ignore repo if empty or corrupted
|
2016-08-05 08:41:33 -03:00 |
|
Werner Almesberger
|
dc2b477cf8
|
eeshow/gui.c: show commit on sheet (if available); click to go to history
|
2016-08-05 08:31:50 -03:00 |
|
Werner Almesberger
|
17e70172bf
|
eeshow/: if sheet is in repo, retrieve history, display in GUI on Up/Down (WIP)
This isn't useful yet.
|
2016-08-04 20:35:41 -03:00 |
|
Werner Almesberger
|
17360f7ddd
|
eeshow/git-file.c (vcs_git_init): common initialization
|
2016-08-04 19:40:29 -03:00 |
|
Werner Almesberger
|
1c6116a8d6
|
eeshow/: fix some whitespace issues
- trailing space
- space before semicolon
- indentation with spaces instead of tabs (copy & paste)
|
2016-08-04 19:25:31 -03:00 |
|
Werner Almesberger
|
e18c146323
|
eeshow/: option -H path_into_repo to list branched history of repository
|
2016-08-04 16:45:48 -03:00 |
|
Werner Almesberger
|
9564707f83
|
eeshow/DEMO: add libgtk-3-dev dependency; add GUI invocation
|
2016-08-04 10:11:47 -03:00 |
|
Werner Almesberger
|
55cf36b609
|
eeshow/git-file.c (related_other_repo): mark warning as such; fix typo
|
2016-08-04 10:10:53 -03:00 |
|
Werner Almesberger
|
8abea1b890
|
eeshow/gui.c, README: PgUp/PgDn iterate through sheets in sequence
|
2016-08-04 09:02:33 -03:00 |
|
Werner Almesberger
|
ff17f0e492
|
eeshow/gui.c: replace ugly and fragile "prev" logic with a simple search
|
2016-08-04 08:49:54 -03:00 |
|
Werner Almesberger
|
258876ef2c
|
eeshow/: retrieve title from *.sch; prefer over subsheet name when displaying
|
2016-08-04 08:42:36 -03:00 |
|
Werner Almesberger
|
1057f2640b
|
eeshow/README, COPYING.GPLv2
|
2016-08-04 08:11:36 -03:00 |
|
Werner Almesberger
|
064a561285
|
eeshow/: add AOI to overlays; clicking on sheet name returns to previous sheet
|
2016-08-04 07:55:42 -03:00 |
|