Commit Graph

563 Commits

Author SHA1 Message Date
Adam
dfd3fcada6 library: api_close 2024-10-04 14:30:38 +01:00
Adam
df66cd0d49 library: clarify doc comment 2024-10-04 14:14:57 +01:00
Adam
c572fa8abe window_launcher: more helpful Java error messages 2024-10-02 16:56:35 +01:00
Adam
74bf3690f3 window_launcher: implement BrowseData for win32 2024-10-02 16:39:56 +01:00
Adam
35412a9c00 window_launcher: implement LaunchOsrsExe for win32 2024-10-02 16:26:23 +01:00
Adam
8c4f2485c1 window_launcher: simplify LaunchRs3Exe for win32 2024-10-02 16:04:38 +01:00
Adam
eaa24c71ab window_launcher: fix macro redefinition warning
DOMAIN is defined in corecrt_math.h on windows
2024-10-02 14:18:21 +01:00
Adam
bcd91168e7 Merge pull request #70 from Jacoby6000/osrs-windows-support
Add launcher support for Runelite and HDOS on windows
2024-10-02 14:11:22 +01:00
Jacob
c92a86f163 configure runelite 2024-09-30 20:34:25 -05:00
Jacob
682cb232c3 Remove XDG settings from windows OSRS launches 2024-09-30 19:09:58 -05:00
Jacob
f8e04e7f0e Add launcher support for Runelite and HDOS on windows 2024-09-29 22:12:37 -05:00
Adam
ab8d09d4ac app: add psa_url 2024-09-28 14:35:13 +01:00
Adam
9bb879093f client: make OnFileChange compile 2024-09-28 13:00:28 +01:00
Adam
dcccf10d58 repo: remove fake_java from builds 2024-09-28 12:45:41 +01:00
Adam
6af59ba1a6 window_launcher: launch hdos directly
After only a year of asking, the HDOS devs have finally fixed that minor
mistake in their getdown config, meaning the whole fake_java workaround
is no longer necessary. This also means JAVA_HOME is no longer needed to
run HDOS (although it still has priority over PATH.)
2024-09-28 12:43:15 +01:00
Adam
36dd6184d1 window_launcher: even more tidying up 2024-09-24 02:33:22 +01:00
Adam
456a3855e5 window_launcher: improve a bit of string handling 2024-09-24 02:24:09 +01:00
Adam
1d75b735a0 window_launcher: clean up URL handling
This commit deduplicates almost every instance of the "bolt-internal"
URL string, reduces the amount of strings being added together at
runtime despite both being known at compile time, and enables ParseQuery
to be used for parsing the custom schema during the login flow.
2024-09-24 02:08:30 +01:00
Adam
2b05fb4ff8 window_launcher: make UpdateClientList conditional
This function is only useful for plugin library builds
2024-09-24 01:04:56 +01:00
Adam
8c578641c7 library: doc comments for new APIs 2024-09-14 20:11:58 +01:00
Adam
b36d9ffd4c client: handle IPC_MSG_CLOSEBROWSER_OSR 2024-09-14 19:55:20 +01:00
Adam
ec0c6159d4 library: change window-closing API
This commit adds api_window_close and api_browser_close, removes the
__gc entry entirely for those types, and adds the CLOSEBROWSER_OSR ipc
message. Allowing EmbeddedWindows to be closed without the whole plugin
was a significant rework, so there may still be some edge-cases.
2024-09-14 19:49:21 +01:00
Adam
7e0f977444 osr: update for 3d51582 2024-09-14 02:26:01 +01:00
Adam
f6361eeeae client: update for 3d51582 2024-09-14 02:25:49 +01:00
Adam
163eed52cc main: update for 3d51582 2024-09-14 02:25:36 +01:00
Adam
3d515829ba library: redo ipc to use header structs
A much cleaner way of sending host-to-client messages compared to that
byte hackery I was doing before. Also probably runs faster because of
larger reads/writes instead of smaller individual ones for each param.
2024-09-14 02:24:56 +01:00
Adam
62a07ccd7a browser: remove a debug print 2024-09-12 03:25:03 +01:00
Adam
0cf1d4a034 library: browser sendmessage and onmessage 2024-09-12 03:23:48 +01:00
Adam
c186854550 browser: support osr receiving and sending msgs 2024-09-12 03:23:20 +01:00
Adam
ecfa517c37 library: ipc message-passing definitions 2024-09-12 03:21:45 +01:00
Adam
67d24bb4e4 browser: change how client lists are sent
See 1375b0a for explanation. This commit changes how and when the list
is sent by the browser process.
2024-09-10 04:37:46 +01:00
Adam
09e04eb9b9 library: compile error 2024-09-10 04:29:21 +01:00
Adam
9cdeee6ca6 library: safety check for osr ack 2024-09-10 04:29:10 +01:00
Adam
b04f6d7ba3 library: send plugin id in osr messages 2024-09-10 01:34:47 +01:00
Adam
c5dc671ca1 client: cleanup IPC stuff with a macro 2024-09-10 01:33:16 +01:00
Adam
fd1edc57ef osr: don't crash on early-close 2024-09-09 22:56:02 +01:00
Adam
ef39351ce9 browser: fix non-plugin compile 2024-09-08 14:07:12 +01:00
Adam
c32da12032 browser: make Browser::Window self-managing
This was a long-overdue change to make Browser::Window be its own
CefClient and CefLifeSpanHandler, instead of making the main client
object receive callbacks for everything in the tree and try to delegate
it out. This should make everything much more robust, and also gets rid
of the DoClose override, which is "unsupported" (read: broken) in CEF
versions 126.x and onwards.
2024-09-07 18:51:49 +01:00
Adam
7ed64ef3b2 library: implementations in plugin_win32.c 2024-09-07 02:59:35 +01:00
Adam
2ee521391f osr: add windows shm logic 2024-09-07 02:59:12 +01:00
Adam
edad927bb1 client: null-terminate received url string 2024-09-06 23:13:02 +01:00
Adam
1582d365ea client: don't use gcc-only iterator function 2024-09-06 19:35:28 +01:00
Adam
42eea5a75e window_launcher: PQCEFSTRING macro 2024-09-06 19:34:47 +01:00
Adam
1055cad7c1 library: partial EVMOUSELEAVE support
Plugin API is finished and working, Windows backend not yet implemented
2024-09-02 21:19:12 +01:00
Adam
6b7df9ce63 osr: handle EVMOUSELEAVE 2024-09-02 21:18:32 +01:00
Adam
a0871d9b2b library: add IPC_MSG_EVMOUSELEAVE
This event was missing from the set of events CEF needs to be able to
operate. I think this completes the set.
2024-09-02 21:17:38 +01:00
Adam
d13cd309be window_launcher: use macros for most responses 2024-09-01 22:17:15 +01:00
Adam
d5e006dbad window_launcher: make PQINT less error-prone 2024-09-01 19:33:04 +01:00
Adam
4e3330e239 window_launcher: remove debug print 2024-09-01 19:08:06 +01:00
Adam
2f2206d789 browser: /stop-plugin endpoint 2024-09-01 18:29:33 +01:00