summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-03LibWeb: Special-case initialization of HTML::AttributeNames::class_Andreas Kling
Just do it after all the others instead of trying to be clever.
2020-06-03KeyboardMapper: Add missing #pragma onceAndreas Kling
2020-06-03LibWeb: Buffer text node character insertions in the new parserAndreas Kling
Instead of appending character-at-a-time, we now buffer character insertions in a StringBuilder, and flush them to the relevant node whenever we start inserting into a new node (and when parsing ends.)
2020-06-03LibWeb: Use HTML::AttributeNames::foo instead of FlyString("foo")Andreas Kling
To avoid the costly instantiation of FlyStrings whenever we're looking up attributes, use the premade HTML::AttributeNames globals. :^)
2020-06-03Base: Fix incorrect json value for escape characterHüseyin ASLITÜRK
2020-06-03Applications: Add new KeyboardMapper applicationHüseyin ASLITÜRK
New editing app for keymap files.
2020-06-03Userland: keymap, use LibKeyboard to read keymap filesHüseyin ASLITÜRK
2020-06-03LibKeyboard: Add new library for keyboard applicationsHüseyin ASLITÜRK
Move shared code base from keymap and KeyboardMapper to this library.
2020-06-03WindowsServer: Add scancode value to KeyEventHüseyin ASLITÜRK
2020-06-03LibGUI: Add scancode value to KeyEventHüseyin ASLITÜRK
2020-06-03Kernel: Add scancode value to KeyEventHüseyin ASLITÜRK
2020-06-03Base: New icon for KeyboardMapper applicationHüseyin ASLITÜRK
2020-06-03LibGUI: Add save action to CommonActions listHüseyin ASLITÜRK
2020-06-03AK: JSON, Escape spacial character in string serializationHüseyin ASLITÜRK
2020-06-03LibJS: Make typeof return undefined for undefined variablesMarcin Gasperowicz
This makes `typeof i_dont_exist` return `undefined` instead of throwing an error.
2020-06-03LibJS: Allow null or undefined as a bound |this| value in strict modeJack Karamanian
2020-06-03LibDebug: Add all Dwarf v5 attributes, tags, and form enum valuesFalseHonesty
2020-06-03HackStudio: Support debugging variables with Enum typesFalseHonesty
Variables with enum types can now be both viewed and modified in the variables view!
2020-06-03LibDebug: Add support for enum value typesFalseHonesty
Additionally, we will parse and expose the types of variables if they are complex, like Enums or Structs. Variables of an enum type are special in that they do not store all the members of said enum in their own VariableInfo like Structs do, rather, all of the values are stored in the VariableInfo for the Enum.
2020-06-02LibWeb: Remove assertion in HTMLImageElement::resource_did_load()Andreas Kling
We might end up here with a non-null decoder if the Resource fires load callbacks again for the resource. It's harmless since we'll just get the same decoder again.
2020-06-02Base: Fix bad URL in welcome pageAndreas Kling
2020-06-02Calculator: Set text color through the paletteSergey Bugaev
Unfortunately, this means the Calculator won't pick up system theme changes dynamically. Fixes https://github.com/SerenityOS/serenity/issues/1077
2020-06-02LibGfx: Fix debug-printing colorsSergey Bugaev
The operator has to live in the namespace Gfx.
2020-06-02Kernel: Always inline some KResult / KResultOr<> methodsSergey Bugaev
Namely, those that contain assertions that can be easily eliminated at call site.
2020-06-02Kernel: Allow File::close() to failSergey Bugaev
And pass the result through to sys$close() return value. Fixes https://github.com/SerenityOS/serenity/issues/427
2020-06-02LibWeb: Share decoded images at the Resource level :^)Andreas Kling
This patch adds ImageResource as a subclass of Resource. This new class also keeps a Gfx::ImageDecoder so that we can share decoded bitmaps between all clients of an image resource inside LibWeb. With this, we now share both encoded and decoded data for images. :^) I had to change how the purgeable-volatile flag is updated to keep the volatile-images-outside-the-visible-viewport optimization working. HTMLImageElement now inherits from ImageResourceClient (a subclass of ResourceClient with additional image-specific stuff) and informs its ImageResource about whether it's inside the viewport or outside. This is pretty awesome! :^)
2020-06-02Meta: Time for a new screenshot! :^)Andreas Kling
This one is pretty similar to the previous one, but the increase in polish is noticeable.
2020-06-02LibGfx: Templatize some of the scanline unpacking codeAndreas Kling
2020-06-02LibGfx: Consolidate some types in the PNG decoderAndreas Kling
2020-06-02js: Print call stack on exception thrown outside the global contextLinus Groh
2020-06-02LibJS: Store basic traceback in ExceptionLinus Groh
Nothing fancy like line numbers, but Exception now stores a list of function names up to the current call frame.
2020-06-02LibJS: Move Interpreter::get_trace() to ConsoleClientLinus Groh
Having it globally on the interpreter is confusing as the last call frame is skipped, which is specific to console.trace().
2020-06-02LibJS: Remove dummy implementations from Console methodsLinus Groh
Having these duplicated is not really useful, either we want console output to go somewhere then implementing a console client is the way to go, or we don't care about console output - in that case we don't need to dbg() either.
2020-06-02FontEditor: Fix typo in commentLinus Groh
s/Ediyor/Editor/
2020-06-02LibWeb: Fix tokenizing scripts with '<' in themAndreas Kling
The EMIT_CHARACTER_AND_RECONSUME_IN was emitting the current token instead of the specified codepoint.
2020-06-02LibWeb: Port ImageStyleValue to the ResourceClient interfaceAndreas Kling
2020-06-02LibWeb: Avoid an unnecessary temporary variable in HTMLImageElementAndreas Kling
2020-06-02LibWeb: Port HTMLLinkElement to the ResourceClient interfaceAndreas Kling
2020-06-02LibJS: Consider non-extensible objects in Reflect.setPrototypeOf()Linus Groh
2020-06-02LibJS: Implement Reflect.{isExtensible,preventExtensions}()Linus Groh
2020-06-02LibJS: Disallow changing the prototype of non-extensible objectsLinus Groh
Object::set_prototype() now returns a boolean indicating success. Setting the prototype to an identical object is always considered successful, even if the object is non-extensible.
2020-06-02LibJS: Don't assume Object.setPrototypeOf() prototype value is an objectLinus Groh
We're crashing otherwise. Also it was not possible to set the prototype to null.
2020-06-02LibJS: Return specified object from Object.setPrototypeOf()Linus Groh
We were leaking an empty value.
2020-06-02Userland/js: Add `global` property to the global object + help fix Marcin Gasperowicz
This adds a `global` property to the global object so that `global == this` when typed into the REPL. This matches what Node.js does and helps with testing on existing JS code that uses `global` to detect its environment.
2020-06-02LibCore: Put some annoying debug spam behind EVENTLOOP_DEBUGAndreas Kling
2020-06-02LibWeb: Parse barebones document without doctype, <html>, etc.Andreas Kling
Last night I tried making a little test page that had a bunch of <img> elements and nothing else. It didn't work. Fix this by correctly adding a synthesized <html> element to the document if we get something else in the "before html insertion mode.
2020-06-02LibJS: Add Object.{isExtensible,preventExtensions}()Matthew Olsson
2020-06-02Base: Fix misspelling in getopt(3) (#2473)Keith
2020-06-01LibWeb: Protect ourselves during ResourceClient iterationAndreas Kling
Notifying a Resource's clients may lead to arbitrary JS execution, so we can't rely on the ResourceClient pointers remaining valid. Use WeakPtr to avoid this problem.
2020-06-01LibWeb: Support "td" and "th" start tags during "in table body"Andreas Kling
This makes it possible to load Google Image Search results. You can't see the images yet, but it's still something. :^)