smithcol11
f99a724b01
Added prettierignore & minified dist files.
2024-05-12 08:18:25 -07:00
smithcol11
2eabb2aa0b
Fixed renaming in index.html as well.
2024-05-11 10:09:00 -07:00
smithcol11
f08afe8a29
Renamed files to avoid large diff in version control.
2024-05-11 09:58:17 -07:00
smithcol11
d0351cacac
run format on dist files
2024-05-11 09:45:24 -07:00
smithcol11
410bc32d8a
Fixed characterSelect being out of sync.
...
selectedPlay.character wasn't being updated when the characterSelect updated its index; should be fixed now.
2024-05-11 09:43:15 -07:00
Adam
24fd67aeb8
library: typo
2024-05-11 02:03:47 +01:00
Adam
86ed7ea1aa
library: new time API functions
...
Added the following functions:
- datetime
- weekday
2024-05-11 01:40:43 +01:00
Adam
5b2e96c7fe
cmake: compile libraries with spng
2024-05-11 01:00:07 +01:00
Adam
527ae38c2e
library: use static as appropriate
2024-05-11 00:56:53 +01:00
Adam
fb1b464027
library: complete surfaces API
...
Added the following functions:
- createsurfacefromrgba
- createsurfacefrompng
- surface_drawtosurface
2024-05-11 00:44:01 +01:00
Adam
a9e3d16a92
repo: spng submodule
2024-05-10 22:10:35 +01:00
Adam
2821ab81a2
cmake: add branding colours to metainfo
...
Are you happy now Flatpak? (Of course not, you're never happy.)
2024-05-04 17:36:02 +01:00
Adam
dadf27205a
cmake: added release notes to metainfo
2024-05-04 16:37:13 +01:00
Adam
c6a543b1f0
repo: screenshots for metainfo
2024-05-04 15:59:12 +01:00
Adam
955eda88ea
browser: set launcher's window title
2024-05-04 15:25:58 +01:00
Adam
67441cd690
Merge pull request #38 from Adamcake/plugin-integration
...
Plugin integration
2024-05-04 00:56:21 +01:00
Adam
e039174e04
library: allow require() for secondary files
2024-05-04 00:30:04 +01:00
Adam
599ff83b51
library: funny hack to avoid using strlen
...
Calculating strlen of a hard-coded stringat runtime, by iterating
through it until finding a 0 byte, is nothing but a waste of CPU cycles.
We already know the length, so let's just use it directly.
2024-05-03 22:37:20 +01:00
Adam
62908af138
library: one lua stack per plugin
...
It's more resource-intensive, but all the plugins sharing one stack was
causing so many problems that I'm not sure it was even possible to do
correctly; Lua stacks are aggressively global, and all the plugins
sharing one set of global state was causing so many bugs, not to mention
safety issues of plugins potentially having access to each other, that
it's simply not worth the trouble.
2024-05-03 20:52:45 +01:00
Adam
88b3ebb53e
app: document plugin_loader param
2024-05-01 20:47:32 +01:00
Adam
055131daa6
app: add rs_plugin_loader config setting
2024-05-01 20:44:18 +01:00
Adam
18f438d604
window_launcher: add plugin_loader param
2024-05-01 20:40:58 +01:00
Adam
a6a533f3c5
Merge branch 'master' into plugin-integration
2024-05-01 19:21:37 +01:00
Adam
d0bc696642
window_launcher_posix: big rework
...
Removes a lot of the mess and macro soup left over from when this file
was based on posix_spawn instead of fork exec. Notable changes:
- pass app.user.home to HDOS: makes fake_java.c a lot simpler
- no longer need to manipulate XDG_RUNTIME_DIR: fixes issues such as #19
- FindJava function: no longer relying on JAVA_HOME to be correct or on
/usr/bin/env to find java, fixes issues such as #24 , #34
2024-04-29 19:49:11 +01:00
Adam
2435920596
fake_java: don't set home
...
This is already possible using getdown's passthrough properties
(-Dapp.user.home=...)
2024-04-29 19:43:34 +01:00
Adam
cdf80fe72a
app: start plugins from plugin menu
2024-04-29 05:24:44 +01:00
Adam
b730a7197f
window_launcher: /start-plugin api
2024-04-29 05:23:13 +01:00
Adam
3077a31216
client: StartPlugin()
2024-04-29 05:22:58 +01:00
Adam
5e1468883c
library: define & handle IPC_MSG_STARTPLUGINS
2024-04-29 05:22:08 +01:00
Adam
43ff7fd251
client: fix crash on closing clients
...
Previously the correct client would me destroyed but it wasn't
necessarily the correct one that would get removed from the list. It
seems to be that it was always the last one that would get removed. I'm
not sure why this was using a multiple-result search in the first place.
2024-04-29 03:11:41 +01:00
Adam
8e85b160a6
repo: BoltIPCMessage->BoltIPCMessageToHost
2024-04-28 16:29:18 +01:00
Adam
b029c7ea0a
app: 'reload' and 'remove' plugin menu buttons
2024-04-28 15:47:12 +01:00
Adam
8b9515526c
app: save plugin menu as necessary
2024-04-28 14:57:46 +01:00
Adam
9c4868b475
app: don't specify not-italic
...
Attributes in Svelte are not included if their value is nullish or
undefined, so by setting this to null we can avoid needing a class tag
here at all.
2024-04-28 14:42:51 +01:00
Adam
99bcaf4324
app: show basic plugin details in plugin menu
2024-04-27 19:49:32 +01:00
Adam
bcf1182569
app: support adding plugins via menu
2024-04-24 03:47:12 +01:00
Adam
b8a8ad9530
app: add new APIs to readme
2024-04-24 03:44:40 +01:00
Adam
9e1d468cbd
window_launcher: /read-json-file
2024-04-24 03:44:18 +01:00
Adam
ec7bcfeecd
window_launcher: plugin-related requests
...
/list-game-clients and /json-file-picker
2024-04-24 02:21:55 +01:00
Adam
ff02956206
window_launcher: debug print
2024-04-23 18:03:50 +01:00
Adam
68e39a43a1
browser: send plugins.json contents to launcher
2024-04-23 17:46:04 +01:00
Adam
20a6437281
app: lint and minify
2024-04-23 16:17:52 +01:00
Adam
eb48600cef
library: remove unused IPC_MSG_NEWPLUGINS
2024-04-23 15:51:26 +01:00
Adam
ec11d9a942
app: display and update client list
2024-04-23 04:47:45 +01:00
Adam
279d5176a9
browser: send client-list-update messages
2024-04-23 04:47:11 +01:00
Adam
a2e82deb76
app: remove reference to initAuth
...
defunct since account switchover
2024-04-23 03:26:19 +01:00
Adam
4809fa885d
browser: handle /list-game-clients and IPC_MSG_IDENTIFY
2024-04-23 01:58:54 +01:00
Adam
74c0911928
library: add identify msg
2024-04-23 01:36:55 +01:00
Adam
b958ec642e
resource_handler: std::string constructors
...
Constructors that accept "owned data" to handle situations where origin
data may be going out of scope
2024-04-23 00:59:09 +01:00
Adam
da1d2d7bcc
window_launcher: set 'plugins' url param
2024-04-21 02:02:53 +01:00