Commit Graph

143 Commits (b9b6e0fa2cb9155fccdfe066caea70ddd68a69f6)

Author SHA1 Message Date
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
Damien Doligez 9d1901feea test lock
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7361 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-03-22 12:41:17 +00:00
Pierre Weis dca5609f32 Importing the 3.09 debugging version of Printf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7333 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-24 11:12:26 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Damien Doligez 7ca09b85f0 demarrage de la version 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7179 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-26 16:40:46 +00:00
Damien Doligez 64666f7de7 PR#3809 wrong line numbers in backtrace (partial)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 15:56:45 +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
Pierre Weis da6305232e Sub-version++
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7084 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-26 10:13:30 +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
Damien Doligez 1ced22dda7 PR#3767 features 1 and 2: display full location of events instead of one position
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-25 15:35:16 +00:00
Damien Doligez 990a8c4178 PR#3767 feature 4: identify backtraces with a keyword
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-24 11:50:27 +00:00
Damien Doligez 95a5c077e8 PR#3767 feature 3: feedback when removing breakpoints
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-23 20:16:43 +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
Pierre Weis eb81b70950 Bumping the version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:23:28 +00:00
Jacques Garrigue 8e25cec9c4 definition plus claire du partage des variables de types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 04:11:47 +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 4018798e3f A bug in the treatment of (implicit) string delimitors (' ' '\n' '\r'
'\t'): the delimitor should not be skipped. This way

sscanf "hello\n" "%s\n" (fun s -> s) = "hello"

(not exception End_of_file !)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 09:02:02 +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
Jacques Garrigue 3aa312d98b do not force presence for variants with only 1 constructor
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-13 01:11:02 +00:00
Damien Doligez 6c9bac39d4 ajout de l'option -config (suggestion de Gerd Stolpmann)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-09 13:39:17 +00:00
Jacques Garrigue 827d03d59f bug in type_approx
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-04 04:34:53 +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 ef396b4e5a merge fixedtypes branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6821 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-23 03:08:37 +00:00
Pierre Weis 34121ffea0 Bumping the sub version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-04 14:55:21 +00:00
Damien Doligez b8b9314f74 (::) et warnings inconnus
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-16 14:38:52 +00:00
Damien Doligez 0d18ab145e ajout support ocamlopt -pack pour Mac OS X
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6753 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-21 18:30:20 +00:00
Damien Doligez 51ac0f737e PR#3406 CAMLreturn manquant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 15:39:44 +00:00
Jacques Garrigue 972209dd6b fix variance bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6731 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-09 12:40:53 +00:00
Damien Doligez 1971a6ba83 changements sur les warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 18:57:04 +00:00
Damien Doligez 35de2ce529 mise au carre des warnings XYZ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:53:32 +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 3d2b844368 warning Y prioritaire sur Z
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-18 16:22:15 +00:00
Damien Doligez 4ffbf5ec57 ajout warning unused variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-06 20:17:47 +00:00
Damien Doligez 0133ef3ef2 bug de scanf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 14:51:37 +00:00
Jacques Garrigue 7cbcb5f0f1 add Fmu check
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-13 09:34:44 +00:00
Jacques Garrigue b3a50ac0ed add location info in Ptype_variant and Ptype_record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-06 13:06:11 +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
Damien Doligez c3a39fc8c8 Fusion des modifs de la branche release308 entre 3.08.0 et 3.08.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:04:35 +00:00
Xavier Leroy 63c1789b5e 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@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:25:21 +00:00
Damien Doligez adf48882c9 changement du numero de version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-22 11:23:38 +00:00
Damien Doligez fae0bc9d9b PR#1938
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-16 16:58:46 +00:00
Pierre Weis e0122726af Implementation of an extension of record typing: the first path
annotated label in a record implies the implicit path annotations of
the other labels. This way, a single annotation allows the
simultaneous annotation of the whole set of labels. This is a
conservative extension, since all the labels of a record must already
belong to the same module. Hence, any program that was typable before,
had this property and is thus still typable in the new scheme.

This new treatment provides a simple way to desambiguate labels in
mass, just adding a module path annotation on one of the field labels;
this slight improvement of record typing thus avoids the burden of
repeating Module.label for each label of the record.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 21:29:05 +00:00
Damien Doligez cd64d89caf finalisation dans l'ordre
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 13:27:42 +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
Damien Doligez db3745919b suppression des warnings "unused variable" de gcc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-17 17:10:00 +00:00
Damien Doligez 7405556404 directives #line pour lex et yacc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-21 23:26:06 +00:00
Damien Doligez bde72ee4d5 PR#2328
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6201 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-13 17:12:46 +00:00
Pierre Weis 496cbf99ad Bumping patch level and date.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6184 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-01 15:07:56 +00:00