Commit Graph

2626 Commits

Author SHA1 Message Date
nick black
3bb95824fc update some terminology 2020-08-08 10:53:32 -04:00
nick black
2f3fba59c8
revert early-morning idiocy #866 2020-08-08 10:30:57 -04:00
nick black
4232ca1427
blitters PoC: hoist ncv creation from main loop #866 2020-08-08 10:28:38 -04:00
nick black
73e71622f7
ncneofetch: free up some allocations 2020-08-08 08:05:19 -04:00
nick black
4f5be0b100
tests: treat TERM=unknown like unset TERM #865 2020-08-08 07:54:09 -04:00
nick black
c21f0fb812 ncselector_dim_yx: eliminate boundary checks 2020-08-07 21:09:11 -04:00
nick black
c0ffe0ae91 reeldemo: kill compiler warning with grim cast 2020-08-07 17:56:59 -04:00
nick black
9ae3fe4728 update some terminology 2020-08-07 16:31:50 -04:00
joseLuís
1caba6ac29 refactor test module
- new function for creating the notcurses options for tests
- hide the initial statistics for cleaner test output
- reformat file with rustfmt
2020-08-07 15:39:01 -04:00
nick black
4c822f80a9
comment and move ncpixel API 2020-08-07 14:34:00 -04:00
nick black
0da11f4c3e
linebreak on html footer 2020-08-07 14:33:55 -04:00
nick black
703fbc853e
zoo: differentiate title from borders 2020-08-07 13:32:50 -04:00
José Luis Cruz
7aef3e4fca fix typo
foreground > background
2020-08-07 13:23:36 -04:00
nick black
df25fc99b9 rust: generate direct mode bindings
When we split direct.h out from notcurses.h, I forgot to add
the new header file to the bindgen-rs includes. I've added
it, and also added a simple directmode unit test.

Closes #853. Thanks @joseluis for reporting this issue!
2020-08-06 08:15:53 -04:00
nick black
59fe0cb829
zoo demo: color up selectors 2020-08-06 04:10:57 -04:00
nick black
e17f7198e7
printf(%lc) is wint_t not wchar_t 2020-08-06 03:08:00 -04:00
nick black
58f7dab1c0 doc it up (a plan for ncreels, that is) 2020-08-06 01:13:21 -04:00
nick black
a080ac83b8 ncreel: remove wresize wrapper, introduce direction_e 2020-08-06 01:13:21 -04:00
nick black
3ba98c8b22 move ncselector defintiion into selector.c 2020-08-06 01:13:21 -04:00
nick black
c618096083
ncselector_redraw(): don't call notcurses_render() #627 2020-08-05 21:26:32 -04:00
nick black
7fc761296f
release: fix twine syntax 2020-08-03 02:52:27 -04:00
nick black
fa76f5a432
v1.6.11 2020-08-03 02:47:07 -04:00
nick black
ead60d06cc
unexport cell_egc_idx() 2020-08-02 23:45:58 -04:00
nick black
ca2a6501e6
rasterize: remove noforeground check, no longer useful 2020-08-02 23:37:14 -04:00
nick black
78fdad0f43
demo: simplify HUD code, print top to bottom 2020-08-02 21:41:15 -04:00
nick black
bc9ecd86a8
kill -Wempty-body warning 2020-08-02 19:17:23 -04:00
Cheong Sik Feng
ccbb3fda22 use ncplane_resize_simple() instead of ncplane_resize() 2020-08-02 19:15:13 -04:00
Cheong Sik Feng
91613528f2 resize plane in additem and delitem when necessary
Signed-off-by: Cheong Sik Feng <sikfeng@gmail.com>
2020-08-02 19:15:13 -04:00
nick black
c6e136f7c9
index.html: center bottom text 2020-08-02 16:10:20 -04:00
nick black
bf18be1816
index.html: embed packaging status matrix 2020-08-02 15:43:07 -04:00
nick black
b0c1a0ae18
zoo: fix reference to loaded file, use find_data() 2020-08-02 14:59:04 -04:00
nick black
3d6fad1477
python: update ncreader_options definition 2020-08-01 19:56:34 -04:00
nick black
9443b2f316
release: supply -s -udankamongmen to twine 2020-08-01 17:58:42 -04:00
nick black
8cfd1677c4
v1.6.10 2020-08-01 17:53:19 -04:00
nick black
5c5077840e
intro/hud: place things a bit tighter to avoid HUD stomping intro line 2020-08-01 17:08:33 -04:00
nick black
ce8b34da86 Glyph transparency in selector backgrounds #847 2020-08-01 16:51:54 -04:00
nick black
7e43077128
ncselector_additem: extend longops/longdesc if necessary #846 2020-08-01 03:49:24 -04:00
Marek Habersack
2fabe85e6a [C++] API sync
Been a while, apologies :)

