1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/misc
Andy Green c935df1e7e lejp: object indexes
This adds an optional feature LEJP_FLAG_FEAT_OBJECT_INDEXES that changes
lejp to treat { } items as indexable in ctx->i[] / ctx->ipos, since they
also can take commas.

This may break existing uses so it requires the default-off feature flag to
enable it.  The flags context field is zeroed by lejp_construct(), so any
flags should be set on ctx->flags after alling that.

There's also a flag LEJP_FLAG_LATEST available as an alias to enable any
desirable but not-backwards-compatible behaviour, including this.

Add the info to the README and adapt the unit test to do it both with and
without the FEAT_OBJECT_INDEXES flag.
2021-11-07 05:33:43 +00:00
..
cache-ttl http: cookies: support cookie jar in and out 2021-08-21 17:44:40 +01:00
fts type comparisons: fixes 2021-01-05 10:56:38 +00:00
jrpc jrpc: add support 2021-10-11 09:10:15 +01:00
lwsac type comparisons: fixes 2021-01-05 10:56:38 +00:00
threadpool threadpool: SYNC timeout on netbsdBE 2021-10-05 07:40:16 +01:00
base64-decode.c b64: add downcasts for gcc 4.4 2021-07-23 04:22:15 +01:00
CMakeLists.txt jrpc: add support 2021-10-11 09:10:15 +01:00
daemonize.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
dir.c uloop 2021-03-17 12:23:34 +00:00
diskcache.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
fsmount.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
getifaddrs.c getifaddrs: casts for android 2021-06-20 08:40:00 +01:00
getifaddrs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
ieeehalfprecision.c lecp: add CBOR stream parser LECP like JSON LEJP 2021-08-21 17:44:40 +01:00
lecp.c sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
lejp.c lejp: object indexes 2021-11-07 05:33:43 +00:00
lws-ring.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-struct-lejp.c lws_struct: add CHILD_PTR setting 2021-08-19 05:31:15 +01:00
lws-struct-sqlite.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
peer-limits.c peer-limits: only run clean up sul if any entries 2021-01-17 19:23:48 +00:00
prng.c Fault injection 2021-04-05 10:55:04 +01:00
romfs.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
romfs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
sha-1.c type comparisons: fixes 2021-01-05 10:56:38 +00:00