summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Add `scalaPBProtocPath` option to scalapblib (#714)Florian Duraffourg2019-11-183-7/+24
|
* Fix review issuesSamvel Abrahamyan2019-10-151-3/+3
|
* get mill classpath and version from system env or java properties.Jiuyang liu2019-10-141-3/+4
|
* bug fix for system vended mill, no `MILL_CLASSPATH` avalible.Jiuyang liu2019-10-131-2/+2
|
* Fix formatting issuesSamvel Abrahamyan2019-10-123-12/+17
|
* Remove some unnecessary dependencies from contrib.bsp, use upickle instead ↵Samvel Abrahamyan2019-10-122-35/+23
| | | | of play-json
* Reformat codeSamvel Abrahamyan2019-10-127-437/+486
|
* Remove the dependency to bsp and zinc from core modulesSamvel Abrahamyan2019-10-123-53/+34
|
* Updated documentation of contrib module since now it is possible to run ↵Alexandra Dima2019-10-121-3/+0
| | | | scala classes directly from IntelliJ and removed file added to git by mistake.
* Update contrib/bsp/src/mill/contrib/bsp/ModuleUtils.scala Alexandra Dima2019-10-121-1/+1
| | | | | Fix typo Co-Authored-By: Tobias Roeser <le.petit.fou@web.de>
* Fix failed test not being reported with appropriate status, add full ↵Samvel Abrahamyan2019-10-121-12/+17
| | | | stacktrace as message
* Fix typo in data kind field, use constants from bsp4jSamvel Abrahamyan2019-10-123-9/+9
|
* CHanged the clean cache command to use the mill api againAlexandra Dima2019-10-121-18/+28
|
* Fixed bugs: If a module has no resource directory don't just throw error, ↵Alexandra Dima2019-10-122-3/+6
| | | | just return empty list of resources. Include the name of the compile task in the segments that get converted tothe scalac options class directory.
* Fixed the classpath for the scalac option request, so now main classes can ↵Alexandra Dima2019-10-121-1/+1
| | | | be ran from intellij.
* Fixed the compile request, if the root target is in the compile params, then ↵Alexandra Dima2019-10-121-55/+61
| | | | don't include it in the compile task. Fixed some style issues suggested by intellij. Now, targets are recomputed at the beginning of each server request.
* Made corrections to the bsp module readme.Alexandra Dima2019-10-121-18/+21
|
* Fixed bugs in passing the bsp specified run and test parameters to mill.Alexandra Dima2019-10-122-30/+55
|
* Changed the clean cache method back to a subprocess because this way it can ↵Alexandra Dima2019-10-124-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 Dima2019-10-127-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 Dima2019-10-122-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 Dima2019-10-122-30/+0
| | | | was in the original mill repo.
* Addressed code review feedback.Alexandra Dima2019-10-127-214/+168
|
* Updated the clean cache method of the mill build server to use system ↵Alexandra Dima2019-10-121-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 Dima2019-10-121-26/+5
|
* Modified the construction of the string ids for each BuildTargetIdentifier ↵Alexandra Dima2019-10-122-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 Dima2019-10-121-11/+12
| | | | atomic, such that their incrementation will be thread safe.
* Modified the compilation diagnostics reporter to send not only the currently ↵Alexandra Dima2019-10-124-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 Dima2019-10-122-11/+59
| | | | intellij can display the project correctly.
* Modified the sources and inversed sources requests to be compatible with ↵Alexandra Dima2019-10-121-5/+10
| | | | returing directories of source files rather than individual source files.
* Fixed bug in computing the compilation output directory for the ↵Alexandra Dima2019-10-121-3/+2
| | | | buildtTargetScalacOptions method.
* Fixed bug in building the data field of a BuildTarget which represents a ↵Alexandra Dima2019-10-121-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 Dima2019-10-121-1/+1
| | | | Also changed the startServer command from the json connection file.
* Added support for sending start/finish compilation notifications even when ↵Alexandra Dima2019-10-124-21/+42
| | | | all targets are sent to the mill evaluator together.
* Improved compilation by sending all requested targets to the mill evaluator ↵Alexandra Dima2019-10-123-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 Dima2019-10-121-3/+11
|
* Added progress notifications during run and test tasks too.Alexandra Dima2019-10-121-3/+6
|
* Added progress notifications during compilationAlexandra Dima2019-10-122-13/+4
|
* Adding the scratch folder to git.Alexandra Dima2019-10-121-0/+33
|
* Fixed bug in computing the testing arguments from bsp in buildTargetTest.Alexandra Dima2019-10-123-3/+11
|
* Added notification from server to client to show a message that either no ↵Alexandra Dima2019-10-121-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 Dima2019-10-121-0/+1
|
* Removed commented code and fixed bug in assigned target ids. Now the uri of ↵Alexandra Dima2019-10-122-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 Dima2019-10-123-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 Dima2019-10-124-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 Dima2019-10-124-34/+150
| | | | the compile parameters specified through bsp
* Fixed bugs in getting target capabilities and dependencies.Alexandra Dima2019-10-122-5/+5
|
* Added the custom bsp reporter to the evaluation of the run task in ↵Alexandra Dima2019-10-121-1/+5
| | | | buildTargetRun.
* Fixed issue with retrieving line and offset of errors found during compilation.Alexandra Dima2019-10-122-13/+9
|
* Fixed compilation error, removed print statements and unnecessary code.Alexandra Dima2019-10-122-112/+1
|