Commit Graph

3502 Commits (7c249bf9b95a2d5a93e67a65d199863b0d415ce8)
 

Author SHA1 Message Date
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
nick black f0836b6e65
graphviz dot model of notcurses data structures 4 years ago
joseLuís 4673a86ea2 rust: API refactor & improve documentation
- rename EGC to Egc, EGCBackstop to EgcBackstop and ChannelPair to Channels.
- make the original type aliased structs non-public (e.g. ncdirect, ncalign…)
- fix and improve documentation for several types.
- revert renaming crate to nc on use.
- directly import the used types at the beginning of the module.

Now the rustdoc generated documentation is much cleaner.
4 years ago
José Luis Cruz 1c4b3475ff
fix markdown link 4 years ago
nick black 8a81d06b4b
ncreader: implement reamining shortcuts #983 4 years ago
nick black 1b1d727169
ncreader: support ctrl-a and ctrl-e #983 4 years ago
nick black 67e7046956
ncreader: implement Alt+B for back by word #983 4 years ago
nick black 65a0059b38
plots: fix NCBLIT_3x2 for plotting #1104 4 years ago
nick black a221ba2865
notcurses-static doesn't need an SOVERSION 4 years ago
nick black 3fbfe181ed
man pages: update some unsigned flags to uint64_t 4 years ago
nick black 8325102827
man pages: argument syntax for remaining entries #1103 4 years ago
nick black 530dda1002
man page argument syntax: fade, fds #1103 4 years ago
nick black 6f9f063f1d
notcurses_directmode.3: argument syntax #1103 4 years ago
nick black 47b62ce822
make some unsigneds explicit uint32_ts 4 years ago
nick black cf75598f03
argument syntax for man pages: cell, channels #1103 4 years ago
nick black 7018f2589f
notcurses_capabilities.3: argument syntax #1103 4 years ago
nick black 173265a99f
notcurses_visual.3.md: set argument names off in italic #1103 4 years ago
nick black 9530ebbb16 notcurses-view: allow arrow keys #603 4 years ago
joseLuís d82f0934b3 rust: show inline documentation for curated bindings 4 years ago
joseLuís 27628e961a rust: improve bindings 4 years ago
joseLuís a40cabb9d0 rust: move integration tests out of lib.rs 4 years ago
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.
4 years ago
nick black 592e339c7e
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black c411b0a7b8
get your head in the fucking game nicholas #1059 4 years ago
joseLuís 98a2fcf336 rust: explicit bindgen imports for a better world 4 years ago
nick black 4b2edf0019
ncplot: add comment regarding d vs u 4 years ago
nick black f3cd1fb755
ncinput_equal_p(): return bool, not int #1059 4 years ago
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.
4 years ago
joseLuís d59d05990b rust: direct mode changes
- rename ncdirect_start to ncdirect_new
- add direct mode option flags
- fix examples
- refactor comments
4 years ago
joseLuís 00b5445418 fix typos 4 years ago
joseLuís 94827c12a2 rust: update dependencies 4 years ago
joseLuís fed2d7cb9b rust: fix comments 4 years ago