114 Commits

Author SHA1 Message Date
Vaibhav Sagar
616bc00e73 Attempt to set error status 2019-03-05 21:23:31 -05:00
Alexey Khudyakov
16532afecf Implement update_display_data message
This commit adds new message update_dispaly_data and updates
display_data message to add optional transient field which
is in turn used by update_display_data
2018-11-17 13:39:38 +03:00
Vaibhav Sagar
fd5cbf3493 ipython-kernel: add Semigroup instance 2018-11-16 18:44:41 -05: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
Vaibhav Sagar
c9c923b228 ipython-kernel: slightly faster hashing 2018-09-30 14:43:40 -04: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
15d751447f Clean out support for old ghcs from cabal files 2018-08-28 23:02:15 +10:00
Vaibhav Sagar
335005115b ipython-kernel/examples: add languagePygmentsLexer 2018-08-07 00:06:04 +08:00
Vaibhav Sagar
bb712033cc ipython-kernel: specify default-language for all components 2018-07-21 16:18:09 +08:00
MMesch
1085c3a4e1 new version numbers 2018-07-20 10:06:17 +02:00
Vaibhav Sagar
8a272e1536
Merge pull request #890 from MMesch/fancy_logo
use a colorful haskell logo
2018-07-19 04:54:20 +02:00
MMesch
e942382836 json and vegalite are working 2018-07-18 21:03:37 +02:00
MMesch
804a61d70d use a colorful haskell logo 2018-07-18 16:18:38 +02:00
MMesch
d6a5af4fec new jupyterlab mime types 2018-07-18 15:57:05 +02: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
d5b56fbb51 remove 'source' property from displayData message 2018-07-14 10:47:29 +02:00
MMesch
1d9f7c357b send IOPub idle message with KernelInfoReply 2018-07-14 10:33:03 +02:00
Vaibhav Sagar
673ad74b42 ipython-kernel: use cryptonite instead of SHA 2018-05-30 21:52:19 +08:00
Vaibhav Sagar
bc3d25dc73 ipython-kernel: bump version 2018-03-17 11:06:26 +08:00
Vaibhav Sagar
348eff6ce5 ipython-kernel: 0.9.0.1 2017-12-23 00:15:39 +08:00
zainab-ali
cc570a22c2 Make silent and store_hitsory optional params 2017-10-08 17:34:28 +01:00
Andrew Gibiansky
3136676bbd Bump version in cabal file for upload 2017-08-18 23:49:38 -07:00
Andrew Gibiansky
5ba44347ae minor fixes to upload ipython-kernel and ghc-parser 2017-08-18 20:39:53 -07:00
Andrew Gibiansky
be4c870d99 Bump version in cabal file for upload 2017-08-18 20:03:27 -07:00
Andrei Barbu
36467e8e86 relax overly-tight package bounds; stack file update 2017-03-06 05:21:45 -05: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
Vaibhav Sagar
50a144ced8 Minor fixes. 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
Sumit Sahrawat
6659dd8336 Fix examples & add them to travis build 2016-06-16 06:12:07 +05:30
Sumit Sahrawat
8e381a7f54 Add more configurables for EasyKernel 2016-06-16 05:49:10 +05:30
Sumit Sahrawat
ba7cd9c84e Fix #665: Incomplete KernelInfoReply from EasyKernel.replyTo 2016-06-16 05:49:10 +05:30
Andrew Gibiansky
905450e1b8 Fix pager to use display data mime bundles; remove user_variables. 2016-06-11 23:15:29 -07:00
Sumit Sahrawat
90f967c126 Formatting fixes 2016-06-03 18:09:16 +05:30
Andrew Gibiansky
a43075af12 Bump package versions 2016-03-21 09:54:57 -07:00
Andrew Gibiansky
f7e9853de6 Allow aeson 0.11 2016-03-21 09:53:26 -07: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
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
Sumit Sahrawat
376c6dd0be Fix not in scope errors on ghc-7.* 2015-10-28 16:33:27 +05:30
Sumit Sahrawat
4ebeb1fb58 Formatting fixes 2015-10-28 15:39:59 +05:30
Tom McLaughlin
6d3afb9e66 Merge master 2015-10-26 13:10:47 -07:00
Tom McLaughlin
cb37ce4cb5 Remove DisplayData show 2015-10-26 11:47:13 -07:00
Tom McLaughlin
3e9677ccab Cleaning up build 2015-10-26 11:42:22 -07:00
Andrew Gibiansky
89ba1ded48 Update to 0.8.2, support for aeson 0.11 2015-10-06 10:05:23 -07:00
Sumit Sahrawat
bcc861ae95 Formatting fixes 2015-09-12 09:49:46 +05:30
Sumit Sahrawat
f61ab434c1 Implement the suicidal comm workaround 2015-09-11 11:47:33 +05:30