summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-08Documentation: Add clang-format variant to EmacsConfiguration.mdRiyyi
Add a variant of auto formatting using clang-format that doesn't use additional packages. It works by adding a buffer-local hook to `'before-save` for all C++ project files.
2022-08-08Base: Replace getopt with getopt_long in man pagedemostanis
2022-08-08LibWeb: Don't allow mixed commas/no commas in rect() css valuesMacDue
This fixes the clip-rect-comma-002, clip-rect-comma-003, and clip-rect-comma-004 web platform tests.
2022-08-08LibWeb: Fix resolution of CSS clip rectMacDue
Previously the clip rect was not relative to the top/left egdes of the element, which lead to it being positioned incorrectly. This fixes the clip-rect-auto-004 and clip-rect-auto-005 web platform tests.
2022-08-08LibWeb: Enable CSS clip for `position: fixed` elementsMacDue
This fixes the clip-absolute-positioned-002 web platform test.
2022-08-08LibWeb: Fix RectStyleValue to_string() implementationTom
Fix implementation of to_string() for RectStyleValue so that it can be used by JS.
2022-08-08Kernel/FileSystem: Use a new debug flag for SysFS debug messagesLiav A
2022-08-07LibWeb: Allow % height of a % height parent in block-formatted elementsMacDue
With this you can start to see Francine's face in the CSS oil painting (https://diana-adrianne.com/purecss-francine/)
2022-08-07LibWeb: Allow absolute boxes to have a % height of a % height parentMacDue
Previously absolutely positioned boxes could only have a % height if their parent had a absolute height (a height in pixels, em, etc). This broke some websites/demos such as the "Francine CSS oil painting", which starts to appear after this commit. Francine: https://diana-adrianne.com/purecss-francine/
2022-08-07LibWeb: Implement clip propertyTom
Implement clip when it is defined in the css property 'clip' as a rect according to spec; only when the div is absolutely positioned.
2022-08-07LibWeb: Use rect value in CSS clip propertyTom
When a rect value is passed to the clip property via CSS, keep it in ComputedValues so that at a later stage can make use of it.
2022-08-07LibWeb: Parse rect style valueTom
Add ability to parse a rect when it is used as the value of a style property.
2022-08-07Base: Add test page for CSS clip propertyTom
2022-08-07Browser: Make Refresh action in tab context menu refresh the chosen tabKarol Kosek
It was sending refresh requests to the current tab instead.
2022-08-07Browser: Make the bookmark button use an actionKarol Kosek
This merges 2 duplicated definitions (one for button, second just for the keyboard shortcut) which also makes the button 'react' on that shortcut. :^)
2022-08-07Browser: Show bookmark and history page lists under the their buttonsKarol Kosek
Previously they were showing right under the cursor.
2022-08-07Browser: Set margins for BookmarkBarWidgetKarol Kosek
It's just what GUI::Toolbar is using. Changed this to make the bookmark overflow button align with the bookmark button.
2022-08-07Browser: Use overflow-menu icon for hidden bookmarks the buttonKarol Kosek
97b381652a started using that icon for toolbars. Let's also use it here for the sweet system consistency!
2022-08-07Base: Add an example `-webkit-linear-gradient()`MacDue
2022-08-07LibWeb: Support `-webkit-linear-gradient()` correctlyMacDue
The -webkit version of linear-gradient does not include the `to` before a <side or corner>. The angles of the <side or corner> for the webkit version are also opposite that of the standard one. So for the standard: linear-gradient(to left, red, blue) The webkit version is: -webkit-linear-gradient(right, red, blue) Adding the `to` in the -webkit version is invalid, omitting it in the standard one is also invalid.
2022-08-07Base: Add HexEditor manualdjwisdom
2022-08-06Kernel: Rounding size of bss to be a multiple of 8 for aarch64 linker.ldTimon Kruiper
This fixes a bug where the bss was not completely zeroed out. This bug showed up when running the aarch64 Kernel baremetal on a Raspberry Pi.
2022-08-06Kernel: Add logic to RPi UART driver to emit CR when encountering LFTimon Kruiper
This makes sure that the debug message are properly aligned when running the kernel bare-metal on a Raspberry Pi. While we are here, also move the function out of line.
2022-08-06LibJS: Teach String.prototype.concat() to create rope stringsAndreas Kling
Defer serialization of the concatenated strings until later. This is used heavily in SunSpider's string-validate-input subtest, which sees a small progression.
2022-08-06LibJS: Correct BalanceDurationRelative algorithmLinus Groh
This is a normative change in the Temporal spec. See: - https://github.com/tc39/proposal-temporal/commit/cbf5863 - https://github.com/tc39/proposal-temporal/commit/f47d57d
2022-08-06LibJS: Rename PrimitiveString::m_{left,right} to m_{lhs,rhs}Linus Groh
The LHS/RHS naming is already widely used as parameter names and local variables with the same meaning, so let's also use them for the members.
2022-08-06LibJS: Support creation of global object in Realm::set_global_object()Linus Groh
2022-08-06LibJS+LibWeb: Restore type safety of Realm::set_global_object()Linus Groh
The changes from 8a03b17 to allow any JS::Value aren't a good fit, as shown by the excessive amount of verify_cast needed :^)
2022-08-06LibJS: Implement string concatenation using ropesAndreas Kling
Instead of concatenating string data every time you add two strings together in JavaScript, we now create a new PrimitiveString that points to the two concatenated strings instead. This turns concatenated strings into a tree structure that doesn't have to be serialized until someone wants the characters in the string. This *dramatically* reduces the peak memory footprint when running the SunSpider benchmark (from ~6G to ~1G on my machine). It's also significantly faster (1.39x) :^)
2022-08-05Base: Add symbols that were previously emoji pngsFrHun
2022-08-05Base: Remove black only symbols from emojisFrHun
2022-08-05Base: Add yet more colorized emojisBeckett Normington
This commit adds more colorized emojis. 🌻 - U+1F33B SUNFLOWER 🐌 - U+1F40C SNAIL 👑 - U+1F451 CROWN 📵 - U+1F4F5 NO MOBILE PHONES 🥇 - U+1F947 FIRST PLACE MEDAL 🥈 - U+1F948 SECOND PLACE MEDAL 🥑 - U+1F951 AVOCADO 🥕 - U+1F955 CARROT 🩸 - U+1FA78 DROP OF BLOOD
2022-08-05Base: Update FontEditor manual use images with improved resolutiondjwisdom
2022-08-05Minesweeper: Update GML and fix layout issuesthankyouverycool
Converts Minesweeper's main widget to GML, polishes the custom game window, formats the clock as human readable digital time, and defers invoking Field's callback until the main widget has finished relayout. Fixes inability to downsize the main window when shrinking field size.
2022-08-05LibGUI: Register "bitmap" GML property for ImageWidgetthankyouverycool
2022-08-05AK: Add human_readable_digital_time() helperthankyouverycool
Converts seconds into a readable digital format. For example: 30 seconds = "00:30" 90 seconds = "01:30" 86401 seconds = "24:00:01" And so on.
2022-08-05LibGUI+Applications: Govern Splitter resizing by opportunistic growththankyouverycool
This patch replaces the concept of fixed resizees with opportunistic ones which use the new SpecialDimension::OpportunisticGrow UISize. This lets us simplify splitter resize code and take advantage of the layout system's automatic calculations for minimum size and expansion. Functionally the same as before, but fixes Splitter's unintended ability to grow window size.
2022-08-05LibGUI: Calculate maximum primary size for Splitter resizeesthankyouverycool
2022-08-05LibJS: Run clang-format on Realm.cppAndreas Kling
2022-08-05LibWeb: Port web workers to the "create a new JavaScript realm" APIAndreas Kling
2022-08-05LibWeb: Don't paint non-visible framesAndreas Kling
This fixes an issue where iframes hidden with CSS `visibility: none` would still be visible.
2022-08-05LibJS: Actually create a new Realm in $262.createRealm()Andreas Kling
2022-08-05LibWeb: Support assigning to window.locationAndreas Kling
Assignments actually forward to window.location.href, as the spec requires. Since the window object is implemented by hand, this looks a little janky. Eventually we should move all this stuff to IDL.
2022-08-05LibWeb: Bring browsing context creation closer to specAndreas Kling
This patch implements the "create a new browsing context" function from the HTML spec and replaces our existing logic with it. The big difference is that browsing contexts now initially navigate to "about:blank" instead of starting out in a strange "empty" state. This makes it possible for websites to create a new iframe and start scripting inside it right away, without having to load an URL into it.
2022-08-05LibWeb: Add API for setting a document's referrerAndreas Kling
2022-08-05LibWeb: Store document origin as a HTML::Origin objectAndreas Kling
This will allow us to remember an arbitrary origin instead of deriving it from the document's URL.
2022-08-05LibGfx: Don't use Span<u32> as hash key for cached emojisAndreas Kling
We can't rely on the caller to keep the code points alive, and this was sometimes causing incorrect cache hits, leading to the wrong emoji being displayed. Fixes #14693
2022-08-05LibWeb: Clear the "is initial about:blank" flag in Document.write()Andreas Kling
2022-08-05LibWeb: Use Document::m_type to check for XML documentsAndreas Kling
...instead of doing a string compare on the DOCTYPE node.
2022-08-05LibWeb: Show iframe URLs in layout tree dumpsAndreas Kling