2029 Commits
Author SHA1 Message Date
Jeremy Rifkin be41342f01 Fontscale ctrl+click (#3531)
* Added a ctrl+click handler to the fontscale button to reset to default

* Added tops to font scale widget tooltip about being able to use the mousewheel and ctrl+click
2022-04-21 21:05:55 +02:00
Mats Larsen c199b54440 Enable Prettier for TypeScript frontend (#3524) 2022-04-20 22:39:10 +02:00
Rubén Rincón Blanco 204d7776ab Fix project path being set to static/static/tsconfig.json in eslint runs (#3514) 2022-04-18 16:33:08 +02:00
Jeremy Rifkin 6a19a65d43 Resolve @typescript-eslint/no-unnecessary-condition for static/*.ts files (#3525) 2022-04-17 22:48:57 +02:00
Jeremy Rifkin 0bffd4ec0f Resolve @typescript-eslint/no-unnecessary-condition for static/*.ts files (#3511) 2022-04-16 00:36:00 +02:00
Jeremy Rifkin 1fdba5e8c8 Resolve @typescript-eslint/no-unnecessary-condition warnings for settings.ts (#3510)
* Resolved @typescript-eslint/no-unnecessary-condition warnings for settings.ts

* Better handling of .val()
2022-04-14 03:50:14 +02:00
Rubén Rincón Blanco 4f8def9bd6 Catches the rison deserialization exception to allow page loads (#3515) 2022-04-14 02:45:43 +02:00
Rubén Rincón Blanco 9770979e44 Fixes bad usage of alert system entersomething (#3513)
Fixes COMPILER-EXPLORER-8VJ
2022-04-13 05:26:07 +02:00
Jeremy Rifkin c4415586aa Output pane ts conversion (#3495)
* Converted output pane to ts

* Updated copyright year

* Remove jquery import

* Quick refactor
2022-04-13 00:18:07 +02:00
Jeremy Rifkin e5462993a9 Turn on @typescript-eslint/no-unnecessary-condition rule (#3508) 2022-04-11 16:56:02 -05:00
Jeremy Rifkin 8241b5b42d Tool input view ts conversion (#3497)
* Converted tool-input-view to typescript

* Updated conversion

* Updated handling of state
2022-04-11 16:54:55 -05:00
Patrick Quist 17c01cf349 Fix for msvc library issue (#3501)
* fetch remote libraries on startup and put into client-options
* support remote libs in executor and conformanceview
2022-04-09 17:09:13 -05:00
Matt Godbolt 41e9e96651 Merge branch 'flags-view-ts' of https://github.com/jeremy-rifkin/compiler-explorer into jeremy-rifkin-flags-view-ts 2022-04-02 16:50:07 -05:00
Jeremy Rifkin eb22ee250d Bugfix: 'Option -flto is being used without Compile to Binary.' warning is emitted even when compiling to binary (#3485) 2022-04-02 16:38:44 -05:00
Mats Larsen b48efe333b Use Hub and EventHub types in codebase (#3482) 2022-04-02 22:35:17 +01:00
Jeremy Rifkin d79fff278c Update toast .close coloring (#3486) 2022-04-01 21:52:53 +02:00
Jeremy Rifkin 9c289f1a64 Updated copyright 2022-04-01 12:10:45 -04:00
Jeremy Rifkin df2b971e57 Updated to use Hub 2022-04-01 12:08:13 -04:00
Mats Larsen 3c0090ae2d Move Hub to TypeScript (#3470)
* Move Hub to TypeScript

* Fix regressions from conversion
2022-04-01 12:05:08 -04:00
Mats Larsen 7184c8e97e Move Hub to TypeScript (#3470)
* Move Hub to TypeScript

* Fix regressions from conversion
2022-04-01 07:46:32 -05:00
Jeremy Rifkin 28890496a6 Updated cppinsights.io link generation (#3469) 2022-04-01 07:43:17 -05:00
Jeremy Rifkin 63ca451388 Fix #3465 (#3466) 2022-04-01 07:41:17 -05:00
Rubén Rincón Blanco 0f0d9d4249 Add update specific motd message (#3471) 2022-04-01 07:20:57 +02:00
Jeremy Rifkin da1e7795e7 update disabled compiler options input background (#3478) 2022-04-01 07:20:17 +02:00
Jeremy Rifkin dd6cf12ce7 converted flag-view to ts 2022-03-31 14:10:48 -04:00
Mats Larsen 171277f4d5 Fix regression in #3462 (#3467) 2022-03-28 16:23:58 -05:00
Mats Larsen b7ac0b1e0d Move WrappedEventHub out of Hub (#3464) 2022-03-27 17:57:53 +02:00
Mats Larsen 7592d1557e Move Ids out of hub.js (#3462) 2022-03-24 12:00:17 +01:00
Mats Larsen b72ede07f9 Fix DOM text reinterpretation issue (#3456) 2022-03-22 07:18:43 -05:00
Jeremy Rifkin 5f01821eb4 Improved cursor position display for light mode (#3434) 2022-03-17 04:04:42 +01:00
Jeremy Rifkin 9cbf6e20d6 Convert opt-view to typescript (#3446)
* debugging

* converted opt view to ts
2022-03-16 21:41:56 -05:00
Jeremy RifkinandRubén Rincón Blanco dd49042336 Convert compiler-picker to typescript (#3436)
* Converted compiler-picker -> ts

* Update static/compiler-picker.ts

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Review changes

* Removed any cast of the domNode

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-03-16 21:40:44 -05:00
Matt Godbolt 074549fea4 Introducing Backtrace.io as a sponsor (#3342)
* Introducing Backtrace.io as a sponsor
2022-03-16 21:39:10 -05:00
Jeremy RifkinandRubén Rincón Blanco 024788b084 Convert ast-view to typescript (#3429)
* WIP conversion to TS

* Code cleanup

* Update static/panes/ast-view.ts

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Eliminate most uses of underscore.js, cleaned up code a little more, implemented feedback

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-03-10 13:06:38 +01:00
RabsRincon 2aced16299 Remove intel filter check on asm docs pane
Closes #3431
2022-03-09 18:12:46 +01:00
Jeremy Rifkin ad7d810b74 Support MSVC's backtick strings (#3423)
* Support msvc's backtick strings

* Support for strings at the start of a line
2022-03-07 11:15:49 +01:00
Jeremy Rifkin 6c57dcebca Fix #3419 (#3421) 2022-03-07 11:11:11 +01:00
Rubén Rincón Blanco cd05315c2e Move timing-info-widget to ts and fixes some of its issues (#3424)
* Move timing-info-widget to ts and fixes some of its issues

* Remove unused import
2022-03-04 07:46:25 +01:00
Mats Larsen e6ab373c90 Move static/noscript.js to TypeScript (#3420) 2022-03-04 07:46:07 +01:00
Rubén Rincón Blanco 5292377828 Add a way to delete localstorage saved files (#3411) 2022-02-28 20:41:51 -06:00
Matt Godbolt 5030dcbcba Fix monaco button registration 2022-02-26 13:57:42 -06:00
Jeremy Rifkin 25efbd7ce6 Fix string highlighting for msvc output (#3403) (#3405) 2022-02-26 13:38:57 -06:00
Matt Godbolt d27c9980dd Extract a Pane base separate from a MonacoPane. (#3385)
* Extract a Pane base separate from a MonacoPane.
* Make it clearer that editor and tree id are truthy-ish non-zero numbers, or else not present. Thanks @partouf; CC @jeremy-rifkin

Paves the way to move the (few) tools that don't have an editor to also share the base class.
2022-02-26 13:29:54 -06:00
Rubén Rincón Blanco bc401f4ca0 Fixes settings handling in some places (#3400)
* Better handling for theme/colour scheme changes

Fixes #3396

* Fixes settings

* Fixes theme and colour scheme handling

Closes #3396

* Fix settings for embeded

Closes #3397

* Actually, just fallback to 0 if needed

* Lint fix

* Delete Deprecations.xml

* Better TS way
2022-02-24 14:55:54 +01:00
Rubén Rincón Blanco ffe2c621d1 Remove some deprecated functions (#3399) 2022-02-24 14:55:46 +01:00
Jeremy RifkinandRubén Rincón Blanco 9ab2a3d268 Position of cursor position (#3394)
* Fix cursor position ui bugs

* Better sizing strategy

* Better solution: Put the position in the bottom right

* Update static/explorer.scss

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Update static/panes/editor.js

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-02-24 14:55:35 +01:00
Mats Larsen f17dbed786 Move static/presentation.js to TypeScript (#3395) 2022-02-23 20:26:24 +00:00
Jeremy Rifkin 17b4f2ebc4 Fix Editor #false bug (#3360)
* Fix Editor: #false bug
* Refactoring, a couple small fixes to handling, and made changes for opt view
* Fixed Editor #false bug for diff pane
2022-02-23 07:46:40 -06:00
Rubén Rincón Blanco 48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Luca Natilla 26cbd6e63c Pane renaming saves the name of the panes into their state (#3364)
* Renaming works for compiler with local storage saving

* Remove closed panes from local storage

* Feature working for almost every pane

* Working except for editor and tool-input-view

* Save pane name into its state instead of local storage

* Remove unnecessary local storage code

* Apply Ruben's suggestions

* Check for CMakeLists.txt always on default name

* Change pane renaming's modal placeholder's text, code cleanup
2022-02-22 00:07:31 +01:00