summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-05-08LibJS: Add a couple of missing spec steps to PerformEvalLuke Wilde
I missed these in 34f902fb524808b308efe4568ff5a026d2cb4884.
2022-05-08LibJS: Remove callerRealm from HostEnsureCanCompileStringsLuke Wilde
This is a normative change in the ecma262 spec. See: https://github.com/tc39/ecma262/commit/2527be4
2022-05-08AK+LibGUI: Pass predicate to *_matching() methods by const referenceVitaly Dyachkov
2022-05-08KeyboardSettings: Also activate keymap via ListView's on_activationRomain Chardiny
2022-05-08DisplaySettings: Make the copy action copy the background path as urlKarol Kosek
Closes: #13907
2022-05-08Mandelbrot: Remove image export confirmation dialogEWouters
Andreas mentioned this dialog is not needed in the monthly update video[^1]. [^1]: https://youtu.be/yUmHEYs5n34?t=364
2022-05-08LibGUI: Add button to PasswordBox to reveal the passwordfaxe1008
This patch adds an eye-like button to the PasswordBox which allows the user to reveal the typed password. Whether or not the button is shown is controllable via an additional property within the PasswordBox.
2022-05-08LibGUI: Make TextEditor substitution more explicitfaxe1008
This patch changes the member for the code point substitution to be an Optional to remove the implicitness of the zero value.
2022-05-08WindowServer: Consider screen scaling when getting color under cursorofftkp
Multiply the cursor position by the current scaling mode multiplier when getting the color under the cursor. Also multiply the screen rectangle before checking if the cursor is within bounds. Color picker would not account for scaling when getting the color under the cursor. Fixes #13906.
2022-05-08xml: Avoid UAF in Error return from serenity_main()Ali Mohammad Pur
ErrorOr<int> cannot own a string, and the string is scrubbed when freed, so we'd get garbage when errors were printed.
2022-05-08LibWeb: Add missing preprocessing step to the css tokenizerstelar7
2022-05-08LibWeb: Note and fix Gfx related quirk in ColorStyleValue::to_stringstelar7
2022-05-08LibWeb: Commit transaction after parsing `'+'?† n <signed-integer>`stelar7
2022-05-08LibWeb: Dont consider '-n-' a `dashndashdigit-ident` tokenstelar7
2022-05-08LibWeb: Include sign in token debug info, if the type has explicit signstelar7
2022-05-08LibWeb: Dont try to fetch another token in an+b parsingstelar7
When parsing <ndash-dimension> <signless-integer>, we tried to parse a new token from the stream instead of using the value we had already extracted. This caused pages that used the syntax to crash.
2022-05-08LibWeb: Make an+b pattern selector serialization spec compliantstelar7
2022-05-08LibJS: Change internal slots of Duration to store mathematical valuesLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/1f3fba8
2022-05-08LibJS: Refactor Temporal since/until to common AOsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/85a9f57
2022-05-08LibJS: Remove ToISODayOfWeekLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/3eab7e4
2022-05-08LibJS: Remove ToISODayOfYearLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/6117d90
2022-05-08LibJS: Remove IsISOLeapYearLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/a36bdd4
2022-05-08LibJS: Remove ISODaysInYearLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/f62e737
2022-05-08LibJS: Simplify DifferenceISODateLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/76452d2
2022-05-08LibJS: Simplify DaysUntilLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/b2254b4
2022-05-08LibJS: Simplify BalanceISODateLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/9544573
2022-05-08LibJS: Remove type assertion comment from IsValidISODateLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/ddb5652
2022-05-08LibJS: Use "Completion" to emphasize completion recordLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/31d9fc5
2022-05-08LibJS: Fix numeric type in Date.prototype.toTemporalInstant()Linus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/435a111
2022-05-08LibJS: Replace magic nanosecond numbers with constantsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/3fdbfda
2022-05-08LibJS: Refactor Temporal add/subtract to common AOsLinus Groh
This is an editorial change in the Temporal spec. See: - https://github.com/tc39/proposal-temporal/commit/2f96efc - https://github.com/tc39/proposal-temporal/commit/fbff635
2022-05-07DisplaySettings: Fix Clang build failure in ThemePreviewWidgetMacDue
2022-05-07ThemeEditor: Fix Clang build failure in PreviewWidgetLinus Groh
2022-05-07Demos/Eyes: Render eyes antialiasedMacDue
This looks good, and is a good way to test ellipse rendering is working properly.
2022-05-07PixelPaint: Add antialiased ellipse optionMacDue
Currently this option is only supported for filled ellipses as that is all the AntiAliasingPainter supports.
2022-05-07LibGfx: Implement AntiAliasingPainter::draw_ellipse()MacDue
This commit adds draw_ellipse() and moves the shared code for circles and ellipses to draw_ellipse_part(). draw_ellipse_part() can draw an entire circle in one call using 8-way symmetry and an ellipse in two calls using 4-way symmetry.
2022-05-07DisplaySettings: Center preview with center_window_group_within()MacDue
2022-05-07ThemeEditor: Center preview with center_window_group_within()MacDue
2022-05-07LibGUI: Add center_window_group_within() to AbstractThemePreviewMacDue
This method will center a group of window rects, within some bounds, accounting for the properties of the currently selected theme (i.e. border width, title height, etc).
2022-05-07FileManager: Don't show new dotfiles if the option is disabledofftkp
2022-05-07UserspaceEmulator: Delegate rounding to the actual hardwareHendiadyoin1
This also makes us a bit more accurate, due to better rounding of intermediate results. This also gives us the flush-to-zero and denormals-are-zero SSE settings for free! (Assuming UE is build with SSE)
2022-05-07LibM: Delegate rounding to fully to the FRNDINT instructionHendiadyoin1
This is only enabled for clang right now, because it does not seem to work on GCC. Also fixes the types of two intermediate results Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2022-05-07LibGfx: Use round_to<int> in Painter::draw_text_lineHendiadyoin1
2022-05-07LibSoftGPU: Use round_to<int> in Device::get_rasterization_rect_of_sizeHendiadyoin1
2022-05-07LibGfx: Use some AK/Math helpers in AffineTransformHendiadyoin1
This makes us use AK::sincos and AK::hypot
2022-05-07LibGfx: Avoid some unnecessary Rounding in AffineTransform and ColorHendiadyoin1
Casts suffice in these cases. (Assuming standard rounding mode)
2022-05-07LibGfx: Specialize Rect::to_rounded a bit moreHendiadyoin1
We were always calling llround[fd], even for floating point targets. Also for rounding to integer, we don't need to have C99's rounding rules and can just cast, assuming the standard rounding mode.
2022-05-07Profiler: Use ProfileModel rounding constant for the status bar textkleines Filmröllchen
This way, we can change the constant in one place. Note that this requires the use of nested format strings, which is slightly ugly but safe to do in this instance.
2022-05-07Profiler: Round sample percentages to a constant number of digitskleines Filmröllchen
This constant is currently 3 but can be changed easily or integrated into a user setting. Note that the results are not ideal because during pretty-printing we're not using any nice rounding rules, so many percentage values will actually appear as 0.399999 even though they were rounded to three digits.
2022-05-07Profiler: Show percentages with three decimal pointskleines Filmröllchen
This is great when the percentages are very low.