Idan Horowitz
bc9cd55da4
Browser+LibWeb: Add support for spoofing the browser user agent
...
This is helpful when testing certain sites like twitter.com which
display differently based on the user agent.
2021-04-14 23:06:32 +02:00
Linus Groh
e8739ddab7
LibWeb+WebContent: Keep track of screen rect
...
It is now possible to get the up-to-date screen rect from a Web::Page.
2021-04-04 00:37:54 +02:00
Timothy Flynn
855920fe13
Browser+LibWeb+WebContent: Add action to clear resource cache
2021-03-30 10:27:49 +02:00
Brandon Scott
51f073ff39
WebContent: Added IPC calls for initializing JS console and sending input
2021-02-28 15:30:17 +01:00
Brandon Scott
306501fd4a
WebContent: Added IPC calls for getting source
2021-02-23 16:23:56 +01:00
Andreas Kling
ded8c728d2
LibWeb: Plumb wheel events from widget layer to EventHandler
2021-02-22 21:46:54 +01:00
AnotherTest
09a43969ba
Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...)
...
Replacement made by `find Kernel Userland -name '*.h' -o -name '*.cpp' | sed -i -Ee 's/dbgln\b<(\w+)>\(/dbgln_if(\1, /g'`
2021-02-08 18:08:55 +01:00
Andreas Kling
342b787d1c
LibWeb: Move main thread JavaScript VM to its own file
...
Instead of being a weird little global function in DOM/Document.cpp,
you can now get the main thread JS VM via Bindings::main_thread_vm().
2021-02-03 10:45:39 +01:00
Andreas Kling
1ce03f4f34
LibIPC: Stop sending client ID to clients
...
The client ID is not useful to normal clients anymore, so stop telling
everyone what their ID is.
2021-02-01 11:32:00 +01:00
Andreas Kling
1b5be4a342
LibIPC: Stop exchanging client/server PIDs in greeting handshake
...
The PIDs were used for sharing shbufs between processes, but now that
we have migrated to file descriptor passing, we no longer need to know
the PID of the other side.
2021-01-31 09:29:27 +01:00
Andreas Kling
df2a4adcd2
Browser+LibWeb+WebContent: Make the "Debug" menu work in multi-process
...
This patch adds an IPC call for debugging requests. It's stringly typed
and very simple, and allows us to easily implement all the features in
the Browser's Debug menu.
2021-01-31 09:07:46 +01:00
Andreas Kling
1dad47c0f9
WebContent: Set the main thread name based on the current page host
...
We now show up as "WebContent: www.serenityos.org" in System Monitor,
which is just super neat. :^)
2021-01-30 23:43:18 +01:00
asynts
8465683dcf
Everywhere: Debug macros instead of constexpr.
...
This was done with the following script:
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/dbgln<debug_([a-z_]+)>/dbgln<\U\1_DEBUG>/' {} \;
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/if constexpr \(debug_([a-z0-9_]+)/if constexpr \(\U\1_DEBUG/' {} \;
2021-01-25 09:47:36 +01:00
asynts
24888457d5
Everywhere: Replace a bundle of dbg with dbgln.
...
These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.
2021-01-22 22:14:30 +01:00
Andreas Kling
1cb44ec5ee
Everywhere: Remove more <AK/SharedBuffer.h> includes
2021-01-17 00:04:42 +01:00
Andreas Kling
b5d98c0945
LibWeb+WebContent: Use anonymous files for OOPWV backing stores
...
To support this, the GUI process and the WebContent service will now
coordinate their backing store bitmaps. Each backing store can be
referred to by a serial ID, and we don't need to keep resending it
as a file descriptor.
We should probably do something similar in WindowServer. :^)
2021-01-16 23:21:52 +01:00
Andreas Kling
d846808122
LibWeb: Port the WebContent service to Core::AnonymousBuffer for themes
2021-01-16 17:22:35 +01:00
Andreas Kling
c7ac7e6eaf
Services: Move to Userland/Services/
2021-01-12 12:23:01 +01:00