29 Commits

Author SHA1 Message Date
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
Andrew Gibiansky
fe89d49748 Add --prefix flag to ihaskell install 2015-08-28 11:41:36 -07:00
Andrew Gibiansky
f4b7fb5983 Allow using ihaskell without stack... 2015-08-25 22:19:18 -07:00
Andrew Gibiansky
a061e22921 Update to newest kernel_info_reply protocol 2015-08-25 15:07:19 -07:00
Andrew Gibiansky
45011f5af4 Fix build failures 3 2015-08-25 13:34:06 -07:00
Andrew Gibiansky
779ecf9e1d Fix build failures 2 2015-08-25 12:36:20 -07:00
Andrew Gibiansky
71265f2d2e Fix build failures 2015-08-25 11:41:21 -07:00
Andrew Gibiansky
8e5e51ff14 Adding support for Stack and running without support lib 2015-08-24 13:54:22 -07:00
Andrew Gibiansky
0c161751e2 Updates 2015-08-24 12:16:16 -07:00
Andrew Gibiansky
460081f181 Fixing compiler error 2015-08-13 01:04:10 -07:00
Andrew Gibiansky
8055216be8 Minor comments 2015-08-12 19:45:46 -07:00
Sumit Sahrawat
16a4fcad57 More minor fixes
- Make hlint happy.
- Reformat using hindent.
- Add explanatory comments in some places.
- Use Control.Monad.foldM for IHaskell.Eval.Widgets.widgetHandler
2015-06-12 23:49:22 +05:30
Sumit Sahrawat
8c2b9a4e68 Send status updates for comm replies 2015-06-10 02:17:16 +05:30
Sumit Sahrawat
c76feb6fc5 Seamless outputs from buttons
It just works.
2015-06-10 01:55:27 +05:30
Sumit Sahrawat
e253c8481f Separate out publish to a module
Separate out publish to IHaskell.Publish
Replace publish with publishResult, which also requires more arguments.
2015-06-09 14:02:59 +05:30
Sumit Sahrawat
b1efbc1c39 Fix kernel death on opening notebooks with widgets
Previously, the kernel would die when opening a notebook with widgets
as there is no widget stored in the kernel when it starts.
2015-06-05 14:19:57 +05:30
Sumit Sahrawat
ba05744db4 Seamless click handling
Evaluate accumulated widget messages in the Ghc Monad, after a comm_msg
recieved from the frontend is handled.
2015-06-05 12:24:17 +05:30
Sumit Sahrawat
37e4c2a634 Move some functions around
- Move dupHeader to IHaskell.Types
- Move handleMessage and widgetHandler to IHaskell.Eval.Widgets
- Make handleMessage and widgetHandler more flexible
2015-06-05 11:15:09 +05:30
Sumit Sahrawat
42907a5bb4 Conform to the messaging spec
Still no visible outputs.
2015-06-04 12:39:16 +05:30
Sumit Sahrawat
1ab66f3535 Basic framework for widgets 2015-06-02 12:38:51 +05:30
Andrew Gibiansky
6df3ee72bb Fixing kernel death, closes #505 2015-05-27 18:31:37 +02:00