Truly independent web browser
Find a file
Andreas Kling f6ca94605c WindowServer: Add a window minimization button.
The window is simply ignored in the painting and hit testing traversal
when in minimized state, same as we do for invisible windows.

The WM_SetActiveWindow message (sent by Taskbar) brings it back into the
non-minimized state. :^)
2019-04-05 22:32:00 +02:00
AK WindowServer: Factor out window frame logic into a WSWindowFrame class. 2019-04-05 15:54:56 +02:00
Applications WindowServer: Merge WM_WindowAdded and WM_WindowStateChanged. 2019-04-05 15:01:28 +02:00
Base WindowServer: Show a special "move" cursor when dragging windows around. 2019-03-31 22:42:13 +02:00
Kernel Hack sync.sh script to retry umount after a short delay if it fails. 2019-04-05 16:26:29 +02:00
LibC AK: Fix problem when building i686-pc-serenity toolchain from scratch. 2019-04-05 03:58:40 +02:00
LibGUI WindowServer: Merge WM_WindowAdded and WM_WindowStateChanged. 2019-04-05 15:01:28 +02:00
LibM LibM: Stub out ldexp(). 2019-03-27 01:41:55 +01:00
Meta Meta: Tweak build instructions. 2019-04-05 04:02:36 +02:00
Servers WindowServer: Add a window minimization button. 2019-04-05 22:32:00 +02:00
SharedGraphics Painter: Add text elision support (only right-hand side supported.) 2019-04-04 15:19:04 +02:00
Userland LibGUI: Improve GFrame's look for Container shapes. 2019-03-28 20:15:13 +01:00
.gitignore Move over to building all of userspace with i686-pc-serenity-g++. 2019-02-22 14:45:14 +01:00
ReadMe.md Meta: Tweak ReadMe and add a new screenshot. 2019-03-20 15:52:37 +01:00

Serenity

x86 Unix-like operating system for IBM PC-compatibles.

About

I always wondered what it would be like to write my own operating system, but I never took it seriously. Until now.

I've grown tired of cutesy and condescending software that doesn't take itself or the user seriously. This is my effort to bring back the feeling of computing I once knew.

Roughly speaking, the goal here is a marriage between the aesthetic of late-1990s productivity software and the power-user accessibility of late-2000s *nix. This is a system by me, for me, based on the things I like.

Screenshot

Screenshot as of cdb82f6

Current features

  • Pre-emptive multitasking
  • Compositing window server
  • IPv4 networking with ARP, TCP, UDP and ICMP
  • ext2 filesystem
  • Unix-like libc and userland
  • mmap()
  • /proc filesystem
  • Local sockets
  • Pseudoterminals
  • Event-driven GUI library
  • Text editor
  • IRC client
  • DNS lookup
  • Other stuff I can't think of right now...

How do I build and run this?

You need a freestanding cross-compiler for the i686-elf target (for the kernel) and another cross-compiler for the i686-pc-serenity target (for all the userspace stuff.) It's probably possible to coerce it into building with vanilla gcc/clang if you pass all the right compiler flags, but I haven't been doing that for a while.

There's a helpful guide on building a GCC cross-compiler on the OSDev wiki.

I've only tested this on an Ubuntu 18.10 host with GCC 8.2.0, so I'm not sure it works anywhere else.

If you'd like to run it, here's how you'd get it to boot:

cd Kernel
./makeall.sh
./run            # Runs in QEMU
./run b          # Runs in bochs (limited networking support)

Author

License

Undecided. Probably something close to 2-clause BSD.