131 Commits

Author SHA1 Message Date
Gregory W. Schwartz
66afc48636 Rebasing. 2019-03-04 12:37:33 -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
Thomas Peiselt
f95b71d293 Use hoogle v5.
Hoogle v5 uses a different json representation for the data, requires a
new URL and also contains HTML markup inside the json fields.

This commit removes all markup to be able to handle the hoogle responses
using the same structure as with the previous response structure (from
hoogle v4).
2018-10-24 20:39:22 +02:00
Vaibhav Sagar
9d4d581661 ihaskell.cabal: fix build error on macOS 2018-10-21 01:21:31 -04:00
Erik de Castro Lopo
ba9dadecae ihaskell: Remove partial-fields
GHC 8.4 and later have the `-Wpartial-fields` warning flag, so add it and
fix the warnings.
2018-09-03 20:14:15 +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
Vaibhav Sagar
000ea0fbe0 ihaskell.cabal: kill binPkgDb harder 2018-08-28 13:22:47 -04: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
146f4e04de ihaskell.cabal: bump bounds 2018-08-16 09:50:27 +08:00
MMesch
1085c3a4e1 new version numbers 2018-07-20 10:06:17 +02:00
MMesch
804a61d70d use a colorful haskell logo 2018-07-18 16:18:38 +02:00
Vaibhav Sagar
cea7823d4d ihaskell: bump version 2018-03-17 11:06:26 +08:00
Vaibhav Sagar
8cc1371e01 ihaskell: update 2018-02-08 17:54:51 +08:00
Vaibhav Sagar
9ee1c3f574 ihaskell: 0.9.0.2 2017-12-23 00:15:26 +08:00
Vaibhav Sagar
b942377433 Bump version bounds for 8.2.1 2017-10-14 20:31:32 +08:00
Justus Sagemüller
8dcb905043 Enable +RTS options on the ihaskell executable.
This allows selecting e.g. a number of processors for multithreading other than 1,
or to impose a memory cap.
2017-09-23 13:54:06 +02:00
Justus Sagemüller
da52ee499e Reflect lack of support for GHC<8 in the dependencies.
As per #716, GHC-7 support has at the moment no priority. Use the GHC7 tag
for the last version that retains the original GHC-7.10 support.

https://github.com/gibiansky/IHaskell/releases/tag/GHC7

(However, it is still quite feasible to support GHC-7.10 in master, see
#747.)
2017-09-06 11:46:00 +02:00
Justus Sagemüller
096b1b6bce Adjust dependency lower boundary.
In `haskell-src-exts-1.17`, `Module` was not parameterised yet, so trying
to compile with that version gives

src/IHaskell/Eval/Lint.hs:36:19:
    ‘SrcExts.Module’ is applied to too many type arguments
    In the type ‘SrcExts.Module SrcSpanInfo’
    In the type declaration for ‘ExtsModule’
2017-09-05 18:20:32 +02:00
Andrew Gibiansky
3136676bbd Bump version in cabal file for upload 2017-08-18 23:49:38 -07:00
Vaibhav Sagar
378b245524 Default binPkgDb to False 2017-08-18 23:49:01 -07:00
Andrew Gibiansky
2fcf6f96b5 Bump version in cabal file for upload 2017-08-18 20:00:09 -07:00
Vaibhav Sagar
835194fc8b Update aeson lower bound 2017-03-30 20:48:59 +07:00
Andrei Barbu
deeaf00338 Remove default flags; they break ghci 2017-03-12 20:09:45 -04: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
Erik de Castro Lopo
00478f3b8f Fix a couple of deprecation warnings 2017-03-05 00:58:13 -08:00
Andrew Gibiansky
db3515986c Clean up test suite by splitting it into pieces 2016-06-09 01:21:42 -07:00
Andrew Gibiansky
12e88a36ab Get test suite working again.
Also, add some utilities for working with IHaskell components in `stack
ghci`.
2016-06-07 18:16:58 -07:00
Justus Sagemüller
9eb2235f9e Constrain dependecy of ipython-kernel to actually match the version.
Previously, `cabal install ihaskell` would happily use ipython-kernel-0.8.3, resulting in error

    ‘protocolVersion’ is not a (visible) field of constructor ‘KernelInfoReply’
2016-06-04 11:49:56 +05:30
Sergei Trofimovich
d0854f849d ihaskell.cabal: add missing 'here' depend into testsuite
Preprocessing test suite 'hspec' for ihaskell-0.8.4.0...

Hspec.hs:20:18:
    Could not find module ‘Data.String.Here’
    It is a member of the hidden package ‘here-1.2.7@here_1j09jYtlmBB7SYT9WO9k1d’.
    Perhaps you need to add ‘here’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-03-25 11:20:18 +00:00
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
Andrew Gibiansky
c61006202e Remove dependence on here, allow haskell-src-exts 1.17 2015-12-07 21:33:22 -08:00
Andrew Gibiansky
89ba1ded48 Update to 0.8.2, support for aeson 0.11 2015-10-06 10:05:23 -07:00
Andrew Gibiansky
73a6ddd85e Version bump 2015-09-05 19:36:31 -07:00
Andrew Gibiansky
823bbac9f3 Minor bumps in versioning 2015-08-26 18:01:10 -07:00
Andrew Gibiansky
716d8a6bcc Version bound on ipython-kernel 2015-08-25 21:50:38 -07:00
Andrew Gibiansky
9cbee9df1c Minor updates with JS 2015-08-25 15:37:42 -07:00
Andrew Gibiansky
8e5e51ff14 Adding support for Stack and running without support lib 2015-08-24 13:54:22 -07:00
Andrew Gibiansky
cab4cfdf4b Version bump ihaskell 2015-08-16 00:54:15 -07:00
Andrew Gibiansky
5bdddf7f12 Changing homepage to Github 2015-08-16 00:53:54 -07:00
Luke Randall
cb0dc7a326 Allow aeson 0.9 2015-08-12 22:31:03 +02:00
Andrew Gibiansky
c1c9362997 packaging updates 2015-08-11 11:22:30 -07:00
Andrew Gibiansky
eb6caf068b Merge pull request #508 from sumitsahrawat/widgets
Backbone widgets
2015-06-25 08:26:53 -04:00
Andrew Gibiansky
cb55d6b16a Bumping versions for new release 2015-06-23 23:30:52 -04:00