Commit Graph
116 Commits
Author SHA1 Message Date
RabsRincon 6dfd69c370 Adds formatter and empty id checks for config script 2022-02-16 16:49:23 +01:00
Rubén Rincón Blanco 273dd28c6e Adds compiler check to ci workflow (#3369) 2022-02-15 15:46:38 +01:00
Rubén Rincón Blanco 9deb97b3bd Add script that checks for bad configs for compilers and groups (#3366)
* Add script that checks for bad configs for compilers and groups

* Dont skip iteration on compiler match so groups are also caught

* Fix some of the erros found

* Add newline at EOL

* Fix remaining compiler issues
2022-02-15 10:03:24 +01:00
Rubén Rincón Blanco eaaa28728b Fixes missing changelog (#3358)
* Fixes missing changelog

* Fixes missing changelog v2
2022-02-11 19:34:10 +01:00
Matt Godbolt a6682987dc New build and deploy setup (#3269)
* New build and deploy setup

* kills a lot of makefile complexity
* users will only ever use node-env=development for all practical
  purposes. Hopefully fixes issues where something node_modules
  is missing non-dev dependencies
* script building now pulled into a bash file
2022-01-18 20:46:33 -06:00
Matt Godbolt eabfdca2fc Bump to new LTS version 16 node 2022-01-10 22:38:43 -06:00
Elektron72 bf9d2334b9 Add AVR assembly documentation (#3218) 2022-01-07 16:30:56 +01:00
Elektron72 5a350691bb Add assembly documentation for 6502 (#3210)
This PR adds assembly documentation for the MOS 6502 and WDC 65C02 instruction sets, which are output by cc65.
2021-12-23 16:34:08 +01:00
Matt Godbolt cf7d70402e Await for things (#3086)
* Await for things

We had a number of things that aren't await()ing their promises.
That led to non-deterministic compiler settings like Intel support.
I used the IDE to find them all and fix the ones that I thought looked
important.

More generally we should use tslint (once we're all typescript) to
ensure this more generally. I tried the eslint equivalent but it
either overreacted or didn't catch anything.

Closes #3085
2021-10-31 15:31:45 -05: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
Rubén Rincón Blanco 3d68f5382e Implements Prettier formatting (#2766) 2021-08-28 14:41:28 +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
RabsRincon 3593ddb4a7 Add doc support for MOVBE amd64 instruction
It also improves the code a bit, and automates the patching of #2380

Closes #2819
2021-08-04 10:54:09 +02:00
Quinton Miller 7e1835fa0f Add support for Ruby (#2816) 2021-07-30 16:29:37 -04:00
Tamir Bahar 71bde50337 Add support for Python optimization flags (#2630)
* Add support for Python optimization flags

* Add CONTRIBUTORS.md entry
2021-05-04 22:37:01 +02: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
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
Matt GodboltandRabsRincon ed7f003651 Privacy policy updates. Closes #2276 (#2419)
* Privacy policy updates. Closes #2276

* Improve policies timestamp generation

* Remove leftover debug print

* Python3 all the things

Also uses the short hash for policy commits

* More master->main.

Co-authored-by: RabsRincon <ruben@rinconblanco.es>
2021-02-15 00:09:13 +01:00
RabsRincon ebd159f72b Fixes wrong word in intel asm docs
The docenizer script is ran manually every time we update the docs,
 so we can modify it while a fix lands on the Intel manual,
 and then Felix updates the page.

We'll just have to remember to check the fix before updating the docs

Fixes #2380
2021-01-30 10:25:59 +01:00
Matt Godbolt c42ffe540b Fix changelog for newer OSes 2021-01-16 16:46:22 -06:00
Matthew Webb 20af986d86 Fix changelog (#2340)
* Fix changelog.py to generate properly linked change list

* Fix comment

* No error text

* Update comment

* Grep for issue numbers and stars

* Add commit split print back
2020-12-10 08:14:45 +01:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Austin Morton e1cd7f9d89 Fix relative links in asm-docs
fixes #2089
2020-08-02 01:16:00 -04:00
Matt Godbolt 84e9b282fd Canonical URLs now https://github.com/compiler-explorer/compiler-explorer! Hooray :) 2020-05-16 11:09:30 -05:00
Matt Godbolt 91b2431e9a Separate lint from ci-lint and pre-commit. Fixes #1835 2020-02-24 22:02:34 -06:00
Matt Godbolt 17e7f85d7a async aws; note that we're now using node 11 features 2020-01-14 22:06:04 -06:00
RabsRincon 77568f747b Simplify version checks 2019-12-23 09:52:59 +01:00
Rubén Rincón f2e1384ea0 Add more descriptive messages to find-node script 2019-12-20 10:54:34 +01:00
Rubén Rincón dc789ea9a6 Allow node verisons > 8, but recommend latest LTS 2019-12-20 10:45:30 +01:00
Rubén Rincón 4a3cd05ca0 Bump node version to LTS v12 2019-12-20 10:13:22 +01:00
Sebastian 78b3381c84 * Add Python support (#1612) 2019-10-30 19:51:38 -04:00
Matt Godbolt 6c1d8146d6 Extract tools. Now relies on external demangling tools 2019-06-01 10:59:00 -05:00
Matt Godbolt 0b7773c3bb Merge pull request #1316 from mattgodbolt/policy-dating
Policy dating
2019-05-28 08:59:18 -05:00
Matt Godbolt 8a670dd82b Remove yarn in favour of the new npm features. See #1343 2019-05-03 10:52:16 -05:00
Marc Poulhiès b145fd6564 Do not use system node by error
If system's node is overriden by something in PATH, having NODE_DIR
empty will cause the script to still use node found in /bin/.
Only consider the first case if NODE_DIR is not empty.
2019-04-30 15:04:28 +02:00
RabsRincon 47b65b15d9 Upgrade to latest Node LTS (10) 2019-04-12 15:32:31 +02:00
RabsRincon 27eccb968d Merge branch 'master' into policy-dating 2019-03-24 20:31:42 +01:00
RabsRincon 2b06ad9a5f Improve placeholder handling
As noted by @mattgodbolt on the PR review
2019-03-24 19:04:17 +01:00
RabsRincon c1ae4aa503 Improve wording for build logs 2019-03-23 16:45:02 +01:00
RabsRincon f735cf30af Rethink how we want to communicate policy changes 2019-03-23 16:40:01 +01:00
RabsRincon 2f9306fadb Try to upgrade x86 asm docs 2019-03-04 16:23:22 +01:00
Ruslan Garipov 42c9b269f0 Make ``find'' scripts compatible w/ the Bourne sh
By default FreeBSD does not have the Bourne-again shell (Bash)
installed.  Therefore, the system fails to execute two ``find'' scripts
(etc/scripts/find-node and etc/scripts/find-yarn) running by the
Makefile within the `.node-bin` and `.yarn-bin` targets.

I see nothing Bash-specific in those scripts.  Also I believe that
`[[ expression ]]` commands in those particular cases can be safely
replaced with the `test` built-in commands.

With these changes I can now run a local ``Compiler explorer'' instance
on FreeBSD.

Signed-off-by: Ruslan Garipov <ruslanngaripov@gmail.com>
2019-01-31 20:24:00 +05:00
Matt Godbolt 05a34268c0 Another attempt at fixing gdc 2019-01-07 21:27:16 -06:00
Matt Godbolt 4b4d6df482 Attempt to fix travis build 2019-01-07 21:12:32 -06:00
Matt Godbolt ce979213a0 Fall back to rust 1.30 for travis 2018-11-29 08:00:03 -06:00
RabsRincon 9ab96c4cad Initial support for automatic policy dating 2018-10-31 20:09:34 +01:00
RabsRincon 55c3242018 Add date placeholder to policies 2018-10-31 19:29:56 +01:00
RabsRincon 1404d63002 * Add GCC 8.2 C version 2018-08-08 08:48:04 +02:00
RabsRincon ab93511390 Update CONTRIBUTORS.md & generator script 2018-08-03 05:14:21 +02:00
Nicole Mazzuca 21ee0dff1d fix the amazon*.properties files 2018-07-31 11:19:56 -07:00