Commit Graph

3483 Commits (c8eb3875ff8d90a76a32ed1c1c344ff1c7a5bb38)
 

Author SHA1 Message Date
nick black 4b016ce4d2 notcurses unit tests: ncplane_new->ncplane_create #1115 4 years ago
nick black ff999ca268 wide tests: ncplane_new -> ncplane_create #1115 4 years ago
nick black da5c1b2ed4 reader tests: ncplane_new -> ncplane_create #1115 4 years ago
nick black 9283db5ec9 notcurses.3.md: clean up intro a bit 4 years ago
nick black 23f102beb5 layout tests: ncplane_new -> ncplane_create #1115 4 years ago
nick black 42c5b60c5d geom tests: ncplane_new -> ncplane_create #1115 4 years ago
nick black b7ad4fb7a6 fill tests: use ncplane_create #1115 4 years ago
nick black 5e9359ca15 cell tests: use ncplane_create() 4 years ago
nick black 55ac9cc231 convert ncplane_new() to ncplane_create() in blit tests 4 years ago
nick black b8dc9544cf deprecate ncplane_new() 4 years ago
nick black 886835a8b4 c++: deprecate ncplane_new() #1115 4 years ago
nick black a3d9f78612 core: deprecate ncplane_new() #1115 4 years ago
nick black a9fbe41f2b document the New Way 4 years ago
nick black 181afbdeea multistack comments #1078 4 years ago
nick black c713c4c9ec ncplane_reparent: new stacks #1078 4 years ago
nick black 05a8005b5d
drone: use 2020-11-17b debian autobuilder 4 years ago
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.
4 years ago
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.
4 years ago
joseLuís 1f77571174 rust: cleanup
- remove deprecated functions ncplane_new & nctablet_ncplane
- fix some comments
- run rustfmt
4 years ago
nick black 8ab9bd4687
man pages: trim overlong lines 4 years ago
nick black 1051210679
pandoc: don't use smart extension 4 years ago
nick black fd52a5c49e
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black ab7c92a2b3
ubuntu drone: run rust tests with TERM set #1119 4 years ago
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`
4 years ago
joseLuís 107cb05fce rust: refactor examples 4 years ago
joseLuís 2e47618a6a rust: 2+ notcurses convenience constructors 4 years ago
joseLuís 08b000de28 rust: remove no_std; fix #1119 4 years ago
joseLuís d9a74dab26 rust: start adding notcurses tests 4 years ago
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.
4 years ago
nick black 51d01b22c8
who knows how this happened 4 years ago
nick black cedf8761f5
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 0e23fbee19
valery quote 4 years ago
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`
4 years ago
nick black c9d6809014
view: replay current media on blitter change #1111 4 years ago
nick black 92add03a30
python: run setup.py without pypandoc #1110 4 years ago
nick black e4907855d2
blitter POC: add 3x2 4 years ago
nick black 259b2b6012
make it clear that sixel is not yet supported 4 years ago
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().
4 years ago
nick black 7622cefc3a
v2.0.4 4 years ago
nick black 0eac5a2e4a
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 279b365e3c
Quadblitter unit tests: require UTF8 #1108 4 years ago
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.
4 years ago
nick black 0d31a03be9
v2.0.3 4 years ago
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.
4 years ago
joseLuís 219bc34128 fix typo 4 years ago
joseLuís f22dfd78b5 rust: continue reworking the API & improve documentation
- separate the `types` module into submodules to improve clarity & maintenance.
- more constructors for NcMenu, NcMenuItem, NcMenuSection, NcMenuOptions.
- add more missing docs, specially for constants
4 years ago
joseLuís 08a0da358e rust: continue reworking the API & improve documentation
- remove _IO_FILE import and usage.
- create handy constructors for NcDirect & Notcurses.
  (but can't implement destructors for copy types…).
- when possible substitute mutable pointers `*mut` for mutable references `&mut`
  with associated lifetimes.
- new widgets module, starting with NcReader & NcReaderOptions constructors
4 years ago
joseLuís 965a0771d8 rust: continue reworking the API & improve documentation
- rename `Pixel` to `NcPixel`
- rename `cell_simple_initializer` to `cell_char_initializer`
  and `cell_load_simple` to `cell_load_char`
- create constructor for `NcReader`
- fix and improve documentation for several types.
- Add `NcDirectOptions` struct and `NcDirectOptionHoriz` union
4 years ago
nick black 07cc29634f
ncblit_*(): sanity check linesize parameter 4 years ago
nick black 2bb546e3ac
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago