Commit Graph

658 Commits

Author SHA1 Message Date
Jeremie Dimino 51f7caafb5 adjustments for ocaml 4
Ignore-this: 8dcb773296b6ac7a6e83bb0b00f6697f

darcs-hash:20120615142321-c41ad-563f6c26dba5a942182e86a369167547ffbff121
2012-06-15 16:23:21 +02:00
Jeremie Dimino fbfd13b78e fix setup.ml
Ignore-this: 3d5ca1fc6fe3906ae76444c684393cd

darcs-hash:20120425060851-c41ad-5be6dafda963a7ed2ca7a94ee9941bd68a572e41
2012-04-25 08:08:51 +02:00
Jeremie Dimino 6d1b1a259f update setup.ml for oasis 0.3.0
Ignore-this: a79b0ec45230eccb28c325ebaa1a2108

darcs-hash:20120425060514-c41ad-ec2ab331511c791e0c0e9418a04b66a2e8ba93bb
2012-04-25 08:05:14 +02:00
Jeremie Dimino d74d29278d escape parentheses at beginning of lines in strings in .el files
Ignore-this: f8adf18e5730136895bd607cc270ef43

It seems to confuse the emacs syntax highlighter...

darcs-hash:20120323193634-c41ad-fcb6a026bc31ae4fd3b6148af46744e51a82b86f
2012-03-23 20:36:34 +01:00
Jeremie Dimino cfb648c2e1 decide whether to follow output in each windows instead of globally
Ignore-this: 36cd9d3b8cd1a4c41284ea8d0731506f

darcs-hash:20120322065232-c41ad-218be51b177171f6640703e504599079d8c10006
2012-03-22 07:52:32 +01:00
Jeremie Dimino 8d8f46c8b6 follow OCaml's output only if we are at the end of the buffer
Ignore-this: 739f69390b4952091f481cc8dfb3e144

darcs-hash:20120322064548-c41ad-a3383dfe0bfa362d15c06949cbf5c9b44c5a82d1
2012-03-22 07:45:48 +01:00
wojciech.meyer 08ab7b1e36 revert back Oasis generated file
Ignore-this: 6f109de0693553d160f316bdce69c36d

darcs-hash:20120321233357-33bd9-513b04832e864b8daac872d6a8aef77e0cbae4b6
2012-03-22 00:33:57 +01:00
Jeremie Dimino 0fbf0ff84b fix utop-eval-input with allow-incomplete=t when the point is before the prompt
Ignore-this: a3dc2b3421588911f2770105081a8355

darcs-hash:20120321231655-c41ad-166ae6880230aa1f4d4eb616d221622523081c99
2012-03-22 00:16:55 +01:00
wojciech.meyer 11cf629c46 Basic functionality is almost there, however still plenty to make it production quality. In this changeset I regenerated setup.ml via. oasis 3 so it contains a huge diff.
Ignore-this: 357d4c82baa1ecdf5c49bf65459059e9

darcs-hash:20120321031530-33bd9-43e454ae62709103edfb0208e7ab95a5319ae93a
2012-03-21 04:15:30 +01:00
Jeremie Dimino 4264dc3d92 follow OCaml's output in emacs
Ignore-this: 20e2a63a90783cbcfbe273732293188b

darcs-hash:20120321131824-c41ad-cf97daa2d551f812603bc30f955a94d0e39478e1
2012-03-21 14:18:24 +01:00
Jeremie Dimino 543b99ab35 fix utop-send-string
Ignore-this: a638b987e583c642e076ecc1b8a159b1

It was always calling (utop) so the utop buffer always stole the
focus.

darcs-hash:20120318015443-c41ad-21c1d8a51b532c5bb783fb3272e64b3908e43df4
2012-03-18 02:54:43 +01:00
Jeremie Dimino 241e00d0a6 typo
Ignore-this: 93bcb3455b94dde47d1912bbb29750a7

darcs-hash:20120318012709-c41ad-54bc2df05955ac06897efb4406c77bc3918b09cb
2012-03-18 02:27:09 +01:00
wojciech.meyer fbc550153e Add CHANGES entry
Ignore-this: 7706e1a02dbb3ed0324fde38d5faf686

