summaryrefslogtreecommitdiff
path: root/DevTools
AgeCommit message (Collapse)Author
2020-11-10HackStudio: Scroll embedded terminals to bottom upon command executionAndreas Kling
It was kinda annoying that you had to scroll down manually every time you started a new build while looking at some error in the scrollback.
2020-11-09AK: Rename new_out to out and new_warn to warn.asynts
2020-11-08UserspaceEmulator: Support the first two levels of CPUIDAndreas Kling
GCC uses these when deciding which memcpy implementation to use.
2020-11-08UserspaceEmulator+LibC: Have UE notice realloc() and update accountingAndreas Kling
When a mallocation is shrunk/grown without moving, UE needs to update its precise metadata about the mallocation, since it tracks *exactly* how many bytes were allocated, not just the malloc chunk size.
2020-11-08UserspaceEmulator: Fix busted backtraces with --report-to-debugAndreas Kling
Some of the output was still going to stderr in this mode, we need to use reportln() to make sure it goes to the right place.
2020-11-08UserspaceEmulator: Don't audit accesses within realloc(), malloc_size()Andreas Kling
These functions access malloc-related memory outside of UE's accounting boundaries, so just ignore them.
2020-11-03HackStudio: Run clang-formatAndreas Kling
2020-11-03HackStudio: Store and restore the scrollbar values of ProjectFiles when they โ†ตZac
are closed and reopened from the list of open files.
2020-11-02HackStudio: Removes the file from the list of open filesKesse Jones
When a file is deleted from the project it will also be removed from the list of open files
2020-11-01HackStudio: Fixed opening the project by always opening the main.cpp fileKesse Jones
Now when opening the project a search will be made for a file with the extension cpp or js and opening it. If not found, the first file will be opened.
2020-10-31Profiler: Set window title based on the selected ViewUma Sankar Yedida
This will help us identify which View that we are currently looking at.
2020-10-30LibGUI: Add Widget focus policiesAndreas Kling
Every widget now has a GUI::FocusPolicy that determines how it can receive focus: - NoFocus: The widget is not focusable (default) - TabFocus: The widget can be focused using the tab key. - ClickFocus: The widget can be focused by clicking on it. - StrongFocus: Both of the above. For widgets that have a focus proxy, getting/setting the focus policy will affect the proxy instead.
2020-10-29HackStudio: Use GUI::TextDocument::span_at()Andreas Kling
2020-10-29HackStudio: Remove ProcessStateWidgetAndreas Kling
This was a little banner that would pop up when running something in the "Build" tab. It didn't look very good and it was mostly distracting how it would pop in and out of the window.
2020-10-29LanguageServers/Cpp: Find the right token under the cursorAndreas Kling
When the cursor is immediately to the right of a token, the cursor's column will be token.end.column + 1, so take this into account when choosing which token to autocomplete.
2020-10-29LanguageServers/Cpp: Make token_in_position() return a StringViewAndreas Kling
This avoids a whole bunch of string allocation churn.
2020-10-29LanguageServers/Cpp: Avoid some unnecessary vector copiesAndreas Kling
2020-10-29HackStudio: Don't track ctrl key state manuallyAndreas Kling
Since we only need it in the mouse and key event handlers, we can get the ctrl key state from the event. :^)
2020-10-27LibGUI: Shrink the default selection rect of TreeView itemsAndreas Kling
Instead of filling the whole row with selection color, only fill behind the text. This gives a snugger, more focused appearance. For embedders that want the entire row to get filled with the selection color when selected, they can opt in to the old behavior by calling TreeView::set_should_fill_selected_rows(). This is used by Profiler.
2020-10-26HackStudio: Reset the cursor to I-beam when switching between filesAndreas Kling
2020-10-26HackStudio: Run clang-formatAndreas Kling
2020-10-26HackStudio: Allow toggling line wrapping on/off from the Edit menu :^)Andreas Kling
2020-10-26HackStudio: Add a simple "open files" viewAndreas Kling
Instead of files disappearing after you switch to something else, we now keep track of them in a little ListView below the project tree. You can return to any previously opened file by activating it in the open files list. :^)
2020-10-25HackStudio: Include missing files in the project treeAndreas Kling
If some file is in the project but missing on disk, let's still show it in the project tree (instead of obscuring the fact that a file is missing.)
2020-10-25HackStudio: Don't assert when project has non-existent fileAndreas Kling
If a project contains "foo.cpp" but we can't open "foo.cpp", just go with an empty text document for now, and we'll create "foo.cpp" when the user saves.
2020-10-25UserspaceEmulator: Remove some unneeded String copiesAnotherTest
2020-10-25UserspaceEmulator: Handle SO_BINDTODEVICE in setsockoptAnotherTest
2020-10-25UserspaceEmulator: Add support for setsidAnotherTest
2020-10-25UserspaceEmulator: Add support for set_thread_nameAnotherTest
It should be noted that creating threads is still not supported.
2020-10-25UserspaceEmulator: Add support for fchownAnotherTest
2020-10-25UserspaceEmulator: Add support for chmodAnotherTest
2020-10-25UserspaceEmulator: Add support for setgroupsAnotherTest
2020-10-25UserspaceEmulator: Add support for sched_(g s)etparamAnotherTest
2020-10-25UserspaceEmulator: Add support for some more ioctl() requestsAnotherTest
2020-10-25UserspaceEmulator: Add support for emulating SC_mountAnotherTest
2020-10-25UserspaceEmulator: Optionally write reports to the debug logAnotherTest
...and take a flag '--report-to-debug' that determines this behaviour.
2020-10-24AK: Introduce SourceGenerator::fork().asynts
Previously, I abused the copy constructor, this is a lot better.
2020-10-20Everywhere: Redundant inline specifier on constexpr functions (#3807)Lenny Maiorani
Problem: - `constexpr` functions are decorated with the `inline` specifier keyword. This is redundant because `constexpr` functions are implicitly `inline`. - [dcl.constexpr], ยง7.1.5/2 in the C++11 standard): "constexpr functions and constexpr constructors are implicitly inline (7.1.2)". Solution: - Remove the redundant `inline` keyword.
2020-10-19Profiler: Implement "Top functions" feature like Instruments.app hasAndreas Kling
This view mode takes every stack frame and turns it into a root in the profile graph. This allows functions that are called from many places to bubble up to the top. It's a very handy way to discover heavy things in a profile that are otherwise obscured by having many callers.
2020-10-15Everywhere: Add missing <AK/TemporaryChange.h> includesAndreas Kling
Don't rely on HashTable.h pulling this in.
2020-10-13Use new format functions in remaining DevTools. (#3755)Paul Scharnofske
* AK: Add formatter for JsonValue. * Inspector: Use new format functions. * Profiler: Use new format functions. * UserspaceEmulator: Use new format functions.
2020-10-12IPCCompiler: Use new SourceGenerator class.asynts
2020-10-10HackStudio: Fix running JavaScript filesLinus Groh
s/String::format/String::formatted/ - the command was not being formatted properly.
2020-10-09HackStudio: Use new format functions.asynts
2020-10-08HackStudio: Replace InProcessWebView with OutOfProcessWebViewLinus Groh
2020-10-05IPCCompiler: Declare nested namespaces with a single "namespace"Andreas Kling
2020-10-04HackStudio: Add a Shell language serverAnotherTest
2020-10-04HackStudio: Do not change the cursor in the LSP autocomplete requestAnotherTest
The C++ completion somehow depends on this, so move that behaviour into the C++ language server instead.
2020-10-04HackStudio: Relay completions requests to the language server unfilteredAnotherTest
Previously, the client would decide when to ask the server for completions, and it would only do so for identifiers that had spans (determined via the highlighter!). Swap this around and make the server decide if it wants to complete something. This commit also adds a CompletionKind (which only has one value: Identifier), to work with other kinds of completions as well.
2020-10-04UserspaceEmulator: Remove remaining printf calls.asynts