Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | memview: use 2d array for hex lookup | Jari Vetoniemi | 2019-03-01 |
| | |||
* | memview: s/|/||/ | Jari Vetoniemi | 2019-02-28 |
| | |||
* | memview: draw each row to end | Jari Vetoniemi | 2019-02-27 |
| | | | | | fixes bug where last row's char display may not get updated, if it's also last row that's displayed in the hex view widget. | ||
* | memview: missing newline in usage | Jari Vetoniemi | 2019-02-24 |
| | |||
* | Makefile: Change default CPP/CFLAGS | Jari Vetoniemi | 2019-02-24 |
| | | | | | | | -D_FORTIFY_SOURCE=2 and -O2 enables some useful diagnosis. Move WARNINGS into CFLAGS ?= assignment, as they are compiler specific. The default compilation flags assumes gcc, but can easily be changed by overriding CFLAGS and CPPFLAGS. | ||
* | memview: remove name_sz check | Jari Vetoniemi | 2019-02-24 |
| | | | | It's useless, snprintf is sane. Lets just accept the weird input. | ||
* | memview: NULL on empty input | Jari Vetoniemi | 2019-02-24 |
| | |||
* | memview: fix -/+ offset inputs | Jari Vetoniemi | 2018-10-24 |
| | |||
* | memview: Repaint bottom bar on hexview updates | Jari Vetoniemi | 2018-10-24 |
| | | | | | Since the bottom bar contains information about selected bytes, it must be redrawn | ||
* | memview: Make sure unmapped region always exists | Jari Vetoniemi | 2018-10-24 |
| | | | | | This region is fallback when going to unknown memory, it also allows the program to be used without valid regions. | ||
* | memview: u for basic undo | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: make q key quit the program | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: store unknown region in named array | Jari Vetoniemi | 2018-10-23 |
| | | | | This makes view referseshes work without special casing | ||
* | memview: Make it possible to follow selections | Jari Vetoniemi | 2018-10-23 |
| | | | | If you think selection is a address and want to go there, press 'f' | ||
* | memview: add memory write feature | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: check length of keybindings | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: make error prompts go away with any press | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: add decimal printing of selection | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: draw_error make sure there's space | Jari Vetoniemi | 2018-10-23 |
| | | | | Don't - cur.x if cur.x > screen width | ||
* | memview: Fix region names | Jari Vetoniemi | 2018-10-23 |
| | | | | The old way failed for spaces, this is much better anyways | ||
* | memview: Use FMT(REVERSE) for selections | Jari Vetoniemi | 2018-10-23 |
| | |||
* | memview: consistency in code | Jari Vetoniemi | 2018-10-23 |
| | | | | | Everything else uses "data" instead of "buffer" for array of bytes, so lets not make screen a exception. | ||
* | memview: Reuse input handling for input function | Jari Vetoniemi | 2018-10-23 |
| | | | | | | | | | Also better inputline in general. We are basically reimplementing getline here. There's lots of repeated patterns here we could split into nicer utiliteis, but lets clean later. I want a useful tool as first prioritory. | ||
* | memview: fix uninitialized variable | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: Make memview tolerate various term sizes | Jari Vetoniemi | 2018-10-22 |
| | | | | | Kinda ugly, maybe needs better solution sometime. But this is good enough for now. | ||
* | memview: handle errorneus offsets | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: fix some bugs in the input() | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: Don't use tab for region change | Jari Vetoniemi | 2018-10-22 |
| | | | | Use this later for changing to different views | ||
* | memview: Make it possible to jump to offset with o | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: Dont fallback on custom region file fail | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: create fake region if in unknown region | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: Handle all keys | Jari Vetoniemi | 2018-10-22 |
| | |||
* | memview: ^D quits | Jari Vetoniemi | 2018-10-22 |
| | |||
* | Add memview.c | Jari Vetoniemi | 2018-10-22 |