235 Commits
Author SHA1 Message Date
Matt Godbolt da168ce280 Roll back winston-loki
Closes #3061

See also JaniAnttonen/winston-loki#81
2021-10-25 11:23:43 -05:00
Mats Larsen cd1f67aa45 Enable downLevelIteration and tslib for TypeScript (#3038)
* Install tslib for TypeScript runtime

* Enable downlevel iteration and tslib in tsconfig
2021-10-22 08:56:17 -05:00
Matt Godbolt b3521cc1ec Update deps 2021-10-15 18:20:52 -05:00
Mats Larsen 85a287c011 Introduce whatwg-fetch as fetch polyfill (#3016)
Fetch is a modern, promise-based API for sending HTTP requests from the browser (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)

This patch introduces whatwg-fetch as the polyfill for fetch, as well as installing it inside the main script.
2021-10-12 11:54:10 +02:00
Matt Godbolt dc1592cdc1 Update to node v14.18.0 (#3026)
* Update to node v14.18.0
2021-10-11 23:18:19 -05:00
Matt Godbolt 52a0924543 Get rid of warning on npm lint 2021-10-11 22:25:16 -05:00
Matt Godbolt 7fc4bd148c Update chart.js and its API (CC @partouf) 2021-10-11 22:23:29 -05:00
Matt Godbolt 5607af8e98 Upgrade nock 2021-10-11 22:23:29 -05:00
Matt Godbolt 1068f81bda Bump nopt 2021-10-11 22:23:29 -05:00
Matt Godbolt 010e02524f npm update 2021-10-11 22:23:29 -05:00
Matt Godbolt 1cec4ba832 npm update and audit fix 2021-09-28 19:18:25 -05:00
Matt Godbolt bb4c1505cd npm audit fix 2021-09-25 13:18:44 -05:00
Rubén Rincón Blanco 6a1dbe14f7 Some general UI touches (#2910)
* Touches and changes to the UI to make it more consistent

It fixes some problems, improves the UX of certain actions,
 and clears some code up

* More minor tweaks to the UI

* Fix class typo

* Add compiler picker opt group header background color in default theme

* Fix conformance view

* Removes some   in favour of margins

Removes boostrap-slider, there's a built-in html solution
Fixes tab width setting having a wrong input type

* More UI tweaks

* Remove empty CSS rule
2021-09-03 05:51:05 +02:00
Rubén Rincón Blanco 3d68f5382e Implements Prettier formatting (#2766) 2021-08-28 14:41:28 +02:00
Rubén Rincón Blanco 958906d5c0 Bump monaco editor to latest version (#2876) 2021-08-28 01:59:17 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Mats Larsen b6c2380c56 Assembly API documentation for Java Bytecode (#2817)
* Add assembly documentation endpoint for Java bytecode
* Upstream asm docenizer for Java
* Remove jvms.html from gitattributes as it is never checked into vcs
* EOF line for docenizer-java.js
* Use find-node to locate nodejs
* Format code according to style guide
2021-08-14 12:56:33 -05:00
Mats Larsen 648ebf9ecf Migrate /static/alert.js to TypeScript (#2829)
* Migrate static/alert.js to TypeScript

* Update copyright and extract interfaces

* Implement @partouf's Alert.enterSomething from Multifile UI
2021-08-01 12:02:34 +02:00
Patrick Quist 1a2d0ffa34 enable typescript for clientside static scripts (#2820) 2021-07-29 15:16:14 +02:00
Matt Godbolt 0214876179 New compiler selectors (#2666)
* Extract a compiler picker and fix up edge cases
* Use it across the three places that let you pick compilers.
* Fix a number of minor UI issues.
* When reloading a page, prefer the 'favorite' compiler selection in the selectize. Thanks @oyejorge

Co-authored-by: RabsRincon <ruben@rinconblanco.es>
Co-authored-by: partouf <partouf@gmail.com>
With huge thanks to @oyejorge
2021-06-21 21:53:44 -05:00
Matt Godbolt cb50486d27 Bump eslint dependencies and suppress most of the warnings 2021-05-27 23:06:42 -05:00
Matt Godbolt d4a2b6267f Upgrade some test packages 2021-05-27 22:38:00 -05:00
Matt Godbolt f216852edd Upgrade fs-extra 2021-05-27 22:30:15 -05:00
Matt Godbolt 72972ee73e Upgrade monaco
Hopefully fixes #2529 (sorry @partouf but I'm sure we'll have plenty
of other opportunities to drop back to script mode!)
2021-05-27 21:54:29 -05:00
Matt Godbolt 4562542c20 A big fat update of packages 2021-05-27 21:45:05 -05:00
Matt Godbolt 52e43774d1 Revert "Compiler Selection Improvements (#2660)"
This reverts commit 9c06156782.
2021-05-15 14:43:01 -05:00
Josh SchmidtandMatt Godbolt 9c06156782 Compiler Selection Improvements (#2660)
* allows favourites to be picked
* replace selectize with tom-select 1.7

Addresses (if not closes) #1917 & #257.

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2021-05-15 10:35:41 -05:00
dependabot[bot] 2ec3c4b023 Bump lodash from 4.17.20 to 4.17.21 (#2653)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 15:29:18 +02:00
dependabot[bot] 1cc291d0cb Bump underscore from 1.11.0 to 1.12.1 (#2650)
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.11.0...1.12.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 00:13:36 +02:00
Dan OkkenandPatrick Quist 5a62baa397 Add doc for Windows Debugging (#2593)
* Remove ref and link to the wiki

* Add doc for Windows debugging

* Add Windows debugging doc

* fix typo

* Fix wording

* fix wording again

* revert package lock changes

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-04-13 10:26:16 +02:00
Matt Godbolt 8b3064afdc Bump sentry version. Add even more MOTD debug for #1057 2021-04-01 16:18:58 -05:00
Matt Godbolt c197574a3c Bump to monaco-vim that doesn't complain about the versin of monaco we have. 2021-04-01 14:33:41 -05:00
Matt Godbolt bddbe30753 Add an update-browserslist npm run (not yet run) 2021-04-01 10:56:01 -05:00
Austin Morton 884ff9a3e0 Upgrade to latest sentry sdk 2021-03-29 02:54:32 -04:00
Matt Godbolt de70a734be Merge branch 'main' of github.com:compiler-explorer/compiler-explorer into main 2021-03-28 16:13:15 -05:00
Matt Godbolt d2ccba8926 Upgrade to monaco 0.23
* Fixes a few cases where we weren't require()ing monaco
* Removes unneeded change to cppp now it's been upstreamed.

Closes #878
2021-03-28 16:08:48 -05:00
Matt Godboltandpartouf 657866b86c Approval tests (#2491)
* Approval tests

Move to approvals to do the approval-style tests we had in filters-cases.

You can configure which diff viewer it uses with ~/.approvalsConfig

Pros:
* standard diff-based thing
* easy to "bless" all the differences (see `forceApproveAll`)
* fairly standard pattern
* forces a comprehensive all permutations and combinations vs
  the ad hoc subset we picked before
Cons:
* really wants to name the files *.approved.txt
* spawns _all the diffs_ at once and so an overarching change
  can crush your computer with diff (e.g. if you use `meld` like
  I do, you end up with 100+ diffs opening)
* comprehensive testing means this takes longer, now ~16s to do
  all these tests

* use latest approvals and its new settings

* Normalize line endings in the hope of getting windows passing

* fix for windows

* oops

Co-authored-by: partouf <partouf@gmail.com>
2021-03-28 22:57:40 +02:00
Matt Godbolt 0044536dcd Bump to pug 3.0.2 2021-03-11 18:48:32 -06:00
Patrick Quist 7edd6d40ac Time all the things (#2462)
* time executeDirect in ms

* measure library download and extract time

* time package download

* download timings when using execution checkbox

* proof of concept timing graph implementation

* use vertical bars for graph

* add objdump time

* add timing for asm parsing

* add timing graph to execution pane as well

* download timings on execution pane

* things
2021-03-11 17:37:57 +01:00
Austin Morton 28219f9e1e Add loki log transport (#2302) 2021-02-19 08:20:51 -05:00
Matt Godbolt 62e4c241b2 Argh 2021-02-13 10:48:09 -06:00
Matt Godbolt 6a46f724d4 This'll be the fix.
ref: https://gitter.im/Angular-Karma-Test-Explorer/Bugs?at=5d9e2a1a940b4c2fc0a3bdb6
2021-02-13 10:38:44 -06:00
Matt Godbolt d17db6767e Dear me 2021-02-13 10:28:40 -06:00
Matt Godbolt 2bd7bbf42c Hopeful? 2021-02-13 10:23:46 -06:00
Matt Godbolt afca73b2eb Update codecov, try and get sentry working 2021-02-13 09:38:07 -06:00
Matt Godbolt 5a59cbacfa Tweaks to mocha setup to let IDE users run individual tests again 2021-01-16 09:58:31 -06:00
Matt Godbolt 43343cdd56 Only install and use sentry-cli on travis; sentry-cli doesn't work on BSD. See #2307 2020-11-03 08:09:28 -06:00
Matt Godbolt 6962bc739b Very simple metrics (#2289)
If --metricsPort XX is supplied, run a server on port XX that
responds with metrics. Configure only default node metrics for
now; hope to get more interesting stats in soon.
2020-10-15 22:59:19 -05:00
Austin Morton 8695b51663 Enable sentry performance tracing 2020-10-11 11:07:49 -04:00
Austin Morton 91f11667a1 Update dependencies (#2248) 2020-10-02 13:31:19 -04:00