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 .
4 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
4 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.
4 years ago
joseLuís
a3017033a6
[rust] new example issue-1573 #1573
4 years ago
joseLuís
bc123fbba8
undo prev. ncvisual_resize related changes #1559
4 years ago
joseLuís
0ec15fa920
update doc for ncvisual_resize; fix #1559
4 years ago
joseLuís
6ab072c953
[rust] update example pixel-cell & remove poc-planebase
4 years ago
joseLuís
1e69b48bbd
[rust] add example issue-1559 #1559
4 years ago
joseLuís
c7f1c32f7f
[rust] update pixel-cell example; #1546
4 years ago
joseLuís
08a3edb71f
[rust] update pixel-cell example; #1546
4 years ago
joseLuís
eaee89c99f
[rust] renamed FullMode & DirectMode to Nc & NcD
...
- improve pixel-cell example.
- rustfmt
4 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
4 years ago
nick black
76241f81d2
[rust] adapt pixel-cell.rs
4 years ago
joseLuís
932f4c1b7c
[rust] simplify issue-1509 example
4 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
4 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
4 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
4 years ago
joseLuís
7d51756a12
rust: new poc-planebase example; doc improvements
...
- improve NcVisual.from_rgba documentation.
- fix Notcurses.term_dim_yx documentation.
- new example `poc-planebase` to help find the bug.
- improve full-capabilities example a little.
4 years ago
joseLuís
60c874f835
rust: impl ncplane_as_rgba; refactor macros
...
- rename and refactor NcPlane method rgba() to as_rgba().
- add example `issue-rgba` that shows a problem when the plane has text.
- refactor `error_ref` & `error_ref_mut` macros to allow custom return values
4 years ago
joseLuís
36a7355cd8
rust: minor examples updates
4 years ago
joseLuís
ae2af14281
rust: new methods, refactor methods and planes example
...
- add NcChannelPair constructors.
- change some NcChannel methods to return Self: set(), set_alpha()
- add NcPlane methods move_rel() & resize_simple_rel().
- add example full-planes (WIP).
- remove proto-example full-basics.
- small update of poc-menu example.
4 years ago
joseLuís
435b8cb6a7
rust: refactor examples & palette_size method
...
- refactor Notcurses.palette_size() to return an NcResult.
- refactor & rename example direct-text.rs to direct-capabilities.rs.
- new example full-capabilities.rs
4 years ago
joseLuís
aa9bf7a0e7
rust: add ncplane_abs_yx, ncplane_abs_y, ncplane_abs_x
...
- minor updates
4 years ago