1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-07-20 15:57:46 +00:00
Commit graph

26 commits

Author SHA1 Message Date
056fdb52a0 Always return ExcelRowKind::Subrows in a subrow-enabled sheet
See #14
2025-07-01 18:14:50 -04:00
209e62e5b5 Fix tests due to API changes 2025-06-30 21:43:33 -04:00
862b16b681 Fix reading subrow ids again, add helpers to get subrow 2025-06-30 21:29:23 -04:00
1d3192de23 Fix various Cargo and Clippy warnings 2025-06-02 17:32:31 -04:00
0313f75abb Fix how we read/write packed booleans in EXD, add another write test
Apparently we were reading packed booleans wrong the whole time
(whoops!) They are packed into *bytes*, oops... That is fixed now, and I
also expanded write support for packed booleans. It makes the assumption
that the byte is always at the end of the row, but I think that's OK for
now.

I also added a good test-case for this, the PhysicsGroup EXD. It has a
lot of rows, and some packed booleans thrown in. The columns also have
out-of-order column definitions (as in, their offsets don't increase in
order.)
2025-05-10 23:31:53 -04:00
36304a2e57 Finish basic EXD write support, add tests for GCShop
Expanding upon the EXH tests of this same data, we can successfully
write it back (hence why it's testdata now!) A lot of the writing logic
is specific for this EXD, but it's a start.
2025-05-10 21:38:47 -04:00
c5613cd431 Add support for writing EXH files
This is an easy format to add write support for, and we can recreate the
"GCShop" EXH which is super simple as it's just one page and one
language.
2025-05-10 19:06:06 -04:00
70343e1212 Derive Copy, Clone in ExcelColumnDefinition 2025-05-09 17:40:30 -04:00
26c4041b68 Refactor EXD parsing, begin adding write support 2025-04-28 16:42:32 -04:00
eee7d5867f Add some derives for ColumnDataType 2025-03-23 19:41:19 -04:00
8c7ba051ed Add repr(C) to ColumnDataType 2025-03-23 19:38:03 -04:00
bb7c74fec8 Redesign how IndexFile parsing works, again
Now it reads much more of the index file format, and tries to handle
index1/index2 differences more opaquely. I'm not yet happy with the API, it
needs a bit more work.
2025-03-06 18:52:26 -05:00
d5b3b8a468 Run cargo fmt 2024-04-20 13:18:03 -04:00
6e50f03cd9 Fix yet more clippy warnings 2024-04-20 13:17:11 -04:00
e51b1024df Add invalid data test for EXH 2024-04-16 21:52:36 -04:00
d9bf25cb0e Add invalid data test for EXD 2024-04-16 21:52:14 -04:00
7a75c170cc Make a semantic difference between owned and non-owned byte data 2023-10-13 16:16:04 -04:00
2000b978b3 Ensure compliance with REUSE, add to CI 2023-08-06 08:25:04 -04:00
1fd7cdf07d Begin write support for EXH 2023-08-02 16:27:28 -04:00
0eb8e4c932 Make more EXH fields public 2023-04-09 15:35:10 -04:00
9819f87fcc Suppress some warnings 2022-09-15 16:26:31 -04:00
d9e79e563a Reformat code 2022-08-16 11:52:07 -04:00
c7184cb36f Fix Clippy warnings and errors 2022-08-16 11:50:18 -04:00
be9c850fc1 Remove some warnings 2022-07-27 21:21:50 -04:00
036a37c839 Make ColumnData repr(C), make EXH members public outside of crate 2022-07-21 20:25:37 -04:00
ca4962c876 Add EXH and EXD parsers 2022-07-21 19:58:58 -04:00