70 Commits

Author SHA1 Message Date
Tom McLaughlin
861966733a Add output about stack integration when --debug is used 2023-12-02 18:10:27 -08:00
Tom McLaughlin
979e462486 Be able to pass extra flags to stack integration 2023-12-02 18:08:27 -08:00
thomasjm
7a8d728ad1 Switch from pager to HTML output for directives 2023-08-10 23:00:11 -07:00
Hypercube
5577155a5e Fix warnings 2022-12-18 00:00:00 +00:00
Hypercube
6c25824cc7 Fix stack detection 2022-12-16 00:00:00 +00:00
Falco Peijnenburg
d6fc3faf84 Add options to set kernel and display name 2022-11-13 17:23:46 +01:00
Falco Peijnenburg
cd941890cb Return error when evaluation failed 2022-01-16 22:49:17 +01:00
Matthieu Coudron
b73a82804e Print where kernel is installed 2021-11-29 00:17:08 +01:00
Matthieu Coudron
a7c7139e58 chore: cleanup imports
to make the buildlogs clearer
2021-11-11 21:23:37 +01:00
Vaibhav Sagar
e5cc0e3e6f ihaskell: support Aeson 2.0 2021-11-06 12:18:19 -04:00
Vaibhav Sagar
ae6b1fdaca
Install a prebuilt version of jupyterlab-ihaskell automatically (#1270)
* ihaskell: automatically install the prebuilt labextension alongside the kernelspec

* README.md: Update to no longer mention installing jupyterlab-ihaskell
2021-09-10 18:50:38 +10:00
Brandon Chinn
d3cd4f2519 Add --env-file flag 2021-08-18 09:03:26 -07:00
Matthias Meschede
64f5a217d7 add codemirror command line flag 2020-09-22 14:33:14 +02:00
James Brock
ff3872b532 Add mimetype to Kernel Info Reply message 2020-08-13 01:39:25 +09:00
James Brock
28dd8276a9 Update IHaskell kernel for MessageHeader mhBuffers 2020-02-28 15:30:27 +09:00
Vaibhav Sagar
1509bff879 IHaskell.Eval.Evaluate: don't support libraries for testing 2019-09-26 11:12:36 -04:00
Tom McLaughlin
13925c7157 Move busy message as well 2019-05-20 20:04:39 -07:00
Tom McLaughlin
cea94e8eb0 Fix compliance with Jupyter 5.0 spec for idle messages 2019-05-20 20:01:32 -07:00
Vaibhav Sagar
b956d8fbd9 Move ErrorOccurred to IHaskell.Types 2019-03-05 21:44:26 -05:00
Vaibhav Sagar
616bc00e73 Attempt to set error status 2019-03-05 21:23:31 -05:00
Thomas Peiselt
93cfa71d57 Remove duplicate module IHaskellPrelude.
remove module from `main`, and promote from `other-modules` to
`exported-modules` in `library`.

Fixes #971.
2018-11-17 21:20:32 +01:00
Alexander Vershilov
bf631b913f Use Aeson.Object for metadata.
The IPython specification for the metadata does not
define that all fields in metadata must be textual.
Latest Jupyters lab uses that feature so the parsing
mechanism became incomplatible with the protocol.
We change Metadata to be an Aeson.Object and introduce
a 'Metadata' newtype in order to keep that explicit
and open for the later changes if needed.

Fixes #912.
2018-11-16 23:53:48 +03:00
Erik de Castro Lopo
196ccac96d ipython-kernel: Switch on -Wall and fix all warnings
Fixing these warnings required changes to the file names of the `MessageHeader`
struct which makes this commit an API change. The version in the cabal file
has been bumped accordingly.
2018-09-01 22:42:35 +10:00
Erik de Castro Lopo
f43b91294c Switch warnings to -Wall and fix the rest 2018-09-01 18:42:52 +10:00
Erik de Castro Lopo
4c0b3d249b Fix unused import warnings 2018-09-01 18:42:52 +10:00
Erik de Castro Lopo
7115fe470a Fix various unused binding/match/etc related warnings
Add `-Wunused-do-bind -Wunused-local-binds -Wunused-top-binds -Wunused-matches`
and fix all the things.
2018-09-01 18:42:52 +10:00
Erik de Castro Lopo
df39a6d235 Add missing top-level type signatures
Add `-Wmissing-signatures` to `ghc-options`.
2018-09-01 18:42:52 +10:00
Erik de Castro Lopo
ca56a29d78 Fix incomplete pattern matches
Add `-Wincomplete-patterns` to the `ghc-options` field of the cabal file
and fix all warnings.
2018-09-01 18:42:52 +10:00
Erik de Castro Lopo
18e108811f Drop support for GHC < 8.0 2018-08-28 17:51:43 +10:00
MMesch
d57a6ca572 add pygment lexer info 2018-07-14 11:06:07 +02:00
MMesch
c10f3e085b add status to all Reply messages 2018-07-14 10:55:02 +02:00
MMesch
1d9f7c357b send IOPub idle message with KernelInfoReply 2018-07-14 10:33:03 +02:00
Vaibhav Sagar
8cc1371e01 ihaskell: update 2018-02-08 17:54:51 +08:00
Justus Sagemüller
4245ef5191 Include RTS flags in kernelspec when installing. 2017-09-23 13:54:06 +02:00
Vaibhav Sagar
95e1830e23 Change InputMessage to ExecuteInputMessage
This stops nbconvert from complaining.
2017-07-27 21:48:43 +08:00
Andrei Barbu
deeaf00338 Remove default flags; they break ghci 2017-03-12 20:09:45 -04:00
Andrei Barbu
e97b70198f Apply #686 2017-03-05 10:12:24 -05:00
Libby Horacek
090ee844bf Reply to CommInfoRequest with actual open comms 2016-10-11 03:10:53 +05:30
Libby Horacek
321bdd95ff Use a Map instead of list of tuples for commInfo
It's a bit closer to a dictionary.
2016-10-11 03:10:53 +05:30
Libby Horacek
8de1a9e081 Add CommInfoRequest and CommInfoReply 2016-10-11 03:10:53 +05:30
Nicholas Luo
ed3b892e02 Use Paths_ihaskell provided by cabal to get IHaskell version number 2016-02-13 14:58:05 +08:00
Nicholas Luo
b2c8b1f059 Create showDefault to show version when flagged 2016-02-13 14:28:18 +08:00
Nicholas Luo
a76d3b82f1 Combine protocol version with rest of kernel info 2016-02-09 22:26:46 +08:00
Nicholas Luo
05100fe640 Add banner to KernelInfoReply 2016-02-09 22:26:46 +08:00
Andrew Gibiansky
66a75d7222 remove reference to data.string.here 2015-12-16 20:06:21 -08:00
louis
cafd410a98 improved replyTo for isCompleteRequests. single commit 2015-12-10 04:35:28 +01:00
Andrew Gibiansky
c61006202e Remove dependence on here, allow haskell-src-exts 1.17 2015-12-07 21:33:22 -08:00
Sumit Sahrawat
e4e026cb92 Fix #597: Implement is_complete_{request,reply}
These messages are used by console frontends to check whether the
current input is complete or not. If it is not complete, the next line
is treated as the continuation of the code, and a '...' prompt is used
to show that.

To provide support for qtconsole, I have made it such that IHaskell
always responds to an is_complete_request by saying that the code is
complete, which only allows for single line inputs.
2015-10-28 16:33:44 +05:30
Andrew Gibiansky
3ebf5b074f Hide stack support behind --stack flag 2015-10-06 10:18:47 -07:00
Sumit Sahrawat
f61ab434c1 Implement the suicidal comm workaround 2015-09-11 11:47:33 +05:30