1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 16:07:46 +00:00

Commit graph

  • 829bf94de1 Fix /bin/ls usage string. Andreas Kling 2018-12-07 01:19:39 +01:00
  • 4f6438ec66 VirtualConsole: Support the 'A' and 'D' CSI sequences. Andreas Kling 2018-12-07 01:19:02 +01:00
  • a8c7b6ce86 VirtualConsole: The rightmost column is always a default horizontal tab. Andreas Kling 2018-12-07 00:26:12 +01:00
  • 2850225587 VirtualConsole: Don't output the bell character. Andreas Kling 2018-12-07 00:21:25 +01:00
  • 87b10f6e6e Add basic support for horizontal tabs in the VirtualConsole. Andreas Kling 2018-12-07 00:17:23 +01:00
  • f18c985546 Add basic 'x' and 'X' right/left deletion commands. Andreas Kling 2018-12-06 23:59:55 +01:00
  • eb4bbc337f Add some more vi-like movements. Andreas Kling 2018-12-05 02:28:29 +01:00
  • 92ebfee050 Add vi-like 'A' command. Andreas Kling 2018-12-05 02:11:39 +01:00
  • ae6c183475 Add basic "write to file" support. Andreas Kling 2018-12-05 01:59:36 +01:00
  • d2bb139c46 Support inserting a newline. Andreas Kling 2018-12-05 01:43:07 +01:00
  • efd5aae217 Coalesce the current line into a single chunk when moving away from it. Andreas Kling 2018-12-04 13:38:42 +01:00
  • e02eca2a5e Add vi-like 'a' command. Andreas Kling 2018-12-04 13:05:35 +01:00
  • b74fcd0a37 Fix inserting text in the middle of a chunk. Andreas Kling 2018-12-04 01:56:16 +01:00
  • 51092c5b9d Coding style fixes. Andreas Kling 2018-12-04 01:41:14 +01:00
  • 476df3b6f7 Add .gitignore to Editor Andreas Kling 2018-12-04 00:42:57 +01:00
  • ca6847b5bb Import a simple text editor I started working on. Andreas Kling 2018-12-04 00:27:16 +01:00
  • 405383fd2f Refactor the FIFO implementation to use a DoubleBuffer as backing store. Andreas Kling 2018-12-03 02:24:11 +01:00
  • afc56d151f Omit duplicate lines from the ksyms map. Andreas Kling 2018-12-03 02:23:49 +01:00
  • bbfae19238 Move DoubleBuffer to its own files. Andreas Kling 2018-12-03 01:51:44 +01:00
  • aff89d2fd7 Yet more coding style fixes. Andreas Kling 2018-12-03 01:38:22 +01:00
  • f31e1ceab0 Move InlineLinkedList to AK. Andreas Kling 2018-12-03 01:18:54 +01:00
  • e7cc08226f Implement basic support for times(). Andreas Kling 2018-12-03 01:12:26 +01:00
  • 4bc87dc7b9 Share the "blocked-on file descriptor" number between read() and write(). Andreas Kling 2018-12-03 00:42:48 +01:00
  • f6e27c2abe More coding style changes. Andreas Kling 2018-12-03 00:39:25 +01:00
  • d824442e3e Get rid of deprecated_enumerateDirectoryInode. Andreas Kling 2018-12-03 00:26:39 +01:00
  • 407bb3e76e Some coding style fixes. I'm getting more comfortable with this style. Andreas Kling 2018-12-03 00:20:00 +01:00
  • 7d13432b55 Remove debug kprintfs() in VFS::mkdir. Andreas Kling 2018-12-03 00:11:16 +01:00
  • fb8a1186f6 Use decltype(sizeof(void*)) as a facsimile for std::size_t. Andreas Kling 2018-12-02 23:48:19 +01:00
  • dd502bb54e Make the widgets code build on macOS. Andreas Kling 2018-12-02 23:41:10 +01:00
  • 85b886c2e0 Make it possible to build the Kernel on a macOS host. Andreas Kling 2018-12-02 23:34:50 +01:00
  • 44036f32bc Move ELFLoader code into Kernel/. Andreas Kling 2018-12-02 20:27:08 +01:00
  • ac7a60225e Add TIOCGWINSZ ioctl so userland can determine terminal geometry. Andreas Kling 2018-11-29 03:45:23 +01:00
  • f5a83c4d8a Fix bug where a signal-interrupted waitpid() wouldn't return EINTR. Andreas Kling 2018-11-28 23:30:06 +01:00
  • 464a16afa2 Implement signal() via sigaction() and get rid of sys$signal(). Andreas Kling 2018-11-28 22:27:32 +01:00
  • d90104f9e0 Let reap() communicate the dead process's exit status to the caller. Andreas Kling 2018-11-28 22:01:24 +01:00
  • 938d1b8bfb Drop any old signal stacks on exec(). Andreas Kling 2018-11-28 20:59:10 +01:00
  • 629c5be10b Add basic zero faults. Andreas Kling 2018-11-19 02:17:20 +01:00
  • e88f306d07 Make /proc/PID/vm more readable. Andreas Kling 2018-11-19 01:49:19 +01:00
  • 526dcafd57 Some improvements to LibC malloc(). Andreas Kling 2018-11-19 01:40:19 +01:00
  • 85649077cd Adapt kmalloc() for userspace. Andreas Kling 2018-11-19 00:53:02 +01:00
  • f5a0b6961c Fix mkdir with relative paths. Andreas Kling 2018-11-18 23:28:43 +01:00
  • de4604ac95 Finally hook up the mkdir code to a syscall. Andreas Kling 2018-11-18 14:57:41 +01:00
  • 303577df16 Various stubs while trying to get an old coreutils to build. Andreas Kling 2018-11-17 15:56:09 +01:00
  • e440c3fa87 Support "ls <path>" rather than just "ls" :^) Andreas Kling 2018-11-17 01:04:00 +01:00
  • 95e0f6ad82 Fix race condition in exec(). Andreas Kling 2018-11-17 00:52:29 +01:00
  • bb9766ee17 Tweak default hostname. Andreas Kling 2018-11-17 00:23:39 +01:00
  • 9d05f6b7a7 Make bash-2.05b build with minimal changes. Andreas Kling 2018-11-17 00:11:08 +01:00
  • 2cf477a151 Add fcntl() F_DUPFD which is slightly different from dup2(). Andreas Kling 2018-11-16 22:14:40 +01:00
  • 6cedb88153 Don't unblock a blocked process when it ignores a signal. Andreas Kling 2018-11-16 21:14:25 +01:00
  • a788e85c09 Refactor TTY signal generation a bit. Andreas Kling 2018-11-16 20:18:58 +01:00
  • 4e2c2b9748 Minor TTY tweak. Andreas Kling 2018-11-16 18:12:22 +01:00
  • d2046e79cf Add a DoubleBuffer thingy to allow TTY read/write to be interleaved. Andreas Kling 2018-11-16 17:56:18 +01:00
  • 52d1822c3c Add templated helpers for read/write validation, and one for strings, too. Andreas Kling 2018-11-16 16:23:39 +01:00
  • 8a286b9244 Improve syscall address validation a bit. Andreas Kling 2018-11-16 16:10:59 +01:00
  • 084287ca45 Reimplement tcsetattr/tcgetattr as ioctls. Andreas Kling 2018-11-16 15:41:48 +01:00
  • c99f8af66d Add ioctl() and reimplement tcsetpgrp/tcsetpgrp as ioctls. Andreas Kling 2018-11-16 13:11:21 +01:00
  • 2529925fe9 Some more renaming: Andreas Kling 2018-11-15 17:13:10 +01:00
  • eced5f11e3 Add CoreInode::reverse_lookup(). Andreas Kling 2018-11-15 17:04:55 +01:00
  • 5f434bc00b Add CoreInode::lookup() for directory lookups. Andreas Kling 2018-11-15 16:34:36 +01:00
  • 8fa2d7104a More VFS cleanup. Andreas Kling 2018-11-15 15:36:35 +01:00
  • 396a32835b A pass of style/naming cleanup in VFS. Andreas Kling 2018-11-15 15:10:12 +01:00
  • 457a5df7d5 Rename: Andreas Kling 2018-11-15 14:43:10 +01:00
  • c735c56e4c More work on CoreInode. Andreas Kling 2018-11-13 23:44:54 +01:00
  • 26852a8363 Add metadata to CoreInode. Andreas Kling 2018-11-13 13:32:16 +01:00
  • 10c470e95f Make page_in_from_vnode 2x faster. Andreas Kling 2018-11-13 13:02:39 +01:00
  • 97c799576a Add close-on-exec flag for file descriptors. Andreas Kling 2018-11-13 01:36:31 +01:00
  • 19b9401487 Reduce kmalloc() traffic in directory iteration. Andreas Kling 2018-11-13 00:17:30 +01:00
  • 5e8e554f94 Add a braindead 10x speedup to kmalloc(). Andreas Kling 2018-11-12 15:25:57 +01:00
  • dea474dfd5 Make loading /bin/bash ~250x faster. Andreas Kling 2018-11-12 13:25:16 +01:00
  • 1cf20a2fe2 Some minor termios debugging output. Andreas Kling 2018-11-12 12:27:28 +01:00
  • f1404aa948 Add primitive FIFO and hook it up to sys$pipe(). Andreas Kling 2018-11-12 01:28:46 +01:00
  • 18e3ddf605 Add a naive /bin/fgrep for testing pipes. Andreas Kling 2018-11-11 20:42:41 +01:00
  • d5d45d1088 Rage hacking to get bash to run. It finally runs. So cool! :^) Andreas Kling 2018-11-11 15:36:40 +01:00
  • 9b70808ab5 Add really cheap atol() since sizeof(int) == sizeof(long) here anyway. Andreas Kling 2018-11-11 10:40:50 +01:00
  • f394e3486a Stub out a bunch more functions to get closer to that sweet bash build. Andreas Kling 2018-11-11 10:38:33 +01:00
  • e48182d91b Add setvbuf(), setlinebuf(), setbuf(). Andreas Kling 2018-11-11 10:11:09 +01:00
  • 7cc4caee4f Add ispunct() to LibC + some minor cleanups. Andreas Kling 2018-11-11 00:44:04 +01:00
  • 3b2f172d48 A bunch of compat work (mostly stubs but some real implementations, too.) Andreas Kling 2018-11-11 00:20:53 +01:00
  • 6a0a2c9ab4 Some improvements to signals. Andreas Kling 2018-11-10 23:29:07 +01:00
  • c97a5862ce Remove MM::allocate_physical_pages() since it wasn't used. Andreas Kling 2018-11-10 22:14:41 +01:00
  • 36b3dc6c32 Add /proc/PID/cwd, a symlink to the process's current directory. Andreas Kling 2018-11-10 18:16:21 +01:00
  • a768c2b919 Rename ProcessInspectionScope to ProcessInspectionHandle. Andreas Kling 2018-11-10 16:50:42 +01:00
  • 2ac5e14c08 Merge VGA into VirtualConsole. Andreas Kling 2018-11-10 16:25:59 +01:00
  • c653bb09b3 Don't include empty segments in canonicalized paths. Andreas Kling 2018-11-10 15:46:39 +01:00
  • 39d6b96d21 Make chdir("/") work. Andreas Kling 2018-11-10 15:40:24 +01:00
  • b8264e7d47 Merge Disk namespace into the IDEDiskDevice class. Andreas Kling 2018-11-10 15:15:31 +01:00
  • cba05ce75e Before sys$write returns, check for pending unmasked signals. Andreas Kling 2018-11-10 02:43:33 +01:00
  • 8605711f4b Make /bin/clear work again. Andreas Kling 2018-11-10 00:56:10 +01:00
  • 3e3de67f02 Use the VGA start address for fast VirtualConsole scrolling. Andreas Kling 2018-11-09 21:18:03 +01:00
  • 8a865c11ec Pre-size the ksyms vector for speedier loading. Andreas Kling 2018-11-09 20:40:39 +01:00
  • de38e63d3e Run QEMU with the possibility to attach gdb. Andreas Kling 2018-11-09 18:35:17 +01:00
  • 985074c790 Okay, now *actually* plug the leaks in exec(). Andreas Kling 2018-11-09 17:59:14 +01:00
  • e0ca6bb97e Add /proc/vnodes, listing basic info about all open vnodes. Andreas Kling 2018-11-09 17:46:55 +01:00
  • 4914f3b837 Build LibC and Userland with clang as well. Andreas Kling 2018-11-09 14:29:00 +01:00
  • ebf308d413 Make kernel build with clang. Andreas Kling 2018-11-09 12:20:44 +01:00
  • 7b3b5f745f Move <utsname.h> to <sys/utsname.h> for correctness. Andreas Kling 2018-11-09 10:24:41 +01:00
  • 8249c086c3 Get rid of redundant sys$spawn now that we have fork+exec. Andreas Kling 2018-11-09 10:22:14 +01:00
  • 3e0a0dd7ed Fix all current build warnings in the userland. Andreas Kling 2018-11-09 10:18:04 +01:00
  • e9cdb6bb9b Fix all current build warnings in LibC. Andreas Kling 2018-11-09 10:09:46 +01:00
  • 47b7eeda44 Fix all current build warnings in the kernel. Andreas Kling 2018-11-09 10:03:21 +01:00