Commit Graph

169 Commits (b4f96d6574b9f197122e78e4644a2dcc026e3f4c)

Author SHA1 Message Date
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
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
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 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
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