Andy Green
cced12822b
lws_dir: add rm -rf and glob filter callbacks
...
Bring over two general-purpose callbacks for lws_dir from Sai
2020-05-03 14:16:48 +01:00
Andy Green
886a588963
lws_dir: XFS does not report directories via dirent
...
If it says it's unknown, we always need to fall back on to the stat method.
2020-04-16 11:18:40 +01:00
Andy Green
d7294a714e
windows: import tronkko's dirent.h
...
Win32 compatible version of dirent.h microsoft just don't seem to be
able to include themselves.
MIT license, same as lws, link to original github project in the header
2020-04-08 11:26:53 +01:00
Andy Green
44fa7e39e3
lws_dir: uv: clean up temp loop on fail
2020-03-19 14:34:29 +00:00
Andy Green
4683ae2596
cmake: fix situation like mingw where toolchain file sets platform defines
...
https://github.com/warmcat/libwebsockets/issues/1831
2020-02-04 14:16:18 +00:00
Andy Green
c4ab815aaf
_GNU_SOURCE: only define if not already defined
...
https://github.com/warmcat/libwebsockets/issues/1803
2019-12-22 18:17:45 +00:00
Zhiwen Zheng
3299c54130
illumos: fix build errors
2019-11-04 13:49:13 +00:00
Mike Owens
8fc54cec00
SmartOS: detection/build to all Illumos
2019-09-06 15:30:51 +01:00
Andy Green
0fa5563d18
freertos: rename esp32 plat to freertos
2019-08-26 09:58:57 +01:00
Andy Green
d7f0521aeb
private.h: rename to contain dir
...
Having unique private header names is a requirement of a particular
platform build system it's desirable to work with
2019-08-15 10:49:52 +01:00
Andy Green
26319663f7
license: switch LGPLv2.1+SLE parts to MIT
2019-08-14 10:44:38 +01:00
Mike Owens
22ece2c0e4
Subject: Build on SmartOS
2019-08-12 12:45:31 +01:00
Andy Green
4692c1a7ee
rtos: clean warnings where uint32_t is an unsigned long
2019-06-07 11:11:46 +01:00
Andy Green
4c3146c27c
glibc: if malloc_trim() exists, call it periodically
2019-03-16 08:10:47 +08:00
Andy Green
119aa5c0ad
lws_dir: wrap dir scanning backend and convert lejp-conf
...
We use POSIX dir scanning apis normally, but for windows, we require libuv
to do it for us.
Formalize that into a wrapper lws_dir() that hides the backend code.
Make it configurable, ON by default and forced on with lejp-conf that
depends on it.
2019-03-14 20:06:25 +08:00