Commit Graph

2839 Commits

Author SHA1 Message Date
nick black
4745c3596d
gradients PoC: add lower block for completeness #921 2020-08-19 12:45:26 -04:00
nick black
086571ff4b
gradients: purge improper cut-and-pasted comment 2020-08-19 12:39:29 -04:00
joseLuís
cac8202e03 rust: egc char related fixes 2020-08-19 18:36:49 +02:00
nick black
6b36ee8ac3
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-19 12:33:49 -04:00
nick black
1e334fa63e
new 'gradients' PoC #920 2020-08-19 12:33:47 -04:00
joseLuís
f25ba1b83c rust: +11 plane functions, ±finishing ncplane.
- Functions ncplane_putw* considered unnecessary from Rust.
- Functions & macros ncplane_printf* pending evaluation.
2020-08-19 18:09:58 +02:00
joseLuís
9b827f22b6 rust: +6 plane functions 2020-08-19 03:21:29 +02:00
joseLuís
915d59fb3e rust: +2 cell functions, finishing cells
- cell_prime and cells_load_box are unsafe fn, until a safer abstraction
  is built around gcluster, to avoid raw pointers dereferencing.
2020-08-19 03:18:47 +02:00
nick black
0f79ac5702
zoo: fade out the widgets #835 2020-08-18 18:34:53 -04:00
nick black
73abc61f16
cellcmp_and_dupfar(): unify paths 2020-08-18 18:31:40 -04:00
joseLuís
11287b6081 rust: rename types, add cell init macros
- +3 macros: cell_initializer, cell_simple_initializer and
  cell_trivial_initializer
- rename GraphemeCluster to EGC and GraphemeClusterBackStop to
EGCBackstop
- improve EGC doc comments
2020-08-18 20:46:12 +02:00
joseLuís
9c08411e27 rust: rustfmt 2020-08-18 18:28:17 +02:00
joseLuís
e324cd404c rust: finish notcurses functions
+4 notcurses functions
2020-08-18 16:27:53 +02:00
joseLuís
154d3ef312 rust: +14 cell functions
WIP: cell_prime & cells_load_box
2020-08-18 15:33:26 +02:00
joseLuís
5eb9dc37d4 rust: finish channel functions
remove channels_blend()
2020-08-18 15:31:33 +02:00
nick black
05da44b06b
hide blending functions #917 2020-08-18 08:41:55 -04:00
José Luis Cruz
3e3c8c1514
minor fix: use already defined variable 2020-08-18 14:09:01 +02:00
joseLuís
a4d5817940 rust: cargo clippy alias 2020-08-18 13:09:39 +02:00
nick black
90e98ada07
wcwidth PoC: accept command line args 2020-08-18 04:16:30 -04:00
nick black
268e3b8742
term_esc_rgb: restructure for compiler warnings #913 2020-08-17 20:16:25 -04:00
nick black
bee9036515
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-17 18:25:28 -04:00
nick black
0917867d62
demo summary: purge extraneous space in title column 2020-08-17 18:25:24 -04:00
joseLuís
18f90e394c rust: +22 cell functions 2020-08-18 00:01:47 +02:00
nick black
d3cac57d03
fallin': copy styles/colors from old display #909 2020-08-17 16:35:19 -04:00
nick black
d523b41200 utf8_egc_len: work around treacherous wcwidth #903 2020-08-17 16:14:06 -04:00
José Luis Cruz
237e5b7bc0
Merge pull request #907 from dankamongmen/joseluis-patch-1
proposal to remove the comment and update the type
2020-08-17 21:00:13 +02:00
José Luis Cruz
c4498e485e
proposal to remove the comment and update the type
Maybe the type may reflect that it's not supposed to be a long now.

Although for what I've learnt about C, in practice it will probably still be a long. And I can't be sure whether in some platforms where it will indeed be a short the code will keep compiling, so maybe it's safer just to remove the outdated comment, or whatever you decide.

I'm just finding things while I work in the bindings =) And I was surprised to learn about the little guarantees C gives regarding the types sizes...
2020-08-17 20:54:15 +02:00
nick black
86454f1b0a
mojibake: move more 2-to-1s to the end #903 2020-08-17 14:06:51 -04:00
nick black
74537f0848
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-17 14:01:33 -04:00
nick black
60fceb877f
mojibake: clean up excess chars #903 2020-08-17 14:01:28 -04:00
joseLuís
6cfd3d6ad7 rust: fix clippy compat with bindgen
and fix a couple of lints in plane.rs
2020-08-17 18:21:37 +02:00
joseLuís
4b9a8d130f Merge branch 'master' of github.com:dankamongmen/notcurses 2020-08-17 17:54:56 +02:00
joseLuís
b1b8400165 rust: +8 plane functions; refactor 2020-08-17 17:54:43 +02:00
joseLuís
a5fecf021e rust: update cells code 2020-08-17 17:54:17 +02:00
joseLuís
4382487652 rust: update example 2020-08-17 17:54:07 +02:00
nick black
a64433afe2 init_lang(): take struct notcurses, not verbose flag #888 2020-08-16 20:14:25 -04:00
nick black
bcff36ac77 hoist out init_lang(), call from ncdirect #888 2020-08-16 20:14:25 -04:00
nick black
6d62470032
zoo demo: feed ncplane_puttext() atomic words #897 2020-08-16 18:23:10 -04:00
nick black
1a0d28d8d0
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-16 17:57:07 -04:00
nick black
26ea0b3785
dirgb PoC: throw in some italics 2020-08-16 17:56:55 -04:00
joseLuís
8eefeb2a73 rust: fix builder rerun condition 2020-08-16 21:58:29 +02:00
nick black
03cff6b7fd USAGE: update ncplane_putsimple_yx() definition 2020-08-16 15:57:32 -04:00
nick black
a2c95814b7 Remove cell_simple_p()
Get notcurses-tetris working again, since its collision
detection relied on simple vs non-simple EGCs, which are
no longer an operative concept. Closes #899.
2020-08-16 15:57:32 -04:00
nick black
49ae79341d
v1.6.15 2020-08-16 11:04:43 -04:00
nick black
7933f2baa7
dispose of 1.6.14. PYTHHHHHONNNN 2020-08-16 10:26:04 -04:00
joseLuís
6a19d31bd9 Merge branch 'master' of github.com:dankamongmen/notcurses 2020-08-16 16:23:25 +02:00
joseLuís
ccac3d033e rust: update types 2020-08-16 16:22:58 +02:00
nick black
d24ad003bf
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-16 10:21:44 -04:00
nick black
5d1adda150
python: notcurses.py needs stylemask, not attrword 2020-08-16 10:21:40 -04:00
joseLuís
59546eaf40 rust: update dependency cstr_core; fixes #898 2020-08-16 16:20:48 +02:00