summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2021-03-13LibCpp: Move Cpp::Token to a separate fileItamar
2021-03-13LibCpp: Replace defined preprocessor values when parsingItamar
2021-03-13QuickShow: Add help documentationBrendan Coles
2021-03-13Kernel: Add Test for munmap of multiple regionsHendiadyoin1
Tests: Improve munmap-test We now Unmap page aligned and check if the regions were really unmappped etc. Tests: Cleanup Munmap-test added a cleanup and removed a useless cast
2021-03-13Terminal: Add support for fullscreen viewBrendan Coles
2021-03-13Userland: Create stress-truncate test programJean-Baptiste Boric
2021-03-12LibJS: Implement 'Relative Indexing Method' proposal (.at())Linus Groh
Still stage 3, but already implemented in major engines and unlikely to change - there isn't much to change here anyway. :^) See: - https://github.com/tc39/proposal-relative-indexing-method - https://tc39.es/proposal-relative-indexing-method/ - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
2021-03-12AK+LibCore: Remove empty filesAndreas Kling
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
2021-03-12QuickShow: Replace posix_spawn with LibDesktop::LauncherBrendan Coles
When multiple images are dragged and dropped onto the image widget, QuickShow will use LibDesktop::Launcher to launch a new instance of QuickShow for each item, rather than spawn a child QuickShow process for each item with posix_spawn. This allows `proc` and `exec` pledges to be removed :^)
2021-03-12UserspaceEmulator: Convert a weird klog(!) to dbgln()Andreas Kling
2021-03-12UserspaceEmulator: SoftCPU: Add support for several x86 FPU instructionsBrendan Coles
F2XM1 FYL2X FYL2XP1 FDECSTP FINCSTP FSCALE
2021-03-12WidgetGallery: Convert layout to GML and add new Icons gallerythankyouverycool
2021-03-12LibGUI: Add variable padding and center bitmaps in TableViewsthankyouverycool
This lets us make nicer looking bitmap tables and fixes a content rect issue in TreeView. Also makes key column highlighting optional
2021-03-12WindowServer+LibGfx: Enumerate Disallow cursorthankyouverycool
2021-03-12LibGUI: Clear inactive selections in DisplayOnly TextEditorsthankyouverycool
2021-03-12LibGUI: Add opacity to ImageWidgetthankyouverycool
2021-03-12LibGUI: Set override cursor to none when widget is disabledthankyouverycool
2021-03-12LibGUI: Register more GML properties and widgetsthankyouverycool
Register "placeholder" for TextEditor and ComboBox; "models_only" for ComboBox; Vertical/HorizontalSeparator for SeparatorWidget
2021-03-12LibGfx+LibGUI: Add support for vertical ProgressBarsthankyouverycool
2021-03-12LibGUI: Ignore scroll length multiplier in SpinBoxes & Slidersthankyouverycool
Prevents discrete values from being skipped when using the mouse wheel on SpinBoxes and proportional Sliders. Wheel delta can be accelerated by holding Ctrl.
2021-03-11WindowServer: Don't open system menu on super key press while draggingAndreas Kling
2021-03-11Everywhere: Rename "logo" key to "super" keyAndreas Kling
This seems to be the most common way to refer to this key, so let's call it what people actually call it.
2021-03-11FileManager: Accept TreeView drop eventVyacheslav Pukhanov
2021-03-11LibLine: Cleanup the suggestions before inserting a new code pointAnotherTest
Otherwise `reposition_cursor()` will move the cursor one character too far to the right, and since we don't redraw the entire buffer when the character is inserted at the end, the mistake won't be immediately fixed by a complete redraw. Fixes #5722
2021-03-11crash: Fix more typos in check logicBen Wiederhake
These caused no test to run for '-f' and mmap to fail, respectively.
2021-03-11crash: Fix typo in check logicBen Wiederhake
The remainder of the code assumes that the mmap was successful, so the 'unexpected error' case is that we see MAP_FAILED.
2021-03-11Userland: Remove superfluous headersBen Wiederhake
Userland has no reason to access 'kmalloc'.
2021-03-11xargs: Fix boring memory leakBen Wiederhake
It's only 1K (BUFSIZ), and it's immediately before xargs finishes anyway. However, I ran into it and know how to fix it, so let's clean this up.
2021-03-11UserspaceEmulator: Handle MAP_FIXED with invalid addresses betterBen Wiederhake
Old behavior: Crash due to VERIFY, unless we're completely and entirely out of memory (m_available_ranges being empty), in which case it would return -ENOMEM. New behavior: Return ENOMEM (and don't crash). In the case of nullptr, also emit a helpful diagnostic. Note that MAP_FIXED with nullptr is technically okay, but tends to be a sign that something went wrong. Also, this should improve mmap performance marginally, as it pulls the check out of a loop that does not modify any parts of the check. UE is now self-hosting! Fixes #5709. However, this still needs some love: "ue UserspaceEmulator true" spits out tons of error messages, probably false-positives, and takes about 229 seconds to run. Then again, true-in-ue-in-ue-in-Qemu is three levels of emulation, so no wonder it takes a long time! :D
2021-03-11UserspaceEmulator: Do not pass MAP_FIXED to KernelBen Wiederhake
Since there is usually no correlation between guest memory-layout and UE memory-layout, this option does not make any sense. Especially since we provide nullptr.
2021-03-11UserspaceEmulator: Implement set_process_name syscallBen Wiederhake
2021-03-11UserspaceEmulator: Split large file into logical piecesBen Wiederhake
2021-03-11LibWeb: Remove FIXME in is_javascript_mime_type_essence_matchLuke
This was misleading. The spec just wants us to check a string matches a string in the JavaScript MIME type essence list. It doesn't want us to parse the string as a MIME type to then use its essence for the check. Renames "mime_type" to "string" to make this less misleading.
2021-03-10fuzz-syscalls: Mark sys$emuctl() as someone who returns ENOSYSAndreas Kling
This syscall is only relevant inside UserspaceEmulator and the kernel will just return ENOSYS for it.
2021-03-10UserspaceEmulator: Remove debug spam about tracked malloc blocksAndreas Kling
2021-03-09Utilities: Add a quotes database and 'fortunes' programBen Wiederhake
I told you, we need a quotes ~~page~~ file! :D
2021-03-09LibWeb: Run clang-format on CSS/Parser/StyleComponentValueRule.hAndreas Kling
2021-03-09LibWeb: Run clang-format on CSS/Parser/Token.hAndreas Kling
2021-03-09LibX86: Don't use "if (foo) [[unlikely]] { }" for now (to please clang)Andreas Kling
2021-03-09LibWeb: Add a whole bunch of rule classes for the new CSS parserAndreas Kling
Original work by @stelar7.
2021-03-09LibWeb: Rename CSSParser => DeprecatedCSSParserAndreas Kling
2021-03-09LibWeb: Add specification-based CSS tokenizerAndreas Kling
Original work by @stelar7 for #2628.
2021-03-09UserspaceEmulator: Add fast-path for is<MmapRegion>()Andreas Kling
Don't use default RTTI for these since they are performance-sensitive.
2021-03-09UserspaceEmulator+LibX86: Sprinkle some [[unlikely]] and ALWAYS_INLINEAndreas Kling
2021-03-09Emulator: Use libc.so bounds to fast-reject non-malloc addressesAndreas Kling
The auditing code always starts by checking if we're in one of the ignored code ranges (malloc, free, realloc, syscall, etc.) To reduce the number of checks needed, we can cache the bounds of the LibC text segment. This allows us to fast-reject addresses that cannot possibly be a LibC function.
2021-03-09UserspaceEmulator: Support FLDL2E / FLDPI, fix typos, use M_LN2 constantBrendan Coles
2021-03-09UserspaceEmulator: Add Emulator::dump_regions() helper functionAndreas Kling
2021-03-09UserspaceEmulator: Honor alignment requests in virt$mmap(MAP_RANDOMIZED)Andreas Kling
2021-03-09UserspaceEmulator: Add partial support for some more x87 instructionsAndreas Kling
Patch by @bcoles