Commit Graph

71 Commits

Author SHA1 Message Date
R.E.J. Wellner
98ec31d243 Create LICENSE.txt 2022-07-01 15:57:38 +02:00
Adrien Bertrand
1d3ebe04cf
metatables: feature to toggle (de)serializing them. Fix #21. (#22) 2021-02-14 18:53:02 +00:00
Jasmijn Wellner
66042a5b09 Fix Slither test
Slither no longer requires class.private.
2020-12-26 15:20:06 +01:00
Jasmijn Wellner
c08f169e91 Do not try to serialize metatables for class instances 2020-12-26 15:15:53 +01:00
Jasmijn Wellner
f6e78d0c2a Update tests
253 is no longer unassigned
2020-12-26 15:00:06 +01:00
Jasmijn Wellner
54a3c9e711 Update slither url
Let's make sure those builds succeed!
2020-12-26 14:32:19 +01:00
Jasmijn Wellner
02476589e3 Add ability to serialize metatables 2020-12-26 14:22:57 +01:00
Jasmijn Wellner
d30f0c7aca Fixed #18
Bug was that Buffer_newDataReader() assumed buf is always writable,
which isn't the case after reading from a static buffer. Added a
separate flag to describe the nature of buf.
2020-12-26 13:58:14 +01:00
R.E.J. Wellner
884aa8bdc6 Release version 1.1 2020-04-29 20:37:17 +02:00
R.E.J. Wellner
1a9f3d7631 Don't add cdata to seen! 2020-04-29 01:42:38 +02:00
R.E.J. Wellner
cd6ac6f7cb will this work?
at this point, i don't even hope any more
2020-04-28 17:15:06 +02:00
R.E.J. Wellner
776b056d69 either i don't understand luaspec
or i'm losing my mind
2020-04-28 17:11:46 +02:00
R.E.J. Wellner
772f090413 Change tests again
Would be useful if I could run luaspec locally but oh well
2020-04-28 17:03:33 +02:00
R.E.J. Wellner
b7cc46f4bf Fix one of the tests 2020-04-28 16:56:11 +02:00
R.E.J. Wellner
caf972ca80 Add support for cdata
More testing needed
2020-04-28 16:51:41 +02:00
R.E.J. Wellner
5a134b4fce Close #13
Turns out I never fixed this one bug...
2020-04-27 19:47:09 +02:00
Robin Wellner
214ad35f62
Fix #1 with the solution by @pgimeno 2018-11-30 13:17:27 +00:00
Robin Wellner
e817e4de28
Close #12 (serialization bug for string "len")
Thanks to nikki93 for spotting the issue and suggesting this solution.
2018-11-04 13:07:19 +00:00
Robert Machmer
4f2680317c Add assertions for dumpLoveFile and loadLoveFile (#11)
This will print useful error messages instead of just failing silently.

E.g.:
`lib/Bitser.lua:370: Could not open file prabs/test.lua. Does not exist.`
2018-02-20 18:38:47 +01:00
Robin Wellner
dd3034117f
Return true in mock write so asserts work 2018-02-20 15:24:17 +01:00
Robert Machmer
65107f15c0 Fix travis build (#10) 2018-02-20 15:15:46 +01:00
Robin Wellner
e7480da28e Add note about JIT to readme
Hopefully resolves #8
2017-03-29 14:50:09 +02:00
Robin Wellner
b2365c4c0c Update USAGE.md 2017-01-10 14:38:59 +01:00
Robin Wellner
6403e4cc6b Update USAGE.md 2017-01-08 16:54:14 +01:00
Robin Wellner
b0e1be678f Simplify example in README 2017-01-08 16:33:42 +01:00
Robin Wellner
f22c120419 Reference the documentation in README 2017-01-08 16:31:24 +01:00
Robin Wellner
3e3a238eaa Create USAGE.md 2017-01-08 16:28:59 +01:00
buckle2000
3571bdb928 Adds support for Moonscript classes (#6)
Many thanks to @buckle2000
2017-01-08 02:18:11 +01:00
Robin Wellner
3b8dae1dde Add tests for resources whose name is also used as a string 2016-10-31 12:20:29 +01:00
Robin Wellner
714a51faed Merge pull request #5 from Alloyed/fix-classes
Fix reference serialization inside classes
2016-10-31 11:33:30 +01:00
Kyle McLamb
4fe34942c0 Fix reference serialization inside classes 2016-05-11 00:57:41 -04:00
Robin Wellner
cf02122d22 Merge pull request #3 from VideahGams/patch-1
Readme syntax highlighting
2016-04-03 21:16:13 +02:00
Ruairidh Carmichael
2289d5a380 Readme syntax highlighting
Just to make things more readable <3
2016-04-03 19:14:14 +01:00
Robin Wellner
2ad9e981bd Hopefully fix coverage 2016-02-23 14:47:16 +01:00
Robin Wellner
4989dbf403 Yet another attempt... 2016-02-23 14:42:27 +01:00
Robin Wellner
d6ac0e2636 I hope it'll recognise the global now... 2016-02-23 14:37:22 +01:00
Robin Wellner
95e58fb654 Make love global writable 2016-02-23 14:32:36 +01:00
Robin Wellner
9aabbdbf0e Add more tests 2016-02-23 14:29:29 +01:00
Robin Wellner
2b4022fa2d Ugh, I should have read the luacheck docs better 2016-02-23 13:27:12 +01:00
Robin Wellner
7e88b839ef Update travis file for LÖVE-related code 2016-02-23 13:22:07 +01:00
Robin Wellner
60006de9f0 Oops 2016-02-23 13:15:53 +01:00
Robin Wellner
63a512707c Fixes that I forgot to add 2016-02-23 13:00:41 +01:00
Robin Wellner
06d5b69b61 Actually, going ahead and replacing the implementation
Thanks to git I can always roll back if this was a bad idea
2016-02-23 12:44:46 +01:00
Robin Wellner
529cd80c7a Hopefully fix the raw links to other serializers. 2016-02-23 12:16:03 +01:00
Robin Wellner
ff25d2b2b6 Add a non-reentrant version of bitser
This may replace the default implementation if reentrancy does not seem
to be an important constraint for library users.

It tends to be much faster than regular bitser, helping it catch up with
lua-MessagePack and binser in the cases it lags behind.
2016-02-23 12:09:57 +01:00
Robin Wellner
f2ee38a2d6 Add mention of lua-MessagePack to README 2016-02-16 23:51:15 +01:00
Robin Wellner
0deac7ca57 Benchmark now still works even when tested libraries don't 2016-02-16 14:45:18 +01:00
Robin Wellner
eb4c65ffcf Bug fix: actually make different tries in benchmark useful 2016-02-16 14:38:01 +01:00
Robin Wellner
348511c702 Merge pull request #2 from tapir/master
Add lua-MessagePack to benchmark
2016-02-16 14:18:43 +01:00
Coşku Baş
164e4d8e6e Add lua-MessagePack to benchmark 2016-02-16 10:32:15 +02:00