Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-30 | Kernel: Pass 'prot' argument to File::mmap() and act on it. | Andreas Kling | |
Nothing crazy, this just means that PROT_READ allocates readable regions, and that PROT_WRITE allocates writable ones. | |||
2019-05-30 | Terminal: Fix some missing text attributes | Robin Burchell | |
Probably doesn't actually change much yet since we don't support many text rendering options, but it's at least good to have the options, and to record things we don't yet support too. | |||
2019-05-30 | LibC: Add setenv(). | Andreas Kling | |
If I'm understanding the standard C library correctly, setenv() copies while putenv() does not. That's really confusing and putenv() basically sucks. To know which environment variables to free on replacement and which ones to leave alone, we keep track of the ones malloced by setenv in a side table. This patch also moves Shell to using setenv() instead of putenv(). Fixes #29. | |||
2019-05-30 | Misc: Add a simple init process | Robin Burchell | |
This doesn't do much right now, just fork off a bunch of stuff and set priorities. | |||
2019-05-30 | Kernel/LibC: Implement sched_* functionality to set/get process priority | Robin Burchell | |
Right now, we allow anything inside a user to raise or lower any other process's priority. This feels simple enough to me. Linux disallows raising, but that's annoying in practice. | |||
2019-05-30 | LibC: Add malloc_size() to tell you how big an allocation might be. | Andreas Kling | |
It can't be 100% precise but it doesn't really matter. Use this to implement realloc() nicely. This also fixes a bug in realloc() where we didn't take the size of the allocation metadata into account when computing the size of an allocation backed by a BigAllocationBlock. | |||
2019-05-30 | Kernel: Fix a bad printf, and stub out SO_ERROR a bit more fully | Robin Burchell | |
links requests SO_ERROR, so in not supporting it, things were unhappy. Supporting this properly looks a little messy. I guess Socket will need an m_error member it sets everywhere it returns an error. Or Syscall could set it, perhaps, but I don't know if that's the right thing to do, so let's just stub this for now and file a bug. | |||
2019-05-29 | LibM LibC: add fixes for Lua port. | Mustafa Ali CAN | |
2019-05-29 | Port:Add Lua | Mustafa Ali CAN | |
2019-05-29 | Terminal: Add /usr/local/bin to the default PATH. | Andreas Kling | |
Now that we're building all these ports, let's have them in the PATH. :^) | |||
2019-05-29 | LibC: realloc() should reuse the existing allocation more often. | Andreas Kling | |
We were only reusing the existing allocation if the new requested size was exactly the same as the fudged size of the block. This meant that realloc() could allocate a new block even though the new block would be identical to the old block. | |||
2019-05-29 | Port: less | Christopher Dumas | |
2019-05-28 | LibC: Don't define ALWAYS_INLINE if it's already defined. | Andreas Kling | |
This makes building GCC a bit quieter. | |||
2019-05-28 | LibC: fcntl.h should define F_RDLCK. | Andreas Kling | |
2019-05-28 | Ports: Add links | Robin Burchell | |
Doesn't actually run yet. in_term's read() fails with EFAULT for reasons that are presently beyond me, points to a bug in Serenity. | |||
2019-05-28 | Ports: Vim and ncurses | Christopher Dumas | |
2019-05-28 | Documentation: RIP the short-lived coding style | Robin Burchell | |
Let's just use clang-format. It's easier than explaining the rules. | |||
2019-05-28 | Add clang-format file | Robin Burchell | |
Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh. | |||
2019-05-28 | Fix badge hopefully. | Robin Burchell | |
2019-05-28 | Add .travis.yml | Robin Burchell | |
2019-05-28 | Ports: Add GNU binutils. | Andreas Kling | |
2019-05-28 | LibC: Make dlfcn stubs extern "C" like the outside world expects. | Andreas Kling | |
2019-05-28 | LibC: Move size_t, ptrdiff_t and NULL to stddef.h. #POSIX | Andreas Kling | |
2019-05-28 | LibC: Move struct timeval to sys/time.h. #POSIX | Andreas Kling | |
2019-05-28 | Kernel: Remove accidentally committer .orig file. | Andreas Kling | |
2019-05-28 | Documentation: Remove some irrelevant things from the coding style. | Andreas Kling | |
This was adapted from the WebKit coding style docs, but some parts of it don't make sense for Serenity. | |||
2019-05-28 | Documentation: Import an attempt at describing the project coding style. | Andreas Kling | |
2019-05-28 | Ports: Replace run_command use in bash with a run_replace_in_file helper | Robin Burchell | |
This way, we don't (in the ports themselves) depend on perl as a public interface, which means if we ever have to, we can port to something else easier. | |||
2019-05-28 | Ports: Remove MAKEOPTS hacks from bash | Robin Burchell | |
This doesn't seem to go wrong anymore. | |||
2019-05-28 | Move everything to a subdirectory | Robin Burchell | |
Also don't run cd for the initial git clone (DERP!), and other bash port fixes. | |||
2019-05-28 | Add WIP bash port | Robin Burchell | |
2019-05-28 | port_include: Various updates | Robin Burchell | |
* Prints what is run, which is useful for trace purposes. * Fix autotools configure to respect arguments * Add run_patch for applying patches | |||
2019-05-28 | Add the start of a simple ports infrastructure | Robin Burchell | |
2019-05-28 | Shell: Allow * and ? wildcard expansion in arguments | Robin Burchell | |
Should also presumably allow for escaping and such, but this is a start. Fixes #112. | |||
2019-05-27 | TextEditor: Fix window title when starting with an empty document. | Andreas Kling | |
2019-05-27 | LibGUI: Add a GListView widget. | Andreas Kling | |
GListView displays a single column of data from a GModel. | |||
2019-05-27 | fixed ini WM config | Christopher Dumas | |
2019-05-27 | removed extra impl of scaling | Christopher Dumas | |
2019-05-27 | centered backgrounds are now an option | Christopher Dumas | |
2019-05-27 | tiled backgrounds no longer has strange off-by-one pixel errors | Christopher Dumas | |
2019-05-27 | can now tile background and made sure the IRC choose server popup still works | Christopher Dumas | |
2019-05-27 | most apps now begin in the correct directory | Christopher Dumas | |
2019-05-27 | IRC client setttings, Terminal settings, more WM settings | Christopher Dumas | |
2019-05-27 | implemented settings for window manager. | Christopher Dumas | |
2019-05-27 | Network stack is now configurable, and resolution is also configurable, but ↵ | Christopher Dumas | |
loading cursors causes a page-fault? | |||
2019-05-27 | LibCore: Add CDirIterator, and use it in everything rather than readdir | Robin Burchell | |
2019-05-27 | ls: Fix build and tidy up coding style. | Andreas Kling | |
2019-05-27 | Ls: Cleanup | faissaloo | |
2019-05-27 | Ls: Support multiple files | faissaloo | |
2019-05-27 | Ls: Support single files in long mode | faissaloo | |