Commit Graph

4254 Commits

Author SHA1 Message Date
nick black
602531ff33 include warn_unused_result in ALLOC 2021-02-10 04:29:06 -05:00
nick black
1b61786694 apply ((alloc)) attributes to API 2021-02-10 04:29:06 -05:00
nick black
be4a9154a8
v2.2.1 2021-02-09 19:34:03 -05:00
nick black
c6c137d688
ncplayer.1: describe -q option completely 2021-02-09 18:50:20 -05:00
nick black
898f34f924
ncplayer: suppress banners when given 'q' #1342 2021-02-09 18:46:21 -05:00
nick black
3e39b6c0a3
shit! properly initialize tcache->utf8 in direct mode 2021-02-09 18:39:37 -05:00
nick black
23c6b13ecf release.sh: fix up remaining context-free regexes #1340 2021-02-08 21:28:33 -05:00
nick black
3dd543d72b release.sh: make most regexes context-sensitive #1340 2021-02-08 21:28:33 -05:00
joeyt
aa02cf855a fix some dank typos
Looks like the release process used a regex(?) to replace that included some
unintended targets.  Microsoft link broke in 2.2.0; CELL_ALPHA_TRANSPARENT
continually replaced since 2.0.1.
2021-02-08 18:07:48 -05:00
nick black
d09152ca00
no sysctl.h on hurd 2021-02-08 12:07:32 -05:00
nick black
3cdf7160de
v2.2.0 2021-02-08 09:35:34 -05:00
Marek Habersack
d32bef358d [C++] API sync
After a long delay, apologies :)

Added:
  * NotCurses: `can_sextant` (`notcurses_cansextant`)
  * Notcurses: `linesigs_enable` (`notcurses_linesigs_enable`)
  * Notcurses: `linesigs_disable` (`notcurses_linesigs_disable`)
  * Pile: `top_with` (`ncpile_top`)
  * Pile: `bottom_with` (`ncpile_bottom`)
  * Plane: `resize_maximize` (`ncplane_resize_maximize`)
  * Plane: `get_abs_x` (`ncplane_abs_x`)
  * Plane: `get_abs_y` (`ncplane_abs_y`)
  * Plane: `get_abs_yx` (`ncplane_abs_yx`)
  * Plane: `load_egc32` (`cell_load_egc32`)
  * Plane: `is_descendant_of` (`ncplane_descendant_p`)
  * Progbar: new class, wraps `ncprogbar_*`

Changed:
  * Plane (ABI break): `at_cursor` overloads now return `int` where
    before they returned `bool` because the underlying Notcurses API
    only signalled the operation status with the return value while now
    it returns actual information.
