summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-29iLibC: Fix some missed camelCase => snake_caseAndreas Kling
2021-04-29Meta: Add note to CONTRIBUTING.md about pointless GitHub commentsAndreas Kling
2021-04-29Meta: Simplify & clarify CONTRIBUTING.md somewhatAndreas Kling
Also remove the feature policy section, since it was mostly fluff. It was nice fluff, but made the document less focused.
2021-04-29LibWeb: Move Layout::TextNode whitespace collapse to separate functionAndreas Kling
2021-04-29Ports: Make Super Mario work with GCC 11Gunnar Beutner
2021-04-29Toolchain: Update the binutils patch file to match the portGunnar Beutner
Previously the toolchain's binutils would not have been able to build binaries on 32-bit host systems (not that this would be much of an issue nowadays) because one of the #ifdefs was in the wrong place. I moved the #ifdef in the port's patch and this now updates the toolchain's patch file to match the port's patch.
2021-04-29Ports: Update binutils to version 2.36.1Gunnar Beutner
Otherwise linking fails when building object files with DWARF 5 symbols.
2021-04-29Ports: Remove duplicate configopts varGunnar Beutner
2021-04-29Ports: Build fix for gcc when building the port with gcc 11.1.0Gunnar Beutner
2021-04-29Ports: Use SHA256 for the gcc portGunnar Beutner
This updates the way we verify signatures for the gcc port because we were previously downloading the keychain from the mirror which defeats the point of doing signature checks.
2021-04-29Userland: Fix new GCC warningsGunnar Beutner
2021-04-29Toolchain+Ports: Update GCC to version 11.1.0Gunnar Beutner
2021-04-29Ports: Fix ports linting, ffmpeg is missing from AvailablePorts.mdBrian Gianforcaro
2021-04-29Ports: ffmpeg 4.4Holden Green
2021-04-29Implemented llabs() in stdlib.h/cpp.Holden Green
2021-04-29LibC: added a bunch of macros in inttypes.h for use in formating strings ↵Holden Green
being passed to sscanf.
2021-04-29Ports: Fix the SHA256 checksum for the yasm portGunnar Beutner
2021-04-29Browser: Display search engine format in statusbarMaciej Zygmanowski
2021-04-29Browser: Save search engine setting to preferencesMaciej Zygmanowski
2021-04-29AK: Make AK::Vector expose allocation failures in APISahan Fernando
2021-04-29Kernel: Add MSG_PEEK support for the IPv4SocketJustin
This commit will add MSG_PEEK support, which allows a package to be seen without taking it from the buffer, so that a subsequent recv() without the MSG_PEEK flag can pick it up.
2021-04-29Kernel: Implement peek() function for DoubleBufferJustin
This allows us to "peek" into a DoubleBuffer without incrementing the m_read_buffer_index, which is needed to implement MSG_PEEK.
2021-04-29LibDebug: Implement support for AttributeDataForm::ImplicitConstGunnar Beutner
While symbolicating a crash dump for UserspaceEmulator I came across another data form we didn't support. ImplicitConst encodes a LEB128 value in the abbreviation record rather than - like all other values - in the .debug_info section.
2021-04-29Browser: Add GitHub and Yandex to search enginesPanagiotis Vasilopoulos
2021-04-29Ports: Remove unused signature file for the rsync portGunnar Beutner
2021-04-29LibGUI: Fix issue where buttons with a menu sometimes stayed depressedMart G
When a Button has a menu, the AbstractButton behaviour will now not be used in the mousemove_event. This was already the case for mousedown_event. Why only sometimes? Normally the presence of the menu prevents mousemove_events from being delivered to the button. But the menu doesn't spawn immediately. So sometimes mousemove events got through to the AbstractButton after the menu was told to spawn but before it appeared. This caused the m_being_pressed field of AbstractButton to be set to true. But there was never a mouseup_event because the menu got those instead.
2021-04-29Meta: Make copyright header check more strictLinus Groh
2021-04-29Userland: Fix two misaligned copyright headersLinus Groh
2021-04-29tac: Replace copyright text with SPDX license identifierLinus Groh
2021-04-29Everywhere: Use "the SerenityOS developers." in copyright headersLinus Groh
We had some inconsistencies before: - Sometimes "The", sometimes "the" - Sometimes trailing ".", sometimes no trailing "." I picked the most common one (lowecase "the", trailing ".") and applied it to all copyright headers. By using the exact same string everywhere we can ensure nothing gets missed during a global search (and replace), and that these inconsistencies are not spread any further (as copyright headers are commonly copied to new files).
2021-04-29Everywhere: Add missing comma between copyright year and nameLinus Groh
2021-04-28LibDebug: Implement support for AttributeDataForm::{UData,LineStrP}Gunnar Beutner
2021-04-28LibDebug: Implement support for DWARF 5 line programsGunnar Beutner
2021-04-28LibDebug: Implement support for DWARF 5 compilation unit headersGunnar Beutner
2021-04-28LibDebug: Move UnitHeader32 out of the LineProgram classGunnar Beutner
2021-04-28LibDebug: Move get_attribute_value to the DwarfInfo classGunnar Beutner
2021-04-28Kernel: Avoid overrunning the user-specified buffers in select()Gunnar Beutner
2021-04-28Kernel: Check kernel symbol's name length matches searched nameIdan Horowitz
The current implementation would only check the first name.length() characters match, which means any kernel symbol that the provided name is a prefix of would match, instead of the actual matching symbol. This commit fixes that by using StringView::operator==() for the comparison, which already checks the equality correctly.
2021-04-28AK: Guarantee a maximum stack depth for dual_pivot_quick_sortMart G
When the two chosen pivots happen to be the smallest and largest elements of the array, three partitions will be created, two of size 0 and one of size n-2. If this happens on each recursive call to dual_pivot_quick_sort, the stack depth will reach approximately n/2. To avoid the stack from deepening, iteration can be used for the largest of the three partitions. This ensures the stack depth will only increase for partitions of size n/2 or smaller, which results in a maximum stack depth of log(n).
2021-04-28AK: Change pivot selection of dual_pivot_quick_sortMart G
Picking the first and last elements as pivots makes it so that a sorted array is the worst-case input for the algorithm. This change instead picks pivots at approximately 1/3 and 2/3 in the array. This results in desired performance for sorted arrays. Of course this only changes which inputs result in worst-case performance, but hopefully those inputs occur less frequently than already sorted arrays.
2021-04-28LibC: static_assert that all malloc size classes have an alignment of 8Idan Horowitz
This will help prevent issues like the one fixed by #6703 from happening again.
2021-04-28LibC: Make sure malloc() returns addresses that have an alignment of 8Gunnar Beutner
2021-04-28Kernel+LibC: Implement the socketpair() syscallGunnar Beutner
2021-04-28Userland: Implement tac commandFederico Guerinoni
Nobody care about tac :^).
2021-04-28Toolchain: Update QEMU to 6.0.0-rc5Brian Gianforcaro
Changes since rc4: 0cef06d187: Update version for v6.0.0-rc5 release 5351fb7cb2: hw/block/nvme: fix invalid msix exclusive uninit ffa090bc56: target/s390x: fix s390_probe_access to check PAGE_WRITE_ORG bc38e31b4e: net: check the existence of peer before trying to pad
2021-04-28HackStudio: Add context option to set execution point while debuggingFalseHonesty
You can now right click in HackStudio's editor while debugging and have the option to instantly move the current execution position to the current line.
2021-04-28WindowServer: Use window menu actions when clicking frame buttonsTom
This keeps the minimize/maximize/restore/close implementation consistent with the window menu actions.
2021-04-28WindowServer: Don't restore active window if it is minimizedTom
When closing a menu, don't restore the active input to a window that is now minimized or invisible. Fixes #6690
2021-04-28Screensaver: Implement mouse hysteresisJelle Raaijmakers
Allow the mouse to move a bit before actually closing the app. Fixes #6692
2021-04-28Documentation: Fix typo (duplicate osxfuse) from #6069thislooksfun
This fixes part of #6656.