Andrea Richiardi
d9f198899b
Refactor hooks for better handling of phrase eval, closes #201 .
...
The patch tries to improve on the current way of evaluating a phrase and
skipping to the next. It removes both `utop-skip-to-end-of-phrase` and
`utop-skip-blank-and-comments`, but adds `utop-next-phrase-beginning`.
We assume `utop-discover-phrase` is always returning the end position as
at end of a `;;`. Thereafter we use `utop-next-phrase-beginning` to skip
to the next phase if `utop-skip-after-eval-phrase` is non-nil.
2017-04-24 07:54:13 +01:00
Jeremie Dimino
ef1e2a619d
Update opam file
2017-04-21 17:43:33 +01:00
Deokhwan Kim
644278311d
Simplify #if directives
...
UTop does not support OCaml < 4.02 anymore.
2017-04-20 13:55:08 +01:00
Jeremie Dimino
7c2ed29196
Update changelog
2017-04-20 11:14:36 +01:00
Deokhwan Kim
5e419e3f82
Run ppx preprocessors for both "input" and "input-multi" commands
...
Fix #192
2017-04-20 11:03:27 +01:00
Jeremie Dimino
a9696b7ea3
Update changelog
2017-04-11 17:37:01 +01:00
Jeremie Dimino
a71455b2fd
Fix directive name
2017-04-11 17:36:56 +01:00
Fabian
4661944155
Add #utop_stash and #utop_save
...
- Strip colour terminal escapes from errors
- Store inputs and outputs seperately in UTop_history
- Add #utop_save, which prints inputs and outputs similar to a simple
prompt
2017-04-11 17:31:58 +01:00
chrismamo1
6b8c78de58
stashing rebased (by chrismamo1)
2017-04-11 17:31:58 +01:00
Jeremie Dimino
f5ee983845
Link the toplevel with -linkall
2017-04-10 18:13:54 +01:00
Jeremie Dimino
4abe1ca311
Topfind.don't_load --> Topfind.don't_load_deeply
...
Since we don't use `ocamlfind ocamlmktop` anymore
2017-04-10 18:13:32 +01:00
Richard Bonichon
f64e9d2e78
Replace handwritten ppf with Format.formatter_of_buffer call
...
- Behavior is identical
- Makes utop forward compatible with merged PR 595 of ocaml trunk
2017-04-05 13:34:41 +01:00
Jeremie Dimino
e45dcbdf9f
typo
2017-04-04 15:45:59 +01:00
Jeremie Dimino
1e3b89d30a
Update travis file
2017-04-04 14:30:19 +01:00
Jeremie Dimino
ea80ba6400
Add findlib_top deps
2017-04-04 14:20:25 +01:00
Jeremie Dimino
46355e96f3
1.20
2017-04-04 13:57:08 +01:00
Jeremie Dimino
4826d0558a
Added comment in Makefile
2017-04-04 13:51:58 +01:00
Jeremie Dimino
2f64eb4785
restore expunge
2017-04-04 13:36:28 +01:00
Jeremie Dimino
8954a2e908
Setup installation of utoprcs and man pages
2017-04-04 13:36:28 +01:00
Jérémie Dimino
e8723c0b9b
Update utop.opam and README.md
2017-04-04 13:36:28 +01:00
Jérémie Dimino
eae41f42a6
Removed camlp4/camlp5
2017-04-04 13:36:28 +01:00
Jérémie Dimino
ba3d278b32
Switch to jbuilder
2017-04-04 13:36:28 +01:00
Jeremie Dimino
d6f6a9465a
Typo
...
Fix #196
2017-03-22 17:33:42 +00:00
Fabian
f2015062fa
Mention #help in #utop_help ( #190 )
2016-11-16 07:47:24 +00:00
Jérémie Dimino
a7e716dd7e
Merge pull request #183 from rleonid/constrain_oasis_in_opam
...
Constrain the oasis dependency
2016-10-07 17:40:29 +01:00
Leonid Rozenberg
b3d617eef8
Conflict with oasis 0.4.7
2016-10-07 12:36:30 -04:00
Jérémie Dimino
85b8a93342
Merge pull request #182 from rleonid/add_myocamlbuild_source_directive
...
Add source directive for accurate error line numbers
2016-10-07 17:32:23 +01:00
Leonid Rozenberg
776f14aeb9
Constrain the oasis dependency
2016-10-07 12:22:38 -04:00
Jérémie Dimino
3ff8459513
Merge pull request #181 from rleonid/complete_mod_use_too
...
Tab complete mod_use directives.
2016-10-07 17:17:50 +01:00
Leonid Rozenberg
7dcdfaa6a9
Tab complete mod_use directives.
2016-10-07 12:14:58 -04:00
Leonid Rozenberg
85a1b79aeb
Add source directive for accurate error line numbers
2016-10-07 11:47:14 -04:00
Jeremie Dimino
d890533675
version 1.19.3
2016-08-15 11:14:45 +01:00
Jeremie Dimino
5e607f898f
change annoying `make install` behavior
2016-08-15 11:01:22 +01:00
Jeremie Dimino
4c530ac123
ci test for 4.03
2016-08-15 10:21:22 +01:00
Jeremie Dimino
c6f3647a45
fix build on 4.02
2016-08-15 10:20:41 +01:00
Jeremie Dimino
f630fa0afc
fix conditional
2016-08-15 10:06:33 +01:00
Jeremie Dimino
d888ee5ba9
Fix 4.04 compatibility
...
Closes #173
2016-08-15 09:32:20 +01:00
Jérémie Dimino
f84b9b10ae
Merge pull request #170 from jaredly/patch-1
...
typo
2016-07-04 07:54:20 +01:00
Jared Forsyth
61bfe67bfb
typo
2016-07-01 07:26:50 -06:00
Jeremie Dimino
9e9ebbfa4a
typo
2016-04-25 11:20:02 +01:00
Jeremie Dimino
aef140ce26
updated opam
2016-04-25 11:03:17 +01:00
Jeremie Dimino
57f8ac4437
make ppx_tools dependency optional
2016-04-25 10:57:01 +01:00
whitequark
80f4b60058
Update for Asttypes.arg_label changes in 4.03.
...
This is required for utop to compile on 4.03.0+beta2.
2016-04-11 20:05:02 +00:00
Jeremie Dimino
fcee98b6f6
remove build of 4.03 due to oasis problems
2016-04-08 10:37:08 +01:00
Jeremie Dimino
06e9b26c58
added travis build status in README.md
2016-04-08 10:16:55 +01:00
Jeremie Dimino
f58c4c752d
added a travis file
2016-04-08 10:14:36 +01:00
Jeremie Dimino
35c740c312
fix 4.01 compatibility
2016-04-08 09:52:11 +01:00
Jeremie Dimino
7b966e17e3
version 1.19
2016-04-07 18:23:37 +01:00
Jeremie Dimino
8d12d48d32
cut search for UTop_main.interact to avoid loops
2016-03-11 16:37:46 +00:00
Jeremie Dimino
236c468bc6
update changelog
2016-03-02 17:47:06 +00:00