Maijin
797fcd0ff6
test: increase coverage for RzCons and its components ( #5735 )
...
- Added tests for Cons Canvas, Histogram, HUD, Pal, Pager, Pipe, RGB, HTML, Line.
- Fixed rz_str_ansi_filter null terminator bug.
- Refactored test_cons.c by splitting it into smaller files.
- Improved many existing assertions to verify actual output content.
- Restored mu_assert_notnull checks for better reliability.
Co-authored-by: Maijin <maijin21@gmail.com>
2026-01-07 12:27:45 +08:00
Anton Kochkov
1f4befd24e
Remove global RzLine instance
2024-01-07 22:40:25 +08:00
ez2take
a36f34da2b
Add Undo/Redo to dietline emacs mode. ( #3445 )
2023-04-14 11:56:01 +08:00
karliss
32ef171354
Fix reset followed by color change in rz_cons_html_filter ( #2912 )
2022-08-13 09:43:18 +02:00
Riccardo Schirone
0b66dc3b7d
Simplify kill_word functions in dietline and fix META-D bug
...
* just use one kill_word/backward_kill_word function to reduce dupped
code
* fix kill_word to correctly move buffer data
* add unit test for kill_word behaviour
2021-04-22 11:47:44 +02:00
Riccardo Schirone
53bf5c497f
SPDX Copyright text for all files based on history
...
- Add LICENSES directory
- Download additional licenses used
- Add .reuse directory
- Add doc about SPDX/reuse
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-03-05 19:39:15 +08:00
Anton Kochkov
a0be4e2e64
Run clang-format
2021-01-21 22:05:44 +08:00
Riccardo Schirone
c734cbe560
Replace RzCons->line with the created one and just call rz_cons_free
...
rz_cons_free already calls rz_line_free on cons->line.
2021-01-07 18:59:43 +08:00
Anton Kochkov
1d453a073b
Rename test_r_* to test_rz_*
2021-01-03 11:42:38 +01:00
Riccardo Schirone
a7fd3fa3c6
Use mu_main to reduce boilerplate in unit tests
...
* Disable colors on Windows because terminal looks bad otherwise
* Use environment on Windows to set PATH and make sure unit tests use
the compiled libraries and not the installed ones
* Define ssize_t on Windows as well by using SSIZE_T
Update test_analysis_block.c
Update test_intervaltree.c
Update test_unum.c
2021-01-03 11:42:38 +01:00
Riccardo Schirone
21175fa26b
Fix unit tests: mock columns/rows console and reduce big time
2020-12-09 18:37:30 +01:00
Riccardo Schirone
c98e393618
Add initial version to complete filenames, env and choices ##newshell
...
* Add unit test for RzCore autocompletion
2020-11-16 16:19:35 +01:00
Riccardo Schirone
d4d1eee103
Add cfg.newshell.autocomplete and basic code to make it work
2020-11-16 16:19:35 +01:00
Riccardo Schirone
721609a17b
Rename to rizin ( #2 )
2020-10-01 16:13:03 +02:00
karliss
adc2fb525d
Improve cons_html_filter. ( #17471 )
...
Better handle mix of background and text color changes.
2020-08-17 09:13:20 +03:00
Florian Märkl
204e038211
Fix r_cons_rgb_parse() harder ( #16061 )
...
Also fix init of some ret args in r_meta_print()
2020-02-27 20:13:34 +01:00
pancake
225ba69774
Fix RCons test UB issue
2020-02-18 10:19:14 +01:00
pancake
77ce3bb7c3
Add testcase for this RCons.rgbParse() crash
2020-02-18 01:06:47 +01:00