Commit Graph

  • 5de83df6ec Unified constants from sortix/filesystem.h and <fcntl.h> in <sortix/fcntl.h>. Jonas 'Sortie' Termansen 2012-02-23 13:15:40 +0100
  • 03273d0076 Added stubs for stat(2), and fstat(2). Jonas 'Sortie' Termansen 2012-02-22 00:30:34 +0100
  • 75b3b9c858 Added a Maxsi::String::Substring function. Jonas 'Sortie' Termansen 2012-02-21 23:23:57 +0100
  • edd806fc74 Added a Refcounted class, useful for refcounted objects. Jonas 'Sortie' Termansen 2012-02-21 20:12:52 +0100
  • 74dab2cbca Cleaned up the Sortix makefile. Jonas 'Sortie' Termansen 2012-02-13 13:16:43 +0100
  • 2a4a51fafc Added getline(3), getdelim(3), sortix_gets(3) and gets(3). Jonas 'Sortie' Termansen 2012-02-13 01:07:02 +0100
  • 3bf5b1f17e Added realloc(3). Jonas 'Sortie' Termansen 2012-02-13 00:31:05 +0100
  • 4804e60a8b Fixed race condition when building libmaxsi with -j. Jonas 'Sortie' Termansen 2012-02-12 13:54:07 +0100
  • c8dfe630af Removed annoying warnings when declaring x64 systemcalls. Jonas 'Sortie' Termansen 2012-02-12 13:19:34 +0100
  • c6682265aa Fixed minor compile errors in fddir-sortix.c. Jonas 'Sortie' Termansen 2012-02-12 12:18:06 +0100
  • e05e934beb Changed return type of FILE::tell_func to off_t. Jonas 'Sortie' Termansen 2012-02-12 12:14:27 +0100
  • fec176fa15 Refactored the libmaxsi/ directory. Jonas 'Sortie' Termansen 2012-02-12 02:03:34 +0100
  • 4e29f2b907 Fixed spelling error in sortix/*/bits.h. Jonas 'Sortie' Termansen 2012-02-11 21:20:49 +0100
  • b4131def9f The offsetof macro now expands to __builtin_offsetof. Jonas 'Sortie' Termansen 2012-02-11 19:50:27 +0100
  • d693f8a2f4 Fixed broken <stddef.h>. Jonas 'Sortie' Termansen 2012-02-11 19:38:51 +0100
  • ead53567a1 Made the compile process a little less verbose. Jonas 'Sortie' Termansen 2012-02-11 19:06:00 +0100
  • 6d1129c29a Removed compile warnings related to feature macros. Jonas 'Sortie' Termansen 2012-02-11 19:03:17 +0100
  • ed68db03fb Replaced SORTIX_EXTENSIONS macro with _SORTIX_SOURCE macro. Jonas 'Sortie' Termansen 2012-02-11 18:50:12 +0100
  • 88c7788b4e Fixed stdint.h include guard conflicting with unistd.h. Jonas 'Sortie' Termansen 2012-02-11 18:46:17 +0100
  • 028867ab9d Removed the unused and deprecated old <libmaxsi/sortix-keyboard.h> API. Jonas 'Sortie' Termansen 2012-02-10 01:13:30 +0100
  • c4264d9c2a Ported the user-space programs to use stdin for keyboard access. Jonas 'Sortie' Termansen 2012-01-22 23:46:41 +0100
  • fa9c7007b4 Implemented a terminal that reads from keyboard and writes to kernel log. Jonas 'Sortie' Termansen 2012-02-09 23:55:03 +0100
  • 4ba906a157 Added a class for handling terminal linebuffering. Jonas 'Sortie' Termansen 2012-02-09 23:54:24 +0100
  • 133fb9871c Fixed buggy and broken KBKEY_ENCODE and KBKEY_DECODE macros. Jonas 'Sortie' Termansen 2012-02-09 23:53:10 +0100
  • 5fde8e13ed Blocking systemcalls now return EBLOCKING instead of EWOULDBLOCK. Jonas 'Sortie' Termansen 2012-01-22 18:49:04 +0100
  • 9bcfdad174 Added protection against running terminated threads. Jonas 'Sortie' Termansen 2012-02-10 13:27:11 +0100
  • f6f0d24b5c Added TERMMODE_NONBLOCK. Jonas 'Sortie' Termansen 2012-01-22 18:38:46 +0100
  • ecc3114f2a Refactored the system to use the new Terminal interface. Jonas 'Sortie' Termansen 2012-01-22 16:48:57 +0100
  • ead0e1523f Refactored the kernel keyboard API, but kept system calls compatible. Jonas 'Sortie' Termansen 2012-01-07 21:09:01 +0100
  • 16dd39e467 Added a nice Log::PrintData function to the kernel. Jonas 'Sortie' Termansen 2012-01-22 02:12:52 +0100
  • 1f3f85b609 Added a simple utf8 encoder in the kernel. Jonas 'Sortie' Termansen 2012-01-18 22:06:10 +0100
  • ac51e98cb8 Improved removal performance in Maxsi::SortedList. Jonas 'Sortie' Termansen 2012-01-21 01:31:14 +0100
  • f29f6dd053 ValidateHeap is now only called when PARANOIA is at least 2. Jonas 'Sortie' Termansen 2012-01-20 23:22:12 +0100
  • 83aeec2514 Multiple threads can now wait on the same pipe. Jonas 'Sortie' Termansen 2012-01-18 17:10:44 +0100
  • f676cf75f4 Added ENOTSUP. Jonas 'Sortie' Termansen 2012-01-18 15:40:31 +0100
  • 17d1b67a77 Fixed bug in fopen(3) where it didn't open correctly. Jonas 'Sortie' Termansen 2012-01-18 12:40:31 +0100
  • ba2cb5103a Made Device::IsType 'const', because it is. Jonas 'Sortie' Termansen 2012-01-18 01:11:17 +0100
  • 35fc0f6dfe Removed the old unused interrupt 177. Jonas 'Sortie' Termansen 2012-01-15 19:00:05 +0100
  • 93fb66ff90 Refactored Interrupt handlers to provide a user pointer. Jonas 'Sortie' Termansen 2012-01-15 18:32:42 +0100
  • ff9221de1a Updated ls(1) to use the DIR API. Jonas 'Sortie' Termansen 2012-01-15 00:47:38 +0100
  • d2c4b1d6ac Added readdir(3), closedir(3), rewinddir(3), dirfd(3), fdopendir(3), opendir(3). Jonas 'Sortie' Termansen 2012-01-14 20:54:02 +0100
  • c8c34d3cdd readdirents(2) now properly reports ERANGE. Jonas 'Sortie' Termansen 2012-01-15 00:43:13 +0100
  • f476a82498 Fixed idention error in ramfs. Jonas 'Sortie' Termansen 2012-01-14 23:19:31 +0100
  • c94f6b64c3 readdirents(2) now returns ERANGE if insufficient storage space was provided, but that the needed size could be copied to d_namelen. Jonas 'Sortie' Termansen 2012-01-14 23:06:18 +0100
  • 8ef439b328 Fixed NULL-pointer in SysReadDirEnts. Jonas 'Sortie' Termansen 2012-01-14 22:57:17 +0100
  • 8d18993584 Added stpcpy(3). Jonas 'Sortie' Termansen 2012-01-14 17:20:17 +0100
  • a06902baf6 Added strcoll(3). Jonas 'Sortie' Termansen 2012-01-14 16:44:48 +0100
  • 56084556bb Added stubs for truncate(2) and ftruncate(3). Jonas 'Sortie' Termansen 2012-01-14 16:37:21 +0100
  • 0519af33ee Added stubs for rmdir(2) and mkdir(2). Jonas 'Sortie' Termansen 2012-01-14 16:25:28 +0100
  • c5ddc6923a Added ENOSYS. Jonas 'Sortie' Termansen 2012-01-14 16:09:30 +0100
  • 1824dd6867 Added memchr(3). Jonas 'Sortie' Termansen 2012-01-09 01:38:44 +0100
  • 10a37e1f98 Added {,v}s{,n}printf(3). Jonas 'Sortie' Termansen 2012-01-09 00:31:42 +0100
  • 91015a2ea7 Made the size_t declaration compatible with GCC. Jonas 'Sortie' Termansen 2012-01-09 00:31:14 +0100
  • 66c411b43a sys/types.h now declares pid_t. Jonas 'Sortie' Termansen 2012-01-08 23:25:11 +0100
  • df728efb8c Added strchr(3), strchrnul(3), strrchr(3). Jonas 'Sortie' Termansen 2012-01-08 22:26:32 +0100
  • 4806f25e50 Added strtok(3), strtok_r(3), strspn(3), strcspn(3). Jonas 'Sortie' Termansen 2012-01-08 21:59:21 +0100
  • 9064185bd8 Added memcmp(3). Jonas 'Sortie' Termansen 2012-01-08 20:17:27 +0100
  • 46e717e30f Revert ".so's are no longer installed into sysroot as there are no kernel support." Jonas 'Sortie' Termansen 2012-01-08 15:53:10 +0100
  • 7cd5363af8 Disabled shared libaries in libmaxsi by default. Jonas 'Sortie' Termansen 2012-01-08 15:49:33 +0100
  • 145da20c04 Added a libg (symlink to libc) and symlinks are now copied to sysroot. Jonas 'Sortie' Termansen 2012-01-08 15:45:13 +0100
  • d3c16470e3 .so's are no longer installed into sysroot as there are no kernel support. Jonas 'Sortie' Termansen 2012-01-08 15:39:40 +0100
  • 954fd11703 Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3), isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3), isxdigit(3), tolower(3), and toupper(3). Jonas 'Sortie' Termansen 2012-01-08 15:35:35 +0100
  • ad200ffa91 Added getpagesize(2) with the new return type size_t. Jonas 'Sortie' Termansen 2012-01-08 14:58:57 +0100
  • 809bedd32b Just ignore the restrict keyword fully. Jonas 'Sortie' Termansen 2012-01-08 01:59:22 +0100
  • 8eebe18922 Added an implementation of puts(3) because gcc needs it. Jonas 'Sortie' Termansen 2012-01-08 01:57:45 +0100
  • 25d8551b26 Moved _start into crtbegin.o as that's where the cross compiler wants it. Jonas 'Sortie' Termansen 2012-01-08 00:15:06 +0100
  • d3ad36b181 Made detected ATA devices available as /dev/ataN block devices. Jonas 'Sortie' Termansen 2012-01-08 14:21:36 +0100
  • a3a2226bb5 Implemented a simple ATA PIO Mode driver that can read and write. Jonas 'Sortie' Termansen 2012-01-08 14:20:39 +0100
  • 4e0f57f4d7 DevFileWrapper now understands and respects O_TRUNC. Jonas 'Sortie' Termansen 2012-01-08 14:15:51 +0100
  • 75282bdab7 Added -fno-rrti to the C++ compile flags in the cross-compiler. Jonas 'Sortie' Termansen 2012-01-03 21:54:49 +0100
  • 9a77901883 Added missing prototypes to stdio.h. Jonas 'Sortie' Termansen 2011-12-30 01:23:00 +0100
  • 73a7e8f53d Forgot to actually add remove(3) in the previous commit. Jonas 'Sortie' Termansen 2011-12-30 01:13:41 +0100
  • deee5e4335 Added a partial implementation of remove(3), since rmdir(2) is missing. Jonas 'Sortie' Termansen 2011-12-30 01:11:33 +0100
  • 5d16b5c61e Added getchar(3) and putchar(3). Jonas 'Sortie' Termansen 2011-12-30 01:06:27 +0100
  • 66999ff94a Added putc(3) and getc(3). Jonas 'Sortie' Termansen 2011-12-30 01:03:24 +0100
  • d39d4222b5 Added fputc(3) and fgetc(3). Jonas 'Sortie' Termansen 2011-12-30 00:55:59 +0100
  • 76800553da Clarified comment about typedef struct _FILE FILE. Jonas 'Sortie' Termansen 2011-12-30 00:42:36 +0100
  • 064b69d2b6 Added fseeko(3) and ftello(3). Jonas 'Sortie' Termansen 2011-12-30 00:36:39 +0100
  • 912b2f78f0 Implemented the fdio backend of fseek(3) and ftell(3). Jonas 'Sortie' Termansen 2011-12-26 23:15:52 +0100
  • 648b324385 Added lseek(2). Jonas 'Sortie' Termansen 2011-12-26 23:12:12 +0100
  • d6d404f3f0 Added a simple pager program while we wait for less(1) to be ported. Jonas 'Sortie' Termansen 2011-12-26 17:15:14 +0100
  • 36b01eb2d3 Fixed the horrible 'nofoo' bug! Jonas 'Sortie' Termansen 2011-12-25 03:33:12 +0100
  • 7bc1fa259e Made Sortix compatible with gcc 4.6.1. Jonas 'Sortie' Termansen 2011-12-25 00:10:56 +0100
  • 2b3b4ed62a error(3) and perror(3) now writes to stderr. Jonas 'Sortie' Termansen 2011-12-24 04:36:42 +0100
  • fdbd4ca90d Implemented large parts of the stdio(3), including fprintf. Jonas 'Sortie' Termansen 2011-12-24 04:08:10 +0100
  • 4841d83ff8 Added calloc(3). Jonas 'Sortie' Termansen 2011-12-24 04:05:38 +0100
  • b5fe020b7a Fixed bad variable name in uptime(1), it's usecs not msecs. Jonas 'Sortie' Termansen 2011-12-23 19:53:47 +0100
  • ee125f01e2 Made the memstat program a little more 64-bit friendly. Jonas 'Sortie' Termansen 2011-12-23 16:54:34 +0100
  • ffe3cc49f2 Now counting memory usage in a more solid manner. Jonas 'Sortie' Termansen 2011-12-23 16:45:07 +0100
  • ba9b715c59 Added a global variable at the end of the kernel to detect its size. Jonas 'Sortie' Termansen 2011-12-23 13:09:09 +0100
  • 0515111314 The initial ramdisk is now mapped onto a special location. Jonas 'Sortie' Termansen 2011-12-22 14:13:18 +0100
  • a623b1b07e Fixed registering memstat(2) multiple times. Jonas 'Sortie' Termansen 2011-12-22 12:59:48 +0100
  • c8c08e7b90 Moved the make-color-red code into DoWelcome in kernel.cpp. Jonas 'Sortie' Termansen 2011-12-22 12:56:29 +0100
  • 567786d26b Added calc, an integer-based reverse polish notation calculator. Steve Dougherty 2011-12-16 00:00:42 -0500
  • 203f2a2bb1 Better default octal detection in strtol(3). Jonas 'Sortie' Termansen 2011-12-16 22:24:29 +0100
  • 73bcafc004 strtol(3) now returns 0 if the string was + or -. Jonas 'Sortie' Termansen 2011-12-16 21:44:32 +0100
  • f1a49dbad3 Hex numbers now work properly in strtol(3). Jonas 'Sortie' Termansen 2011-12-16 21:15:26 +0100
  • ae6696ed7a Added -fno-exceptions to the cross compiler flags. Jonas 'Sortie' Termansen 2011-12-16 18:46:56 +0100
  • da2bfac34f Fixed bug in strtol*. Jonas 'Sortie' Termansen 2011-12-16 18:28:22 +0100
  • bf6a4c1861 Added strto{u,}{l,}l(3). Jonas 'Sortie' Termansen 2011-12-16 16:49:27 +0100