Petri Lehtinen

Results 108 comments of Petri Lehtinen

Is it common for projects like Jansson to ship a vala binding or to have it as a separate project? Do you have examples of other libraries shipping it?

To me, Autoconf/Automake is the "official" way to build source tarballs and install files. If you add jansson.vapi to be installed to `$datadir/vala` via Automake, we can find out the...

So decimal is just a fixed-point number that has to fit the 31 or 63 bits that `json_int_t` has to offer? The usefulness sounds quite limited to me. Regular IEEE...

I rebased the original bignum patch by @dmeranda on top of current master: https://github.com/akheron/jansson/tree/bignum If you have time, you could have a look at it and how well it works...

As the output says, the file `test/test-suite.log` would tell where the actual error is.

At one point I had an idea that the parser could be changed to be incremental/callback based. I looked into it and came to conclusion that more or less the...

Weird. This is probably a bug in Sphinx, maybe it doesn't handle enums and functions with the same name 🤔

Yeah, it is when compiling with CMake. With ./configure && make, this doesn't seem to be the case currently.

This is a good idea. Could you write the patch yourself?

True, but this would require caching the original JSON data in the error struct, which is not practical at least for `json_load_callback()` and `json_loadf()` if the input file is not...