2021-02-07 23:10:24 -05:00
nick black
15d5c48d93
notcurses_stop: position cursor at bottom-left without alternate screen #1337 2021-02-07 23:07:27 -05:00
nick black
8b3c0478c5
ncplayer: show correct blitter string #1336 2021-02-07 22:44:46 -05:00
nick black
cff8767de7
notcurses_visual.3: fix up markdown syntax 2021-02-07 22:10:41 -05:00
nick black
f6c12aedae
mojibake: add a few unicode 13.1 emoji 2021-02-07 21:39:24 -05:00
nick black
fb11bbce6f
update unicode emoji link to 13.1 2021-02-07 21:29:44 -05:00
nick black
18133cb661
handle_input: add comment regarding getc vs read 2021-02-07 21:07:23 -05:00
nick black
9c9f786dd2
move ttyinfp to fd, getc to read #1314 2021-02-07 20:58:51 -05:00
nick black
38e9051888
move tests to src/tests 2021-02-07 20:52:20 -05:00
nick black
a100f6d13a
plot tests: guard with notcurses_canbraille() 2021-02-07 18:41:18 -05:00
nick black
6b126f4049
add notcurses_canbraille() capability test 2021-02-07 18:31:31 -05:00
nick black
7e4e3b71f8
lookup_blitset: ascii check comes at the end 2021-02-07 18:12:56 -05:00
nick black
c64de96cbf
lookup_blitset: degrade from braille smoothly #1334 2021-02-07 18:09:46 -05:00
nick black
4d74d23fc6
apply_term_heuristics: no braille on linux console #1334 2021-02-07 18:08:57 -05:00
nick black
833f1b13bf
rgba_blitter_default: just take tcache #1334 2021-02-07 17:36:44 -05:00
nick black
568e83e4f6
blitting: place utf8 in tcache #1334 2021-02-06 21:36:41 -05:00
nick black
fdd1785ff0
TERMINALS.md: mention linux console font reprogramming 2021-02-06 14:05:49 -05:00
nick black
874a1fcdbe
remove bogon and confusing FAQ entry 2021-02-06 13:57:15 -05:00
nick black
9a77f843a9
fundamental theorem of notcurses 2021-02-06 13:52:59 -05:00
nick black
a15141f16e
README: fold up unnecessary list 2021-02-06 13:49:41 -05:00
nick black
2cd8b9d82e
Further reduction of our gigantic README
Extract Curses differences and adaptation sections, and
move them to doc/CURSES.md. Reference this new document
in README.md. We now have sufficiently few sections that
we can dispense with the ToC. Do so.
2021-02-06 13:45:27 -05:00
nick black
c784eb660d
paint(): tighten up comment 2021-02-05 03:07:51 -05:00
nick black
db7281ae54
PoC ncwidth: do a wcswidth() verify pass #1329 2021-02-05 02:59:01 -05:00
nick black
07db12f5e0
keller: always use white for text #1331 2021-02-05 02:44:55 -05:00
nick black
8b4c5fdeb9
cell_load: ingest pool_load() 2021-02-05 02:30:52 -05:00
nick black
e8f03235eb
pool_blit_direct: set width rather than in pool_load_direct 2021-02-05 02:30:38 -05:00
nick black
38ec72f4f2
triablitter: use pool_blit_direct() 2021-02-05 02:30:13 -05:00
nick black
b4d80ebfaf
term_putc: remove iscntrl check #1316 2021-02-05 02:29:43 -05:00
nick black
d66042306f
pool_load_direct(): don't check for full block
We used to set all four quadrant bits if a full block
came through pool_direct_load(). Since users of this
function are going to be explicitly setting the quadrant
bits themselves immediately after this call, there's no
point (except for manual writes of full blocks, but those
ought be uncommon enough not to tip the scales the other
way -- this optimization was directed at blitters).
About a 5% speedup in notcurses-demo. Originates in #1316.
2021-02-05 01:03:05 -05:00
nick black
02c57186b4
Stacking tests: remove cruft, this works now #1318 2021-02-04 23:52:05 -05:00
nick black
56686348d7
more README.md trimming 2021-02-04 23:37:30 -05:00
nick black
dc436ec026
reorganize documentation, trim README.md 2021-02-04 23:33:24 -05:00
nick black
8d4a8b5d62
[PoCs] rename wcwidth -> ncwidth for less ambiguity 2021-02-04 21:25:07 -05:00
nick black
4e8f857be0 use entirely delegated initializers in tests/ 2021-02-03 17:17:39 -03:00
nick black
aa3cbda9a4
blitterstack: must set all 4 bits on full form #1322 2021-02-03 12:28:54 -05:00
nick black
c35c87ba75
FAQs: add Q about COLORTERM and ssh 2021-02-03 08:58:12 -05:00
nick black
54ca2249df
v2.1.8 2021-02-03 08:34:49 -05:00
nick black
2ae1a764d9
stats: properly initialize raster_min_ns 2021-02-03 03:50:42 -05:00
nick black
2b42498c0d
add some notes regarding tmux #1314 2021-02-03 03:50:28 -05:00