385 Commits

Author SHA1 Message Date
Andrew Gibiansky
e1151a0b0c Merge pull request #28 from edechter/readme_changes
Readme changes
2013-11-03 18:17:10 -08:00
Adam Vogt
aadb4c7cee make completion lexing slightly more reliable 2013-11-03 20:12:41 -05:00
Andrew Gibiansky
9d23d02c7e Merge pull request #32 from edechter/notebook_completions
Fix up complete_reply messages (#8).
2013-11-03 16:39:08 -08:00
Eyal Dechter
26630501b9 Fix up complete_reply messages (#8).
The reason that aavogt's complete_reply messages were not showing up is because the "Messagin in IPython" documentation is missing a field for the complete_reply messages. There needs to be a "matched_text" field which contains the part of the line on which completions were computed. I have added that field and it seems to work now.

FYI, I figured this out because tab completion on the notebook was raising javascript errors in the browser. For future reference, this could be a useful thing to check if something in the notebook is not working.
2013-11-03 18:36:48 -05:00
Eyal Dechter
4fd721be39 Merge 'master' changes to README.md
Clarified the difference between cabal repl and calling ghci directly and added additional language pragmas into the .ghci file.

Conflicts:
	README.md
2013-10-31 11:31:17 -04:00
Andrew Gibiansky
26c22a77c7 Merge pull request #27 from aavogt/master
documentation update
2013-10-31 08:13:49 -07:00
Eyal Dechter
002fcef26a Merge branch 'readme_changes' of github.com:edechter/IHaskell into readme_changes 2013-10-31 11:02:16 -04:00
Eyal Dechter
a096999338 Suggest using cabal repl. 2013-10-31 11:01:46 -04:00
Eyal Dechter
9d2dbc922a Suggest using cabal repl. 2013-10-31 10:59:16 -04:00
Adam Vogt
dfc3ec51f0 fix help string: there is no run command. 2013-10-31 10:57:18 -04:00
Adam Vogt
5fde85569c Add .ghci to repo and suggest the more reliable cabal repl 2013-10-31 10:53:12 -04:00
Adam Vogt
4d6ebdd007 add Description : field for haddock
descriptions are copied from README mostly, but a couple
were missing from there
2013-10-31 10:51:11 -04:00
Eyal Dechter
d90bbebc7a Add README text about all the language extensions needed and about using cabal-dev instead.
The cabal file keeps track of the options necessary to install the package successfully. Running cabal-dev ghci will automatically take the cabal file options into account when launching ghci. Therefore, it is probably preferable to maintaining your own .ghci file.
2013-10-31 10:07:25 -04:00
Andrew Gibiansky
4f162ffc30 formatting fixes for README 2013-10-31 06:47:24 -07:00
Andrew Gibiansky
dfc78d6c43 Merge pull request #26 from edechter/master
Add info about using GHCi with this package
2013-10-31 06:44:29 -07:00
Eyal Dechter
491fe2e262 Edit README.md about OverloadedString pragma in .ghci 2013-10-31 09:40:19 -04:00
Eyal Dechter
20195f8b11 Remove OverloadedString pragma 2013-10-31 09:39:32 -04:00
Eyal Dechter
5a98bc3815 Add basic instructions on loading IHaskell files into ghci for the first time 2013-10-31 09:24:21 -04:00
Eyal Dechter
f4fb511f11 Add OverloadedString language pragma 2013-10-31 09:02:27 -04:00
Andrew Gibiansky
11890d2950 Merge pull request #24 from aavogt/master
#21 and a start at some doctest
2013-10-28 22:45:09 -07:00
Adam Vogt
b00fd1c740 Merge branch 'master' of https://github.com/gibiansky/IHaskell
Conflicts:
	IHaskell/IPython.hs
2013-10-28 18:52:06 -04:00
Andrew Gibiansky
8be12ced9e added note about installing cabal 2013-10-28 12:58:14 -07:00
Andrew Gibiansky
8fc234f6f3 Merge branch 'master' of github.com:gibiansky/IHaskell 2013-10-28 12:55:45 -07:00
Andrew Gibiansky
4fe42de2de Add newlines to error messages. Do not send empty py_out messages. 2013-10-28 12:55:10 -07:00
Andrew Gibiansky
4d7aad3242 Merge pull request #23 from Carreau/random-port
select another default random port for notebook
2013-10-28 12:43:36 -07:00
Matthias BUSSONNIER
332b7ddf14 select another default random port for notebook
Otherwise browser might do some non-desired caching of some
resources like custom.js which is annoying for people using
ipython-notebook for many languages.
2013-10-28 18:59:20 +01:00
Andrew Gibiansky
10002807f0 Using ipython locate to find ipython profile directory. 2013-10-28 08:48:50 -07:00
Andrew Gibiansky
722c46f978 Merge pull request #20 from Carreau/qt-no-autoex
Disable auto-execute in qtconsole
2013-10-28 07:28:40 -07:00
Andrew Gibiansky
0a01b5ee52 Merge pull request #22 from Carreau/customjs
add custom.js file for notebook customisation
2013-10-28 07:27:59 -07:00
Adam Vogt
1cff0d4e16 add doctest runner 2013-10-28 09:16:48 -04:00
Adam Vogt
f159fca4a8 fix #21 by ignoring stuff after each valid int 2013-10-28 09:12:35 -04:00
Matthias BUSSONNIER
3ddaf0e5e5 add custom.js file for notebook customisation 2013-10-28 10:07:09 +01:00
Matthias BUSSONNIER
5932b632c4 disable auto-execute in qtconsole 2013-10-28 09:25:33 +01:00
Andrew Gibiansky
0b63c0ce0b make note of the fact that you need ipython 1.0 or higher 2013-10-27 19:11:01 -07:00
Andrew Gibiansky
75b17b55c0 Check for IPython version. 2013-10-27 19:08:41 -07:00
Andrew Gibiansky
13af0ec277 Renamed to not have spaced. 2013-10-27 18:39:49 -07:00
Andrew Gibiansky
715a79fbf7 Syntax errors no longer break file IO and everything. 2013-10-27 17:33:31 -07:00
Andrew Gibiansky
159753e117 Change b'' to just ''. 2013-10-27 17:14:07 -07:00
Andrew Gibiansky
e52d4181dd Adding more general configuration mechanism. 2013-10-27 16:44:13 -07:00
Andrew Gibiansky
89fdda8acc Finished a comment. 2013-10-27 16:03:50 -07:00
Andrew Gibiansky
caa67f62f0 Fixing IHaskell path resolution for 'IHaskell setup'. 2013-10-27 16:03:06 -07:00
Andrew Gibiansky
56bbd24963 Merge pull request #17 from aavogt/master
a bunch of changes
2013-10-27 15:31:07 -07:00
Andrew Gibiansky
bab15526da Merge pull request #6 from luispedro/master
DOC List happy as dependency
2013-10-27 15:29:50 -07:00
Adam Vogt
5bf324d21f use package system-argv0 to find IHaskell binary instead of $PATH
This allows you to for example use ./dist/build/IHaskell/IHaskell.
However, things can still be confusing in the sense that your ihaskell
might be using code not from the particular binary you started the
notebook with because there is still only one
.config/ipython/profile_haskell/ipython_config.py
2013-10-26 10:55:08 -04:00
Adam Vogt
47993528e2 list modules used in cabal file (needed later if it comes to cabal sdist) 2013-10-24 22:38:39 -04:00
Adam Vogt
a2553fa5c9 generate completions on the ghc-side, doesn't get interpreted correctly yet
see note in Completion.hs
2013-10-24 22:35:29 -04:00
Adam Vogt
3700cbb31d don't hardcode ghc version reported to IPython 2013-10-24 22:13:33 -04:00
Adam Vogt
dddf4c4e61 Merge https://github.com/gibiansky/IHaskell 2013-10-23 13:29:30 -04:00
Adam Vogt
cd176b504b support messages for CompletionRequest/reply (#8).
does not generate any completions for now, and I'm not sure
if the CompletionReply ends up being formatted correctly.
2013-10-23 13:26:33 -04:00
Andrew Gibiansky
e6f9fbdb31 Merge branch 'master' of github.com:gibiansky/IHaskell 2013-10-23 09:31:50 -07:00