summaryrefslogtreecommitdiff
path: root/Libraries
AgeCommit message (Collapse)Author
2020-02-11LibGUI: Add a Widget::did_layout() that gets called after layoutAndreas Kling
This will allow widgets to implement post-layout behaviors.
2020-02-11LibGUI: Factor out Splitter hit testing into a separate functionAndreas Kling
2020-02-11LibGfx: Assert that an empty bitmap is not createdShannon Booth
2020-02-10LibGUI: Single-line GUI::TextEditor should not have "go to line" actionAndreas Kling
2020-02-10Kernel+LibC: Merge sys$stat() and sys$lstat()Andreas Kling
There is now only one sys$stat() instead of two separate syscalls.
2020-02-10LibCore: TCP and UDP servers should parent Notifiers to themselvesAndreas Kling
This makes things look a little more neat in Inspector. :^)
2020-02-10LibAudio/Piano: Replace floats with doublesWilliam McPherson
We should default to double-precision so that clients can make the choice to use float or double.
2020-02-10LibAudio/aplay: Handle WAV header errors properlyWilliam McPherson
We shouldn't just ASSERT() if the header parse fails. This was crashing Piano completely.
2020-02-10AK: Remove bitrotted Traits::dump() mechanismAndreas Kling
This was only used by HashTable::dump() which I used when doing the first HashTable implementation. Removing this allows us to also remove most includes of <AK/kstdio.h>.
2020-02-09LibELF: Use VirtualAddress class from LibBareMetalLiav A
2020-02-09LibBareMetal: Add Memory definitionsLiav A
Add classes of VirtualAddress & PhysicalAddress.
2020-02-09LibC: Apply a change for the Bootstrapper environmentLiav A
2020-02-09LibBareMetal: Creating a new library for freestanding environmentsLiav A
2020-02-09LibCore: Add File::is_directory() helpersAndreas Kling
2020-02-09LibCore: Allow constructing a Core::HttpRequest from a raw HTTP requestAndreas Kling
This patch adds a very simple HTTP request parser that can be useful for implementing say.. a web server. :^)
2020-02-08LibGfx: Naive RGB/HSV conversionAndreas Kling
2020-02-08Net: Add a basic sys$shutdown() implementationAndreas Kling
Calling shutdown prevents further reads and/or writes on a socket. We should do a few more things based on the type of socket, but this initial implementation just puts the basic mechanism in place. Work towards #428.
2020-02-07LibGUI+HackStudio: Move syntax highlighting from HackStudio to LibGUIAndreas Kling
This patch introduces the GUI::SyntaxHighlighter class, which can be attached to a GUI::TextEditor to provide syntax highlighting. The C++ syntax highlighting from HackStudio becomes a new class called GUI::CppSyntaxHighlighter. This will make it possible to get C++ syntax highlighting in any app that uses a GUI::TextEditor. :^) Sidenote: It does feel a bit weird having a C++ lexer in a GUI toolkit library, and we'll probably end up moving this out to a separate place as this functionality grows larger.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling
2020-02-06IPCCompiler: Put message classes in the Messages namespaceAndreas Kling
2020-02-06WindowServer: Move classes into WindowServer namespaceAndreas Kling
Also remove the leading WS from names and filenames.
2020-02-06LibAudio: Implement Audio::WavWriterWilliam McPherson
This class mirrors WavLoader and uses the same variable names so they can be read side-by-side. In a simple use-case, you construct a WavWriter object with your file path and audio parameters, call write_samples() with your bytes and then either finalize() to finish writing the file or allow the destructor to do it automatically. finalize() is needed because the WAV header cannot be written until the size of the data section is known. You only need to call this manually if you want to write a WAV file and then immediately load it. You can also use one WavWriter instance multiple times by repeatedly calling finalize() and set_file().
2020-02-06LibAudio: Remove leading A from filenamesAndreas Kling
2020-02-06LibCore: Merge the CSyscallUtils namespace into CoreAndreas Kling
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-06LibIPC: Remove leading I from filenamesAndreas Kling
2020-02-06LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayoutAndreas Kling
2020-02-06LibGUI: Add HorizontalSlider and VerticalSlider convenience classesAndreas Kling
2020-02-06LibGUI: Add HorizontalSplitter and VerticalSplitter convenience classesAndreas Kling
2020-02-06LibGfx: Unpublish FloatPoint from the global namespaceAndreas Kling
2020-02-06LibGfx: Unpublish FloatSize from the global namespaceAndreas Kling
2020-02-06LibGfx: Unpublish FloatRect from the global namespaceAndreas Kling
2020-02-06LibPthread: Install immediately after buildingAndreas Kling
2020-02-06LibM: Install immediately after buildingAndreas Kling
2020-02-06LibGfx: Prefer using Gfx::Bitmap::load_from_file instead of load_png()Andreas Kling
Code that just wants to open a Gfx::Bitmap from a file should not be calling the PNG codec directly.
2020-02-06LibGfx: Unpublish Gfx::Size from the global namespaceAndreas Kling
2020-02-06LibGfx: Unpublish Gfx::Point from global namespaceAndreas Kling
2020-02-06LibGfx: Unpublish Gfx::Rect from global namespaceAndreas Kling
2020-02-06LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h}Andreas Kling
2020-02-06LibGfx: Rename from LibDraw :^)Andreas Kling
2020-02-06LibDraw: Put all classes in the Gfx namespaceAndreas Kling
I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^)
2020-02-06LibAudio: Put all classes in the Audio namespace and remove leading AAndreas Kling
2020-02-05LibC: Add posix_openpt(), grantpt() and unlockpt()Andreas Kling
This makes getting a pseudoterminal pair a little bit more portable. Note that grantpt() and unlockpt() are currently no-ops, since we've already granted the pseudoterminal slave to the calling user. We also accept O_CLOEXEC to posix_openpt(), unlike some systems. :^)
2020-02-05LibIPC: Remove IPC::Encoder overloads for size_tAndreas Kling
Clients of this code should use explicitly-sized types instead.
2020-02-05LibIPC: Put all classes in the IPC namespace and remove the leading IAndreas Kling
2020-02-05LibProtocol: Rename namespace LibProtocol => ProtocolAndreas Kling
2020-02-05LibDraw: Override set_{non,}volatile in GIFLoaderjoshua stein
2020-02-05LibCore: CEventLoop: If timeval_sub makes tv_sec negative, use 0joshua stein
2020-02-05LibGUI: Don't specify LibC/ for standard includesjoshua stein
2020-02-05LibGUI: Remove unused m_layout_dirtyjoshua stein