2020-03-25 08:06:38 +00:00
|
|
|
This document attempts to list user-visible changes and any major internal
|
2020-04-06 00:13:37 +00:00
|
|
|
rearrangements of Notcurses.
|
2020-03-25 08:06:38 +00:00
|
|
|
|
2020-04-27 01:25:23 +00:00
|
|
|
* 1.3.3 (2020-04-26)
|
2020-04-23 07:52:07 +00:00
|
|
|
* The `ncdplot` type has been added for plots based on `double`s rather than
|
|
|
|
`uint64_t`s. The `ncplot` type and all `ncplot_*` functions were renamed
|
|
|
|
`ncuplot` for symmetry.
|
2020-04-24 05:26:29 +00:00
|
|
|
* FFMpeg types are no longer leaked through the Notcurses API. `AVERROR`
|
|
|
|
is no longer applicable, and `ncvisual_decode()` no longer returns a
|
|
|
|
`struct AVframe*`. Instead, the `nc_err_e` enumeration has been introduced.
|
|
|
|
Functions which once accepted a value-result `AVERROR` now accept a value-
|
|
|
|
result `nc_err_e`. The relevant constants can be found in
|
|
|
|
`notcurses/ncerrs.h`.
|
2020-04-27 01:25:23 +00:00
|
|
|
* OpenImageIO 2.1+ is now supported as an experimental multimedia backend.
|
|
|
|
FFmpeg remains recommended. Video support with OIIO is spotty thus far.
|
2020-04-24 05:26:29 +00:00
|
|
|
* CMake no longer uses the `USE_FFMPEG` option. Instead, the `USE_MULTIMEDIA`
|
|
|
|
option can be defined as `ffmpeg`, `oiio`, or `none`. In `cmake-gui`, this
|
2020-04-25 19:52:23 +00:00
|
|
|
item will now appear as an option selector. `oiio` selects OpenImageIO.
|
2020-04-23 07:52:07 +00:00
|
|
|
|
2020-04-19 06:24:03 +00:00
|
|
|
* 1.3.2 (2020-04-19)
|
2020-04-18 11:11:33 +00:00
|
|
|
* `ncdirect_cursor_push()`, `notcurses_cursor_pop()`, and
|
|
|
|
`ncdirect_cursor_yx()` have been added. These are not supported on all
|
|
|
|
terminals. `ncdirect_cursor_yx()` ought be considered experimental; it
|
|
|
|
must read a response from the terminal, and this can interact poorly with
|
|
|
|
other uses of standard input.
|
2020-04-18 19:28:26 +00:00
|
|
|
* 1.3.1 unintentionally inverted the C++ `Notcurses::render()` wrapper's
|
|
|
|
return code. The previous semantics have been restored.
|
2020-04-18 11:11:33 +00:00
|
|
|
|
2020-04-18 04:35:15 +00:00
|
|
|
* 1.3.1 (2020-04-18)
|
2020-04-18 04:09:14 +00:00
|
|
|
* `ncplane_at_yx()` and `ncplane_at_cursor()` have been changed to return a
|
|
|
|
heap-allocated EGC, and write the attributes and channels to value-result
|
|
|
|
`uint32_t*` and `uint64_t*` parameters, instead of to a `cell*`. This
|
|
|
|
matches `notcurses_at_yx()`, and means they're no longer invalidated if the
|
|
|
|
plane in question is destroyed. The previous functionality is available as
|
|
|
|
new functions `ncplane_at_yx_cell()` and `ncplane_at_cursor_cell()`.
|
|
|
|
* `ncplane_set_base()` inverted its `uint32_t attrword` and `uint64_t channels`
|
|
|
|
parameters, thus matching every other function with these two parameters.
|
|
|
|
It moved `const char* egc` before either, to force a type error, as the
|
|
|
|
change would otherwise be likely to go overlooked.
|
2020-04-18 04:35:15 +00:00
|
|
|
* Scrolling is now completely implemented. When a plane has scrolling enabled
|
|
|
|
through use of `ncplane_set_scrolling(true)`, output past the end of the
|
|
|
|
last line will now result in the top line of the plane being lost, all
|
|
|
|
other lines moved up one, and the bottom line cleared.
|
2020-04-18 04:09:14 +00:00
|
|
|
|
|
|
|
* 1.3.0 (2020-04-12)
|
|
|
|
* No user-visible changes
|
|
|
|
|
|
|
|
* 1.2.9 (2020-04-11)
|
|
|
|
* No user-visible changes
|
|
|
|
|
|
|
|
* 1.2.8 (2020-04-10)
|
2020-04-11 16:39:31 +00:00
|
|
|
* `notcurses-tetris` now happily continues if it can't load its background.
|
|
|
|
|
2020-04-18 04:09:14 +00:00
|
|
|
* 1.2.7 (2020-04-10)
|
2020-04-10 15:22:26 +00:00
|
|
|
* Plots now always keep the most recent data to their far right (i.e., the
|
|
|
|
gap that is initially filled is on the left, rather than the right).
|
|
|
|
|
2020-04-18 04:09:14 +00:00
|
|
|
* 1.2.6 (2020-04-08)
|
2020-04-08 09:39:41 +00:00
|
|
|
* `ncplane_putsimple_yx()` and `ncplane_putstr_yx()` have been exported as
|
|
|
|
static inline functions.
|
2020-04-06 05:15:20 +00:00
|
|
|
* `ncplane_set_scrolling()` has been added, allowing control over whether a
|
2020-04-06 03:51:40 +00:00
|
|
|
plane scrolls. All planes, including the standard plane, do not scroll by
|
|
|
|
default. If scrolling is enabled, text output via the `*put*` family of
|
|
|
|
functions continues onto the next line when encountering the end of a row.
|
|
|
|
This does not apply to e.g. boxes or lines.
|
2020-04-06 05:15:20 +00:00
|
|
|
* `ncplane_putstr_yx()` now always returns the inverse of the number of
|
|
|
|
columns advanced on an error (it used to return the positive short count so
|
|
|
|
long as the error was due to plane geometry, not bad input).
|
2020-04-06 07:39:48 +00:00
|
|
|
* `ncplot_add_sample()` and `ncplot_set_sample()` have been changed to accept
|
|
|
|
a `uint64_t` rather than `int64_t`, since negative samples do not
|
|
|
|
currently make sense. Plots were made more accurate in general.
|
2020-04-08 09:39:41 +00:00
|
|
|
* `notcurses_term_dim_yx()` now accepts a `const struct notcurses*`.
|
|
|
|
* `notcurses_resize()` is no longer exported. It was never necessary to call
|
|
|
|
this in response to a resize, despite confusing documentation that could
|
|
|
|
have been read to suggest otherwise. If you're in a long block on input, and
|
|
|
|
get an `NCKEY_RESIZE`, just call `notcurses_refresh()` (which now calls
|
|
|
|
`notcurses_resize()` internally, as `notcurses_render()` always has).
|
2020-04-10 15:22:26 +00:00
|
|
|
* First Fedora packaging.
|
2020-04-06 00:13:37 +00:00
|
|
|
|
2020-04-18 04:09:14 +00:00
|
|
|
* 1.2.5 (2020-04-05)
|
2020-04-06 00:13:37 +00:00
|
|
|
* Add ncplot, with support for sliding-windowed horizontal histograms.
|
2020-04-06 05:15:20 +00:00
|
|
|
* gradient, polyfill, `ncplane_format()` and `ncplane_stain()` all now return
|
|
|
|
the number of cells written on success. Failure still sees -1 returned.
|
2020-04-06 00:13:37 +00:00
|
|
|
* `ncvisual_render()` now returns the number of cells emitted on success, as
|
2020-03-25 08:06:38 +00:00
|
|
|
opposed to 0. Failure still sees -1 returned.
|
2020-04-06 00:13:37 +00:00
|
|
|
* `ncvisual_render()` now interprets length parameters of -1 to mean "to the
|
2020-04-06 05:15:20 +00:00
|
|
|
end along this axis", and no longer interprets 0 to mean this. 0 now means
|
2020-03-25 08:06:38 +00:00
|
|
|
"a length of 0", resulting in a zero-area rendering.
|
2020-04-06 00:13:37 +00:00
|
|
|
* `notcurses_at_yx()` no longer accepts a `cell*` as its last parameter.
|
2020-04-06 05:15:20 +00:00
|
|
|
Instead, it accepts a `uint32_t*` and a `uint64_t*`, and writes the
|
|
|
|
attribute and channels to these parameters. This was done because the
|
|
|
|
`gcluster` field of the `cell*` was always set to 0, which was surprising
|
|
|
|
and a source of blunders. The EGC is returned via the `char*` return
|
|
|
|
value. https://github.com/dankamongmen/notcurses/issues/410
|
2020-03-25 08:06:38 +00:00
|
|
|
|
2020-04-18 04:09:14 +00:00
|
|
|
* 1.2.4 (2020-03-24)
|
2020-04-06 00:13:37 +00:00
|
|
|
* Add ncmultiselector
|
|
|
|
* Add `ncdirect_cursor_enable()` and `ncdirect_cursor_disable()`.
|