Commit Graph

548 Commits

Author SHA1 Message Date
Anghelo Carvajal
8ddf59b570 Add prelude.inc with support for abi fpr names for Nintendo64 MIPS (#421)
* Add prelude.inc with support for abi fpr names of Nintendo64 MIPS

* Add unit test

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2022-03-31 16:18:14 +09:00
Ethan Roseman
30980d73c7 git subrepo pull --force backend/mips_to_c (#419)
subrepo:
  subdir:   "backend/mips_to_c"
  merged:   "d74ba872"
upstream:
  origin:   "https://github.com/matt-kempster/mips_to_c"
  branch:   "master"
  commit:   "d74ba872"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-31 03:17:18 +09:00
Rainchus
6bc54d7748 Update compilers.py (#412) 2022-03-20 13:09:46 +09:00
141sh1
86238636a1 Add Rhythm Tengoku preset (#411) 2022-03-20 04:09:20 +09:00
Léo Lam
941dde7300 git subrepo pull backend/asm_differ (#409)
subrepo:
  subdir:   "backend/asm_differ"
  merged:   "1236288"
upstream:
  origin:   "https://github.com/simonlindholm/asm-differ"
  branch:   "main"
  commit:   "1236288"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-19 17:23:14 +09:00
Ethan Roseman
5cf17303bc oops (#408) 2022-03-18 04:08:09 +09:00
Ethan Roseman
2bfbe4583d Revert "Upgrade dependencies - eth (#405)" (#407)
This reverts commit 15977c0b8a.
2022-03-18 03:36:28 +09:00
Ethan Roseman
61064a6564 Fix preset selection regression (#406)
* Show all presets for the platform in PresetSelect

* changez

* fixules

* line

* changes

* phix
2022-03-17 11:40:10 +09:00
Ethan Roseman
15977c0b8a Upgrade dependencies - eth (#405)
* Upgrade dependencies - eth

* oopz

* do what alex did

* more - fixes #403

* revert stylelint update
2022-03-16 06:16:21 +09:00
Ethan Roseman
6b1ee90acd Compiler/platform refactor (#396)
* foyst

* clang & agbcc

* more

* wii/gc

* more

* fix

* more

* references

* fixes

* CI fix

* nabbed em

* gcc2.7.2kmc

* meowp

* Tweak Dockerfile + other bits (#398)

* Tweak Dockerfile + other bits

* Capitalise

* Enable/disable compiler downloads via Environment variables

* appease black

* migration

* flags / presets in Compiler

* fixed tests

* /compilers

* mypy cheese

* upd8s

* name

* frontend goodness

* i18n

* cleaners

Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
Co-authored-by: Mark Street <streetster@gmail.com>
2022-03-14 02:33:19 +09:00
Ethan Roseman
45ffe29683 Update tools (#402)
* git subrepo pull --force backend/asm_differ

subrepo:
  subdir:   "backend/asm_differ"
  merged:   "98fd5ef6"
upstream:
  origin:   "https://github.com/simonlindholm/asm-differ"
  branch:   "main"
  commit:   "98fd5ef6"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* git subrepo pull backend/mips_to_c

subrepo:
  subdir:   "backend/mips_to_c"
  merged:   "ad7e91d0"
upstream:
  origin:   "https://github.com/matt-kempster/mips_to_c"
  branch:   "master"
  commit:   "ad7e91d0"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-09 18:25:31 +09:00
Ethan Roseman
56fc322c54 maintainance -> maintenance 2022-02-27 14:15:10 +09:00
Ethan Roseman
7b70e22da7 Update tools (#397)
* git subrepo pull --force backend/mips_to_c

subrepo:
  subdir:   "backend/mips_to_c"
  merged:   "33101ac1"
upstream:
  origin:   "https://github.com/matt-kempster/mips_to_c"
  branch:   "master"
  commit:   "33101ac1"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* git subrepo pull --force backend/asm_differ

subrepo:
  subdir:   "backend/asm_differ"
  merged:   "b8907ddf"
upstream:
  origin:   "https://github.com/simonlindholm/asm-differ"
  branch:   "main"
  commit:   "b8907ddf"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-02-27 14:07:25 +09:00
Ethan Roseman
f055b629f0 Update README.md 2022-02-24 02:30:20 +09:00
Alex Bates
f87b93a362 Request OAuth scopes on-demand (#392)
* request oauth scopes only when server asks

* don't require public_repo
2022-02-23 04:37:45 +09:00
Mark Street
c1b5cd41d9 git subrepo pull --force backend/asm_differ (#393)
subrepo:
  subdir:   "backend/asm_differ"
  merged:   "64b58ab"
upstream:
  origin:   "https://github.com/simonlindholm/asm-differ"
  branch:   "main"
  commit:   "64b58ab"
git-subrepo:
  version:  "0.4.3"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "2f68596"
2022-02-23 04:24:10 +09:00
Alex Bates
ab50d48f01 fix types 2022-02-21 18:55:58 +00:00
Mark Street
9bb8765df3 Use psyq assembler (#376)
* Add psyq4.0

* Add psyq4.3 -> gcc2.7.2-psyq migration

* re-adding changes I rebased away...

* fix typo

* Add -quiet to 2.6.3-mipsel and use simple cpp

* fixup PR comments

* ensure scratches with old psyq compilers use new compiler ids

* Appease black
2022-02-22 02:19:54 +09:00
Ethan Roseman
4754df225a Update 0016_give_scratches_project_functions.py 2022-02-21 16:59:56 +09:00
Alex Bates
d4b19e5417 only show online marker if user is actually online 2022-02-20 19:45:37 +00:00
Ethan Roseman
93792f30a9 third time = the charm 2022-02-21 02:52:13 +09:00
Ethan Roseman
6d1d2369ef oopz2 2022-02-21 02:51:29 +09:00
Ethan Roseman
cb00f2db76 oopz 2022-02-21 02:50:02 +09:00
Alex Bates
68ef7621ed Add 'is online' markers (#384)
* add user is_online

* use UserAvatar

* black

* add 'Online' tooltip to marker
2022-02-21 02:47:12 +09:00
Ethan Roseman
b24784b61a Fix fork bug (#383)
* fix bug (fug)

* mypy

* rename
2022-02-21 02:27:51 +09:00
Ethan Roseman
576dc19913 mypy (#382)
* mypy

* mypy

* mypy

* mypy

* black
2022-02-21 00:53:38 +09:00
Alex Bates
65f5685870 Add project descriptions (#381)
* add project description to db
* display project description & repo link on frontend
* add PUT/PATCH project-detail
2022-02-20 14:42:36 +00:00
Alex Bates
2de5197e25 update poetry install link 2022-02-20 14:27:17 +00:00
Ethan Roseman
eb7534be0d Black (#380)
* Initial format

* action

* git subrepo pull --force backend/asm_differ

subrepo:
  subdir:   "backend/asm_differ"
  merged:   "ee239a2b"
upstream:
  origin:   "https://github.com/simonlindholm/asm-differ"
  branch:   "main"
  commit:   "ee239a2b"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* git subrepo pull --force backend/mips_to_c

subrepo:
  subdir:   "backend/mips_to_c"
  merged:   "6704d61f"
upstream:
  origin:   "https://github.com/matt-kempster/mips_to_c"
  branch:   "master"
  commit:   "6704d61f"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* vscode

* fix

* .
2022-02-20 23:21:38 +09:00
Ethan Roseman
36d1f1d706 Poetry (#366)
* Trying to set up poetry

* oops

* mypy python 3.9

* mark

* blah

* attempt to fix stuff

* .

* fixies

* try winders again

* doqqer

* tomorrow for sure!

* attempt to install poetry as user

* help

* docker fix?

* ?

* try thing

* oh god

* the path to victory

* meowp

* srob

* try to do it manually on windows, install on docker

* try to do it manually on windows, install on docker: the sequel

* winders

* drf extensions

* winders 2

* use pip to install poetry on winders

* execute 'poetry install' at runtime, same as yarn install (#377)

Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
2022-02-20 22:46:00 +09:00
Alex Bates
9437d4dde3 fix lints 2022-02-18 21:06:32 +00:00
Ethan Roseman
396683181d Revert "Update psyq compilers to use psyq assembler (#373)" (#375)
This reverts commit 173f85a5a3.
2022-02-19 04:53:09 +09:00
Ethan Roseman
496dbf404e Filter meaningless wine errors (whining) (#374)
* filter meaningless wine errors (whining)

* alex
2022-02-19 04:27:12 +09:00
Mark Street
173f85a5a3 Update psyq compilers to use psyq assembler (#373) 2022-02-19 04:22:40 +09:00
Alex Bates
4c77a9c55c Problems panel (#369)
* add compilation problems panel

* refactor

* fix visual bugs relating to auto recompile

* fix scrolling

* don't scroll ploblems header

* min size
2022-02-19 03:10:48 +09:00
Alex Bates
1968531ca4 Projects MVP (#292)
Co-authored-by: Matt Kempster <kidpixel@gmail.com>
Co-authored-by: Mark Street <streetster@gmail.com>
2022-02-18 17:48:51 +00:00
Ethan Roseman
662818bf8d Decompile gooey (#360)
* add "Reset source code" button

* dedup modal css

* Eth's delivery of delectable dinner

* rename ScratchResetModal to ScratchDecompileModal

* consistent state

Co-authored-by: Alex Bates <hi@imalex.xyz>
2022-02-18 03:58:28 +09:00
Alex Bates
e764bfcebd split models.py into submodules (#359) 2022-02-18 03:47:04 +09:00
Ethan Roseman
169a838280 Make max_score populate even if the compilation fails (#357)
* Make max_score populate even if the compilation fails

* comment go bye bye

* test for last_updated
2022-02-18 03:11:21 +09:00
Alex Bates
0fd1173236 fix stylelint 2022-02-16 14:25:51 +00:00
MonsterDruide1
79cf99866b add customizable delay before compile (#353)
Co-authored-by: Alex Bates <hi@imalex.xyz>
2022-02-16 14:15:43 +00:00
Alex Bates
d6066c8695 fix #354 2022-02-16 14:08:20 +00:00
Ethan Roseman
7f54b56f48 oopth 2022-02-16 13:18:19 +09:00
Ethan Roseman
0f3b9676c2 USE_SANDBOX_JAIL off by default 2022-02-16 11:57:28 +09:00
Luciano Ciccariello
d845e9d70a Add Castlevania SOTN preset (#355) 2022-02-15 21:07:01 +09:00
MonsterDruide1
b9e8e690ef frontend: Fix scratch exporting (#351) 2022-02-12 00:54:41 +09:00
Luciano Ciccariello
b378a2f842 Add GCC 2.6.3 for PS1 (#349)
* Add GCC 2.6.3 for PS1

* Fix download script

* Use only cc1 from GCC 2.8.3

* Tweak GCC flags

* Remove unnecessary default CC1 flags

* Adjust imports according to eslint

* Add new line on the config.json for consistency
2022-02-11 02:52:38 +09:00
MonsterDruide1
d43fdfd5e6 Remove FRONTEND_BASE (#352) 2022-02-11 02:46:20 +09:00
MonsterDruide1
dcf120e552 backend: Fix musl for clang-3.9.1 (#350) 2022-02-11 02:18:31 +09:00
Léo Lam
f8bd61f4f3 frontend: Translate ANSI color codes to HTML colors (#344)
Allows Clang's pretty color diagnostics to show up correctly
2022-02-07 22:04:22 +09:00