Commit Graph

657 Commits

Author SHA1 Message Date
Jeremie Dimino eff7153821 fix compatibility with 4.03 2016-03-02 17:46:55 +00:00
Jeremie Dimino 5bfd1ba632 setup directories properly 2016-02-24 11:08:20 +00:00
Jeremie Dimino c816baf8fb register missing compiler error printer 2016-02-24 11:03:51 +00:00
Jeremie Dimino a51d79079a handle errors in UTop_main.interact 2016-02-24 10:46:18 +00:00
Jeremie Dimino 05a0816d95 make UTop_main.interact work and add an example 2016-02-23 11:27:22 +00:00
Jeremie Dimino fa05edcc93 first try at UTop_main.interact 2016-02-23 11:06:52 +00:00
Jeremie Dimino 2f48c9f512 update README with new emacs instructions 2016-02-09 17:16:50 +00:00
Jérémie Dimino fd7c663264 #156: start of support for quoted strings 2016-02-04 08:06:11 +00:00
Jeremie Dimino b63e0f9225 fallback to latin-1 instead of escaping with \yHH
Fixes #155
2016-02-01 08:55:17 +00:00
Jeremie Dimino 9e41bf85da Better check for async rewrite
Resolve the types Async.Std.Deferred.t instead of hard-coding a list
of aliases.

Fix #137
2016-01-07 10:30:53 +00:00
Jeremie Dimino e608977856 add a `#pwd` directive
Closes #149
2015-11-23 12:48:27 +00:00
Jeremie Dimino b37ead142a Fix build of the custom-utop example
Fixes #148
2015-11-23 10:38:40 +00:00
Jérémie Dimino 921270c121 Merge pull request #145 from syohex/fix-non-exist-function
Fix non-exist function
2015-11-05 10:47:08 +00:00
Syohei YOSHIDA 5c58afb3de Fix non-exist function
Emacs does not have 'replace-in-string' function.
2015-11-05 19:32:03 +09:00
Jeremie Dimino 0003236802 attempt at fixing #141 2015-11-02 15:10:51 +00:00
Jeremie Dimino c41969dc62 allow to configure the external editor 2015-10-29 10:07:28 +00:00
Jeremie Dimino 8d104762ce set temporary file for external editor 2015-10-29 09:55:31 +00:00
Jeremie Dimino 2a8762c0f7 update definition of Deferred.t
It is now Async_kernel.Deferred0.t.

Fixes #137
2015-08-17 10:19:49 +01:00
Jeremie Dimino d1419acbb7 make sure is never called
This cause a failure when pressing Enter in history search mode
2015-08-07 11:03:25 +01:00
Jeremie Dimino a721d13082 update error message for utop-setup-ocaml-buffer 2015-08-06 10:58:42 +01:00
Jeremie Dimino 86c68d118e add UTop.set_margin_function 2015-08-04 11:44:36 +01:00
Jeremie Dimino fccbafa75b don't trust locations returned by the compiler 2015-08-04 11:26:28 +01:00
Jeremie Dimino bdfecd6fd3 bump version to 1.18 2015-06-23 09:57:51 +01:00
Jeremie Dimino 6feae0a9f1 update CHANGES 2015-06-23 09:57:34 +01:00
whitequark 46fde2b36b Fix cppo link in readme (closes #133) 2015-05-24 01:52:42 +03:00
Jeremie Dimino 92fafe1f48 Add UTop.end_and_accept_current_phrase
Closes #131
2015-05-12 16:46:24 +01:00
Jeremie Dimino 90ffbe737a build with trunk 2015-03-18 16:47:29 +00:00
Jeremie Dimino c4bf0cc25e update man page and readme 2015-01-12 10:06:08 +00:00
Jeremie Dimino 0a386c3fb8 use simpler emacs features for utop-compat-resolve
Some people have complained about this in the past IIRC.
2015-01-12 09:56:50 +00:00
Jeremie Dimino 1fa1b1f0b3 simplify utop-compat-resolve
No need to try loading one of the major mode as utop-mode is now a
minor mode and has to be used in conjunction with the current major
mode of the buffer.
2015-01-12 09:36:54 +00:00
Jérémie Dimino 0d606f6dae Merge pull request #124 from mads379/refactor-major-mode-use
Refactor major mode use
2015-01-12 09:36:07 +00:00
Mads Hartmann Jensen 6e7314861e Code review by @diml
- Changed default key-binding for utop to C-c C-s to match tuareg
  default
- Add some compatibility functions to make the transition easier for
  existing users
2015-01-11 13:20:03 +01:00
Mads Hartmann Jensen cdd4163d16 Update README to reflect new configuration 2015-01-05 13:24:32 +01:00
Mads Hartmann Jensen ff3a379c5b Use autoload cookies 2015-01-02 13:06:48 +01:00
Mads Hartmann Jensen 1290b09521 A step closer to not relying on other major mode's variables 2015-01-02 12:11:02 +01:00
Mads Hartmann Jensen 3c958ebf2e Use minor mode rather than overriding variables at runtime 2015-01-02 11:44:08 +01:00
Peter Zotov 791d95b94f Add base-unix and base-threads to opam depends.
This addresses a common complaint from novice users, who somehow
manage to uninstall base-unix and base-threads.
2014-12-20 22:02:16 +03:00
Peter Zotov d02b7bbcd4 Bump version to 1.17. 2014-12-12 05:41:16 +03:00
Peter Zotov 884328596a Re-export Config.load_path as UTop.load_path
This change helps to implement toplevel extensions that want
to find files in the load path, e.g. for improved error messages.
2014-12-11 23:25:12 +03:00
Peter Zotov ff18d998b5 Add findlib predicate pkg_utop
This allows required packages to distinguish whether they are
loaded in regular toplevel or in utop, and thus call Toploop
functions or those in UTop.
2014-12-11 13:47:03 +03:00
Peter Zotov 970b308126 Use tuple comparisons, present since cppo 1.1.2. 2014-11-17 17:58:12 +03:00
Jérémie Dimino b7259ae286 Merge pull request #111 from mads379/master
#108 Enable utop-command to be buffer-local
2014-11-05 11:59:39 +01:00
Mads Hartmann Jensen 137151cca9 #108 Enable utop-command to be buffer-local 2014-11-04 17:44:28 +01:00
Peter Zotov 35419a3284 Expose API documentation on github pages.
Also, unbreak documentation builds with style.css,
and use @dbuenzli's style, which is quite nicer than
the existing one.
2014-10-28 03:40:23 +03:00
Peter Zotov caf6ac1031 examples/custom-utop: no need for -cflag/-lflag anymore. 2014-10-28 01:50:15 +03:00
Peter Zotov 6f07ec0911 Remove utils/install-compiler-libs.sh.
utop now depends on OCaml >=4.01, which has compiler-libs
installed properly.
2014-10-28 01:38:20 +03:00
Peter Zotov 93ce7dbee6 Remove --force from git add options in dist.
This has caused me to put _build into a release at least twice.
/cc @diml
2014-10-22 18:47:05 +04:00
Peter Zotov 3fe804e340 Fix 4.01 compatibility. 2014-10-22 18:22:52 +04:00
Peter Zotov 5261d02c25 Bump version to 1.16. 2014-10-20 21:59:50 +04:00
Peter Zotov 5be698d124 Update opam file for opam 1.2. 2014-10-20 21:56:31 +04:00