Commit Graph

401 Commits

Author SHA1 Message Date
Joshua Peisach
a937dbef92 Add msvc4.0/4.2 support + lego island preset (#834)
* 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
2023-09-06 09:55:14 +09:00
Ethan Roseman
8f00e2eae1 Fix win9x svg 2023-09-05 21:30:51 +09:00
OmniBlade
7c2f37512c Implement Win 9x platform and msvc compilers. (#802)
* 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>
2023-09-04 07:12:07 +09:00
Simon Lindholm
20714e0485 Fix a typo (#829) 2023-08-31 02:27:24 +09:00
ConorB
ca792ab04f Have the frontend handle the backend going down more gracefully (#827)
* 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>
2023-08-24 03:47:42 +09:00
Cuyler36
aa8e3bde1a Add mwcceppc 1.3.2r & update AC preset (#810)
* Implement GC 1.3.2r changes properly

* Remove shutil.rmtree, fix formatting

* Add missing comma
2023-08-06 20:50:51 +09:00
Ryan Burns
50f32004a8 Add 1.2.5n compiler, and use it for melee/pikmin (#807)
* 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>
2023-07-16 16:53:23 +09:00
ConorB
dda9432ec2 footer fix (#806)
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
2023-07-14 23:42:43 +01:00
Ethan Roseman
ebd520c536 Add a way to manually mark a scratch as matching (fixes #401) (#804) 2023-07-10 13:40:59 +09:00
OmniBlade
fb34dbf4cb Add MS-DOS platform and Watcom compilers. (#794)
* 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>
2023-07-03 19:06:14 +09:00
Mark Street
576b0006f4 Consume stderr when checking git hash (#799) 2023-07-02 19:14:42 +09:00
Ethan Roseman
cdf63d3f73 Add gcc-mipsel for PS1 (try 2) (#792)
* 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>
2023-07-01 18:29:21 +01:00
Marijn van der Werf
a7ea1dfe23 Light diff colours (#797)
* 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>
2023-07-02 01:57:10 +09:00
Ethan Roseman
4e73916f50 Revert "Add gcc-mipsel for PS1" (#790)
Revert "Add gcc-mipsel for PS1 (#789)"

This reverts commit 23ca95cdb3.
2023-06-20 06:56:06 +09:00
Mark Street
23ca95cdb3 Add gcc-mipsel for PS1 (#789)
* Add gcc-mipsel for PS1

* appease black

* escape addu args
2023-06-20 06:54:21 +09:00
triph
b96444e172 Add ee-gcc2.9-991111-01 compiler (#787)
* Add ee-gcc2.9-991111-01 compiler

* Move ee-gcc2.9-991111 to 991111a, add ee-gcc2.9-991111 compiler

+ remove old Windows 2.9-991111 build from ps2_compilers archive

* Move ee-gcc2.9-991111 presets to 991111a
2023-06-20 06:53:51 +09:00
Fruityloops
ea6d357f31 Add ARMCC 4.1 Build 791 (#784) 2023-06-17 16:41:09 +09:00
Simon Lindholm
36db94e8e2 Don't highlight brackets on click (#785)
* Don't highlight brackets on click

Reported by @Kelebek1.

* Update frontend/src/components/Diff/Diff.tsx
2023-06-17 06:58:27 +09:00
ConorB
3b39a6d3af Add clangd language server support (#739)
* 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>
2023-06-04 14:15:27 +09:00
Mark Street
28ba8199ae make score 'tick' white rather than theme-dependent (#777) 2023-06-03 20:19:06 +09:00
Mark Street
d87b29d66f remove unnecessary <hr> on new scratch page (#775)
* remove unnecessary <hr> on new scratch page

* also remove .rule css as its unused
2023-06-03 09:45:02 +01:00
ConorB
030cdce94a Fix switching diff algorithms (#769)
* Fix diff mode option

* (almost) all the types!

---------

Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
2023-05-21 02:54:35 +09:00
Ethan Roseman
acb921332b Migrate to metadata api from head.tsx / manually setting title (#749)
* 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
2023-05-10 14:12:59 +09:00
Ethan Roseman
796a5f4746 Updates, problems panel bugfix (#745)
* 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
2023-05-08 23:56:45 +09:00
EllipticEllipsis
033a1924b1 Tiebreak family sorting by score using Last Modified (#741)
Tiebreak family sort by score using Last Modified
Also reverse sort of Last Modified to have most recent first
2023-05-07 20:13:41 +09:00
EllipticEllipsis
05ae62073f Remove $s (allow comments after function labels) (#736) 2023-04-18 11:59:22 +01:00
LLONSIT
c2dc1def14 Add IDO 5.3 Assembler (#733)
* Add MIPS Pro 7.4.4

* update

* Add ido5.3 assembler

* Add an assembly test
2023-04-13 03:33:19 +09:00
sozud
d61a6ea952 Initial Saturn support (#728)
* Saturn support

* linter issues

* Fix black formatting issues

* Try fixing ci

* Try 3.10.0

* Try 3.9

* Update asm-differ hash

---------

Co-authored-by: sozud <sozud@users.noreply.github.com>
2023-04-09 13:27:01 +09:00
Ethan Roseman
635b77b1f8 Hide projects feature (#730) 2023-04-08 20:05:29 +09:00
LLONSIT
d751b6b1d3 MIPS Pro 7.4.4 (#723)
* Add MIPS Pro 7.4.4

* update
2023-04-04 20:08:04 +09:00
devwizard
9ea0a51368 Add GCC 4.4.0 (#725) 2023-04-04 20:07:49 +09:00
Alex Bates
24eb9e04eb fix #711 (#714)
* fix #711

I hate this

* remove unneeded useRouter import
2023-03-28 13:27:10 +09:00
ConorB
4003446137 Switch from @shopify/web-worker to postMessage for useCompareExtension (#717)
* Switch from @shopify/web-worker to postMessage for useCompareExtension

* Type safety

* make formatting consistent

---------

Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
2023-03-27 10:07:15 +09:00
LLONSIT
538d7117f9 5.3 C++ (#706)
* 5.3 c++

* black

* tmp

* Update sandbox.py

* mount /tmp as bindmout

* Update sandbox.py
2023-03-22 11:08:55 +09:00
Alex Bates
d81d131a43 Update dependencies (#705)
* misc changes

* remove yarn.lock

* update poetry lockfile

* fix env variables in browser

---------

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-03-20 00:33:01 +09:00
Fruityloops
f13990daf2 Add clang 8.0.0 and Super Mario 3D World + Bowser's Fury preset (#704) 2023-03-18 23:40:31 +09:00
LLONSIT
b0e2604e4b Adding QEMU_IRIX with IDO6.0 (sample) (#693)
* Adding a Wave Race 64 Preset

* Update compilers.py

Adding an AeroGauge JP Kiosk Demo preset

* Update compilers.py

* Adding ido6.0

* irix binfmt

* adding qemu-irix

* updating url

* Update ci.yml

* Update ci.yml

ah

* Update ci.yml

* Update ci.yml

* updating

* Update ci.yml

* Testing binfmt (again)

* Binfmt test

* Update ci.yml

* Update ci.yml

* ido6.0 package

* Update download.py

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* again

* Update compilers.py

* commit

* Update compilers.py

* a

* docker

* fix

* other commit

* aaa

* update

* commit

* oops

* systemd

* systemd commit

* a

* ff

* other commit

* Update download.py

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update compiler_wrapper.py

* Update Dockerfile

* Update ci.yml

* updating

* update

* binfmt

* finishing

* oops

* ah

* finishing

* Another test (final maybe?)

* final commit 100% real no fake

* another commit

* ?

* a

* is this the final commit?

* more tests

* Update compilers.py

* checking if ido_root exists

* updating QEMU_IRIX env

* Update ci.yml

* Update compiler_wrapper.py

* Update Dockerfile

* Update ci.yml

* Update ci.yml

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update ci.yml

* test

* testing

* test

* final test

* black?

* update

* closing

* impl

* oops

* black

* update

* update

* fix black problem

* oops

* ooops

* Making more simple

* cleaning

* Update compilers.py

* Update ci.yml

* Update Dockerfile

* flag

* Remove QEMU_IRIX var

* delete qemu-user line
2023-03-11 21:20:01 +09:00
Mc-muffin
382daa3567 Add new PS2 compilers (#698)
* Set correct architecture for PS2 assembler

* Add PS2's EE architecture to diff.py

* Add more PS2 compilers
2023-03-11 21:18:24 +09:00
Luciano Ciccariello
8a5de1d2f0 Add PSY-Q 3.5 and PSY-Q 3.6 compilers for PlayStation 1 (#651)
* 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
2023-02-24 21:40:31 +09:00
Alex Bates
e03b357405 dynamically render scratch pages (#688) 2023-02-23 09:36:14 +09:00
Ethan Roseman
d02588f54a Dep updates (#682)
* Dep updates

* trying to fix issue
2023-02-16 23:10:42 +09:00
Alex Bates
e275eabb11 fix problems panel not scrolling far enough (#676) 2023-02-10 14:37:42 +09:00
Alex Bates
8d3131795b remove api.getCached (#677) 2023-02-10 14:36:15 +09:00
Eidan Garcia
319d435154 Added Margin top to 'Create Scratch' button (#675)
Slapped a `className="mt-2"` to the "Create scratch" AsyncButton.
2023-02-07 13:03:54 +09:00
triph
5ec67ba5dc Add PS2 EE GCC 2.9 and 3.2 compilers (#661)
* Add PS2 EE GCC 2.9-990721 and 3.2-001003-1 compilers

* Add PS2 compilers to download script

* Hash download script for CI compiler cache
2023-01-26 13:20:49 +09:00
Anghelo Carvajal
37ea60b962 Add EGCS 1.1.2-4 compiler (#658)
* Add EGCS1124 to compilers.py

* add to allcompilers

* add download link

* 4
2023-01-17 12:03:17 +09:00
LLONSIT
114d4325d2 Add IDO5.3 Pascal (#657)
* adding and AeroGauge preset

* Update backend/coreapp/compilers.py

Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>

* Update compilers.py

* IDO5.3 pascal

* Version bump

* Changing str order

* updating

* Another version bump

* cache

* Updating

* update download.py

Co-authored-by: LLONSIT <LLONSIT@gmail.com>
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-01-14 13:35:03 +09:00
Ethan Roseman
6d4b9b1b0a A few things (#656)
* A few things:
Make logs more brief by hiding the PATH from compile commands
Hopefully prevent the frontend server from making tons of anonymous profiles
Add a scroll bar to the problems window
Restore the old look of ScoreBadge

* black
2023-01-10 22:04:57 +09:00
Alex Bates
c501603582 Add family page back in tab form (#649)
* GhostButton: don't use <button> if not clickable

* change matched score text to "MATCH"

* add family tab to scratch editor

* use '?' for null userlinks

* fix issue where matched functions are sorted to the bottom of the list instead of the top

* fix loading spinner size

* grey out scratches worse than current

* show raw score value on hover only
2023-01-07 22:14:32 +09:00
Alex Bates
31fc40c12c disable compilation problem wrapping
Fixes a bug reported by @DavidSM54 where IDO's problem `---^` arrows wrapped onto the next line, if it was too long, and was therefore not useful.

Link to report on Discord: https://discord.com/channels/897066363951128586/1060319113781719184/1060319116730318938
2023-01-05 00:10:57 +00:00