Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed the clean cache method back to a subprocess because this way it can ↵ | Alexandra Dima | 2019-10-12 | 4 | -32/+52 |
| | | | | wait for the output directories to actually be removed. Use IO instead of NIO for converting os.Path to URIs. Don't display the stack trace in the start method in case of CancelationException, which just means the server stopped. Also added support for tracing bsp messages inside a bsp.log file in the working directory of the project being built. | ||||
* | Added docstrigs and comments. Also cleaned unused imports. Changd the ↵ | Alexandra Dima | 2019-10-12 | 7 | -88/+233 |
| | | | | printStream connected to the compilation logger sent to the mill evaluator from Bsp from System.out (might interfere with the lsp communication ) to the outputstream of the evaluator's logger. | ||||
* | Changed the clean cache method to usethe clean command form mill's ↵ | Alexandra Dima | 2019-10-12 | 2 | -24/+33 |
| | | | | MainModule rather than start the clean command as a separate subprocess. Removed dead code comment and added show message notifications to the MillBspLogger. | ||||
* | Removed unnecessary directories and reverted the scratch folder to how it ↵ | Alexandra Dima | 2019-10-12 | 2 | -30/+0 |
| | | | | was in the original mill repo. | ||||
* | Addressed code review feedback. | Alexandra Dima | 2019-10-12 | 7 | -214/+168 |
| | |||||
* | Updated the clean cache method of the mill build server to use system ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+8 |
| | | | | properties in order to assemble the correct, OS-independent, mill clean command. | ||||
* | Renamed the main class as well as the method that starts the bsp server. | Alexandra Dima | 2019-10-12 | 1 | -26/+5 |
| | |||||
* | Modified the construction of the string ids for each BuildTargetIdentifier ↵ | Alexandra Dima | 2019-10-12 | 2 | -7/+9 |
| | | | | as there were collisions in case of cross modules. Also fixed bug in the clean cache method. Now, the command is using the rendering of millModuleSegments rather than the module name function. | ||||
* | Made the variables that count erros and warnings in the compilation reporter ↵ | Alexandra Dima | 2019-10-12 | 1 | -11/+12 |
| | | | | atomic, such that their incrementation will be thread safe. | ||||
* | Modified the compilation diagnostics reporter to send not only the currently ↵ | Alexandra Dima | 2019-10-12 | 4 | -71/+94 |
| | | | | generated diagnostic, but also all of the past diagnostics discovered for a certain source file. This will be compatible with the idea that each set of diagnostics for a certain file invalidates all other diagnostics received in the past. | ||||
* | Added a root target for the mill base module of each project so that ↵ | Alexandra Dima | 2019-10-12 | 2 | -11/+59 |
| | | | | intellij can display the project correctly. | ||||
* | Modified the sources and inversed sources requests to be compatible with ↵ | Alexandra Dima | 2019-10-12 | 1 | -5/+10 |
| | | | | returing directories of source files rather than individual source files. | ||||
* | Fixed bug in computing the compilation output directory for the ↵ | Alexandra Dima | 2019-10-12 | 1 | -3/+2 |
| | | | | buildtTargetScalacOptions method. | ||||
* | Fixed bug in building the data field of a BuildTarget which represents a ↵ | Alexandra Dima | 2019-10-12 | 1 | -4/+10 |
| | | | | mill JavaModule. Until bsp updates specification on what to do with java modules, each mill JavaModule will translate into a bsp ScalaBuildTarget. | ||||
* | Fixed bug in computing the classDirectory for the scalac options request. ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+1 |
| | | | | Also changed the startServer command from the json connection file. | ||||
* | Added support for sending start/finish compilation notifications even when ↵ | Alexandra Dima | 2019-10-12 | 4 | -21/+42 |
| | | | | all targets are sent to the mill evaluator together. | ||||
* | Improved compilation by sending all requested targets to the mill evaluator ↵ | Alexandra Dima | 2019-10-12 | 3 | -80/+60 |
| | | | | to be compiled together rather than in different evaluation sessions. This avoids duplicated compilation results and side effects like diagnostics and task progress notifications. | ||||
* | Imporved the way a target's display name is computed. | Alexandra Dima | 2019-10-12 | 1 | -3/+11 |
| | |||||
* | Added progress notifications during run and test tasks too. | Alexandra Dima | 2019-10-12 | 1 | -3/+6 |
| | |||||
* | Added progress notifications during compilation | Alexandra Dima | 2019-10-12 | 2 | -13/+4 |
| | |||||
* | Adding the scratch folder to git. | Alexandra Dima | 2019-10-12 | 1 | -0/+33 |
| | |||||
* | Fixed bug in computing the testing arguments from bsp in buildTargetTest. | Alexandra Dima | 2019-10-12 | 3 | -3/+11 |
| | |||||
* | Added notification from server to client to show a message that either no ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+5 |
| | | | | main class was found or there are multiple and none was specified. | ||||
* | Fixed bug in computing the scala library dependencies of a ScalaBuildTarget. | Alexandra Dima | 2019-10-12 | 1 | -0/+1 |
| | |||||
* | Removed commented code and fixed bug in assigned target ids. Now the uri of ↵ | Alexandra Dima | 2019-10-12 | 2 | -46/+2 |
| | | | | each BuildTarget will be the intelliJModulePath of the corresponsing mill module. | ||||
* | Refactored MillBuildServer by putting the future completion at the end of ↵ | Alexandra Dima | 2019-10-12 | 3 | -73/+83 |
| | | | | each method in a separate function which now also throws exceptions if a request is made before initialize. Also gave all JavaModules the run capability. | ||||
* | Partially fixed test request by implementing a test reporter, adding it to ↵ | Alexandra Dima | 2019-10-12 | 4 | -105/+155 |
| | | | | each task context and sending it to the test task. Implemented BspContext to hold information about the test reporter and the additional bsp compiler arguments. Made a common data structure for different bsp parameters - TaskParameters. | ||||
* | Added support for merging compile parameters from the mill build file with ↵ | Alexandra Dima | 2019-10-12 | 4 | -34/+150 |
| | | | | the compile parameters specified through bsp | ||||
* | Fixed bugs in getting target capabilities and dependencies. | Alexandra Dima | 2019-10-12 | 2 | -5/+5 |
| | |||||
* | Added the custom bsp reporter to the evaluation of the run task in ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+5 |
| | | | | buildTargetRun. | ||||
* | Fixed issue with retrieving line and offset of errors found during compilation. | Alexandra Dima | 2019-10-12 | 2 | -13/+9 |
| | |||||
* | Fixed compilation error, removed print statements and unnecessary code. | Alexandra Dima | 2019-10-12 | 2 | -112/+1 |
| | |||||
* | Implemented support for publishing compilation diagnostics through the ↵ | Alexandra Dima | 2019-10-12 | 4 | -13/+254 |
| | | | | custom BspLoggedReporter reporter. Patched the mill.api.Ctx data structure as well as the evaluate() method on mill's Evaluator in order to accept a potential reporter from the outside, or use a default value if none is given. | ||||
* | Implemented simple support for cleaning cache | Alexandra Dima | 2019-10-12 | 2 | -15/+30 |
| | |||||
* | Fixed bugs in ModuleUtils by converting every java path with toUri and using ↵ | Alexandra Dima | 2019-10-12 | 3 | -90/+158 |
| | | | | millSourcesPath. Chnaged mill task evaluation to account for cases when the result of an informative task is actually Failure. | ||||
* | Made install from MainMillBuildServer a mill command. Started simple ↵ | Alexandra Dima | 2019-10-12 | 3 | -53/+145 |
| | | | | implementation of buildTargetTest. Made sure targets are retrieved again everytime the workspaceBuildTargets request is sent | ||||
* | Changed the mill bsp server installation command to put the .bsp folder in ↵ | Alexandra Dima | 2019-10-12 | 1 | -1/+1 |
| | | | | the working directory | ||||
* | Implemented MillBuildServer methods for retrieving the scala main classes ↵ | Alexandra Dima | 2019-10-12 | 3 | -47/+159 |
| | | | | and scala tets classes in a project. Also fixed bug in computing the target capabilities from modules. Started a simple implementation of buildTargetRun. | ||||
* | Started integrating mill with Build Server Protocol | Alexandra Dima | 2019-10-12 | 4 | -0/+649 |
| | |||||
* | Removes semanticdb settings (#705) | Olivier Mélois | 2019-10-03 | 2 | -39/+2 |
| | | | | | | | Bloop 1.3.3 can assume the responsibility of finding the semanticdb plugin and setting the relevant options in the compiler, which means we don't have to do it ourselves anymore to accommodate metals users. See https://github.com/scalameta/metals/pull/852 | ||||
* | Upgrade semantic db and supported versions of scala (#699) | Jakob Odersky | 2019-09-25 | 1 | -2/+4 |
| | | | This enables using Mill with Metals and Scala 2.13.1, which in turn is required under Java 1.13 | ||||
* | Upgrade scoverage: 1.3.1 -> 1.4.0 (#687) | Fabian Heredia Montiel | 2019-09-04 | 3 | -12/+49 |
| | |||||
* | Bump flyway version (#686) | Nathaniel Fischer | 2019-09-04 | 2 | -2/+59 |
| | |||||
* | Update semanticDBVersion and semanticDBSupported (#678) | Gabriele Petronella | 2019-08-26 | 1 | -1/+2 |
| | |||||
* | Scoverage buildinfo support (#647) | Nik Vanderhoof | 2019-07-04 | 3 | -3/+12 |
| | | | | | | * Add test case for scoverage/buildinfo * Take generatedSources from outer + pass allSources to scoverage reports | ||||
* | Fix scoverage: inherit repositories from outer project (#645) | Marcin Kurczych | 2019-07-02 | 1 | -0/+1 |
| | |||||
* | Upgrade SemanticDB and Bloop supported versions (#639) | Sergey Shishkin | 2019-06-25 | 1 | -8/+3 |
| | |||||
* | Allow configuration of JSEnv used for Scala.js tests and runs (#628) | Li Haoyi | 2019-06-13 | 1 | -2/+5 |
| | | | | | | | | * . * . * . | ||||
* | Explicitly use value for comparison | Tobias Roeser | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | Inherit moduleDeps from outer in Scoverage (#623) | Nik Vanderhoof | 2019-06-02 | 4 | -0/+10 |
| | | | | | | | | * Add test case that breaks via #622 Thanks to @kag0 for finding this! :) * Scoverage should inherit moduleDeps |