darcs-hash:20120315032333-33bd9-57fa704ee9dbc448216c5fa4b672f54b22c80b02
2012-03-15 04:23:33 +01:00
wojciech.meyer a2acfb5a87 Small improvement
Ignore-this: f8bd21d0a948e37a9697ecddcde9ed7c

darcs-hash:20120315032047-33bd9-9931fb1c2c888b42466734f89b69f2010379d2eb
2012-03-15 04:20:47 +01:00
wojciech.meyer 0b4d9c8ce3 Now it's possible to load packages defined with the file variable utop-package-list, therefore they can be loaded at startup to the toplevel. Desirable user interface has been implemented as part of it. To enable put something like:
Ignore-this: cd594a9e2a71feadba95000a15838d82

(add-hook 'typerex-mode-hook 'utop-setup-ocaml-buffer)
(add-hook 'hack-local-variables-hook 'utop-query-load-package-list)

in your .emacs

darcs-hash:20120315031645-33bd9-c602dacabd15aaa3a63fd3c4146e7f81f16e567d
2012-03-15 04:16:45 +01:00
wojciech.meyer 4d78acb1bd Some cleanup
Ignore-this: 9623774e874ab9d118b1367aedee8788

darcs-hash:20120315015621-33bd9-351724bd992d32eb1885eaa69b83f9cce8684da1
2012-03-15 02:56:21 +01:00
wojciech.meyer afe9eed0b0 antiquote argument in macro
Ignore-this: 737b25283081ca375d7556539b89b6d8

darcs-hash:20120304123503-33bd9-23cae46c3a4812afa3104319891acf339f0489d2
2012-03-04 13:35:03 +01:00
wojciech.meyer 6e480b8299 add CHANGES entry
Ignore-this: eb56086eb0e10ff1805e073e04bc1fa2

darcs-hash:20120304022627-33bd9-37600d4689f8f8a10bdf8d46a5378a9dca8968e3
2012-03-04 03:26:27 +01:00
wojciech.meyer da70c2bc46 copy to kill-ring last input
Ignore-this: 7fda2e532886b8dcbeac63bcb55ccc7e

darcs-hash:20120304022214-33bd9-0efeff0f0392361f8f327a1a7d2cbda0f2c951a4
2012-03-04 03:22:14 +01:00
wojciech.meyer cd033960ed bytecode compilation warning
Ignore-this: 96677670231e022f57ee2b180bfedb0f

darcs-hash:20120303231227-33bd9-a209e018067f92b81cd65fc3320fa8b47ce8a769
2012-03-04 00:12:27 +01:00
wojciech.meyer c83560e01f packages are in reversed order - fix that
Ignore-this: b322415cad374af853e936bccd2cb27b

darcs-hash:20120303225038-33bd9-7850599bceca75a02dd3fb7a508aa4008f6e3271
2012-03-03 23:50:38 +01:00
wojciech.meyer 0db2c4d588 utop arguments is taken via utop-query-arguments
Ignore-this: 8d0bb0b0ca55ace93e0f5a239b09cddd

darcs-hash:20120303224903-33bd9-ce492fbcb62a1efcf72c82cb032f7760aaf19e53
2012-03-03 23:49:03 +01:00
wojciech.meyer ce6525ad79 replace ad-hoc building of code in macros with quoted lists
Ignore-this: ec3137b5fe4c2d641d152bb77b4a7e64

darcs-hash:20120303224350-33bd9-a723683f6c5cb79023a7ff056bf5279cd64b72ee
2012-03-03 23:43:50 +01:00
wojciech.meyer 8535250c29 be better at handling integration with tuareg and typerex
Ignore-this: 11bdba8ecbe2838732e3bda7ff2f29c0

darcs-hash:20120303224259-33bd9-047a8c48c6f05f146715666dd83f2b494e4ee815
2012-03-03 23:42:59 +01:00
wojciech.meyer baf0de7ca9 provide tabulated-list for the older versions of emacs
Ignore-this: 385310d27c8b7812fd914ad4125ef252

