Gunnar Beutner
f62f6c2b37
Ports: Add missing dependency for the gnupg port
2021-04-14 22:43:27 +02:00
Gunnar Beutner
2ef7e757ad
Ports: Enable audio for the Super-Mario port
...
According to @Baitinq the original port crashed with audio enabled.
I suspect that this was because the SDL2 headers didn't match between
the host and target system. Now that we properly use target's headers
this is no longer an issue so I enabled audio:
https://www.youtube.com/watch?v=ZTFvrcpZjY8
2021-04-14 22:43:13 +02:00
Linus Groh
51a5427419
LibJS: Improve Reference::get() TypeError message for nullish base
...
"ToObject on null or undefined" is useless.
"Cannot get property 'foo' of undefined" isn't.
2021-04-14 22:37:12 +02:00
Linus Groh
73a92c79b8
LibJS: Use reference in MemberExpression::execute()
...
This was basically duplicated code.
2021-04-14 22:37:12 +02:00
daniel eliad
b96c205c98
Tests: fixed test-crypto wrong argument order that failed -
...
run-tests-and-shutdown.sh
2021-04-14 22:33:50 +02:00
Brian Gianforcaro
a973b22359
Kernel: Suppress maybe-uninitialized' warning s_syscall_table in gcc-10.3.0
2021-04-14 21:49:54 +02:00
Brian Gianforcaro
8d70bead20
Build: Update toolchain include path to gcc 10.3.0
2021-04-14 21:49:54 +02:00
Brian Gianforcaro
73fab93ef5
Toolchain: Update to the latest gcc release 10.3.0
...
10.3.0 is a bugfix release, with 178 bugs fixed.
See: https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=10.3
2021-04-14 21:49:54 +02:00
Brian Gianforcaro
5d59affc18
Toolchain: Update binutils to version to latest 2.36.1 release
...
This updates binutils to the latest release. It looks like some
lines where shuffled around, so I had to fixup out patch to
apply cleanly again.
2021-04-14 21:49:54 +02:00
Brendan Coles
d65e74bffa
Ports: Add emu2 DOS emulator
2021-04-14 21:48:55 +02:00
Gunnar Beutner
6ac7d946be
Ports: Don't export the DESTDIR variable by default
...
Exporting DESTDIR interferes with cmake-based ports:
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/libSDL2.a
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/libSDL2-2.0.a
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/libSDL2main.a
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/cmake/SDL2/SDL2Targets.cmake
2021-04-14 21:46:20 +02:00
Gunnar Beutner
b02f215ca7
Ports: Remove obsolete patch for tr
...
The tr port had its own ctype functions. With the recent LibC
changes these are no longer necessary.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
f0b34277bb
Ports: Fix building the mrsh port
2021-04-14 21:46:20 +02:00
Gunnar Beutner
1e1de4a542
LibC: Use __inline_isascii() in isascii()
2021-04-14 21:46:20 +02:00
Gunnar Beutner
3df7f868e8
LibC: Add support for isblank()
2021-04-14 21:46:20 +02:00
Gunnar Beutner
097901818e
Ports: Fix building the dash port
2021-04-14 21:46:20 +02:00
Gunnar Beutner
80af81bab6
Ports: Fix building the nano port
2021-04-14 21:46:20 +02:00
Gunnar Beutner
86189bd93b
Ports: Link libarchive against pcre because the system's libregex doesn't support re_nsub
2021-04-14 21:46:20 +02:00
Gunnar Beutner
97471030e7
Ports: Add port for pcre
2021-04-14 21:46:20 +02:00
Gunnar Beutner
f5ccecacc5
Ports: Remove obsolete _SC_CLK_TCK patch for hatari
2021-04-14 21:46:20 +02:00
Gunnar Beutner
75d774ba29
LibC: Add missing macro for _SC_CLK_TCK
2021-04-14 21:46:20 +02:00
Gunnar Beutner
27befa6595
Ports: Fix building the ninja port
...
The build failed because the main symbol has hidden visibility.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
509c5c6577
Ports: Add nethack
2021-04-14 21:46:20 +02:00
Gunnar Beutner
5a4206ef2e
LibC: Turn regex_t and regmatch_t into typedefs
...
According to POSIX.1-2001 these should be anonymous structs with
a typedef.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
546fa8cfb5
LibC: Change return type for sleep() to unsigned int
...
According to POSIX.1-2001 the return type should be unsigned int.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
6a808d96b5
Ports: Add port for libicu
...
I was trying to port openttd which I ultimately gave up on because
too much of the C++ standard library's functionality is missing at this
point. The libicu library was a dependency for that.
In its current state the libicu port is not thread-safe because of
missing functionality in the C++ standard library (mainly std::mutex,
std::condition_variable, etc.).
2021-04-14 21:46:20 +02:00
Gunnar Beutner
28b3c8bc1d
Port: Support running some configure/build commands with the host toolchain
...
This is useful for ports which depend on running tools on the host system.
In this case we can build the port twice - once for the host and once for
the target system.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
9e9b508390
Ports: Fix building SDL2_ttf when X11 headers are installed on the host system
2021-04-14 21:46:20 +02:00
Gunnar Beutner
8874b4b4fe
Ports: Make sure pkg-config only picks up packages from the target
2021-04-14 21:46:20 +02:00
Andreas Kling
d8787e0e12
Chess: Alt shortcuts and book title capitalization in menus
2021-04-14 21:32:37 +02:00
Andreas Kling
cfe7f6fe50
Pong: Alt shortcuts in top-level menus
2021-04-14 21:25:02 +02:00
Andreas Kling
8529053ffe
2048: Alt shortcuts and book title capitalization in menus
2021-04-14 21:25:02 +02:00
Timothy Flynn
858ba11aef
Browser: Respect the HttpOnly flag when storing cookies
2021-04-14 16:07:46 +02:00
Timothy Flynn
c00760c5f9
Browser+LibWeb+WebContent: Track the source of document.cookie requests
...
To implement the HttpOnly attribute, the CookieJar needs to know where a
request originated from. Namely, it needs to distinguish between HTTP /
non-HTTP (i.e. JavaScript) requests. When the HttpOnly attribute is set,
requests from JavaScript are to be blocked.
2021-04-14 16:07:46 +02:00
Timothy Flynn
7193e518d1
Browser+LibWeb: Move the cookie structure into LibWeb
2021-04-14 16:07:46 +02:00
Timothy Flynn
c2d38abe6f
Browser+LibWeb: Move cookie parser into LibWeb
...
This moves the cookie parsing steps out of CookieJar into their own file
inside LibWeb. It makes sense for the cookie structures to be in LibWeb
for a couple reasons:
1. There are some steps in the spec that will need to partially happen
from LibWeb, such as the HttpOnly attribute.
2. Parsing the cookie string will be safer if it happens in the OOP tab
rather than the main Browser process. Then if the parser blows up due
to a malformed cookie, only that tab will be affected.
3. Cookies in general are a Web concept not specific to a browser.
2021-04-14 16:07:46 +02:00
Idan Horowitz
7702a3fe29
Meta: Increase discord notification's check interval to 100 seconds
...
Since our tests usually take at least 10 minutes theres no point in
checking every 10 seconds, and github was starting to complain about
the very high API usage.
2021-04-14 14:57:37 +02:00
Idan Horowitz
ba77b40808
LibJS: Implement the encode/decodeURI(Component) family of functions
...
These are generally useful and in particular needed for twitter.com
2021-04-14 13:30:10 +02:00
Idan Horowitz
2ab292f381
AK: Expose the decode_hex_digit helper
...
This helper is useful on its own for things like uri encoding/decoding,
so this commit exposes it via the AK/Hex header
2021-04-14 13:30:10 +02:00
FalseHonesty
2d58549296
LibDebug: Add support for parsing array types
...
This includes multi-dimensional arrays :O
2021-04-14 13:28:48 +02:00
FalseHonesty
acbb119b27
LibDebug: Support unnamed variables and types
...
We were supposed to already support unnamed types, but due to a
little typo, we were actually causing more problems :^)
2021-04-14 13:28:48 +02:00
Gunnar Beutner
1942c1061c
Ports: Fix building the nasm port
2021-04-14 13:13:21 +02:00
Gunnar Beutner
0a600a3c36
Ports: Add gnupg port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
ba5710871b
Ports: Add libgcrypt port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
3cfc05fb8a
Ports: Add ntbtls port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
45f1170691
Ports: Add libgpg-error port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
c3aac8cbe7
Ports: Add libassuan port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
700cad4508
Ports: Add libksba port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
0b7079a76a
Ports: Add npth port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
a937182254
Ports: Build the shared library for the libiconv port
...
I'd rather use libtool to build the library but that would
require more extensive changes to the configure script
and maybe even libtool itself. So instead I just build
it manually.
2021-04-14 13:13:06 +02:00