Find a file
Lucas CHOLLET cd9bb985d4 LibGfx/JPEGXL: Add support for the self-correcting predictor
This predictor is much more complicated than the others. Indeed, to be
computed, it needs its own value but for other pixels. As you can guess,
implementing it involved the introduction of a structure to hold that
data.

Fundamentally, this predictor uses the value of the error between the
predicted value and the true value (aka decoded value) of pixels around.
One of this computed error (namely max_error) is used as a property, so
this patch also solves a FIXME in `get_properties`.

To ease the access to value that are close in the channel and moving
their values around, this patch adds a `Neighborhood` struct which holds
this data. It has been used in `prediction()` and it allowed to simplify
the signature and to remove the explicit retrieval of the underlying
data.

All this work allows us to decode the default image that appears when
loading `https://jxl-art.surma.technology`. However, we still render it
incorrectly due to the lack of support for orientation values different
from 1.
2023-08-05 06:30:59 +02:00
.devcontainer Meta: Switch to clang-format-16 as the standard formatter 2023-07-08 10:32:56 +01:00
.github Meta: Add myself to CODEOWNERS 2023-08-05 04:50:00 +02:00
AK AK: Decode data URLs to separate class (and parse like every other URL) 2023-08-01 14:19:05 +02:00
Base Meta: Remove .gitignore from Base/ 2023-08-04 13:15:24 +02:00
Documentation Documentation: Fix typo in Spice documentation filename 2023-07-31 20:01:56 +01:00
Kernel Kernel: Mark sys$poll as not needing the big lock 2023-08-01 05:35:26 +02:00
Ladybird Ladybird: Send mouse wheel events to WebContent process 2023-08-05 04:47:46 +02:00
Meta Meta: Port 059857d26f to gn build 2023-08-04 20:02:28 -06:00
Ports Ports/gettext: Replace manually linking libintl with a libtool patch 2023-08-05 01:05:06 +02:00
Tests LibCore: Add a class for thread-safe promises 2023-08-04 13:49:36 -06:00
Toolchain Toolchain: Enable Objective-C and Objective-C++ 2023-07-29 16:52:11 -06:00
Userland LibGfx/JPEGXL: Add support for the self-correcting predictor 2023-08-05 06:30:59 +02:00
.clang-format Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
.clang-tidy Meta: Disable the misc-no-recursion check in clang-tidy 2023-03-18 16:34:41 +01:00
.editorconfig
.gitattributes
.gitignore Meta: Remove .gitignore from Base/ 2023-08-04 13:15:24 +02:00
.gn Meta: Add the start of a gn build based on the LLVM gn build 2023-07-09 16:22:58 -06:00
.mailmap Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
.pre-commit-config.yaml
.prettierignore LibJS: Add DisposableStack{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
.prettierrc
.ycm_extra_conf.py Meta: Remove i686 references in YCM configuration 2022-12-28 11:53:41 +01:00
azure-pipelines.yml CI: Remove extraneous toolchain job from Azure CI 2022-12-28 15:26:12 -05:00
CMakeLists.txt Toolchain+Ports: Update LLVM to 16.0.6 2023-06-27 12:40:38 +02:00
CONTRIBUTING.md Meta: Update maintainer section in CONTRIBUTING.md 2023-08-04 12:37:44 +02:00
LICENSE Meta: Update the year range in LICENSE :^) 2023-01-01 09:38:07 +00:00
README.md Meta: Add Alexander Kalenik to the contributors list :^) 2023-08-04 12:04:01 -06:00
SECURITY.md

SerenityOS

Graphical Unix-like operating system for x86-64 computers.

GitHub Actions Status Azure DevOps Status Fuzzing Status Sonar Cube Static Analysis Discord

FAQ | Documentation | Build Instructions

About

SerenityOS is a love letter to '90s user interfaces with a custom Unix-like core. It flatters with sincerity by stealing beautiful ideas from various other systems.

Roughly speaking, the goal is a marriage between the aesthetic of late-1990s productivity software and the power-user accessibility of late-2000s *nix. This is a system by us, for us, based on the things we like.

You can watch videos of the system being developed on YouTube:

Screenshot

Screenshot as of c03b788.png

Features

  • Modern x86 64-bit kernel with pre-emptive multi-threading
  • Browser with JavaScript, WebAssembly, and more (check the spec compliance for JS, CSS, and Wasm)
  • Security features (hardware protections, limited userland capabilities, W^X memory, pledge & unveil, (K)ASLR, OOM-resistance, web-content isolation, state-of-the-art TLS algorithms, ...)
  • System services (WindowServer, LoginServer, AudioServer, WebServer, RequestServer, CrashServer, ...) and modern IPC
  • Good POSIX compatibility (LibC, Shell, syscalls, signals, pseudoterminals, filesystem notifications, standard Unix utilities, ...)
  • POSIX-like virtual file systems (/proc, /dev, /sys, /tmp, ...) and ext2 file system
  • Network stack and applications with support for IPv4, TCP, UDP; DNS, HTTP, Gemini, IMAP, NTP
  • Profiling, debugging and other development tools (Kernel-supported profiling, detailed program analysis with software emulation in UserspaceEmulator, CrashReporter, interactive GUI playground, HexEditor, HackStudio IDE for C++ and more)
  • Libraries for everything from cryptography to OpenGL, audio, JavaScript, GUI, playing chess, ...
  • Support for many common and uncommon file formats (PNG, JPEG, GIF, MP3, WAV, FLAC, ZIP, TAR, PDF, QOI, Gemini, ...)
  • Unified style and design philosophy, flexible theming system, custom (bitmap and vector) fonts
  • Games (Solitaire, Minesweeper, 2048, chess, Conway's Game of Life, ...) and demos (CatDog, Starfield, Eyes, mandelbrot set, WidgetGallery, ...)
  • Every-day GUI programs and utilities (Spreadsheet with JavaScript, TextEditor, Terminal, PixelPaint, various multimedia viewers and players, Mail, Assistant, Calculator, ...)

... and all of the above are right in this repository, no extra dependencies, built from-scratch by us :^)

Additionally, there are over two hundred ports of popular open-source software, including games, compilers, Unix tools, multimedia apps and more.

How do I read the documentation?

Man pages are available online at man.serenityos.org. These pages are generated from the Markdown source files in Base/usr/share/man and updated automatically.

When running SerenityOS you can use man for the terminal interface, or help for the GUI.

Code-related documentation can be found in the documentation folder.

How do I build and run this?

See the SerenityOS build instructions. Serenity runs on Linux, macOS (aarch64 might be a challenge), Windows (with WSL2) and many other *Nixes with hardware or software virtualization.

Get in touch and participate!

Join our Discord server: SerenityOS Discord

Before opening an issue, please see the issue policy.

A general guide for contributing can be found in CONTRIBUTING.md.

Authors

And many more! See here for a full contributor list. The people listed above have landed more than 100 commits in the project. :^)

License

SerenityOS is licensed under a 2-clause BSD license.