darcs-hash:20120303224156-33bd9-b2f09d35cf79bc530512bd4ed34b2a64f86f4e03
2012-03-03 23:41:56 +01:00
wojciech.meyer cc3743324b remove un-neeeded argument to utop-mode
Ignore-this: abdd824025eb57f6c235c14f95e74e9f

darcs-hash:20120303195057-33bd9-42d4d88a374a05d1afe09b15ca12985ca844acb4
2012-03-03 20:50:57 +01:00
wojciech.meyer b09cf8da02 remove byte compilation warnings
Ignore-this: 628353be0d3e1d11d84fdc89f9a7690d

darcs-hash:20120303194751-33bd9-5bb0c7c9e5e1312d87cd764c9cb29f48faa892aa
2012-03-03 20:47:51 +01:00
wojciech.meyer bd61b32e8a wrap process-send-string with utop-send-string
Ignore-this: feb94f7ed3efee69e26ad73ac8503e8a
This adds needed checks, and start utop when the rest of the code wants to send string to the process and utop is not loaded

darcs-hash:20120303180200-33bd9-4aff67226cd9d3db1194c53a48f1bbe195c4badc
2012-03-03 19:02:00 +01:00
wojciech.meyer 023e72933d interactive list of packages now work in Emacs
Ignore-this: f5beeb274d704e63b8520b91ad33b39b

