toaruos/lib/README.md

85 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

# ToaruOS System Libraries
These are the core system libraries of ToaruOS. Where functionality isn't expected in the C standard library, these provide additional features that are shared by multiple ToaruOS applications.
## `toaru_auth`
Provides password validation and login helper methods. Exists primarily because `libc` doesn't have these things and there are multiple places where logins are checked (`login`, `glogin`, `sudo`, `gsudo`...).
## `toaru_button`
Renderer for button widgets. Not really a widget library at the moment.
## `toaru_confreader`
Implements a basic INI parser for use with configuration files.
## `toaru_decorations`
Client-side decoration library for the compositor. Supports pluggable decoration themes through additional libraries, which are named as `libtoaru_decor-...`.
## `toaru_graphics`
General-purpose 2D drawing and pixel-pushing library. Provides sprite blitting, rotation, scaling, etc.
## `toaru_hashmap`
Generic hashmap implementation. Also used by the kernel.
## `toaru_iconcache`
Convenience library for loading icons at specific sizes.
2021-07-07 11:17:55 +03:00
## `toaru_inflate`
Decompression library for DEFLATE payloads.
## `toaru_jpeg`
Minimal, incomplete JPEG decoder. Mostly used for providing wallpapers. Doesn't support most JPEG features.
## `toaru_kbd`
Keyboard scancode parser.
## `toaru_list`
Generic expandable linked list implementation.
## `toaru_markup`
XML-like syntax parser.
## `toaru_menu`
Menu widget library. Used for the "Applications" menu, context menus, etc.
## `toaru_pex`
Userspace library for using the ToaruOS "packetfs" subsystem, which provides packet-based IPC.
2021-07-07 11:17:55 +03:00
## `toaru_png`
2021-07-07 11:17:55 +03:00
Decoder for Portable Network Graphics images.
2021-07-07 11:17:55 +03:00
## `toaru_rline`
2021-07-07 11:17:55 +03:00
Rich line editor for terminal applications, with support for tab completion and syntax highlighting.
## `toaru_termemu`
Terminal ANSI escape processor.
2021-07-07 11:17:55 +03:00
## `toaru_text`
TrueType font parser and text renderer.
## `toaru_tree`
Generic tree implementation. Also used by the kernel.
## `toaru_yutani`
Compositor client library, used to build GUI applications.