summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-09LibJS: Fix BooleanPrototype buildAndreas Kling
2020-04-09Kernel: Simplify ACPI initialization a bitAndreas Kling
Construct the parser, no matter which kind, in ACPI::initialize().
2020-04-09Kernel: Simplify PCI::initialize() a bit moreAndreas Kling
2020-04-09Kernel: Move ACPI initialization from init.cpp to ACPI::initialize()Andreas Kling
2020-04-09Kernel: Move NetworkTask startup into NetworkTask::spawn()Andreas Kling
2020-04-09LibJS: Make BooleanPrototype inherit from ObjectLinus Groh
BooleanPrototype should inherit from Object, not BooleanObject.
2020-04-09Documentation: added additional info about moving to wsl2Ed Rochenski
2020-04-09Documentation: added note to prevent script failure in build sectionEd Rochenski
2020-04-09LibGUI: Keep still-valid indexes in selection after a model updateAndreas Kling
This is a stop-gap patch solution for the annoying problem of models being bad at updating. At least the process table will retain your selection in SystemMonitor now.
2020-04-09Calendar: Corrected spacing on small resizingrhin123
2020-04-08LibWeb: Support relative URL's in XMLHttpRequestAndreas Kling
In order to complete a relative URL, we need a Document. Fix this by giving XMLHttpRequest a pointer to its window object. Then we can go from the window to the document, and then we're home free. :^)
2020-04-08LibWeb: Add XMLHttpRequest object :^)Andreas Kling
This patch adds very basic XMLHttpRequest support to LibWeb. Here's an example that currently works: var callback = function() { alert(this.responseText); } var xhr = new XMLHttpRequest(); xhr.addEventListener("load", callback); xhr.open("GET", "http://serenityos.org/~kling/test/example.txt"); xhr.send(); There are many limitations and bugs, but it's pretty dang awesome that we have XHR. :^)
2020-04-08LibWeb: Expose the global object as "window"Andreas Kling
2020-04-08LibJS: Handle empty values in Array.prototype.toString()Linus Groh
2020-04-08IRCClient: Add application and context menu items to hop/dehop usersBrendan Coles
2020-04-08LibJS: Handle empty values in Value::to_string()Linus Groh
2020-04-08IRCClient: Open query on double click of nick in channel member listBrendan Coles
2020-04-08IRCClient: Add nick_without_prefix and nick_at helpersBrendan Coles
`IRCChannelMemberListModel->nick_at` returns the nick name of a channel member at the specified index. `IRCClient->nick_without_prefix` returns a formatted nick name without privilege prefix.
2020-04-08Kernel: Simplify PCI::initialize()Andreas Kling
Choosing between I/O and MMIO is not as difficult as we were making it.
2020-04-08Kernel: Fix typos in PCI access boot messageAndreas Kling
2020-04-08Kernel: Simplify PCI initialization logicAndreas Kling
- Get rid of the PCI::Initializer object which was not serving any real purpose or holding any data members. - Move command line parsing from init to PCI::initialize().
2020-04-08Kernel: Use nested Kernel::PCI namespaces more to reduce PCI:: spamAndreas Kling
2020-04-08Kernel: Make most of the PCI::MMIOAccess members privateAndreas Kling
This class is really meant to be used via a base class pointer.
2020-04-08Kernel: Simplify PCI::MMIOAccess segment storageAndreas Kling
Instead of nesting a bunch of heap allocations, just store them in a simple HashMap<u16, MMIOSegment>. Also fix a bunch of double hash lookups like this: ASSERT(map.contains(key)); auto thing = map.get(key).value(); They now look like this instead: auto thing = map.get(key); ASSERT(thing.has_value());
2020-04-08LibWeb: Remove bizarre HashMap leak in StyleProperties copy ctorAndreas Kling
2020-04-08Kernel: Move PCI::MMIOSegment declaration into MMIOAccess.cppAndreas Kling
This is only used inside PCI::MMIOAccess, no need to expose it.
2020-04-08Kernel: Fix up various PCI-related function signaturesAndreas Kling
- Make things const when they don't need to be non-const. - Don't return AK::String when it's always a string literal anyway. - Remove excessive get_ prefixes per coding style.
2020-04-08Kernel: Add some human-readable I/O helpers in PCI/Access.cppAndreas Kling
2020-04-08Kernel: Remove an unnecessary layer of indirection in the PCI codeAndreas Kling
The PCI access layer was composed of a bunch of virtual functions that did nothing but call other virtual functions. The first layer was never overridden so there was no need for them to be virtual. This patch removes the indirection and moves logic from PCI::Access down into the various PCI::get_foo() helpers that were the sole users.
2020-04-08Kernel: Fix awkward RTC log message at bootAndreas Kling
2020-04-08Kernel: Simplify VMWareBackdoor somewhatAndreas Kling
- If there is no VMWare backdoor, don't allocate memory for it. - Remove the "unsupported" state, instead just don't instantiate. - Move the command-line parsing from init to the driver. - Move mouse packet reception from PS2MouseDevice to VMWareBackdoor.
2020-04-08Kernel: Make VMWareBackdoor eternal (since it's never freed)Andreas Kling
2020-04-08Kernel: Move global constructor invocation a bit earlierAndreas Kling
2020-04-08Kernel: Move sync and finalization tasks into their own filesAndreas Kling
Instead of clogging up the initialization sequence, put these tasks in their own files.
2020-04-08Kernel: Remove DebugLogDeviceAndreas Kling
This was a cute idea but ultimately it's just not useful since we already have the dbgputch() and dbgputstr() syscalls.
2020-04-08Kernel: Move more things from init() to init_stage2()Andreas Kling
The purpose of init() is to get multi-tasking up and running. We don't want to do anything in init() that doesn't advance that goal. This patch moves some things from init() to init_stage2(), and adds a comment block explaining the split.
2020-04-08Kernel: Rename KParams => Kernel::CommandLineAndreas Kling
Let's make this read more like English.
2020-04-08Kernel: Update cryptically-named functions related to symbolicationAndreas Kling
2020-04-08LibWeb: Make CanvasRenderingContext2D use floats instead of intsAndreas Kling
This matches what we already do for the layout tree and things are expected to work this way regardless.
2020-04-08LibJS: Add Value::to_double() for convenienceAndreas Kling
2020-04-08AK: Appending 0 bytes to a ByteBuffer should be a no-op (#1699)Paul Redmond
- inserting an empty string into LibLine Editor triggered an assertion trying to grow a ByteBuffer by 0 bytes.
2020-04-08LibJS: rename JS::DeclarationType => JS::DeclarationKindEmanuele Torre
Many other parsers call it with this name. Also Type can be confusing in this context since the DeclarationType is not the type (number, string, etc.) of the variables that are being declared by the VariableDeclaration.
2020-04-08IRCClient: Remove FIXME for RPL_TOPICWHOTIMEBrendan Coles
RPL_TOPICWHOTIME is handled by handle_rpl_topicwhotime.
2020-04-08IRCClient: Rename /hop command to /cycleBrendan Coles
Some IRC clients use /hop to part and re-join a channel; however this can be confused with granting half-op (+h) channel privileges to a user. The general convention used by other IRC clients is /cycle.
2020-04-08LibJS: Add "constructor" property to constructor prototypesAndreas Kling
2020-04-08LibWeb: Add canvas.strokeRect(), and fix scale & translateBrian Gianforcaro
Add an implementation of CanvasRenderingContext2DWrapper.strokeRect(). While implementing this I fixed fillRect() and the new strokeRect() to honor the .scale() and .translate() values that had previously been plumbed. Also enhance the canvas.html demo to utilize strokeRect(), scale(), and translate().
2020-04-08Lagom: Add fuzz testing for LibJS using libFuzzer (#1692)Paul Redmond
Note: clang only (see https://llvm.org/docs/LibFuzzer.html) - add FuzzJs which will run the LibJS parser on random javascript inputs - added a basic dictionary of javascript tokens To use fuzzer: CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DENABLE_FUZZER_SANITIZER=1 .. Fuzzers/FuzzJs -dict=../Fuzzers/FuzzJs.dict
2020-04-08Calendar: Make the application theme-awarerhin123
2020-04-07LibWeb: Add Origin concept (protocol, host, port tuple)Andreas Kling
Every Document now has an Origin, found via Document::origin(). It's based on the URL of the document. This will be used to implement things like the same-origin policy.
2020-04-07WindowServer: Remove long-unused COMPOSITOR_DEBUG loggingAndreas Kling