Commit Graph

72 Commits

Author SHA1 Message Date
miguel.horta 2eb3ee919b Merge commit '73bed054b87399484e39f6972d30f91a404daba8' 2024-04-03 19:37:54 +01:00
Patric Stout ba67f39db6 Codechange: vendor the nlohmann-json library (#11290) 2023-09-13 16:11:34 +02:00
glx22 4eddec9e79 Add: [Emscripten] Support for bootstrapping 2023-08-31 12:59:12 +02:00
glx22 3d1c4a8589 Codechange: [Emscripten] Improve syncfs synchronisation on exit/abort 2023-08-31 12:59:12 +02:00
Patric Stout 75d3dc0a19 Codechange: [Emscripten] remove "relative_mode" parameter from -vsdl as it doesn't exist (#11249) 2023-08-31 12:04:22 +02:00
Patric Stout 323dd619bb Change: [CI] rework preview flow and use Cloudflare Pages to publish (#11116) 2023-07-08 12:30:27 +02:00
Patric Stout 153323a4c0 Fix: [Emscripten] actually link against nlohmann_json (#11120)
We fake a plain (non-scoped) library, but we don't actually set
the library to anything valid. In result, it is never actually
linked.
2023-07-07 21:21:43 +00:00
Loïc Guilloux 5f2246eabf Fix 021c45c: [CMake] detection and use of nlohmann-json for emscripten (#11113) 2023-07-06 11:49:06 +02:00
Patric Stout bc83974b38 Fix: [Emscripten] switch to URL for content-service that supports WebSocket (#11106)
In the old days, content.openttd.org and bananas-server.openttd.org
ended up on the same route. But with a recent migration, they do not.
content.openttd.org only serves the custom TCP protocol, and
bananas-server.openttd.org only serves the HTTP(S).

Websockets use HTTPS, and as such, should be routed via the latter.
2023-07-04 12:39:55 +00:00
Patric Stout 021c45c4f6 Add: [CMake] JSON library (nlohmann) 2023-05-14 23:22:02 +02:00
Patric Stout fbad57ecf7 Change: [CI] update emscripten and liblzma to the latest version (#10757) 2023-05-02 23:12:52 +02:00
miguel.horta a9d56369a0 Merge commit '13.0-RC1~2' 2023-02-25 04:49:57 +00:00
clienthax 25f247047d Update: emsdk to 3.1.28 and lzma (for emsdk) to 5.4.0 (#10234)
Co-authored-by: Patric Stout <truebrain@openttd.org>
2022-12-29 23:34:45 +01:00
Miguel Horta 136db27f51 Merge tag '12.2' into 12 2022-04-12 12:30:17 +01:00
Sergii Pylypenko f1232bfed7 CI: OpenTTD will not link without libfreetype-dev package 2022-02-22 01:50:42 +02:00
Sergii Pylypenko 731a4d2b11 CI: apparently we also need gperf for libfontconfig 2022-02-22 01:14:43 +02:00
Sergii Pylypenko cc8a1d76d3 Emscripten: updated readme 2022-02-22 01:12:35 +02:00
Patric Stout 6b12a05cc5 Change: [Emscripten] update to 2.0.34 and use Release over RelWithDebInfo (#9696)
It turns out that having "-g" in the compile-statement causes
Emscripten to pick -g3, which makes for very big binaries. This
is very likely not your intention when building Emscripten, as
smaller really is better.

For comparison, with RelWithDebInfo the binary is ~80MB. With
Release it is ~7.4MB.
2022-01-05 13:10:50 +01:00
Sergii Pylypenko c4a7b5f73b Emscripten: removed FS warning 2021-12-19 03:47:36 +02:00
Sergii Pylypenko a2b9e32a13 Emscripten: load savegames from the browser download directory 2021-12-19 03:41:30 +02:00
Sergii Pylypenko eab51cb2b9 Emscripten: adjust resolution to the device DPI 2021-12-19 01:38:36 +02:00
Sergii Pylypenko 8909ce3d8c Fixed emscripten compilation 2021-12-15 00:40:26 +02:00
Sergii Pylypenko 793444e1ba Merge tag '12.1' into branch 12 2021-12-10 02:36:38 +02:00
Sergii Pylypenko 2f6b20cbfd Merge branch upstream/master while introducing compile errors and reverting parts of Android changes, video BPP options are gone 2021-11-29 02:20:37 +02:00
Sergii Pylypenko 87c94c6230 Emscripten: disable page zoom 2021-11-28 03:39:26 +02:00
Sergii Pylypenko 487c2f76a9 Emscripten: console text input 2021-11-28 03:39:26 +02:00
Sergii Pylypenko a3b87d43a3 Emscripten: fixed key events for text input 2021-11-28 03:39:26 +02:00
Sergii Pylypenko 0ae8febc37 Emscripten: text input with HTML <input> element 2021-11-28 03:39:26 +02:00
Sergii Pylypenko 022df487c7 Emscripten: added a hit counter to loading screen 2021-11-28 03:39:26 +02:00
Sergii Pylypenko ef3b0961c1 Emscripten: fixed fontconfig font path 2021-11-28 03:35:07 +02:00
Sergii Pylypenko c9e2163aa6 Emscripten: compile libiculx for RTL text support 2021-11-28 03:35:07 +02:00
Sergii Pylypenko 960e1a7957 Emscripten: Sync FS before closing the browser window 2021-11-28 03:35:07 +02:00
Sergii Pylypenko dd37c3d8da Emscripten: updated emsdk patch 2021-11-28 03:35:06 +02:00
Sergii Pylypenko eca0f69e11 Emscripten: updated deploy script 2021-11-28 03:34:42 +02:00
Sergii Pylypenko 7defb52028 Merge branch upstream/master 2021-11-28 03:16:36 +02:00
Sergii Pylypenko 909b24b2bb Emscripten: Fixed liblzo2 compilation 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 371a94ae3c Emscripten: fixed linking with freetype library 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 82b8772f8f Emscripten: enable debug logs 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 8efa8964d0 Emscripten: libicu is not working anyway, because there are no libicuuc and libicu-le-hb available 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 10fb568cd0 Emscripten: explicitly linking to libexpat and libuuid is not necessary 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 98d7eb2c94 Emscripten: fixed compilation with fontconfig 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 032a92532e Emscripten: disabled libtimidity for now, it does not work anyway on Chrome for Android because of massive lag 2021-11-28 02:04:25 +02:00
Sergii Pylypenko bc59102732 Emscripten: fixed fontconfig compilation 2021-11-28 02:04:25 +02:00
Sergii Pylypenko fd42ae95f4 Emscripten: added fontconfig library 2021-11-28 02:04:25 +02:00
Sergii Pylypenko f2812cd7e3 Fixed saving config file 2021-11-28 02:04:25 +02:00
Sergii Pylypenko c61311978a Emscripten: Fixed relative paths 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 6a07256e33 Emscripten: updated deply script 2021-11-28 02:04:25 +02:00
Sergii Pylypenko f11e9ba1de Emscripten: fixed deploy script 2021-11-28 02:04:25 +02:00
Sergii Pylypenko a048423b61 Emscripten: script to deploy the webapp 2021-11-28 02:04:25 +02:00
Sergii Pylypenko 679968a567 Fixed OpenMSX not recognized 2021-11-28 02:04:25 +02:00