summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-19FileManager: Use new TextBox::DisplayOnly mode in the properties dialogAndreas Kling
Use this instead of disabling the name TextBox. This looks a little bit nicer than the grayed-out appearance. :^)
2020-07-19Userland: add mkfifo(1)Peter Elliott
2020-07-19LibC: add mkfifo(3)Peter Elliott
2020-07-19Userland: mknod: Don't use major/minor when creating a pipePeter Elliott
2020-07-19Kernel: Implement FIFOs/named pipesPeter Elliott
2020-07-19Demos: Setup window icon for Mouse demoBrian Gianforcaro
The icon was set in the launcher, and the About dialog, but was missing form the actual window.
2020-07-18UserspaceEmulator: Add the get_dir_entries() syscall + an ioctl() stubAndreas Kling
2020-07-18UserspaceEmulator: Fix buggy IDIV instructionsAndreas Kling
These were not doing mashing together the signed double-size results correctly and lost bits in the signed/unsigned casting process.
2020-07-18UserspaceEmulator: Fix buggy IMUL instructionsAndreas Kling
These were not recording the higher part of the result correctly. Since the flags are much less complicated than the inline assembly here, just implement IMUL in C++ instead.
2020-07-18AK: Use "signed char" as the opposite of "unsigned char"Andreas Kling
I totally forgot about the C++ basics here. There are three distinct types: "char", "signed char" and "unsigned char". Whether "char" is signed or unsigned is implementation specific.
2020-07-18UserspaceEmulator: Add single-operand MUL and DIV instructionsAndreas Kling
These are the unsigned variants. Signed variants sold separately.
2020-07-18UserspaceEmulator: Implement the BSF and BSF instructionsAndreas Kling
BSF maps nicely to __builtin_ctz(), but for BSR we have to bust out some inline assembly to get exactly what we want.
2020-07-18LibGUI: Set parent icon, margins and disable resize for InputBoxthankyouverycool
Gives a more compact, uniform appearance to input boxes.
2020-07-18LibGUI: Paint slider knob as indented when disabledthankyouverycool
Better visual feedback when sliders won't budge.
2020-07-18WidgetGallery: Add more widgetsthankyouverycool
Adds combo and input boxes + more variation for existing widgets.
2020-07-18System Monitor: Sort Address column in memory map numericallyNico Weber
2020-07-18Taskbar: Use Name from .af file as tooltipNico Weber
With this, System Monitor has "System Monitor" instead of "SystemMonitor" as tooltip, matching the app's title bar and menu bar title. Same for File Manager and Text Editor.
2020-07-18TextEditor: Auto-select C++ syntax highlighting for more extensionsNico Weber
2020-07-18WindowServer: Decide on a window title before measuring its widthAndreas Kling
If we add "(Not responding)" to the title of an unresponsive window, the title rect needs to be wider or we'll have text-on-stripes. Thanks to @SharpOB for reporting this bug!
2020-07-18UserspaceEmulator: Fix XCHG_AX_reg16 overwriting entire EAXAndreas Kling
This instruction should only write to the lower 16 bits (AX)
2020-07-18UserspaceEmulator: Simplify the STOSB/STOSW/STOSD instructionsAndreas Kling
2020-07-18UserspaceEmulator: Simplify MOVSB/MOVSW/MOVSD instructionsAndreas Kling
Use the new loop instruction helpers.
2020-07-18UserspaceEmulator: Implement the SCASB/SCASW/SCASD instructionsAndreas Kling
2020-07-18UserspaceEmulator: Implement the LODSB/LODSW/LODSD instructionsAndreas Kling
Look how nice they look with the new loop instruction helpers. :^)
2020-07-18UserspaceEmulator: Implement the JCXZ instructionAndreas Kling
2020-07-18UserspaceEmulator: Fix too-wide accumulator used in 8/16 bit CMPXCHGAndreas Kling
2020-07-18Kernel: Remove special-casing of sys$gettid() in syscall entryAndreas Kling
We had a fast-path for the gettid syscall that was useful before we started caching the thread ID in LibC. Just get rid of it. :^)
2020-07-18UserspaceEmulator: Add helpers for making loop instructions genericAndreas Kling
Use them to implement CMPSB/CMPSW/CMPSD.
2020-07-18UserspaceEmulator: Add the LOOP/LOOPZ/LOOPNZ instructionsAndreas Kling
2020-07-18UserspaceEmulator: Implement the XLAT instruction :^)Andreas Kling
2020-07-18UserspaceEmulator: Add 16-bit PUSH/POP instructionsAndreas Kling
2020-07-18UserspaceEmulator: Fix every line in backtraces showing EIPAndreas Kling
Oops, we're supposed to show the return address for each frame, not the current EIP every time. :^)
2020-07-18UserspaceEmulator: Implement the BT/BTS/BTR/BTC instruction setAndreas Kling
2020-07-18UserspaceEmulator: Implement IMUL_RM8 and IMUL_RM32Andreas Kling
These are both a little tricky since they produce a result wider than the inputs.
2020-07-17WindowServer: New title bar vars for themesNullspeak
The theming system can now control title bar height, title button size, title stripe color and the title text shadow color. The implemented theme metrics system could be later extended to LibGUI to allow themes to change widget padding, border width, etc.
2020-07-17Shell: Mark ForLoop as would_executeAnotherTest
This fixes #2825.
2020-07-17Kernel: Make all 6 VirtualConsoles available via shortcutFlorian Angermeier
Add all 6 shortcuts even if the switch between VirtualConsoles is currently not available in the graphical console. Also make the case statement more compact.
2020-07-17Kernel: Ensure there are all VirtualConsoles properly initializedFlorian Angermeier
It is possible to switch to VirtualConsoles 1 to 4 via the shortcut ALT + [1-4]. Therefor the array of VirtualConsoles should be guaranteed to be initialized. Also add an constant for the maximum number of VirtualConsoles to guarantee consistency.
2020-07-17Kernel: Make the VirtualConsole index const unsigned instead of unsignedFlorian Angermeier
const: The index should not be modified in the constructor to avoid unexpected behavior
2020-07-17UserspaceEmulator: Skip freed mallocations in reachability scanAndreas Kling
Something being reachable from a freed mallocation doesn't make it actually reachable. Thanks to Jonas Bengtsson for spotting this! :^)
2020-07-16UserspaceEmulator: Add the usleep() syscallAndreas Kling
2020-07-16UserspaceEmulator: Reset malloc backtrace on mallocation reuseAndreas Kling
If a previously-freed malloc chunk is reused, forget any old backtraces and save a new malloc backtrace.
2020-07-16LibGUI: Turn a heap-allocated event into a stack-allocated oneAndreas Kling
2020-07-16LibCore: Turns some heap-allocated events into stack-allocated onesAndreas Kling
2020-07-16LibC: Notify UserspaceEmulator about BigAllocationBlock mallocsAndreas Kling
We were forgetting to inform UE about these, which caused it to believe subsequent calls to free() were invalid.
2020-07-16WindowServer: Fix picking new active window after destroyTom
We need to mark windows as destroyed and not consider them when picking a new active window. Fixes lost focus after closing some windows.
2020-07-16WindowServer: Fix traversing modal stackTom
When walking the modal window stack upwards, we need to check if the top modal window is still a descendant of the window that the parent is blocked by. Fixes not all windows being brought to the front when trying to active a parent in the middle of the modal window stack.
2020-07-16UserspaceEmulator: Don't scan text segment for malloc leaksAndreas Kling
There will be no (true positive) malloc addresses in the text segment.
2020-07-16UserspaceEmulator: Print the number of bytes leaked on exit :^)Andreas Kling
2020-07-16UserspaceEmulator: Add TLS regions to reachability checkingAndreas Kling