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
Peter Zotov
fbc4e1d523
Add instructions for building with camlp4 support to README.
2014-10-20 20:16:39 +04:00
Peter Zotov
88f1a730f1
Update dependencies in README.
2014-10-20 20:14:08 +04:00
Peter Zotov
11442761a0
Merge pull request #103 from diml/die-camlp4-die
...
Remove hard dependency on camlp4
2014-10-20 20:07:42 +04:00
Peter Zotov
f17f8f2959
Print out a nice message if trying to load camlp4 with no support.
...
This handles #camlp4o;; #camlp4r;; and also indirect cases
like #require "sexplib.syntax";;.
2014-10-20 20:04:18 +04:00
Peter Zotov
9254d5cf92
Make --disable-camlp4 the default.
2014-10-20 20:03:45 +04:00
Peter Zotov
c1bcb5abc5
Fix myocamlbuild expunge code that broke after 0.3->0.4 OASIS migration.
2014-10-20 19:53:18 +04:00
Peter Zotov
789417bfce
Migrate from deprecated Format functions.
2014-10-20 17:14:39 +04:00
Peter Zotov
2eea83a65f
Remove unused/deprecated autodetection from myocamlbuild.ml.
...
FINDLIB_VERSION is not used anymore.
compiler-libs are provided as a package in findlib >=1.4.
errors.cmi is now provided by compiler-libs.
2014-10-20 17:14:39 +04:00
Peter Zotov
6f7ac4559f
Remove compatibility with pre-4.01.0.
2014-10-20 17:14:39 +04:00
Peter Zotov
1205520aff
Update deprecated License value in _oasis.
2014-10-20 16:20:55 +04:00
Peter Zotov
121b1a9e58
Get rid of lwt.syntax.
2014-10-20 16:20:55 +04:00
Peter Zotov
257bfa7eb6
Replace pa_optcomp with cppo.
2014-10-20 16:20:55 +04:00
Peter Zotov
7c8a68eea6
Add a flag to build utop-camlp4 conditionally.
2014-10-18 20:42:43 +04:00
Peter Zotov
8e061eced3
Merge pull request #102 from maverickwoo/master
...
change error message formatting of #require
2014-10-18 02:25:53 +04:00
Maverick Woo
2116ebdcfc
change error message formatting of #require
...
Before:
utop # #require "foo";;
No such package: foo""
After:
utop # #require "foo";;
No such package: foo
The quoted empty string due to %S can be confusing to students.
2014-10-17 11:57:32 -04:00
Peter Zotov
ea45f25c73
Implement wrapper for -safe-string ( fixes #93 ).
2014-09-08 23:25:25 +04:00
Peter Zotov
1dc1720fa4
Version 1.15
2014-08-30 12:17:14 +02:00
Jérémie Dimino
8c073bc7f5
Merge pull request #86 from lunaryorn/improve-emacs-setup-instructions
...
Improve Emacs setup instructions
2014-08-22 13:07:34 +01:00
Sebastian Wiesner
638ff52e0b
Improve Emacs setup instructions
...
Use parse-colon-path instead of split-string, preserve exec-directory in
exec-path, and add an absolute directory to load-path.
2014-08-22 13:55:33 +02:00
Jérémie Dimino
8545a6e048
Merge pull request #85 from mads379/master
...
Close *Completions* buffer after evaluation
2014-08-22 09:29:15 +01:00
Mads Hartmann Jensen
064d874e61
Prettier fix for closing completion buffer
2014-08-21 22:35:26 +02:00
Mads Hartmann Jensen
081a10dadd
Close *Completions* buffer after evaluation
...
This is a quick fix for #84 . There might be a better place in the
code for the fix but this certainly does the trick.
2014-08-21 19:06:08 +02:00
Jeremie Dimino
50a398744a
handle Syntaxerr.Ill_formed_ast
2014-08-18 11:29:34 +01:00
Jeremie Dimino
fac09516fc
ignore completion errors from invalid cmis
2014-08-18 11:27:03 +01:00
Peter Zotov
1541f25520
Fix compatibility with 4.02.
2014-08-07 15:31:14 +04:00
Jeremie Dimino
87b0ca1807
handle module aliases for completion
2014-07-30 13:49:59 +01:00
Jeremie Dimino
8d35b32af0
fix #77
2014-07-28 10:18:45 +01:00
Peter Zotov
9704fefad5
Version 1.14.
2014-07-05 02:18:59 +04:00
Peter Zotov
495336f330
Fix build on 4.00.1 and earlier.
2014-07-05 02:17:01 +04:00
Jeremie Dimino
2d9285a87f
version 1.13
2014-07-04 09:52:24 +01:00