Sebastian Rasmussen
02bdafb46c
Fix a number of typos.
2020-05-27 12:32:32 +02:00
Tor Andersson
832e069049
Support 4-byte UTF-8 sequences.
...
The following functions are no longer restricted to 16-bit integer values:
String.fromCharCode()
String.prototype.charCodeAt()
repr() will not escape SMP characters, as doing so would require conversion to
surrogate pairs, but will encode these characters as UTF-8. Unicode characters
in the BMP will still be escaped with \uXXXX as before.
JSON.stringify() only escapes control characters, so will represent all non-ASCII
characters as UTF-8.
We do no automatic conversions to/from surrogate pairs. Code that worked with
surrogate pairs should not be affected by these changes.
2020-05-27 12:32:32 +02:00
Tor Andersson
0261579d78
Support embedded 0 in strings by using modified UTF-8.
2020-05-27 12:32:32 +02:00
Tor Andersson
84752905b9
Document the expected behavior of js_Put correctly.
2020-03-17 13:11:18 +01:00
Tor Andersson
fe63f4cb3c
Note that js_Report callback must not throw an exception.
...
Nor should it call any functions that may throw exceptions.
2020-03-17 13:11:18 +01:00
Tor Andersson
2c24e194d4
Issue #92 : Remove unimplemented function.
2019-03-08 14:09:10 +01:00
Tor Andersson
b46ee8d829
Add more js_tryxxx conversion functions.
2018-04-27 16:59:35 +02:00
Tor Andersson
228719d087
Remove mention of broken web site.
2018-01-05 14:22:15 +01:00
Tor Andersson
41625ec2d0
Fix logo size in docs.
2017-11-15 15:24:19 +01:00
Tor Andersson
919238c356
Update docs.
2017-09-19 13:47:28 +02:00
Tor Andersson
ffd25b0fe6
Add download link.
2017-09-07 14:31:27 +02:00
Tor Andersson
5b0111dabf
Add logo.
2017-09-07 14:31:27 +02:00
Tor Andersson
03c889d581
Update docs.
2017-06-14 12:37:32 +02:00
Tor Andersson
2dced7cf69
Update docs website.
2017-06-05 10:20:16 -07:00
Tor Andersson
fb32b5c893
Add a js_setreport callback function to report warnings.
...
Don't print error and warning messages directly to stderr.
2017-05-16 12:03:38 +02:00
Tor Andersson
50281c9cee
Update docs.
2017-05-12 14:28:06 +02:00
Tor Andersson
617261bff9
Update docs with userdata callbacks.
2017-04-26 14:39:16 +02:00
Tor Andersson
50ee2a2e4d
Update docs to mention we don't support zero valued chars in strings.
2017-04-20 15:12:12 +02:00
Tor Andersson
58b4420094
Add function-level linking.
2017-04-17 23:27:00 +02:00
Tor Andersson
aa18ef32a6
Update documentation to note our use of CESU-8 encoded strings.
2017-04-04 16:02:30 +02:00
Tor Andersson
7318098a60
Add a simple example.
2017-01-24 14:48:14 +01:00
Tor Andersson
0bb8f448b3
Update docs.
2017-01-13 16:23:09 +01:00
Tor Andersson
0b71921de6
Document js_try and js_endtry.
2016-02-05 17:24:27 +01:00
Tor Andersson
7bbec417c8
Add callback example to docs to show how to use js_ref.
2016-02-05 16:43:46 +01:00
Tor Andersson
0b9d3be3d0
Remove 'report' argument from js_dostring.
2015-12-16 11:49:52 +01:00
Tor Andersson
08276111f5
Add documentation.
2015-09-29 10:18:15 +02:00