Commit Graph

  • a356d90445 LibC: Fix libc compilation for 32 bit target Bananymous 2024-11-04 10:51:31 +02:00
  • a3f41fd4d9 Kernel: Cleanup disk cache Bananymous 2024-11-03 20:27:12 +02:00
  • f4be37700f Kernel/userspace: rework floating point math Bananymous 2024-11-03 20:25:35 +02:00
  • ed19bb11fe Kernel: Cleanup thread default sse initialization Bananymous 2024-11-03 20:22:28 +02:00
  • 07275ecb5f BAN: Implement floating point constants in Numbers.h Bananymous 2024-11-03 20:19:45 +02:00
  • 2464fccadd LibC: Fix *scanf consuming extra characters Bananymous 2024-10-19 12:43:23 +03:00
  • 5fde2cf91a TaskBar: Ignore window close events and exit on connection close Bananymous 2024-10-18 17:19:05 +03:00
  • d57e797147 WindowServer: Don't kill window on key event, instead send close event Bananymous 2024-10-18 17:17:58 +03:00
  • 988f7b0561 ports: Fix doom port to use the new GUI events Bananymous 2024-10-18 03:45:15 +03:00
  • e99a271465 Userspace: Implement basic task bar Bananymous 2024-10-18 03:36:03 +03:00
  • d266c7f93b LibGUI: Implement attributes for windows Bananymous 2024-10-18 03:32:12 +03:00
  • d7e5c56e94 userspace: Use SOCK_STREAM instead of SOCK_SEQPACKET for WindowServer Bananymous 2024-10-17 01:36:59 +03:00
  • ddd3b4c093 BAN: Implement is_pod type traits Bananymous 2024-10-17 01:35:42 +03:00
  • 3a6fc4c197 BAN: Add proper error messages for MUST() in userspace Bananymous 2024-10-17 01:32:55 +03:00
  • 91381546d5 Shell: Don't crash if history file does not exist :D Bananymous 2024-10-16 00:41:28 +03:00
  • 41e2b898ab Shell: Implement history file for persistent history storage Bananymous 2024-10-16 00:21:33 +03:00
  • 6e981d1222 Shell: Add support for inline environment variables Bananymous 2024-10-15 23:45:08 +03:00
  • 8317bb13ca Shell: Cleanup code by defining argument types as nested types Bananymous 2024-10-15 23:44:06 +03:00
  • c40f244dff Shell: remove env builtin and add type Bananymous 2024-10-15 23:37:13 +03:00
  • a6aa048be0 userspace: Implement env as an executable Bananymous 2024-10-15 23:41:18 +03:00
  • 8fd0162393 Kernel: Rewrite x86_64 page tables to use HHDM instead of kmalloc Bananymous 2024-10-14 11:40:30 +03:00
  • f0b18da881 Kernel: Add kmalloc helper APIs Bananymous 2024-10-14 11:39:04 +03:00
  • 5f63ea8f8a Kernel: Add CPUID check for 1 GiB page support Bananymous 2024-10-14 11:38:03 +03:00
  • 2b43569927 Kernel: Use enums in boot info instead of magic values Bananymous 2024-10-14 11:36:51 +03:00
  • 4ba33175cf Kernel: Don't leak memory when preparing fast page Bananymous 2024-10-14 11:34:48 +03:00
  • 3edc1af560 Kernel: Don't map main bios area in page table initialization Bananymous 2024-10-14 11:31:40 +03:00
  • 55fbd09e45 Kernel: Rewrite physical memory allocation with PageTable::fast_pages Bananymous 2024-10-14 11:28:15 +03:00
  • 6a46a25f48 image: Add benchmark flag to measure performance of image operations Bananymous 2024-10-13 22:05:13 +03:00
  • 88b8ca5b29 LibC: Fix some string functions Bananymous 2024-10-13 22:04:08 +03:00
  • fdddb556ae LibC: Implement system() more properly Bananymous 2024-10-13 22:03:15 +03:00
  • d36b64e0c8 LibImage: name color to u32 function to to_argb from to_rgba Bananymous 2024-10-13 22:01:46 +03:00
  • 8adc97980a Shell: rewrite the whole shell to use tokens instead of raw strings Bananymous 2024-10-13 21:56:59 +03:00
  • dab6e5a60f BAN: Cleanup HashMap implementation and add {insert,emplace}_or_assign Bananymous 2024-10-13 21:59:39 +03:00
  • 0b05e9827b BAN: Use memmove instead of memcpy on overlapping data Bananymous 2024-10-13 21:58:44 +03:00
  • 1c1a76d6d7 BAN: Member function pointers now use references instead of pointers Bananymous 2024-10-13 21:57:54 +03:00
  • df4f37d68d BAN: only define placement new operators for banan-os targets Bananymous 2024-10-10 21:55:25 +03:00
  • 44629ba5dd BAN: Allow userspace to use string literals with BAN::Error Bananymous 2024-10-10 21:54:52 +03:00
  • 2da6776451 BAN: Update {Byte}Span API with better constness Bananymous 2024-10-10 21:53:23 +03:00
  • a68f411024 BAN: Add requires clauses for Container::emplace{,_back} functions Bananymous 2024-10-10 21:51:44 +03:00
  • 166550fbba Kernel: Ext2 check if file exists before creating it Bananymous 2024-10-07 18:20:08 +03:00
  • 3e68981b0b userspace: Remove start-gui from shell builtins and make it an alias Bananymous 2024-10-07 17:47:16 +03:00
  • 6fd76e8d1e Shell: Rewrite alias parsing to allow chained commands Bananymous 2024-10-07 17:45:58 +03:00
  • dfcd15e7c4 Shell: Implement background processes with & Bananymous 2024-10-07 16:51:19 +03:00
  • 5fa359c28d ls: Print file name in quotes if it contains spaces Bananymous 2024-10-07 16:11:41 +03:00
  • 5bcfc9dd50 Shell: Always print prompt to new line Bananymous 2024-10-07 16:09:36 +03:00
  • f67cad326a Shell: Don't crash when there are no tab completions available :D Bananymous 2024-10-07 14:26:07 +03:00
  • 9775e83374 Shell: Fix tab space escaping in tab completion Bananymous 2024-10-07 04:19:36 +03:00
  • 264d1798dc Shell: Clenup code and fix some bugs Bananymous 2024-10-07 04:10:25 +03:00
  • 1824988b9a Shell: Add support for simple aliases Bananymous 2024-10-07 04:09:38 +03:00
  • c54d9b3f60 Shell: Implement simple tab completion for commands and files Bananymous 2024-10-06 18:18:56 +03:00
  • f432d3fcf8 BAN: Cleanup Optional casting for value getters Bananymous 2024-10-06 18:22:06 +03:00
  • 4f7828bab9 Shell: Allow escaping spaces in commands Bananymous 2024-10-06 18:18:22 +03:00
  • ae073a336d Shell: Move builtin commands to a hash map Bananymous 2024-10-06 18:16:50 +03:00
  • 6f90974896 BAN: Fix StringView::starts_with Bananymous 2024-10-06 06:23:25 +03:00
  • 4f3c05851c Shell: Expand ~ to home if its at the start of non quoted argument Bananymous 2024-10-06 01:38:43 +03:00
  • 4b13055125 Shell: Make builtin exit command read exit value from argument Bananymous 2024-10-06 01:24:34 +03:00
  • d542cd811d Shell: Add support for &&, || and ; Bananymous 2024-10-06 00:17:34 +03:00
  • f75cebac7e Shell: Mark all functions as static Bananymous 2024-10-05 19:11:58 +03:00
  • e302b6b635 Shell: Use sigaction instead of signal Bananymous 2024-10-05 19:05:04 +03:00
  • f709e88994 Shell: Cleanup argument handling and exiting Bananymous 2024-10-04 17:54:01 +03:00
  • ab9a6d583b Userspace: Set SHELL environment variable in init instead of shell Bananymous 2024-10-04 17:24:37 +03:00
  • 26d6bf338e Shell: Ignore SIGTTOU and set pgroup from parent instead of child Bananymous 2024-10-04 17:23:31 +03:00
  • b6e040dfc2 Kernel/Shell: Fix backspace and delete key byte sequences Bananymous 2024-10-04 04:14:47 +03:00
  • f5802ca3e5 General: Update screenshot in README Bananymous 2024-09-30 18:28:16 +03:00
  • 7223e581a2 WindowServer: Fix 32 bit compilation with -Werror Bananymous 2024-09-27 15:33:25 +03:00
  • 2d11ce9669 Kernel: Fix interrupt system Bananymous 2024-09-27 15:31:31 +03:00
  • e4982a1a5c LibC: Fix printf with alternate format and zero values Bananymous 2024-09-26 15:25:16 +03:00
  • cea6dedccc Userspace: Compile programs and libraries with -Wall -Wextra -Werror Bananymous 2024-09-26 15:20:07 +03:00
  • e6ed5a388d BuildSystem: Export compile commands for clangd Bananymous 2024-09-26 15:14:54 +03:00
  • b89fc3fe87 Kernel: Implement ANSI SGR 7 to invert colors Bananymous 2024-09-26 15:08:11 +03:00
  • 57ae74f908 Terminal: Implement more ANSI escape handling Bananymous 2024-09-26 15:07:08 +03:00
  • 1a6804b4b4 Terminal: Make Terminal::handle_csi() return invalidated rectangle Bananymous 2024-09-26 15:05:11 +03:00
  • 82e6a3582d LibGUI: cleanup Window::shift_vertical and add copy_horizontal_slice Bananymous 2024-09-26 15:00:14 +03:00
  • 11a4e4faa2 LibImage: Add Adam7 support for PNG decoder Bananymous 2024-09-26 11:47:34 +03:00
  • 50a3533322 LibInput: Add value for ESC in key_to_utf8_ansi Bananymous 2024-09-24 18:08:34 +03:00
  • 4e9f39384a LibC: Initialize libc only once Bananymous 2024-09-24 17:56:12 +03:00
  • 39802b56c1 Kernel: Allow SYS_EXEC to fail at any point Bananymous 2024-09-24 16:29:38 +03:00
  • ebb87ccdde Kernel: Add asserts for overflow checks with ms -> ns conversions Bananymous 2024-09-24 16:28:44 +03:00
  • f0e55938c1 Kernel: Allow initial binding of threads to specific processor Bananymous 2024-09-24 16:27:40 +03:00
  • 348d04f7f5 Kernel: Implement static Process::kill() Bananymous 2024-09-24 13:16:43 +03:00
  • 1b0086217c Terminal: Do scrolling in putchar if necessary Bananymous 2024-09-23 15:00:47 +03:00
  • d395cf38b7 Kernel: Binding to port 0 will always find unused port Bananymous 2024-09-22 17:30:01 +03:00
  • 57aec2a733 Kernel: Validate pointer's when printing stack trace Bananymous 2024-09-22 17:16:01 +03:00
  • ae89237453 Kernel: Disable warning when calling syscall Bananymous 2024-09-22 17:15:07 +03:00
  • 60d5257678 Kenrel: Add __builtin_unreachable support for UBSAN Bananymous 2024-09-22 17:14:36 +03:00
  • d59463d11b Kernel: Fix TTY reading one keyevent after disabling input handling Bananymous 2024-09-22 17:13:10 +03:00
  • 1280528e4e BuildSystem: Use -O2 for all libraries Bananymous 2024-09-20 20:04:49 +03:00
  • 23d6205659 Kernel: Move DEBUG_* macros to centralized Debug.h Bananymous 2024-09-20 11:00:07 +03:00
  • bc0acc6f44 Kernel: Validate network packet sizes before casting Bananymous 2024-09-20 10:46:59 +03:00
  • b8622f2b4b Kernel: Implement simple RTL8169 driver Bananymous 2024-09-19 22:58:03 +03:00
  • 7f0c39fe91 Kernel: Don't crash the kernel if packet is smaller than ethernet hdr Bananymous 2024-09-19 22:51:55 +03:00
  • a489be0e05 Kernel: Allow parallel LAPIC timer initialization with HPET Bananymous 2024-09-19 14:41:59 +03:00
  • 8e08046519 Kernel: Add asserts about having locked TTY's write lock Bananymous 2024-09-18 00:56:48 +03:00
  • 999eb53364 Kernel: Release debug lock if its locked during kernel panic Bananymous 2024-09-18 00:56:02 +03:00
  • f7e549e412 Toolchain: Run strip after installing toolchain Bananymous 2024-09-17 22:30:40 +03:00
  • fbb99de728 ls: Show symlink target with -l Bananymous 2024-09-17 19:12:34 +03:00
  • 0620ed3d4f Kernel: Fix file open permissions for some syscalls Bananymous 2024-09-17 19:11:48 +03:00
  • b779b3cf2d Kernel: Move file finding code to a helper Bananymous 2024-09-17 18:52:52 +03:00
  • a6b973003b WindowServer: chmod the correct file Bananymous 2024-09-17 18:35:27 +03:00
  • e431e90b20 Kernel/LibC: Implement all chown family function with fchownat Bananymous 2024-09-17 18:35:01 +03:00