Commit Graph

996 Commits

Author SHA1 Message Date
Bananymous c1b8f5e475 LibC: Add and cleanup network definitions 2026-04-02 15:42:00 +03:00
Bananymous cf31ea9cbe LibC: Add _SC_PHYS_PAGES and _SC_AVPHYS_PAGES 2026-04-02 15:41:26 +03:00
Bananymous 7e6b8c93b4 LibC: Implement strsep 2026-04-02 15:40:23 +03:00
Bananymous dd2bbe4588 LibC: Implement sched_getcpu 2026-04-02 15:39:36 +03:00
Bananymous e01e35713b LibC: Allow including assert.h multiple times
Some shit seems to depend on this
2026-04-02 15:38:06 +03:00
Bananymous 82d5d9ba58 LibC: Write memchr, memcmp and strlen with sse 2026-04-02 15:35:03 +03:00
Bananymous d168492462 WindowServer: bind volume up/down to volume control 2026-04-02 15:24:02 +03:00
Bananymous 6f2e8320a9 TaskBar: Show current volume level 2026-04-02 15:22:42 +03:00
Bananymous bf4831f468 AudioServer: Add support for volume control 2026-04-02 15:21:38 +03:00
Bananymous 5647cf24d2 Kernel: Implement volume control to audio drivers 2026-04-02 15:14:27 +03:00
Bananymous 21639071c2 kill: Allow killing with process name 2026-04-02 05:02:05 +03:00
Bananymous d9ca25b796 LibC: Add FNM_CASEFOLD and FNM_IGNORECASE
These are part of POSIX issue 8
2026-03-25 04:27:00 +02:00
Bananymous e9c81477d7 BAN/LibC: Implement remainder
This is basically just fmod but with fprem1 instead of fprem
2026-03-25 01:06:45 +02:00
Bananymous c563efcd1c AudioServer: Query pins of the asked device and not the current one 2026-03-23 22:57:49 +02:00
Bananymous 35e2a70de0 AudioServer: Handle client data before disconnecting clients 2026-03-23 20:41:13 +02:00
Bananymous 81d5c86a7a WindowServer: Automatically launch xbanan if installed 2026-03-23 19:39:08 +02:00
Bananymous 14f1c1a358 LibC: Implement vsyslog 2026-03-23 19:13:38 +02:00
Bananymous cbe835a2c8 DynamicLoader: Add missing strlen definition 2026-03-23 18:23:31 +02:00
Bananymous 6a77754adf LibC: Don't link against libstdc++
This prevented building the toolchain
2026-03-23 18:22:42 +02:00
Bananymous 7d7d5ba734 LibC: Compile eventfd file 2026-03-23 18:22:04 +02:00
Bananymous 43e18148a6 LibC: Define SSP things 2026-03-17 20:30:25 +02:00
Bananymous b0db645248 LibC: Add basic elf.h 2026-03-17 20:25:38 +02:00
Bananymous c1a424a635 Kernel: Implement linux's eventfd 2026-03-17 20:24:06 +02:00
Bananymous a49588dbc7 DynamicLoader: Fix library lookup for already loaded files 2026-03-17 20:05:05 +02:00
Bananymous 1f22b9b982 DynamicLinker: Implement RTLD_NOLOAD 2026-03-17 20:04:48 +02:00
Bananymous 1d07d8e08e LibC/DynamicLoader: Add support for dynamically loaded TLS
Previously I failed to dlopen if any of the objects contained TLS
section
2026-03-17 20:01:51 +02:00
Bananymous 05b2424fca LibC: Implement more proper random number generator 2026-03-17 19:53:43 +02:00
Bananymous 07201c711e LibC: set endp in string to float conversion error 2026-03-17 19:50:12 +02:00
Bananymous 8fac88c9a6 LibC: Add sincos{,f,l} 2026-03-17 19:42:53 +02:00
Bananymous c9aafa78ec DynamicLoader: Fix RO section mprotect arguments 2026-03-05 17:57:03 +02:00
Bananymous e1c337a483 LibC: Fix compile and link flags
We were linking with -nostdlib and manually linked against libgcc. This
does not link with crtbegin and crtend which provides __dso_handle
preventing use of some global C++ constructors inside libc.

Now we just don't link against libc fixing this issue
2026-03-05 16:25:06 +02:00
Bananymous acebe68dfa DynamicLoader: Fix copy relocation and TLS initialization 2026-03-04 23:04:19 +02:00
Bananymous a318a19fe2 LibGUI/WindowServer: Add fullscreen events
When window's fullscreen state changes we now generate events!
2026-02-23 16:06:48 +02:00
Bananymous f4a7aec167 LibGUI/WindowServer: Add support for custom cursor origin 2026-02-23 16:06:48 +02:00
Bananymous 304ace1172 LibInput: Export keyboard layout keymaps 2026-02-23 16:06:48 +02:00
Bananymous 2255e36810 LibDEFLATE: Add GZip support
This allows compressing and decompressing with data using GZip headers
and footers
2026-02-21 04:03:11 +02:00
Bananymous 5abddd448e LibC: Fix typo/bug in fnmatch
* would stop matching at '0' instead of end of string
2026-02-19 22:12:59 +02:00
Bananymous f022a1b08f Shell: Fix crash when executing semicolon
This fixes #4
2026-02-13 17:52:54 +02:00
Bananymous b3bbfaeff0 LibC: Fix posix_spawnattr_t definition 2026-02-10 01:22:25 +02:00
Bananymous 679a3d4209 LibGUI: Add Texture::clear{,_rect} 2026-02-08 19:45:01 +02:00
Bananymous 2e59373a1e Kernel: Fix non blocking sockets blocking :D 2026-02-08 19:33:28 +02:00
Bananymous 9809f87010 LibC: Fix {read,write}v return value for partial actions 2026-02-08 18:45:29 +02:00
Bananymous 8fb2270ecf DynamicLoader: map RO sections actually read only
I was mapping everything RW as i did not have mprotect when I
implemented the dynamic loader.
2026-02-04 23:21:06 +02:00
Bananymous c304133224 LibC: Indicate regex support in unistd.h 2026-01-25 01:47:30 +02:00
Bananymous 7843d3de62 LibC: Support attrs and file actions in posix spawn
Apparently GCC wants to use posix_spawn now that it is available, this
patch adds support for the missing fields. POSIX Issue 8 did add some
fields that are not supported here
2026-01-25 01:45:47 +02:00
Bananymous 0299d4d44e Kernel/LibC: remove SYS_TERMID
This syscall is not needed. /dev/tty is already a symlink to the
controlling terminal. Also this syscall did not handle pseudo terminals
2026-01-16 15:57:36 +02:00
Bananymous c30fc9d60f LibGUI: Rewrite using epoll
select is slow :^)
2026-01-12 23:53:11 +02:00
Bananymous 343aef31c3 AudioServer: Rewrite using epoll
select is slow :^)
2026-01-12 23:46:51 +02:00
Bananymous 3ac8f7e14f WindowServer: Rewrite using epoll
Looking at profiles, select is a very slow syscall as it has to allocate
a temporary epoll instance
2026-01-12 23:46:03 +02:00
Bananymous 9ffbb9fbf0 LibC: Fix clock_gettime return value 2026-01-11 22:44:03 +02:00