Commit Graph

42 Commits

Author SHA1 Message Date
William Toohey
1b6a3580cc Fix BrokenPipeError when piping kbinxml output 2024-04-28 10:54:05 +10:00
William Toohey
b1cb927fd2 Remove py2 support, format code, add type annotations, convert illegal node names 2023-10-26 18:02:31 +10:00
William Toohey
3a7f038c70 Merge branch 'master' of https://github.com/mon/kbinxml 2023-07-13 21:09:24 +10:00
William Toohey
ae7c172820 Be more lenient when decoding malformed strings 2023-07-13 21:09:15 +10:00
Shiz
718d4c8478 testcases: update output kbin for array alignmen test
git add -p is deceptive, whoops.
2023-06-03 11:22:20 +10:00
Will
ce3c47325f
Merge pull request #7 from Shizmob/feature/array-alignment-testcase
testcases: add array packing/alignment test case
2023-06-03 10:11:54 +10:00
Shiz
48db748632 testcases: add array packing/alignment test case
array reads are never taken from the packed buffers, even if the
total array size would easily fit in them.
2023-06-02 14:40:21 +02:00
William Toohey
b847de5453 Bump version to 1.7 2021-05-03 22:33:39 +10:00
William Toohey
5707a6bf8b is_binary_xml: don't explode on too-short inputs 2021-05-03 22:32:27 +10:00
William Toohey
3cbc3179a8 Support namespace deserialisation 2020-07-10 10:23:36 +10:00
William Toohey
b1339d6c4b Fix strings with extra NUL padding 2020-07-10 09:26:55 +10:00
William Toohey
ca4a6e309e re-add 0x00 encoding 2018-06-19 16:26:43 +10:00
William Toohey
8784a76672 ISO 8859 was also wrong 2018-06-15 15:58:32 +10:00
William Toohey
68166ea9ab I was using the wrong encoding the whole time 2018-06-15 15:08:42 +10:00
William Toohey
fed34e0943 Fix python 2 (again) 2018-05-31 15:23:29 +10:00
William Toohey
042323917c Drop bitarray requirement 2018-05-25 23:59:55 +10:00
William Toohey
dccacdb6e6 Fix python2 (again) 2018-01-30 11:16:21 +10:00
William Toohey
50fa4b8d23 Support writing compressed tag names 2018-01-10 22:24:59 +10:00
William Toohey
a4eb17c70b Speed improvements 2018-01-09 21:25:56 +10:00
William Toohey
acd3a4195d PyPi! 2018-01-09 17:05:30 +10:00
William Toohey
1fc6b47484 In-memory size calculation 2018-01-09 16:55:13 +10:00
Will
a77eee91db
Create LICENSE 2018-01-07 22:41:52 +10:00
William Toohey
4e53144e42 Simpler install guide 2018-01-05 01:56:41 +10:00
William Toohey
b7e7387031 Set encoding variable on plaintext input 2017-12-18 20:31:21 +10:00
William Toohey
d17d979682 Now an installable package! 2017-12-12 03:28:57 +10:00
William Toohey
0aaffee14f Minor readability improvements and bugfixes 2017-12-08 00:13:42 +10:00
Willy Lau
e1cf85298e
Fix a045 decoding 2017-11-16 21:38:22 -05:00
William Toohey
a6c27eef65 Fix unicode in attr values 2017-07-21 01:00:13 +10:00
William Toohey
d4514ea4be Switch to lxml, completely fix Unicode, add test cases 2017-07-05 17:51:47 +10:00
William Toohey
be1c9f9a8c Fix 1 byte sixbit names 2017-06-28 20:47:05 +10:00
William Toohey
01eee84a1c Python 3 compatibility, fix decode errors. Closes #5 2017-06-26 19:39:53 +10:00
William Toohey
e61daef7a3 More comprehensive test files and basic test script 2017-06-26 19:34:06 +10:00
William Toohey
9a7b6abe10 Add test files and expected outputs - not passing yet 2017-06-26 12:51:58 +10:00
William Toohey
88427291ff Fix missing ':' in sixbit encoder 2017-06-22 00:34:01 +10:00
William Toohey
d9fe9c7c3a Add README 2017-06-22 00:17:34 +10:00
William Toohey
48d5a075b4 Rename main module for PEP 2017-06-22 00:12:10 +10:00
William Toohey
84f6ffd116 Much needed cleanup/restructure 2017-06-22 00:11:28 +10:00
William Toohey
6f62a2db64 Fix #1 (alignment) 2017-06-21 18:22:46 +10:00
Will
d21602e149 Merge pull request #2 from mon/fix-attributes
Save attributes after node contents
2017-06-20 23:35:04 +10:00
Will Xyen L
8195191489 Save attributes after node contents 2017-06-20 06:46:34 -04:00
William Toohey
c39b50a236 Fix various issues, move to class structure 2017-06-13 23:52:50 +10:00
William Toohey
d1e9ab72bf Initial commit 2017-06-13 19:57:04 +10:00