Commit Graph

38 Commits

Author SHA1 Message Date
Marijn van der Werf
ea6d016e85 Add SN64 compiler binaries (#511) 2022-08-22 07:03:09 +09:00
Ryan Burns
f5bb1d2cd5 Add Kirby Air Ride preset (#510) 2022-08-20 07:39:05 +09:00
Rainchus
bc61e944e6 Update N64 Presets (#509)
* Update compilers.py

* Update compilers.py

* Update compilers.py
2022-08-16 07:05:40 +09:00
Max Thomas
7c800fcdb5 Fix incorrect line numbers on NDS MWCC (#505)
* Turn off msg_show_realref to force #line to work on NDS MWCC

* Interleave stdout and stderr for sandbox run

* fix formatting

* feedback

* formatting
2022-08-11 17:19:38 +09:00
EstexNT
29d9c7ad51 Add Nintendo 3DS platform (#490)
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2022-08-11 15:26:16 +09:00
Ethan Roseman
7fa697502a Disable MACOS9 platform (#504) 2022-08-09 23:24:10 +09:00
HeartPiece
25e6712f03 Update Pikmin 1+2 presets (#500) 2022-08-03 05:37:38 -04:00
Mark Street
f9fcb86d36 Add MGS PS1 preset (#499) 2022-07-31 06:06:31 -04:00
Mark Street
d959da7795 Remove 'psyq gcc w/ gnu as' compilers (repoint scratches to psyq asse… (#496)
* Remove 'psyq gcc w/ gnu as' compilers (repoint scratches to psyq assembler version)

* update migration filter

* no need to download binutils for psyq anymore

* too many und_er_sc_ores
2022-07-29 16:02:20 -04:00
Ethan Roseman
91131f9b4d Revert "Replace wine with wibo (#484)"
This reverts commit e67c36d5a7.
2022-07-29 11:41:20 -04:00
Mark Street
f3edcec3ad Add TMPDIR=/tmp to compiler command (#493)
* Add TMPDIR=/tmp to compiler command

* Bump wibo version to 0.2.3 in ci
2022-07-29 02:44:16 -04:00
Ethan Roseman
e67c36d5a7 Replace wine with wibo (#484)
* Remove wine from the project and reference WiBo

* Install wibo in ci, readme update

* Update Docker instance to Ubuntu 22.04 (#485)

* wibo 0.1.1

* remove unnecessary build args

* wibo 0.2.1

* wibo 0.2.1 in Dockerfile

Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
2022-07-23 11:59:30 -04:00
Rainchus
409179b0c2 Update compilers.py (#489) 2022-07-18 16:25:22 -04:00
Seeky
8fca1b3989 Update Super Paper Mario preset (#487) 2022-07-07 01:21:57 +09:00
Ethan Roseman
f50b3c32b8 disallow_untyped_defs for mypy (#477)
* Make mypy happy

* failing tests

* working

* use consistent annotation format

* remove comments
2022-07-03 23:43:59 +09:00
Amber Brault
ea994f72be Update compilers.py (#471) 2022-06-09 21:59:06 +09:00
Amber Brault
f0be316561 Update Xenoblade preset (#470) 2022-06-09 21:31:16 +09:00
EpochFlame
433e024680 add Kirby and the Amazing Mirror preset (#469) 2022-06-08 14:16:42 +09:00
Ethan Roseman
1f12e5b7cd sapsay 2022-06-07 13:23:51 -04:00
SwareJonge
f895f0f3ad Add preset for Mario Kart Double Dash!! (#467)
* Add preset for Mario Kart Double Dash!!

* rework compiler flags and name
2022-06-07 13:18:58 -04:00
Christian
65fc8c53b9 Add -quiet flags to MACOSX compilers (#465) 2022-06-06 08:33:52 +09:00
Christian
71c3b3841d [WIP] Add Mac OS X platform and compilers (#462)
* Backend: Implement Mac OS X Compilers

* [Mac OS X Compilers] Add Fallout 2 preset

* Refine Fallout 2 Preset

* Add svg

* Update Credits Page

* Rename gcc3 compiler

* Add unit test

* Try to fix unit test

* Try to appease the docker image

* Use tarball instead of zip for download macosx compilers

* Add another compiler -- gcc 4.0.0

* Add WIP preset for The Sims 2

* Revise svg

* Rename Mac OS X compilers to be more consistent

* [Compiler Rename] See description

PBX was an unofficial name for the Mac OS X Developer Tools that came before Xcode apparently, and in that era those tools shipped with every version of Mac OS X before 10.3 (Panther).
Although the earliest Developer Tools version to have this version of gcc3 I renamed is from May 2002, there wasn't an exact Mac OS X version that came out in May 2002, but in April 2002, Mac OS 10.1.4 came out. So, I am marking gcc3-1041 as  "GCC 3.1 (Mac OS 10.1.4) (C)".
Oddly, Apple's open source releases don't include gcc3 in their Mac OS 10.1.4 repository, but they do in their "Developer Tools May2002" repository.

* [Compilers] Update Sims 2 Preset

* Fix syntax conversion script

* Revise script to fix PIC jank

* [MACOSX] Added gcc-5363

* [download.py] only download convert_gas_syntax.py once
2022-06-06 07:06:37 +09:00
Ethan Roseman
db03a48ef9 Revert the reversion of the updates (#459)
* Revert "Revert "Dep updates (#457)" (#458)"

This reverts commit eb43c51586.

* ci changes

* Update almost everything, fix issues

* add jest-environment-jsdom

* fix to mwcc debug info option

* remove frontend tests

* black

* remove eslint-plugin-testing-library

* Do db migration

Co-authored-by: Alex Bates <alex@nanaian.town>
2022-06-01 23:06:51 -04:00
Ethan Roseman
eb43c51586 Revert "Dep updates (#457)" (#458)
This reverts commit 03ae189510.
2022-05-31 18:40:21 +09:00
Ethan Roseman
03ae189510 Dep updates (#457)
* Update python deps and remove extra stuff from mac compiler command

* git subrepo pull --force backend/asm_differ

subrepo:
  subdir:   "backend/asm_differ"
  merged:   "9b2b6ad5"
upstream:
  origin:   "https://github.com/simonlindholm/asm-differ"
  branch:   "main"
  commit:   "9b2b6ad5"
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:   "10184592"
upstream:
  origin:   "https://github.com/matt-kempster/mips_to_c"
  branch:   "master"
  commit:   "10184592"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* prep for mips_to_c -> m2c migration

* rename m2c directory

* update frontend deps
2022-05-31 18:33:26 +09:00
Christian
a45f85a1c7 Fix errors with deployment (#454)
* Fix errors with deployment

* Add test_mac_mwcc

* [Docker] add binutils-powerpc-linux-gnu
2022-05-23 01:52:39 +09:00
Christian
a7a2ac8e40 Add MWCPPC (Mac OS 9 cross compiler ran on windows) (#452)
* [Compilers] Add MWCPPC (CodeWarrior, mac os 9 ppc) compiler

* [Mac OS 9 Compilers] Fix compilation

* [Mac OS Compiler] Set up frontend

* [Credits] Give attribution to NiloGlock for Happy Mac SVG

* [Cleanup] Appease reviewdog and black

* [Compilers] Update Sims 1 preset

* [Compilers] Update mac os 9 compilers with gas converter hotfix

(the gas converter is the python script that converts the asm dumps to the gnu assembler syntax)

* [Compilers] Fix after code review

* [Compiler] make function param optional

* [MWCPPC] Use && instead of ;

* [MWCPPC] Change svg, set +x on compilers

(Accidentally removed the +x step when doing the change for the earlier review)

* [download.py] Fix oversight in moving MWCPPC
2022-05-23 01:11:59 +09:00
Mark Street
fafba9c09d Add SN64 compiler (#451)
* Add SN64 compiler

* appease black

* Add BE flag to psyq-obj-parser

* Rename SN64 -> 'GCC 2.7.2 (SN)'
2022-05-13 21:57:38 +09:00
Rainchus
3ea9f51aed Update compilers.py (#450) 2022-05-03 19:44:14 +09:00
Ethan Roseman
0ba6803e83 Mario Kart Wii support (#444)
* Added compiler setup for MKW - Untested atm

* Updated download logic for _127

* Changed version _127 name to remove Metroworks 1.0 name

* Fixed compiler options strings

* exception catching for shlex

* cleanup + zbanks xargs fix

* cleanup

* Fix dll casing in download.py, warning filtering improvements, simon suggestion, typo

* Chmod to executable to the separately downloaded _127 compiler

* permit -w

* black and python updates

Co-authored-by: XOlifreX <olivier.luyckx@live.be>
2022-04-26 16:46:08 +09:00
Amber Brault
a72844d8ed Add Xenoblade (JP) preset (#445)
* Add Xenoblade (JP) preset

* Update compilers.py

* Forgot a comma :/
2022-04-25 06:26:54 +09:00
Luke Street
1268b08b0f Add Metroid Prime (USA) preset (#440) 2022-04-14 02:21:57 -04:00
Anghelo Carvajal
231842b545 Allow specifying custom objdump flags (#427)
* Trying to add a new section

* objdump section is no longer borken

* objdump section is a bit more independent from the compilerargs one

* add objdump_flags to database

* Allow to save objdump flags on change

* Actually pass the objdump flags to objdump

* Allow adding objdump flags to presets

* add short description to compilers.json

* filter_objdump_flags

* Introduce GCCMIPSCompiler class

* Add -M gekko / broadway by default for gc/wii compilers

* format autogenerated file

* type annotation

* Disable enum trailing comma warnings on Majora's Mask

* wip

* flags as array, backend parsing, frontend cleanup

* style scratch options

* loose ends

* only show diff opts section if there are any options to show

* fix mypy

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
Co-authored-by: Alex Bates <alex@nanaian.town>
2022-04-05 22:19:04 +09:00
Ethan Roseman
8ea10ca286 CodeMirror & PresetSelect fix (#413)
* yarn upgrade

* update eslint no-multiple-empty-lines rule

* update Next.js & React

Resolves #358.

* use CodeMirror in scratch editor

* use codemirror on new page

* move extensions out of CodeMirror component

* grow scratch codemirror

* fix state bug

* initial theming

* fix scratch page SSR

* fix credits page rendering

* max width for AsyncButton error popup

* word wrap

* bye monaco

* cleanup

* style scrollbars everywhere

* tab stuff

* updates

* more

* update codemirror theme

* new react, backend deps, preset on scratch, bugfixes

* improve monospace areas

* store preset name on scratch

* stylelint

* mypy

* mypy 2

* monospace

* fix monospace

* add padding to editor

* fix saving

* fix selection colours

* Highlight assembly line on source selected line change (#416)

Co-authored-by: Alex Bates <hi@imalex.xyz>

* mypy & black

* font stuff

* remove courier new

* make diff style consistent with editor

* fix codemirror exception when editing eof

* attempt to reduce layout thrashing

* /new: store presetName in localStorage

* use react-window for diff

* link diff column scroll position

* hide double scrollbar

* increase overscan

* pointer-events:none on diff header

* fix diff header thing

* make diff columns non-draggable

* dont shrink tabs

* add draggable bar between diff columns

* remove log

* fix 2-col mode

* fix diff align

* DiffCell support cell=undefined

* drag better

* style .cm-search

* eth style changes

* reduce rerenders when dragging diff bar

Co-authored-by: Alex Bates <hi@imalex.xyz>
Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
Co-authored-by: Alex Bates <alex@nanaian.town>
2022-03-31 22:22:39 +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
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
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