summaryrefslogtreecommitdiff
path: root/libs/surfaces/websockets
AgeCommit message (Collapse)Author
2020-04-17WebSockets: rename _lws_mnt_index to _lws_mnt_rootLuciano Iam
This mount point not only serves the index but everything that is under / , including the built-in surfaces directory
2020-04-17WebSockets: prevent crashes by validating inbound message addr and val sizesLuciano Iam
2020-04-17WebSockets: improve JS client and demoLuciano Iam
add methods to callback.js automatically reconnect js client on disconnection mixer-demo do not recreate UI on reconnection NO-OP: indentation in message.js make client JS reconnection optional fix mixer-demo scrolling minor JS client refactor improve mixer-demo readability
2020-04-17WebSockets: allow serving SVG files using libwebsockets < 3Luciano Iam
2020-04-13WebSockets: rename send_index_* to send_availsurf_* to avoid confusion with ↵Luciano Iam
a static index page
2020-04-13WebSockets: rename resource index.json to more meaningful surfaces.jsonLuciano Iam
2020-04-13WebSockets: rename all occurrences of 'disk path' to 'filesystem path'Luciano Iam
2020-04-13WebSockets: use canonical paths in index.jsonLuciano Iam
2020-04-13WebSockets: reject an empty ARDOUR_WEBSURFACES_PATHLuciano Iam
2020-04-13WebSockets: add version field in manifests and update loaderLuciano Iam
2020-04-11WebSockets: move diskPath property to surfaces group objectLuciano Iam
2020-04-11WebSockets: fix path field in index.jsonLuciano Iam
2020-04-11WebSockets: improve surface manifest format and loaderLuciano Iam
2020-04-11WebSockets: always return -1 from send_index_body() unless there is a write ↵Luciano Iam
error
2020-04-11WebSockets: add useful comment on lws_write()Luciano Iam
2020-04-11WebSockets: use lws_strncpy() when availableLuciano Iam
2020-04-11WebSockets: fix timeout when sending HTTP bodyLuciano Iam
2020-04-09websockets: shutdown UI event loop is server cannot startPaul Davis
2020-04-09change default port for websockets surfacePaul Davis
2020-04-09C++98 compatibilityRobin Gareus
2020-04-09Tweak websocket surface for use src-tree shared dirRobin Gareus
When running from the src-tree, ardev_common.sh sets multiple data-paths, to allow running ./ardev ./gtk2_ardour/ardev. Pick the first one that contains a "web_surfaces" subfolder as docroot.
2020-04-09Fix some Wunused-resultRobin Gareus
2020-04-09Update waf scriptsLuciano Iam
2020-04-09Add classes for serving content over HTTPLuciano Iam
2020-04-09Clean up and prepare for HTTPLuciano Iam
2020-04-09NO-OP update comments for header guard #endifsLuciano Iam
2020-03-26Fix websocket to glib IO condition mappingRobin Gareus
2020-02-27Fix libwebsockets compatRobin Gareus
LWS_CALLBACK_HTTP_CONFIRM_UPGRADE is only available since v3.1.0
2020-02-27Avoid occasional response delay when handling HTTP in the websockets surfaceLuciano Iam
2020-02-27Make previous commit 81ecc2b compatible with libwebsockets==2Luciano Iam
2020-02-27Gracefully reject HTTP requests reaching the websockets surfaceLuciano Iam
2020-02-25Fix deadlock, shared_ptr d'tor called from ScopedConnectionList d'torRobin Gareus
See https://ardour.org/styleguide.html #10 https://pastebin.com/gJfrNhL2
2020-02-24Websockets: error on unhandled callbacksRobin Gareus
This prevents unhandled http request from hogging the backend.
2020-02-24Websockets: use established NDEBUG - see assert(3)Robin Gareus
2020-02-23Fix another websocket surface crash when no panner is availableRobin Gareus
This amends 224be91211
2020-02-23Websockets: use unique header guardsRobin Gareus
2020-02-23NO-OP: Re-indent websockets codeRobin Gareus
"Always use Tabstops for block-indent (the code must be formatted correctly with "[TAB] = N spaces" for any value of N). Use space only for alignment." - https://ardour.org/styleguide.html
2020-02-23Fix websockets surface crash when panner is not availableRobin Gareus
2020-02-22Fix Unix compile with older libwebsocketsRobin Gareus
Debian/Ubuntu still only ship libwebsockets 2.x. Recent libWS abstracts the poll interface to be compatible with Windows.
2020-02-22Prefix events with LWS_Luciano Iam
2020-02-22Properly initialize IOCondition in events_to_ioc()Luciano Iam
2020-02-22Properly initialize lws config structsLuciano Iam
2020-02-22Remove all initializer list usagesLuciano Iam
2020-02-22Remove locally defined classesLuciano Iam
2020-02-22Replace C++11 lambdas with functorsLuciano Iam
2020-02-22Make code adhere to C++98 (WIP)Luciano Iam
2020-02-22Add websockets surface moduleLuciano Iam