Commit Graph

573 Commits

Author SHA1 Message Date
joseLuís
8f1a63bfc4 [rust] re-add missing bindgen symbols 2021-08-06 16:09:52 +02:00
nick black
9fcbf00420
v2.3.13 2021-08-04 23:37:22 -04:00
joseLuís
c52f373b66 [rust] clean up some more bindgen bindings 2021-07-31 17:25:16 +02:00
joseLuís
acbd0ffeeb [rust] add nccell_cols, deprecate nccell_width 2021-07-31 17:10:55 +02:00
nick black
1e248e41e1
v2.3.12 2021-07-29 00:55:19 -04:00
joseLuís
dbc060503c [rust] fix example; update function-summary.sh 2021-07-27 16:54:12 +02:00
nick black
7e74d96792
rust: update to new set_{fg,bg}_rgb() 2021-07-25 09:34:31 -04:00
nick black
30d71ab6b9
v2.3.11 2021-07-20 14:07:47 -04:00
joseLuís
ca284f9093 [rust] skip notcurses_debug test in macos #1937
also:
- minor warning fix
2021-07-18 10:03:42 +02:00
joseLuís
b6f6e08dce [rust] use FILE instead of _IO_FILE #1938
also restore `NcFile` for `macos` to see if it makes a difference.
2021-07-17 20:38:06 +02:00
joseLuís
27a2b76c20 [rust] disable another test in macos #1937
in NcCell::from_char()
2021-07-17 15:37:51 +02:00
joseLuís
6e85a3c7ea [rust] fix some miri errors #1937
`cargo +nightly miri test --no-fail-fast -- --test-threads 1 --nocapture`
2021-07-17 15:07:19 +02:00
nick black
3aaff6a944
v2.3.10 2021-07-14 22:41:59 -04:00
joseLuís
84064da03f [rust] remove NcFile for macos; #1937 #1938
- remove the Notcurses.render_to_file method.
2021-07-14 22:41:52 +02:00
joseLuís
54ce1b6171 [rust] remove NcFile for macos; #1937 #1938
- also remove the notcurses.debug method.
2021-07-14 21:28:56 +02:00
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.
2021-07-14 09:49:50 +02:00
nick black
561f4eba8c
v2.3.9 2021-07-12 12:24:38 -04:00
nick black
83d8724e63
updating CELL_ -> NC_ references 2021-07-10 18:34:00 -04:00
joseLuís
4d501f81ce [rust] rename NcChannel*.with_default method to default 2021-07-10 20:17:22 +02:00
joseLuís
06b0b2360a [rust] fix poc-menu example 2021-07-10 20:17:08 +02:00
joseLuís
a1010d0dca [rust] export widgets from its own separate module
- update & fix docs.
2021-07-10 19:58:26 +02:00
joseLuís
873a75f77f [rust] add putln method to NcPlane.
- fix compilation error using older rust version.
- update docs.
2021-07-09 20:37:53 +02:00
joseLuís
115b06c386 [rust] support "none" style in lex_styles method. 2021-07-09 19:59:34 +02:00
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.
2021-07-09 19:22:04 +02:00
joseLuís
2dd1e8812e [rust] hide the docs of deprecated items 2021-07-09 13:42:36 +02:00
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
2021-07-09 11:33:23 +02:00
joseLuís
14bab81e07 [rust] rename prsleep macro to psleep
- update macro docs
2021-07-08 21:27:50 +02:00
joseLuís
f1f97aeee7 [rust] continue solving bugs for #1339
also update `example-1832.rs` & run rustfmt
2021-07-06 14:19:54 +02:00
joseLuís
f401d85733 [rust] update function-summary data & minor fix 2021-07-04 11:23:04 +02:00
nick black
1189891167
v2.3.8 2021-07-04 01:14:12 -04:00
nick black
8b6a30cba8
v2.3.7 2021-06-29 07:10:22 -04:00
joseLuís
fc4757289b [rust] hide some macro docs intended for internal use
- and improve `issue-1832` example a little
2021-06-27 22:24:56 +02:00
joseLuís
f8747ea3e9 [rust] add example for issue #1832 2021-06-27 16:33:03 +02:00
joseLuís
504dcaad59 [rust] remove NcSignalSet
- hopefully solved the remaining bug of #1339
2021-06-27 15:16:02 +02:00
joseLuís
adc1447778 [rust] add ncplane_scrolling_p & NcPlane.scrolling 2021-06-27 15:06:28 +02:00
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.
2021-06-27 13:12:26 +02:00
joseLuís
0760223fb5 [rust] add NCOPTION_PRESERVE_CURSOR 2021-06-26 12:50:32 +02:00
joseLuís
8cc32fd065 [rust] bring back NCSTYLE_BLINK 2021-06-26 12:42:07 +02:00
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.
2021-06-26 12:33:04 +02:00
nick black
9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818 2021-06-24 02:13:57 -04:00
nick black
481d539092
v2.3.6 2021-06-23 22:35:19 -04:00
nick black
2ee6e23071
rust: no more NCSTYLE_STANDOUT 2021-06-23 22:22:11 -04:00
nick black
383678da4e
move remainder of debug_caps into notcurses-info #1793 2021-06-23 21:46:08 -04:00
nick black
8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818 2021-06-23 21:23:12 -04:00
nick black
a14a5271ac
v2.3.5 2021-06-23 13:07:42 -04:00
joseLuís
a3c593eed9 [rust] fix some docs 2021-06-23 18:36:27 +02:00
joseLuís
fe275447fb [rust] rename NcPixelGeometry fields 2021-06-22 18:13:20 +02:00
joseLuís
42d0feb265 [rust] delete uneeded examples for closed issues 2021-06-22 12:31:20 +02:00
joseLuís
bbc9f0e595 [rust] update example 2021-06-22 02:16:35 +02:00
joseLuís
7d5e800eb3 [rust] new example issue-rgb_packed #1806 2021-06-21 21:06:01 +02:00