Commit Graph

101 Commits (8b0c138b728b2731b7f2a6a63ee3d55b23eb72c0)

Author SHA1 Message Date
nick black 2ee6e23071
rust: no more NCSTYLE_STANDOUT 3 years ago
joseLuís 42d0feb265 [rust] delete uneeded examples for closed issues 3 years ago
joseLuís bbc9f0e595 [rust] update example 3 years ago
joseLuís 7d5e800eb3 [rust] new example issue-rgb_packed #1806 3 years ago
joseLuís 90a2ff6fca [rust] fix pixel-cell example
- fix some docs and parameter names.
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 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 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 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
joseLuís 007af7f9af [rust] delete example issue #1753 3 years ago
joseLuís 640a2b138e [rust] add example for issue #1753 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 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 95cd7ad27e [rust] delete example #1732 3 years ago
nick black a6433caeaa add NCVISUAL_OPTION_NOINTERPOLATE #1576 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
joseLuís f44175b9c3 [rust] update example for issue #1716 3 years ago
joseLuís 1c6a50e047 [rust] add example for issue #1716 3 years ago
joseLuís 47c794050a [rust] update example #1699 3 years ago
joseLuís 8fa70935fe [rust] update issue-1699 example 3 years ago
joseLuís e839a95c2b [rust] fix build, remove raqote 3 years ago
joseLuís 7e51f04111 [rust] new example issue-1699; issue #1700
- add raqote 2D graphics library as a dev-dependency
3 years ago
nick black 8025beb6d8
[rust] fix issue-1559 example, i think #1559 3 years ago
joseLuís 129e208438 [rust] refactor Notcurses & NcDirect wrapping approach
- remove `Nc` & `NcD` wrappers, to move them to notcurses-rs library.
- update the summary header format for Notcurses and NcDirect
- update docs and examples
3 years ago
joseLuís dcfb368b21 [rust] remove example for issue #1575; fix warning
- delete file issue-1573.rs (wrongly named)
- fix warning in example issue-1559
3 years ago
Nick Black ba6088578d
Sixel unit tests #1580 (#1586)
Two unit tests on Sixel round trips, one with wipes #1580.
3 years ago
joseLuís 9e2add4e46 [rust] update capabilities, support new functions.
- add new Notcurses methods: `canhalfblock()` and `canquadrant()`.
- add doc links to NCBLIT_* flags from the capabilities methods.
- update the full-capabilites example to include `canhalfblock`, `canquadrant`,
  `canchangecolor` and `canfade` functions.
- rustfmt
3 years ago
joseLuís 5c216c2f9b [rust] blitter related updates
- move blitter type, NCBLIT_* constants and NcPixelGeometry from the plane module to the visual module.
- add information about blitter graceful degradation the NcBlitter type.
- add cross linking from/to the NCVISUAL_OPTION_NODEGRADE flag.
- update the full-capabilites example to include braille.
3 years ago
joseLuís a3017033a6 [rust] new example issue-1573 #1573 3 years ago
joseLuís bc123fbba8 undo prev. ncvisual_resize related changes #1559 3 years ago
joseLuís 0ec15fa920 update doc for ncvisual_resize; fix #1559 3 years ago
joseLuís 6ab072c953 [rust] update example pixel-cell & remove poc-planebase 3 years ago
joseLuís 1e69b48bbd [rust] add example issue-1559 #1559 3 years ago
joseLuís c7f1c32f7f [rust] update pixel-cell example; #1546 3 years ago
joseLuís 08a3edb71f [rust] update pixel-cell example; #1546 3 years ago
joseLuís eaee89c99f [rust] renamed FullMode & DirectMode to Nc & NcD
- improve pixel-cell example.
- rustfmt
3 years ago
joseLuís 48ab7e0945 [rust] fix #1509
- fix bugs in macros: error, error_ref & error_ref_mut
- remove issue-1509 example
- minor improvements
- rustfmt
3 years ago
nick black 76241f81d2 [rust] adapt pixel-cell.rs 3 years ago
joseLuís 932f4c1b7c [rust] simplify issue-1509 example 3 years ago
joseLuís 1afe6f162e rust: add new pixel geometry functionality
- add NcPlane method .pixelgeom.
- upgrade full-capabilities example.
- fix NcVisual method .blitter_geom docs.
- rustfmt
3 years ago
joseLuís 66d4f323e8 rust: fix .gitignore; remove issue example
- make .gitignore just ignore the *root* build dir
- remove unneeded rust/.gitignore
- remove no longer needed issue-rgba.rs
3 years ago
joseLuís 429ca673d3 rust: several fixes; add example for issue #1509
- fix method name: NcPlane.at_yx_cell().
- tell bidngen derive more traits when it can
- update .gitignore so it doesn't ignore rust/build
3 years ago