darcs-hash:20120303175448-33bd9-2fca1cf41d9a66bfcbd75262b64bc41a25774fc7
2012-03-03 18:54:48 +01:00
wojciech.meyer 01263d3532 convert `utop-perform' to more idiomatic quotation based macro
Ignore-this: 2729a0e0375729f93301f73701b272

darcs-hash:20120303144223-33bd9-95a371ecc3b7b953e0f0e4bb7317e7d79fa30791
2012-03-03 15:42:23 +01:00
wojciech.meyer f91647a254 Prelimnary support for "require:" command - in progress. Handle links in buttons
Ignore-this: 148a3142a2f40cc05f887cb0c53712fb

darcs-hash:20120301035606-33bd9-14ca041ed4b73a645a5251a4fff63774490d8766
2012-03-01 04:56:06 +01:00
wojciech.meyer 98f032b5a5 Change list-ocaml-packages to less generic utop-list-ocaml-packages to avoid clashes
Ignore-this: 13ccbbe0c15950de745c971f176cdc1c

darcs-hash:20120301014430-33bd9-378cbc298ae1a75603eaf6bc894d8fc097be42fd
2012-03-01 02:44:30 +01:00
wojciech.meyer 63b7f5df6e Remove trailing whitespace
Ignore-this: 89ea7ff25320e70fb51524e9a5673f

darcs-hash:20120301014322-33bd9-eab207fe4cf1799e666045d16ae68dddd8602e6b
2012-03-01 02:43:22 +01:00
wojciech.meyer 6a5693772f Use tabulated-list-mode to create a widget to choose findlib package
Ignore-this: dae6384889fa21002d0669860d557122

darcs-hash:20120301014144-33bd9-97d020adaad5f924a807a1310a59b2a31b40a245
2012-03-01 02:41:44 +01:00
wojciech.meyer a186e64385 Make utop-mode to defined via define-derived-mode. Sinc define-derived-mode can't produce mode accepting arguments - now the arguments are taken from the utop-command. Factor out utop-get-arguments to utop-query-arguments and utop-arguments
Ignore-this: ad14d3459012cf828815b72999328b49

darcs-hash:20120229042009-33bd9-039c63518e33f2001b86d07388b8d0c3e61dbca0
2012-02-29 05:20:09 +01:00
Jeremie Dimino 010febbc4f update CHANGES
Ignore-this: c7e47c1d0c684135e8aa3ffe400f7596

darcs-hash:20120226191146-c41ad-264ae0e03fb93e381b2a77356602a2e6ee427c61
2012-02-26 20:11:46 +01:00
Jeremie Dimino e09f3d60f5 update CHANGES
Ignore-this: 283039218d33fc94206bd7b900b6f20c

darcs-hash:20120226185923-c41ad-1dbc7ef90668278d3d1b456e012c392d38820789
2012-02-26 19:59:23 +01:00
Jeremie Dimino 9e1ca8d41f remove unused gtk resources
Ignore-this: 2d162e76c95d6e7767dd94a7bbf1e837

darcs-hash:20120226182802-c41ad-43f5d83ab74709db2cb11f72da6a2beede2deadf
2012-02-26 19:28:02 +01:00
Jeremie Dimino 5be22e37eb handle warnings printed on stderr
Ignore-this: d07506d448326fd2675565215457dddc

darcs-hash:20120223140700-c41ad-6f4576a10ef6b3d3b586803e0de66e0e6d6be698
2012-02-23 15:07:00 +01:00
Jeremie Dimino a3367ec947 handle camlp4ast -> ocamlast conversion errors
Ignore-this: 80e1397388e84be3a301279b26da1b30

darcs-hash:20120223132338-c41ad-ef4dc650c12d214c9b898da6acd408fb327d2449
2012-02-23 14:23:38 +01:00
Jeremie Dimino b6c3d44ac2 better support for revised syntax
Ignore-this: a75d11960fc1daa6c8838f0e00747333

darcs-hash:20120223105439-c41ad-1904218737a1b71fdadc159f606f5c2ca58cfed9
2012-02-23 11:54:39 +01:00
Jeremie Dimino d8dae4ac5f typerex mode integration
Ignore-this: 75eac634eda3b909b6cac3ad1e6bab64

darcs-hash:20120222191910-c41ad-efba56e4d469a58b5595c992d1473768d38578c1
2012-02-22 20:19:10 +01:00
Jeremie Dimino a196bb8802 better detection of Lwt.t values
Ignore-this: c1fb44905029d45646301f66bb3ca078

darcs-hash:20120222172522-c41ad-e4fb0b9b6d0245d4aa958c69bcce3969c822795a
2012-02-22 18:25:22 +01:00
Jeremie Dimino f819014eb9 strip camlp4 error messages
Ignore-this: d9cee7dccc2270054156437b92e5e57e

darcs-hash:20120222162516-c41ad-b97dd13591562c7fdb96ede631b501f4d392e32b
2012-02-22 17:25:16 +01:00
Jeremie Dimino 4171f877a6 better mechanism for colorising output phrases
Ignore-this: 381f771be484c08c09b9aec63e20c686

darcs-hash:20120222162147-c41ad-ac49b2283e41a8ab09e5d413d7df125b0baf33e4
2012-02-22 17:21:47 +01:00
Jeremie Dimino 4fc06ba0a3 correctly lex quotations and antiquotations and do completion inside antiquotations
Ignore-this: 399f6b2dd65fd530e684d09cf5d57d0a

darcs-hash:20120222155931-c41ad-835a2ccf63ac1e853846972880a49d1f8ff6a236
2012-02-22 16:59:31 +01:00
Jeremie Dimino 394175914d better description in _oasis
Ignore-this: 1d393f1d6351661d09eda7c620f0b0f9

darcs-hash:20120220133619-c41ad-22d4a6caa74a8afb823ca16e5bb79a8cf76af686
2012-02-20 14:36:19 +01:00
Jeremie Dimino 65ad8cd988 make UTop_camlp4 public so the user can reuse it
Ignore-this: 103cabecad95046cf6686b55028de6c9

darcs-hash:20120220101444-c41ad-5e51be240cb26f1ca02fc37655d464b5acf1cbab
2012-02-20 11:14:44 +01:00
Jeremie Dimino 40c2801b99 execute delayed actions before parsing with camlp4
Ignore-this: 162f06f1949d9af97793705ffd762a7

darcs-hash:20120220100112-c41ad-251c93cbec866030e3d736083db3a974e0bf59bf
2012-02-20 11:01:12 +01:00
Jeremie Dimino dbae1b32bc typo
Ignore-this: 35a418560754730e6c52f8730ba47b59

darcs-hash:20120220095457-c41ad-50a3a983630fff04845f8ba1cca47b261d897fcd
2012-02-20 10:54:57 +01:00