summaryrefslogtreecommitdiff
path: root/Base
AgeCommit message (Collapse)Author
2020-11-22LibWeb: Add a test for the new event dispatcherLuke
2020-11-22Base: Unbreak the "images" HTML test pageAndreas Kling
2020-11-15Base: Add filetype-json iconsLinus Groh
2020-11-15LibGUI/FileIconProvider: Add config file and use patternsLinus Groh
This moves file extension to icon mappings from compile time macros to an INI config file (/etc/FileIconProvider.ini), so file icons can easily be customized and extended :^) I also switched the format from a static file extension (".foo") to glob-like patterns ("*.foo", using StringUtils::matches()), which allows us to assign icons to specific exactly matching file names, like many IDEs do - e.g. "CMakeLists.txt" or ".prettierrc".
2020-11-14Userland: chroot: Add `--userspec`/`-u` flag to set uid/gid for chrootBrendan Coles
2020-11-11ls: Only append file type indicators when -F or --classify is specifiedAndreas Kling
2020-11-10LaunchServer: Add hsp=/bin/HackStudio file association to configBrendan Coles
2020-11-10Base: remove unnecessary Game config files from /home/anon/.config/Brendan Coles
2020-11-10Userland: Add an "adjtime" utilityNico Weber
It's a thin userland wrapper around adjtime(2). It can be used to view current pending time adjustments, and root can use it to smoothly adjust the system time. As far as I can tell, other systems don't have a userland utility for this, but it seems useful. Useful enough that I'm adding it to the lagom build so I can use it on my linux box too :)
2020-11-10Kernel+LibC: Add adjtime(2)Nico Weber
Most systems (Linux, OpenBSD) adjust 0.5 ms per second, or 0.5 us per 1 ms tick. That is, the clock is sped up or slowed down by at most 0.05%. This means adjusting the clock by 1 s takes 2000 s, and the clock an be adjusted by at most 1.8 s per hour. FreeBSD adjusts 5 ms per second if the remaining time adjustment is >= 1 s (0.5%) , else it adjusts by 0.5 ms as well. This allows adjusting by (almost) 18 s per hour. Since Serenity OS can lose more than 22 s per hour (#3429), this picks an adjustment rate up to 1% for now. This allows us to adjust up to 36s per hour, which should be sufficient to adjust the clock fast enough to keep up with how much time the clock currently loses. Once we have a fancier NTP implementation that can adjust tick rate in addition to offset, we can think about reducing this. adjtime is a bit old-school and most current POSIX-y OSs instead implement adjtimex/ntp_adjtime, but a) we have to start somewhere b) ntp_adjtime() is a fairly gnarly API. OpenBSD's adjfreq looks like it might provide similar functionality with a nicer API. But before worrying about all this, it's probably a good idea to get to a place where the kernel APIs are (barely) good enough so that we can write an ntp service, and once we have that we should write a way to automatically evaluate how well it keeps the time adjusted, and only then should we add improvements ot the adjustment mechanism.
2020-11-10Userland: ls: Add `-d` / `--directory` flagBrendan Coles
2020-11-10Userland: ls: Add `-o` and `-B` / `--ignore-backups` flagsBrendan Coles
* `-B`, --ignore-backups`: Do not list implied entries ending with ~ * `-o`, In long format, do not show group information
2020-11-10Base: Add ls man page documentationBrendan Coles
2020-11-09Base: Add Breakout game to system menu (#4006)bcoles
2020-11-08LibGfx: add erroneous cases to GIF test suitePeter Nelson
2020-11-05Base: Tweak CXXFLAGS for the "little" test projectsAndreas Kling
Let's build with -std=c++2a since we're C++20 nowadays. :^)
2020-11-04Chess: Add missing default config file in .config :^)Jesse Buhagiar
Following 9f8a8e07c2d25009268830c51f58c052a8f6936b, let's add a default `.ini` to prevent `unveil` from failing.
2020-11-04Minesweeper+Snake: load config file before calling unveil()Brendan Coles
2020-11-02WindowServer+LibGfx: Add Gfx::StandardCursor::Hidden cursorBrendan Coles
2020-11-02Games: Use pledge and unveilBrendan Coles
2020-11-01LaunchServer: Add sheets=/bin/Spreadsheet file association to configBrendan Coles
2020-11-01Chess: Add the 'moderna' piece set (#3896)JetStarBlues
2020-10-31Spreadsheet: Add support for example views and hyperlinks in the docsAnotherTest
Now the functions can actually be demonstrated by small examples, embedded right inside the documentation via: spreadsheet://example/<page>#<example_name> Also allows pages to link to each other via the same scheme: spreadsheet://doc/<page>
2020-10-30LibTLS: (Almost) verify certificate chain against root CA certificatesAnotherTest
Also adds a very primitive systemwide ca_certs.ini file.
2020-10-30WindowServer+LibGfx: Added Crosshair cursorUma Sankar Yedida
2020-10-29Shell: Document the new 'pattern as (list of names)' match syntaxAnotherTest
2020-10-29Userland: Add an implementation of 'expr'AnotherTest
This implements all expressions except 'match', which errors out when executed. Closes #1124?
2020-10-26Shell+LibLine: Support HISTCONTROL environment variableLinus Groh
This is implemented in Line::Editor meaning not only the Shell will respect it, but also js, Debugger etc. Possible values are "ignorespace", "ignoredups" and "ignoreboth", as documented in Shell-vars(7), for now. The default value for the anon user (set in .shellrc) is "ignoreboth".
2020-10-26Shell: Support HISTFILE environment variableLinus Groh
This allows changing the Shell's history file path.
2020-10-25LookupServer: Support multiple nameserversLinus Groh
The configuration key [DNS] Nameserver has been renamed to Nameservers and accepts a comma-separated list of nameserver addresses, which will be queried in the given order until a response has been received. The new default value is still Cloudflare's 1.1.1.1 as well as their secondary DNS server 1.0.0.1.
2020-10-25Themes: Update tooltip colors of dark themesLinus Groh
For themes with primarily light text colors and dark backgrounds the current almost-white background/black text tooltips look a bit out of place. I've changed them to what I believe are sensible colors but theme authors are of course free to tweak further.
2020-10-25LibGfx+FontEditor+Fonts: Add family, size and weight metadata to fontsAndreas Kling
This makes finding fonts from the same family much less difficult. :^)
2020-10-25Fonts: Rename font files consistentlyAndreas Kling
Font files are now all named like this: <Family><Weight><Size>.font This will make it much easier/sane to perform font lookup.
2020-10-25Fonts: Add 12px variants of Csilla and CsillaBoldAndreas Kling
These aren't perfect, but it's a start and we can tweak the glyphs as we go and discover what might look nice. :^)
2020-10-25Base: Document the new brace expansions in Shell's manpageAnotherTest
2020-10-24Themes: Add "Desert" themeAndreas Kling
2020-10-24Fonts: Add 12px variants of Katica and KaticaBoldAndreas Kling
I only drew the ASCII codepoints so far. We'll probably need to tweak these here & there, but I feel like they turned out pretty good. :^)
2020-10-23LibGUI+LibGfx+Base: Make tooltips color theme aware :^)Andreas Kling
Also tweak the default tooltip color to be more bright and yellow!
2020-10-23Base: Remove ugly 'Xmas' themeAndreas Kling
I added this while doing the original theming implementationa and it's just not good.
2020-10-22Base: Add a manpage for 'printf'AnotherTest
2020-10-22LibGfx: Add colors for highlight-searching to palette and themesTom
2020-10-19Base: Update test-js(1) man pageLinus Groh
2020-10-14PixelPaint: Basic brush toolBenJilks
This patch adds a very basic implementation of the classic brush tool. It features a wide brush with a falloff around the edges.
2020-10-05LibGfx+FontEditor+Fonts: Add "mean line" value to all fontsLuke
The main inspiration behind this was to have a correct ex CSS unit. The mean line is based off what it shows in the CSS Values and Units Level 4 specification, section 6.1.1. https://www.w3.org/TR/css-values-4/#font-relative-lengths
2020-10-04HackStudio: Add a Shell language serverAnotherTest
2020-10-03Everywhere: Fix more typosLinus Groh
2020-10-02Base: Add missing options to the Shell(1) man pageLinus Groh
2020-10-02 Keymaps: Add Colemak keymap (#3658)utku
Leave CapsLock as is, as the Colemak Windows driver also does (Colemak originally maps CapsLock as Backspace).
2020-10-01DevTools: Remove VisualBuilder and FormCompilerAndreas Kling
This functionality is being moved to HackStudio so let's not confuse people by keeping the old stuff around.
2020-09-30HackStudio: Add C++ Language ServerItamar
The language server keeps track of the content of currently edited files by receiving updates about edit actions. Also, C++ autocompletion is no longer tied to HackStudio itself and moved to be part of the language server.