Commit Graph

351 Commits (53d1c7c63d139f0b3ef288f72f8ae7ad105e53a9)

Author SHA1 Message Date
Xavier Leroy b6de85daad Reserve identifiers below 1000 for typing/predef.ml. This facilitates
extensions and patches like MetaOCaml.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10288 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-21 08:13:10 +00:00
Alain Frisch e178c1ab62 Fix #5003: document the fact that expressions raised by exception printers are just ignored; custom printers are tried before hard-coded ones.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 12:25:46 +00:00
Damien Doligez 83fb41dcf7 unified command-line arguments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10260 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-13 10:44:25 +00:00
Jacques Garrigue ee36e1d1c5 merge branches/override
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-08 03:58:41 +00:00
Xavier Leroy ab550592ef Adding "module type of <module-expr>" in the class of <module-type>.
Merge of branches/moduletypeof -r 9636:10226


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10227 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-02 12:53:33 +00:00
Damien Doligez 9f1516ff36 suppress linker warning message on Mac OS X 10.6.x / x86_64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-25 14:51:49 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez 1b8095f404 PR#4940: get rid of naked end-of-lines in string constants + add warning 29
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-07 15:15:07 +00:00
Pierre Weis 818c9a0742 Adding a close-in function to module Scanf, to be able to close a Scanf scan buffer (hence its underlying Pervasives.in_channel, if any).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-29 19:04:35 +00:00
Damien Doligez 6f1e8fec9d PR#4947 bug in parsing of warning options
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9485 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-22 16:31:46 +00:00
Pierre Weis 758e4cd860 Using -strict-sequence to compile the compiler.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9467 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 09:52:47 +00:00
Pierre Weis 700da01338 Adding the -strict-sequence option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9464 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 09:17:12 +00:00
Pierre Weis 7ad9cd975b To deal with printf output for %F format, adding a unary + operator.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-07 16:40:39 +00:00
Pierre Weis cec0afc076 Introducing output meanings to subsume set/get_[all_]formatter_output_functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 23:21:49 +00:00
Alain Frisch 1e5b4a4857 Merge first class modules: svn merge -r 9369:9396 $caml/branches/fstclassmod.
Adapt the Changes file. Bump magic numbers. Bootstrap.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 10:53:16 +00:00
Xavier Leroy 349467ec45 New warning `not all labels are mentioned in this record pattern'
moved to letter 'R' (instead of 'E' previously).  Explicitly turned 
off in myocamlbuild configuration.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-22 15:45:54 +00:00
Pierre Weis b549b3ee9e Addition of ikprintf as suggested in FR#0004859.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-09 15:15:03 +00:00
Pierre Weis 25d7f8fdc1 Refined error message for unbound identifiers: if M.ident is unbound and M is unbound, then unbound module M is reported.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-04 16:19:35 +00:00
Xavier Leroy b01621e848 Added syntactic sugar for record expressions and record patterns:
{ lbl } stands for { lbl = lbl }.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-08-27 08:19:08 +00:00
Damien Doligez 71b94fa3e8 merge changes from ocaml3111rc0 to ocaml3111
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Nicolas Pouillard e00a537801 build sys: fix "ocamlbuild -where"
it should now display either $OCAMLLIB/ocamlbuild if
OCAMLLIB is defined or the library directory chosen
at configure-time of OCaml plus /ocamlbuild:
 i.e. `ocamlc -where`/ocamlbuild.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-05 14:33:43 +00:00
Pierre Weis a548eb3a13 Understanding the notion of standard channel for Format and Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-01-25 22:46:15 +00:00
Damien Doligez 1f95b17570 merge changes from 3.10.2merged to 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Nicolas Pouillard d77551511b build,sys: bootstrap boot/myocamlbuild.boot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9103 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-23 20:55:58 +00:00
Pierre Weis b1d6d4faa3 Correction bug add_substitute.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:50:39 +00:00
Xavier Leroy c049cec891 PR#4367: added Parsing.set_trace to control the printing of a trace of actions for ocamlyacc-generated parsers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 09:38:25 +00:00
Michel Mauny 481d738a1e Implement Lazy.force as a primiive, and optimize its calls
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-02 06:32:06 +00:00
Michel Mauny 6ba024a12e Add lazy patterns.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-09 13:03:38 +00:00
Jun FURUSE / 古瀬 淳 db0afa58a4 workaround for the problem of optional argument type parsing caused when we redefine option type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-11 23:47:12 +00:00
Xavier Leroy 640b24249d Ability to print and capture exception backtraces (see stdlib module Printexc)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +00:00
Damien Doligez 04aa158cb6 merge changes from 3.10.1 to 3.10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Damien Doligez 8ecf3fc156 better anti-fragmentation measures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 12:56:15 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Damien Doligez e9a9bf9613 PR#3114 make all error messages start with a location and "Error: "
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Nicolas Pouillard ba9359c886 build,boot: Regen ./boot/myocamlbuild.boot (Unix lib is not an ocamlbuild dependency in partial mode).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-30 12:49:55 +00:00
Nicolas Pouillard e55bb9ad01 build,boot: support (copy_rule now creates destinations directories if neccessary).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8695 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 11:21:05 +00:00
Damien Doligez 16e4a68197 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:50 +00:00
Nicolas Pouillard d0f5ecfa76 [build] Regen boot/myocamlbuild.boot.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:21 +00:00
Nicolas Pouillard ed05b821de [build sys] regen boot/myocamlbuild.boot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 16:50:10 +00:00
Nicolas Pouillard ace9184e77 [build using ocamlbuild] Regen boot/myocamlbuild.boot.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:00:37 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Pierre Weis 2a99b8737b Expanding the usual compiler's type-based optimisations to private abbreviations.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-01 18:36:43 +00:00
Pierre Weis b2157a6afb New magic numbers for AST.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8420 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 12:17:20 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Pierre Weis 8e5fb9bb75 Added shared library support for NetBSD and OpenBSD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-08-23 07:43:06 +00:00
Damien Doligez 1dd68ccf50 ajout des annotations pour variables et appels terminaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-16 08:21:41 +00:00
Damien Doligez d148e1954e grosse amelioration des Weak a courte duree de vie
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-04 14:05:13 +00:00
Nicolas Pouillard 57c05afe7b [build system] regen boot/myocamlbuild.boot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7953 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 14:41:29 +00:00
Nicolas Pouillard 9286d93c33 [Camlp4] handle externals properly and fix the bootstrap system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:32:47 +00:00
Xavier Leroy 1398fbbe1f Ajout de Sys.is_directory (PR#4054 + needed by ocamlbuild)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 14:21:57 +00:00
Nicolas Pouillard e9b02130d1 bootstrap boot/myocamlbuild.boot with -g
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7926 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 13:28:23 +00:00
Nicolas Pouillard 2df96289fc bootstrap boot/myocamlbuild.boot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7925 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 13:23:30 +00:00
Nicolas Pouillard 3ecf34d3a9 [OCaml build system] Inverse the hygiene policy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7896 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-22 16:02:44 +00:00
Damien Doligez 64646eff2f cvsignore les nouveaux fichiers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7850 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 15:09:56 +00:00
Damien Doligez f700284aac fusion des changements 3.09.3 -> release309_merge310
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Damien Doligez aabb13f857 ajout VERSION + cvsignore
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7836 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 15:49:11 +00:00
Damien Doligez 5b52f30e7d deplacement du numero de version -> fichier VERSION a la racine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Nicolas Pouillard a2403702e2 Add boot/{ocamldep,myocamlbuild.boot}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7827 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 10:03:53 +00:00
Xavier Leroy 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Pierre Weis f54ad35a9b Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7738 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:41:53 +00:00
Damien Doligez 9cd54eadce PR#4156 increment AST magic numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 18:55:32 +00:00
Pierre Weis c31bf373a9 Once more a new bootstrap compiler is needed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:25:35 +00:00
Pierre Weis 3be794c1bf New bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 09:16:05 +00:00
Pierre Weis 6ef4e22e54 Version modification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7709 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-27 09:15:05 +00:00
Pierre Weis 5770271304 Typechecking of user's defined readers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 22:07:47 +00:00
Pierre Weis ba75b851b4 Format string now typecheck to format6.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7704 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 21:16:10 +00:00
Pierre Weis 7e2072cfb7 Type format4 is no more a predefined type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 20:54:58 +00:00
Pierre Weis 0be3884f18 Introducing format6 as a built in type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 20:42:41 +00:00
Xavier Leroy b74f4b01e7 MAJ compilos boot apres fix PR#4132
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-17 13:11:23 +00:00
Luc Maranget 6c05350ca4 Corrrect fragile matching
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-21 14:54:54 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Jacques Garrigue 6f6b1849c5 -rectypes obligatoire pour les dependences
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-26 09:38:06 +00:00
Jacques Garrigue 5247e70af3 ocamlc was broken
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-18 00:29:44 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Jacques Garrigue 602146f892 add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Pierre Weis 19096f90f3 Hard bug in printf: when the first argument to print was a floating point
number, the printing process failed and we had a fatal error.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7095 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-30 16:15:18 +00:00
Xavier Leroy 3de54dec26 Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Pierre Weis a3b605a2db New function sscanf_format to read a format from a string.
The type of the resulting format is dynamically checked and should be
the type of the template format which is the second argument.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 21:42:44 +00:00
Pierre Weis 339b08f82f Closing a long standing bug in the implementation of printf-like
functions: partially applied printf functions were printing material
as soon as the first argument was applied (and even before: printing
started as soon as the format string was provided).
This is the first step towards the implementation of $ formats
(i.e. formats that can access directly to any of their arguments,
using a $n notation to denote the nth argument (``a la Yacc'')). This
is supposed to be mandatory to internationalisation of messages.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 17:18:03 +00:00
Jacques Garrigue 83c0f7bb46 fix merge problems with 3.08.4 (PR#3758)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-16 00:48:56 +00:00
Damien Doligez a4a3c10e70 fusion des modifs de 3.08.4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:59:37 +00:00
Xavier Leroy 0ba3106399 Retour en arriere sur la simplification des signatures inferees (fix du PR#3545 du 2005-08-02), qui est completement bugge
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-08 09:41:52 +00:00
Xavier Leroy f55d676d2c Interdire les references Foo.x lorsqu'on compile foo.ml ou foo.mli (PR#3100, 3304, 3457)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:03:40 +00:00
Damien Doligez 9a9886022f depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 15:54:25 +00:00
Pierre Weis 6fae6a771a A subtile bug in scanf: stopper character have not to be always
present in the input (in this case the token spreads to the end of
file, as specified, and this is not an error!).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-02 21:10:04 +00:00
Pierre Weis 6f130bf55d After major Scanf modification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:16:35 +00:00
Damien Doligez e6007f6057 fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Jacques Garrigue 6d1d85e520 compact classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 02:26:45 +00:00
Damien Doligez 7519fe8f6b fusion des bugfixes de 3.08.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 00:06:06 +00:00
Damien Doligez d113ba55c5 ajout warning unused variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-09 12:44:49 +00:00
Pierre Weis b0270c4cf9 Implementation des meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-22 09:17:21 +00:00
Xavier Leroy a8afc7f0a0 Revu checkbound pour Sparc/non-Solaris (PR#2980)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 16:04:07 +00:00
Xavier Leroy 237006931a Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:19:15 +00:00
Damien Doligez c293d70b5c ajout de la primitive caml_final_release
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-16 11:27:19 +00:00
Xavier Leroy 762a006652 Impression des 'rec' et des 'and' dans les signatures inferees (PR#1981,2585)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-12 08:55:49 +00:00
Xavier Leroy 9d19bcf441 MAJ magic numbers suite aux modifs des objets
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-01 12:36:34 +00:00
Jacques Garrigue 6a940ef65d switch to new vtable representation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-26 11:10:52 +00:00
Jacques Garrigue 11570e23a3 ajout du champ cty_inher dans Types.class_declaration
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-18 13:28:00 +00:00
Damien Doligez 63f22ba73d ajout primitive par Basile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 15:33:10 +00:00
Xavier Leroy e2b313a055 Rendre ocamlc -output-obj compatible avec Dynlink et le toplevel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-22 15:07:51 +00:00
Damien Doligez 2934aea785 bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-20 10:49:15 +00:00
Damien Doligez ff651373ca compilo de bootstrap pour caml_gc_quick_stat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-02 14:44:39 +00:00
Damien Doligez c5fabfbfb3 PR#1914,PR#1956 depollution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-04 17:46:26 +00:00
Damien Doligez 0c7aecb88d depollution suite (et fin?) (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez 331b2d89c3 depollution suite (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez 31943bac1d depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Xavier Leroy fa20613687 Introduction de Int32.float_of_bits et Int32.bits_of_float. Remplacement de float_of_bytes par Int64.float_of_bits.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-20 16:24:35 +00:00
Damien Doligez aa46693dc5 depollution (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-16 18:09:44 +00:00
Damien Doligez a90b6e9d12 decontamination (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 18:37:24 +00:00
Damien Doligez 5fcac6a58c debut du travail de depollution de l'espace de noms (PR#1914)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6011 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-08 19:50:26 +00:00
Jacques Garrigue f2095623ff fast and compact classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-25 09:20:45 +00:00
Xavier Leroy 3c5005b99e Changements comparaisons polymorphes, detection debordement dans les litteraux entiers, ...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:31:21 +00:00
Damien Doligez e969e8ad9f PR#1878
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-16 23:22:23 +00:00
Xavier Leroy 74ce1671a3 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5866 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-13 07:40:27 +00:00
Xavier Leroy cbad93f79e MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5851 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-29 12:25:11 +00:00
Xavier Leroy cb8205d151 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5832 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-12 07:46:55 +00:00
Xavier Leroy 48f6c91d3f MAJ pour 3.07 beta 2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-26 07:45:41 +00:00
Luc Maranget 0a5deb158d peit oubli merci Damien
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-18 13:43:03 +00:00
Xavier Leroy 6faf1db3ca MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5712 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 15:40:21 +00:00
Michel Mauny 6fe08afc3a *** empty log message ***
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5688 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-14 15:52:14 +00:00
Xavier Leroy 1a4be860d0 Renommage type format -> format4 et reintroduction type format a 3 arguments pour compatibilite arriere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:13:24 +00:00
Xavier Leroy 3e4bf9252b Revu representation des declarations de type private
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 09:14:35 +00:00
Xavier Leroy 50bdc60761 L'option -i desactive la production des fichiers compiles .cmi, .cmo, .cmx, .o, ainsi que le link
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5618 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 13:22:09 +00:00
Xavier Leroy 1fa763e0c5 Merge branch with recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 15:53:53 +00:00
Jacques Garrigue 8150c79b93 add weak contravariance for types (PR#1692)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5570 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-21 09:15:54 +00:00
Pierre Weis e77055aad9 Complete move from virtual to private for concrete types with private
constructors (or labels).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-01 22:22:37 +00:00
Xavier Leroy 7abcc8799e Ajout des litteraux de type int32, nativeint, int64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 12:27:31 +00:00
Damien Doligez 43b02185d7 ajout option -stypes; depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-02 01:32:09 +00:00
Xavier Leroy 5c7accd134 Optimisation de Pervasives.compare par strength reduction
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-01 08:46:39 +00:00
Xavier Leroy 0d78a56015 Permettre de placer les sources du module Foo dans Foo.ml aussi bien que dans foo.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-03 17:20:39 +00:00
Pierre Weis 79f3791c04 Introduction des types virtuels etape 2: introduction dans camlp4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 07:53:08 +00:00
Pierre Weis b5d0102c05 Nouveau format %$. Introduction des types virtuels: step 1 sans inclusion dans Camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 06:59:19 +00:00
Luc Maranget 2258980625 merci damien (locations fantomes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-24 15:13:01 +00:00
Damien Doligez 1ceb86a2ea PR#1495
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-12 18:59:11 +00:00
Xavier Leroy 5e152f7945 - Revu en profondeur la verification des CRC d'interfaces.
Cela corrige le PR#1064.
- Les CRC des modules constituant un programme sont stockes dans
  l'executable bytecode, section CRCS.  Revu Dynlink pour utiliser ces
  CRC au lieu d'attendre de l'utilisateur qu'il les fournisse.
  MAJ du debugger en consequence.
- Introduction et utilisation du fichier stdlib/StdlibModules.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-17 16:42:12 +00:00
Damien Doligez 123fb9f713 changement des locations, deuxieme tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 22:36:46 +00:00
Damien Doligez ed3123ee87 changement des locations, premiere tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-01 17:06:47 +00:00
Pierre Weis 96b2ca63db Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5215 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 12:32:04 +00:00
Luc Maranget e143b9faf5 upgrade pa_ocamllex, new feature included
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5205 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-30 17:20:04 +00:00
Luc Maranget c417b82d9e nouveau ocamllex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 16:46:50 +00:00
Damien Doligez dd63c45e38 PR#1379
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-18 13:59:27 +00:00
Pierre Weis 642e2919ba Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5118 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:35:01 +00:00
Xavier Leroy 3fc5f581d6 MAJ pour 3.06
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-19 12:30:34 +00:00
Xavier Leroy 856b206022 MAJ magic numbers, version number
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 14:16:42 +00:00
Damien Doligez 38a7141441 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 17:09:18 +00:00
Damien Doligez 851b9cb158 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 16:38:07 +00:00