ladybird/Userland/Demos
Ali Mohammad Pur 51c2c69357 AK+Everywhere: Disallow constructing Functions from incompatible types
Previously, AK::Function would accept _any_ callable type, and try to
call it when called, first with the given set of arguments, then with
zero arguments, and if all of those failed, it would simply not call the
function and **return a value-constructed Out type**.
This lead to many, many, many hard to debug situations when someone
forgot a `const` in their lambda argument types, and many cases of
people taking zero arguments in their lambdas to ignore them.
This commit reworks the Function interface to not include any such
surprising behaviour, if your function instance is not callable with
the declared argument set of the Function, it can simply not be
assigned to that Function instance, end of story.
2021-06-06 00:27:30 +04:30
..
CatDog CatDog: Don't show context menu when clicking outside of widget 2021-05-19 23:14:07 +02:00
Cube Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
Eyes Userland: Tighten a *lot* of pledges! :^) 2021-05-13 23:28:40 +02:00
Fire Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
LibGfxDemo LibGfx: Add missing TextAlignment::BottomLeft 2021-05-21 08:04:31 +02:00
LibGfxScaleDemo Everywhere: Add Alt shortcuts to remaining top-level menus 2021-05-12 18:09:42 +01:00
Mandelbrot Mandelbrot: Export images in a fixed resolution 2021-05-18 16:01:32 +02:00
Mouse Everywhere: Add Alt shortcuts to remaining top-level menus 2021-05-12 18:09:42 +01:00
Screensaver Userland: Tighten a *lot* of pledges! :^) 2021-05-13 23:28:40 +02:00
Starfield Userland: Tighten a *lot* of pledges! :^) 2021-05-13 23:28:40 +02:00
WidgetGallery AK+Everywhere: Disallow constructing Functions from incompatible types 2021-06-06 00:27:30 +04:30
CMakeLists.txt 3DFileViewer: Move Demos/GLTeapot to Applications/3DFileViewer 2021-05-19 19:34:12 +01:00