aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix: save correct frequency and count variables.Kaz Kylheku2022-05-151-4/+4
|
* Fix regression: :E and :B commands not recognized.Kaz Kylheku2022-05-152-3/+8
|
* Remove superfluous string truncation.Kaz Kylheku2022-05-141-2/+0
| | | | drawstatus clips to the number of columns.
* Tighten the command syntax.Kaz Kylheku2022-05-132-14/+40
| | | | | | | | | | Commands are now separated from their argument by exactly one space, which may only be omitted for an argument which does not begin with a letter. Thus :gfoo no longer pushes a regular expression foo onto the grep stack, but is the unrecognized command gfoo. The command :g foo specifies the regular expression " foo".
* Remove stray clrline call from execute.Kaz Kylheku2022-05-131-2/+0
|
* When cmdbuf used for result, set cursor position to EOL.Kaz Kylheku2022-05-131-8/+10
|
* Much better editing.Kaz Kylheku2022-05-133-25/+109
|
* bugfix: snapshots not taken in background.Kaz Kylheku2022-05-131-1/+1
|
* New feature: highlight differences between snapshots.Kaz Kylheku2022-05-132-13/+104
|
* Preparation for diff-showing feature.Kaz Kylheku2022-05-131-30/+44
|
* drawline: move integer index pos, not line pointer.Kaz Kylheku2022-05-131-7/+7
|
* Expand tabs to spaces, with configurable tab size.Kaz Kylheku2022-05-132-20/+64
|
* Bugfix: getln doesn't substitute control chars.Kaz Kylheku2022-05-131-1/+1
| | | | | | The getln function is used for reading configuration; we don't want control characters in the configuration to be replaced with printable characters.
* :p command resets any parameters not specified.Kaz Kylheku2022-05-112-2/+5
|
* Resizing: fix leaks, use-after-free.Kaz Kylheku2022-05-091-14/+15
|
* Add optional freeing code for leak debugging.Kaz Kylheku2022-05-091-0/+18
|
* Use resizebuf instead of realloc.Kaz Kylheku2022-05-091-1/+1
|
* Avoid unnecessary realloc in resizebuf.Kaz Kylheku2022-05-091-4/+5
|
* Use grclean instead of regfree and dsdrop.Kaz Kylheku2022-05-091-3/+1
|
* New :p command; :s saves display params too.Kaz Kylheku2022-05-082-6/+23
|
* Move decoding of -p params into function.Kaz Kylheku2022-05-081-37/+46
|
* Ctrl-G shows a few flags also, and -p restores them.Kaz Kylheku2022-05-082-9/+30
|
* New :s option to save the state.Kaz Kylheku2022-05-082-0/+78
|
* Implement -f option: commands from file.Kaz Kylheku2022-05-082-2/+62
|
* Move batch command execution into function.Kaz Kylheku2022-05-081-14/+23
|
* New video: split screen demo.Kaz Kylheku2022-05-071-0/+4
|
* New -e option to execute commands.Kaz Kylheku2022-05-072-6/+52
| | | | Now there is a way to set up triggers prior to execution.
* Move trigger setting into execute function.Kaz Kylheku2022-05-071-99/+99
|
* Main loop vars: indentation fix.Kaz Kylheku2022-05-071-2/+2
|
* Change execute function's interface.Kaz Kylheku2022-05-071-40/+57
|
* New feature: trigger frequency and snapshot count.Kaz Kylheku2022-05-072-11/+103
|
* Use hex constants for status flags.Kaz Kylheku2022-05-071-11/+11
|
* Bugfix: getznn must allow zero.Kaz Kylheku2022-05-071-1/+1
|
* Algebraic adjustment in inequality.Kaz Kylheku2022-05-061-1/+1
|
* Minor tweak to middle pane behavior.Kaz Kylheku2022-05-061-1/+1
| | | | | | | | | | As a middle pane is being freshly opened, the right vertical separator should just "wipe" over the display contents without the middle pane material appearing to shift right by one character position. So when we draw the separating pipe, we should claim that as a character, rather than subtracting from the width. The "oline + vs2pos + i" calculation already works with the possibility of i being incremented; I had experimented with this earlier.
* Implement . (period) command for repeating commands.Kaz Kylheku2022-05-062-3/+33
|
* Convert almost all remaining unsigned int.Kaz Kylheku2022-05-061-28/+27
|
* Fix work overflow. Also increase max workbout to 4096.Kaz Kylheku2022-05-061-2/+6
|
* Fix lagging redraw upon resume from background.Kaz Kylheku2022-05-061-1/+1
| | | | This was a regression in this morning's refactoring.
* Show display params with Ctrl-G; restore with -p option.Kaz Kylheku2022-05-062-4/+89
|
* Result messages persist until key hit.Kaz Kylheku2022-05-061-1/+3
|
* Clip vertical splits correctly when line numbers turned on.Kaz Kylheku2022-05-061-9/+20
|
* Left and right separator indistinguishable when alone.Kaz Kylheku2022-05-061-6/+6
| | | | | | | | | Finally, this is the "right" UI. If either ] or > is used by itself, it looks exactly the same. The middle pane created by ] simulates the left pane exactly. The end markers on the right edge of the middle pane are intelligently omitted, similarly to the right edge of the left pane. Very pleased.
* Draw left bars even when there is no left pane.Kaz Kylheku2022-05-061-2/+4
| | | | | | | | | | | If there is no left pane, but the middle pane is not showing the beginning of the line (vs2pos is not zero), we need to show the bars to indicate that that is not the start of the line. Otherwise the middle pane looks deceptively as if it were the left pane. In the (vs2pos == 0) case, it doesn't matter; the middle pane shows a prefix, and so is semantically similar to the left pane.
* Removal of dubious addch(line, 0) caused crash.Kaz Kylheku2022-05-061-0/+8
| | | | It was a hack to make sure an object is allocated for a null line.
* New { } commands to reposition middle pane origin.Kaz Kylheku2022-05-062-0/+26
|
* Limit scrolling to max line length, not arbitrary 10000.Kaz Kylheku2022-05-061-1/+1
|
* Remove dubious addch(line, 0) and compensating hack elsewhere.Kaz Kylheku2022-05-061-2/+1
|
* The [ ], < > commands take count.Kaz Kylheku2022-05-062-33/+37
|
* Nuke most unsigned int.Kaz Kylheku2022-05-061-23/+22
|