1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:18:14 +00:00
serenity/Userland
Itamar bed06b13f3 LanguageServers/Cpp: Add FileDB and pass project_root in Greet()
FileDB wraps the access to the contents of project files.

When asked to fetch a file, FileDB will either return its in-memory
model of the file if it has been "opened" by the language-server
protocol, or otherwise fetch it from the filesystem.

Previously, the cpp language server did not pledge "rpath" and got
access to the contents of files whenever they were opened by the
language client.
However, features like inspection of header files require the language
server to get the content of files that were not opened by the client.

The language server now pledges rpath but makes sure to only unveil
the project's directory and /usr/include.
2021-02-08 23:10:38 +01:00
..
Applications Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
Demos LibGfx: Implement scaling support for Painter::blit_filtered() 2021-01-25 22:31:07 +01:00
DevTools LanguageServers/Cpp: Add FileDB and pass project_root in Greet() 2021-02-08 23:10:38 +01:00
DynamicLoader Revert "DynamicLoader: Remove unnecessary math functions" 2021-02-08 19:58:10 +01:00
Games Conway: Add interactivity 2021-01-22 22:14:08 +01:00
Libraries LibCpp: Start working on a C preprocessor 2021-02-08 23:10:38 +01:00
MenuApplets Everywhere: Drop "shared_buffer" in most GUI programs, pledge "recvfd" 2021-01-16 19:30:32 +01:00
Services WindowServer: Cache rendered window frame in bitmap 2021-02-08 19:02:04 +01:00
Shell Shell: Move Shell syntax highlighter LibShell 2021-02-07 17:07:33 +01:00
Tests Kernel: Use the resolved parent path when testing create veil (#5231) 2021-02-06 19:11:44 +01:00
Utilities LibCpp: Start working on a C preprocessor 2021-02-08 23:10:38 +01:00
CMakeLists.txt Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00