nick black
4ab0e67155
tetris: rely on c++ exceptions #621
2020-05-21 17:37:39 -04:00
nick black
7af027b895
ncpp unit tests: check get_instance exception #538
2020-05-20 18:36:25 -04:00
nick black
f120ab883f
tests: collapse RGB conversions into one TEST_CASE
2020-05-20 18:35:47 -04:00
nick black
07e894c40c
v1.4.2.4
2020-05-20 15:38:23 -04:00
nick black
37a4114f42
O(1) z-axis moves #623
...
Replace the singly-linked z-axis with a doubly-linked list,
and reimplement all z-axis moves as O(1) functions.
Eliminate ncplane_move_{above/below}_unsafe(), as there are no
longer unsafe moves.
2020-05-20 15:32:27 -04:00
nick black
a288c2e654
document all build options
2020-05-20 13:22:43 -04:00
nick black
0d696be0cc
ncpp: normalize Notcurses capitalization
2020-05-20 00:15:38 -04:00
nick black
297263b39b
Add a new C++ section to USAGE.md
2020-05-19 23:25:10 -04:00
nick black
c3bc4bb7f2
CMake: first stab at llvm-cov #620
2020-05-19 23:12:27 -04:00
nick black
2edb7fe690
handle clang11 -Wc99-designator
2020-05-19 23:01:48 -04:00
nick black
3119a87801
init_banner(): need use stdio directly for styling
2020-05-19 22:53:06 -04:00
nick black
99bd3fd597
recenter post-rotation in normal demo #617
2020-05-19 19:39:16 -04:00
nick black
bcdf513e31
direct poc: exit out on bad ncdirect_cursor_up()
2020-05-19 09:08:10 -04:00
nick black
e5b1c2cdea
view/demo/tetris: NCOPTION_INHIBIT_SETLOCALE
2020-05-19 08:52:36 -04:00
nick black
818ec25778
notcurses_stop: call del_curterm, plug memory leak
2020-05-19 08:51:09 -04:00
nick black
7f2888269f
all PoCs: use NCOPTION_INHIBIT_SETLOCALE
2020-05-19 08:44:39 -04:00
nick black
381263e9fe
Unify interrogate_terminfo() #614
2020-05-19 07:32:26 -04:00
nick black
30412d54ce
ncreel: fix up rendering, reel display #618
2020-05-19 07:02:25 -04:00
nick black
8ff3402166
move terminfo cache into its own shared struct #614
2020-05-19 05:49:49 -04:00
nick black
bd4d4ef321
import init_banner() outfactoring
2020-05-19 04:02:34 -04:00
nick black
390dc208ba
freebsd: use read_random()
2020-05-19 03:37:26 -04:00
nick black
8f78a8fdc0
fade tests: don't use CLOCK_MONOTONIC_RAW
2020-05-19 03:32:09 -04:00
nick black
08190060e8
notcurses.3: update link to unicode chart
2020-05-19 02:02:02 -04:00
nick black
321908d824
ncplane_vprintf_prep(): remove dumb comment #612
2020-05-18 14:57:20 -04:00
nick black
5537692bd1
cells_rounded_box() is now exported
2020-05-17 10:36:20 -04:00
nick black
e80ac4ddb9
normal demo: work with odd number of columns :/
2020-05-17 10:26:48 -04:00
nick black
bad0ea9127
normal demo: reset underlying plane
2020-05-17 10:13:14 -04:00
nick black
99990e9a92
sigh, rust
2020-05-17 09:23:56 -04:00
nick black
32d3ae91c8
v1.4.2.3
2020-05-17 09:01:53 -04:00
nick black
3e4e16f516
sign tags in release.sh
2020-05-17 08:12:26 -04:00
nick black
e132c6bb24
v1.4.2.2
2020-05-17 08:11:48 -04:00
nick black
3a7ee4b757
direct mode unit tests: allow init failure
2020-05-17 08:07:25 -04:00
nick black
49fb03655e
v1.4.2.1
2020-05-17 07:59:04 -04:00
nick black
6edc6f098f
streamline unit test common initialization
2020-05-17 07:57:21 -04:00
nick black
e2a9094ed0
notcurses_init(): drop_signals on error path
2020-05-17 07:57:04 -04:00
nick black
38e67abd9d
v1.4.2
2020-05-17 07:29:10 -04:00
nick black
dcaf29323c
plane_rotate: fix unit tests
2020-05-17 07:23:16 -04:00
nick black
d37a3934d1
normal-demo: get a nice scroll-opening
2020-05-17 07:17:32 -04:00
nick black
1337091c46
normal demo: get it mostly working
2020-05-17 06:06:10 -04:00
nick black
bc7b58c5df
ncvisual_from_plane(): apply vertical scaling
2020-05-17 05:36:07 -04:00
nick black
8ec5388448
normal demo: use demodelay
2020-05-17 05:00:53 -04:00
nick black
30f049d2e6
metric: don't allow scales that cause overflow #611
2020-05-17 04:16:02 -04:00
nick black
c01d0b227f
ncmetric unit tests for small values #607
2020-05-17 03:27:25 -04:00
nick black
0688b95c01
metric: properly print usuffix on small values
2020-05-17 03:10:17 -04:00
nick black
b7a9b11f0c
test::reset_terminal(): properly check tigetstr()
2020-05-17 03:09:50 -04:00
nick black
eb72a4612d
qprefix/bprefix: use uintmax_t for decimal
2020-05-17 02:14:27 -04:00
nick black
3b9232217e
rotation: comment out some debugging cruft
2020-05-17 01:29:13 -04:00
nick black
e1c55041c7
mention mouse/margin translation in NEWS
2020-05-17 00:01:51 -04:00
nick black
a6629e2ae8
handle_csi: translate mouse coordinates by margins #609
2020-05-16 23:59:40 -04:00
nick black
84c51d9bde
perfect exponential plots #606
...
Previously, we had the first interval top out at 1.0. This made
clean mathematical sense, but it meant that we wasted the lowest
|states - 1| representations. We now top out at ibase**(states - 1).
The very bottom representation tops out at 1, meaning that any data
is always distinguishable from no data. We no longer explicitly
print spaces (aka the zeroth state for each glyph clade), so that
we can exhibit more transparency. Properly account for miny at
all times. Slots in an exponential plot are now exponential
throughout; before, it was exponential across rows, and linear
within a row.
2020-05-16 23:30:07 -04:00