summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-01PixelPaint: Add fill mode for the ellipse toolValtteri Koskivuori
Functionality was already there, just had to hook it up!
2021-05-01Kernel: Handle both shift keys being pressed and then releasedIdan Horowitz
Our current implementation does not work in the special case in which both shift keys are pressed, and then only one of the keys is released, as this would result in writing lower case letters, instead of the expected upper case letters. This commit fixes that by keeping track of the amount of shift keys that are pressed (instead of if any are at all), and only switching to the unshifted keymap once all of them are released.
2021-05-01Userland: Improve how traceroute reports timing data for packetsGunnar Beutner
Previously we'd include the time required to do DNS resolution in the time we'd report for traceroute packets. This would skew the times reported.
2021-05-01Meta: Remove trailing whitespace from ro.jsonLinus Groh
This fixes the CI linting step.
2021-05-01Kernel: Make processes start with a 16-byte-aligned stackSahan Fernando
2021-05-01Kernel: Make sure we read all packetsGunnar Beutner
The previous patch already helped with this, however my idea of only reading a few packets didn't work and we'd still sometimes end up not receiving any more packets from the E1000 interface. With this patch applied my NIC seems to receive packets just fine, at least for now.
2021-05-01Keymap: Added Romanian layoutxSlendiX
2021-05-01Kernel: Expose minor device numbers for keyboard and mouseValtteri Koskivuori
A fix for two FIXMEs, and paving the way for multi-keyboard/mouse support, I guess.
2021-05-01LibGUI: Improve a FIXME comment in TextDocumentAndreas Kling
2021-05-01TextEditor: Make sure to mark the Window as unmodified after savingAndreas Kling
This comes with a FIXME, as it would be nicer if this information would propagate from TextDocument all the way out somehow.
2021-05-01TextEditor: Use an automatic "modified" marker in the window titleAndreas Kling
This simplifies the application somewhat as we no longer need to manually update the window title whenever the text document changes.
2021-05-01WindowServer+LibGfx: Automatic "modified" markers in window titlesAndreas Kling
You can now add the string "[*]" to a window title and it will be replaced with " (*)" if the window is modified, and with "" otherwise.
2021-05-01TextEditor: Plumb modified state from GUI::TextDocument to GUI::WindowAndreas Kling
Instead of tracking this stuff ourselves at the application level, we now just act as an intermediary and pass along the information to the windowing system.
2021-05-01LibGUI: Track modified state in GUI::TextDocumentAndreas Kling
Until now, this has been hackishly tracked by the TextEditor app's main widget. Let's do it in GUI::TextDocument instead, so that anyone who uses this class can know whether it's modified or not.
2021-05-01TextEditor: Add some missing curly braces around a nested if statementAndreas Kling
2021-05-01TextEditor: Remove some unnecessary #include statementsAndreas Kling
2021-05-01TextEditor: Rename TextEditorWidget => TextEditor::MainWidgetAndreas Kling
2021-05-01LibGUI: Add getter/setter for GUI::Window modified stateAndreas Kling
This state lives in WindowServer and has no local copy in the client process for now. This may turn out to be a performance issue, and if it does we can easily cache it.
2021-05-01WindowServer: Add Window "modified" stateAndreas Kling
This will be used to track which windows contain some kind of unsaved data that the user may want some help remembering to save. :^)
2021-05-01Lagom/Fuzzers: Add fuzzers for Windows-1251 and Windows-1255 decodersIdan Horowitz
2021-05-01LibTextCodec: Implement a Windows-1251 decoderIdan Horowitz
This encoding (a superset of ascii that adds in the cyrillic alphabet) is currently the third most used encoding on the web, and because cyrillic glyphs were added by Dmitrii Trifonov recently, we can now support it as well :^)
2021-05-01Everywhere: Rename app_menu to file_menu or game_menuAndreas Kling
2021-05-01Base: Add bold Hebrew character glyphs to the Katica Bold 10 fontGal Horowitz
The glyph for the letter `Shin` (U+05E9) looks a bit wonky because the width of the font is too small. Unfortunately it doesn't look like the FontEditor is capable of changing the width of an existing font, so if that option will be added in the future this glyph can be fixed.
2021-05-01Shell: Move the heredocs vector to a local value before processing itAli Mohammad Pur
Otherwise we would end up trying to parse the same heredoc entry, if it contained a sequence terminated by a newline. e.g. `<<-x\n$({` would attempt to read a heredoc entry after `x`, and then after `{` while inside the first heredoc entry. To make this work, we can simply empty the instance vector and keep the state on the stack. Issue found through oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33852
2021-05-01Shell: Make set_is_syntax_error() also copy the error locationAli Mohammad Pur
2021-05-01Shell: Disallow non-bareword nodes as part of a heredoc keyAli Mohammad Pur
Found by oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33854
2021-05-01LibCore: Fix building the library on macOSGunnar Beutner
2021-05-01Man: Add a manpage for rev(1)Mango0x45
2021-05-01Userland: Add the rev(1) utility to reverse linesMango0x45
2021-05-01Userland: Remove an unused function declaration from tac.Mango0x45
The function declaration seems to have come from an earlier commit. The function is no longer here so there is no reason to keep this around.
2021-05-01HackStudio: Detection of externally deleted filesOlivier De Cannière
HackStudio can now detect that files that have been opened in it were deleted. When this occurs, it will update the list of open files and reasign a file to the editors that showed the deleted file before the deletion. The new file is either another file that was opened or the default editor is no other open file is available Closes SerenityOS#6632
2021-05-01Ports: Generate host keys for OpenSSHGunnar Beutner
2021-05-01Ports: Use sendfd()/recvfd() for mm_send_fd()/mm_receive_fd()Gunnar Beutner
2021-05-01LibC: Make sure that parse_pwddb_entry doesn't write to stderrGunnar Beutner
Library functions shouldn't write to stdout/stderr as that might not be expected by the caller.
2021-05-01LibC: Implement support for getspnam() and friendsGunnar Beutner
2021-05-01LibC: Move crypt() and crypt_r() to the right header fileGunnar Beutner
According to POSIX.1 these should be in <crypt.h>.
2021-05-01Kernel: Harden Ext2FileSystem Vector usage against OOM.Brian Gianforcaro
2021-05-01Kernel: Harden Process Vector usage against OOM.Brian Gianforcaro
2021-05-01Kernel: Harden DevFS Vector usage against OOM.Brian Gianforcaro
The dance here is not complicated, but it is something that should be taken note of. Since we append to both lists, we don't want to orphan the new Inode in the m_links/m_subfolders Vector in the event that the append to m_parent_fs.m_nodes fails.
2021-05-01Kernel: Harden sys$setgroups Vector usage against OOMBrian Gianforcaro
2021-05-01Kernel: Harden Socket Vector usage against OOMBrian Gianforcaro
2021-05-01Kernel: Harden LocalSocket Vector usage against OOM.Brian Gianforcaro
2021-05-01LibC: Make EWOULDBLOCK an alias for EAGAINGunnar Beutner
According to POSIX.1 all error codes have to be distinct - with the exception for EAGAIN and EWOULDBLOCK. Other libcs including eglibc and newlib define EWOULDBLOCK as an alias for EAGAIN and some software including OpenTTD expect this behavior.
2021-05-01Ports: Disable GetPerformanceTimer() for OpenTTDGunnar Beutner
OpenTTD calls gettimeofday() so many times per second that the game becomes unusable after joining a reasonably active network game.
2021-05-01LibX86+UserspaceEmulator: Add MMX insns prototypesHendiadyoin1
2021-05-01Base: Add a man page for the 'bt' command.Brian Gianforcaro
2021-05-01bt: Enumerate all threads when symbolizing stacks in the bt utility.Brian Gianforcaro
Enumerate tid's from /proc/{pid}/stacks/ and use it to print the backtrace for all active threads in the specified process.
2021-05-01bt: Fix generation of click-able links for source files.Brian Gianforcaro
When the default build location was moved from /Build to the new architecture specific directory, /Build/i686, this code broke. All file names are now path relative one additional level up. So continue the hack, and introduce another dummy directory to make the relative paths resolve correctly.
2021-05-01Lagom/CMake: Add -fconstexpr-steps for AppleClangCarlos César Neves Enumo
2021-05-01LibWeb: Use new way of generating list-style-type: *-alphaTobias Christiansen
Removed the local conversion from number to alphabet and used the one offered in AK/String instead.