summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-05Meta: Add action to tweet each commit on pushIdan Horowitz
2021-05-05Kernel: Fix `write`s to `ProcFS` (#6879)Spencer Dixon
When using `sysctl` you can enable/disable values by writing to the ProcFS. Some drift must have occured where writing was failing due to a missing `set_mtime` call. Whenever one `write`'s a file the modified time (mtime) will be updated so we need to implement this interface in ProcFS.
2021-05-05Documentation: Update FAQ a bit and move it into Documentation/Andreas Kling
This was hiding on the serenityos.org website previously, where not many people found it. Let's put it in a more natural location, and also make sure to link to it from the README.
2021-05-05AK: Add a Variant<Ts...> implementationAli Mohammad Pur
Also adds an AK::Empty struct, because 'empty' variants are useful, but this implementation leaves that to the user (i.e. a variant cannot actually be empty, but it can contain an instance of Empty - i.e. a byte). Note that this is more of a constrained Any type, but they basically do the same things anyway :^)
2021-05-05AK: Export integer_sequence_generate_array()Ali Mohammad Pur
2021-05-05AK: Add min() and max() methods to Array<T, N>Ali Mohammad Pur
...That are only defined when min() and max() are defined on the elements.
2021-05-05Kernel: Modify TimeManagement::current_time(..) API so it can't fail. (#6869)Brian Gianforcaro
The fact that current_time can "fail" makes its use a bit awkward. All callers in the Kernel are trusted besides syscalls, so assert that they never get there, and make sure all current callers perform validation of the clock_id with TimeManagement::is_valid_clock_id(). I have fuzzed this change locally for a bit to make sure I didn't miss any obvious regression.
2021-05-05Kernel: Add Processor::is_bootstrap_processor() function, and use it. (#6871)Brian Gianforcaro
The variety of checks for Processor::id() == 0 could use some assistance in the readability department. This change adds a new function to represent this check, and replaces the comparison everywhere it's used.
2021-05-05Kernel: Remove shadowing member variable from FileDescriptionBlockerTom
FileDescriptionBlocker::m_should_block was shadowing the parent's FileBlocker::m_should_block variable, which would cause should_block() to return the wrong value. Found by @gunnarbeutner
2021-05-05LibWeb: Remove double comma in FrameLoader debug loggingIdan Horowitz
2021-05-05LibJS/Tests: Use hasOwnProperty() for duplicate test checkLinus Groh
The current way of doing this would also traverse the prototype chain, and therefore yield false positive results for keys like "toString".
2021-05-05Spreadsheet: Use shrink-to-fit for cell fg/bg color input layoutLinus Groh
This fixes an issue where the bottom of both color inputs was cut off due to insufficient, hardcoded height.
2021-05-05Base: Add manpage for groups(1)setepenre
2021-05-05Userland: Add groups programsetepenre
2021-05-05LibCore: Call setgrent before looping on groups in get_extra_gidssetepenre
2021-05-05Base: Fix typos and spelling errors in man pagesBrendan Coles
2021-05-05Base: Minor cleanup of a few man pages.Brian Gianforcaro
- Fix some typos and formatting. - Add links to Mitigations from unveil / pledge.
2021-05-05Base: Add a boot_parameters(7) to document kernel boot parameters.Brian Gianforcaro
2021-05-04LibWeb: Implement EventTarget.dispatchEventLuke
Used by Web Platform Tests to test events
2021-05-04LibWeb: Add Document.{images,embeds,plugins,links,forms,scripts}Luke
2021-05-04LibWeb: Use HTML-uppercased qualified name for the Element node nameLuke
For regular elements, this is just the qualified name. However, for HTML elements in HTML documents, it is the qualified name uppercased. This is used by jQuery to determine the document is an HTML document. Not having this made jQuery assume the document was XML, causing weird behaviour. To do this, an internal string of qualified name is created. This is to prevent constantly regenerating it. This is allowed by the spec. This is the same for the HTML-uppercased qualified name.
2021-05-04LibWeb: Add createDocument and createDocumentType for DOMImplementationLuke
Both required for the acid3 test. createDocument is used extensively in Web Platform Tests.
2021-05-04LibWeb: Add support for extended attributes on IDL parametersLuke
Also adds support for [LegacyNullToEmptyString] for parameters.
2021-05-04LibWeb: Expose HTMLInputElement.nameLuke
2021-05-04Meta: Remove link to man6 from man.serenityos.orgIdan Horowitz
We don't currently have any man6 entries.
2021-05-04Meta: Mention man.serenityos.org in the README :^)Linus Groh
2021-05-04Userland: Pledge wpath & cpath in straceSergey Bugaev
...while we open the output file.
2021-05-04Userland: Refactor head(1) to not use stdioSergey Bugaev
This fixes extensive copying data around, and also makes head(1) in bytes mode read exactly as much data as it needs. Also, rename --characters to --bytes: that's exactly what it does (actual character counting is way more complicated), and that's what the option is called in GNU coreutils. Fixes https://github.com/SerenityOS/serenity/issues/6852
2021-05-04AK: Make LEB128 capable of reading into any typeAli Mohammad Pur
And not just ssize_t/size_t. This is useful in cases where the output size is supposed to be larger than size_t.
2021-05-04AK: Move the LEB128 logic to AK and make it usable with InputStreamAli Mohammad Pur
2021-05-04Meta: Strip man prefix from generated man page directoriesIdan Horowitz
2021-05-04Meta: Use correct hrefs for man pages in man.serenityos.org/index.htmlIdan Horowitz
2021-05-04Meta: Track Meta/Websites/man.serenityos.org changes in manpages actionIdan Horowitz
2021-05-04Meta: Remove existing test directories before copying new ones inAli Mohammad Pur
Previously, we would end up with `js-tests/Tests` and `web-tests/Tests` because the previous directories were already there.
2021-05-04AK: Make DistinctNumeric constexpr-capableAli Mohammad Pur
2021-05-04Base: Update recvfd() man page after addition of `options` argumentAndreas Kling
2021-05-04Profiler: Move everything into the "Profiler" namespaceAndreas Kling
2021-05-04Meta: Add workflow that deploys man page updates to man.serenityos.orgIdan Horowitz
2021-05-04Snake: Spruce up the GUI a tiny bitAndreas Kling
Give the game window a GUI::Frame appearance, and make sure the menus have Alt shortcuts. :^)
2021-05-04LibGUI: Make GUI::Widget ignore wheel events by defaultAndreas Kling
This makes wheel events bubble up to parent widgets, which is useful in case they care about wheel events even if their children don't.
2021-05-04Kernel: Store whether a thread is the idle thread in Thread directlyTom
This solves a problem where checking whether a thread is an idle thread may require iterating all processors if it is not the idle thread of the current processor.
2021-05-04LibWeb: Compute intrinsic height of absolute replaced elementsTimothy Flynn
Previously, the method for computing the height of absolutely positioned replaced elements only invoked the method for non-replaced elements. That method is now implemented fully enough that it sometimes computed a height of 0 for replaced elements. This implements section 10.6.5 rule 1 of the CSS spec to avoid that behavior.
2021-05-04LibCore: Avoid unnecessary Vector copy in Account ctorLinus Groh
2021-05-04LibCore: Don't include user GID in Account::extra_gids()Linus Groh
The user's GID is already available via gid(), and it's not "extra", so don't include it in extra_gids() again. Also rename the internally used function from get_gids() to get_extra_gids() to make its purpose more clear.
2021-05-04LibC: setspent() should not print to stderrGunnar Beutner
2021-05-04LibCore: Let Account::from_* succeed if /etc/shadow is unreadableGunnar Beutner
This previously worked and was broken by 302f9798e.
2021-05-04Profiler: Don't link against LibCoreDumpAndreas Kling
2021-05-04LibGUI: Rename ScrollableWidget.cpp => AbstractScrollableWidget.cppAndreas Kling
2021-05-04Profiler: Print addresses in debug log in hex.Brian Gianforcaro
2021-05-04Kernel: Return one kernel frame from procfs$tid_stack for normal users.Brian Gianforcaro
Previously we would return a 0xdeadc0de frame for every kernel frame in the real kernel stack when an non super-user issued the request. This isn't useful, and just produces visual clutter in tools which attempt to symbolize stacks.