aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove dependency on Shakealexwl2019-03-241-1/+9
|
* Fix typoalexwl2019-03-241-1/+1
|
* Add stack-8.6.4.yamlalexwl2019-03-242-1/+9
|
* Add script to install multiple versions at once. (#29)Ian Jeffries2019-03-241-0/+162
| | | | | | | | | | | | | | | | Eg (given that my local bin path for the project is set to ./.bin in my stack.yaml): $ ./install.hs <lots out output> $ ls .bin haskell-code-indexer-8.0.2* haskell-code-indexer-8.4.4* haskell-code-indexer-8.2.2* haskell-code-indexer-8.6.3* haskell-code-indexer-8.4.3* haskell-code-server* Note that it works by installing and then moving the `haskell-code-indexer` executable in your project's bin to `haskell-code-indexer-X-Y-Z`. So if you already have a plain `haskell-code-indexer` executable before the run it will be deleted. It uses plain IO instead of Shake because Shake runs actions in unpredictable order. One of the goals of the script is that it will install haskell-code-server and the latest haskell-code-indexer as soon as possible, so that it's useful even if you have to cancel the run for some reason. Shake was running the haskell-code-indexer command at the correct time, but then waiting to copy it to its -X-Y-Z final home until near the end of the run. (Also this is really just a simple install script, we don't need another layer of caching from Shake for it.)
* Update READMEalexwl2019-03-231-0/+2
|
* Default --package to '.' (#27)Ian Jeffries2019-03-232-2/+5
|
* Hide the left panel by default on small screens; reduce initial-scalealexwl2019-03-234-14/+18
|
* Add support for GHC 8.6.4alexwl2019-03-148-6/+31
|
* Fix search results: add a package name and a module name of an identifier ↵alexwl2019-03-086-1441/+1419
| | | | that doesn't have exact location info
* Fix 'go to definition' on the Packages pagealexwl2019-03-081-1/+2
|
* Remove unused callbackalexwl2019-03-081-4/+2
|
* Update READMEalexwl2019-02-261-0/+9
|
* Adds an option to use public Hoogle JSON API ↵alexwl2019-02-2010-1373/+1523
| | | | (https://github.com/ndmitchell/hoogle/blob/3dbf68bfd701f942d3af2e6debb74a0a78cd392e/docs/API.md#json-api) to get documentation for not indexed packages. Closes #21.
* Remove unused variables and functionsalexwl2019-02-202-9/+4
|
* Optimize the process of adding links to Haskell language extension docsalexwl2019-02-143-15/+18
|
* Add a switch between 'search in the current package' and 'search in all ↵alexwl2019-02-138-86/+123
| | | | packages' on the package page
* Fix search for '.' and '..' identifiersalexwl2019-02-085-20/+47
|
* Add identifier search in all indexed packagesalexwl2019-02-0616-146/+425
|
* Add links to Haskell language extensions docsalexwl2019-01-288-1580/+2093
|
* Optimize memory usage of haskell-code-serveralexwl2019-01-233-251/+976
| | | | | | This commit adds an option to create an on-disk key-value store that contains all the data from PackageInfo of each indexed package in a queriable form. The store can be used by haskell-code-server to respond to API requests. The main benefit of using the store, compared to deserializing and loading PackageInfo of each package into memory, is reduced memory usage (approximately 7 times for a set of Haskell packages). The key-value store on disk consists of two files: 'index' and 'values'. 'index' is a small file that contains a map from strings to locations in a 'values' file. 'index' file should be deserialized and loaded into memory. 'values' is a large file that contains serialized Haskell data structures. 'values' file can be either read directly (without deserializing) or memory-mapped.
* Add GHC command line options to the debug outputalexwl2019-01-171-2/+4
|
* Fix READMEalexwl2019-01-111-1/+1
|
* Update stack.yaml, use lts-13.0alexwl2018-12-301-1/+1
|
* Add support for GHC 8.6.3alexwl2018-12-2313-123/+833
|
* Replace Vector.fromList with Vector.fromListNalexwl2018-12-132-10/+4
| | | | Vector.fromListN allocates less memory and allows to remove the call to Vector.force before compaction ('compact $ Vector.fromList [1,2,3]' crashes, 'compact $ Vector.fromListN 3 [1,2,3]' doesn't crash)
* Index injectivity annotationsalexwl2018-12-101-1/+19
|
* Show 'No location info' message for Paths_* modulesalexwl2018-11-303-5/+6
|
* Improve error messages about dist directoryalexwl2018-11-231-19/+42
|
* Add cross-package 'find references'Alexey Kiryushin2018-11-1615-63/+192
|
* Add cabal.project.freeze (for ghc-8.4.4)alexwl2018-11-151-0/+228
|
* Check for the presence of stack.yaml in the parent directories. Fixes #13.alexwl2018-11-131-5/+9
|
* Merge pull request #14 from capital-match/PR/fix-build-failureAlexey Kiryushin2018-11-132-1/+28
|\ | | | | Fix build failure, #12
| * Add proper cabal.project file with cabal-helper as subpackageJulian Ospald2018-11-131-0/+21
| |
| * Fix build with haddock-library >= 1.6.0Julian Ospald2018-11-131-1/+7
|/
* Remove -Werror flagalexwl2018-11-121-3/+6
| | | | -Werror flag makes warnings fatal. This flag should never be set.
* Fix pattern synonym declarationsalexwl2018-11-112-8/+16
|
* Embed static assets in haskell-code-server executable.alexwl2018-11-073-4/+26
| | | | When there is no --js-path option, haskell-code-server serves embedded static assets.
* Add support for GHC 8.4.4alexwl2018-11-047-8/+28
|
* Update README and fix project titlealexwl2018-11-029-1374/+1399
|
* Fix HTML page titlealexwl2018-10-283-9/+10
|
* Show multiple references to an identifier on the same line as one item in a ↵alexwl2018-10-251-24/+29
| | | | list of references
* Index quoted identifiers (Template Haskell)alexwl2018-10-201-0/+33
| | | | This makes identifiers in TH expression like 'value or ''Type clickable in Haskell code explorer
* Fix https://github.com/alexwl/haskell-code-explorer/issues/8alexwl2018-10-141-2/+8
|
* Add GHC 8.4.3 support to READMEalexwl2018-10-141-5/+10
|
* Merge branch 'ghc-8.4.3'alexwl2018-10-1413-73/+471
|\
| * Index type constructor in RoleAnnotDeclalexwl2018-10-141-1/+16
| |
| * Fix all GHC 8.4.3 compatibility issues. Needs a bit more testing.alexwl2018-10-129-50/+265
| |
| * WIP. It compiles with ghc-8.4.3, but not all features of the indexer are ↵alexwl2018-10-099-101/+269
| | | | | | | | supported yet.
* | Add `--no-ghc-package-path` option to `stack exec` command in READMEalexwl2018-10-101-2/+1
|/ | | It fixed the "Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with Cabal" error.
* Update cabal-helper to version 0.8.1.2 that supports Cabal (>=1.14 && <1.26 ↵alexwl2018-10-0857-1/+4847
| | | | | | || >=2.0 && <2.5) Building cabal-helper-0.8.1.2 with Stack failed with 'Dependency cycle detected' error. It seems to be https://github.com/commercialhaskell/stack/issues/4265 Stack bug. As a temporary solution I added source code of cabal-helper package to vendor directory and commented out 'build-tool-depends: cabal-helper:cabal-helper-wrapper' line in the cabal-helper.cabal file.