summaryrefslogtreecommitdiff
path: root/Base
AgeCommit message (Collapse)Author
2023-05-07netstat: Add -e argumentFabian Dellwing
This adds information about the user owning the process to our netstat output. We do not fully match the behaviour of Linux as we don't show an inode information.
2023-05-07Base: Add web server tip to Tips-and-Tricks(7)Cubic Love
Add the very useful tip of how to transfer files from QEMU to your host machine via the built-in web server.
2023-05-07Base: Improve Assistant App Icon (16px)Cubic Love
I've been unsatisfied with the current Assistant app icon (16px). After trying many variations, I have ended-up with this. The changes may be slight, but the bow tie now has a more natural shape including a more prominent knot, bringing it more inline with the 32px version. Plus the shading has been tweaked.
2023-05-07Everywhere: Run spellcheck on all documentationBen Wiederhake
2023-05-06Base+Snake: Capitalize snake skin namesCubic Love
In Snake, the menu for choosing a skin looked messy due to inconsistent capitalization. Two skins names were entirely lowercase. For the sprite-based skins, the menu takes the name of each skin's directory, so I have capitalized these. Capitalizing the original snake skin required more change than simply renaming a directory.
2023-05-05LibGUI: Make `Application`'s construction fallibleLucas CHOLLET
The pattern to construct `Application` was to use the `try_create` method from the `C_OBJECT` macro. While being safe from an OOM perspective, this method doesn't propagate errors from the constructor. This patch make `Application` use the `C_OBJECT_ABSTRACT` and manually define a `create` method that can bubble up errors from the construction stage. This commit also removes the ability to use `argc` and `argv` to create an `Application`, only `Main`'s `Arguments` can be used. From a user point of view, the patch renames `try_create` => `create`, hence the huge number of modified files.
2023-05-05Base+Minesweeper: Move assets from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets.
2023-05-05Base+FlappyBug: Move assets from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets.
2023-05-05Base+ColorLines: Move assets from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets.
2023-05-05Base+LibChess: Move assets from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets.
2023-05-05Base+CatDog: Move assets from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for demo assets. Also, update the example presenter file which uses a CatDog sprite.
2023-05-05Base+LibCards: Move card backs from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets. Also, move card backs into their own subfolder in preparation for a themes subfolder for card fronts.
2023-05-05Base: Demonstrate ArgsParser and format strings in cli project templatekleines Filmröllchen
This demonstrates both an option and an optional positional argument, as well as some simple format string printing with {}.
2023-05-05Base: Split out cpp-library template files into actual fileskleines Filmröllchen
These were part of the postcreate script previously, but with the new powers of sed, we can text-replace the library name and make changing them much more convenient.
2023-05-05Base: Adjust serenity-application template with some cpp-gui pieceskleines Filmröllchen
Namely, the window title and size are carried over, since a larger window with a more readable "Example Application" title is better to understand. I also took the opportunity to add a missing trailing newline to the generated CMake file.
2023-05-05Base: Remove the cpp-gui HackStudio templatekleines Filmröllchen
This template is essentially an older version of the serenity-application template, it does not compile anymore and is therefore entirely redundant.
2023-05-04Base: Add some SVG `<radialGradient>` examplesMacDue
2023-05-01Userland+Base: Treat ".webp" files as images :^)Andreas Kling
2023-04-29Base: Fix incorrectly closed tag in welcome.htmlMacDue
2023-04-28Base: Add SVG gradients test pageMacDue
2023-04-26nc: Add -n option to suppress name resolutionFabian Dellwing
2023-04-26nc: Add -p optionFabian Dellwing
With this change we support the well-known and shorter way to create a listener on all interfaces: `nc -lvp 1337` instead of: `nc -lv 0.0.0.0 1337`
2023-04-26nc: Sort command line arguments alphabeticallyFabian Dellwing
2023-04-25Userland: Remove "Inspector" program and related utilitiesAndreas Kling
This program has never lived up to its original idea, and has been broken for years (property editing, etc). It's also unmaintained and off-by-default since forever. At this point, Inspector is more of a maintenance burden than a feature, so this commit removes it from the system, along with the mechanism in Core::EventLoop that enables it. If we decide we want the feature again in the future, it can be reimplemented better. :^)
2023-04-25Base: Update reference to Help man file locationTim Ledbetter
2023-04-25cal: Add the `-y` option to show the current yearKarol Baraniecki
Without `-y`, to show the current full year you'd have to specify which one: `cal 2023`. Adding `-y` makes it possible to see the full current year without remembering what year we are in. This option is also stolen from FreeBSD :^) Additionally, validate args: prevent passing both -3 and -y at the same time. Passing both `--three-month-mode` and `--year` to `cal` doesn't make sense. You'd either want the one or the other.
2023-04-25cal: Add the `-3` optionKarol Baraniecki
This allows to view just the previous, current, and next month simultaneously. The idea for this is shamelessly stolen from FreeBSD :^)
2023-04-25cal: Get default week start day from CalendarKarol Baraniecki
Making it configurable in system settings :^) The --start-day option can still overwrite this global default. This change makes it no longer possible to use unveil: as we have to load the Calendar config file, which might be in a dynamic location. It's also neccessary to add `cpath` to the pledge, as opening a nonexistent config file with Core::ConfigFile::open_for_app creates it.
2023-04-25cal: Make start of the week configurableKarol Baraniecki
Making all the other parts of the world happier :^) Add a `--starting-day` (`-s`) option to be compatible with GNU cal, which has a similar option. The GNU option takes allows passing either an int or a day name. Let's do something similar using weekdays we already have in AK/DateConstants.h. Also add myself to the copyright header, as by now I've modified most of the lines in this file.
2023-04-25cal: Only show year next to each month in one-month-modeKarol Baraniecki
Additionally rename a loop variable in serenity_main() because after introducing the `Header` enum IMO it's less readable with `i`.
2023-04-25cal: Display month namesKarol Baraniecki
For now let's use them from AK/DateConstants.h, in accordance with the FIXME those propably should be provided by the locale.
2023-04-25cal: Mark the current day as inverted textKarol Baraniecki
...instead of putting a star `*` next to it. This makes `cal`s output much prettier, and gets rid of one FIXME. :^) Don't use the escape sequence from the deleted FIXME - \e[30;47m would set the background to white and foreground to black - which presumably wouldn't do much on a light-theme terminal. Instead use \e[7m which sets the color as "inverted".
2023-04-25cal: Don't accept passing a [day]Karol Baraniecki
Every other cal implementation just highlights the current day instead of letting you specify a custom one to highlight. It doesn't seem to be that useful, and is currently broken - no day gets highlighted at all, because the `target_day` global is never written to. Moreover, this complicates parsing the arguments. This commit also fixes parsing a case where just a year is provided to `cal` - for example `cal 2023`.
2023-04-24Kernel: Allow configuring a Jail to not impose PID isolation restrictionLiav A
This is quite useful for userspace applications that can't cope with the restriction, but it's still useful to impose other non-configurable restrictions by using jails.
2023-04-23LibSQL: Redesign heap storage to support arbitrary amounts of dataJelle Raaijmakers
Previously, `Heap` would store serialized data in blocks of 1024 bytes regardless of the actual length. Data longer than 1024 bytes was silently truncated causing database corruption. This changes the heap storage to prefix every block with two new fields: the total data size in bytes, and the next block to retrieve if the data is longer than what can be stored inside a single block. By chaining blocks together, we can store arbitrary amounts of data without needing to change anything of the logic in the rest of LibSQL. As part of these changes, the "free list" is also removed from the heap awaiting an actual implementation: it was never used. Note that this bumps the database version from 3 to 4, and as such invalidates (deletes) any database opened with LibSQL that is not version 4.
2023-04-21Base: Add options to the video test page to change its attributesTimothy Flynn
This is to allow testing autoplay, poster images, etc. without having to stash local changes to the page. This also changes the URLs used on the page to be relative to the page itself, to allow the page to load both on Serenity and Lagom.
2023-04-18LibWeb: Implement HTMLMediaElement's autoplay attributeTimothy Flynn
2023-04-18BrowserSettings: Add a tab to control the Browser's autoplay settingsTimothy Flynn
This adds a checkbox to enable autoplay on all websites (disabled by default) and a website list to enable autoplay on individual websites (set to file:// URLs only by default).
2023-04-17Base: Add SVG `preserveAspectRatio` demo pageMacDue
2023-04-14Base: Complete Mathematical Operators in Katica Regular 10Cubic Love
https://www.unicode.org/charts/PDF/U2190.pdf 21E7 https://www.unicode.org/charts/PDF/U2200.pdf 2201, 2203-4, 2208-220E, 2213-221D, 221F-2226, 222D-223F, 2241-224F, 225D-225F, 2262, 226D-228E, 22A2-22A8, 22AC-22AF, 22B2-22B9, 22BB-22BD, 22C4-22C5, 22C8-22CA, 22CE-22D4, 22D6-22FE
2023-04-14Base: Add US English Apple Macintosh keymapCubic Love
Add the full alt + shift-alt keymap for the EN-US Apple Keyboard Layout
2023-04-14Base: Fix typo in cursor test pageSrikavin Ramkumar
2023-04-13LibWeb: Reimplement CalculatedStyleValue as a calculation node treeSam Atkins
VALUES-4 defines the internal representation of `calc()` as a tree of calculation nodes. ( https://www.w3.org/TR/css-values-4/#calc-internal ) VALUES-3 lacked any definition here, so we had our own ad-hoc implementation based around the spec grammar. This commit replaces that with CalculationNodes representing each possible node in the tree. There are no intended functional changes, though we do now support nested calc() which previously did not work. For example: `width: calc( 42 * calc(3 + 7) );` I have added an example of this to our test page. A couple of the layout tests that used `calc()` now return values that are 0.5px different from before. There's no visual difference, so I have updated the tests to use the new results.
2023-04-13Base: Add 32px icon for CertificateSettingsCubic Love
Before, the 32px icon was just the 16px icon upscaled. Now TreuKS has tailor-made a 32px version :) Co-authored-by: TreuKS <ks2225@protonmail.com>
2023-04-12Base: Add icons for the Gradient screensaverCubic Love
Add 32px and 16px application icons for the Gradient screensaver
2023-04-12Demos: Rename GradientScreensaver to GradientCubic Love
This brings the name in-line with the naming convention used by the other screensavers 'Starfield' and 'Tubes'.
2023-04-12Base: Add SVG transform test pageMacDue
2023-04-11Base: Add the ended attribute to the video test pageTimothy Flynn
2023-04-11Base: Add the current playback position to the video test pageTimothy Flynn
2023-04-09Documentation: Update `readlink.md` to use `LibFileSystem` apiCameron Youell