Commit Graph

3439 Commits

Author SHA1 Message Date
nick black
719ed0658a notcurses-view: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
0215f9482b selector PoC: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
4a5fb14bc1 multiselector PoC: out with ncplane_new #1115 2020-11-17 23:42:36 -05:00
nick black
a66bef0aca zaxis unit tests: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
dc8e52c3de ncplane/resize/scroll/selector unit tests: ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
1d1e23cf2c rotate tests: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
4b016ce4d2 notcurses unit tests: ncplane_new->ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
ff999ca268 wide tests: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
da5c1b2ed4 reader tests: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
9283db5ec9 notcurses.3.md: clean up intro a bit 2020-11-17 23:42:36 -05:00
nick black
23f102beb5 layout tests: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
42c5b60c5d geom tests: ncplane_new -> ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
b7ad4fb7a6 fill tests: use ncplane_create #1115 2020-11-17 23:42:36 -05:00
nick black
5e9359ca15 cell tests: use ncplane_create() 2020-11-17 23:42:36 -05:00
nick black
55ac9cc231 convert ncplane_new() to ncplane_create() in blit tests 2020-11-17 23:42:36 -05:00
nick black
b8dc9544cf deprecate ncplane_new() 2020-11-17 23:42:36 -05:00
nick black
886835a8b4 c++: deprecate ncplane_new() #1115 2020-11-17 23:42:36 -05:00
nick black
a3d9f78612 core: deprecate ncplane_new() #1115 2020-11-17 23:42:36 -05:00
nick black
a9fbe41f2b document the New Way 2020-11-17 23:42:36 -05:00
nick black
181afbdeea multistack comments #1078 2020-11-17 23:42:36 -05:00
nick black
c713c4c9ec ncplane_reparent: new stacks #1078 2020-11-17 23:42:36 -05:00
nick black
05a8005b5d
drone: use 2020-11-17b debian autobuilder 2020-11-17 23:24:58 -05:00
joseLuís
4de2652f8d rust: more fixes and improvements
- fix notcurses_init unit test
- fix fn call name: `nplane_at_cursor_cell` → `ncplane_at_cursor_cell`.
- make LIBC_FILE & NC_FILE type aliases with doc comment.
- add lib module comment.
- improve direct-cursor example.
- fix full-text example and rename it to full-basics.
2020-11-18 02:43:29 +01:00
joseLuís
9fe0363937 rust: improve testing
- add new alias `t_all` for running every test even if some fail.
- call it from `.drone.yml` to have more complete testing picture.
- add a new test for `notcurses_init` as the first test.
2020-11-18 01:48:54 +01:00
joseLuís
1f77571174 rust: cleanup
- remove deprecated functions ncplane_new & nctablet_ncplane
- fix some comments
- run rustfmt
2020-11-17 11:40:58 +01:00
nick black
8ab9bd4687
man pages: trim overlong lines 2020-11-17 02:25:40 -05:00
nick black
1051210679
pandoc: don't use smart extension 2020-11-17 02:25:30 -05:00
nick black
fd52a5c49e
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-11-17 01:28:27 -05:00
nick black
ab7c92a2b3
ubuntu drone: run rust tests with TERM set #1119 2020-11-17 01:28:23 -05:00
joseLuís
9563c9e02e rust: new NcFile type to wrap libc::FILE
The notcurses FILE type (`NC_FILE`) is imported via bindgen as a struct,
while the equivalent Rust libc::FILE (`LIBC_FILE`) is an opaque enum.
Several methods are provided to convert back and forth between both types,
so it works both with rust libc operations and notcurses file I/O operations.

- new notcurses_debug() test as the first usage of `NcFile`
2020-11-17 01:44:29 +01:00
joseLuís
107cb05fce rust: refactor examples 2020-11-16 23:53:07 +01:00
joseLuís
2e47618a6a rust: 2+ notcurses convenience constructors 2020-11-16 18:06:15 +01:00
joseLuís
08b000de28 rust: remove no_std; fix #1119 2020-11-15 22:43:22 +01:00
joseLuís
d9a74dab26 rust: start adding notcurses tests 2020-11-15 18:04:53 +01:00
joseLuís
00f5001342 rust: ncplane constructors
- new NcPlane & NcPlaneOptions constructors.
- new NcHoriz enum for NcPlaneOptions horiz parameter.
- Make NCPLANE_OPTION_HORALIGNED u64 for consistency with expected value type.
2020-11-15 17:49:12 +01:00
nick black
51d01b22c8
who knows how this happened 2020-11-13 20:10:39 -05:00
nick black
cedf8761f5
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-11-13 19:07:21 -05:00
nick black
0e23fbee19
valery quote 2020-11-13 19:07:17 -05:00
joseLuís
566a2bb902 add the rendered png file of the notcurses model
`dot -Tpng doc/model.dot -o doc/model.png && optipng doc/model.png`
2020-11-13 17:14:39 +01:00
nick black
c9d6809014
view: replay current media on blitter change #1111 2020-11-12 14:40:22 -05:00
nick black
92add03a30
python: run setup.py without pypandoc #1110 2020-11-12 14:40:18 -05:00
nick black
e4907855d2
blitter POC: add 3x2 2020-11-11 03:13:46 -05:00
nick black
259b2b6012
make it clear that sixel is not yet supported 2020-11-11 03:12:37 -05:00
nick black
fb0beb19b6
ncblit_bgrx() improvements #1105
Add unit tests for ncblit_bgrx. Rewrite bgra_to_rgba() using
ncpixel_*() funtionality. Rewrite ncblit_bgrx() using
ncblit_rgba().
2020-11-11 00:58:42 -05:00
nick black
7622cefc3a
v2.0.4 2020-11-10 10:50:30 -05:00
nick black
0eac5a2e4a
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-11-09 20:54:44 -05:00
nick black
279b365e3c
Quadblitter unit tests: require UTF8 #1108 2020-11-09 20:54:39 -05:00
joseLuís
04882971a2 rust: more refactoring
- make Notcurses `new()` constructor not output banners.
- add an additional constructor `with_banners()`.
- add new aliases for running examples silently.
- improve comments & run rustfmt.
2020-11-09 19:59:39 +01:00
nick black
0d31a03be9
v2.0.3 2020-11-09 13:45:59 -05:00
joseLuís
7a164c3009 rust: continue reworking the API & improve documentation
- remove macros module and move macros to types submodules.
- document the macros.
- add ncmetric macros.
- add missing constants for NcVisual and ncmetric.
- add missing function ncstrwidth
- remove types/colors module and move the content to types/channel
- add more doc comments.
2020-11-09 19:13:13 +01:00