ladybird/Userland/Libraries/LibWeb
Daniel Bertalan c62240aa80 Everywhere: Warn on function definitions without prototypes
If no header includes the prototype of a function, then it cannot be
used from outside the translation unit it was defined in. In that case,
it should be marked as `static`, in order to avoid possible ODR
problems, unnecessary exported symbols, and allow the compiler to better
optimize those.

If this warning triggers in a function defined in a header, `inline`
needs to be added, otherwise if the header is included in more than one
TU, it will fail to link with a duplicate definition error.

The reason this diff got so big is that Lagom-only code wasn't built
with this flag even in Serenity times.
2024-07-17 21:51:29 +02:00
..
Animations LibWeb: Remove TimingFunction in favor of EasingStyleValue::Function 2024-06-16 07:12:46 +02:00
ARIA LibWeb: Return correct RoleType for composite ARIA role 2024-01-27 14:52:41 -05:00
Bindings LibWeb: Legacy Platform Objects don't force [[Configurable]] 2024-07-10 10:19:27 -06:00
Clipboard LibWeb: Use 'FIXME' extended attribute where possible 2024-05-19 16:24:11 +02:00
Cookie Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
Crypto LibWeb: Implement KeyAlgorithms for big-endian 2024-07-10 10:23:26 -06:00
CSS LibWeb/CSS: Make StringStyleValue hold a FlyString 2024-07-17 15:08:44 +01:00
DOM Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
DOMParsing LibWeb: Refactor DOM parsing APIs 2024-06-26 05:41:00 +02:00
DOMURL LibWeb: Consider resource: URLs to be trustworthy and non-opaque 2024-06-26 12:15:33 -06:00
Encoding LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
Fetch AK+LibWeb: Replace our home-grown base64 encoder/decoders with simdutf 2024-07-16 10:27:39 +02:00
FileAPI LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues 2024-05-30 09:29:20 -06:00
Geometry LibWeb/Geometry: Make DOMRect doubles unrestricted 2024-07-01 21:30:52 +01:00
HighResolutionTime LibWeb: Implement Performance.toJSON 2024-07-17 18:19:09 +01:00
HTML LibWeb/HTML: Remove FIXMEs from HTMLTrackElement constants 2024-07-17 18:19:09 +01:00
IndexedDB LibWeb: Implement IDBRequest.onerror 2024-06-22 14:57:47 +02:00
Infra AK+LibWeb: Replace our home-grown base64 encoder/decoders with simdutf 2024-07-16 10:27:39 +02:00
Internals LibWeb: Add Internals.middleClick 2024-06-22 14:57:36 +02:00
IntersectionObserver LibWeb: Use 'FIXME' extended attribute where possible 2024-05-19 16:24:11 +02:00
Layout LibWeb: Fix flexible track sizing in GFC 2024-07-17 18:00:18 +02:00
Loader LibWeb+RequestServer: Let RequestServer set HTTP Accept-Encoding header 2024-07-16 11:01:01 +02:00
MathML LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues 2024-05-30 09:29:20 -06:00
MimeSniff LibWeb/MimeSniff: Implement "minimize a supported MIME type" 2024-05-19 16:25:50 +02:00
MixedContent LibWeb: Avoid null dereference when performing mixed content checks 2024-06-14 07:52:18 +02:00
NavigationTiming LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
Page Ladybird+LibWeb+WebContent: Always use Skia CPU backend in tests mode 2024-07-17 17:58:53 +03:00
Painting Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
PerformanceTimeline LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
PermissionsPolicy AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
Platform LibWeb+Ladybird: Remove FontPluginSerenity (+ use Ladybird::FontPlugin) 2024-06-04 18:45:30 +02:00
ReferrerPolicy LibWeb: Do not release_value twice parsing a referrer policy 2024-06-09 07:02:59 +01:00
RequestIdleCallback LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
ResizeObserver LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
SecureContexts LibWeb: Consider resource: URLs to be trustworthy and non-opaque 2024-06-26 12:15:33 -06:00
Selection LibWeb: Update Range::set_base_and_extent() to the latest spec text 2024-07-04 14:38:56 +02:00
SRI
Streams LibWeb: Align transform_stream_error_writable_and_unblock_write w/ spec 2024-07-12 08:28:35 -04:00
SVG Ladybird+LibWeb+WebContent: Always use Skia CPU backend in tests mode 2024-07-17 17:58:53 +03:00
UIEvents LibWeb: Implement MouseEvent.initMouseEvent 2024-07-17 18:19:09 +01:00
UserTiming LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
WebAssembly LibWasm: Make memory.grow grow the memory's type 2024-07-11 01:31:22 +02:00
WebAudio LibWeb: Implement BaseAudioContext.createGain 2024-05-28 08:06:09 +02:00
WebDriver LibHTTP+RequestServer: Use HTTP::HeaderMap for request headers 2024-06-09 15:34:02 +02:00
WebGL Everywhere: Remove GPU painter and AccelGfx 2024-07-04 14:47:02 +02:00
WebIDL Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
WebSockets LibWeb/WebSockets: Use correct URL parser 2024-06-02 19:55:53 +02:00
Worker LibWeb+WebWorker: Add IPC messages to request and communicate shutdown 2024-07-10 07:04:53 +02:00
XHR LibWeb: Integrate Streams in XHR::send() 2024-05-20 16:57:52 -04:00
XLink LibWeb: Add Web::XLink::AttributeNames 2023-11-05 11:16:16 +00:00
XML LibXML: Set XMLNS namespace for xmlns attribute 2024-07-14 11:49:31 +02:00
CMakeLists.txt AK+LibWeb: Replace our home-grown base64 encoder/decoders with simdutf 2024-07-16 10:27:39 +02:00
Dump.cpp LibWeb: Implement the :has() pseudo-class 2024-07-15 11:52:03 +01:00
Dump.h LibWeb+WebContent: Add option to dump session history of a traversable 2023-09-16 16:53:32 +02:00
Forward.h LibWeb: Stub BroadcastChannel interface 2024-07-13 19:53:02 +02:00
idl_files.cmake LibWeb: Stub BroadcastChannel interface 2024-07-13 19:53:02 +02:00
Namespace.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Namespace.h LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
PixelUnits.cpp LibWeb: Refactor int types in WebContentServer to DevicePixels 2023-12-15 17:01:16 +01:00
PixelUnits.h LibWeb: Properly round CSSPixels values in device_to_css_rect 2024-02-21 20:08:25 +01:00
TraversalDecision.h LibWeb: Use TraversalDecision for multi level Node traversal methods 2024-05-07 16:45:28 -06:00
TreeNode.h Everywhere: Remove usages of template keyword with no parameter list 2024-06-16 07:19:56 -04:00