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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Xavier Leroy
2b7a057f2f
Passage version 3.05
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 13:36:57 +00:00
Xavier Leroy
ede12e6163
Remplacement des tests ofs + len > length par ofs > len - length, pour eviter le debordement lors de l'addition (PR#1229)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-12 09:47:54 +00:00
Damien Doligez
3b358c7349
fix declenchement du compactage
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-28 16:57:31 +00:00
Damien Doligez
3340979102
version
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-16 16:23:01 +00:00
Pierre Weis
12efc01557
Bootstrap.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4807 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-12 18:42:43 +00:00
Xavier Leroy
a4ade26294
Decoupage de stdlib/oo en stdlib/camlinternalOO et stdlib/oo. Petites modifs dans la compilation des classes pour reduire la taille du code genere
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-24 09:49:06 +00:00
Jacques Garrigue
0a8236066f
vive les methodes polymorphes!
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 07:27:47 +00:00
Xavier Leroy
3723114891
Ameliorations de Filename.temp_file (creation en mode 600; utilisation d'un PRNG) et ajout de Filename.open_temp_file
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-15 11:42:45 +00:00
Jacques Garrigue
cc80242179
normalize signatures before saving
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-04 03:49:58 +00:00
Xavier Leroy
bd8c3bbd18
Retour en arriere sur le renommage Lexing.lex_buffer_len -> Lexing.lex_buffer_end, car ca casse Hevea
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-18 16:16:31 +00:00
Damien Doligez
4e87d1239d
deps + factorisation sprintf/kprintf
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4529 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-13 17:34:58 +00:00
Pierre Weis
7e362e7c02
Bootstrap.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 22:29:23 +00:00
Xavier Leroy
a986e1f2da
Elargir la gamme d'identificateurs acceptes; maintenant les memes que ceux acceptes par ocaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4502 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 08:46:42 +00:00
Xavier Leroy
bddfe5d0ce
Ajout operations sur gros fichiers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-02 09:16:39 +00:00
Damien Doligez
f3a1293b03
Digest: modif channel, fix PR#924, ajout to_hex
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-25 16:37:15 +00:00
Damien Doligez
130e3415fd
ajout option -nostdlib
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-14 15:17:11 +00:00
Jacques Garrigue
5e46417fa4
ocamlc -g rend boot/ocamlc enorme
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-13 13:39:31 +00:00
Xavier Leroy
45e53cb86c
Ajout Sys.executable_name; reimplementation Pervasives.input_line
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-11 13:52:06 +00:00
Damien Doligez
8ea64b58dc
byterun/finalise.c: support pour les lazy finalises
...
byterun/gc_ctrl.c: ajout Gc.major_slice
byterun/major_gc.c: gros bug dans les valeurs finalisees + ajout Gc.major_slice
byterun/major_gc.h: gros bug dans les valeurs finalisees + ajout Gc.major_slice
byterun/memory.c: typo dans un commentaire
byterun/minor_gc.c: petit bug, ajout Gc.major_slice
parsing/parser.mly: plus de conflits; l'automate reste identique
stdlib/gc.ml: ajout Gc.major_slice
stdlib/gc.mli: ajout Gc.major_slice
stdlib/sys.ml: ajout Sys.ocaml_version
stdlib/sys.mli: ajout Sys.ocaml_version
utils/config.mlp: ajout Sys.ocaml_version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4357 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-05 17:11:33 +00:00
Damien Doligez
0032c482a2
quelques bugs sur les weak hash tables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-23 17:54:11 +00:00
Damien Doligez
0dbce74fc8
lazy a la Tolmach
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +00:00
Damien Doligez
09a8c6bc78
configure: suppression "smart preprocessing" pour MacOS X
...
asmrun/roots.c, byterun/alloc.c, byterun/gc_ctrl.c, byterun/minor_gc.c,
byterun/minor_gc.h, byterun/roots.c, byterun/startup.c:
derecursivation du GC mineur
byterun/config.h, stdlib/gc.mli: compactage active par defaut (300%)
otherlibs/unix/select.c: ajout include MacOS X
.cvsignore: bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-18 15:13:26 +00:00
Xavier Leroy
766e73be80
MAJ 3.04
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-10 15:35:11 +00:00
Xavier Leroy
320487c59f
Revu gestion des backtrace; suppression de RERAISE, utiliser l'adresse de l'objet exception a la place
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4040 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-26 12:47:03 +00:00
Jacques Garrigue
0892437c41
bootstrap ocamlopt.opt
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-21 03:59:22 +00:00
Xavier Leroy
2cf0db4232
Ajout mecanisme de trace dans les parsers ocamlyacc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 13:34:42 +00:00
Xavier Leroy
343d49401a
Revu gestion des DLLs: ne pas les utiliser en mode -custom; dans les .cma et .cmxa, stocker separement les options pour linker statiquement (-cclib) et par chargement dynamique (-dllib).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 09:32:32 +00:00
Xavier Leroy
09fe95f22e
Hashtbl: revu strategie de redimensionnement; ajout Hashtbl.copy. Stack: ajout de Stack.copy
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3917 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-25 11:31:46 +00:00
Xavier Leroy
2f7123618c
Ajout de flush_all + modifs pour Cash (Bruno Verlyck)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3872 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-09 15:14:01 +00:00
Luc Maranget
d113c2c682
warning for empty PM + option -notk for configure
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3853 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-04 08:39:49 +00:00
Jacques Garrigue
23306c8c51
correction du PR#547: un Not_found produit par find_type s'echappe
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-28 22:55:27 +00:00
Jacques Garrigue
42d1811a93
enrich variant types
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-25 09:54:18 +00:00
Luc Maranget
bd1a4e00c3
bug 539
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3773 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-21 15:59:16 +00:00
Daniel de Rauglaudre
98fce1d671
Suppression du parsage des streams et des parseurs (comme prévu, maintenant
...
que Camlp4 est inclus).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-09 11:39:34 +00:00
Jacques Garrigue
ea299bbbc1
passage aux labels stricts
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-06 08:52:32 +00:00
Xavier Leroy
ddd99c7e5d
Chargement dynamique de primitives C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00