ladybird/Userland/Libraries
Andreas Kling 0255c8d976 Only apply auto-naming of function expressions based on syntax
The auto naming of function expressions is a purely syntactic
decision, so shouldn't be decided based on the dynamic type of
an assignment. This moves the decision making into the parser.

One icky hack is that we add a field to FunctionExpression to
indicate whether we can autoname. The real solution is to actually
generate a CompoundExpression node so that the parser can make
the correct decision, however this would have a potentially
significant run time cost.

This does not correct the behaviour for class expressions.

Patch from Anonymous.
2021-03-22 12:44:07 +01:00
..
LibAudio LibAudio: decrease WavLoader's size limit to a more reasonable size 2021-03-16 18:40:42 +01:00
LibC LibC: Add x86_64 Registers 2021-03-21 09:35:23 +01:00
LibChess Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
LibCompress LibCompress: Convert GzipDecompressor from recursive to iterative 2021-03-21 15:46:35 +01:00
LibCore LibCore: Verify type of value in enum property setter 2021-03-18 21:48:55 +01:00
LibCoreDump Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibCpp LibCpp: Add preprocessor option to ignore unsupported keywords 2021-03-18 07:49:18 +01:00
LibCrypt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LibCrypto Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
LibDebug Everywhere: Remove pessimizing and redundant move() 2021-03-17 16:30:15 +01:00
LibDesktop Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibDiff Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibELF LibELF: DynamicObject: set for_each_symbol/for_each_dynamic_entry public 2021-03-21 09:40:30 +01:00
LibGemini Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibGfx LibGfx: Don't use target's alpha if it doesn't have one (#5888) 2021-03-21 09:40:14 +01:00
LibGUI LibGUI: Allow ItemListModel to have 2D items 2021-03-22 07:43:58 +01:00
LibHTTP LibCore+LibHTTP+LibGfx: Switch to LibCompress 2021-03-03 23:42:32 +01:00
LibImageDecoderClient Everywhere: Remove pessimizing and redundant move() 2021-03-17 16:30:15 +01:00
LibIPC Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibJS Only apply auto-naming of function expressions based on syntax 2021-03-22 12:44:07 +01:00
LibKeyboard Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
LibLine LibLine: Make the DSR response parser a bit more robust 2021-03-16 21:51:49 +01:00
LibM LibM: Implement fmin/fmax 2021-03-15 22:02:38 +01:00
LibMarkdown Everywhere: Remove pessimizing and redundant move() 2021-03-17 16:30:15 +01:00
LibPCIDB Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibProtocol Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibPthread Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibRegex Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
LibSymbolClient SymbolServer+LibSymbolClient: Just do one symbol per IPC message 2021-02-04 23:35:10 +01:00
LibSyntax Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibSystem CMake: Make libc.a self-contained 2021-03-19 22:55:53 +01:00
LibTar LibTar: Implement TarOutputStream 2021-03-13 20:07:25 +01:00
LibTest LibELF+LibTest: Fix serenity_install_sources() paths 2021-03-15 09:06:10 +01:00
LibTextCodec LibTextCodec: Make UTF16BEDecoder read only up to an even offset 2021-03-15 16:08:12 +01:00
LibThread Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibTLS Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
LibTTF LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
LibVT Everywhere: Rename "logo" key to "super" key 2021-03-11 18:55:16 +01:00
LibWeb LibWeb: Add support to view JSON. 2021-03-21 09:37:51 +01:00
LibX86 LibX86: Don't use "if (foo) [[unlikely]] { }" for now (to please clang) 2021-03-09 17:47:28 +01:00
CMakeLists.txt LibTest + test-js: Add initial skelaton of LibTest and migrate code there. 2021-03-01 11:17:05 +01:00