Commit Graph
2290 Commits
Author SHA1 Message Date
Marc Poulhiès 73f7d0787f Initial support for Modula-2 language (#4747)
With the upcoming gcc 13 release and its shiny Modula-2 frontend, we
are introducing Modula-2 support in Compiler Explorer :)

Currently, only the gcc-snapshot build supports modula-2.

fixes #4688

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-02-23 20:43:56 +01:00
Patrick Quist 17ac75facd fix for device selection not saved in shared link (#4750)
Fixes #4749
2023-02-20 21:30:43 +01:00
Fábio de Souza Villaça Medeiros 7fe0b694c9 Update hook-mode.ts (#4756) 2023-02-19 22:21:35 +00:00
Ross Brunton ba9fdedc8f Expose autoCloseQuotes and autoSurround editor settings (#4744) 2023-02-19 22:13:37 +00:00
Jeremy Rifkin cf51b2317a Tsify static/tests/_all 2023-02-14 10:46:03 -05:00
Jeremy Rifkin 973ec6dfac Fix tool conversion bugs (#4731)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2023-02-13 16:11:38 -05:00
Fábio de Souza Villaça Medeiros 44db15d697 Update hook-mode.ts (#4705)
`hook-mode.ts` file update due to Hook language update.
The `use` keyword has been replaced by `import`.
2023-02-11 18:05:26 +01:00
+24 fb47642ff7 Convert tool.js to typescript (based off #4166) (#4474)
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: MarkusJx <28785953+markusjx@users.noreply.github.com>
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
Co-authored-by: partouf <partouf@gmail.com>
Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
Co-authored-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Paul Taylor <paul.e.taylor@me.com>
Co-authored-by: Mats Larsen <me@supergrecko.com>
Co-authored-by: David Spickett <DavidSpickett@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
Co-authored-by: Enrico Seiler <eseiler@users.noreply.github.com>
Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
Co-authored-by: James Murphy <72399781+mCodingLLC@users.noreply.github.com>
Co-authored-by: Miguel Ojeda <ojeda@users.noreply.github.com>
Co-authored-by: Ofek <ofekshilon@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Sebastian Büttner <mail@bueddl.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Thornburgh <mysterymath@gmail.com>
Co-authored-by: Cory Bloor <Cordell.Bloor@amd.com>
Co-authored-by: marcosmartinezfco <marcosmartinezfco@gmail.com>
Co-authored-by: amyspark <amy@amyspark.me>
Co-authored-by: Robert Cohn <robert.s.cohn@intel.com>
Co-authored-by: Steve <hez2010@outlook.com>
Co-authored-by: Ofek <ofek@istraresearch.com>
Co-authored-by: kasperk81 <83082615+kasperk81@users.noreply.github.com>
Co-authored-by: Samuel Bronson <naesten@gmail.com>
Co-authored-by: Alfredo Correa <alfredo.correa+work@gmail.com>
Co-authored-by: Anastasia Stulova <38433336+AnastasiaStulova@users.noreply.github.com>
Co-authored-by: Michael Debertol <michael.debertol@gmail.com>
Co-authored-by: Madhur Chauhan <madhur4127@gmail.com>
Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
Co-authored-by: Tobias Hieta <tobias@hieta.se>
2023-02-08 11:22:02 -05:00
Patrick Quist a15c725c4f Move url expansion to files (#4602) 2023-02-02 22:02:32 +01:00
Patrick Quist c022ca8a6c rebased ts/executor (#4605) 2023-02-02 20:46:15 +01:00
Mats Jun Larsen 87203f71cb Tsify lib/handlers/formatting.js (#4656) 2023-01-29 19:21:47 +01:00
Jeremy Rifkin 7e0c7fbd0c Fix some value handling in settings (#4644) 2023-01-26 11:06:45 -05:00
Patrick Quist db69a5e813 automatically fix old gccdump states (#4641) 2023-01-25 22:03:51 +01:00
Matt Godbolt d63e171e57 Update and fix link to MS privacy policy (#4638) 2023-01-24 16:40:45 -06:00
Jeremy Rifkin cde3212b1e Handle super long symbols in the cfg (#4616) 2023-01-24 15:44:56 -05:00
Arc_G 4b8b36ddb4 issue : #4628 , Dark theme arrow property corrected (#4629) 2023-01-21 14:31:47 -05:00
Jeremy Rifkin 41db591c54 Patch highlighting color scheme setting bug (#4622) 2023-01-20 11:12:46 +01:00
Jeremy Rifkin c6a548c765 Fix size computation under display:none (#4612) 2023-01-17 20:48:17 -05:00
Jeremy Rifkin 1ca6525abc Improve graph layout core hack now that types have been fixed upstream (#4610) 2023-01-17 01:41:58 -05:00
Jeremy Rifkin 6e2e98bdca Add dev favicon (#4598) 2023-01-15 20:19:41 -05:00
Jeremy 54227dea8d Little fix to tree.ts 2023-01-14 03:07:15 -05:00
Jeremy Rifkin 7a7a1dd906 Quick fixes for bugs noticed while testing (#4596) 2023-01-14 02:07:43 -05:00
Jeremy Rifkin 3f9813a3bb Rison error handling (#4594) 2023-01-13 23:50:36 -05:00
Jeremy Rifkin 8462cc496a Revert "Revert "Tsify rison.js (#4510)" (#4549)" (#4591) 2023-01-13 21:19:40 -05:00
Jeremy Rifkin 59f8c45246 Update static/modes typing (#4582) 2023-01-13 19:54:26 -05:00
Jeremy Rifkin 33167a3024 Tsify main (#4520) 2023-01-13 19:52:00 -05:00
Jeremy Rifkin 07f37abe76 The War of The Types (#4490) 2023-01-13 19:22:25 -05:00
Jeremy Rifkin 3d144f61a7 Use double quotes for embed iframes (#4592) 2023-01-13 16:16:39 -05:00
partouf acef3bbe49 bugfix displaying address 0 2023-01-11 21:49:21 +01:00
Patrick Quist 092ce12e8e move emulation related fields to artifact system (#4567) 2023-01-11 21:07:38 +01:00
Marc Poulhiès 69055681d9 Support for compiling to binary object (#3232) 2023-01-11 19:39:25 +01:00
Fábio de Souza Villaça Medeiros 69550eb811 add Hook's icon and update lexicon (#4552) 2023-01-06 14:20:00 -06:00
Patrick Quist f7d221d937 Revert "Tsify rison.js (#4510)" (#4549)
This reverts commit e1cc30941d.
2023-01-06 16:13:40 +01:00
Patrick Quist 8a28716db4 show error when not loading a zip (#4531) 2023-01-05 00:37:51 +01:00
Jeremy Rifkin 3ded27185b Tsify rison.js (#4510)
* Tsify rison.js

* Turn eslint back on

* Improve typing, cleanup code

* Matt comments

* Prettier-ignore a type declaration

* A couple small type tweaks
2022-12-31 11:52:54 -07:00
Jeremy RifkinandMatt Godbolt 54fd5b8a24 Show a size estimate for the png export button (#4505)
* Show an estimate for PNG export size

* Prettier ignore a line

* Puggify

Co-authored-by: Matt Godbolt <matt@godbolt.org>

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-12-28 10:18:26 -07:00
Jeremy Rifkin 1890bb9259 Update rison (#4509)
* Update rison

* Add test cases

* Prettier format
2022-12-28 09:40:18 -07:00
Rubén Rincón Blanco 287ad78600 Prevent default for zoom event in cfg (#4489) 2022-12-23 15:47:25 +01:00
Matt Godbolt 57a647b8a3 Add the result inside the CompilationResult (#4475) 2022-12-20 08:15:39 -06:00
Matt Godbolt 4ec6a41d27 Give tools in the CE options a type (#4471)
* Fix type of tool id

Observed through the debugger it seems the tool id is a `string`, which leads to all sorts of downstream complaints comparing strings to ints when converting tools.js to ts (see #4166)

* Add tools to CE Options

* Fixings
2022-12-19 22:55:44 -06:00
Matt Godbolt 6348917e15 Separate shareable tool type from server ITool (#4472)
* Separate shareable tool type from server ITool

I realised we were using the "Tool" on both client and server, but the client only has the JSON-able data of Tool, not the interface/object Tool (now renamed to `ITool`).

* Fix tests
2022-12-19 22:40:27 -06:00
Matt Godbolt 8159c55b2e Fix type of tool id (#4470)
Observed through the debugger it seems the tool id is a `string`, which leads to all sorts of downstream complaints comparing strings to ints when converting tools.js to ts (see #4166)
2022-12-19 21:10:19 -06:00
Jeremy Rifkin 18815a4e41 Fix binary lable issue (#4459) 2022-12-18 18:53:57 -05:00
Jeremy Rifkin 5ee5386678 Upgrade and audit npm packages (#4457)
* Upgrade and audit npm packages

* Go back to mocha 8.4.0

* Fix build, update for new api
2022-12-18 12:53:17 -05:00
Jeremy afbdbd6e3e Fix type error with tomselect downgrade 2022-12-18 11:01:53 -05:00
Jeremy Rifkin 7387fe73d7 Handle undefined theme in the site template widget (#4454)
* Handle undefined theme

* Fix comment
2022-12-18 10:51:24 -05:00
Jeremy Rifkin 7a56ee84f7 Assert and unwrap utilities (#4437)
* Add assert and unwrap utilities

* Playing around with diagnostics

* lib/assert diagnostic implementation

* Remove temporary testing stuff

* Reset package-lock.json to before I messed with it

* Further refinements and integration

* Added licence and removed an obsolete eslint directive
2022-12-18 10:30:17 -05:00
Rubén Rincón Blanco cd6c39905b Add select colours to ts-dropdown (#4448)
* Add select colours to ts-dropdown

* Ensure readable colour
2022-12-17 22:44:53 -05:00
Jeremy Rifkin 00b3a8ab23 Implemented png export (#4427) 2022-12-12 20:10:08 -06:00
Jeremy Rifkin 10ba9a10cd Add svg exports for cfgs (#4424)
* Added svg exports for cfgs

* Quick refactor

* Fix background colorfor chrome exports
2022-12-12 18:22:26 -05:00