Find a file
Andreas Kling e971f5604c LibHTML: Implement some very simple selector matching.
We walk the entire DOM and check all selectors against all elements. Only
id, class and tag name are checked right now. There's no ancestor stack
or compound selectors. All in good time :^)
2019-06-27 20:40:21 +02:00
AK AK: Use a SinglyLinkedList<T> as HashTable's bucket chain storage. 2019-06-27 16:36:31 +02:00
Applications Move common Application build steps into their own Makefile.common 2019-06-25 21:35:50 +02:00
Base PaintBrush: Add a color picker tool. 2019-06-22 12:05:35 +02:00
Demos WidgetGallery: Fix compiler warnings. 2019-06-22 16:27:35 +02:00
DevTools/VisualBuilder VisualBuilder: Use NonnullRefPtrVector. 2019-06-27 13:49:26 +02:00
Documentation Documentation: Update SmartPointers.md with new pointer names. 2019-06-21 18:42:17 +02:00
Games Snake: Use NonnullRefPtrVector. 2019-06-27 13:46:31 +02:00
Kernel Kernel: More use of NonnullRefPtrVector in the kernel. 2019-06-27 13:44:26 +02:00
LibC LibC: Uhm, htonl() shouldn't byte-swap on big endian machines. 2019-06-26 21:10:56 +02:00
LibCore CHttpJob: Block until we can actually read during State::InBody. 2019-06-22 23:10:05 +02:00
LibGUI GTextEditor: Add assertion that did_change() isn't called in readonly mode. 2019-06-23 08:23:37 +02:00
LibHTML LibHTML: Implement some very simple selector matching. 2019-06-27 20:40:21 +02:00
LibM LibM: Switch sin() for fast sin() 2019-06-23 22:13:29 +02:00
Meta Meta: Time for a new screenshot to keep things fresh. :^) 2019-06-07 18:14:13 +02:00
Ports Ports: Add 'figlet' port. 2019-06-09 12:20:43 +02:00
Servers Userland: Fix many compiler warnings. 2019-06-22 15:47:08 +02:00
SharedGraphics GraphicsBitmap: Add bpp(), returns the number of bits per pixel. 2019-06-25 20:33:24 +02:00
Shell add ~/.history file for Shell, stores entire command log and loads recent commands into history buffer 2019-06-23 22:08:12 +02:00
Toolchain Toolchain: Oops, let's unbreak UseIt.sh. 2019-05-20 02:06:41 +02:00
Userland QuickShow: Allow panning and zooming the image instead of stretching it. 2019-06-23 16:35:43 +02:00
.clang-format Meta: Tweak .clang-format to not wrap braces after enums. 2019-06-07 17:13:23 +02:00
.gitignore LookupServer: Load hostnames 2019-06-07 08:35:41 +02:00
.travis.yml Make sure the CI has qemu-utils installed. 2019-06-04 16:38:14 +02:00
LICENSE Let's go with a 2-clause BSD license. 2019-04-15 14:04:23 +02:00
Makefile.common Build: Enable the -Werror flag. 2019-06-22 16:32:04 +02:00
ReadMe.md Meta: Time for a new screenshot to keep things fresh. :^) 2019-06-07 18:14:13 +02:00

Serenity

Graphical Unix-like operating system for x86 computers.

Travis CI status

About

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

Serenity is a love letter to '90s user interfaces, with a custom Unix-like core. It flatters with sincerity by stealing beautiful ideas from various other systems.

Roughly speaking, the goal 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.

If you like some of the same things, you are welcome to join the project. It would be great to one day change the above to say "this is a system by us, for us, based on the things we like." :^)

I regularly post raw hacking sessions and demos on my YouTube channel.

Sometimes I write about about the system on my github.io blog.

There's also a Patreon if you would like to show some support that way.

Screenshot

Screenshot as of 191112e

Current features

  • Pre-emptive multitasking
  • Multithreading
  • Compositing window server
  • IPv4 networking with ARP, TCP, UDP and ICMP
  • ext2 filesystem
  • Unix-like libc and userland
  • POSIX signals
  • Shell with pipes and I/O redirection
  • mmap()
  • /proc filesystem
  • Local sockets
  • Pseudoterminals (with /dev/pts filesystem)
  • Event loop library (LibCore)
  • High-level GUI library (LibGUI)
  • Visual GUI design tool
  • PNG format support
  • Text editor
  • IRC client
  • DNS lookup
  • Desktop games: Minesweeper and Snake
  • Ports system (needs more packages!)
  • Other stuff I can't think of right now...

How do I build and run this?

Make sure you have all the dependencies installed:

sudo apt install libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils

Go into the Toolchain/ directory and run the BuildIt.sh script. Then source the UseIt.sh script to put the i686-pc-serenity toolchain in your $PATH.

Once you've done both of those, go into the Kernel directory, then run ./makeall.sh, and if nothing breaks too much, take it for a spin by using ./run.

IRC

Come chat in #serenityos on the Freenode IRC network.

Author

Contributors

Feel free to append yourself here if you've made some sweet contributions. :)

License

Serenity is licensed under a 2-clause BSD license.