Commit Graph

522 Commits (a693455916ffc4f25a5497c309a0c763b63ee7ea)

Author SHA1 Message Date
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
joseLuís 2ba4777443 [rust] rename `NCCELL_`* constants to `NCALPHA_`*
- move `NCALPHA_`* constants to the channel module where `NcAlphaBits`
is defined.
- fix several docs and doclinks.
- rustfmt.
3 years ago
joseLuís bcd09be7d3 [rust] deprecate `Notcurses` use and rename it to `Nc`.
In order to be consistent with the rest of the naming scheme, and in order to avoid conflicts with the higher level rust wrappers, which will be using `Notcurses` for the wrapper struct from now on.

- also deprecate `NotcursesOptions` and rename it to `NcOptions`.
- update examples, docs and readme.
3 years ago
joseLuís d07071246b [rust] update docs
- add more NcPlane docs.
- minor fixes.
3 years ago
joseLuís e95f540c02 [rust] rename NcStyleMask to NcStyle 3 years ago
joseLuís 85cfca8df8 make `check_pixel_support` require a const reference
- fix rust bindings
- related #1766
3 years ago
joseLuís e14f77433f [rust]
- improve docs.
- fix some doclinks.
3 years ago
joseLuís 48c85d5220 [rust] rustfmt; fix docs 3 years ago
nick black ca4a1c7fd8 roll back wayward sed on rust 3 years ago
nick black cadd4aefee s/CELL_ALPHA_/NCCELL_ALPHA_/g 3 years ago
joseLuís 2c8a364f3a [rust] fix pixel-cell example
- fix column and row order in visual resize methods
3 years ago
joseLuís 3d830f5e73 [rust] updates against 2.3.4
- remove ncvisual_inflate and add ncvisual_resize_noninterpolative & fix example.
- add notcurses_detected_terminal & ncdirect_detected_terminal.
- take into account new static functions pending to implement:
  ncdirect_light_box, ncdirect_heavy_box, nccells_light_box, nccells_heavy_box, nccells_ascii_box.
- update module info headers notation.
3 years ago
nick black 160868d9e8
v2.3.4 3 years ago
nick black 4ca1036da9
v2.3.3 3 years ago
joseLuís 125ab361e6 [rust] add pending functions
- include new functions: ncdirect_stream, ncdirect_supported_styles, ncdirect_styles, nccell_width, ncinput_nomod_p.
- account for functions: ncplane_halign, ncplane_valign.
- rename ncpalette_get_rgb and ncpalette_set_rgb to ncpalette_get_rgb8 and ncpalette_set_rgb8 respectively.
- minor formatting fixes.
3 years ago
joseLuís 007af7f9af [rust] delete example issue #1753 3 years ago
joseLuís ad7b67ec5b [rust] fix docs 3 years ago
joseLuís 640a2b138e [rust] add example for issue #1753 3 years ago
joseLuís fce6ee22db [rust] update ncdirectf_geom & NcVGeom #1746 #1749 3 years ago
joseLuís 8432486b26 explain the return value of ncplane_set_base 3 years ago
joseLuís 0ea7c5236d [rust] add example issue #1751 3 years ago
joseLuís 8d902f5c2b [rust] update ncdirectf_render #1738 3 years ago
joseLuís f9418f875d [rust] update example #1716 #1742 3 years ago
joseLuís 9d1ca028c5 [rust] fix ncdirectf_render method #1738 3 years ago
joseLuís 852cde9a75 [rust] add NCVISUAL_OPTION_NOINTERPOLATE
- update the `pixel-cell` example.
- change the type of ncvisual flags parameter to u32.
- minor doc fixes.
3 years ago
joseLuís 6f1f544b77 [rust] add prsleep macro + fixes
- add prsleep macro for rendering & rasterizing a plane pline + sleep
- fix some comments and refactor a little
3 years ago
joseLuís 95cd7ad27e [rust] delete example #1732 3 years ago
nick black a6433caeaa add NCVISUAL_OPTION_NOINTERPOLATE #1576 3 years ago
Daniel Brooks 313f1caaa0 cargo doc complains about some urls that are not turned into links
so turn them into links.
3 years ago
joseLuís 9bbfd96dd7 [rust] delete examples for issues #1559 #1699 3 years ago
joseLuís 5d4ee0f294 [rust] fix examples 3 years ago
joseLuís 0d7b6619bb [rust] add example for issue #1732 3 years ago
nick black 7b7308e866
[rust] pixel-cell example: make 'em match #1728 3 years ago
Daniel Brooks 477797716f remove unsafe code from example “issue-1716”
Now that the NcDirectF type and its methods are defined, there is no
need to set a bad example.
3 years ago