Commit Graph

320 Commits (47fa86f90d85296e8dd51d8ba10618a8f8efa36d)

Author SHA1 Message Date
joseLuís acbd0ffeeb [rust] add nccell_cols, deprecate nccell_width 3 years ago
nick black 7e74d96792
rust: update to new set_{fg,bg}_rgb() 3 years ago
joseLuís ca284f9093 [rust] skip notcurses_debug test in macos #1937
also:
- minor warning fix
3 years ago
joseLuís b6f6e08dce [rust] use `FILE` instead of `_IO_FILE` #1938
also restore `NcFile` for `macos` to see if it makes a difference.
3 years ago
joseLuís 27a2b76c20 [rust] disable another test in macos #1937
in NcCell::from_char()
3 years ago
joseLuís 6e85a3c7ea [rust] fix some miri errors #1937
`cargo +nightly miri test --no-fail-fast -- --test-threads 1 --nocapture`
3 years ago
joseLuís 84064da03f [rust] remove NcFile for macos; #1937 #1938
- remove the Notcurses.render_to_file method.
3 years ago
joseLuís 54ce1b6171 [rust] remove NcFile for macos; #1937 #1938
- also remove the notcurses.debug method.
3 years ago
joseLuís 548ca72bf4 [rust] add `NcPlane` methods
- reimplement the static function `ncplane_moverel`.
- new methods `move_rel`, `cursor_move_rel`, `putln`.
- rename `home` to `cursor_home` and deprecate.
3 years ago
nick black 83d8724e63
updating CELL_ -> NC_ references 3 years ago
joseLuís 4d501f81ce [rust] rename `NcChannel*`.`with_default` method to `default` 3 years ago
joseLuís a1010d0dca [rust] export widgets from its own separate module
- update & fix docs.
3 years ago
joseLuís 873a75f77f [rust] add `putln` method to NcPlane.
- fix compilation error using older rust version.
- update docs.
3 years ago
joseLuís 115b06c386 [rust] support "none" style in `lex_styles` method. 3 years ago
joseLuís 2e9a19fc45 [rust] add more `NcStyle` relative functionality
- add `NcStyleMethods` trait with the functions `add`, `has`, `to_vec`.
- add new `Nc` methods: `lex_styles` and `str_styles`, supporting several simultaneous styles.
- rename the parameter of `lex_blitter`, `lex_margins`, `lex_scalemode`, for clarity.
3 years ago
joseLuís 2dd1e8812e [rust] hide the docs of deprecated items 3 years ago
joseLuís b372a492ad [rust] rename macros & update docs
- rename psleep to prs
- rename rsleep to nrs
- deprecate and hide docs for fsleep, psleep, prsleep, rsleep.
- update examples
3 years ago
joseLuís 14bab81e07 [rust] rename prsleep macro to psleep
- update macro docs
3 years ago
joseLuís f1f97aeee7 [rust] continue solving bugs for #1339
also update `example-1832.rs` & run rustfmt
3 years ago
joseLuís f401d85733 [rust] update function-summary data & minor fix 3 years ago
joseLuís fc4757289b [rust] hide some macro docs intended for internal use
- and improve `issue-1832` example a little
3 years ago
joseLuís 504dcaad59 [rust] remove `NcSignalSet`
- hopefully solved the remaining bug of #1339
3 years ago
joseLuís adc1447778 [rust] add `ncplane_scrolling_p` & `NcPlane.scrolling` 3 years ago
joseLuís c69c14e5be [rust] keep on solving multiple architecture bugs #1339
- fix notcurses_debug test on s390x & ppc64le.
- fix NcChannels parameters for NcPlane methods gradient & gradient_sized.
- fix ncplane_gradient & ncplane_gradient_sized on i686 & arm7hl by reimplementing them as a thin wrapper.
- fix ncdirect_hline_interp & ncdirect_vline_interp on i686 & arm7hl by reimplementing them as a thin wrapper.
- fix some docs & do some minimal refactoring.
3 years ago
joseLuís 0760223fb5 [rust] add NCOPTION_PRESERVE_CURSOR 3 years ago
joseLuís 8cc32fd065 [rust] bring back NCSTYLE_BLINK 3 years ago
joseLuís cadca69138 [rust] fix the `NcEgc` mess.
- An `EGC` is an UTF-8 string of length 1, not a unicode code point (char).
- remove the `NcEgc` type and use `&str` and `String`, instead (for now).
- update some docs.
- rustfmt.
3 years ago
nick black 9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818 3 years ago
nick black 383678da4e
move remainder of debug_caps into notcurses-info #1793 3 years ago
nick black 8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818 3 years ago
joseLuís a3c593eed9 [rust] fix some docs 3 years ago
joseLuís fe275447fb [rust] rename `NcPixelGeometry` fields 3 years ago
joseLuís 3fed537854 [rust] remove NcDirectV type alias, use NcPlane instead 3 years ago
joseLuís a693455916 [rust] rename cell style methods
- on_styles → styles_on, off_styles → styles_on, set_stypes → styles_set
- improve some docs and fix doclinks.
3 years ago
joseLuís d6e724190a [rust] update readme 3 years ago
joseLuís 90a2ff6fca [rust] fix pixel-cell example
- fix some docs and parameter names.
3 years ago
joseLuís e5092ad4eb [rust] add ncvisual_from_rgb_* functions and methods
- update some docs.
3 years ago
joseLuís 4a16ccc78a [rust] temporary fix for bindgen warnings 3 years ago
joseLuís d38a63ca04 [rust] add NCDIRECT_OPTION[_VERY]_VERBOSE consts 3 years ago
joseLuís 391c58e4ed [rust]
- add ncdirect_canget_cursor
- made ncplane_notcurses require a non-mutable reference.
3 years ago
nick black bd633d697a
[rust] idiot 3 years ago
nick black b3ed98b686
rust: adapt to non-const ncdirect_get_{xy}() #1789 3 years ago
joseLuís 8f234368d8 make `ncplane_pixelgeom` require a const reference 3 years ago
joseLuís 1ea663229a [rust] refactor NcDirect
- add missing method `cansextant`.
- rename several cursor functions for consistency.
- fix & update poc-direct example.
- update docs.
3 years ago
joseLuís e74e2e3f67 [rust] add NcCapabilities & related NcDirect functions 3 years ago
joseLuís 7249ecccc1 [rust] add NCSTYLE_UNDERCURL 3 years ago
joseLuís c822aa345e [rust] remove duplicated method NcChannel.set_rgb 3 years ago
joseLuís 3e9b2c1fe4 [rust] rename `NcChannelPair` to `NcChannels`
- deprecate `NcChannelPair`
3 years ago
joseLuís 48876b42fb [rust] rename several constructor methods
For semantic consistency with the Rust API guidelines.

- rename most `NcChannel` & `NcCell` methods starting with `with_`* to `from_`*.
- update examples.
3 years ago
joseLuís 4c0268997c [rust] rename `NcColor` to `NcComponent`.
- fix docs.
3 years ago