Commit Graph
29 Commits
Author SHA1 Message Date
Matt Godbolt bd362118e0 Development speedups (#3655)
* Cache webpack on disk for faser loading time, though we'll need to be careful of any issues it might bring

* Configure a default persisten compiler discovery cache in the `out` directory
2022-05-12 08:56:29 -05:00
Matt Godbolt 7ee2ab17f2 Bump to v9 2022-05-09 23:25:06 -05:00
Matt Godbolt 58337bb5bf Improvements to policy handling (#3595)
* Use webpack loaders to generate both the pug output and the SHA256 hash of it
* Uniformly use pug for HTML templating
* Policy hashes are entirely client-side
* No longer need to have the policy documents available to the server side
2022-04-28 15:19:06 -05:00
Matt Godbolt 7828576a5b Reverts the reversion of the "make" being more prod-like, and fixes it. (#3591)
* Use webpack to autogenerate the files.

That way, we always generate them consistently, be it through
`make` or building for prod. This fixes the `make` issue, and also
means we've further unified the way we build and run with `make`
vs prod.

Unfortunately this doesn't work for `make dev`; which sees the
handlebars content only. That's probably ok though, I think.
2022-04-28 12:59:25 -05:00
Matt Godbolt 5ae6b304e4 Pre-compile typescript in releases (#3570)
* build the release in-place in out/dist
* run the tsc compiler on the code so everything is pre-transpiled
* serve the various generated html snippets uniformly from the web page so they come from one place.
2022-04-27 16:24:50 -05:00
Matt Godbolt cc6fd58f62 Bumping to v8 as noscript seemingly changes every time. TODO! 2022-04-24 15:15:25 -05:00
Matt Godbolt e5c8eca855 Bumping to v7 2022-04-22 08:51:47 -05:00
Alexey ShekhirinandRubén Rincón Blanco 2001d1b65e Add support for Solidity (#3507)
* feat(compilers): Solidity support MVP

* don't concat userOptions in optionsForFilter

* fixes after review

* Update etc/config/solidity.defaults.properties

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

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-04-14 02:33:13 +02:00
ODuzharandAlex D df3042f29b Added TypeScript Native compiler (#3448)
* progress

* added some config

Co-authored-by: Alex D <duzhar@gmail.com>
2022-03-21 22:14:03 -05:00
Mats Larsen e6ab373c90 Move static/noscript.js to TypeScript (#3420) 2022-03-04 07:46:07 +01:00
Matt Godbolt 569772647f Argh v6 2022-02-11 16:07:05 -06:00
Michael Debertol 3f695c9cc1 Add Dart support (#3352) 2022-02-11 16:19:16 +01:00
Patrick Quist 51047b6ad7 Frontend testing (#3169) 2022-02-04 18:35:04 +01:00
Austin Morton 93dfe4812c Remove es6-shim (#3316)
The shim was only ever loaded for internet explorer
2022-02-03 10:12:57 +01:00
Matt Godbolt f935c3b8a9 Fix extraneous dot 2022-02-01 08:10:22 -06:00
Matt Godbolt 81966bfab0 webpackhack-version the CSS and other assets 2022-02-01 08:01:22 -06:00
Steve 0a3aadbe80 Add support for C#, F# and Visual Basic (#3168) 2022-01-29 16:16:27 +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
Patrick QuistandMatt Godbolt 6e79e098c4 Minimal backend typescript support (#3207)
* minimal ts support

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2021-12-22 20:44:51 +01:00
Matt Godbolt 7c20613c5d Move to using webpack5 (#3197)
* Bumps a lot of the auxiliary webpack projects to latest
* Minor tweaks to get webpack5 working
* Replace css minimizer with new https://webpack.js.org/plugins/css-minimizer-webpack-plugin/
* es6 shim uniquely named
2021-12-21 10:20:15 -06:00
Quinton Miller 7e1835fa0f Add support for Ruby (#2816) 2021-07-30 16:29:37 -04:00
Patrick Quist 1a2d0ffa34 enable typescript for clientside static scripts (#2820) 2021-07-29 15:16:14 +02:00
Oleksandr d1da148563 Add initial scala support (#2737)
* Add initial scala support

* Fix scala 3 compiler flags

* Use semver instead
2021-06-29 09:39:06 +02:00
b4ebb47ac2 Add Kotlin/JVM support (#2637)
* Add Kotlin/JVM support

* Update CONTRIBUTORS.md

* Use kotlinc-jvm instead of kotlinc

* Fix alphabetical ordering

* Filter kotlin compiler arguments

Extract user options filtering for java into a separate function to
handle filtering options with extra arguments.
Filter kotlin compiler options: -d, -jdk-home, -kotlin-home, -script, -progressive

* Filter -Xjavac user options

Filter any option that starts with '-Xjavac', as it could be used to pass unwanted options through kotlinc to javac.

* Fix year in copyright

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

* Add kotlin.amazon.properties

* Add JAVA_HOME to kotlin default exec options

Query per-compiler property 'java_home' and set environment

* Add java_home to kotlin properties

Co-authored-by: Daniel Below <daniel.below@jetbrains.com>
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2021-06-02 22:58:41 +02:00
Matt Godbolt 1d7455e1d5 Re-enable java. Closes #1438 2021-04-26 21:18:15 -05:00
Austin Morton cf2cf00807 Hello darkness my old friend 2020-10-02 14:00:22 -04:00
Austin Morton f8826fd250 Refactor theme system to apply them earlier in page load (#2249) 2020-10-02 06:56:46 -04:00
Austin Morton de85aecc7d Normalize and enforce license disclaimer headers (#2234) 2020-09-27 00:20:19 -04:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00