summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-23Ports: Tweak shebang of python3's package.shLinus Groh
This was missed in c702845.
2021-01-23Ports: Clean up some package.sh scriptsLinus Groh
- Remove superfluous function overrides and use makeopts instead - Remove superfluous installopts - Use run rather than cd'ing manually - Ensure empty line between functions
2021-01-23Ports: Install dependencies in separate "installdepends" stepLinus Groh
Calling installdepends in do_fetch seems kinda silly and unexpected. Let's add a separate step with the same name instead.
2021-01-22Kernel: Fix PATADiskDevice device namesAndreas Kling
This broke the regular QEMU boot.
2021-01-22Kernel: Find boot device by enumerating devicesJean-Baptiste Boric
Since devices are enumerable and can compute their own name inside the /dev hierarchy, there is no need to try and parse "root=/dev/xxx" by hand. This also makes any block device a candidate for the boot device, which now includes ramdisk devices, so SerenityOS can now boot diskless too. The disk image generated for QEMU is suitable, as long as it fits in memory with room to spare for the rest of the system.
2021-01-22Kernel: Make device generate their own namesJean-Baptiste Boric
Besides removing the monolithic DevFSDeviceInode::determine_name() method, being able to determine a device's name inside the /dev hierarchy outside of DevFS has its uses.
2021-01-22Kernel: Hook Ramdisk devices inside DevFSJean-Baptiste Boric
2021-01-22Kernel: Implement RamdiskDeviceJean-Baptiste Boric
2021-01-22Kernel: Parse boot modules from Multiboot specificationJean-Baptiste Boric
2021-01-22Kernel: Move kmalloc heaps and super pages inside .bss segmentJean-Baptiste Boric
The kernel ignored the first 8 MiB of RAM while parsing the memory map because the kmalloc heaps and the super physical pages lived here. Move all that stuff inside the .bss segment so that those memory regions are accounted for, otherwise we risk overwriting boot modules placed next to the kernel.
2021-01-22Kernel: Remove trace log in MemoryManager::deallocate_user_physical_page()Jean-Baptiste Boric
2021-01-22Kernel: Do not assert if unable to load kernel symbolsJean-Baptiste Boric
2021-01-22Kernel: Untangle StorageController from PCI::DeviceControllerJean-Baptiste Boric
2021-01-22Build: Use cmake's make_directory utility instead of env(1) and mkdir(1)Emanuele Torre
..in CMake files. Also, the `-S`s were unnecessary here since "mkdir" doesn't have any spaces and these are not shebangs.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
2021-01-22AK: Add set_debug_enabled method.asynts
2021-01-22Conway: Add interactivityBen Wiederhake
2021-01-22Base: More helpful Desktop selectionBen Wiederhake
If Serenity is ever used for more than a few days, the user will be more likely to want to interact with their home directory than just be dropped at '/'. Also, we have a Welcome program. Spotlight it! And finally, there was a missing newline in the build script.
2021-01-22LibGfx: Add a draw_scaled_bitmap() variant that takes a FloatRect as src_rectNico Weber
Consider draw_scaled_bitmap({0, 0, 10, 10}, source, {0, 0, 5, 5}). Imagine wanting to split that up into two calls, like e.g. the compositor when redrawing the background with damage rects. You really want to be able to say draw_scaled_bitmap({0, 0, 5, 10}, source, {0, 0, 2.5, 5}) but up to now you couldn't. Now you can. This makes painting very low-res images (such as tile.png) in mode "stretch" work much better.
2021-01-22LibGfx: Allow comparing Points, Sizes, and Rects of different typeNico Weber
2021-01-22Libraries: Add missing headersBen Wiederhake
A C++ source file containing just #include <LibFoo/Bar.h> should always compile cleanly. This patch adds missing header inclusions that could have caused weird error messages if they were used in a different context. Also, this confused QtCreator.
2021-01-22LibGUI: Resolve cyclic inclusionBen Wiederhake
Application.h includes Widget.h which includes Application.h. I'm not entirely sure what the semantics are in this case, but avoiding this seems to be the safer approach. In this case, Widget does not actually use Application, so let's just remove the unused include.
2021-01-22LibCrypto: Make PEM.h able to stand aloneBen Wiederhake
These headers should probably all be converted into proper functions of LibCrypto, especially since we have shared objects.
2021-01-22PixelPaint: adding an option to export as PNGPierre
2021-01-22LibGfx: adding a very simple PNG writerPierre
With this patch it is possible to create PNG files. Only minimal options are supported. The PNG is created with one big IDAT chunk containing only non-compressible DEFLATE blocks.
2021-01-22LibGfx: Implement scaling support for draw_tiled_bitmap()Nico Weber
Closes #5017.
2021-01-22su: Drop "id" pledge after switching userAndreas Kling
2021-01-22passwd: Drop "rpath" pledge after opening filesAndreas Kling
We needed this for mkstemp() since it used lstat() internally. Now that it only uses open(), we don't need to pledge "rpath".
2021-01-22LibC: Templatize unique filename enumeration for mkstemp() et alAndreas Kling
This allows us to implement mkstemp() with open() directly, instead of first lstat()'ing, and then open()'ing the filename. Also implement tmpfile() in terms of mkstemp() instead of mktemp().
2021-01-22Kernel+Userland: Remove "dns" pledge promise aliasAndreas Kling
This was just an alias for "unix" that I added early on back when there was some belief that we might be compatible with OpenBSD. We're clearly never going to be compatible with their pledges so just drop the alias.
2021-01-22Everywhere: Fix typosLinus Groh
2021-01-22Meta: Use a bash shebang for text-to-cpp-string.shLinus Groh
Previously we had /bin/sh, which might be bash but is run in POSIX mode on some systems, causing read -r to not work correctly and inserting newlines when encountering literal "\n" in the source. Fixes #5040.