Commit Graph

37 Commits

Author SHA1 Message Date
Patrick Quist
16af4186ad CE Properties Wizard: Interactive tool for adding compilers (#7934) 2025-10-04 12:11:58 +02:00
Matt Godbolt
60497c6b9a Use uv to install python dependencies in docenizers (#8140)
Tested locally and it works BUT the created `.ts` files are still broken
similar to what was found in #8101

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-25 15:35:07 -05:00
Matt Godbolt
aea3acf148 Ignore more AI junk 2025-05-12 08:31:59 -05:00
Matt Godbolt
c617461bd0 Claude improvements 2025-05-07 12:32:19 -05:00
Ofek
a101e2d9f2 Fix MSVC's handling of /link options, fix and modernize some docs (#7260)
<!-- 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!
-->
2025-01-11 18:16:04 +02:00
Jeremy Overesch
445eff5649 Add minimal TI-C2000 compiler support (#4625)
This adds the ability to use TI's C2000 compiler with basic directive filtering and assembly code parsing.
2023-04-05 11:24:47 -05:00
Mats Jun Larsen
633eb82d18 Transition to ECMAScript Modules (#4780)
Makes the Compiler Explorer app, and all the tooling ESM compatible.
Things that have been done:

1. The package.json has `type: module` now
2. All relative imports have a .js ending
3. All directory imports are now directory/index.js to comply with ESM
standards
4. Dependency node-graceful is now imported into tree, because the
package is broken under esm
5. Dependency p-queue has been bumped to 7.x with ESM support
6. Dependency profanities has been bumped to 3.x with ESM support
7. Webpack config is now both ESM and CommonJS compatible
8. Non-ESM compatible imports have been rewritten
9. ESLint configuration has been tweaked to not fail on .js imports
10. Mocha is now hacked together and ran with ts-node-esm
11. Webpack is now hacked together and ran with ts-node-esm
12. Webpack config is now ESM compatible, so that it can be used in the
dev server
13. Cypress code still runs commonjs, and has been excluded from the
tsconfig
14. All sinon mock tests have been commented out, because sinon module
mocks do not work with ESModules (because ESModules are immutable)

A lot of tests are now giving warnings/errors to stdout, yet still pass.
Docenizer codegenerator scripts have been updated, but I did not re-run
them, and instead just changed their code.

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-02-27 18:06:38 -06:00
Rubén Rincón Blanco
3d68f5382e Implements Prettier formatting (#2766) 2021-08-28 14:41:28 +02:00
RabsRincon
7c0a932f32 Ignore downloaded doc files 2021-08-27 22:08:04 +02:00
Rubén Rincón Blanco
387c75a1d7 Adds configs for nsjail cfg and firejail profile paths (#2846)
* Adds configs for nsjail cfg and firejail profile paths

As suggested by @apmorton

Issue #2845

* Add & improve exec tests with new config changes

* Remove stub. Exports are inmutable so no replacing the internal calls

* Resort back to calling the mapping function in the tests too

* But don't call it in the one function that is testing it

* Expand reach of .local gitignore

* Address @apmorton PR review

The tests are now a mess, so I won't merge,
 just in case I get shown how to do it properly
2021-08-11 06:38:04 +02:00
Matt Godbolt
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
Jeremy Overesch
11e470a8f7 Feature/jo/arm dockenizer (#2463)
* Update docenizer to python3
* Remove unused code in docenizer
* Create new asm-docs-arm and asm-docs-api-arm files for parsing and retrieving arm related opcodes.  Add conditional instruction switch.
* Rename docs files to specify instruction set
* Add arm32 at /api/asm/arm32/:opcode
* Add @jovere to contributor list
* Add `instructionSet` compiler option
* Update client to access correct instruction based on the `instructionSet` option
* Add `arm32` `instructionSet` option for ARM C++ compilers
* Add `arm32` instructionSet to obvious places in C/C++
2021-03-12 07:40:49 -06:00
Austin Morton
57da75d19d Organize .gitignore (#2235) 2020-09-27 14:30:12 -04:00
Austin Morton
419458530f Support serving static content externally 2019-11-13 23:35:53 -05:00
alclol
4f12babb76 vim keybinding feature. Need support to redesign the UI. 2019-07-16 11:26:56 -07:00
RabsRincon
7e37263b1c Improve test & coverage handling 2019-07-08 21:46:39 +02:00
Matt Godbolt
f012fffa7a Switch to a newer istanbul/nyc 2019-05-29 09:12:20 -05:00
Matt Godbolt
8a670dd82b Remove yarn in favour of the new npm features. See #1343 2019-05-03 10:52:16 -05:00
Patrick Quist
630a1270ce ignore f.out 2018-11-18 15:56:29 +01:00
RabsRincon
bdc447fe30 Fix local storage & add compiler name to unfurling 2018-08-20 11:10:23 +02:00
Matt Godbolt
f8468e5d92 Use a local-installed yarn. Refactor all the 'find node' stuff out of the Makefile 2018-02-10 17:10:56 -06:00
RabsRincon
5bf7e6b30a Address PR reviews 2018-02-03 14:30:54 +01:00
jaredwy
4aa1edd8d2 Adding the vs that gets copied by webpack into the gitignore file 2018-01-28 19:09:33 +11:00
jaredwy
70556a6c65 first pass at using webpack/yarn rather than bower and require.js 2018-01-28 19:09:33 +11:00
Matt Godbolt
ef986f3ec6 Ignore newrelic agent log 2018-01-02 09:45:07 -06:00
Matt Godbolt
f5ae491999 Attempt at speeding up travis by caching compile artifacts 2017-12-09 16:58:09 -06:00
Rubén
65c6ff79d8 Finish up Cfg view review concerns 2017-09-26 12:57:47 +02:00
cppchedy
19ec9a7ddf fixed gitignore 2017-09-15 14:29:03 +01:00
cppchedy
eb20b5c85c deleted wrong file to commit 2017-09-15 14:22:36 +01:00
cppchedy
3dd2506044 adding support for control flow graph mode 2017-09-15 00:08:34 +01:00
Jared Wyles
cf882a5d0c First pass at adding a opt view mode for compiler explorer 2017-04-20 09:52:45 +10:00
Sahnvour
cda82ad688 New most prioritary properties files : *.local.properties used for local instances of compiler explorer. 2016-10-27 18:34:02 +02:00
Matt Godbolt
49e1ad9ebd Early support for r.js 2016-08-18 23:41:36 -05:00
Matt Godbolt
3600d7ac7e First move towards rewrite 2016-08-18 23:23:22 -05:00
Matt Godbolt
d4aef9b5fd Add heapsnapshot 2015-04-30 08:07:44 -05:00
Matt Godbolt
1ad4c26104 Remove accidentally-added npm-updated file 2012-07-24 15:54:42 -05:00
Matt Godbolt
15ea5e164b Initial import of GCC-Explorer 2012-05-22 21:07:40 -05:00