Added:
  * Direct: fg_palindex (`ncdirect_fg_palindex`)
  * Direct: bg_palindex (`ncdirect_bg_palindex`)
  * Direct: get_palette_size (`ncdirect_palette_size`)
  * Direct: putstr (`ncdirect_putstr`)
  * Direct: hline_interp (`ncdirect_hline_interp`)
  * Direct: vline_interp (`ncdirect_vline_interp`)
  * Direct: box (`ncdirect_box`)
  * Direct: rounded_box (`ncdirect_rounded_box`)
  * Direct: double_box (`ncdirect_double_box`)
  * Direct: canopen_images (`ncdirect_canopen_images`)
  * Direct: canutf8 (`ncdirect_canutf8`)
  * Menu: get_mouse_selected (`ncmenu_mouse_selected`)
  * NotCurses: version_components (`notcurses_version_components`)
  * NotCurses: str_blitter (`notcurses_str_blitter`)
  * NotCurses: str_scalemode (`notcurses_str_scalemode`)
  * NotCurses: lex_margins (`notcurses_lex_margins`)
  * NotCurses: lex_blitter (`notcurses_lex_blitter`)
  * NotCurses: lex_scalemode (`notcurses_lex_scalemode`)
  * NotCurses: render_to_file (`notcurses_render_to_file`)
  * Plane: putstr_stainable (`ncplane_putstr_stainable`)
  * Plane: printf_stainable (`ncplane_printf_stainable`)
  * Plane: vprintf_stainable (`ncplane_vprintf_stainable`)
  * Reel: offer_input (`ncreel_offer_input`)

Changed:
  * Direct: set_fg_alpha uses `unsigned alpha`
  * Direct: set_bg_alpha uses `unsigned alpha`
  * Plane: set_fg_alpha uses `unsigned alpha`
  * Plane: set_bg_alpha uses `unsigned alpha`
  * Root: made `error_guard` and `error_guard_cond` static
2020-08-01 00:27:20 -04:00
nick black
835a62361d
cell_nobackground_p(): load time, 5% perf win =] =] =] #838 2020-07-31 23:55:14 -04:00
nick black
2dcab374c4 mojibake: fix some row overruns #842 2020-07-31 23:05:09 -04:00
nick black
ca6ecf2f35 ncplane_resize(): fix irregular keep areas #842 2020-07-31 23:05:09 -04:00
nick black
fe904cc8da resize PoC: restore bottom stanza 2020-07-31 23:05:09 -04:00
nick black
886255e941 mojibake: clean up topmost line of display #842 2020-07-31 23:05:09 -04:00
nick black
c1c1238e7e resize PoC: add some functionality #842 2020-07-31 23:05:09 -04:00
nick black
63556d295f
demo: color HUD light rather than dark 2020-07-30 04:09:50 -04:00
nick black
ac59918682
zoo: mention plots! #835 2020-07-30 03:56:21 -04:00
nick black
9a758b82e2 zoo: speed up the "typing" 2020-07-30 03:50:44 -04:00
nick black
b7b6572bc7 zoo: render informative text on ncreader #835 2020-07-30 03:50:44 -04:00
nick black
5a9e2645a5 zoo: blend reader background 2020-07-30 03:50:44 -04:00
nick black
78a7b4d255 constify ncreader_options->egc 2020-07-30 03:50:44 -04:00