joseLuís
27628e961a
rust: improve bindings
2020-11-06 13:59:32 +01:00
joseLuís
a40cabb9d0
rust: move integration tests out of lib.rs
2020-11-06 13:57:29 +01:00
joseLuís
c8316d75ae
rust: continue improving bindings and API
...
- use libc types and functions directly when possible
- char32_t -> u32 -> char
- size_t -> u64
- free()
- strcmp()
NOTE: it seems libc::timespec doesn't work with notcurses_getc()
- rename types
- Input -> NcInput
- Scale -> NcScale
- `suppuabize` function is now private.
- `bindings` module is now public.
- improve comments.
2020-11-06 13:40:52 +01:00
nick black
592e339c7e
Merge branch 'master' of github.com:dankamongmen/notcurses
2020-11-05 16:31:12 -05:00
nick black
c411b0a7b8
get your head in the fucking game nicholas #1059
2020-11-05 16:31:07 -05:00
joseLuís
98a2fcf336
rust: explicit bindgen imports for a better world
2020-11-05 20:50:05 +01:00
nick black
4b2edf0019
ncplot: add comment regarding d vs u
2020-11-05 14:20:57 -05:00
nick black
f3cd1fb755
ncinput_equal_p(): return bool, not int #1059
2020-11-05 14:18:00 -05:00
joseLuís
4beec0845f
rust: type changes
...
- rename types in order to make them more similar to the original ones,
and so that they play better alongside the higher types defined by
notcurses-rs.
- Plane -> NcPlane
- DirectMode -> NcDirect
- DirectModeFlags -> NcDirectFlags
- FullMode -> Notcurses
- Align -> NcAlign
- Blitter -> NcBlitter
- Scale -> NcScale
- make `types` module re-exportable.
- rename nc module to notcurses.
- improve comments.
2020-11-05 18:35:11 +01:00
joseLuís
d59d05990b
rust: direct mode changes
...
- rename ncdirect_start to ncdirect_new
- add direct mode option flags
- fix examples
- refactor comments
2020-11-04 18:31:12 +01:00
joseLuís
00b5445418
fix typos
2020-11-04 18:27:36 +01:00
joseLuís
94827c12a2
rust: update dependencies
2020-11-04 12:02:13 +01:00
joseLuís
fed2d7cb9b
rust: fix comments
2020-11-03 21:05:57 +01:00
joseLuís
e8ff092f50
rust: fix input; add constructor
2020-11-03 20:59:57 +01:00
joseLuís
2f3d99e4e7
rust: fix visual
2020-11-03 20:40:04 +01:00
joseLuís
cfb2bf0824
rust: add input module with 1 static function
2020-11-03 20:26:33 +01:00
joseLuís
446d2179d6
update function-summary.sh stats; remove oldest stats
2020-11-03 20:03:04 +01:00
joseLuís
03d2ffffaf
fix typo
2020-11-03 19:59:49 +01:00
joseLuís
09bdf6ebd4
rust: add visual module
2020-11-03 19:59:13 +01:00
joseLuís
cb16c52eef
rust: review functions; update headers
2020-11-03 19:59:10 +01:00
joseLuís
40621b7b95
rust: finish converting missing rgb calls
2020-11-03 19:56:54 +01:00
joseLuís
42250179f3
rust: add Blitter
and Scale
types
2020-11-03 19:56:28 +01:00
nick black
61aa96fd8a
eagle: 3x2->2x2 to match cowardly defaults
2020-11-02 16:11:18 -05:00
nick black
4ebaa42b28
Merge branch 'master' of github.com:dankamongmen/notcurses
2020-11-02 16:07:14 -05:00
nick black
5c8781ffbd
ncvisual: quadblitter by default for stretch, for now
2020-11-02 16:07:10 -05:00
José Luis Cruz
7139021e05
fix typo
2020-11-02 21:23:14 +01:00
nick black
168f0642e4
notcurses_visual.3 update man page syntax
2020-11-02 00:40:54 -05:00
nick black
20ff1fe73b
ncvisual_stream: erase before each draw for partial transparencies #1093
2020-11-01 12:05:34 -05:00
nick black
79e1a556ae
view: propagate blitter out of stream #1094
2020-11-01 12:02:27 -05:00
nick black
4fb09431ac
notcurses_visual/notcurses-view: update man pages for sexblitter
2020-11-01 08:40:06 -05:00
nick black
16bffab27a
eagle demo: use NCBLIT_3x2
2020-11-01 00:16:04 -04:00
nick black
5f91990ed1
dragon demo: use NCBLIT_3x2
2020-11-01 00:13:53 -04:00
nick black
84dde41dc8
add xcfs for galleries in doc/
2020-11-01 00:07:21 -04:00
nick black
fd29cab463
quadblitter all different unit test #1080
2020-10-31 23:45:10 -04:00
nick black
8548cdc780
sexblitter: restore transparency #1089
2020-10-31 18:03:01 -04:00
nick black
13a9b38390
demo: strip some explicit NCBLIT_2x2s, use NCBLIT_DEFAULT
2020-10-31 17:15:20 -04:00
nick black
78e5ac670d
default to NCBLIT_3x2, unify NCBLIT_DEFAULT selection #1088
2020-10-31 17:14:51 -04:00
nick black
5613eb6afe
blit.c: remove dead code
2020-10-31 15:59:02 -04:00
Nick Black
a92f5f0c02
Sexblitter, perfected ( #1087 )
...
AWWW SHIT HE'S DONE IT AGAIN exhaustive sex solver #1086
2020-10-30 22:20:49 -04:00
nick black
e12cfe947b
ncpixel_set_g/ncpixel_set_b: correct #1080
2020-10-30 03:50:47 -04:00
nick black
0f5f4cd1c3
Merge branch 'master' of github.com:dankamongmen/notcurses
2020-10-30 01:14:27 -04:00
nick black
515aa881cc
ncpixel_b/ncpixel_g: fix for RGBA
2020-10-30 01:11:43 -04:00
nick black
7ddfaa79a7
sexblitter: swap fg/bg post-lerp
2020-10-29 20:58:15 -04:00
nick black
f9b4993b07
notcurses-demo: implement debug window #1013
2020-10-29 19:06:06 -04:00
nick black
957d15410c
notcurses-demo: draw debug window when relevant #1013
2020-10-29 19:06:06 -04:00
nick black
132c08e18c
demo: add alt+d 'debug' menu option #1013
2020-10-29 19:06:06 -04:00
nick black
72ef243cb7
sexblitter: properly initialize mindiffbits
2020-10-29 18:15:42 -04:00
nick black
964cdee8f2
ncblit_bgrx: perform byte swap
2020-10-29 18:15:42 -04:00
nick black
73772e3a4b
run lowestkey search on lowestcur match
2020-10-29 18:15:42 -04:00
nick black
efe5e40141
kill sexblitter debugging for now
2020-10-29 18:15:42 -04:00