Commit Graph

2123 Commits

Author SHA1 Message Date
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
nick black
31cc26b893
xray demo: much simplification 2020-05-16 21:02:19 -04:00
nick black
25fee034cb
ncplot: print EGC before breaking on small glyph #605 2020-05-16 20:33:06 -04:00
nick black
532c1689a4
NEWS: stream API updates 2020-05-16 20:06:33 -04:00
nick black
fe3d6b31e2
ncmetric: print prefix with %lc #540 2020-05-16 19:50:32 -04:00
nick black
168ec1e71d
Update USAGE for streaming API changes #604 2020-05-16 19:47:59 -04:00
nick black
d1b5a39135 ncvisual_stream(): update python streamcb typedef 2020-05-16 19:42:07 -04:00
nick black
c824e1ac02 ncvisual_stream(): update OIIO implementation #604 2020-05-16 19:42:07 -04:00
nick black
289b018612 view-demo: cleanup, opaque 2020-05-16 19:42:07 -04:00
nick black
e751557936 debug(): stretch out headers/footers 2020-05-16 19:42:07 -04:00
nick black
e36a42bb24 xray demo: adapt to new streaming API 2020-05-16 19:42:07 -04:00
nick black
e9e4c55615 add ImTui to OTHERS.md 2020-05-16 19:42:07 -04:00
nick black
78e30831dd move timespec 2020-05-16 19:42:07 -04:00
nick black
61aa09eae0
ncplane_rgba(): properly set up alpha channel 2020-05-14 01:22:06 -04:00
nick black
2c73162c62
notcurses-view: %jd + intmax_t for 32-bit 2020-05-14 01:05:36 -04:00
nick black
2588baa7db
reel: correct wchar_t check for error on 32-bit 2020-05-14 01:01:17 -04:00
nick black
7d87f8aa20
demo: printf changes for 32-bit archs 2020-05-14 00:59:28 -04:00
nick black
33997d1f06
ncplane_dup: ensure we dup base cell #593 2020-05-13 23:59:12 -04:00
nick black
9ccbc99e9e
now in fedora core! 2020-05-13 14:56:09 -04:00
nick black
1c2f92b3bc
ncmetric: replace u with µ, define *COLUMNS #540 2020-05-13 10:50:42 -04:00
nick black
e3df2dca16
ncvisual_bounding_box(): always initialize lcol/rcol 2020-05-13 07:51:04 -04:00
nick black
4b642bc68d
require oiio 2.15.0+ to get infinite loop fix #547 2020-05-13 07:41:19 -04:00
nick black
5081ed048c
do an OIIO rotate() #559 2020-05-13 07:35:31 -04:00
Nick Black
216495ce8a
Fedora rawhide docker build (#602)
* run a fedora build
* fedora: dnf -y install for now
* dnf install ncurses-devl
2020-05-13 07:30:51 -04:00
nick black
1e9b4653d7
that's enough rotation for now 2020-05-13 05:33:30 -04:00
nick black
4d23b6c15e
normal: reenable ncvisual_from_plane() 2020-05-13 03:04:50 -04:00
nick black
b796668044
qrcode: center qrcode 2020-05-13 02:52:49 -04:00
nick black
7aa488f419
ncvisual_rotate: perfect rotate_bounding_box() #599 2020-05-13 02:30:08 -04:00
nick black
18ba212709
qrcode demo: use arc4rand() on freebsd #601 2020-05-13 01:42:09 -04:00
nick black
45db9c2ac7
ncvisual_bounding_box(): fix rcol calculation #599 2020-05-12 23:31:25 -04:00
Nick Black
f602c440a6
ncvisual_rotate() for arbitrary radians (#600)
* normal/visual: need dup stdplane for rotate
* add ncplane_center(), unit tests
* ncplane_center_abs(): add, unit tests
* ncvisual_bounding_box() for #599
* ncvisual_rotate(): works via bounding box #599
* normal demo: comment out broken section
* rotate: resize underlying plane as needed #599
* ncvisual_rotate: support negative rads #599
2020-05-12 22:57:28 -04:00
nick black
420ef740b1
drop geom.c prior to merge 2020-05-12 22:56:46 -04:00
nick black
9ce9d8f35b
python: wrapper for notcurses_canopen_videos() 2020-05-12 20:13:00 -04:00
nick black
9a80750316
notcurses_canopen: split into images/videos #598 2020-05-12 20:10:53 -04:00
nick black
999c6c0742
geometry unit tests: shut down nc in finalizer 2020-05-12 18:40:14 -04:00
nick black
99d05f67e7 add ncplane_center(), unit tests 2020-05-12 18:25:44 -04:00
nick black
219f6bdd27
ncvisual_rotate: move to arbitrary rads 2020-05-11 15:17:56 -04:00
nick black
ad22661560
python: update cffi signatures 2020-05-11 13:57:15 -04:00
nick black
0f5333f103
subtle ncplane bugfixes
ncplane_dup(): properly set target plane attributes/channels
ncplane_move_below_unsafe(): speedup, at most one traversal
ncplane_rgba(): accept null glyph
ncvisual_from_plane(): dup the plane, own it in ncvisual
normal: spin the visual
2020-05-11 12:35:59 -04:00
nick black
084bb721fa
we're now part of freebsd! 2020-05-11 12:30:53 -04:00
nick black
7d6434c63c
We're in FreeBSD! 2020-05-11 08:15:58 -04:00
nick black
37454602f6
whiteout, uniblocks: explicitly skip if not UTF8 2020-05-11 06:07:01 -04:00
nick black
0bab14f654 tester: enable Visual tests #325 2020-05-11 05:59:55 -04:00
nick black
26a68096c8 blitter: work in ASCII encoding 2020-05-11 05:59:55 -04:00
nick black
d9bb9b03af notcurses-tester: run passing tests in C locale #325 2020-05-11 05:59:55 -04:00
nick black
7dae248a41 box demo: work in ASCII encoding #325 2020-05-11 05:59:55 -04:00