summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-18LibJS: Convert PrototypeObject::typed_this_object() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert PrototypeObject::this_object() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_symbol_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_string_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_number_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_bigint_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert to_integer_or_infinity() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Remove a bunch of forgotten exception checks after TRY_OR_DISCARDLinus Groh
Not quite sure how that happened :^)
2021-10-18Kernel/Net: Generate interface name near construction pointLiav A
This change allows the Kernel to actually construct other interfaces besides the E1000 type. This solves a breakage that was introduced recently because of move semantics. A couple of points on this patch: 1. In current situation, we can waste time to create a KString and throw it for nothing. This patch ensures we only create it near construction point so we know we actually need it. 2. It's very likely to assume that non-x86 machines will expose network device with a device tree (or with ACPI). The raspberry pi machine is a good example of that. Therefore, each driver should explicitly ask the correct interface name generation method, and this patch simplifies this pattern greatly, especially in a case where the same network device can appear as a PCI device or as device in another bus type on the same platform target. For example, the (in)famous ne2000 device can be used either as a PCI device or as an ISA device, depending on the model. 3. In my opinion, it seems much more readable to construct the name near calling point of the object constructor than to just pass it with move semantics.
2021-10-18LibWeb: Ensure parent is not null in DOMTreeModel::index_for_node()Dana Burkart
Fix a crash when inspecting empty pages or areas of the page with no elements.
2021-10-18LibWeb: Make 'auto' LengthStyleValues return 'auto' identifierSam Atkins
I think I broke this in my previous StyleValue clean-up. This prevented properties like `foo: auto;` from parsing, if they did not accept Lengths.
2021-10-18LibWeb: Use east const in StyleValue.{h,cpp}Sam Atkins
2021-10-18Welcome: Save startup preference to user's SystemServer sessionthankyouverycool
Off by default.
2021-10-18Base: Update tips.txtthankyouverycool
2021-10-18Meta: Add a gdb pretty printer for AK::ArrayBrian Gianforcaro
2021-10-18CI: Build the Clang toolchain a single time for both onboard pipelinesTimothy Flynn
As of the Clang 13 upgrade, we only need to build the toolchain once and can use that toolchain for both x86_64 and i686. To do this, this breaks the main Azure configuration into 3 "stages" (Lagom, Toolchain, and Serenity), where the Serenity stage depends on the Toolchain stage. This has the added benefit of uploading a new prebuilt toolchain cache sooner than before, which should help alleviate pressure from PRs.
2021-10-18LibWeb: Update <object> style on resource load/failureAndreas Kling
2021-10-18LibWeb: Update <img> style on resource load/failureAndreas Kling
2021-10-18LibWeb: Coalesce nested repaint requests instead of swallowing themAndreas Kling
Previously we would ignore repaint requests that came in via OOPWV while the WebContent process was busy with a previous paint request. This caused some easy-to-trigger bugs where the painted content would be "one paint behind", especially noticeable when scrolling.
2021-10-18LibWeb: Only update layout if actually needed when scrolling to anchorAndreas Kling
2021-10-18LibWeb: Weakly store NamedNodeMap's & Attribute's associated ElementTimothy Flynn
This is similar to how Gecko avoids a reference cycle, where both the NamedNodeMap and Attribute would otherwise store a strong reference to their associated Element. Gecko manually clears stored raw references when an Element is destroyed, whereas we use weak references to do so automatically. Attribute's ownerElement getter and setter are moved out of line to avoid an #include cycle between Element and Attribute.
2021-10-17SystemMonitor: Request symbolication wihout source positionsRodrigo Tobar
The Stack tab doesn't display this information anyway, so there's no need to have it calculated and returned to us.
2021-10-17LibSymbolication: Skip source position calculation if requestedRodrigo Tobar
Calculating source code positions can be expensive, and some applications (like SystemMonitor's Stack tab) don't even show this information, making these calculations wasteful. This commit adds a new enumerated flag to the `symbolicate` functions for callers to specify whether source positions should be included in the results; it defaults to "Yes" to preserve old behavior for existing applications.
2021-10-18LibJS: Convert to_index() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_length() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u8_clamp() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u8() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_i8() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u16() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_i16() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u32() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_i32() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_number() to ThrowCompletionOrIdan Horowitz
2021-10-17LibGL: Implement `glIsEnabled()`Jelle Raaijmakers
2021-10-17LibGL: Implement disabling GL_FOGJelle Raaijmakers
2021-10-17LibGL: Correct GL_MODELVIEW and GL_PROJECTION valuesJelle Raaijmakers
According to the Khronos group, GL enum values are in the spec: https://www.khronos.org/registry/OpenGL/docs/enums.html Not adhering to their values will cause issues with projects that ship their own copy of `gl.h`, such as ScummVM.
2021-10-18LibWeb: Fill page background with the "base" palette colorAndreas Kling
This fixes an issue where you'd see black (or ghost) pixels when painting web pages with content smaller than the viewport.
2021-10-18LoginServer: Use the verb "log in" for window title & submit buttonAndreas Kling
2021-10-17LibC: Define ULLONG_MAXL Pereira
Some ports require this constant to be defined as it is specified in the standard[1]. [1] https://www.cplusplus.com/reference/climits/
2021-10-17Base: Add a basic SystemServer.ini for the anon user :^)Andreas Kling
2021-10-17LibWeb: Factor out creation of independent formatting contextsAndreas Kling
This patch breaks FormattingContext::layout_inside() into two functions, one that creates an independent formatting context (if needed), and another that calls the former and then performs the inside layout within the appropriate context. The main goal here was to make layout_inside() return the independent formatting context if one was created. This will allow us to defer certain operations in child contexts until the parent context has finished formatting the child root box.
2021-10-17LibWeb: Expose FormattingContext typeAndreas Kling
Instead of having a virtual is_block_formatting_context(), let's have a type() that can tell you exactly which type of formatting context it is.
2021-10-17LoginServer: Add --auto-login switchPeter Elliott
Auto login will automatically log in a user without prompting for a password, but will still allow logouts and subsequent password logins.
2021-10-17LibGUI: Don't render placeholders as secretPeter Elliott
before my placeholder 'password' showed up as '********'.
2021-10-17TaskBar+Utilities: Add logout(1) command, and call it in ShutdownDialogPeter Elliott
logout kills the session that SystemServer --user was started with.
2021-10-17Utilities: Show PGID and SID in ps -fPeter Elliott
2021-10-17LoginServer: Process logins and start SystemServer in user modePeter Elliott
2021-10-17LoginServer: Layout a basic login windowPeter Elliott
2021-10-17SystemServer: Add per user mode (--user)Peter Elliott
System server running in user mode will form the basis of a "session" for login purposes in serenity.
2021-10-17LibX86: Add SSE supportHediadyoin1
This only adds the decodeing support for SSE, not SSE2, etc. may contain traces of SSE2.