summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-30Kernel: 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-30Terminal: Fix some missing text attributesRobin 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-30LibC: 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-30Misc: Add a simple init processRobin Burchell
This doesn't do much right now, just fork off a bunch of stuff and set priorities.
2019-05-30Kernel/LibC: Implement sched_* functionality to set/get process priorityRobin 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-30LibC: 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-30Kernel: Fix a bad printf, and stub out SO_ERROR a bit more fullyRobin 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-29LibM LibC: add fixes for Lua port.Mustafa Ali CAN
2019-05-29Port:Add LuaMustafa Ali CAN
2019-05-29Terminal: 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-29LibC: 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-29Port: lessChristopher Dumas
2019-05-28LibC: Don't define ALWAYS_INLINE if it's already defined.Andreas Kling
This makes building GCC a bit quieter.
2019-05-28LibC: fcntl.h should define F_RDLCK.Andreas Kling
2019-05-28Ports: Add linksRobin 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-28Ports: Vim and ncursesChristopher Dumas
2019-05-28Documentation: RIP the short-lived coding styleRobin Burchell
Let's just use clang-format. It's easier than explaining the rules.
2019-05-28Add clang-format fileRobin 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-28Fix badge hopefully.Robin Burchell
2019-05-28Add .travis.ymlRobin Burchell
2019-05-28Ports: Add GNU binutils.Andreas Kling
2019-05-28LibC: Make dlfcn stubs extern "C" like the outside world expects.Andreas Kling
2019-05-28LibC: Move size_t, ptrdiff_t and NULL to stddef.h. #POSIXAndreas Kling
2019-05-28LibC: Move struct timeval to sys/time.h. #POSIXAndreas Kling
2019-05-28Kernel: Remove accidentally committer .orig file.Andreas Kling
2019-05-28Documentation: 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-28Documentation: Import an attempt at describing the project coding style.Andreas Kling
2019-05-28Ports: Replace run_command use in bash with a run_replace_in_file helperRobin 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-28Ports: Remove MAKEOPTS hacks from bashRobin Burchell
This doesn't seem to go wrong anymore.
2019-05-28Move everything to a subdirectoryRobin Burchell
Also don't run cd for the initial git clone (DERP!), and other bash port fixes.
2019-05-28Add WIP bash portRobin Burchell
2019-05-28port_include: Various updatesRobin 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-28Add the start of a simple ports infrastructureRobin Burchell
2019-05-28Shell: Allow * and ? wildcard expansion in argumentsRobin Burchell
Should also presumably allow for escaping and such, but this is a start. Fixes #112.
2019-05-27TextEditor: Fix window title when starting with an empty document.Andreas Kling
2019-05-27LibGUI: Add a GListView widget.Andreas Kling
GListView displays a single column of data from a GModel.
2019-05-27fixed ini WM configChristopher Dumas
2019-05-27removed extra impl of scalingChristopher Dumas
2019-05-27centered backgrounds are now an optionChristopher Dumas
2019-05-27tiled backgrounds no longer has strange off-by-one pixel errorsChristopher Dumas
2019-05-27can now tile background and made sure the IRC choose server popup still worksChristopher Dumas
2019-05-27most apps now begin in the correct directoryChristopher Dumas
2019-05-27IRC client setttings, Terminal settings, more WM settingsChristopher Dumas
2019-05-27implemented settings for window manager.Christopher Dumas
2019-05-27Network stack is now configurable, and resolution is also configurable, but ↵Christopher Dumas
loading cursors causes a page-fault?
2019-05-27LibCore: Add CDirIterator, and use it in everything rather than readdirRobin Burchell
2019-05-27ls: Fix build and tidy up coding style.Andreas Kling
2019-05-27Ls: Cleanupfaissaloo
2019-05-27Ls: Support multiple filesfaissaloo
2019-05-27Ls: Support single files in long modefaissaloo