Adam
8e47804d2d
browser/client: more resource handling methods
2023-06-05 20:14:08 +01:00
Adam
3e49b6a320
browser/app: add function handlers to window
2023-06-05 20:11:58 +01:00
Adam
a6edc2bf68
browser/app: fix overlay-less windows not closing
2023-06-02 00:06:18 +01:00
Adam
3a42c923ae
cef: remove custom patches
...
None of these are strictly needed anymore, but anyone building their own
CEF binary canpatch it themselves as they wish. Some #includes also need
reverting.
2023-05-21 15:59:26 +01:00
Adam
5e1fc4b010
native: mostly-working x11 tray icon
2023-04-23 02:26:44 +01:00
Adam
a8ee7dc79b
main: refactor for new client functions
2023-04-22 16:35:02 +01:00
Adam
bd44d5ec8c
client,native: run on dedicated thread
2023-04-22 16:32:19 +01:00
Adam
53238eaac6
native: lots of x11 impl
2023-04-05 21:20:32 +01:00
Adam
14deea819b
native: delete deleted files again
...
???
2023-04-05 20:53:16 +01:00
Adam
2e4b009c42
main: setup and shutdown for client
2023-04-05 20:52:08 +01:00
Adam
80853a5166
browser/client: add some native functions
2023-04-05 18:37:30 +01:00
Adam
635c761e07
native,client: rename Connection->Native
2023-04-05 17:37:14 +01:00
Adam
13ff78962a
meson, native: rename platform files
...
eg 'native/native_x11' to 'native/client_x11', for clarity
2023-04-05 17:25:17 +01:00
Adam
ad1c175adf
browser/client: include native.hxx & rearrange
2023-04-05 16:38:21 +01:00
Adam
4cb22d4369
native: initial commit
2023-04-05 16:36:34 +01:00
Adam
e226377066
browser: change default app url
2023-04-03 20:25:32 +01:00
Adam
efd95056ca
browser/client: better resource request handling
2023-04-03 20:24:55 +01:00
Adam
97f6c6a232
browser: store browser_id from OnBrowserCreated
2023-04-03 19:35:48 +01:00
Adam
963f9a5e97
browser/client: hardcode app url
2023-04-03 18:37:48 +01:00
Adam
b492acf604
browser: set point in ShowDevTools
2023-04-02 02:33:52 +01:00
Adam
36afa4860c
browser/client: show dev tools on-demand
2023-04-02 02:30:45 +01:00
Adam
24bab4bf89
browser/app: use remove_if correctly
...
oops
2023-04-02 02:15:19 +01:00
Adam
821872988f
browser/client: use remove_if correctly
...
oops
2023-04-02 02:13:48 +01:00
Adam
af90857934
browser/client: better handling in DoClose
...
We should not return true unless we actually want to handle the close,
i.e. if it's something that needs render process cleanup
2023-04-02 02:12:09 +01:00
Adam
ad9eb60f25
browser: doc comments
2023-04-02 01:33:16 +01:00
Adam
1f87703ded
browser/*: merge delegates into Browser::Window
2023-04-02 01:27:32 +01:00
Adam
80c28bf1e3
browser: Window::ShowDevTools
2023-04-02 00:21:29 +01:00
Adam
7657f65497
browser/window_delegate: ShowDevTools
2023-04-02 00:21:29 +01:00
Adam
e0727232bd
browser/client: impl two BrowserProcessHandler fns
...
OnContextInitialized and OnScheduleMessagePumpWork
2023-04-02 00:09:01 +01:00
Adam
c901a0b935
browser: take url in constructor
2023-04-02 00:07:44 +01:00
Adam
1b838dc2c5
main,browser/client: pass client to app
2023-04-01 23:42:07 +01:00
Adam
b86cc38166
browser/app: hold ref to CefBrowserProcessHandler
2023-04-01 23:22:25 +01:00
Adam
e6d82d159b
browser/client: delete apps in OnBeforeClose
2023-03-31 23:04:51 +01:00
Adam
6aac5a2dd3
browser: better handling for closing
2023-03-31 23:03:59 +01:00
Adam
ab8aeb5ed9
browser/app: send bolt_app_closed message
2023-03-31 21:44:13 +01:00
Adam
36e80a826b
main: don't spawn window
...
Client manages spawning and closing windows now
2023-03-31 21:43:23 +01:00
Adam
32fe7f1032
browser/window_delegate: correctly handle closing
2023-03-31 21:41:15 +01:00
Adam
ac44cdc33f
browser: CloseBrowser/Render, GetBrowserIdentifier
2023-03-31 21:38:13 +01:00
Adam
3102b54957
client: manage window list
2023-03-31 21:36:52 +01:00
Adam
abc9467f52
src/browser: GetBrowserIdentifier
2023-03-31 19:15:48 +01:00
Adam
ee6c82c7fc
browser/app: better cleanup for AppFrameData
...
We should always explicitly set CefRefPtr to nullptr when releasing our
ownership of CEF RefCounted things, to prevent circular references from
keeping each other alive indefinitely
2023-03-31 18:51:48 +01:00
Adam
7ca6cc7b8d
browser: allow copy and assign
...
It's probably fine
2023-03-31 18:25:07 +01:00
Adam
b9b51dd854
browser/client: debug prints
2023-03-31 18:04:48 +01:00
Adam
c29cfc1e00
browser/client: handle process messages
2023-03-31 17:58:15 +01:00
Adam
a9a90e5a5c
browser/app_frame_data: store CefFrame as needed
2023-03-31 17:56:13 +01:00
Adam
a8711d7900
browser/app: debug prints
2023-03-31 17:55:37 +01:00
Adam
eccbfc77ed
browser/app: fix segmentation fault
2023-03-31 17:49:58 +01:00
Adam
3cc5a81138
browser/app,dom_visitor: add 'app' to frame fns
2023-03-31 17:20:35 +01:00
Adam
b00af9e2d2
browser/app: remove unused functions
2023-03-31 16:51:48 +01:00
Adam
8735737fce
browser/app: handle closing process message
2023-03-31 16:33:47 +01:00