* Add script to download libraries, and download directx
* Add libraries endpoint
* Allow compiling with a library
* Add new libraries tab in frontend
* Add libraries support in CI
* Better look for the libraries
* Give pretty names to libraries
* Move Libraries to live under CompilerOpts
* typechecking hackery
* Make libraries trigger autorecomp and set the unsaved flag
* Fix libraryVersions
* Add new libraries download script to CI, docker and docs
---------
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
* Add translations for ps1/maspsx compiler set
* Tell clang to compile and not link to remove need for lld binary
* Assume msdos assembler lives on PATH
* Overhaul download.py
* Attempt to fix docker ci
* Appease black
* Whoops, don't forget to detach
* Fix path to download.py
* fix perms (hack?)
* Add --platforms and --compilers args to download.py
* Try out --compiler dir arg for docker in ci
* Try to ignore that 500 error about image manifests
* it's --compilerS-dir
* Try again
* Try building our own podman (fallback to vfs when rootless)
* install distro 'podman' to get configuration (fixes fuse)
* mount /dev/fuse in ci
* dumb bugfix, .download_cache
* split compilers config out of download.py
* update poetry.lock
* Add psyq3.3 + psyq4.4 and migrate psyq4.3 scratches to psyq4.4
* docker_entrypoint.sh cleanup
* Try to protect against 'locating item named "manifest" for image with ID'
* better podman sanity check
* appease black
* use 'requests.get()' to grab remote image digest
* Update compilers repo to 'decompme/compilers'
* Fix description for psyq3.6
* Introduce MSVC7.0 (Visual Studio 2002) toolchain
This renames the msvc7.0 toolchain to msvc7.1 (as it is based on Visual
Studio 2003, which is msvc7.1), and introduces a new msvc7.0 toolchain
based on Visual Studio 2002.
* Add presets for Touhou 6 decompilation project
* Remove noexec from /sandbox/tmp in docker
The MSVC toolchains store intermediate artifacts in the /sandbox/tmp
folder, and need to be able to mmap them with PROT_EXEC rights, which is
prevented by the noexec flag that docker automatically puts on all
tmpfs. To avoid this, we need to ask docker to remove that flag.
* Add msvc4.0, msvc4.20 support + lego island preset
* Run black on download.py
* Cleanup - rename msvc dirs to fit with the rest of the ids
* msvc4x compilers: Rename the directory of the 'Bin' folder and fix exec status
* Use set_x instead of os.system
* Use intel syntax for win9x platforms
* Implement Win 9x platform and msvc compilers.
* Add credit info for Windows icon.
* Solve issue with read only temp dir for MSVC.
* Update armcc.zip link
* Add new dep to backend ci
---------
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
* Identify and throw RequestFailure errors, handle network errors with a special error page
* Blanket catch and handle all SWR network errors on the scratch page
* Revert scratcheditor / scratchpage change
* Have the scratch editor be able to gracefully handle being offline
* maintain "maintenance"
---------
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
* Add 1.2.5n compiler, and use it for melee/pikmin
* Update compiler zip to include 1.2.5n
* migration
---------
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
* Add MS-DOS platform and Watcom compilers.
* Remove --reloc from i686 disasm
The --reloc option seems to generate a lot of noise for the i686
objdump.
* Add credit for MS-DOS icon.
* Fixes more black formatting issues.
* Fix black & string appendage issue
---------
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
* Revert "Revert "Add gcc-mipsel for PS1" (#790)"
This reverts commit 4e73916f50.
* Update maspsx version in download.py
* Update download.py
---------
Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
* Diff color overhaul
Changed to programmatically-defined values. These are 9 equally spaced HSV values, with 60% saturation and 80% value.
Update Diff.module.scss
Fix accidental pasted text
Add spaces after commas, per request
* Only apply new colours to light mode
---------
Co-authored-by: bismurphy <tjmurphy@mit.edu>
* Initial clangd support
Tidy up languageserver.ts
Add CompilerCommand option
* Codemirror tooltip newline handling
* Force github login through redirects instead of popup window
* Gracefully exit LS when scratch unloads
* Break scratch language out to api, move language server integration to new hook
* Fix broken import
* Fix languageServer.ts import warnings
(and rename languageserver.ts to languageServer.ts)
* Format on Alt-Shift-F
* Add default, site-wide .clang-format
* Allow source to reference context definitions
* Remove overzealous IIFEs
* Clean up yaml imports, useLanguageServer state
* Remove webpack yaml-specific config
* Fix default-clang-format.yaml loading
* Add editor option to enable / disable language server
* Change language server setting text
* Add ability to select small language server, version bump
* EditorSettings clean
* EditorSettings 2: Electric Boogaloo (sponsored by tailwind)
* Fix tooltip appearance
* Remove alignment settings from default-clang-format.yaml
* Remove references to preferSmallLanguageServer
---------
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
Co-authored-by: Mark Street <streetster@gmail.com>
* Migrate to metadata api from head.tsx / manually setting title
* Pair programming sesh with the hamster
More title / og fixes
selection css fix with codemirror
* Backend updates, mypy fixes
* new migration (oops), some fixes
* Frontend updates
* cleanup
* Prevent problems panel from starting open if there are no problems
(fixes#703)
* update again
* oopz
* stylelint
* Update checkout version
* Fix test
* Fix test - device.ts still being used on the server :/
* fix cod
* Switch from @shopify/web-worker to postMessage for useCompareExtension
* Type safety
* make formatting consistent
---------
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
* Download PSY-Q 3.x compilers
* Add PSY-Q 3.3 and PSY-Q 3.6 PlayStation 1 compilers
* Remove gcc2.6.3-mipsel for good
* Actually install compilers
* Clean-up psyq-msdos folder after downloading it
* Map /proc to allow dosemu2 to run
* Allow to compile with PSY-Q 3.6
* Remove debugging stuff
* Add PSY-Q 3.5 and remove 3.3
* Let ASPSX to be quiet
* Completely replace PSY-Q 3.3 with 3.5
* Modify Castlevania preset
* Add migration from gcc2.6.3-mipsel to psyq3.6
* clean-up
* Typo
* Install DOSEMU in the CI
* Group ENABLE_PS1_SUPPORT set-up
* fix migration script
* Unset the HOME directory globally
* New line
* undo more auto-formatting
* Remove unnecessary comment
* fix
* More autoformatting shenanigans
* Try to fix CI pipeline
* Fix download script
* lint
* lint
* Fix dosemu setup
* Speed-up PSYQ MSDOS compiler
* debugging stuff for the tests
this commit will be reverted
* testing sandbox thingie
* Revert "debugging stuff for the tests"
This reverts commit 6d026b9214.
* Trimming down what Sandbox mounts
* Mount all /dev but read only