summaryrefslogtreecommitdiff
path: root/Base
AgeCommit message (Collapse)Author
2021-08-27Base+Utilities: Add the asctl audio utility, replacing avolkleines Filmröllchen
The new asctl (audio server control) utility expands on avol with a completely new command line interface (documented in the man page) that supports retrieving and setting all exposed audio server settings, like volume and sample rate. This is currently the only user-facing way of changing the sample rate.
2021-08-27Base: Add FontEditor alias to shellrcthankyouverycool
2021-08-26Userland: Introduce ConfigServer and LibConfigAndreas Kling
ConfigServer is an IPC service that provides access to application configuration and settings. The idea is to replace all uses of Core::ConfigFile with IPC requests to ConfigServer. This first cut of the API is pretty similar to Core::ConfigFile. The old: auto config = Core::ConfigFile::open_for_app("App"); auto value = config->read_entry("Group", "Key"); The new: auto value = Config::read_string("App", "Group", "Key"); ConfigServer uses the ~/.config directory as its backing store and all the files remain human-editable. :^)
2021-08-26Base: Add a Game of Life WebAssembly demoAli Mohammad Pur
2021-08-26Base: Refer to WebAssembly as 'Wasm' and not 'WASM'Ali Mohammad Pur
2021-08-25Base: Add cascade-keywords.html test page for CSS cascade keyword valuesSam Atkins
These are: - `initial` - `inherit` - `unset` Cascade4 and 5 also define `revert` and `revert-layer`, but let's not get ahead of ourselves. :^)
2021-08-24Userland: Remove IRC ClientAndreas Kling
The IRC Client application made some sense while our main communication hub was an IRC channel. Now that we've moved on, IRC is just a random protocol with no particular relevance to this project. This also has the benefit of removing one major client of the single- process Web::InProcessWebView class.
2021-08-23ModelGallery: Add the new Model Gallery application :^)sin-ack
This is an application analogous to WidgetGallery, in that it tests various capabilities of LibGUI models. Right now it is pretty bare, but as more work towards LibGUI models is done regarding persistent model indices, more demos will be added.
2021-08-23Base: Add "Dark" cursor themeMaciej Zygmanowski
2021-08-23WindowServer: Add support for cursor themesMaciej Zygmanowski
Now you can specify a CursorTheme key in /etc/WindowServer.ini. The cursors are loaded from /res/cursor-themes/<name> directory. This directory contains a Config.ini file with format similar to previous Cursor section, except it uses relative paths. This commit adds also Default theme, which uses cursors being previously in /res/cursors. The WidgetGallery is updated to match the new cursor path format.
2021-08-22Base: Add csv file associationKarol Kosek
2021-08-18Base: Remove System Monitor and Assistant from quick launch barAndreas Kling
System Monitor can already be accessed quickly by clicking one of the resource graph applets in the task bar, so this icon was redundant. Assistant can be opened with the Super+Space hotkey, so we don't need a dedicated icon for it.
2021-08-18Base: Rename GitHub browser bookmark to "GitHub"Andreas Kling
"SerenityOS @ GitHub" was a pointlessly long name for this.
2021-08-18Base: Add more test cases to fonts.htmlSam Atkins
- More combinations of values - Testing a font (Liberation Serif) which has multiple faces - Add calc() tests for font-size and weight - Check fallback when a font isn't available While I was at it, reorganized the file so the CSS is inline - this keeps it close to the relevant test case.
2021-08-18Userland+LibGUI: Add shorthand versions of the Margins constructorsin-ack
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same margin on all edges, for example. The constructors follow CSS' style of specifying margins. The added constructors are: - Margins(int all): Sets the same margin on all edges. - Margins(int vertical, int horizontal): Sets the first argument to top and bottom margins, and the second argument to left and right margins. - Margins(int top, int vertical, int bottom): Sets the first argument to the top margin, the second argument to the left and right margins, and the third argument to the bottom margin.
2021-08-18Base: Add a quote to the fortunes databaseBuggieBot
[skip ci]
2021-08-16Base: Associate obj files with 3DFileViewerTetsui Ohkubo
With this change, a user can open .obj files from FileManager.
2021-08-15Kernel+Userland: Remove chroot functionalityAndreas Kling
We are not using this for anything and it's just been sitting there gathering dust for well over a year, so let's stop carrying all this complexity around for no good reason.
2021-08-14Base: Add the serenity-application HackStudio templatesin-ack
This is a template which instantiates into what you'd write to start out a basic Serenity GUI application. It contains a CMakeLists.txt file which describes what each declaration does, a simple GUI application which uses layouts, widgets and callbacks, and comes with a minimal set of pledges which the user can add to as necessary.
2021-08-14LibWeb: Implement and use OverflowStyleValueSam Atkins
Also added a test page for the `overflow` properties. They apparently don't work, but at least they do parse.
2021-08-14Base: Correct flipped values in border-radius.htmlSam Atkins
Box 9 and Box 10 were in the wrong order somehow, so now they are not. :^)
2021-08-14LibWeb: Implement and use FlexStyleValueSam Atkins
This is not just moving the code from StyleResolver to Parser. The logic has changed to allow for the `flex-basis` to come before or after the `flex-grow/shrink` values, as well as handle the special one-value cases. Also added test cases to flex.html to check the parsing. It does parse correctly, but elements with `flex-basis: auto` do not calculate their width correctly.
2021-08-14LibWeb: Implement and use TextDecorationStyleValueSam Atkins
Modified text-decoration.html to better test that the values can be in any order, and that it adopts the color from the `color` property if no decoration color is specified. Right now, it always does because we do not support a different decoration color. Later, we need to support the `currentcolor` special CSS value for this purpose.
2021-08-14LibWeb: Implement and use ListStyleStyleValueSam Atkins
Yes, the name is silly, but it's a StyleValue for list-style, so... yeah. :^) Since `list-style-type` and `list-style-image` can both have `none` as a value, and can appear in any order, we have to handle it separately, and then assign either or both of those to `none` depending on how many `none`s there are, and whether those sub-properties already have values. Added some extra test cases to lists.html to cover list-style-image and list-style-position parts of the list-style shorthand, and the `none` values.
2021-08-14LibWeb: Implement and use BackgroundStyleValueSam Atkins
This one represents one secton of a `background` property, since it can have multiple background values separated by commas. Eventually, we will represent that as a List of BackgroundStyleValues. Also modified some background-foo properties in StyleResolver so that the is_background_x() functions could be removed. I realized that our handling of var() in shorthand properties is wrong, so have been removing the is_builtin_or_dynamic() calls from the parsing code for shorthands. This broke our var() test page, so I have replaced the use of 'background' with 'background-color' there.
2021-08-14LibWeb: Implement and use FontStyleValueSam Atkins
After working with the code for a while, it makes more sense to put all the parsing in Parser, instead of some of it living in StyleResolver. That means our current ValueListStyleValue needs to be replaced with specific StyleValue types for the properties that are shorthands or otherwise combine several values together. Here we implement FontStyleProperty, which represents a `font` CSS property. Also adjusted the fonts.html test page so that font-weights are featured in test cases without things we do not yet support.
2021-08-13Base: Convert postcreate scripts to use heredocsin-ack
2021-08-12Base: Make /bin/Shell the login shell by defaultJean-Baptiste Boric
2021-08-07PixelPaint: Add the GuideTool to the ToolboxTobias Christiansen
This also adds a custom icon for the GuideTool.
2021-08-03Base: New icon for the Spreadsheet appAndreas Kling
Let's have something that looks a little more like a spreadsheet. :^)
2021-08-03Base: Organize welcome.htmlSam Atkins
Previously, it was a big list of test pages in no particular order, and it was hard to find anything. This commit breaks it up into sections, and renames some of the links to be more consistent. The categories are slightly arbitrary, and I'm sure everyone will have a different opinion on what they should be, and which links should go where. But hopefully we can all agree that this is an improvement! This also wraps the list into multiple columns on browsers that support it, which unfortunately does NOT include Browser. :^( But hey, once we do it'll be good!
2021-08-02LibGUI: Add a simple GUI::PasswordInputDialogAndreas Kling
Asking the user for a password is a fairly common thing, so let's have a reusable GUI dialog for it! This first iteration only supports having pre-filled "server" and "username" fields. This can obviously be made more flexible as needs arise. :^)
2021-08-02Base: Add a quote to fortunes.jsonLinus Groh
2021-08-02Shell: Improve the parsing of history event designatorsTheFightingCatfish
2021-07-31MailSettings: Use the same app icon as MailAndreas Kling
*Settings applications should use the same icon as the app they manage the settings for.
2021-07-31Base: Improve Mail app icon (32x32)Andreas Kling
2021-07-31Base: Remove "test.frm" from HackStudio test projectAndreas Kling
2021-07-31LibWeb: Fix regression of "contenteditable" attributeTheFightingCatfish
2021-07-31Base: Add CSS url(data:...) cases to test pageSam Atkins
Also, it wasn't linked to from welcome.html, so now it is.
2021-07-31Base: Expand test page for CSS attribute selectorsSam Atkins
Now that we support more types of attribute selectors in the parser, we need a way to test them. :^)
2021-07-31LibWeb: Get CSS @import rules working in new parserSam Atkins
Also added css-import.html, which tests the 3 syntax variations on `@import` statements. Note that the optional media-query parameter to `@import` is not handled yet.
2021-07-30MailSettings: Add basic mail settings dialogFaeliore
MailSettings: Add a GML file for Mail settings MailSettings: Add an AF desktop file for Mail Settings MailSettings: Unveil /res in mail settings, fix GML MailSettings: Mail settings texteditor->textbox MailSettings: Update mail username to correct category in settings Modified Mail settings GML to properly represent ports >100 MailSettings: Update/fix mail settings GML MailSettings: Adjust GML, add icons for mail settings MailSettings: Change Okay button to OK MailSettings: Change mail setting reset button to revert MailSettings: Fix incorrect variable names in mail settings MailSettings: Add newlines af EOF of all mail setting files MailSettings: Mail settings linting issues fixed MailSettings: Increase size of icon features Code cleaning/styling changes as per gunnarbeutner review Made settings descriptions more friendly per sin-ack review MailSettings: Fixes as per PR comments MailSettings: Fix checkbox weirdness MailSettings: Adjust width of checkbox MailSettings: Remove unneccessary update() call MailSettings: Replace port SpinBox with ComboBox MailSettings: Add colons to labels, remove port 110 option MailSettings: Remove custom model, use ItemListModel MailSettings: Change relative icon paths to absolute ones
2021-07-29Base: Remove coffee theme height and width metricsFaeliore
2021-07-29Base: Make coffee theme icons smaller so they fit in the title barFaeliore
Fixes #4713
2021-07-28Base: Add a quote to the fortunes databaseBuggieBot
[skip ci]
2021-07-28LibGfx+Base: Add a themable "Accent" color roleAndreas Kling
This can be used by GUI widgets to draw attention to a specific part of the widget, for example the currently active sub-widget component.
2021-07-27Base: Add network-connected iconMaciej Zygmanowski
It's just like network-disconnected but without red "X" mark.
2021-07-26Spider: Improve 32x32 iconJamie Mansfield
This now matches Andreas' nice 16x16 icon :)
2021-07-26Base: Mitigations(7) add -fzero-call-used-regs and Process ProtectionBrian Gianforcaro
Update the man page to describe more mitigations that we have applied.
2021-07-26Base: Make DisplaySettings have matching 16x16 and 32x32 iconsAndreas Kling