ladybird/Userland
Andreas Kling e4add19915 LibJS: Pass GlobalObject& to native functions and property accessors
More work towards supporting multiple global objects. Native C++ code
now get a GlobalObject& and don't have to ask the Interpreter for it.

I've added macros for declaring and defining native callbacks since
this was pretty tedious and this makes it easier next time we want to
change any of these signatures.
2020-06-20 15:45:07 +02:00
..
allocate.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
aplay.cpp LibAudio/aplay: Handle WAV header errors properly 2020-02-10 14:04:27 +01:00
arp.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
avol.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
base64.cpp Userland: Add base64 tool 2020-06-18 23:21:41 +02:00
basename.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
cal.cpp LibCore: Moved cal.cpp functions to DateTime 2020-03-18 08:17:01 +01:00
cat.cpp Meta: Scale back overly informal user-facing strings 2020-06-17 18:35:49 +02:00
chgrp.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
chmod.cpp chmod: Tweak usage string 2020-02-16 09:51:49 +01:00
chown.cpp Userland: Fix a crash in chown(1) 2020-06-17 15:02:03 +02:00
chroot.cpp Kernel+Userland: Support remounting filesystems :^) 2020-05-29 07:53:30 +02:00
clear.cpp clear: Use pledge() 2020-02-18 11:35:47 +01:00
CMakeLists.txt keymap: Add back a tiny utility for setting the system keyboard layout 2020-06-18 22:19:57 +02:00
copy.cpp FileManager+LibGUI+Userland: Switch clipboard to MIME types 2020-05-16 09:11:46 +02:00
cp.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
crash.cpp Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
cut.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
date.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
df.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
disasm.cpp Userland: Add missing copyright header to disasm.cpp 2020-05-09 23:45:16 +02:00
disk_benchmark.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
dmesg.cpp AK: Use size_t for ByteBuffer sizes 2020-02-20 13:20:34 +01:00
du.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
echo.cpp echo: Use pledge() 2020-02-18 11:35:47 +01:00
env.cpp env: Use pledge() 2020-02-18 13:29:54 +01:00
false.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
fgrep.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
find.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
flock.cpp Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
functrace.cpp functrace: Output colors only when stdout is a tty 2020-06-08 09:27:51 +02:00
gron.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
head.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
host.cpp host: Use ArgsParser to parse arguments, and add man page (#1252) 2020-02-20 15:12:55 +01:00
hostname.cpp Kernel: Tighten up some promise checks 2020-05-31 21:38:50 +02:00
ht.cpp LibWeb: Plumb content encoding into the new HTML parser 2020-05-28 12:35:19 +02:00
html.cpp LibWeb: Rename Web::HtmlView => Web::PageView 2020-05-28 18:22:54 +02:00
id.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ifconfig.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
jp.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
js.cpp LibJS: Pass GlobalObject& to native functions and property accessors 2020-06-20 15:45:07 +02:00
keymap.cpp keymap: Add copyright header 2020-06-18 23:00:19 +02:00
kill.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
killall.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
ln.cpp ln: Use pledge() 2020-02-18 13:29:54 +01:00
ls.cpp Userland: Use Core::File::read_link() 2020-06-17 15:02:03 +02:00
lsirq.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
lspci.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
man.cpp LibMarkdown: Change MD Document parse API to return a RefPtr 2020-05-30 00:32:12 +02:00
md.cpp LibMarkdown: Change internal MD API to return OwnPtrs 2020-05-30 00:32:12 +02:00
mkdir.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
mknod.cpp mknod: Use pledge() 2020-01-27 21:38:36 +01:00
modload.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
modunload.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
more.cpp more: Read keystrokes from stdout instead of trying to re-open it 2020-02-08 15:50:00 +01:00
mount.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
mv.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
nc.cpp Userland: Port nc(1) to use Core::ArgsParser 2020-05-30 15:01:18 +02:00
nl.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
notify.cpp LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage 2020-03-29 19:37:23 +02:00
open.cpp open: Create a Core::EventLoop before using Desktop::Launcher 2020-05-14 20:22:20 +02:00
pape.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
paste.cpp Userland: Treat all text/* MIME types as text when pasting 2020-05-30 15:01:18 +02:00
pidof.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
ping.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
pro.cpp ProtocolServer+LibProtocol: Propagate HTTP status codes to clients 2020-06-13 22:20:37 +02:00
profile.cpp profile: Allow launching a command with profiling enabled 2020-02-22 11:01:37 +01:00
ps.cpp ps: Widen the username column slightly 2020-05-15 00:01:01 +02:00
purge.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
readlink.cpp Userland: Add readlink(1) 2020-06-17 15:02:03 +02:00
realpath.cpp realpath: Use pledge() 2020-02-18 13:29:54 +01:00
reboot.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
rm.cpp rm: Allow specifying multiple paths to remove 2020-03-01 12:11:31 +01:00
rmdir.cpp rmdir: Use pledge() 2020-02-18 11:35:47 +01:00
shutdown.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
sleep.cpp Userland et al: Pledge sigaction when needed 2020-05-26 14:35:10 +02:00
sort.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
stat.cpp Kernel+LibC: Fix various build issues introduced by ssize_t 2020-05-23 15:27:33 +02:00
strace.cpp Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem" 2020-05-20 16:24:26 +02:00
su.cpp su: Tweak informal string 2020-06-17 18:41:59 +02:00
sync.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
syscall.cpp AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*) 2020-03-08 13:06:51 +01:00
sysctl.cpp sysctl: Permit 'sysctl -a' invocation 2020-05-04 09:41:43 +02:00
tail.cpp LibCore: Remove all remaining C prefix references 2020-03-07 01:33:53 +01:00
tee.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
test_efault.cpp Kernel: Fail with EFAULT for any address+size that would wrap around 2020-01-29 12:56:07 +01:00
test_io.cpp Userland: Use Core::File::read_link() 2020-06-17 15:02:03 +02:00
test-bindtodevice.cpp Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
test-crypto.cpp Meta: Run Crypto tests in CI 2020-06-07 19:29:40 +02:00
top.cpp AK: Make quick_sort() a little more ergonomic 2020-03-03 16:02:58 +01:00
touch.cpp Userland: "touch" can now handle multiple paths as arguments 2020-05-01 17:08:46 +02:00
tr.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
true.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
truncate.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
tt.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
tty.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
umount.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
uname.cpp uname: Remove trailing space character 2020-03-25 15:48:35 +01:00
unzip.cpp Userland: Add unzip command 2020-05-09 23:50:44 +02:00
uptime.cpp uptime: Use pledge() 2020-02-18 13:29:54 +01:00
useradd.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
userdel.cpp Meta: Adjust some copyright dates by Fei Wu 2020-03-02 14:24:25 +01:00
wc.cpp Userland: Fix wc(1) 2020-06-17 15:02:03 +02:00
which.cpp which: Use pledge() 2020-02-18 11:35:47 +01:00
whoami.cpp whoami: Use pledge() and unveil() 2020-02-18 11:35:47 +01:00
xargs.cpp Userland: Add a basic xargs 2020-05-28 11:01:08 +02:00
yes.cpp yes: Use pledge() 2020-02-18 11:35:47 +01:00