132 Commits

Author SHA1 Message Date
David Davó
6322e6b02f Output widget display anything 2021-08-06 19:39:05 +02:00
David Davó
7e3f0e0068 Output widget with text 2021-08-06 17:41:50 +02:00
David Davó
b26209a9c8 Merge singletons 3.0 2021-07-04 09:34:51 +02:00
Vaibhav Sagar
a6d0a651f3 ipython-kernel: update tests with languageMimeType 2021-07-04 14:39:44 +08:00
David Davó
cfc3821542 Some updates to 5.0 2021-07-01 11:25:21 +02:00
David Davó
f997f5addb Started with display_data 2021-06-15 15:30:54 +02:00
Vaibhav Sagar
f621b8234a ipython-kernel.cabal: fix cabal-version 2021-04-26 02:59:43 +10:00
Vaibhav Sagar
21ca14d6da ipython-kernel: 0.10.2.1 2020-08-26 00:02:01 +10:00
Junji Hashimoto
9edd25f954 Bump mimetypes of vega 2020-08-25 15:18:52 +09:00
James Brock
ff3872b532 Add mimetype to Kernel Info Reply message 2020-08-13 01:39:25 +09:00
James Brock
88018234e5 sendMessage mhMetadata
Send the header metadata with a message instead of ignoring the header
metadata and sending "{}".

The header metadata is handled correctly on receipt of a message. Why
was it ignored on sending? Probably no-one ever needed it.
2020-06-19 02:34:18 +09:00
Vaibhav Sagar
7bb0077f96 ipython-kernel: 0.10.2.0 2020-05-03 17:01:09 +08:00
James Brock
8c43d47f09 Add buffers field of the Wire Protocol
The Wire Protocol allows for "extra raw data buffer(s)" at the end of a
ZeroMQ message. This commit enables buffers in the ipython-kernel.

https://jupyter-client.readthedocs.io/en/stable/messaging.html#the-wire-protocol

This field has been in "the Wire Protocol" since before the Jupyter Message
specification version 5.0.

https://github.com/jupyter/jupyter_client/issues/520

Resolves issue

https://github.com/gibiansky/IHaskell/issues/1144

I've tested this feature with a proprietary JupyterLab extension and
I've verified that it works. It's difficult to provide a public
reproducible test. The best test may be to get ipywidgets Image working--
that uses buffers.
2020-02-28 15:28:02 +09:00
Tomasz Tylec
f4b9f6563a fix typo in channel name 2020-02-11 10:35:26 +01:00
Vaibhav Sagar
cb4ac95d6d ipython-kernel: support custom mimetypes 2019-11-17 11:05:54 -05:00
Vaibhav Sagar
51b6dc2aa7 ipython-kernel: 0.10.1.0 2019-09-25 21:42:44 -04:00
Vaibhav Sagar
c5d9d43cec ipython-kernel: fix warnings 2019-08-03 12:36:01 -04:00
Andrea Amantini
6d13bbc0e3 Allow sockets to bind to configured ip string in kernel profile
instead of hardcoded localhost (127.0.0.1)
2019-07-23 11:10:00 +02:00
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