summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-05Kernel: Make ATA macros to be publicLiav A
2021-03-05Kernel: Add enum values for later implementation of AHCILiav A
2021-03-05Kernel: Add Declaration of IDEChannel class in PATADiskDevice.hLiav A
2021-03-05Profiler: Get perfcore file from ArgsParserLinus Groh
Fixes #5641.
2021-03-04Shell: Document all supported PROMPT flagsBen Wiederhake
2021-03-04Meta: Search for the correct ccache cache keyBen Wiederhake
"Hmm, 'toolchain' is a better name here!" I said, and changed the key name. And then I promptly forgot to update the restore-key value. D'oh!
2021-03-04LibC: Fix typo in fenv.hMițca Dumitru
`FE_TOWARDSZERO` is actually spelled `FE_TOWARDZERO` (without the 'S')
2021-03-04Kernel: Define a KERNEL_VIRTUAL_BASE in the linker scriptAndreas Kling
Slightly nicer than saying "0xc0000000" over and over.
2021-03-04Kernel: Make the kernel compile & link for x86_64Andreas Kling
It's now possible to build the whole kernel with an x86_64 toolchain. There's no bootstrap code so it doesn't work yet (obviously.)
2021-03-04Kernel: Remove repeated_{in,out}16()Andreas Kling
These were some wrappers around x86 "insw/outsw" that are no longer used for anything, so let's remove them.
2021-03-04SystemMonitor: Return icon display data as GUI::Iconsthankyouverycool
And delete the generic icon member which has been dormant since switching to FileIconProvider. Fixes icon column not being properly painted as icon cells.
2021-03-04LibGUI: Increase row height in Table/ColumnViews and center iconsthankyouverycool
16x16 icons are now guaranteed at least 1px margins between rows
2021-03-04Kernel: Stop trying to keep InodeVMObject in sync with disk changesAndreas Kling
As it turns out, Dr. POSIX doesn't require that post-mmap() changes to a file are reflected in the memory mappings. So we don't actually have to care about the file size changing (or the contents.) IIUC, as long as all the MAP_SHARED mappings that refer to the same inode are in sync, we're good. This means that VMObjects don't need resizing capabilities. I'm sure there are ways we can take advantage of this fact.
2021-03-04Documentation: Re-arrange Linux prerequisites in build instructionsDan MacDonald
2021-03-04Meta: Use and cache ccache on Github ActionsBen Wiederhake
2021-03-04Kernel: Remove unused KMALLOC_DEBUG_LARGE_ALLOCATIONS modeAndreas Kling
This was a thing back when the system was so little that any kernel allocation above 1 MiB was basically guaranteed to be a bug. :^)
2021-03-04AK: Simplify Bitmap and implement in terms of BitmapViewAndreas Kling
Add Bitmap::view() and forward most of the calls to BitmapView since the code was identical. Bitmap is now primarily concerned with its dynamically allocated backing store and BitmapView deals with the rest.
2021-03-04LibCrypto: Use BitmapView instead of Bitmap::wrap()Andreas Kling
2021-03-04Kernel: Use BitmapView instead of Bitmap::wrap()Andreas Kling
2021-03-04AK: Add BitmapView class (like StringView but for bitmaps)Andreas Kling
AK::Bitmap is an awkwardly modal class which can either own or wrap the underlying data. To get ourselves out of this unpleasant situation, this patch adds BitmapView to replace the wrapped mode. A BitmapView is simply a { data pointer, bit count } tuple internally and provides all the convenient functionality of a bitmap class.
2021-03-04CI: Build with -DENABLE_PCI_IDS_DOWNLOAD=OFFLinus Groh
Closes #5611.
2021-03-04Build: Download and uncompress gzipped version of pci.idsLinus Groh
Partially addresses #5611.
2021-03-04Build: Add ENABLE_PCI_IDS_DOWNLOAD CMake optionLinus Groh
This allows disabling the download of the pci.ids database at build time. Addresses concerns raised in #5410.
2021-03-04HackStudio/LanguageServers: Move some components out of CppAnotherTest
This makes them available for use by other language servers. Also as a bonus, update the Shell language server to discover some symbols and add go-to-definition functionality :^)
2021-03-04LibGUI: Handle some edge cases in the spanned text drawing algorithmAnotherTest
This commit makes it skip invalid ranges and whine about overlapping spans before ignoring them (instead of crashing).
2021-03-04Shell: Adjust syntax highlighting logic for the new TextPosition logicAnotherTest
2021-03-04Shell: Make Node::hit_test_position() constAnotherTest
2021-03-04Everywhere: Remove unnecessary `clang-format off`sWilliam McPherson
Mostly due to the fact that clang-format allows aligned comments via AlignTrailingComments. We could also use raw string literals in inline asm, which clang-format deals with properly (and would be nicer in a lot of places).
2021-03-04Base: Remove two outdated aliases from /etc/shellrcAndreas Kling
2021-03-04Kernel: Remove 1 level of indirection for AnonymousVMObject CoW bitmapsAndreas Kling
Instead of keeping AnonymousVMObject::m_cow_map in an OwnPtr<Bitmap>, just make the Bitmap a regular value member. This increases the size of the VMObject by 8 bytes, but removes some of the kmalloc/kfree spam incurred by sys$fork().
2021-03-04AK: Add Bitmap::is_null()Andreas Kling
This class has a null state but there was no API to check for it.
2021-03-04TextEditor: Don't attempt to stop the autocomplete timer if it is nullItamar
Closes #5567
2021-03-04Kernel: Create /dev/full with mode 0666Brendan Coles
2021-03-04Lagom/Fuzzers: Add fuzzers for LibCompessLuke
Adds fuzzers for Deflate, Gzip and Zlib.
2021-03-04Base: Add man pages for null/zero/full character devicesBrendan Coles
2021-03-03Meta: Stop excluding getopt.cpp from lintingIdan Horowitz
This file was already "serenified" by @bugaevc long ago.
2021-03-03LibCore+LibHTTP+LibGfx: Switch to LibCompressIdan Horowitz
This commit removes the only 3rd party library (and its usages) in serenity: puff, which is used for deflate decompression. and replaces it with the existing original serenity implementation in LibCompress. :^)
2021-03-03Profiler: Symbolicate addresses in non-PIE ELF objectsAndreas Kling
This is a little bit messy, but basically if an ELF object is non-PIE, we have to account for the executable mapping being at a hard-coded offset and subtract that when doing symbolication. There's probably a nicer way to solve this, I just hacked this together so we can see "cc1plus" and friends in profiles. :^)
2021-03-03Ports: Add libpng 1.6.37TheMorc
2021-03-03AK+Kernel: Remove NO_DISCARD macro hackLinus Groh
This was added as clang-format would mess up the formatting when using [[nodiscard]] on a class, which is no longer the case.
2021-03-03Documentation: Add instruction about entitlements in BuildInstructionsElliot Maisl
The QEMU's `--accel hvf` command was recently enabled in the `run.sh` script, but it sadly doesn't work on macOS Big Sur: you need to first sign your code by adding an `entitlements.xml` file and running a simple command.
2021-03-03Kernel: Skip TLB flushes while cloning regions in sys$fork()Andreas Kling
Since we know for sure that the virtual memory regions in the new process being created are not being used on any CPU, there's no need to do TLB flushes for every mapped page.
2021-03-03LibJS: Fix a handful of clang-tidy complaints in AST.cppAndreas Kling
2021-03-03Profiler: Cache and reuse mapped ELF objectsAndreas Kling
In multi-process profiles, the same ELF objects tend to occur many times (everyone has libc.so for example) so we will quickly run out of VM if we map each object once per process that uses it. Fix this by adding a "mapped object cache" that maps the path of an ELF object to a cached memory mapping and wrapping ELF::Image.
2021-03-03HackStudio: Allow multi-selection in project view treeBui Quang Minh
2021-03-03FileManager: Add launch handler actions to desktop context menuZac
Extracted a method from the code in the File Manager application which added actions for activating launch handlers found for the selected file from the context menu. Applied this method to desktop files and shortcuts. Note: made some launch handler related methods in the DirectoryView static or const which allows passing const DirectoryView& to certain methods.
2021-03-03LibWeb: Stop scrolling above content in BlockBoxdavidot
2021-03-03Base: Set a nice PROMPT in /etc/shellrc :^)Andreas Kling
2021-03-03Terminal: Stop pushing a PROMPT into the shell's environmentAndreas Kling
This isn't the terminal's responsibility.
2021-03-03Kernel: Avoid transient kmalloc heap allocations in sys$select()Andreas Kling
Dynamic Vector allocations in sys$select() were showing up in the full-system profile and since there will never be more than FD_SETSIZE file descriptors to worry about, we can confidently add enough inline capacity to this Vector that it never has to kmalloc. To compensate for the increased stack usage, reduce the size of the FDInfo struct while we're here. :^)