291 Commits

Author SHA1 Message Date
basta a73d0bec16 fixed accidental attempt at publishing binary-testing v2.2.2 2026-07-02 00:12:28 +05:30
BastaMasta 6e12999313 Merge pull request #53 from BastaMasta/readme-patch-zwj
Readme patch zwj
2026-07-02 00:06:42 +05:30
basta 4da82b3d42 bumped crate version 2026-07-01 21:31:39 +03:00
basta 51c8de131a added note to depict that zwj sequences pose probems based on the terminal, and may work improperly depending on the terminal 2026-07-01 21:30:40 +03:00
BastaMasta de9db85cbb Merge pull request #52 from BastaMasta/opti
squashed efficiency guzzlers, and made few memory optimizations
2.2.1
2026-06-27 23:37:07 +05:30
BastaMasta 5ff2a63a66 Merge pull request #50 from BastaMasta/readme-patch-3
Change image for columnar box in README
2026-06-27 23:35:51 +05:30
basta 0f3353f9cc squashed efficiency guzzlers, and made few memory optimizations 2026-06-27 21:04:58 +03:00
BastaMasta 10941675ca Merge pull request #51 from BastaMasta/BastaMasta-patch-1
Update Cargo.toml
2026-06-27 23:00:04 +05:30
BastaMasta 627c4b99cc Update Cargo.toml
fixed invalid crate maintainance status
2026-06-27 22:58:55 +05:30
BastaMasta 62a1a11324 Change image for columnar box in README
Updated image reference for columnar box in README.
2026-06-27 15:56:02 +03:00
BastaMasta 14412e7187 Merge pull request #49 from BastaMasta/readme-patch-2
fixed readme link
2026-06-27 18:23:57 +05:30
basta 415bca64c5 fixed readme link 2026-06-27 15:52:13 +03:00
BastaMasta 4dc0ec30ef Merge pull request #48 from BastaMasta/render
Add Render and Unicode support
2.2.0
2026-06-27 16:08:14 +05:30
basta 84d00f5dc4 also added unicode support for columns 2026-06-27 13:26:33 +03:00
basta b89be9bbb3 updated readmes and bumped crate version v2.2.0 2026-06-27 13:23:38 +03:00
basta a2a7901d06 added docs for render() 2026-06-27 13:16:26 +03:00
basta 59553eecd8 added complete unicode support:
added tests;
added helper fn for tests;
added note for unicode support in lib.rs
2026-06-27 13:12:16 +03:00
basta ccfc7d15ca added complete unicode grapheme support! yay 2026-06-27 13:00:25 +03:00
basta d10fc4b3b7 removed old iter_line_print function 2026-06-26 22:11:50 +03:00
basta ad490917c7 fixed right extra pad bug and added a buttload of tests 2026-06-26 21:24:52 +03:00
basta 585bf03794 migrated everything to new render function and render-type helper functions 2026-06-26 20:09:52 +03:00
basta ac74c5667d migration started successfully
created new render() method for Boxy
cloned print_h_divider to render_h_divider to return the divider string

TODO:
create render versions of the following:
    - display_segment (make render_segment)
    - print_cols (make render_cols)
2026-06-24 18:11:23 +03:00
basta 0236236a80 removed usless gitea tests - moved repo out of clone 2026-06-24 16:43:44 +03:00
basta cbcc8fccd4 removed extra comment 2026-06-24 16:38:13 +03:00
basta e9ced057f2 removed unnecessary argument form the iter_line_print function 2026-06-24 15:10:55 +03:00
basta 316cec8d7b removed magic numbers and conditions form iter_line_print to make everything cleaner 2026-06-24 15:04:08 +03:00
BastaMasta 06a0c72728 Merge pull request #46 from BastaMasta/gh-actions-patch-1
Enhance Rust CI workflow with caching and checks
2026-06-24 06:16:26 +05:30
basta 61660ed429 implemented clippy suggestions 2026-06-24 03:20:27 +03:00
BastaMasta 1414213575 Enhance Rust CI workflow with caching and checks
Updated the GitHub Actions workflow to include caching for cargo registry and build steps, added format check, Clippy analysis, and security audit steps. Removed redundant steps and reorganized the workflow for better efficiency.
2026-06-24 02:59:53 +03:00
BastaMasta b8903d4732 Merge pull request #44 from BastaMasta/dev
Update Crate to 2.1.0 - The Column update
2.1.0
2026-06-23 17:01:21 +05:30
BastaMasta 4ec36f77c0 Merge branch 'main' into dev 2026-06-23 17:00:07 +05:30
basta 8a67e18cbf added disclaimer for unicode support 2026-06-23 13:23:36 +03:00
basta 04ceb950dd updated colored to v 3.1.1 2026-06-23 01:37:27 +03:00
basta 189679d350 fixed typos
updated description
update colored crate to V 3.1.1
added warning if library compiled with insufficient docs
2026-06-23 01:36:43 +03:00
basta fd856d1ad5 improved docs, resolved certain doc errors and warnings 2026-06-23 01:28:44 +03:00
basta d99b7d5fd6 fixed few doc inconsistencies 2026-06-23 01:20:45 +03:00
basta 0fd30ffe60 added 2 comments to the previous fix, and added missing docs 2026-06-23 01:03:08 +03:00
basta c17a1f0600 added extra tests to binary-test 2026-06-22 21:47:54 +03:00
basta 889d1978a9 fixing the example charbox 2026-06-22 21:21:38 +03:00
basta 042d4e1880 fixing the example charbox 2026-06-22 21:20:32 +03:00
basta e06eff93f9 remove extra spacing 2026-06-22 21:18:40 +03:00
basta 45588c4e71 removed images from the crate, and readmy coopy at root, with the images 2026-06-22 21:17:26 +03:00
basta f7eee64da4 fixed internal padding issue, which caused extra padding on the right
side of text.

also updated docs and readme. need to see if readmem retains proper
immages
2026-06-22 21:13:24 +03:00
basta 6855331d7e updated BoxyBuilder to have public API for the columnar stuff.
squashed a few potential bugs along the way
2026-06-22 15:33:55 +03:00
basta 1a77accb61 Moved the parse-colour-when-needed syste to store colours as parsed
Colour structs.

Also had the boundaries vec in the col_boundaries function be of
pre-allocated capacity, the same length as col_widths. no need to hve
dynamically sized vec when you know the length

hopefully this at least even slightly increases the efficiency
2026-06-22 14:46:33 +03:00
basta 3ffaa75f59 moved from complicated .push_str(&format!()) calls to write! calls. simpler, and takes a tad less memory (no throwaway strings produces by format! and immediately deref to slices before writing, direct writes) 2026-06-22 00:06:40 +03:00
basta d2202b2981 printing system overhaul!
replaced multiple print! and println! calls with a buffer system, that
stores the stuff, and spits it out in one go.

this reduced debug runtime per box from ~ 5ms to ~700us.

big win for the crate.

will continue optimising further
2026-06-21 21:18:05 +03:00
basta 0b3b03bdbf Updated crate version to keep versioning in line with SemVer 2026-06-21 17:40:59 +03:00
basta 0934f4b844 updated binary test 2026-06-21 16:47:48 +03:00
basta bee6077b6c added public apis for the columnar data; added docs for new stuff 2026-06-21 16:46:05 +03:00